/* ==========================================================================
   KCT Technical College & Driving School
   Brand palette (no gradients):
     Red    #DA0C1D   Navy   #0A3A5C   Cyan   #14BEDA
     Teal   #097BA0   Silver #BFC6CD   DarkRed #6B0408  White #FFFFFF
   Distribution: 60% white, 20% navy, 10% red, 10% cyan/teal
   ========================================================================== */

:root {
    --red: #DA0C1D;
    --navy: #0A3A5C;
    --cyan: #14BEDA;
    --teal: #097BA0;
    --silver: #BFC6CD;
    --dark-red: #6B0408;
    --white: #FFFFFF;

    --navy-90: rgba(10, 58, 92, 0.9);
    --navy-08: rgba(10, 58, 92, 0.08);
    --navy-12: rgba(10, 58, 92, 0.12);
    --silver-40: rgba(191, 198, 205, 0.4);
    --ink: #0d2233;
    --muted: #5b6b78;
    --bg-soft: #f5f8fa;
    --bg-alt: #eef3f7;
    --border: #e2e8ee;

    --shadow-sm: 0 1px 2px rgba(10, 58, 92, 0.06), 0 1px 3px rgba(10, 58, 92, 0.08);
    --shadow-md: 0 4px 12px rgba(10, 58, 92, 0.08), 0 2px 4px rgba(10, 58, 92, 0.06);
    --shadow-lg: 0 18px 40px rgba(10, 58, 92, 0.12), 0 6px 12px rgba(10, 58, 92, 0.08);

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 22px;

    --container: 1180px;
    --container-narrow: 760px;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-head: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
button { font-family: inherit; cursor: pointer; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 1000;
    background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: var(--container-narrow); }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 600; font-family: var(--font-head);
    padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
    text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
    line-height: 1; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 9px 18px; font-size: .9rem; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--primary { background: var(--cyan); color: var(--navy); }
.btn--primary:hover { background: #0fb4d0; color: var(--navy); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--dark-red); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #082e49; color: #fff; }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; gap: 14px; min-height: 36px; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; color: #cfe0ec; }
.topbar__spacer { flex: 1; }
.topbar__link:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
    background: #fff; border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100; transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 18px; }

.brand { display: inline-flex; align-items: center; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand__logo {
    height: calc(var(--header-h) - 14px); width: auto; max-width: none; display: block;
    object-fit: contain;
}
.brand--footer .brand__logo {
    background: #fff; padding: 8px 14px; border-radius: 10px;
    height: 58px; width: auto; box-shadow: var(--shadow-sm);
}

/* ---------- Nav ---------- */
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.primary-nav a {
    display: inline-block; padding: 10px 14px; border-radius: 8px;
    color: var(--navy); font-weight: 600; font-size: .95rem; transition: background-color .15s, color .15s;
}
.primary-nav a:hover { background: var(--navy-08); color: var(--navy); }
.primary-nav a.is-active { color: var(--red); }
.primary-nav a.is-active::after { content: ''; }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 10px 20px; }

.nav-toggle {
    display: none; background: transparent; border: 0; width: 44px; height: 44px;
    padding: 0; position: relative;
}
.nav-toggle span {
    display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px;
    position: absolute; left: 10px; transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Intake strip ---------- */
.intake-strip { background: var(--red); color: #fff; }
.intake-strip__inner { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.intake-strip__dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; flex-shrink: 0; animation: pulse 1.6s infinite; margin-top: 4px; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.intake-strip__text { font-size: .9rem; font-weight: 500; line-height: 1.45; }
.intake-strip__text strong { font-weight: 700; }
.intake-strip__link { color: #fff; text-decoration: underline; font-weight: 700; margin-left: 4px; white-space: nowrap; }
.intake-strip__link:hover { color: #ffe5e7; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius); margin: 18px 0; font-weight: 500; border: 1px solid transparent; }
.alert--success { background: #e8f8fb; color: #084d5c; border-color: #b9e8f0; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--alt { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section__head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section__lead { color: var(--muted); font-size: clamp(1rem, 2.5vw, 1.08rem); }
.eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .78rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 10px;
}
.eyebrow--cyan { color: var(--cyan); }
.eyebrow--light { color: var(--cyan); }

/* ---------- Hero ---------- */
.hero {
    background: var(--white);
    padding: 56px 0 64px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero__eyebrow { margin-bottom: 14px; }
.hero__title { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 18px; }
.hero__title .accent { color: var(--red); }
.hero__title .accent-cyan { color: var(--teal); }
.hero__lead { font-size: clamp(1rem, 3vw, 1.15rem); color: var(--muted); max-width: 540px; margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 22px; }
.hero__meta-item { display: flex; flex-direction: column; }
.hero__meta-num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--navy); line-height: 1; }
.hero__meta-num .red { color: var(--red); }
.hero__meta-label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

.hero__card {
    background: var(--navy); color: #fff; border-radius: var(--radius-xl);
    padding: 34px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.hero__card::before {
    content: ''; position: absolute; top: 0; right: 0; width: 120px; height: 120px;
    background: var(--red); border-radius: 0 0 0 120px; opacity: .95;
}
.hero__card::after {
    content: ''; position: absolute; bottom: -40px; left: -40px; width: 140px; height: 140px;
    border: 14px solid var(--cyan); border-radius: 50%; opacity: .25;
}
.hero__card-eyebrow { color: var(--cyan); font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; position: relative; z-index: 2; }
.hero__card-title { color: #fff; font-size: clamp(1.25rem, 3vw, 1.5rem); margin: 8px 0 6px; position: relative; z-index: 2; }
.hero__card-sub { color: #cfe0ec; font-size: .95rem; margin-bottom: 22px; position: relative; z-index: 2; }

/* Countdown */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; position: relative; z-index: 2; }
.countdown__cell { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 14px 6px; text-align: center; }
.countdown__num { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: #fff; line-height: 1; }
.countdown__label { font-size: .68rem; color: #a9c3d4; text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }
.hero__card-cta { position: relative; z-index: 2; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex; flex-direction: column; height: 100%;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--silver); }
.pillar__icon {
    width: 56px; height: 56px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--navy-08); color: var(--navy); margin-bottom: 18px;
}
.pillar__icon svg { width: 30px; height: 30px; }
.pillar--health .pillar__icon { background: rgba(218,12,29,.1); color: var(--red); }
.pillar--driving .pillar__icon { background: rgba(20,190,218,.14); color: var(--teal); }
.pillar--computer .pillar__icon { background: rgba(9,123,160,.12); color: var(--teal); }
.pillar--services .pillar__icon { background: var(--navy-08); color: var(--navy); }
.pillar--german .pillar__icon { background: rgba(218,12,29,.1); color: var(--red); }
.pillar__title { font-size: 1.2rem; margin-bottom: 4px; }
.pillar__tagline { color: var(--teal); font-weight: 600; font-size: .85rem; margin-bottom: 12px; }
.pillar__desc { color: var(--muted); font-size: .92rem; flex: 1; }
.pillar__link { margin-top: 16px; font-weight: 700; color: var(--red); font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.pillar__link:hover { color: var(--dark-red); }

/* ---------- Feature cards / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media {
    border-radius: var(--radius-lg); background: var(--bg-alt); border: 1px solid var(--border);
    min-height: 320px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end;
    position: relative; overflow: hidden;
}
.split__media--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.split__media--photo { padding: 0; border-color: var(--border); }
.split__media--photo img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.split__media--photo::after {
    content: ''; position: absolute; inset: 0; background: rgba(10,58,92,.55); z-index: 1;
}
.split__media--photo .split__media-caption {
    position: relative; z-index: 2; padding: 26px; color: #fff;
}
.split__media-label { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; }
.split__media-sub { color: var(--muted); font-size: .9rem; }
.split__media--navy .split__media-sub { color: #cfe0ec; }
.split__media--photo .split__media-label { color: #fff; }
.split__media--photo .split__media-sub { color: #d7e6f0; }
.checklist { list-style: none; padding: 0; margin: 0 0 22px; }
.checklist li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.checklist li:last-child { border-bottom: 0; }
.checklist__tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--cyan); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; }

/* ---------- Benefit strip ---------- */
.benefit-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.benefit-strip__item {
    background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
}
.benefit-strip__tick {
    width: 28px; height: 28px; border-radius: 8px; background: var(--red); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem;
}
.benefit-strip__item span:last-child { font-weight: 600; color: var(--navy); font-size: .92rem; line-height: 1.35; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 18px; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--cyan); line-height: 1; }
.stat__label { color: #cfe0ec; font-size: .9rem; margin-top: 8px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; border-radius: var(--radius-xl); padding: 48px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe5e7; max-width: 560px; margin: 0 auto 24px; }
.cta-band .btn--ghost-light:hover { color: var(--red); }

/* ---------- Course detail ---------- */
.course-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 24px; }
.course-block__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; justify-content: space-between; margin-bottom: 18px; }
.course-block__title { font-size: 1.5rem; margin: 0; }
.flagship-badge { background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.course-block__tagline { color: var(--teal); font-weight: 600; margin-bottom: 16px; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 22px 0; }
.course-fact { background: var(--bg-soft); border-radius: var(--radius); padding: 16px; border-left: 4px solid var(--cyan); }
.course-fact__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.course-fact__value { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.05rem; margin-top: 4px; }
.modes { display: flex; flex-wrap: wrap; gap: 8px; }
.mode-chip { background: var(--navy-08); color: var(--navy); font-weight: 600; font-size: .82rem; padding: 6px 14px; border-radius: 999px; }

/* ---------- Fee table ---------- */
.fee-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 36px; }
.fee-hero__card { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 28px; }
.fee-hero__card--red { background: var(--red); }
.fee-hero__label { color: #cfe0ec; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.fee-hero__card--red .fee-hero__label { color: #ffe5e7; }
.fee-hero__value { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; margin: 6px 0; }
.fee-hero__note { font-size: .88rem; color: #cfe0ec; }
.fee-hero__card--red .fee-hero__note { color: #ffe5e7; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch; }
.table-wrap__hint { font-size: .78rem; color: var(--muted); margin: 0 0 10px; display: none; }
table.fees { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
table.fees th, table.fees td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
table.fees thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
table.fees tbody tr:hover { background: var(--bg-soft); }
table.fees .pkg-name { font-weight: 700; color: var(--navy); white-space: nowrap; }
table.fees .pkg-badge { display: inline-block; font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-left: 6px; text-transform: uppercase; letter-spacing: .08em; }
.pkg-badge--popular { background: var(--red); color: #fff; }
.pkg-badge--combo { background: var(--cyan); color: var(--navy); }
.pkg-badge--flexible { background: var(--teal); color: #fff; }
table.fees .total { font-weight: 800; color: var(--red); white-space: nowrap; }
table.fees tfoot td { background: var(--bg-alt); font-weight: 700; color: var(--navy); }
/* Sticky first column so package name stays visible while scrolling horizontally */
table.fees thead th:first-child,
table.fees tbody td:first-child,
table.fees tfoot td:first-child {
    position: sticky; left: 0; background: #fff; box-shadow: 2px 0 0 var(--border);
    z-index: 2;
}
table.fees thead th:first-child { background: var(--navy); }
table.fees tbody tr:nth-child(odd) td:first-child { background: #fff; }
table.fees tfoot td:first-child { background: var(--bg-alt); }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { background: var(--bg-soft); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); }
.info-card__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.info-card__value { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.15rem; margin-top: 6px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery__item {
    border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
    aspect-ratio: 4 / 3; position: relative; background: var(--bg-alt);
    display: flex; align-items: flex-end; padding: 18px; color: #fff;
}
.gallery__item img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.gallery__item::after { content: ''; position: absolute; inset: 0; background: rgba(10,58,92,.45); z-index: 1; }
.gallery__item span { position: relative; z-index: 2; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }

.facility-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.facility {
    display: flex; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px;
}
.facility__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--navy-08); color: var(--navy); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.facility__icon svg { width: 24px; height: 24px; }
.facility h3 { font-size: 1.1rem; margin-bottom: 4px; }
.facility p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Route strip ---------- */
.route-strip {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 28px; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.route-strip__track { display: flex; align-items: center; gap: 0; min-width: 640px; }
.route-strip__hint { font-size: .78rem; color: var(--muted); margin: 0 0 10px; display: none; }
.route-stop { display: flex; flex-direction: column; align-items: center; flex: 1; text-align: center; }
.route-stop__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--silver); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--silver); margin-bottom: 10px; }
.route-stop--start .route-stop__dot { background: var(--cyan); box-shadow: 0 0 0 2px var(--cyan); }
.route-stop--end .route-stop__dot { background: var(--red); box-shadow: 0 0 0 2px var(--red); }
.route-stop--kct .route-stop__dot { background: var(--navy); box-shadow: 0 0 0 3px var(--cyan); width: 20px; height: 20px; }
.route-stop__label { font-size: .82rem; color: var(--navy); font-weight: 600; }
.route-stop--kct .route-stop__label { color: var(--red); font-weight: 800; }
.route-line { flex: 1; height: 3px; background: var(--silver); margin-bottom: 26px; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 32px; }
.contact-info h3 { color: #fff; }
.contact-info__item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-info__item:last-child { border-bottom: 0; }
.contact-info__icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.1); color: var(--cyan); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.contact-info__icon svg { width: 20px; height: 20px; }
.contact-info__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: #a9c3d4; }
.contact-info__value { font-weight: 600; color: #fff; }
.contact-info__value a { color: #fff; }
.contact-info__value a:hover { color: var(--cyan); }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .92rem; }
.form-group label .req { color: var(--red); }
.form-control {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius);
    font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form-control:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(20,190,218,.18); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }

/* ---------- Floating action buttons ---------- */
.fab-stack { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab {
    width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    color: #fff; box-shadow: var(--shadow-lg); transition: transform .15s ease; border: 2px solid #fff;
}
.fab:hover { transform: scale(1.06); }
.fab--whatsapp { background: #25D366; }
.fab--call { background: var(--red); }
.fab--call:hover { background: var(--dark-red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cfe0ec; padding-top: 56px; margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.site-footer__heading { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer__tagline { color: var(--cyan); font-weight: 600; font-family: var(--font-head); }
.site-footer__muted { color: #8aa6b8; font-size: .88rem; }
.site-footer__links { list-style: none; padding: 0; margin: 0; }
.site-footer__links li { margin-bottom: 10px; }
.site-footer__links a { color: #cfe0ec; }
.site-footer__links a:hover { color: var(--cyan); }
.site-footer__contact li { color: #cfe0ec; line-height: 1.5; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }

/* ---------- Page header ---------- */
.page-header { background: var(--navy); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.page-header--image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.page-header--image::before {
    content: ''; position: absolute; inset: 0; background-color: rgba(10,58,92,.74); z-index: 0;
}
.page-header > .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; margin-bottom: 10px; }
.page-header p { color: #cfe0ec; max-width: 620px; margin: 0; }
.breadcrumb { font-size: .82rem; color: #8aa6b8; margin-bottom: 14px; }
.breadcrumb a { color: var(--cyan); }

/* ---------- Course block banner ---------- */
.course-block__banner {
    margin: -32px -32px 22px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    aspect-ratio: 16 / 6; overflow: hidden; position: relative; background: var(--bg-alt);
}
.course-block__banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.course-block__banner-label {
    position: absolute; left: 0; bottom: 0; right: 0; padding: 14px 22px;
    background-color: rgba(10,58,92,.78); color: #fff; font-family: var(--font-head);
    font-weight: 700; font-size: .95rem; letter-spacing: .02em;
}
.course-block__banner-label .red { color: var(--cyan); }

/* ---------- Home preview band ---------- */
.preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.preview__item {
    border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 4 / 3;
    border: 1px solid var(--border); background: var(--bg-alt);
}
.preview__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.preview__item:hover img { transform: scale(1.04); }
.preview__item::after { content: ''; position: absolute; inset: 0; background: rgba(10,58,92,.35); }
.preview__caption {
    position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .pillars { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .preview { grid-template-columns: repeat(2, 1fr); }
    .preview__item:first-child { grid-column: 1 / -1; }
}

/* Tablet / small laptop */
@media (max-width: 768px) {
    .pillars { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .preview { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .preview__item:first-child { grid-column: 1 / -1; }
    .course-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .info-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .facility-list { grid-template-columns: 1fr; }
    .fee-hero { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .split { grid-template-columns: 1fr; gap: 28px; }
    .split--reverse .split__media { order: 0; }
    .section { padding: 52px 0; }
    .section__head { margin-bottom: 32px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
    .hero { padding: 44px 0 52px; }
    .hero__grid { grid-template-columns: 1fr; gap: 36px; }
    .page-header { padding: 44px 0; }
    .stat__num { font-size: 2rem; }
    /* Show the swipe hint for the fee table on narrow screens */
    .table-wrap__hint { display: block; }
    .route-strip__hint { display: block; }
    .benefit-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .hero__grid { grid-template-columns: 1fr; gap: 36px; }
    .split { grid-template-columns: 1fr; gap: 28px; }
    .split--reverse .split__media { order: 0; }
    .contact-grid { grid-template-columns: 1fr; }
    .fee-hero { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    /* Mobile nav */
    .nav-toggle { display: block; }
    .primary-nav {
        position: fixed; top: 0; right: 0; height: 100vh; width: min(82vw, 340px);
        background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%);
        transition: transform .28s ease; padding: 84px 20px 24px; overflow-y: auto; z-index: 99;
        border-left: 1px solid var(--border);
    }
    .primary-nav.is-open { transform: translateX(0); }
    .primary-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
    .primary-nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 10px; }
    .nav-cta { margin: 12px 0 0; }
    .nav-cta .btn { width: 100%; }
    body.nav-open { overflow: hidden; }
    .nav-backdrop {
        position: fixed; inset: 0; background: rgba(10,58,92,.45); z-index: 98;
        opacity: 0; visibility: hidden; transition: opacity .25s ease;
    }
    .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

@media (max-width: 560px) {
    .section { padding: 40px 0; }
    .section__head { margin-bottom: 26px; }
    /* Keep compact 2-per-row grids to preserve vertical space on phones */
    .pillars { grid-template-columns: 1fr; gap: 14px; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .course-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .info-grid { grid-template-columns: 1fr; gap: 12px; }
    .facility-list { grid-template-columns: 1fr; gap: 12px; }
    .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .preview { grid-template-columns: 1fr; gap: 12px; }
    .preview__item:first-child { grid-column: auto; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 26px; }
    .cta-band { padding: 30px 20px; }
    .course-block, .form-card, .contact-info { padding: 22px; }
    .course-block__banner { margin: -22px -22px 18px; aspect-ratio: 16 / 7; }
    .hero__card { padding: 24px; }
    .countdown__num { font-size: 1.4rem; }
    .fab { width: 52px; height: 52px; }
    .fab-stack { right: 14px; bottom: 14px; gap: 10px; }
    .brand__logo { height: 46px; }
    .brand--footer .brand__logo { height: 50px; }

    /* Hero CTAs stack full-width for thumb reach */
    .hero__cta { flex-direction: column; gap: 10px; }
    .hero__cta .btn { width: 100%; }
    .hero__meta { gap: 18px; }
    .hero__meta-num { font-size: 1.4rem; }

    /* Topbar: keep phone tappable, hide location to avoid cramping */
    .topbar__item:first-child { display: none; }
    .topbar__inner { justify-content: flex-end; }

    /* Page header tighter on phones */
    .page-header { padding: 34px 0; }
    .hero { padding: 36px 0 44px; }

    /* Course block head: stack title above badge */
    .course-block__head { flex-direction: column; align-items: flex-start; gap: 8px; }

    /* Stat numbers a touch smaller */
    .stat__num { font-size: 1.8rem; }
    .stat { padding: 12px; }

    /* Course fact compact on phones */
    .course-fact { padding: 12px; }
    .course-fact__value { font-size: .98rem; }

    /* Form controls meet 44px touch target */
    .form-control { padding: 13px 14px; min-height: 44px; }
    .btn { min-height: 44px; }

    /* Footer bottom stacks */
    .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
    .benefit-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

@media (max-width: 380px) {
    .countdown { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: 1fr; }
    .hero__meta { gap: 14px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Print */
@media print {
    .topbar, .site-header, .intake-strip, .fab-stack, .site-footer, .nav-toggle { display: none; }
    body { color: #000; }
}
