:root {
    --navy: #0b1220;
    --navy-2: #162033;
    --ink: #121826;
    --muted: #5b6578;
    --paper: #eef2f7;
    --cream: #ffffff;
    --card: #ffffff;
    --line: #e2e8f0;
    --accent: #2563eb;
    --accent-soft: #dbeafe;
    --gold: #2563eb;
    --gold-soft: #93c5fd;
    --wa: #059669;
    --focus: #2563eb;
    --err: #b42318;
    --ok: #067647;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 12px 32px rgba(15, 23, 42, 0.06);
    --font: "Noto Kufi Arabic", "Noto Sans", sans-serif;
    --display: "Noto Kufi Arabic", "Noto Sans", sans-serif;
    --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.75rem;
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.05rem;
    line-height: 1.62;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); }

a:hover { color: var(--navy); }

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: 0.75rem;
    top: -3.5rem;
    background: var(--navy);
    color: #fff;
    padding: 0.6rem 1rem;
    z-index: 1000;
}

.skip-link:focus { top: 0.75rem; }

.wrap {
    width: min(1120px, calc(100% - 1.25rem));
    margin-inline: auto;
}

.topbar {
    background: #0b1220;
    color: #94a3b8;
    font-size: 0.82rem;
}

.topbar-place { color: #e2e8f0; margin: 0; }

.topbar-place a { color: #bfdbfe; text-decoration: none; font-weight: 700; }

.topbar-place a:hover { color: #fff; }

.topbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 1.2rem;
    min-height: 2.4rem;
    padding: 0.35rem 0;
}

.topbar p { margin: 0; }

.topbar-hours {
    display: none;
    color: #94a3b8;
    max-width: 28rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar .staff-link,
.staff-link {
    color: #bfdbfe;
    font-weight: 700;
    text-decoration: none;
}

.topbar .staff-link:hover,
.staff-link:hover { color: #fff; }

.site-header {
    background: rgba(255, 255, 255, 0.86);
    color: var(--navy);
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.site-header .wrap { position: relative; }

.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); }

.header-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.9rem;
    padding: 0.35rem 0;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: inherit;
    text-decoration: none;
    min-width: 0;
}

.logo-mark {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: linear-gradient(145deg, #3b82f6, #1d4ed8);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font);
    font-weight: 700;
    font-size: 1.15rem;
    flex: none;
}

.logo-name {
    display: block;
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    font-size: 0.95rem;
}

.logo-city { display: block; font-size: 0.74rem; color: var(--muted); font-weight: 500; }

.nav-desktop, .header-ctas { display: none; }

.nav-mobile { margin-left: auto; }

.nav-summary {
    list-style: none;
    cursor: pointer;
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
}

.nav-summary::-webkit-details-marker,
.nav-summary::marker { display: none; content: ""; }

.nav-summary-bars,
.nav-summary-bars::before,
.nav-summary-bars::after {
    display: block;
    width: 1.15rem;
    height: 2px;
    background: var(--navy);
    position: relative;
}

.nav-summary-bars::before,
.nav-summary-bars::after {
    content: "";
    position: absolute;
}

.nav-summary-bars::before { top: -6px; }
.nav-summary-bars::after { top: 6px; }

.nav-mobile[open] .nav-summary {
    background: var(--navy);
    border-color: var(--navy);
}

.nav-mobile[open] .nav-summary-bars,
.nav-mobile[open] .nav-summary-bars::before,
.nav-mobile[open] .nav-summary-bars::after {
    background: #fff;
}

.nav-panel {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    z-index: 50;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    padding: 0.55rem 0.65rem 0.9rem;
    gap: 0.1rem;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.28);
    max-height: min(28rem, calc(100dvh - 7.5rem - env(safe-area-inset-bottom, 0px)));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-panel a {
    color: #e2e8f0;
    text-decoration: none;
    padding: 0.8rem 0.85rem;
    min-height: 2.75rem;
    font-weight: 600;
    white-space: normal;
    overflow-wrap: anywhere;
}

.nav-panel .btn {
    width: 100%;
    margin-top: 0.25rem;
    white-space: normal;
}

.nav-panel a.is-active { color: #93c5fd; }

.nav-panel .staff-link { color: #93c5fd; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.8rem;
    padding: 0.5rem 1.1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.95rem;
}

.btn-icon { width: 1.05rem; height: 1.05rem; flex: none; }

.btn-lg { min-height: 3.15rem; padding-inline: 1.25rem; }

.btn-call { background: var(--navy); color: #fff; }

.btn-call:hover { color: #fff; background: #1e293b; }

.btn-wa { background: var(--wa); color: #fff; }

.btn-wa:hover { color: #fff; background: #047857; }

.btn-primary { background: var(--accent); color: #fff; }

.btn-primary:hover { color: #fff; background: #1d4ed8; }

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--line);
}

.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #cbd5e1; }

h1, h2, h3,
.logo-name,
.footer-name {
    font-family: var(--display);
    font-synthesis: none;
    font-stretch: normal;
}

h1, h2, h3 {
    color: var(--navy);
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0;
}

h1 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); margin: 0 0 0.65rem; }

h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 0 0 0.5rem; font-weight: 600; }

h3 { font-size: 1.15rem; font-weight: 600; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    max-width: 100%;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    margin: 0 0 0.9rem;
    overflow-wrap: anywhere;
}

.hero {
    background:
        radial-gradient(900px 420px at 88% -10%, rgba(37, 99, 235, 0.35), transparent 50%),
        radial-gradient(700px 380px at 0% 110%, rgba(14, 165, 233, 0.18), transparent 46%),
        linear-gradient(180deg, #0b1220 0%, #111827 100%);
    color: #e8eef8;
    padding: 2.8rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 70% 30%, #000 20%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-inner > *,
.split > * {
    min-width: 0;
}

.hero h1 { color: #fff; font-weight: 700; }

.hero-hi {
    font-size: 1.08rem;
    color: #93c5fd;
    margin: 0 0 0.75rem;
    font-weight: 600;
}

.lede { font-size: 1.08rem; max-width: 38rem; color: var(--muted); }

.hero .lede { color: #cbd5e1; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.6rem;
    margin-top: 1.3rem;
}

.hero-actions .btn {
    flex: 0 1 auto;
    max-width: 100%;
}

.hero .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.hero .btn-call { background: #fff; color: var(--navy); }

.hero .btn-call:hover { background: #dbeafe; color: var(--navy); }

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
}

.hero-chips li {
    font-size: 0.8rem;
    font-weight: 700;
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    background: rgba(255, 255, 255, 0.04);
}

.hero-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 1.4rem 1.35rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hero-card-kicker {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #93c5fd;
    margin: 0 0 0.55rem;
}

.hero-card .nap { color: #fff; margin: 0 0 0.5rem; }

.hero-card p { margin: 0 0 0.45rem; color: #cbd5e1; }

.hero-card-phone a { color: #fff; font-weight: 700; font-size: 1.2rem; text-decoration: none; font-family: var(--font); letter-spacing: 0; }

.text-link { font-weight: 700; text-decoration: none; color: var(--accent); }

.text-link:hover { color: var(--navy); }

.text-link.on-dark { color: #93c5fd; }

.trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.trust-grid {
    display: grid;
    gap: 0.85rem;
    padding: 1.1rem 0;
}

.trust-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.trust-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.trust-item strong { display: block; color: var(--navy); font-size: 0.95rem; margin-bottom: 0.1rem; }

.trust-no {
    font-weight: 800;
    color: var(--accent);
    font-size: 0.9rem;
    background: var(--accent-soft);
    border-radius: 10px;
    min-width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
}

.section { padding: 3rem 0; }

.section-alt { background: #e7edf6; }

.section-head { margin-bottom: 1.5rem; max-width: 40rem; }

.form-lead { margin: 0 0 1rem; }

.card-grid {
    display: grid;
    gap: 1.1rem;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.35rem 1.25rem 1.35rem;
    box-shadow: var(--shadow);
}

.card-course {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card-course:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.card-course .text-link { margin-top: auto; padding-top: 0.85rem; }

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}

.card-index {
    font-weight: 700;
    font-family: var(--font);
    color: var(--accent);
    font-size: 0.95rem;
}

.card h2, .card h3 { margin-top: 0; font-size: 1.28rem; }

.card h2 a, .card h3 a { color: inherit; text-decoration: none; }

.card-kicker {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
}

.card-fee {
    font-weight: 700;
    color: var(--navy);
    margin: 0.5rem 0 0.2rem;
    font-family: var(--font);
    letter-spacing: 0;
}

.meta, .muted, .form-hint { color: var(--muted); }

.steps {
    display: grid;
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: step;
}

.steps li {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.2rem 1.15rem 1.25rem 3.6rem;
    position: relative;
    border: 1px solid var(--line);
    counter-increment: step;
    box-shadow: var(--shadow);
    min-width: 0;
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0.9rem;
    top: 1.15rem;
    font-family: var(--font);
    font-weight: 700;
    color: var(--accent);
    font-size: 0.95rem;
}

.steps h3 { margin: 0 0 0.35rem; }

.split {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

.visit-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem 1.3rem;
    box-shadow: var(--shadow);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.nap { font-size: 1.08rem; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }

.enquiry-form {
    background: #fff;
    padding: 1.3rem 1.2rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.form-row { margin-bottom: 0.85rem; }

label { display: block; font-weight: 700; margin-bottom: 0.3rem; font-size: 0.92rem; }

input[type="text"], input[type="tel"], input[type="email"], input[type="url"], input[type="number"], input[type="date"], input[type="password"], select, textarea {
    width: 100%;
    min-height: 2.9rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    font: inherit;
    font-size: 1rem;
    background: #f8fafc;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    outline: none;
}

textarea { min-height: 6.5rem; resize: vertical; }

.check {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-weight: 500;
    margin: 0.7rem 0 1rem;
}

.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; flex: none; }

.field-error { color: var(--err); margin: 0.3rem 0 0; font-size: 0.92rem; }

.flash {
    width: min(1120px, calc(100% - 1.5rem));
    margin: 1rem auto 0;
    padding: 0.85rem 1rem;
    border-radius: 12px;
}

.flash-ok { background: #ecfdf3; color: var(--ok); }

.enquiry-form {
    scroll-margin-top: 6rem;
    scroll-margin-bottom: 5.5rem;
}

.enquiry-form .flash {
    width: auto;
    margin: 0 0 1rem;
}

.enquiry-wa-continue { margin: 0 0 0.75rem; }

.enquiry-form .btn { width: 100%; }

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    min-width: 36rem;
    border-collapse: collapse;
    background: #fff;
}

th, td {
    text-align: left;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th { background: var(--navy); color: #fff; font-weight: 700; font-size: 0.85rem; }

tr:last-child td { border-bottom: 0; }

.prose { max-width: 42rem; }

.city-seo-grid { margin-top: 0.15rem; }

.wrap-note { margin: 1.15rem 0 0; max-width: 42rem; }

.prose code {
    font-size: 0.9em;
    background: #f1f5f9;
    padding: 0.12em 0.4em;
    border-radius: 4px;
}

.local-copy {
    max-width: 42rem;
}

.split > .local-copy {
    max-width: none;
}

.local-copy h2 {
    font-family: var(--display);
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    margin: 0 0 0.75rem;
}

.local-copy p { margin: 0 0 1rem; color: var(--muted); }

.local-copy p:last-child { margin-bottom: 0; }

.city-panel h3 {
    margin: 1rem 0 0.35rem;
    font-size: 1.15rem;
}

.city-panel .card-kicker { margin-bottom: 0.15rem; }

.city-panel h3:first-of-type { margin-top: 0.35rem; }

.visit-panel h2 {
    margin: 0 0 0.75rem;
}

.contact-split .enquiry-form { margin-top: 0.35rem; }

.section-more { margin-top: 1.35rem; }

.related-courses {
    margin: 0 0 1.5rem;
    padding-left: 1.2rem;
}

.related-courses li { margin: 0.35rem 0; }

.content-photo {
    border-radius: 16px;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow);
}

.page-hero {
    background:
        radial-gradient(700px 280px at 90% -20%, rgba(37, 99, 235, 0.35), transparent 50%),
        var(--navy);
    color: #e8eef8;
    padding: 1.8rem 0 2.1rem;
}

.page-hero h1 { color: #fff; }

.page-hero .hero-hi { color: #93c5fd; }

.page-hero .eyebrow { background: rgba(37, 99, 235, 0.25); color: #bfdbfe; }

.page-hero-lede,
.page-hero-meta { color: #cbd5e1; max-width: 40rem; margin: 0.4rem 0 0; }

.page-hero .breadcrumbs { padding: 0 0 0.9rem; }

.page-hero .breadcrumbs a { color: #93c5fd; text-decoration: none; }

.page-hero .breadcrumbs span { color: #fff; }

.page-hero .breadcrumbs li:not(:last-child)::after { color: #64748b; }

.faq-wrap { max-width: 46rem; }

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 0.7rem;
    padding: 0.15rem 1rem;
    box-shadow: var(--shadow);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-family: var(--display);
    letter-spacing: 0;
    padding: 0.95rem 0;
    min-height: 2.75rem;
}

.faq-item p { margin: 0 0 1rem; color: var(--muted); }

.gallery-grid { display: grid; gap: 1.1rem; }

.gallery-item { margin: 0; }

.gallery-item img,
.gallery-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
}

.gallery-placeholder-1 { background: linear-gradient(145deg, #0b1220, #2563eb); }

.gallery-placeholder-2 { background: linear-gradient(145deg, #0f766e, #38bdf8); }

figcaption { margin-top: 0.5rem; color: var(--muted); font-size: 0.92rem; }

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    padding: 1rem 0 0;
    margin: 0;
    font-size: 0.88rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.35rem;
    color: var(--muted);
}

.site-footer {
    background: var(--navy);
    color: #cbd5e1;
    padding: 2.6rem 0 calc(6.8rem + env(safe-area-inset-bottom));
}

.site-footer a { color: #fff; text-decoration: none; }

.site-footer a:hover { color: #93c5fd; }

.footer-grid { display: grid; gap: 1.5rem; }

.footer-name {
    font-size: 1.45rem;
    margin: 0 0 0.4rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0;
}

.footer-nap { overflow-wrap: anywhere; word-break: break-word; }

.footer-tag, .footer-hours { color: #94a3b8; }

.footer-heading {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #93c5fd;
    margin: 0 0 0.55rem;
    font-weight: 800;
}

.footer-note { font-size: 0.92rem; opacity: 0.9; margin: 0; grid-column: 1 / -1; }

.footer-grid nav { display: flex; flex-direction: column; gap: 0.4rem; }

.footer-grid .staff-link { color: #93c5fd; width: fit-content; }

.footer-base {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-top: 2rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    font-size: 0.88rem;
}

.footer-base p { margin: 0; }

.footer-credit { color: #94a3b8; }

.footer-credit a { font-weight: 700; }

.staff-link-quiet { color: #93c5fd !important; font-weight: 700; }

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: #fff;
    border-top: 1px solid var(--line);
    z-index: 50;
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.12);
    padding-bottom: env(safe-area-inset-bottom);
}

.sticky-cta a {
    min-height: 3.45rem;
    display: grid;
    place-items: center;
    text-decoration: none;
    font-weight: 800;
    color: var(--navy);
    font-size: 0.88rem;
}

.sticky-cta .wa { background: var(--wa); color: #fff; }

@media (max-width: 479px) {
    .topbar .staff-link { display: none; }
    .logo-city { display: none; }
    .hero { padding: 2rem 0 2.25rem; }
    .hero-actions .btn { flex: 1 1 100%; }
    .section { padding: 2rem 0; }
    .steps li { padding: 1.1rem 1rem 1.15rem 3.3rem; }
}

@media (min-width: 720px) {
    .topbar-hours { display: block; }
    .hero-inner { grid-template-columns: 1.35fr 0.85fr; align-items: center; gap: 2.6rem; }
    .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; padding: 1.2rem 0; }
    .steps { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
    .split { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .city-seo-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-actions .btn { flex: none; }
    .enquiry-form .btn { width: auto; }
}

@media (min-width: 900px) {
    .nav-mobile { display: none; }
    .header-inner {
        display: grid;
        grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
        align-items: center;
        min-height: 4.4rem;
        padding: 0.4rem 0;
    }
    .nav-desktop {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.1rem;
        min-width: 0;
        max-width: 100%;
        background: #f1f5f9;
        border-radius: 999px;
        padding: 0.28rem;
        margin-inline: auto;
        overflow-x: auto;
    }
    .nav-desktop a {
        color: #334155;
        text-decoration: none;
        padding: 0.45rem 0.7rem;
        font-weight: 700;
        font-size: 0.84rem;
        border-radius: 999px;
        white-space: nowrap;
    }
    .nav-desktop a:hover { color: var(--navy); background: rgba(255,255,255,0.7); }
    .nav-desktop a.is-active {
        color: var(--navy);
        background: #fff;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    }
    .header-ctas { display: flex; gap: 0.45rem; flex: none; }
    .logo-name { font-size: 1.02rem; }
    .card-grid, .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .split { grid-template-columns: 0.95fr 1.05fr; }
    .footer-grid { grid-template-columns: 1.3fr 0.9fr 0.7fr 0.8fr; }
    .site-footer { padding-bottom: 2.2rem; }
    .sticky-cta { display: none; }
    .hero { padding: 3.6rem 0 3.8rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .card-course:hover { transform: none; }
}
