@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/inter-500.woff2") format("woff2");
}
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/inter-600.woff2") format("woff2");
}
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/inter-700.woff2") format("woff2");
}

:root {
    --navy: #102747;
    --navy-deep: #0b1c34;
    --blue: #2463a6;
    --orange: #f59e0b;
    --orange-deep: #dd8a08;
    --bg: #f5f7fa;
    --white: #ffffff;
    --text: #263445;
    --muted: #5d6b7c;
    --line: #e4ebf3;
    --shadow: 0 10px 28px rgba(16, 39, 71, 0.07);
    --radius: 16px;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.skip-link {
    position: absolute;
    left: 12px;
    top: -40px;
    background: var(--orange);
    color: var(--navy);
    padding: 8px 12px;
    z-index: 20;
}
.skip-link:focus { top: 12px; }
.wrap {
    width: min(var(--max), calc(100% - 32px));
    margin-inline: auto;
}

.topbar {
    background: var(--navy-deep);
    color: #d5deea;
    font-size: 0.86rem;
}
.topbar-inner, .header-inner, .footer-bar, .admission-band, .hero-actions, .course-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.topbar-inner { min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar-right, .social-row { display: flex; align-items: center; gap: 14px; }
.topbar-loc { margin: 0; display: flex; gap: 8px; align-items: center; }
.topbar-social { opacity: 0.9; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-mark { width: auto; height: 64px; max-width: 112px; object-fit: contain; }
.logo-plate { background: #fff; border-radius: 14px; padding: 4px 6px; }
.brand strong { display: block; font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; }
.brand small { display: block; color: var(--muted); font-size: 0.75rem; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 28px; }
.site-nav > a {
    text-decoration: none;
    color: #3e5168;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 12px;
    border-radius: 10px;
    white-space: nowrap;
}
.site-nav > a:hover { background: #f3f6fb; color: var(--navy); }
.site-nav > a.is-active { color: var(--navy); background: #eef3f9; box-shadow: inset 0 -2px 0 var(--orange); }
.site-nav > .nav-cta { margin-left: 8px; color: #fff; }
.site-nav > a.btn-navy:hover { background: var(--blue); color: #fff; }
.site-nav > a.btn-accent:hover { background: var(--orange-deep); color: #fff; }
.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    width: 42px;
    height: 42px;
}

.btn-accent, .btn-navy, .btn-outline, .btn-ghost, .text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-accent, .btn-navy, .btn-outline, .btn-ghost { padding: 12px 20px; }
.btn-small { padding: 8px 14px; font-size: 0.9rem; }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-deep); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); color: #fff; }
.btn-outline, .btn-ghost { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-ghost:hover, .btn-outline:hover { border-color: var(--orange); color: var(--orange-deep); }
.text-link { color: var(--blue); font-weight: 700; padding: 0; }

.hero {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
    padding: 64px 0 88px;
}
.hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    background: var(--orange);
    right: -70px;
    top: -80px;
    transform: rotate(24deg);
}
.hero-grid, .about-grid, .detail-grid, .contact-grid, .split-2 {
    display: grid;
    gap: 32px;
    align-items: center;
}
.hero-grid { grid-template-columns: 1.1fr 0.9fr; position: relative; z-index: 1; }
.kicker, .eyebrow { color: var(--orange); font-weight: 700; letter-spacing: 0.04em; font-size: 0.82rem; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 12px; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--orange); }
.hero-lead { font-size: 1.08rem; max-width: 36rem; color: #e6edf6; }
.hero-visual img, .about-visual img, .detail-media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 22px;
    background: #e8eef6;
}
.hero-visual img { box-shadow: 0 18px 40px rgba(0,0,0,0.18); }
.slot-photo, .program-photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #e8eef6;
}

.feature-wrap { margin-top: -34px; position: relative; z-index: 2; }
.feature-strip {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid #e4ebf4;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(16, 39, 71, 0.1);
}
.feature-strip li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    min-height: 0;
    padding: 18px 16px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;
}
.feature-strip li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 1px;
    background: #e6edf5;
}
.feature-copy { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.feature-strip strong {
    color: var(--navy);
    font-size: 0.95rem;
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: center;
}
.feature-strip .feature-copy span { color: var(--muted); font-weight: 500; font-size: 0.82rem; line-height: 1.4; }
.why-card i, .icon-bubble {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #eef4fb;
    color: var(--blue);
}
.feature-strip i {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eef4fb;
    color: var(--navy);
    font-size: 1rem;
    flex: 0 0 46px;
}

.section { padding: 72px 0; }
.section-tight { padding-top: 20px; }
.section h2, .about-block h2 { font-size: clamp(1.5rem, 2vw, 2rem); color: var(--navy); }
.section-head { margin-bottom: 22px; }
.section-head.with-link, .section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; }
.section-head h2::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 4px;
    border-radius: 4px;
    background: var(--orange);
    margin-right: 10px;
    vertical-align: middle;
}
.section-head p, .prose, .page-hero p { color: var(--muted); }
.card-grid { display: grid; gap: 18px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.about-grid { grid-template-columns: 0.9fr 1.1fr 0.8fr; align-items: start; }
.info-card, .course-card, .program-card, .why-card, .branch-card, .category-card, .contact-card, .enquiry-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.info-card, .why-card, .contact-card, .enquiry-form { padding: 22px; }
.branch-card { padding: 0; overflow: hidden; }
.branch-copy { padding: 18px 22px 22px; }
.branch-card .slot-photo { border-radius: 16px 16px 0 0; }
.stack-cards { display: grid; gap: 16px; }
.category-card {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    text-decoration: none;
}
.category-thumb { width: 96px; height: 60px; object-fit: cover; border-radius: 12px; background: #e8eef6; }
.category-card strong, .course-card h3, .program-card h3, .why-card h3 { display: block; color: var(--navy); margin: 0 0 4px; }
.category-card small, .course-cat, .course-copy, .why-card p, .branch-card p { color: var(--muted); }
.category-card:hover, .course-card:hover, .program-card:hover { border-color: #c9d8ea; transform: translateY(-2px); }
.course-card { overflow: hidden; display: flex; flex-direction: column; }
.course-media { display: block; aspect-ratio: 16/10; background: #eef3f8; overflow: hidden; }
.course-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.scheme-logo { object-fit: contain !important; background: #fff; padding: 16px 22px; }
.category-thumb.scheme-logo { padding: 4px; }
.course-fallback { display: grid; place-items: center; font-size: 2rem; }
.tone-computer-software { background: #e7f0fa; color: var(--blue); }
.tone-computer-hardware { background: #fff4e2; color: #b86e04; }
.tone-safety-management { background: #e7f6ee; color: #157a45; }
.course-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course-body h3 { font-size: 1.08rem; }
.course-body h3 a { text-decoration: none; }
.course-duration { margin: 0; font-weight: 600; color: var(--navy); }
.course-actions { margin-top: auto; }
.program-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.program-card .slot-photo { border-radius: 16px 16px 0 0; }
.program-body { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 18px; align-items: center; }
.program-mark {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    text-align: center;
    padding: 8px;
    font-size: 0.95rem;
}
.why-card h3, .branch-card h2, .branch-card h3 { margin-bottom: 6px; }
.branch-card a, .contact-card a { display: block; color: var(--blue); font-weight: 700; text-decoration: none; margin-top: 4px; }
.branch-card .btn-navy, .contact-card .btn-navy, .branch-card .btn-outline { display: inline-flex; margin-top: 14px; }
.branch-card .btn-navy, .contact-card .btn-navy { color: #fff; }
.admission-band {
    background: var(--navy);
    color: #fff;
    border-radius: 22px;
    padding: 28px 32px;
}
.admission-band h2 { color: #fff; margin-bottom: 6px; }
.admission-band p { margin: 0; color: #d5deea; }

.page-hero { background: var(--navy); color: #fff; padding: 36px 0 32px; }
.page-hero h1 { font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: 8px; }
.page-hero p { color: #f4f7fb; font-weight: 500; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 12px; color: #c9d5e4; font-size: 0.88rem; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #8ea0b8; }

.filter-bar, .chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.filter-bar input, .enquiry-form input, .enquiry-form select, .enquiry-form textarea, .install-card input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
}
.filter-bar input { max-width: 360px; }
.chip {
    text-decoration: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
}
.chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager { display: flex; gap: 8px; margin-top: 22px; }
.pager-link {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 700;
}
.pager-link.is-current { background: var(--navy); color: #fff; }
.empty-state { background: #fff; border: 1px dashed var(--line); border-radius: 16px; padding: 28px; color: var(--muted); }
.detail-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
.related-wrap { margin-top: 36px; }
.plain-list { padding-left: 18px; }
.narrow { max-width: 760px; }
.about-intro.about-grid { grid-template-columns: 0.92fr 1.08fr; align-items: center; }
.about-block { background: #fff; border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.about-block h2 { font-size: 1.25rem; margin: 0 0 8px; }
.about-block p { margin: 0; color: var(--muted); }
.about-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #eef4fb;
    color: var(--navy);
    font-size: 1.05rem;
}
.gallery-row, .gallery-grid { display: grid; gap: 12px; }
.gallery-row { grid-template-columns: repeat(5, 1fr); }
.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-row img, .gallery-grid img, .gallery-tile img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.gallery-grid figure { margin: 0; }
.gallery-grid figcaption { margin-top: 6px; font-size: 0.9rem; color: var(--muted); }
.contact-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
.contact-map { overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: #fff; min-height: 320px; }
.contact-map .map-frame { height: 100%; min-height: 320px; }
.contact-centers { margin-top: 28px; }
.contact-centers h2 { margin-bottom: 16px; }
.map-frame { display: block; width: 100%; height: 320px; border: 0; background: #e8eef6; }
.result-section { padding-top: 28px; }
.result-panel { max-width: 640px; }
.result-frame { overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.result-view { height: 400px; min-height: 0; }
.enquiry-view { height: 560px; }
.result-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.result-fallback { margin: 0; color: var(--muted); }
.branch-card .map-frame { height: 260px; }
.branch-copy .btn-small { margin: 8px 8px 0 0; }
.enquiry-form { display: grid; gap: 8px; }
.enquiry-form h2 { margin-bottom: 6px; }
.enquiry-form label span { color: var(--muted); font-weight: 500; }
.hp-field { position: absolute; left: -9999px; }
.banner { border-radius: 12px; padding: 12px 14px; margin: 16px 0; }
.banner-success { background: #e8f7ee; color: #0f6b38; }
.banner-warning { background: #fff6e5; color: #8a5a00; }
.banner-error { background: #fdecec; color: #9d1c1c; }
.site-footer { background: var(--navy-deep); color: #d5deea; padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer a, .footer-copy, .site-footer p { color: #d5deea; text-decoration: none; display: block; margin: 0 0 8px; }
.brand-light, .brand-light strong, .brand-light small { color: #fff; }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 28px; padding: 16px 0 22px; color: #a9b6c7; }
.footer-legal { display: flex; gap: 14px; }
.plain-page { min-height: 100vh; display: grid; place-items: center; background: var(--navy); }
.plain-card, .install-card {
    width: min(640px, calc(100% - 32px));
    background: #fff;
    color: var(--text);
    border-radius: 20px;
    padding: 28px;
    margin: 32px auto;
}
.install-card { box-shadow: var(--shadow); }
.install-card label { display: block; font-weight: 700; margin: 12px 0 6px; }
.install-card .row-2 { display: grid; grid-template-columns: 1fr 140px; gap: 12px; }
.check-list { padding-left: 18px; color: var(--muted); }
.course-media { position: relative; }
.featured-flag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    background: var(--orange);
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 800;
}
.result-count { color: var(--muted); margin: 0 0 16px; }
.fact-list { list-style: none; padding: 0; display: grid; gap: 10px; margin: 0 0 18px; }
.fact-list li { display: flex; justify-content: space-between; gap: 16px; background: var(--bg); border-radius: 12px; padding: 10px 14px; }
.fact-list span { color: var(--muted); }
.about-intro { margin-bottom: 28px; }
.about-gap { margin-top: 18px; }
.program-cta { margin-top: 22px; }
.narrow .slot-photo { width: min(100%, 720px); border-radius: 16px; margin: 8px 0 18px; }
.gallery-tile { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.program-photo { width: min(100%, 720px); aspect-ratio: 16 / 9; object-fit: cover; margin: 8px 0 18px; border-radius: 16px; }
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(8, 18, 36, 0.94);
    display: grid;
    place-items: center;
    padding: 24px;
}
body.lightbox-open { overflow: hidden; }
.lightbox figure { position: relative; margin: 0; max-width: min(960px, 100%); }
.lightbox img {
    display: block;
    max-width: min(960px, 92vw);
    max-height: 72vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; font-weight: 600; }
.lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font-weight: 800;
    padding: 8px 14px;
    cursor: pointer;
}
.wa-chat {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 45;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 18px 0 14px;
    border-radius: 999px;
    background: #128C7E;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(16, 39, 71, 0.28);
}
.wa-chat i { font-size: 1.45rem; }
.app-tabs { display: none; }
body.nav-open { overflow: hidden; }

@media (max-width: 1100px) {
    .nav-toggle { display: inline-grid; place-items: center; }
    .site-nav {
        display: none;
        margin-left: 0;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 78px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; z-index: 40; }
    .site-nav > .nav-cta { margin-left: 0; justify-content: center; }
    .header-inner { position: relative; }
    .about-grid, .hero-grid, .split-2, .detail-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .feature-strip { grid-template-columns: 1fr 1fr; padding: 8px; gap: 8px; }
    .feature-strip li { background: #f7f9fc; border-radius: 14px; }
    .feature-strip li + li::before { display: none; }
    .feature-strip li:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 50%; justify-self: center; width: 100%; }
    .cols-3, .cols-4, .gallery-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .phone-extra, .topbar-loc { display: none; }
    .topbar { font-size: 0.8rem; }
    .result-view { height: 520px; }
    .result-actions { flex-direction: column; align-items: stretch; }
    .result-actions .btn-navy { width: 100%; }
    .brand-mark { height: 48px; max-width: 84px; }
    .brand strong { font-size: 0.92rem; line-height: 1.1; }
    .brand small { display: block; font-size: 0.68rem; line-height: 1.2; }
    .header-inner { min-height: 64px; }
    .cols-3, .cols-4, .cols-2, .gallery-row, .gallery-grid, .footer-grid { grid-template-columns: 1fr; }
    .program-body { grid-template-columns: 72px 1fr; }
    .feature-strip { grid-template-columns: 1fr; padding: 4px 0; gap: 0; }
    .feature-strip li {
        flex-direction: row;
        text-align: left;
        align-items: center;
        background: transparent;
        border-radius: 0;
        border-bottom: 1px solid #eef2f7;
        padding: 14px 16px;
    }
    .feature-strip li:last-child { border-bottom: 0; }
    .feature-strip li:last-child:nth-child(odd) { grid-column: auto; max-width: none; }
    .feature-copy { align-items: flex-start; }
    .feature-strip strong { min-height: 0; justify-content: flex-start; }
    .hero { padding: 28px 0 56px; }
    .hero-grid { display: flex; flex-direction: column-reverse; }
    .hero h1 { font-size: 2rem; }
    .hero-actions, .course-actions, .admission-band { flex-direction: column; align-items: stretch; }
    .hero-actions a, .admission-band .btn-accent, .course-actions a { width: 100%; }
    .section { padding: 36px 0; }
    .page-hero { padding: 24px 0 20px; }
    .filter-bar input { max-width: none; flex: 1 1 100%; }
    .chip-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
    .chip { flex: 0 0 auto; min-height: 40px; }
    .category-card { grid-template-columns: 84px 1fr auto; }
    .category-thumb { width: 84px; height: 54px; }
    .site-nav { top: 64px; max-height: calc(100dvh - 150px); overflow: auto; }
    .site-nav > a { min-height: 44px; padding: 8px 10px; border-radius: 10px; }
    .footer-bar { flex-direction: column; align-items: flex-start; }
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .app-tabs {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        background: #fff;
        border-top: 1px solid var(--line);
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
        box-shadow: 0 -8px 24px rgba(16, 39, 71, 0.08);
    }
    .app-tabs a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        min-height: 48px;
        justify-content: center;
        text-decoration: none;
        color: var(--muted);
        font-size: 0.72rem;
        font-weight: 700;
    }
    .app-tabs a i { font-size: 1.05rem; }
    .app-tabs a.is-active { color: var(--navy); }
    .wa-chat { display: none; }
    .kicker { font-size: 0.72rem; line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto; transition: none !important; }
}
