/* =========================================================
   Rijschool Delsing — site stylesheet
   Brand: deep ocean blue (precision, expertise) +
          emerald green (geen-pakketten USP, gratis herexamen) +
          warm gold (TOP RIDE — international audience).
   Typography: Inter — single family.
   Geometry: 6px buttons / 8px cards / 8px grid spacing.
   ========================================================= */

:root {
    /* Ink / neutrals */
    --ink: #1A1A2E;
    --ink-soft: #5C6470;
    --ink-mute: #8A93A1;

    /* Surfaces */
    --bg: #FFFFFF;
    --surface: #F2F5F8;
    --surface-2: #E6EDF3;
    --line: #DDE5EE;
    --line-strong: #C5D0DD;

    /* Brand — deep ocean blue */
    --brand: #0E3D59;
    --brand-light: #1A6A9A;
    --brand-tint: #E5EEF4;
    --brand-deep: #082739;

    /* Accent — emerald (geen pakketten / gratis herexamen / voortgang) */
    --accent: #00A86B;
    --accent-light: #34C98A;
    --accent-tint: #E0F5EC;
    --accent-deep: #007A4F;

    /* TOP RIDE — warm gold */
    --gold: #E8A820;
    --gold-light: #F0C050;
    --gold-tint: #FBF1DB;
    --gold-deep: #B07F0E;

    /* Hybrid (fleet/milieu) */
    --hybrid: #4CAF50;

    /* States */
    --error: #C62828;
    --success: #00A86B;

    /* Type */
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

    /* Geometry — per brand guide */
    --r-btn: 6px;
    --r-card: 8px;
    --r-input: 6px;
    --r-pill: 999px;

    /* Shadows */
    --shadow-1: 0 1px 2px rgba(14, 61, 89, .05);
    --shadow-2: 0 8px 24px -10px rgba(14, 61, 89, .14), 0 2px 4px rgba(14, 61, 89, .04);
    --shadow-3: 0 24px 60px -28px rgba(14, 61, 89, .35);
    --shadow-gold: 0 12px 28px -12px rgba(232, 168, 32, .45);
    --shadow-accent: 0 12px 28px -12px rgba(0, 168, 107, .42);

    /* Layout */
    --container: 1200px;
    --container-narrow: 880px;

    /* Spacing scale (8px grid) */
    --s-1: 8px;
    --s-2: 16px;
    --s-3: 24px;
    --s-4: 32px;
    --s-5: 40px;
    --s-6: 56px;
    --s-7: 80px;

    /* Motion */
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-light); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand); }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Type scale (1.25 modular) ---------- */

h1, h2, h3, h4, h5 {
    font-family: var(--font);
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
    font-weight: 700;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.815rem); letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.625rem); letter-spacing: -0.025em; line-height: 1.12; }
h3 { font-size: clamp(1.25rem, 2vw, 1.563rem); letter-spacing: -0.015em; }
h4 { font-size: 1rem; letter-spacing: 0; font-weight: 600; }

p { margin: 0 0 1em 0; }
.lede {
    font-size: clamp(1.063rem, 1.4vw, 1.25rem);
    color: var(--ink-soft);
    line-height: 1.6;
    max-width: 60ch;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
}
.eyebrow.accent { color: var(--accent-deep); }
.eyebrow.gold   { color: var(--gold-deep); }
.eyebrow::before {
    content: "";
    width: 24px;
    height: 1.5px;
    background: currentColor;
    display: inline-block;
}
.eyebrow.on-dark { color: #B8D7E8; }
.eyebrow.on-dark.gold { color: var(--gold-light); }

/* ---------- Layout primitives ---------- */

.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}
.container-narrow {
    width: min(100% - 2rem, var(--container-narrow));
    margin-inline: auto;
}
.section { padding: var(--s-7) 0; }
.section-tight { padding: var(--s-6) 0; }
@media (max-width: 720px) {
    .section { padding: var(--s-6) 0; }
    .section-tight { padding: var(--s-5) 0; }
}
.surface { background: var(--surface); }
.ink { background: var(--ink); color: #D6DBE4; }
.ink h1, .ink h2, .ink h3 { color: #fff; }
.ink p, .ink .lede { color: #B8C0CC; }

.brand-bg { background: var(--brand); color: #E2EAF1; }
.brand-bg h1, .brand-bg h2, .brand-bg h3 { color: #fff; }
.brand-bg p, .brand-bg .lede { color: #BCD2E0; }

.grid { display: grid; gap: var(--s-3); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 880px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
.grid-3 > * { min-width: 0; }

.section-header { max-width: 720px; margin-bottom: var(--s-6); }
.section-header.center { margin-inline: auto; text-align: center; }
.section-header.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: var(--r-btn);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid transparent;
    transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow-accent); color: #fff; }

.btn-brand { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-brand:hover { background: var(--brand-deep); border-color: var(--brand-deep); transform: translateY(-1px); box-shadow: var(--shadow-3); color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.06); color: #fff; }

.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; border-color: var(--gold-deep); transform: translateY(-1px); box-shadow: var(--shadow-gold); }

.btn-arrow::after {
    content: "→";
    font-weight: 500;
    transition: transform .25s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(3px); }
.btn-tel { font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled {
    border-color: var(--line);
    background: rgba(255,255,255,.96);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-2);
    padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav a {
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 0.94rem;
    color: var(--ink);
    font-weight: 500;
    white-space: nowrap;
    transition: background .2s var(--ease), color .2s var(--ease);
}
@media (max-width: 1180px) {
    .nav a { padding: 9px 9px; font-size: 0.9rem; }
    .nav { gap: 0; }
}
.nav a:hover { background: var(--surface); color: var(--brand); }
.nav a.is-active { color: var(--brand); }
.nav a.is-active::after {
    content: "";
    display: block;
    height: 2px;
    background: var(--accent);
    margin-top: 2px;
    border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 10px; }

.lang-switch {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--line);
    border-radius: var(--r-btn);
    overflow: hidden;
    font-size: 0.84rem;
    font-weight: 600;
    background: #fff;
}
.lang-switch a {
    padding: 7px 12px;
    color: var(--ink-soft);
    font-weight: 600;
}
.lang-switch a:hover { color: var(--brand); }
.lang-switch a.is-active {
    background: var(--brand);
    color: #fff;
}
.lang-switch.gold a.is-active { background: var(--gold); color: var(--ink); }

.nav-toggle {
    display: none;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--r-btn);
    padding: 8px 14px;
    font-weight: 600;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .nav { display: none; }
    .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
    .nav.is-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 12px 1.25rem 16px;
        gap: 0;
    }
    .nav.is-open a {
        padding: 12px;
        border-radius: 6px;
        border-bottom: 1px solid var(--line);
        text-align: left;
    }
    .nav.is-open a:last-child { border-bottom: 0; }
    .nav.is-open a.is-active::after { display: none; }
    .header-cta .btn-tel-text { display: none; }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--brand-deep);
    color: #fff;
    padding: clamp(72px, 10vw, 128px) 0 clamp(80px, 12vw, 144px);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/hero-sunset.jpg");
    background-size: cover;
    background-position: center 65%;
    opacity: 0.4;
    z-index: -2;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(70% 60% at 25% 30%, rgba(8, 39, 57, .55), transparent 65%),
        linear-gradient(180deg, rgba(8, 39, 57, .55) 0%, rgba(8, 39, 57, .8) 60%, rgba(8, 39, 57, .94) 100%);
    z-index: -1;
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero h1 em {
    font-style: italic;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(120deg, #B8D7E8 0%, #fff 50%, #B8D7E8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero h1 .accent { color: var(--accent-light); }
.hero p.lede { color: #C8D5DD; max-width: 50ch; }

/* Decorative diagonal stripe under hero */
.accent-bar {
    height: 4px;
    background: repeating-linear-gradient(
        135deg,
        var(--brand) 0 14px,
        var(--brand-deep) 14px 28px
    );
}
.hero-stack { max-width: 720px; }
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: var(--s-4);
}
.hero-meta {
    display: flex;
    gap: var(--s-4);
    margin-top: var(--s-6);
    flex-wrap: wrap;
    color: #BCD2E0;
    font-size: 0.92rem;
}
.hero-meta strong { color: #fff; font-weight: 700; }
.hero-meta > * { display: flex; align-items: center; gap: 8px; }

.hero.gold {
    background: var(--brand-deep);
}
.hero.gold h1 em {
    background: linear-gradient(120deg, #F0C050 0%, #FBF1DB 50%, #F0C050 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero.gold h1 .accent { color: var(--gold-light); }
.hero.gold::before { opacity: 0.32; }

.accent-bar-gold {
    background: repeating-linear-gradient(
        135deg,
        var(--gold) 0 14px,
        var(--gold-deep) 14px 28px
    );
}

/* ---------- Badges ---------- */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--r-pill);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    border: 1.5px solid transparent;
    white-space: nowrap;
}
.badge::before {
    content: "✓";
    font-weight: 700;
}
.badge-accent {
    background: var(--accent-tint);
    color: var(--accent-deep);
    border-color: rgba(0, 168, 107, .25);
}
.badge-gold {
    background: var(--gold-tint);
    color: var(--gold-deep);
    border-color: rgba(232, 168, 32, .35);
}
.badge-gold::before { content: "EN"; font-weight: 800; font-size: 10px; letter-spacing: 0.05em; }
.badge-brand {
    background: var(--brand-tint);
    color: var(--brand);
    border-color: rgba(14, 61, 89, .18);
}
.badge-dark {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.18);
    color: #C8D5DD;
}
.badge-dark::before { content: "·"; }
.badge-no-pakket::before { content: "✕"; color: var(--accent); }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    padding: 5px 12px;
    font-size: 0.82rem;
    color: var(--ink);
    font-weight: 500;
}
.chip.dark {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.18);
    color: #C8D5DD;
}

/* ---------- Pillar grid ---------- */

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    overflow: hidden;
}
@media (max-width: 880px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar {
    background: #fff;
    padding: var(--s-4) var(--s-3) var(--s-4);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background .25s var(--ease);
    min-width: 0;
}
.pillar:hover { background: #FAFCFD; }
.pillar-num {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--ink-mute);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.pillar h3 { font-size: 1.18rem; }
.pillar p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--brand-tint);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}
.pillar-icon.accent { background: var(--accent-tint); color: var(--accent-deep); }
.pillar-icon.gold   { background: var(--gold-tint); color: var(--gold-deep); }

/* ---------- Comparison callout ---------- */

.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--r-card);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--line);
    box-shadow: var(--shadow-2);
}
.compare > div { background: #fff; padding: var(--s-4); display: flex; flex-direction: column; gap: 12px; }
.compare h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-mute);
    font-weight: 700;
    margin: 0;
}
.compare strong {
    font-size: 1.2rem;
    color: var(--ink);
    line-height: 1.3;
    font-weight: 700;
}
.compare p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }
.compare .row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    font-size: 0.94rem;
    color: var(--ink);
}
.compare .row:first-of-type { border-top: 0; }
.compare .x   { color: var(--error); font-weight: 700; flex-shrink: 0; }
.compare .ok  { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.compare-other { background: var(--surface) !important; }
.compare-other strong { color: var(--ink-soft); }
.compare-us {
    border-top: 4px solid var(--accent) !important;
    background: #fff !important;
}
.compare-us h4 { color: var(--accent-deep); }
@media (max-width: 720px) {
    .compare { grid-template-columns: 1fr; }
    .compare-us { border-top: 4px solid var(--accent) !important; }
}

/* ---------- Number band ---------- */

.numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border-block: 1px solid var(--line);
}
@media (max-width: 720px) { .numbers { grid-template-columns: 1fr 1fr; } }
.number { background: #fff; padding: var(--s-4) var(--s-3); }
.number .n {
    font-size: clamp(2rem, 4vw, 2.875rem);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.number .n .unit { color: var(--accent); margin-left: 2px; }
.number .n.brand .unit { color: var(--brand-light); }
.number .n.gold  .unit { color: var(--gold); }
.number p { margin: 8px 0 0; color: var(--ink-soft); font-size: 0.93rem; line-height: 1.5; }

/* ---------- Split ---------- */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}
.split > * { min-width: 0; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--r-card);
    overflow: hidden;
    background: var(--surface-2);
    min-width: 0;
    box-shadow: var(--shadow-2);
}
.split-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease);
}
.split-image:hover img { transform: scale(1.03); }

/* ---------- Checklist ---------- */

.checklist {
    list-style: none;
    margin: var(--s-3) 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.checklist li {
    position: relative;
    padding-left: 32px;
    color: var(--ink);
    line-height: 1.6;
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--accent-tint);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A86B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}
.checklist.gold li::before {
    background-color: var(--gold-tint);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B07F0E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>");
}
.checklist.on-dark li { color: #D6DBE4; }

/* ---------- Pricing card ---------- */

.price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-3);
}
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--r-card);
    padding: var(--s-4);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.price-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.price-card .label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.price-card .price {
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex-wrap: wrap;
}
.price-card .currency { color: var(--brand); }
.price-card .per {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-soft);
    margin-left: 8px;
    letter-spacing: 0;
}
.price-card .desc { color: var(--ink-soft); margin: 0; font-size: 0.94rem; }
.price-card.featured {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}
.price-card.featured .price { color: #fff; }
.price-card.featured .currency { color: var(--accent-light); }
.price-card.featured .label { color: var(--accent-light); }
.price-card.featured .desc { color: #BCD2E0; }
.price-card.featured .per { color: #C8D5DD; }
.price-card.featured .checklist li { color: #DDE5EE; }

/* ---------- Calc card ---------- */

.calc {
    background: #fff;
    border: 1.5px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: var(--r-card);
    padding: var(--s-4);
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--s-4);
    align-items: stretch;
}
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }
.calc h3 { font-size: 1.4rem; }
.calc dl { margin: 0; display: grid; gap: 12px; align-content: center; }
.calc dl > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.calc dt { font-size: 0.92rem; color: var(--ink-soft); }
.calc dd { margin: 0; font-weight: 600; font-size: 0.98rem; }
.calc-total {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 4px;
}
.calc-total .total {
    font-size: clamp(1.6rem, 2.6vw, 2rem);
    font-weight: 800;
    color: var(--accent-deep);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

/* ---------- TOP RIDE bridge card (gold-accented) ---------- */

.topride-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-card);
    background: linear-gradient(135deg, #082739 0%, #0E3D59 60%, #1A4F70 100%);
    color: #fff;
    padding: var(--s-6) var(--s-5);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--s-4);
    align-items: center;
    isolation: isolate;
    border-left: 4px solid var(--gold);
}
.topride-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/fleet-topride.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.16;
    z-index: -1;
}
.topride-card h2 { color: #fff; max-width: 18ch; }
.topride-card h2 em { font-style: normal; color: var(--gold-light); }
.topride-card p { color: #C8D5DD; max-width: 42ch; }
.topride-card-image {
    aspect-ratio: 4 / 3;
    border-radius: var(--r-card);
    overflow: hidden;
    box-shadow: var(--shadow-3);
    min-width: 0;
}
.topride-card-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) {
    .topride-card { grid-template-columns: 1fr; padding: var(--s-4); }
}

.section.gold-rule { border-top: 4px solid var(--gold); }

/* ---------- App showcase ---------- */

.app-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}
@media (max-width: 880px) { .app-showcase { grid-template-columns: 1fr; } }
.phone-frame {
    width: 280px;
    margin-inline: auto;
    aspect-ratio: 9 / 19.5;
    background: var(--ink);
    border-radius: 38px;
    padding: 8px;
    box-shadow: var(--shadow-3), 0 0 0 1px var(--line-strong);
    position: relative;
}
.phone-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 30px;
}

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: var(--s-3) 8px;
    display: grid;
    grid-template-columns: 1fr 24px;
    gap: 16px;
    align-items: center;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ink);
    transition: color .2s var(--ease);
}
.faq-item summary:hover { color: var(--brand); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "";
    width: 18px; height: 18px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A86B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='12' y1='5' x2='12' y2='19'/><line x1='5' y1='12' x2='19' y2='12'/></svg>") center/contain no-repeat;
    transition: transform .25s var(--ease);
}
.faq-item[open] summary::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A86B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/></svg>");
}
.faq-item .faq-body {
    padding: 0 8px var(--s-3);
    color: var(--ink-soft);
    max-width: 70ch;
    font-size: 1rem;
}

/* ---------- Form ---------- */

.form {
    display: grid;
    gap: 18px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--r-card);
    padding: clamp(24px, 4vw, 36px);
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 0.8rem; color: var(--ink-mute); }
.field input, .field select, .field textarea {
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: #fff;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--r-input);
    padding: 12px 14px;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-tint);
}
.form-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}
.form-footer small { color: var(--ink-mute); }

/* ---------- Strip / footer ---------- */

.contact-strip {
    background: var(--accent);
    color: #fff;
    padding: var(--s-3) 0;
    text-align: center;
    font-weight: 500;
}
.contact-strip a { color: #fff; text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }
.contact-strip strong { font-weight: 700; }

.contact-strip.gold {
    background: var(--gold);
    color: var(--ink);
}
.contact-strip.gold a { color: var(--ink); }

.site-footer {
    background: var(--ink);
    color: #B8C0CC;
    padding: var(--s-7) 0 var(--s-3);
}
.site-footer h4 {
    font-size: 0.78rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-bottom: 16px;
}
.site-footer a { color: #C8D0DA; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.94rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: var(--s-5);
    border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo-card {
    display: inline-block;
    background: #fff;
    padding: 14px 18px;
    border-radius: 14px;
    line-height: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.footer-brand .footer-logo-card img { height: 44px; width: auto; display: block; }
.footer-brand p { margin-top: 16px; max-width: 32ch; font-size: 0.94rem; line-height: 1.55; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: var(--s-3);
    font-size: 0.85rem;
    color: #7A8593;
}

/* ---------- Service area ---------- */

.area-list {
    column-count: 4;
    column-gap: 24px;
    list-style: none;
    padding: 0;
    margin: var(--s-3) 0 0;
    font-size: 0.95rem;
    color: #C8D0DA;
}
.area-list li { padding: 6px 0; break-inside: avoid; }
@media (max-width: 880px) { .area-list { column-count: 2; } }

/* Neighbour links on light local-context section */
.neighbour-list {
    column-count: 3;
    column-gap: 24px;
    list-style: none;
    padding: 0;
    margin: var(--s-2) 0 0;
    font-size: 0.95rem;
}
.neighbour-list li { padding: 4px 0; break-inside: avoid; }
.neighbour-list a { color: var(--accent-deep); text-decoration: none; }
.neighbour-list a:hover { text-decoration: underline; }
.neighbour-list.gold a { color: var(--gold-deep); }
@media (max-width: 880px) { .neighbour-list { column-count: 2; } }

/* ---------- Trust rail ---------- */

.trust-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    align-items: center;
    color: var(--ink-soft);
    font-size: 0.92rem;
}
.trust-rail strong { color: var(--ink); }
.trust-rail > div { display: flex; align-items: center; gap: 10px; }

/* ---------- Reveal on scroll ---------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */

.center { text-align: center; }
.mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.muted { color: var(--ink-soft); }
.no-shrink { flex-shrink: 0; }

.k { color: var(--brand); font-weight: 700; }
.k-accent { color: var(--accent-deep); font-weight: 700; }
.k-gold { color: var(--gold-deep); font-weight: 700; }

/* ---------- Icons ---------- */

.icon { display: inline-block; vertical-align: -3px; flex-shrink: 0; }
.btn .icon { vertical-align: middle; }
.pillar-icon .icon { width: 22px; height: 22px; vertical-align: middle; }
.icon-stroke-1 { stroke-width: 1.5; }
.icon-bold { stroke-width: 2.5; }
.icon-tile {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-tint);
    color: var(--brand);
    flex-shrink: 0;
}
.icon-tile.accent { background: var(--accent-tint); color: var(--accent-deep); }
.icon-tile.gold   { background: var(--gold-tint);   color: var(--gold-deep); }
.icon-tile .icon { width: 22px; height: 22px; }

/* ---------- Blog ---------- */

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--r-card);
    overflow: hidden;
    transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.blog-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.blog-card-image {
    display: block;
    aspect-ratio: 16/10;
    background: var(--brand-tint);
    overflow: hidden;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--ease);
}
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.blog-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: .85rem;
    color: var(--ink-soft);
}
.blog-card-body h2 { font-size: 1.2rem; line-height: 1.3; margin: 4px 0 6px; }
.blog-card-body h2 a { color: var(--ink); text-decoration: none; }
.blog-card-body h2 a:hover { color: var(--accent-deep); }
.blog-card-body p { margin: 0; font-size: .95rem; }
.blog-card-link { margin-top: auto !important; padding-top: 8px; }

.blog-hero-image {
    margin: 0 auto var(--s-5);
    max-width: 920px;
    padding: 0 24px;
}
.blog-hero-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--r-card);
}

.blog-body { font-size: 1.05rem; line-height: 1.7; max-width: 68ch; }
.blog-body p { margin: 0 0 1.1em; }
.blog-body .lede { font-size: 1.2rem; color: var(--ink); margin-bottom: 1.5em; }
.blog-body h2 { font-size: 1.4rem; margin: 2em 0 .6em; }
.blog-body a { color: var(--accent-deep); }
.blog-body ul { padding-left: 1.4em; margin: 0 0 1.1em; }
.blog-body ul li { margin-bottom: .4em; }

.blog-table-wrap { overflow-x: auto; margin: 1.4em 0 1.6em; }
.blog-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}
.blog-table th, .blog-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}
.blog-table th { background: var(--brand-tint); font-weight: 700; color: var(--ink); }
.blog-table tr:last-child td { border-bottom: none; }
.blog-table tr:nth-child(even) td { background: #fafbfc; }

.blog-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.blog-nav-link {
    display: block;
    padding: 16px 18px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-card);
    text-decoration: none;
    color: var(--ink);
    transition: border-color .2s var(--ease);
}
.blog-nav-link:hover { border-color: var(--accent); }
.blog-nav-link span { font-size: .85rem; display: block; margin-bottom: 4px; }
.blog-nav-link strong { display: block; font-size: .98rem; line-height: 1.35; }
.blog-nav-link-right { text-align: right; }

@media (max-width: 640px) {
    .blog-nav { grid-template-columns: 1fr; }
    .blog-nav-link-right { text-align: left; }
}
