/* =====================================================================
   CARO Wander Ltd - site.css
   One design system shared by every page.

   Concept: the CARO car livery. A white body, the navy chequered
   stripe painted on the training cars, and the red letter tiles of
   the logo. Colours follow the printed rate card: crimson = action,
   navy = trust, gold = the Captain SPATA signature programme.
   ===================================================================== */

:root {
    /* Brand colours, matched to the CARO Wander rate card (v3.5) */
    --red: #AE0C24;           /* crimson: actions, accents, Standard plan */
    --red-700: #8C0A1D;
    --red-900: #720618;       /* maroon: Premium plan */
    --red-50: #FCEFF1;
    --tile-red: #D9121B;      /* bright logo red, used only for the CaRO letter tiles */
    --navy: #0C2A5A;          /* navy: headings, Manual plans, VIP */
    --navy-700: #0A2249;
    --navy-900: #071A38;
    --navy-950: #04112A;
    --navy-50: #EDF1F8;
    --slate: #5A6C8A;         /* slate: Basic plan */
    --gold: #C69C24;          /* gold: Captain SPATA and small highlights on dark */
    --spata-black: #0D0D10;

    /* Navy-tinted neutrals */
    --ink: #0F1B33;
    --text: #444F68;
    --muted: #6A748C;
    --line: #E1E5EE;
    --surface: #FFFFFF;
    --surface-2: #F5F7FA;

    /* WhatsApp actions only */
    --whatsapp: #25D366;
    --whatsapp-btn: #138446;
    --whatsapp-btn-hover: #0F6E3A;

    --font-display: 'Montserrat', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
    --font-body: 'Poppins', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(7, 26, 56, .06), 0 4px 14px rgba(7, 26, 56, .05);
    --shadow-md: 0 12px 32px rgba(7, 26, 56, .10);
    --shadow-lg: 0 28px 70px rgba(7, 26, 56, .22);

    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 76px;
    --tabbar-h: 64px;
    --section-y: clamp(64px, 9vw, 112px);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--surface);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5 {
    margin: 0;
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; }

a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }

button { font: inherit; }

:focus-visible {
    outline: 3px solid var(--focus, var(--navy));
    outline-offset: 3px;
    border-radius: 6px;
}

::selection { background: var(--red); color: #fff; }

[hidden] { display: none !important; }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 16px; top: -60px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------------------------------------------------------------------
   Loading screen
   Plays on every page. A see-through navy tint dims the whole page and the
   car floats in the middle on a dotted road: it drives in, stops, then
   speeds off. Clicks still reach the page underneath. site.js fades the
   screen out when the car has left and the page has loaded; the failsafe
   animation hides it after 6s even without JS.
   --------------------------------------------------------------------- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(4, 17, 42, .6);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    pointer-events: none;
    transition: opacity .45s var(--ease), visibility .45s;
    animation: loader-failsafe .45s ease 6s forwards;
    --car-w: clamp(150px, 13vw, 190px);
}

.loader.is-done { opacity: 0; visibility: hidden; }

/* The road: a lane of white dots, faded out at both ends */
.loader-road {
    position: relative;
    width: min(560px, 100%);
    height: calc(var(--car-w) * .4 + 22px);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.loader-lane {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 8px;
    background: radial-gradient(circle, rgba(255, 255, 255, .9) 0 3px, transparent 3.5px) 0 50% / 18px 8px repeat-x;
}

/* The car sits at the right end of a full-width track. Moving the track
   from -100% to 100% drives the car across the road; -50% plus half the
   car's width parks it in the middle. */
.loader-track {
    position: absolute;
    inset: 0 0 10px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    transform: translateX(-100%);
    animation: loader-drive 2.6s infinite;
}

.loader-car {
    flex-shrink: 0;
    width: var(--car-w);
    height: calc(var(--car-w) * .4);
    overflow: visible;
    transform-origin: 50% 90%;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, .35)) drop-shadow(0 6px 10px rgba(0, 0, 0, .35));
    animation: loader-body 2.6s infinite;
}

.loader-wheel {
    transform-box: fill-box;
    transform-origin: center;
    animation: loader-wheels 2.6s infinite;
}

.loader-streaks { animation: loader-streaks 2.6s infinite; }

.loader-puff {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: loader-puff 2.6s infinite;
}

.loader-puff:nth-of-type(2) { animation-delay: .05s; }

/* One pass = 2.6s: drive in and brake (0-25%), wait with the engine
   idling (25-63%), speed off (63-80%), empty road (80-100%). */
@keyframes loader-drive {
    0%   { transform: translateX(-100%); animation-timing-function: cubic-bezier(.12, .75, .3, 1); }
    25%  { transform: translateX(calc(-50% + var(--car-w) / 2)); animation-timing-function: linear; }
    63%  { transform: translateX(calc(-50% + var(--car-w) / 2)); animation-timing-function: cubic-bezier(.65, 0, .9, .45); }
    80%  { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

/* Nose dips when it brakes, a little idle shake while it waits,
   rear squats when it launches */
@keyframes loader-body {
    0%, 20% { transform: rotate(0) translateY(0); }
    26%  { transform: rotate(2.5deg) translateY(0); }
    32%  { transform: rotate(0) translateY(0); }
    38%  { transform: rotate(0) translateY(-.6px); }
    43%  { transform: rotate(0) translateY(0); }
    48%  { transform: rotate(0) translateY(-.6px); }
    53%  { transform: rotate(0) translateY(0); }
    60%  { transform: rotate(0) translateY(0); }
    65%  { transform: rotate(-3deg) translateY(0); }
    73%, 100% { transform: rotate(0) translateY(0); }
}

/* Wheels turn only while the car is moving */
@keyframes loader-wheels {
    0%   { transform: rotate(0); animation-timing-function: cubic-bezier(.12, .75, .3, 1); }
    25%  { transform: rotate(900deg); }
    63%  { transform: rotate(900deg); animation-timing-function: cubic-bezier(.65, 0, .9, .45); }
    80%  { transform: rotate(1800deg); }
    100% { transform: rotate(1800deg); }
}

@keyframes loader-streaks {
    0%, 17% { opacity: 1; }
    25%, 63% { opacity: 0; }
    68%, 80% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes loader-puff {
    0%, 62% { opacity: 0; transform: translateX(0) scale(.5); }
    65% { opacity: .75; transform: translateX(-2px) scale(1); }
    77%, 100% { opacity: 0; transform: translateX(-14px) scale(1.9); }
}

@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
    .loader-track { transform: translateX(calc(-50% + var(--car-w) / 2)); animation: none; }
    .loader-car,
    .loader-wheel,
    .loader-streaks,
    .loader-puff { animation: none; }
    .loader-streaks { opacity: 0; }
}

/* ---------------------------------------------------------------------
   Layout
   --------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-2); }
.section--flush-top { padding-top: clamp(40px, 6vw, 72px); }

/* Section heading block */
.section-head {
    display: grid;
    gap: 14px;
    max-width: 720px;
    margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head--split {
    max-width: none;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: end;
    gap: 16px 56px;
}
.section-head--split > * { min-width: 0; }
.section-head-main { display: grid; gap: 14px; }

.section-head--center {
    justify-items: center;
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font: 600 .78rem/1.2 var(--font-body);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
}

/* A short dashed lane marking in front of every eyebrow */
.eyebrow::before {
    content: "";
    flex: 0 0 30px;
    height: 3px;
    border-radius: 2px;
    background: repeating-linear-gradient(90deg, currentColor 0 8px, transparent 8px 13px);
}

.eyebrow--light { color: var(--gold); }

.section-title {
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
    font-weight: 800;
}

.accent { color: var(--red); }

.section-lead {
    font-size: 1.05rem;
    max-width: 60ch;
}

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn {
    --btn-bg: var(--red);
    --btn-fg: #fff;
    --btn-bd: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border: 2px solid var(--btn-bd);
    border-radius: 10px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font: 600 .95rem/1.2 var(--font-body);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s, transform .2s var(--ease), box-shadow .2s var(--ease);
}

.btn:hover {
    color: var(--btn-fg);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(7, 26, 56, .16);
}

.btn:active { transform: translateY(0); box-shadow: none; }

.btn-primary:hover { --btn-bg: var(--red-700); }

.btn-navy { --btn-bg: var(--navy); }
.btn-navy:hover { --btn-bg: var(--navy-700); }

.btn-outline { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn-outline:hover { --btn-bd: var(--navy); --btn-fg: var(--navy); }

.btn-light { --btn-bg: #fff; --btn-fg: var(--red); }
.btn-light:hover { --btn-bg: var(--red-50); }

.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-bd: #fff; }

.btn-whatsapp { --btn-bg: var(--whatsapp-btn); }
.btn-whatsapp:hover { --btn-bg: var(--whatsapp-btn-hover); }

.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--red);
    font: 600 .95rem/1.3 var(--font-body);
    cursor: pointer;
}
.link-arrow i { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--red-700); }
.link-arrow:hover i { transform: translateX(4px); }

/* Makes a whole card clickable through the link or button inside it */
.stretched::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s;
}

.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(7, 26, 56, .08); }

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: var(--header-h);
}

.brand { display: inline-flex; flex-shrink: 0; border-radius: 6px; }
.brand img { width: auto; height: 46px; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.nav-link {
    position: relative;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--ink);
    font: 500 .95rem/1 var(--font-body);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 1px;
    height: 3px;
    border-radius: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
}

.nav-link:hover { color: var(--red); }
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--red); font-weight: 600; }

.header-call { margin-left: 10px; }
.header-call .call-short { display: none; }

/* Bottom tab bar (phones and tablets) */
.tabbar { display: none; }

/* ---------------------------------------------------------------------
   Inner page hero
   --------------------------------------------------------------------- */
.page-hero {
    --focus: #fff;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy-900);
    color: #fff;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(7, 26, 56, .97) 0%, rgba(7, 26, 56, .9) 48%, rgba(7, 26, 56, .66) 100%);
}

.page-hero-content {
    display: grid;
    gap: 16px;
    max-width: 760px;
    padding-block: clamp(52px, 8vw, 100px) clamp(68px, 9vw, 116px);
}

/* Leaves room for the stats bar that overlaps the bottom of the hero */
.page-hero--stats .page-hero-content { padding-bottom: clamp(104px, 12vw, 150px); }

.page-hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    font-weight: 800;
}

.page-hero-lead {
    max-width: 62ch;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: rgba(255, 255, 255, .7);
}
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: .65rem; opacity: .7; }

/* The chequered stripe from the training cars */
.chequer {
    height: 16px;
    background: repeating-conic-gradient(var(--navy) 0 25%, #fff 0 50%) 0 0 / 16px 16px;
}

.page-hero .chequer,
.hero .chequer {
    position: absolute;
    left: 0; right: 0; bottom: 0;
}

/* ---------------------------------------------------------------------
   Home hero
   --------------------------------------------------------------------- */
.hero {
    --focus: #fff;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy-950);
    color: #fff;
}

.hero-slides { position: absolute; inset: 0; z-index: -2; }

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.6s ease, transform 7s linear;
}

.hero-slide.is-active { opacity: 1; transform: scale(1); }

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(4, 17, 42, .95) 0%, rgba(4, 17, 42, .84) 40%, rgba(4, 17, 42, .38) 78%, rgba(4, 17, 42, .3) 100%),
        linear-gradient(0deg, rgba(4, 17, 42, .8) 0%, rgba(4, 17, 42, 0) 45%);
}

.hero-content {
    display: grid;
    justify-items: start;
    gap: 22px;
    max-width: 660px;
    padding-block: clamp(64px, 10vw, 120px) clamp(128px, 15vw, 176px);
}

.hero-title {
    display: grid;
    gap: 14px;
    color: #fff;
    font-size: clamp(2.3rem, 6vw, 4.3rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: .01em;
    text-transform: uppercase;
}

/* "CaRO" set in red tiles, like the logo */
.tiles { display: flex; gap: .12em; text-transform: none; }

.tiles span {
    display: grid;
    place-items: center;
    width: 1.12em;
    height: 1.12em;
    border-radius: .1em;
    background: var(--tile-red);
    color: #fff;
    font-size: .92em;
    line-height: 1;
    box-shadow: inset 0 -.06em 0 rgba(0, 0, 0, .18);
}

.hero-lead {
    max-width: 54ch;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.branches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.branches a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background-color .2s, border-color .2s;
}

.branches a:hover { color: #fff; background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
.branches i { color: var(--gold); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Highlights bar that overlaps the bottom of the home hero */
.highlights {
    position: relative;
    z-index: 2;
    margin-top: -88px;
}

/* The 1px gap over a line-coloured background draws the dividers */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    padding: 0;
    list-style: none;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.highlight {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 24px 20px;
    background: #fff;
}

.highlight .icon-tile { width: 44px; height: 44px; font-size: 1.05rem; }
.highlight h3 { font-size: .98rem; font-weight: 700; line-height: 1.35; }

.highlights-grid--spaced { margin-top: 28px; }

/* ---------------------------------------------------------------------
   Cards and grids
   --------------------------------------------------------------------- */
.icon-tile {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--red);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .16);
}

.icon-tile--navy { background: var(--navy); }

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 24px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(174, 12, 36, .35);
}

.service-card h3 { font-size: 1.2rem; font-weight: 700; }
.service-card p { font-size: .95rem; }
.service-card .card-action { margin-top: auto; padding-top: 6px; }

.card-price { color: var(--muted); font-size: .88rem; }
.card-price strong { color: var(--red); font: 800 1.08rem/1 var(--font-display); font-variant-numeric: tabular-nums; }

/* Training videos (home) */
.video-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.video-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.video-card video {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: var(--navy-950);
}

.video-card-body { display: grid; gap: 4px; padding: 16px 18px 18px; }
.video-card h3 { font-size: 1.02rem; font-weight: 700; }
.video-card p { font-size: .88rem; color: var(--muted); }

/* Steps (services) */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 0;
    list-style: none;
}

.step {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 26px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.step h3 { font-size: 1.1rem; font-weight: 700; }
.step p { font-size: .94rem; }

.step-num {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--red);
    color: #fff;
    font: 800 .85rem/1 var(--font-display);
    font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------
   Stats bar (about + team)
   --------------------------------------------------------------------- */
.stat-bar {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
    margin-top: -64px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stat-bar--3 { --cols: 3; }

.stat {
    display: grid;
    gap: 6px;
    padding: 26px 18px;
    text-align: center;
}

.stat + .stat { border-left: 1px solid var(--line); }

.stat-value {
    color: var(--ink);
    font: 800 clamp(1.7rem, 3.4vw, 2.6rem)/1 var(--font-display);
    font-variant-numeric: tabular-nums;
}

.stat-value small { margin-left: 2px; color: var(--red); font-size: .62em; }
.stat-label { font-size: .86rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   About
   --------------------------------------------------------------------- */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.mv-card {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: clamp(28px, 4vw, 44px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.mv-card h3 { font-size: 1.45rem; font-weight: 800; }

.mv-card--navy {
    --focus: #fff;
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: rgba(255, 255, 255, .84);
}
.mv-card--navy h3 { color: #fff; }

.timeline {
    position: relative;
    display: grid;
    gap: 28px;
    max-width: 980px;
    margin-inline: auto;
    padding: 0;
    list-style: none;
}

/* Centre line painted like a dashed road marking */
.timeline::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 4px;
    border-radius: 2px;
    transform: translateX(-50%);
    background: repeating-linear-gradient(180deg, var(--red) 0 18px, transparent 18px 32px);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 72px;
}

.timeline-year {
    position: absolute;
    top: 20px;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
    padding: 7px 11px;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    font: 800 .9rem/1 var(--font-display);
    font-variant-numeric: tabular-nums;
    box-shadow: 0 0 0 5px var(--surface-2);
}

.timeline-card {
    display: grid;
    gap: 8px;
    padding: 24px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.timeline-card h3 { font-size: 1.15rem; font-weight: 700; }
.timeline-card p { font-size: .95rem; }

.timeline-item:nth-child(odd) .timeline-card { grid-column: 1; text-align: right; }
.timeline-item:nth-child(even) .timeline-card { grid-column: 2; }

/* ---------------------------------------------------------------------
   Team
   --------------------------------------------------------------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.member {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.member-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--surface-2);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .6s var(--ease);
}

.member:hover .member-photo img { transform: scale(1.03); }

.member-body {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 22px 22px 24px;
}

.member-name { font-size: 1.3rem; font-weight: 700; }

.member-role {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: .95rem;
    font-weight: 600;
}

.member-bio { font-size: .97rem; }

.member-quote {
    margin-top: 4px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: var(--surface-2);
    font-size: .95rem;
    line-height: 1.6;
}
.member-quote strong { color: var(--ink); }

.member--feature { grid-column: span 2; flex-direction: row; }
.member--feature .member-photo { flex: 0 0 42%; aspect-ratio: auto; min-height: 380px; }
.member--feature .member-body { padding: 30px 32px 32px; gap: 12px; }

.member-subhead {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: .95rem;
    font-weight: 700;
}
.member-subhead i { color: var(--red); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 8px;
    background: var(--navy-50);
    color: var(--navy);
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Values: one ruled panel rather than six floating cards */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    padding: 0;
    list-style: none;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.value {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 30px 28px;
    background: #fff;
}

.value h3 { font-size: 1.15rem; font-weight: 700; }
.value p { font-size: .95rem; }

/* ---------------------------------------------------------------------
   Gallery
   --------------------------------------------------------------------- */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.filter-chip {
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: 600 .88rem/1.1 var(--font-body);
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s;
}

.filter-chip:hover { border-color: var(--navy); color: var(--navy); }
.filter-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.masonry { columns: 3 280px; column-gap: 18px; }

.masonry-item {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 18px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius);
    background: var(--surface-2);
    cursor: zoom-in;
    break-inside: avoid;
}

.masonry-item img { width: 100%; transition: transform .5s var(--ease); }
.masonry-item:hover img { transform: scale(1.03); }

.masonry-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: grid;
    gap: 2px;
    padding: 44px 16px 14px;
    text-align: left;
    color: #fff;
    background: linear-gradient(0deg, rgba(4, 17, 42, .9) 0%, rgba(4, 17, 42, 0) 100%);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.masonry-caption strong { font: 700 1rem/1.3 var(--font-display); }
.masonry-caption span { font-size: .85rem; opacity: .88; }

.masonry-item:hover .masonry-caption,
.masonry-item:focus-visible .masonry-caption { opacity: 1; transform: none; }

@media (hover: none) {
    .masonry-caption { opacity: 1; transform: none; }
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.video-tile {
    display: grid;
    align-content: start;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    color: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.video-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.video-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--navy-950);
}

.video-thumb img { width: 100%; height: 100%; object-fit: cover; }

.video-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 17, 42, .55) 0%, rgba(4, 17, 42, 0) 55%);
}

.play-badge {
    position: absolute;
    top: 50%; left: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 1.2rem;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, .25);
    transition: transform .25s var(--ease);
}
.play-badge i { margin-left: 3px; }
.video-tile:hover .play-badge { transform: translate(-50%, -50%) scale(1.08); }

.video-tile-body { display: block; padding: 16px 18px 18px; }

.video-tile-title {
    display: block;
    color: var(--ink);
    font: 700 1.02rem/1.35 var(--font-display);
}

/* Lightbox and video viewer */
.viewer {
    --focus: #fff;
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 64px 72px;
    background: rgba(4, 17, 42, .94);
    animation: fade .25s ease;
}

.viewer figure {
    display: grid;
    gap: 12px;
    justify-items: center;
    margin: 0;
    max-width: 100%;
}

.viewer img {
    max-width: min(1000px, 100%);
    max-height: calc(100vh - 190px);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.viewer figcaption { color: rgba(255, 255, 255, .86); font-size: .92rem; text-align: center; }
.viewer figcaption strong { display: block; color: #fff; font: 700 1.05rem/1.3 var(--font-display); }

.viewer video {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 140px);
    border-radius: var(--radius);
    background: #000;
    box-shadow: var(--shadow-lg);
}

.viewer-btn {
    position: absolute;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}

.viewer-btn:hover { background: var(--red); border-color: var(--red); }
.viewer-close { top: 16px; right: 16px; }
.viewer-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.viewer-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------------------------------------------------------------------
   Services: modals, forms, pricing
   --------------------------------------------------------------------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow-y: auto;
    background: rgba(4, 17, 42, .72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.modal-panel {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: modal-in .28s var(--ease);
}

.modal-panel--wide { max-width: 800px; }

.modal-head {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.modal-head .icon-tile { width: 42px; height: 42px; font-size: 1rem; }
.modal-head h2 { font-size: 1.3rem; font-weight: 800; }
.modal-head p { font-size: .85rem; color: var(--muted); }

.modal-close {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-size: 1.05rem;
    cursor: pointer;
    transition: border-color .2s, color .2s;
}

.modal-close:hover { border-color: var(--red); color: var(--red); }

.modal-body { display: grid; gap: 22px; padding: 24px; }

.modal-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 700 .78rem/1.2 var(--font-body);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.modal-section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

body.modal-open { overflow: hidden; }

/* Forms */
.form { display: grid; gap: 16px; }

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field { display: grid; gap: 6px; min-width: 0; }

.field > label,
.field-label {
    color: var(--ink);
    font-size: .88rem;
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: .95rem;
    transition: border-color .2s, box-shadow .2s;
}

.field select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230C2A5A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9AA1B9; }

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(12, 42, 90, .14);
}

.choice-group { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: inline-flex; }

.choice input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.choice span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    font-size: .92rem;
    font-weight: 500;
    transition: border-color .2s, background-color .2s, color .2s;
}

.choice span::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid var(--line);
    border-radius: 50%;
    transition: border .2s;
}

.choice input:checked + span { border-color: var(--navy); background: var(--navy-50); color: var(--navy); }
.choice input:checked + span::before { border: 4px solid var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }

.form-note { color: var(--muted); font-size: .82rem; text-align: center; }

.form-error {
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--red-50);
    color: var(--red-700);
    font-size: .88rem;
    font-weight: 600;
}

/* Transmission switch */
.segmented {
    display: inline-grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    gap: 4px;
    padding: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.segmented button {
    min-width: 150px;
    padding: 11px 18px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    font-size: .92rem;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.segmented button[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.segmented button[data-transmission="automatic"][aria-pressed="true"] { background: var(--red); }

.tag {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font: 700 .66rem/1 var(--font-body);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tag--gold { background: var(--gold); color: #1F1600; }

/* ---------------------------------------------------------------------
   Services: rate card
   --------------------------------------------------------------------- */

/* "Plans from" cards that overlap the services hero */
.plan-cards {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: -76px;
}

.plan-card {
    --plan-color: var(--red);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--plan-color);
    color: var(--ink);
    box-shadow: var(--shadow-md);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.plan-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-card--manual,
.plan-card--navy { --plan-color: var(--navy); }

/* Two prices side by side (automatic / manual) on a branch card */
.plan-card-split { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin: 2px 0; }
.plan-card-split > span { display: grid; justify-items: center; }
.plan-card-split small { color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.plan-card-split strong {
    color: var(--plan-color);
    font: 800 clamp(1.45rem, 2.4vw, 1.8rem)/1.15 var(--font-display);
    font-variant-numeric: tabular-nums;
}

.plan-card-label {
    padding: 14px 18px 12px;
    color: #fff;
    font: 800 .88rem/1.25 var(--font-display);
    letter-spacing: .05em;
    text-align: center;
    text-transform: uppercase;
}

.plan-card-body {
    display: grid;
    flex: 1;
    justify-items: center;
    align-content: center;
    gap: 2px;
    margin: 0 8px 8px;
    padding: 18px 16px 16px;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.plan-card-from { color: var(--muted); font-size: .85rem; }

.plan-card-price {
    color: var(--plan-color);
    font: 800 clamp(2rem, 3.6vw, 2.6rem)/1.08 var(--font-display);
    font-variant-numeric: tabular-nums;
}

.plan-card-meta { color: var(--muted); font-size: .84rem; }

/* Branch or programme name in place of a price */
.plan-card-name {
    color: var(--plan-color);
    font: 800 clamp(1.6rem, 3vw, 2.3rem)/1.12 var(--font-display);
    text-wrap: balance;
}

.plan-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--plan-color);
    font-size: .88rem;
    font-weight: 600;
}

.plan-card-link i { transition: transform .2s var(--ease); }
.plan-card:hover .plan-card-link i { transform: translateX(4px); }

.plan-card--spata {
    --plan-color: var(--gold);
    background: var(--spata-black);
    box-shadow: inset 0 4px 0 var(--gold), var(--shadow-md);
}

.plan-card--spata .plan-card-label { color: var(--gold); padding-top: 18px; }
.plan-card--spata .plan-card-body { background: transparent; padding-top: 6px; }
.plan-card--spata .plan-card-from,
.plan-card--spata .plan-card-meta { color: rgba(255, 255, 255, .74); }

/* Price list */
.rates-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    margin-bottom: 40px;
}

.rates-toolbar p { color: var(--muted); font-size: .9rem; }
.rates-toolbar p i { margin-right: 6px; color: var(--red); }

.rate-set { display: grid; gap: 44px; }

.vip-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "title price"
        "perks perks"
        "note action";
    align-items: center;
    gap: 10px 32px;
    padding: 36px 32px 28px;
    border: 3px solid var(--navy);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: inset 0 6px 0 var(--red), var(--shadow-md);
}

.vip-tab {
    position: absolute;
    top: 0; left: 50%;
    padding: 7px 18px;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font: 800 .74rem/1 var(--font-body);
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translate(-50%, -55%);
}

.vip-title { grid-area: title; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.vip-title h3 { color: var(--navy); font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 800; }
.vip-title span { color: var(--muted); font-size: .92rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.vip-price {
    grid-area: price;
    color: var(--red);
    font: 800 clamp(2.3rem, 5.4vw, 3.6rem)/1 var(--font-display);
    font-variant-numeric: tabular-nums;
}

.vip-perks { grid-area: perks; color: var(--ink); font-size: .95rem; }
.vip-note { grid-area: note; color: var(--muted); font-size: .88rem; }
.vip-card .btn { grid-area: action; justify-self: end; }

.tier-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 22px;
}

.tier-col {
    --tier-color: var(--slate);
    --tier-tint: #F1F4F8;
    position: relative;
    padding: 0 10px 10px;
    border-radius: var(--radius-lg);
    background: var(--tier-color);
    box-shadow: var(--shadow-md);
}

.tier-col--premium { --tier-color: var(--red-900); --tier-tint: #FBF1F2; }
.tier-col--standard { --tier-color: var(--red); --tier-tint: #FCF0F2; margin-top: -12px; padding-bottom: 22px; }

.tier-col-tag {
    position: absolute;
    top: 0; left: 50%;
    padding: 6px 14px;
    border: 2px solid var(--tier-color);
    border-radius: 999px;
    background: #fff;
    color: var(--tier-color);
    font: 800 .7rem/1 var(--font-body);
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}

.tier-col-head {
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 28px 12px 16px;
    color: #fff;
    text-align: center;
}

.tier-col-head h3 { color: #fff; font-size: 1.65rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.tier-col-head p { color: rgba(255, 255, 255, .86); font-size: .9rem; }

.tier-col-rows {
    display: grid;
    gap: 2px;
    padding: 8px;
    border-radius: 12px;
    background: #fff;
}

.rate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-size: .9rem;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s, box-shadow .15s;
}

.rate-row:nth-child(odd) { background: var(--tier-tint); }

.rate-row strong {
    color: var(--tier-color);
    font: 800 1.14rem/1.2 var(--font-display);
    font-variant-numeric: tabular-nums;
}

.rate-row:hover { box-shadow: inset 0 0 0 2px var(--tier-color); }

/* Branch + transmission switches above the price list */
.rate-switches { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 24px; }
.switch-group { display: grid; gap: 6px; }

.switch-label {
    color: var(--muted);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.segmented button[data-branch-switch][aria-pressed="true"] { background: var(--ink); }

.rate-caption {
    margin-bottom: 26px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}

.tier-cols--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
    margin-inline: auto;
}

/* "Refresher" / "Beginner" headings inside a plan column */
.rate-group {
    display: grid;
    gap: 1px;
    margin-top: 6px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #F4ECE8;
}

.rate-group:first-child { margin-top: 0; }
.rate-group strong { color: var(--tier-color); font: 800 .95rem/1.2 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.rate-group span { color: var(--muted); font-size: .8rem; }

.extended-note {
    display: grid;
    gap: 6px;
    max-width: 900px;
    margin: 36px auto 0;
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    background: var(--navy);
    color: rgba(255, 255, 255, .86);
    text-align: center;
}

.extended-note h3 { color: #fff; font-size: 1.2rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

.addons-more { margin-top: 18px; color: var(--muted); font-size: .92rem; text-align: center; }

/* Prestige collection */
.vip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    max-width: 900px;
    margin-inline: auto;
}

.vip-card--compact {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "price" "action";
    justify-items: center;
    text-align: center;
}

.vip-card--compact .vip-title { justify-content: center; }
.vip-card--compact .btn { justify-self: center; }

.premium-includes {
    display: grid;
    justify-items: center;
    gap: 12px;
    max-width: 900px;
    margin: 36px auto 0;
    text-align: center;
}

.premium-includes h3 { color: var(--red-900); font-size: 1.05rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.premium-includes ul { display: grid; gap: 6px; padding: 0; list-style: none; }
.premium-includes li::before { content: "\f00c"; margin-right: 10px; color: var(--red); font: 900 .75rem/1 "Font Awesome 6 Free"; }

.addons-block { margin-top: 52px; }

.addons-title {
    margin-bottom: 16px;
    color: var(--red-900);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-align: center;
    text-transform: uppercase;
}

.addons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
    margin-inline: auto;
    padding: 0;
    list-style: none;
}

.addon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    font-weight: 500;
}

.addon strong { color: var(--red); font: 800 1.2rem/1 var(--font-display); font-variant-numeric: tabular-nums; }

.addons--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; }
.tier-cols--2 .tier-col--standard { margin-top: 0; padding-bottom: 10px; }

/* Captain SPATA signature programme */
.spata {
    --focus: #fff;
    background: var(--spata-black);
    color: rgba(255, 255, 255, .82);
    box-shadow: inset 0 6px 0 var(--gold);
}

.spata-head {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-bottom: clamp(36px, 5vw, 56px);
    text-align: center;
}

.spata-kicker,
.spata-meta {
    color: var(--gold);
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.spata-head h2 {
    color: #fff;
    font-size: clamp(2.3rem, 6vw, 3.8rem);
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.spata-price {
    color: var(--gold);
    font: 800 clamp(2.6rem, 6.4vw, 4.2rem)/1 var(--font-display);
    font-variant-numeric: tabular-nums;
}

.spata-head .btn { margin-top: 10px; }

.spata-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.spata-col { min-width: 0; }

.spata-col h3 {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    color: var(--gold);
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.spata-col ul { display: grid; gap: 10px; padding: 0; list-style: none; }

.spata-col li {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 10px;
    font-size: .93rem;
    line-height: 1.5;
}

.spata-col li::before {
    content: "\f00c";
    color: var(--gold);
    font: 900 .72rem/1.65 "Font Awesome 6 Free";
}

.spata-line {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 40px;
    margin-top: clamp(36px, 5vw, 52px);
    padding: 26px 30px;
    border: 1px solid var(--gold);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .03);
}

.spata-line h3 {
    margin-bottom: 6px;
    color: var(--gold);
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.spata-sign {
    margin-top: 32px;
    color: #fff;
    font: 800 .95rem/1.4 var(--font-display);
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}

.btn-gold { --btn-bg: var(--gold); --btn-fg: #1F1600; }
.btn-gold:hover { --btn-bg: #B38A16; }

/* What you will learn */
.modules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    column-gap: 48px;
    padding: 0;
    list-style: none;
}

.module {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.module .step-num { width: 44px; height: 44px; font-size: .95rem; }
.module h3 { margin-bottom: 4px; font-size: 1.08rem; font-weight: 700; }
.module p { font-size: .92rem; line-height: 1.6; }

.modules-standard {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-top: 24px;
    color: var(--red);
    font-size: .92rem;
    font-weight: 700;
}

/* Booking summary inside the booking modal */
.booking-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 16px;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--navy-50);
}

.booking-plan { color: var(--ink); font: 800 1.1rem/1.3 var(--font-display); }
.booking-meta { grid-column: 1; color: var(--muted); font-size: .88rem; }

.booking-price {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: var(--red);
    font: 800 1.55rem/1 var(--font-display);
    font-variant-numeric: tabular-nums;
}

.booking-change { grid-column: 1 / -1; justify-self: start; margin-top: 6px; font-size: .88rem; }

/* Payment details */
.payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.bank-list { display: grid; gap: 12px; padding: 0; list-style: none; }

.bank {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-left: 5px solid var(--red);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.bank h3 { color: var(--red-900); font-size: 1.05rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.bank p { color: var(--muted); font-size: .85rem; }

.bank-number { display: flex; align-items: center; gap: 12px; }

.bank-number span {
    color: var(--red);
    font: 800 1.25rem/1 var(--font-display);
    letter-spacing: .03em;
    font-variant-numeric: tabular-nums;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s, color .2s;
}

.copy-btn:hover { border-color: var(--navy); color: var(--navy); }
.copy-btn.is-copied { border-color: var(--whatsapp-btn); color: var(--whatsapp-btn); }

.proof-card {
    --focus: #fff;
    position: sticky;
    top: calc(var(--header-h) + 20px);
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    background: var(--navy-900);
    color: rgba(255, 255, 255, .84);
    text-align: center;
}

.proof-card h3 { color: #fff; font-size: 1.25rem; font-weight: 800; }
.proof-card .btn { width: 100%; }

.qr {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin: 4px 0 0;
    padding: 14px 14px 12px;
    border-radius: var(--radius);
    background: #fff;
}

.qr img { width: 148px; height: 148px; }
.qr figcaption { color: var(--ink); font-size: .8rem; font-weight: 600; }
.proof-thanks { color: var(--gold); font-size: .92rem; font-weight: 700; }

/* ---------------------------------------------------------------------
   Call-to-action band
   --------------------------------------------------------------------- */
.cta-band {
    --focus: #fff;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(120deg, var(--red) 0%, var(--red-700) 62%, var(--red-900) 100%);
    color: #fff;
}

/* A ghosted learner "L" plate */
.cta-band::after {
    content: "L";
    position: absolute;
    top: 50%;
    right: max(-40px, calc((100vw - var(--container)) / 2 - 140px));
    z-index: -1;
    width: 240px;
    height: 240px;
    border: 10px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    color: rgba(255, 255, 255, .1);
    font: 800 190px/220px var(--font-display);
    text-align: center;
    transform: translateY(-50%) rotate(-8deg);
}

.cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    align-items: center;
    gap: 24px 48px;
    padding-block: clamp(52px, 7vw, 84px);
}

.cta-inner > * { min-width: 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
.cta-band p { max-width: 56ch; margin-top: 10px; color: rgba(255, 255, 255, .9); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer {
    --focus: #fff;
    background: var(--navy-950);
    color: rgba(255, 255, 255, .72);
    font-size: .93rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.2fr);
    gap: 36px;
    padding-block: 64px 44px;
}

.footer-branches { display: grid; gap: 14px; padding: 0; list-style: none; }
.footer-branches li { display: grid; gap: 2px; }
.footer-branches a { color: #fff; font-weight: 600; }
.footer-branches a:hover { color: var(--gold); }
.footer-branches span { color: rgba(255, 255, 255, .6); font-size: .85rem; line-height: 1.5; }

.footer-brand { display: grid; align-content: start; gap: 16px; }

.footer-logo {
    justify-self: start;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff;
}
.footer-logo img { width: auto; height: 40px; }

.footer-col h3 {
    margin-bottom: 16px;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-links { display: grid; gap: 10px; padding: 0; list-style: none; }
.footer-links a { color: rgba(255, 255, 255, .72); }
.footer-links a:hover { color: #fff; }

.footer-contact { display: grid; gap: 12px; padding: 0; list-style: none; }

.footer-contact li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.footer-contact i { margin-top: 5px; color: var(--red); text-align: center; }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--gold); }

.hours {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 16px;
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.hours dt { color: rgba(255, 255, 255, .6); }
.hours dd { margin: 0; color: #fff; font-variant-numeric: tabular-nums; }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }

.socials a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: background-color .2s, transform .2s;
}

.socials a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-block: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .84rem;
}

.footer-bottom a { color: rgba(255, 255, 255, .85); }
.footer-bottom a:hover { color: #fff; }

/* ---------------------------------------------------------------------
   Branches (home, about and the city pages)
   --------------------------------------------------------------------- */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.branch-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px 24px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}

.branch-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.branch-grid--1 { grid-template-columns: minmax(0, 520px); }

.branch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(174, 12, 36, .35); }
.branch-card-city { display: flex; align-items: center; gap: 14px; }
.branch-card h3 { font-size: 1.3rem; font-weight: 800; }
.branch-region { color: var(--muted); font-size: .85rem; }
.branch-card address { font-style: normal; font-size: .95rem; line-height: 1.6; }
.branch-card .card-action { margin-top: auto; padding-top: 6px; }

/* Branch details + map on a city page */
.branch-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: stretch;
    gap: 24px;
}

.info-list {
    display: grid;
    align-content: start;
    gap: 20px;
    margin: 0;
    padding: 28px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.info-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 14px; }
.info-list .icon-tile { width: 44px; height: 44px; font-size: 1rem; }

.info-list h3 {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.info-list p,
.info-list address { color: var(--ink); font-style: normal; font-weight: 500; }
.info-list .info-actions { display: flex; flex-wrap: wrap; gap: 10px; grid-template-columns: none; }

.map-frame {
    min-height: 380px;
    overflow: hidden;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

.map-placeholder {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 12px;
    height: 100%;
    min-height: 380px;
    padding: 32px;
    text-align: center;
}

.map-placeholder p { max-width: 40ch; }

.prose { display: grid; align-content: start; gap: 14px; max-width: 72ch; font-size: 1.02rem; }

.plan-cards--inline { margin-top: 0; }

/* FAQs */
.faq { display: grid; gap: 12px; max-width: 900px; }

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    color: var(--ink);
    font: 700 1.02rem/1.4 var(--font-display);
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    margin-left: auto;
    color: var(--red);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1;
}

.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer { display: grid; gap: 10px; padding: 16px 20px 20px; }

/* ---------------------------------------------------------------------
   Floating WhatsApp + back to top
   --------------------------------------------------------------------- */
.wa-float {
    position: fixed;
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 65;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.wa-button {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: #fff;
    font-size: 1.9rem;
    box-shadow: 0 10px 28px rgba(18, 140, 74, .4);
    transition: transform .2s var(--ease);
}

.wa-button:hover { color: #fff; transform: scale(1.06); }

.wa-bubble {
    position: relative;
    max-width: 240px;
    margin-bottom: 6px;
    padding: 12px 36px 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px 14px 4px 14px;
    background: #fff;
    color: var(--ink);
    font-size: .88rem;
    line-height: 1.45;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}

.wa-bubble.is-visible { opacity: 1; visibility: visible; transform: none; }

.wa-bubble-close {
    position: absolute;
    top: 6px; right: 6px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.wa-bubble-close:hover { background: var(--surface-2); color: var(--ink); }

.to-top {
    position: fixed;
    left: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 64;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: var(--navy);
    color: #fff;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s, transform .25s, visibility .25s, background-color .2s;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }

/* ---------------------------------------------------------------------
   404
   --------------------------------------------------------------------- */
.error-page {
    display: grid;
    justify-items: center;
    gap: 18px;
    max-width: 680px;
    margin-inline: auto;
    padding-block: clamp(56px, 9vw, 112px);
    text-align: center;
}

/* A "no entry" road sign */
.no-entry {
    display: grid;
    place-items: center;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 8px #fff, 0 0 0 10px var(--line), var(--shadow-md);
}

.no-entry::before {
    content: "";
    width: 64%;
    height: 18%;
    border-radius: 4px;
    background: #fff;
}

.error-code {
    color: var(--ink);
    font: 800 clamp(3.4rem, 10vw, 5.6rem)/1 var(--font-display);
    letter-spacing: .04em;
}

.error-page h1 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; }
.error-page .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 18px;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.quick-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 500;
}

.quick-links a:hover { border-color: var(--red); color: var(--red); }
.quick-links i { color: var(--red); }

/* ---------------------------------------------------------------------
   Motion
   --------------------------------------------------------------------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }

.hero-content > *,
.page-hero-content > * { animation: rise .7s var(--ease) both; }

.hero-content > :nth-child(2), .page-hero-content > :nth-child(2) { animation-delay: .07s; }
.hero-content > :nth-child(3), .page-hero-content > :nth-child(3) { animation-delay: .14s; }
.hero-content > :nth-child(4), .page-hero-content > :nth-child(4) { animation-delay: .21s; }
.hero-content > :nth-child(5), .page-hero-content > :nth-child(5) { animation-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .hero-slide { transform: none; }
}

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .grid-4,
    .video-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    /* Five highlights: three on the first row, two on the second */
    .highlights-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .highlight { grid-column: span 2; }
    .highlight:nth-child(n + 4) { grid-column: span 3; }

    .spata-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 991.98px) {
    :root { --header-h: 64px; }

    .site-nav { display: none; }
    .brand img { height: 38px; }
    .header-call { margin-left: auto; min-height: 42px; padding: 9px 16px; }
    .header-call .call-long { display: none; }
    .header-call .call-short { display: inline; }

    .tabbar {
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 70;
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 2px;
        padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, .97);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -6px 24px rgba(7, 26, 56, .08);
    }

    .tabbar a {
        display: grid;
        justify-items: center;
        gap: 4px;
        padding: 7px 2px 6px;
        border-radius: 10px;
        color: var(--muted);
        font: 500 .68rem/1.1 var(--font-body);
        white-space: nowrap;
    }

    .tabbar i { font-size: 1.1rem; }
    .tabbar a:hover { color: var(--red); }
    .tabbar a[aria-current="page"] { background: var(--red-50); color: var(--red); font-weight: 600; }

    body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); }

    .wa-float { right: 14px; bottom: calc(var(--tabbar-h) + 14px + env(safe-area-inset-bottom, 0px)); }
    .wa-button { width: 52px; height: 52px; font-size: 1.7rem; }
    .wa-bubble { display: none; }
    .to-top { display: none; }

    .section-head--split { grid-template-columns: minmax(0, 1fr); }

    .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .member--feature { grid-column: 1 / -1; }

    .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: minmax(0, 1fr); }
    .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .payment-layout { grid-template-columns: minmax(0, 1fr); }
    .proof-card { position: static; }
    .qr { display: none; }

    .branch-info { grid-template-columns: minmax(0, 1fr); }
    .map-frame, .map-frame iframe, .map-placeholder { min-height: 300px; }

    .cta-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
    .mv-grid { grid-template-columns: minmax(0, 1fr); }

    .stat-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-bar .stat:nth-child(3) { border-left: 0; }
    .stat-bar .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .stat-bar--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stat-bar--3 .stat:nth-child(3) { border-left: 1px solid var(--line); border-top: 0; }
    .stat { padding: 20px 10px; }

    .timeline::before { left: 22px; }
    .timeline-item { grid-template-columns: minmax(0, 1fr); padding-left: 64px; }
    .timeline-year { left: 22px; top: 18px; }
    .timeline-item:nth-child(odd) .timeline-card,
    .timeline-item:nth-child(even) .timeline-card { grid-column: 1; text-align: left; }
    .timeline-card { padding: 20px; }

    .cta-band::after { width: 170px; height: 170px; font-size: 130px; line-height: 150px; right: -50px; }

    .plan-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .branch-grid { grid-template-columns: minmax(0, 1fr); }

    .tier-cols { grid-template-columns: minmax(0, 1fr); gap: 34px; justify-self: center; width: 100%; max-width: 460px; }
    .tier-col--standard { margin-top: 0; padding-bottom: 10px; }

    .vip-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "title" "price" "perks" "note" "action";
        padding: 34px 22px 24px;
        text-align: center;
    }
    .vip-title { justify-content: center; }
    .vip-card .btn { justify-self: stretch; }

    .modules { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }

    .vip-grid { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
    .vip-card--compact { grid-template-areas: "title" "price" "action"; }
    .vip-card--compact .btn { justify-self: stretch; }

    .spata-line { grid-template-columns: minmax(0, 1fr); padding: 22px; }
}

@media (max-width: 640px) {
    .grid-4,
    .team-grid,
    .values-grid,
    .video-grid,
    .footer-grid { grid-template-columns: minmax(0, 1fr); }

    .highlights { margin-top: -64px; }
    .highlights-grid { grid-template-columns: minmax(0, 1fr); }
    .highlight,
    .highlight:nth-child(n + 4) { grid-column: auto; padding: 14px 16px; }
    .highlight .icon-tile { width: 38px; height: 38px; font-size: .9rem; }

    .steps--4,
    .spata-grid { grid-template-columns: minmax(0, 1fr); }

    .bank { padding: 16px; }
    .bank-number span { font-size: 1.15rem; }

    .member--feature { flex-direction: column; }
    .member--feature .member-photo { flex-basis: auto; aspect-ratio: 4 / 5; min-height: 0; }
    .member--feature .member-body { padding: 22px 22px 24px; }

    /* Training videos become a swipeable row */
    .video-row {
        display: flex;
        gap: 14px;
        margin-inline: calc(var(--gutter) * -1);
        padding: 0 var(--gutter) 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
    }
    .video-row::-webkit-scrollbar { display: none; }
    .video-row > * { flex: 0 0 72%; scroll-snap-align: start; }

    .form-row,
    .addons,
    .addons--3 { grid-template-columns: minmax(0, 1fr); }
    .rates-toolbar .segmented { width: 100%; }
    .segmented button { min-width: 0; }

    .modal { place-items: end center; padding: 0; }
    .modal-panel { max-height: 92vh; border-radius: 18px 18px 0 0; }
    .modal-head { padding: 16px 18px; }
    .modal-body { padding: 18px; }

    .viewer { padding: 64px 12px 24px; }
    .viewer-prev, .viewer-next { top: auto; bottom: 16px; transform: none; }
    .viewer img { max-height: calc(100vh - 220px); }

    .hero-actions .btn,
    .cta-actions .btn { flex: 1 1 100%; }

    .footer-bottom { flex-direction: column; }
}

@media (max-width: 380px) {
    .tabbar a { font-size: .62rem; }
    .branches li { font-size: .74rem; }
}
