/*
 * ParkGPS marketing website. Self-hosted fonts (SIL OFL, see assets/website/fonts/OFL-*.txt).
 * Palette: night/navy (trust, aviation), aviation blue (action), runway amber (accent), signal green (live).
 */
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-display: swap;
    font-weight: 300 700;
    src: url("../fonts/space-grotesk-latin-ext-NXGsJlG.woff2") format('woff2-variations');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-display: swap;
    font-weight: 300 700;
    src: url("../fonts/space-grotesk-latin-Dr-cltI.woff2") format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../fonts/manrope-latin-ext-PPaTnwi.woff2") format('woff2-variations');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../fonts/manrope-latin-aA_waSK.woff2") format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --night: #07142b;
    --navy: #0d2347;
    --navy-2: #163463;
    --blue: #1e63f0;
    --blue-700: #164fcc;
    --sky: #7db8ff;
    --signal: #16c79a;
    --signal-700: #0d8f6e;
    --amber: #ffb547;
    --amber-300: #ffc875;
    --amber-700: #f29d1f;
    --ink: #0e1b2e;
    --slate: #4b5a72;
    --slate-on-dark: #a9b8d0;
    --mist: #eef3fa;
    --paper: #fbfcfe;
    --white: #fdfeff;
    --line: #dce3ee;
    --line-strong: #c3cfe1;
    --danger: #c9283b;

    --font-display: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-text: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

    --fs-xs: .8125rem;
    --fs-sm: .9375rem;
    --fs-base: 1.0625rem;
    --fs-lg: 1.1875rem;
    --fs-h3: 1.25rem;
    --fs-h2: clamp(1.875rem, 1.35rem + 2.1vw, 2.875rem);
    --fs-h1: clamp(2.25rem, 1.45rem + 3.4vw, 4rem);

    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-1: 0 1px 2px rgb(7 20 43 / .06), 0 6px 20px -6px rgb(7 20 43 / .12);
    --shadow-2: 0 2px 8px rgb(7 20 43 / .1), 0 32px 64px -24px rgb(7 20 43 / .45);
    --ease-out: cubic-bezier(.2, .7, .2, 1);
    --header-h: 72px;
    --container: 1200px;
}

/* Base ------------------------------------------------------------------ */

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

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

body {
    margin: 0;
    overflow-x: clip;
    background: var(--paper);
    color: var(--ink);
    font: 400 var(--fs-base) / 1.6 var(--font-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    margin: 0;
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.02em;
    text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue); text-underline-offset: .18em; }
img, svg { display: block; max-width: 100%; }
address { font-style: normal; }
b, strong { font-weight: 700; }
small { font-size: var(--fs-xs); }

.tabular { font-variant-numeric: tabular-nums; }

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
    border-radius: 4px;
}
.site-header :focus-visible,
.hero :focus-visible,
.section--night :focus-visible,
.site-footer :focus-visible,
.plan--featured :focus-visible { outline-color: var(--amber); }

.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    top: .75rem;
    left: .75rem;
    z-index: 100;
    padding: .6rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--amber);
    color: var(--night);
    font-weight: 700;
    transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
}

/* Buttons: default, hover, focus-visible, active, disabled ---------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 48px;
    padding: 0 1.25rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font: 700 var(--fs-sm) / 1 var(--font-text);
    letter-spacing: .005em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .18s var(--ease-out); }
.btn:hover .icon { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled='true'] { opacity: .55; cursor: not-allowed; transform: none; }
.btn--sm { min-height: 44px; padding: 0 1rem; }
.btn--lg { min-height: 54px; padding: 0 1.5rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }

.btn--accent { background: var(--amber); color: var(--night); box-shadow: 0 8px 24px -10px rgb(255 181 71 / .7); }
.btn--accent:hover { background: var(--amber-300); }
.btn--accent:active { background: var(--amber-700); }

.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-700); }
.btn--primary:active { background: var(--navy-2); }

.btn--outline { border-color: var(--line-strong); color: var(--ink); background: var(--white); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--outline:active { background: var(--mist); }

.btn--outline-light,
.btn--ghost { border-color: rgb(255 255 255 / .22); color: var(--white); background: rgb(255 255 255 / .02); }
.btn--outline-light:hover,
.btn--ghost:hover { border-color: rgb(255 255 255 / .45); background: rgb(255 255 255 / .08); }
.btn--outline-light:active,
.btn--ghost:active { background: rgb(255 255 255 / .14); }

/* Small typographic parts ------------------------------------------------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1rem;
    color: var(--blue);
    font: 600 var(--fs-xs) / 1.3 var(--font-display);
    letter-spacing: .12em;
    text-transform: uppercase;
}
.eyebrow--on-dark { color: var(--sky); }

.live-dot {
    position: relative;
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
    background: var(--signal);
}
.live-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--signal);
    opacity: 0;
}

.plate {
    display: inline-block;
    padding: .1rem .45rem;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: var(--white);
    color: var(--ink);
    font: 700 .8125rem / 1.35 var(--font-display);
    letter-spacing: .06em;
    white-space: nowrap;
}

.section { padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }
.section--paper { background: var(--paper); }
.section--mist { background: var(--mist); }
.section--night {
    background:
        radial-gradient(900px 480px at 100% 0%, rgb(30 99 240 / .28), transparent 65%),
        linear-gradient(180deg, var(--night), var(--navy));
    color: var(--white);
}

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: var(--fs-h2); }
.section-lead { margin-top: 1rem; color: var(--slate); font-size: var(--fs-lg); line-height: 1.55; }
.section--night .section-lead { color: var(--slate-on-dark); }

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(7 20 43 / .82);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid rgb(255 255 255 / .06);
    color: var(--white);
    transition: box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { background: rgb(7 20 43 / .94); box-shadow: 0 8px 30px -12px rgb(0 0 0 / .5); }

.site-header__bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: var(--header-h);
}

.logo {
    --logo-bg: var(--night);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--white);
    text-decoration: none;
    flex: none;
}
.logo__mark { width: 36px; height: 36px; }
.logo__signal { stroke: var(--logo-bg); }
.logo__word { font: 600 1.375rem / 1 var(--font-display); letter-spacing: -.02em; }
.logo__word b { color: var(--amber); font-weight: 700; }

.site-nav { display: flex; align-items: center; flex: 1; gap: 1.5rem; }
.site-nav__links { display: flex; gap: .25rem; margin-inline: auto; }
.site-nav__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 .8rem;
    border-radius: 10px;
    color: rgb(255 255 255 / .82);
    font-weight: 600;
    font-size: var(--fs-sm);
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s ease, background-color .15s ease;
}
.site-nav__links a:hover,
.site-nav__links a[aria-current='page'] { color: var(--white); background: rgb(255 255 255 / .07); }
.site-nav__actions { display: flex; align-items: center; gap: .6rem; }

.lang-switch {
    display: inline-flex;
    padding: 3px;
    border: 1px solid rgb(255 255 255 / .14);
    border-radius: 10px;
}
.lang-switch a {
    display: inline-grid;
    place-items: center;
    min-width: 40px;
    min-height: 36px;
    border-radius: 7px;
    color: rgb(255 255 255 / .7);
    font: 600 var(--fs-xs) / 1 var(--font-display);
    letter-spacing: .06em;
    text-decoration: none;
}
.lang-switch a:hover { color: var(--white); }
.lang-switch a[aria-current='true'] { background: rgb(255 255 255 / .12); color: var(--white); }

.site-header__toggle {
    display: none;
    margin-left: auto;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / .18);
    border-radius: 12px;
    background: transparent;
    color: var(--white);
    cursor: pointer;
}
.site-header__toggle .icon--close { display: none; }
.site-header.is-open .site-header__toggle .icon--open { display: none; }
.site-header.is-open .site-header__toggle .icon--close { display: block; }

@media (max-width: 1099.98px) {
    .site-header__toggle { display: grid; }
    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
        padding: 1rem 1.25rem 1.5rem;
        background: var(--night);
        border-bottom: 1px solid rgb(255 255 255 / .08);
        box-shadow: 0 24px 40px -16px rgb(0 0 0 / .6);
    }
    .site-header.is-open .site-nav { display: flex; }
    .site-nav__links { flex-direction: column; margin: 0; }
    .site-nav__links a { min-height: 52px; font-size: var(--fs-lg); }
    .site-nav__actions { flex-wrap: wrap; }
    .site-nav__actions .btn { flex: 1 1 auto; }
}

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

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(4rem, 3rem + 5vw, 7rem);
    background:
        radial-gradient(1100px 620px at 85% -10%, rgb(30 99 240 / .42), transparent 62%),
        radial-gradient(700px 480px at -5% 105%, rgb(22 199 154 / .16), transparent 60%),
        linear-gradient(180deg, var(--night) 0%, #0a1c3b 100%);
    color: var(--white);
}
.hero::before {
    /* Dot grid, fading out towards the bottom */
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgb(255 255 255 / .09) 1px, transparent 1.2px);
    background-size: 28px 28px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.hero__backdrop { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
@media (max-width: 719.98px) { .hero__backdrop { display: none; } }
.hero__flight { width: 100%; height: 100%; }
.hero__flight-path {
    fill: none;
    stroke: rgb(255 181 71 / .35);
    stroke-width: 1.5;
    stroke-dasharray: 2 10;
    stroke-linecap: round;
}
.hero__plane { fill: var(--amber); opacity: 0; }

.hero__grid {
    display: grid;
    gap: clamp(2.5rem, 2rem + 3vw, 4rem);
    align-items: center;
}
@media (min-width: 1100px) {
    .hero__grid { grid-template-columns: minmax(0, 4.6fr) minmax(0, 6.4fr); }
}

.hero__title { font-size: var(--fs-h1); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.hero__lead { margin-top: 1.5rem; max-width: 36rem; color: var(--slate-on-dark); font-size: var(--fs-lg); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 2rem; color: rgb(255 255 255 / .82); font-size: var(--fs-sm); font-weight: 600; }
.hero__points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__points .icon { color: var(--signal); }

/* Hero demo: dispatcher map + customer phone */

.demo { position: relative; }
@media (min-width: 720px) {
    .demo { padding: 0 170px 64px 0; }
    .demo .demo-map__eta,
    .demo .demo-map__vehicle { right: 76px; }
}

.demo-map {
    position: relative;
    z-index: 1;
    isolation: isolate;
    margin: 0;
    aspect-ratio: 1 / 1.02;
    border: 1px solid rgb(255 255 255 / .14);
    border-radius: var(--radius-lg);
    background: #d9e1ec;
    box-shadow: var(--shadow-2), 0 0 0 8px rgb(255 255 255 / .03);
}
@media (min-width: 720px) {
    .demo-map { aspect-ratio: 4 / 3.7; }
}
.demo-map__canvas { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: #d9e1ec; }
.demo-map .leaflet-tile-pane { filter: saturate(.3) contrast(.95) brightness(1.03); }
.demo-map .leaflet-control-attribution,
.phone .leaflet-control-attribution {
    background: rgb(253 254 255 / .8);
    color: var(--slate);
    font: 500 10px / 1.4 var(--font-text);
}
.demo-map .leaflet-control-attribution a { color: var(--slate); }

.demo-route { stroke: #6f88ad; stroke-dasharray: 1 10; stroke-linecap: round; fill: none; }
.demo-route-done { stroke: var(--blue); stroke-linecap: round; stroke-linejoin: round; fill: none; filter: drop-shadow(0 2px 3px rgb(30 99 240 / .35)); }

.demo-pin {
    display: grid;
    place-items: center;
    border: 2px solid var(--white);
    box-shadow: 0 4px 10px rgb(7 20 43 / .35);
}
.demo-pin--parking { border-radius: 9px; background: var(--navy); color: var(--white); font: 700 15px / 1 var(--font-display); }
.demo-pin--terminal { border-radius: 50%; background: var(--amber); color: var(--night); }
.demo-pin--terminal svg { width: 17px; height: 17px; }

.demo-bus {
    position: relative;
    display: grid;
    place-items: center;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 6px 16px rgb(30 99 240 / .55);
}
.demo-bus svg { position: relative; width: 19px; height: 19px; }
.demo-bus__pulse {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--blue);
    opacity: 0;
}

.demo-map__vehicle,
.demo-map__eta {
    position: absolute;
    z-index: 500;
    border: 1px solid rgb(255 255 255 / .7);
    border-radius: var(--radius);
    background: rgb(253 254 255 / .92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--ink);
    box-shadow: 0 10px 30px -12px rgb(7 20 43 / .45);
}
.demo-map__vehicle { top: 14px; right: 14px; padding: .65rem .85rem; }
.demo-map__tag { display: block; margin-bottom: .35rem; color: var(--slate); font: 600 10.5px / 1.2 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.demo-map__vehicle-row { display: flex; align-items: center; gap: .6rem; }
.demo-map__vehicle-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: var(--white); }
.demo-map__vehicle-icon .icon { width: 19px; height: 19px; }
.demo-map__vehicle-make { display: block; margin-top: .2rem; color: var(--slate); font-size: 12px; font-weight: 600; }

.demo-map__eta { left: 14px; right: 14px; bottom: 26px; padding: .8rem .95rem .7rem; }
.demo-map__eta-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.demo-map__status { font-weight: 700; font-size: var(--fs-sm); }
.demo-map__status-driving,
.demo-map__status-arrived { display: inline-flex; align-items: center; gap: .5rem; }
.demo-map__status-arrived { display: none; color: var(--signal-700); }
.demo[data-phase='arrived'] .demo-map__status-driving { display: none; }
.demo[data-phase='arrived'] .demo-map__status-arrived { display: inline-flex; }
.demo-map__live { text-align: right; }
.demo-map__live strong { display: block; font: 600 var(--fs-sm) / 1.2 var(--font-display); }
.demo-map__live small { display: block; color: var(--slate); font-size: 11px; font-weight: 600; white-space: nowrap; }
.demo-map__legs { display: flex; justify-content: space-between; margin-top: .6rem; padding-top: .55rem; border-top: 1px solid var(--line); color: var(--slate); font-size: 11.5px; font-weight: 600; }
.demo-map__legs span { display: inline-flex; align-items: center; gap: .3rem; }
.demo-map__legs .icon { width: 14px; height: 14px; }

.demo-map__caption {
    /* Below the map, outside the frame */
    position: absolute;
    top: 100%;
    left: 2px;
    margin-top: .7rem;
    color: var(--slate-on-dark);
    font: 600 var(--fs-xs) / 1.3 var(--font-text);
}
@media (max-width: 479.98px) {
    .demo-map__tag, .demo-map__vehicle-make { display: none; }
    .demo-map__eta { bottom: 28px; padding-inline: .8rem; }
    .demo-map__status { font-size: var(--fs-xs); }
}

/* Customer phone */

.phone {
    position: relative;
    width: min(240px, 78vw);
    height: 490px;
    margin: 3rem auto 0;
    padding: 9px;
    border-radius: 42px;
    background: linear-gradient(160deg, #26385a, #0b162a 60%);
    box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .14), 0 40px 80px -30px rgb(0 0 0 / .8), 0 0 0 1px rgb(0 0 0 / .4);
    z-index: 2;
}
@media (min-width: 720px) {
    .phone { position: absolute; right: 0; bottom: 0; margin: 0; }
}
.phone__screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 34px;
    background:
        radial-gradient(260px 300px at 20% 10%, rgb(30 99 240 / .65), transparent 70%),
        radial-gradient(260px 300px at 90% 90%, rgb(22 199 154 / .4), transparent 70%),
        var(--navy);
    color: var(--white);
}
.phone__statusbar {
    position: absolute;
    z-index: 3;
    inset: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
    padding: 0 20px 0 24px;
    font: 700 11px / 1 var(--font-text);
}
.phone__island { width: 70px; height: 20px; border-radius: 12px; background: #050b16; }
.phone__signal { width: 22px; height: 9px; border-radius: 3px; border: 1.5px solid currentColor; }

.phone__sms {
    position: absolute;
    z-index: 2;
    top: 58px;
    left: 10px;
    right: 10px;
    padding: .7rem .8rem .8rem;
    border-radius: 18px;
    background: rgb(253 254 255 / .9);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    color: var(--ink);
    font-size: 12px;
    line-height: 1.4;
    box-shadow: 0 16px 30px -12px rgb(0 0 0 / .5);
    transition: transform .5s var(--ease-out), opacity .4s ease;
}
.phone__sms-head { display: flex; justify-content: space-between; margin-bottom: .3rem; color: var(--slate); font-size: 10.5px; font-weight: 600; }
.phone__sms-app { display: inline-flex; align-items: center; gap: .3rem; }
.phone__sms-app .icon { width: 13px; height: 13px; color: var(--signal-700); }
.phone__sms p { margin-top: .2rem; }

.phone__tracking {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    color: var(--ink);
    opacity: 0;
    transform: scale(.97);
    transition: opacity .45s ease, transform .5s var(--ease-out);
}
.phone__header { padding: 40px 14px 10px; background: #172233; color: var(--white); font-size: 11.5px; line-height: 1.45; }
.phone__header small { display: block; color: rgb(255 255 255 / .6); font-size: 10.5px; }
.phone__header strong { display: block; font-size: 13px; }
.phone__description { margin-top: .15rem; }
.phone__map { position: relative; flex: 1; background: #d9e1ec; }
.phone__map .leaflet-tile-pane { filter: saturate(.85); }
.phone__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .55rem .7rem .9rem;
    border-top: 1px solid var(--line);
    font-size: 10.5px;
}
.phone__button { padding: .25rem .5rem; border: 1px solid var(--blue); border-radius: 6px; color: var(--blue); font-weight: 700; white-space: nowrap; }

.demo-plate {
    display: inline-block;
    transform: translate(-50%, -100%);
    padding: 2px 6px;
    border: 2px solid var(--white);
    border-radius: 4px;
    background: #198754;
    color: var(--white);
    font: 700 11px / 1.4 var(--font-text);
    white-space: nowrap;
    box-shadow: 0 1px 4px rgb(0 0 0 / .4);
}

.demo:not([data-phase='sms']) .phone__sms { opacity: 0; transform: translateY(-140%); }
.demo:not([data-phase='sms']) .phone__tracking { opacity: 1; transform: none; }

/* How it works -------------------------------------------------------------- */

.steps {
    position: relative;
    display: grid;
    gap: 2.5rem;
    counter-reset: step;
}
@media (min-width: 880px) {
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
    .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps:not(.steps--4)::before,
    .steps--4::before {
        /* The "route" between the stops */
        content: '';
        position: absolute;
        top: 36px;
        left: calc(100% / 6);
        right: calc(100% / 6);
        border-top: 2px dashed var(--line-strong);
    }
    .steps--4::before { display: none; }
}
@media (min-width: 1100px) {
    .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .steps--4::before { display: block; left: 12.5%; right: 12.5%; }
}
.section--mist .step__icon { background: var(--white); }
.steps--4 .step:last-child .step__number { background: linear-gradient(160deg, var(--signal), var(--signal-700)); }

.flow-usp {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    max-width: 46rem;
    margin: 3rem auto 0;
    padding: 1rem 1.25rem;
    border: 1px solid rgb(22 199 154 / .35);
    border-radius: var(--radius);
    background: var(--white);
    font-weight: 600;
}
.flow-usp .icon { color: var(--signal-700); margin-top: .1rem; }
.step { position: relative; text-align: center; }
.step__stop {
    position: relative;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-1);
}
.step__number {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(160deg, #4c95ff, var(--blue-700));
    color: var(--white);
    font: 700 1.25rem / 1 var(--font-display);
}
.step__icon {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: .75rem;
    border-radius: 12px;
    background: var(--mist);
    color: var(--blue);
}
.step__title { font-size: var(--fs-h3); }
.step__text { max-width: 22rem; margin: .65rem auto 0; color: var(--slate); }

.video-slot { margin: 4rem auto 0; max-width: 960px; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.video-slot video { display: block; width: 100%; height: auto; }

/* Benefits ------------------------------------------------------------------ */

.benefits { display: grid; gap: 3rem; }
@media (min-width: 960px) {
    .benefits { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: start; }
    .benefits__head { position: sticky; top: calc(var(--header-h) + 3rem); }
}
.benefit {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.25rem;
    padding-block: 1.6rem;
    border-top: 1px solid var(--line);
}
.benefit:last-child { border-bottom: 1px solid var(--line); }
.benefit__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--white);
    color: var(--blue);
    box-shadow: var(--shadow-1);
}
.benefit__title { font-size: var(--fs-h3); }
.benefit__text { margin-top: .4rem; color: var(--slate); }

/* Features (bento) ---------------------------------------------------------- */

.bento { display: grid; gap: 1rem; }
@media (min-width: 640px) {
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tile--fleet, .tile--reservations { grid-column: span 2; }
}
@media (min-width: 1024px) {
    .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .tile--fleet { grid-column: span 2; grid-row: span 2; }
    .tile--reservations, .tile--board, .tile--team, .tile--payments, .tile--history, .tile--reminders, .tile--occupancy { grid-column: span 2; }
}
.tile {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.75rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
}
.tile__icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1.1rem;
    border-radius: 12px;
    background: var(--mist);
    color: var(--blue);
}
.tile__title { font-size: var(--fs-h3); }
.tile__text { margin-top: .5rem; color: var(--slate); font-size: var(--fs-sm); line-height: 1.6; }

.tile--fleet {
    justify-content: space-between;
    border-color: transparent;
    background:
        radial-gradient(500px 300px at 100% 0%, rgb(30 99 240 / .4), transparent 70%),
        var(--navy);
    color: var(--white);
}
.tile--fleet .tile__icon { background: rgb(255 255 255 / .08); color: var(--amber); }
.tile--fleet .tile__text { color: var(--slate-on-dark); }

.fleet-art { width: 100%; height: auto; }
.fleet-art__ground { fill: #0f2a52; }
.fleet-art__block { fill: #143563; }
.fleet-art__road { fill: none; stroke: #23497f; stroke-width: 9; }
.fleet-art__road--main { stroke: #2f5fa3; stroke-width: 13; stroke-linecap: round; }
.fleet-art__runway { stroke: var(--amber); stroke-width: 4; stroke-dasharray: 10 8; opacity: .7; }
.fleet-art__bus circle { fill: var(--blue); stroke: var(--white); stroke-width: 3; }
.fleet-art__bus text { fill: var(--white); font: 700 13px var(--font-display); text-anchor: middle; }
.fleet-art__bus--idle circle { fill: #6b7d99; }

.chip { padding: .2rem .55rem; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
.chip--ok { background: rgb(22 199 154 / .14); color: var(--signal-700); }
.chip--muted { background: var(--mist); color: var(--slate); }
.chip--info { background: rgb(30 99 240 / .1); color: var(--blue-700); }


/* Text + illustration sections ---------------------------------------------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 1000px) {
    .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4.5rem; }
    .split--reverse .split__copy { order: 2; }
    .split--reverse { grid-template-columns: minmax(0, 6.4fr) minmax(0, 5fr); }
}
.checklist { display: grid; gap: .7rem; margin-top: 1.75rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 600; }
.checklist .icon { color: var(--signal-700); margin-top: .15rem; }
.checklist--dark li { color: rgb(255 255 255 / .9); }
.checklist--dark .icon { color: var(--signal); }

.snippet__label { display: flex; align-items: center; gap: .5rem; margin-top: 2rem; color: var(--slate); font-size: var(--fs-sm); font-weight: 700; }
.snippet {
    margin: .5rem 0 0;
    padding: .9rem 1rem;
    overflow-x: auto;
    border-radius: 12px;
    background: var(--night);
    color: #c9d6ea;
    font: 500 .8125rem / 1.5 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}
.snippet b { color: var(--amber); font-weight: 600; }

.mock-caption { margin-top: .75rem; color: var(--slate); font-size: var(--fs-xs); font-weight: 600; text-align: center; }
.mock-caption--dark { color: var(--slate-on-dark); }

/* Booking page illustration (a company in its own colour: teal) */
.booking-mock { margin: 0; }
.booking-mock__page {
    --brand: #0f7b5f;
    max-width: 440px;
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #eef3f1;
    box-shadow: var(--shadow-2);
}
.booking-mock__hero {
    display: grid;
    gap: .15rem;
    padding: 1.25rem 1.25rem 3.25rem;
    background: radial-gradient(300px 160px at 100% 0%, rgb(15 123 95 / .7), transparent 70%), linear-gradient(160deg, #0c3a30, #07201b);
    color: var(--white);
}
.booking-mock__logo { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: .75rem; border-radius: 10px; background: var(--brand); font: 800 1rem / 1 var(--font-text); }
.booking-mock__hero small { color: rgb(255 255 255 / .7); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.booking-mock__hero strong { font: 700 1.375rem / 1.15 var(--font-text); }
.booking-mock__form {
    display: grid;
    gap: .45rem;
    margin: -2.25rem .9rem .9rem;
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 13px;
}
.booking-mock__title { margin-bottom: .25rem; font-size: 1.05rem; }
.booking-mock__title::before { content: ''; display: block; width: 28px; height: 3px; margin-bottom: .5rem; border-radius: 3px; background: var(--brand); }
.booking-mock__label { display: block; font-weight: 700; font-size: 11.5px; }
.booking-mock__field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
    margin-top: .2rem;
    padding: 0 .65rem;
    border: 1px solid #cfd6e0;
    border-radius: 9px;
}
.booking-mock__field .icon { width: 14px; height: 14px; color: var(--slate); }
.booking-mock__row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.booking-mock__extra { display: flex; align-items: center; gap: .45rem; padding: .45rem .6rem; border: 1px solid var(--brand); border-radius: 9px; background: rgb(15 123 95 / .07); font-weight: 600; }
.booking-mock__extra .icon { width: 15px; height: 15px; padding: 1px; border-radius: 4px; background: var(--brand); color: var(--white); }
.booking-mock__quote { display: grid; gap: .25rem; padding: .65rem .75rem; border-radius: 10px; background: rgb(15 123 95 / .08); }
.booking-mock__quote small { color: var(--slate); }
.booking-mock__quote > span { display: flex; justify-content: space-between; font-size: 15px; }
.booking-mock__submit { display: grid; place-items: center; min-height: 40px; margin-top: .2rem; border-radius: 10px; background: var(--brand); color: var(--white); font-weight: 700; }

/* Daily board illustration */
.board-mock { margin: 0; }
.board-mock__window {
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / .12);
    border-radius: 18px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-2), 0 0 0 8px rgb(255 255 255 / .03);
    font-size: var(--fs-sm);
}
.board-mock__tabs { display: flex; gap: .25rem; padding: .6rem .6rem 0; background: var(--mist); border-bottom: 1px solid var(--line); }
.board-mock__tabs span { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .9rem; border-radius: 10px 10px 0 0; color: var(--slate); font-weight: 700; }
.board-mock__tabs span.is-active { background: var(--white); color: var(--ink); box-shadow: 0 -1px 0 var(--line), 1px 0 0 var(--line), -1px 0 0 var(--line); }
.board-mock__tabs b { padding: .05rem .45rem; border-radius: 999px; background: var(--navy); color: var(--white); font-size: var(--fs-xs); }
.board-mock__head,
.board-mock__row {
    display: grid;
    grid-template-columns: 3.4rem minmax(0, 1.4fr) 3rem minmax(0, 1.1fr) minmax(0, 1.3fr);
    align-items: center;
    gap: .75rem;
    padding: .7rem 1rem;
}
.board-mock__head { color: var(--slate); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.board-mock__row { border-top: 1px solid var(--line); }
.board-mock__row small { display: block; width: fit-content; margin-top: .2rem; font-size: 11px; }
.board-mock__pax { display: inline-flex; align-items: center; gap: .3rem; }
.board-mock__pax .icon { width: 1em; height: 1em; color: var(--slate); }
.board-mock__action,
.board-mock__sent { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .6rem; border-radius: 9px; font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
.board-mock__action { background: var(--blue); color: var(--white); }
.board-mock__sent { background: rgb(22 199 154 / .14); color: var(--signal-700); }
.board-mock__action .icon, .board-mock__sent .icon { width: 1.1em; height: 1.1em; }
@media (max-width: 639.98px) {
    .board-mock__head { display: none; }
    .board-mock__row { grid-template-columns: 3rem minmax(0, 1fr) auto; row-gap: .5rem; }
    .board-mock__row > span:nth-child(4) { grid-column: 2; }
    .board-mock__row > span:nth-child(5) { grid-column: 2 / -1; }
}

/* Reservations module + who pays -------------------------------------------- */

.res-module { margin-top: 4.5rem; padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-1); }
.res-module__title { display: flex; align-items: center; gap: .6rem; font-size: 1.625rem; }
.res-module__title .icon { color: var(--blue); }
.res-module__head p { max-width: 44rem; margin-top: .6rem; color: var(--slate); }
.res-modes { display: grid; gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 760px) { .res-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.res-mode { display: flex; flex-direction: column; gap: .6rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.res-mode__name { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0; font: 600 1.1875rem / 1.2 var(--font-display); }
.res-mode__name .icon { color: var(--blue); }
.res-mode p { margin: 0; color: var(--slate); font-size: var(--fs-sm); }

.fee-note { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: rgb(22 199 154 / .1); color: var(--ink); font-weight: 600; }
.fee-note .icon { color: var(--signal-700); margin-top: .1rem; }

.who-pays { margin-top: 2.25rem; }
.who-pays__title { margin-bottom: 1rem; font-size: 1.375rem; }
.who-pays__table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.who-pays__table th,
.who-pays__table td { padding: .8rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.who-pays__table thead th { color: var(--slate); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.who-pays__table thead tr:first-child th { color: var(--ink); font: 600 1rem / 1.3 var(--font-display); letter-spacing: 0; text-transform: none; border-bottom-color: var(--line-strong); }
.who-pays__table thead th,
.who-pays__table .who-pays__cell { text-align: center; }
.who-pays__table thead tr:first-child th:last-child,
.who-pays__table thead tr:last-child th:nth-child(3),
.who-pays__cell--group { border-left: 1px solid var(--line-strong); }
.who-pays__table tbody th { font-weight: 700; }
.who-pays__cell .icon { display: block; color: var(--signal-700); width: 1.3em; height: 1.3em; margin-inline: auto; }
.who-pays__cell small { display: block; margin-top: .2rem; color: var(--slate); font-size: var(--fs-xs); }
.who-pays__opt { display: inline-block; padding: .15rem .5rem; border-radius: 999px; background: rgb(255 181 71 / .2); color: #7a4b00; font-size: var(--fs-xs); font-weight: 700; }
.who-pays__na { color: #6b7a90; font-size: var(--fs-xs); }
.who-pays__no { color: #6b7a90; }
.who-pays__legend { margin-top: .75rem; color: var(--slate); font-size: var(--fs-xs); }
@media (max-width: 759.98px) {
    .who-pays__table thead { display: none; }
    .who-pays__table tr { display: grid; padding: .9rem 0; border-bottom: 1px solid var(--line); }
    .who-pays__table th, .who-pays__table td { padding: 0; border: 0; }
    .who-pays__table tbody th { margin-bottom: .4rem; }
    .who-pays__table .who-pays__cell { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .1rem .75rem; padding: .3rem 0; border-left: 0; text-align: right; }
    .who-pays__cell::before { content: attr(data-label); grid-row: span 2; color: var(--slate); font-size: var(--fs-xs); font-weight: 600; text-align: left; }
    .who-pays__cell .icon { margin: 0 0 0 auto; }
    .who-pays__cell small { grid-column: 2; margin-top: 0; }
}

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

/* Plan cards: Reservations module + price with online payments */
.plan__module { font-weight: 700; }
.plan .plan__text--tight { margin-top: 0; }
.price__online { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: .45rem; color: var(--blue-700); font-size: var(--fs-xs); font-weight: 700; }
.plan--featured .price__online { color: var(--sky); }
.res-mode__facts { display: grid; gap: .5rem; margin-top: .25rem; font-size: var(--fs-sm); }
.res-mode__facts li { display: flex; gap: .55rem; align-items: flex-start; }
.res-mode__facts .icon { color: var(--blue); margin-top: .1rem; }
.res-mode .res-mode__when { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--line); font-size: var(--fs-xs); }
.res-mode--online { border-style: dashed; }

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

.pricing__toggle {
    display: flex;
    width: fit-content;
    margin: 0 auto 2.75rem;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-1);
}
.no-js .pricing__toggle { display: none; }
.pricing__toggle button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    padding: 0 1.1rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--slate);
    font: 700 var(--fs-sm) / 1 var(--font-text);
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
}
.pricing__toggle button:hover { color: var(--ink); }
.pricing__toggle button[aria-pressed='true'] { background: var(--navy); color: var(--white); }
.pricing__save { padding: .2rem .45rem; border-radius: 6px; background: rgb(22 199 154 / .16); color: var(--signal-700); font-size: var(--fs-xs); white-space: nowrap; }
.pricing__toggle button[aria-pressed='true'] .pricing__save { background: var(--signal); color: var(--night); }

.pricing[data-period='monthly'] [data-show='yearly'],
.pricing[data-period='yearly'] [data-show='monthly'] { display: none; }

.pricing__grid { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 680px) { .pricing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .pricing__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-1);
}
.plan__badge {
    position: absolute;
    top: -13px;
    left: 1.5rem;
    padding: .3rem .7rem;
    border-radius: 999px;
    background: var(--amber);
    color: var(--night);
    font: 700 var(--fs-xs) / 1.2 var(--font-text);
}
.plan__name { font-size: 1.5rem; }
.plan__limit { margin-top: .25rem; color: var(--slate); font-weight: 600; font-size: var(--fs-sm); }
.plan__price { min-height: 5.75rem; margin-top: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.price { display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.price__amount { font: 600 2.5rem / 1 var(--font-display); letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price__amount--text { font-size: 1.75rem; }
.price__unit { color: var(--slate); font-weight: 600; }
.price__note { margin-top: .5rem; color: var(--slate); font-size: var(--fs-xs); }
.plan__features { display: grid; gap: .7rem; margin: 1.25rem 0 1.75rem; font-size: var(--fs-sm); }
.plan__features li { display: flex; align-items: center; gap: .6rem; }
.plan__features .icon { color: var(--blue); width: 1.15em; height: 1.15em; }
.plan__text { margin: 1.25rem 0 1.75rem; color: var(--slate); font-size: var(--fs-sm); }
.plan .btn { margin-top: auto; }

.plan--featured {
    border-color: transparent;
    background:
        radial-gradient(420px 260px at 100% 0%, rgb(30 99 240 / .45), transparent 70%),
        var(--night);
    color: var(--white);
    box-shadow: var(--shadow-2), 0 0 0 1px rgb(255 181 71 / .5);
}
@media (min-width: 1140px) { .plan--featured { transform: translateY(-10px); } }
.plan--featured .plan__limit,
.plan--featured .price__unit,
.plan--featured .price__note { color: var(--slate-on-dark); }
.plan--featured .plan__price { border-color: rgb(255 255 255 / .12); }
.plan--featured .plan__features .icon { color: var(--amber); }

.plan--enterprise { border-style: dashed; border-color: var(--line-strong); background: transparent; box-shadow: none; }

.pricing__notes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem 2rem;
    margin-top: 2.5rem;
    color: var(--slate);
    font-size: var(--fs-sm);
    font-weight: 600;
}
.pricing__notes li { display: inline-flex; align-items: center; gap: .5rem; }
.pricing__notes .icon { color: var(--signal-700); }

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

.faq { display: grid; gap: 2rem; }
@media (min-width: 960px) {
    .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 5rem; }
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 64px;
    padding-block: 1rem;
    cursor: pointer;
    list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: var(--fs-lg); font-weight: 600; transition: color .15s ease; }
.faq__item summary:hover h3 { color: var(--blue); }
.faq__chevron { color: var(--slate); transition: transform .25s var(--ease-out); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); color: var(--blue); }
.faq__item p { max-width: 44rem; padding-bottom: 1.4rem; color: var(--slate); }

/* Contact ------------------------------------------------------------------- */

.contact__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 960px) {
    .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; }
}
.contact__points { display: grid; gap: .9rem; margin-top: 2rem; font-weight: 600; }
.contact__points li { display: flex; align-items: center; gap: .75rem; }
.contact__points .icon {
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 12px;
    background: rgb(255 255 255 / .07);
    color: var(--amber);
}
.contact__card {
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-2);
}
/* After sending, the confirmation comes first (the intro is long on phones). */
.contact__grid:has(.contact__sent) .contact__card { order: -1; }
@media (min-width: 960px) { .contact__grid:has(.contact__sent) .contact__card { order: 0; } }
.contact__sent { display: grid; justify-items: start; gap: 1rem; }
.contact__sent h2 { font-size: 1.75rem; }
.contact__sent p { color: var(--slate); }
.contact__sent-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgb(22 199 154 / .15); color: var(--signal-700); }

.contact-form__grid { display: grid; gap: 0 1rem; }
@media (min-width: 560px) {
    .contact-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.contact-form__consent { margin-bottom: 1.5rem; font-size: var(--fs-sm); }
.contact-form__consent > a { display: inline-block; margin-left: 2.1rem; font-weight: 600; }
.contact-form__consent .mb-3 { margin-bottom: .25rem; }

/* Form controls (markup from the bootstrap_5_layout form theme) */
.contact-form .mb-3 { margin-bottom: 1.1rem; }
.form-label { display: block; margin-bottom: .4rem; font-size: var(--fs-sm); font-weight: 700; }
.form-control {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: .7rem .9rem;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    font: 500 var(--fs-base) / 1.4 var(--font-text);
    outline: 2px solid transparent;
    outline-offset: 0;
    transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.form-control { min-height: 140px; resize: vertical; }
.form-control::placeholder { color: #8391a7; }
.form-control:hover { border-color: #9fb0c9; }
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgb(30 99 240 / .16); outline: none; }
.form-control:disabled { background: var(--mist); color: var(--slate); cursor: not-allowed; }
.form-control.is-invalid { border-color: var(--danger); }
.form-control.is-invalid:focus { box-shadow: 0 0 0 4px rgb(201 40 59 / .14); }
.invalid-feedback { display: block; margin-top: .4rem; color: var(--danger); font-size: var(--fs-xs); font-weight: 600; }
.alert-danger { margin-bottom: 1.25rem; padding: .85rem 1rem; border: 1px solid rgb(201 40 59 / .3); border-radius: 12px; background: rgb(201 40 59 / .06); color: var(--danger); font-weight: 600; font-size: var(--fs-sm); }
.form-text { margin-top: .35rem; color: var(--slate); font-size: var(--fs-xs); }

.form-check { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .75rem; }
.form-check-input {
    appearance: none;
    flex: none;
    width: 22px;
    height: 22px;
    margin: 1px 0 0;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: var(--white) center / 14px no-repeat;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.form-check-input:hover { border-color: var(--blue); }
.form-check-input:focus-visible { outline: none; box-shadow: 0 0 0 4px rgb(30 99 240 / .2); border-color: var(--blue); }
.form-check-input:checked {
    border-color: var(--blue);
    background-color: var(--blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.form-check-input.is-invalid { border-color: var(--danger); }
.form-check-label { flex: 1; color: var(--slate); line-height: 1.5; cursor: pointer; }
.form-check .invalid-feedback { flex-basis: 100%; margin-left: 2.1rem; }

/* Honeypot: out of sight, out of the tab order */
.contact-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer -------------------------------------------------------------------- */

.site-footer {
    padding-top: 4rem;
    background: var(--night);
    color: var(--slate-on-dark);
    font-size: var(--fs-sm);
}
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 760px) {
    .site-footer__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr); }
}
.site-footer__brand p { max-width: 22rem; margin-top: 1rem; }
.site-footer__heading { margin-bottom: 1rem; color: var(--white); font: 600 var(--fs-xs) / 1.2 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.site-footer__links { display: grid; gap: .25rem; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--slate-on-dark); text-decoration: none; }
.site-footer__links a:hover { color: var(--white); text-decoration: underline; }
.site-footer__company { margin-bottom: .75rem; line-height: 1.7; }
.site-footer__bottom { padding-block: 1.5rem; border-top: 1px solid rgb(255 255 255 / .08); font-size: var(--fs-xs); }

/* Privacy policy ------------------------------------------------------------ */

.prose { max-width: 46rem; }
.prose h2 { margin: 2.25rem 0 .6rem; font-size: 1.375rem; }
.prose p { color: var(--slate); }
.prose__meta { margin-top: .75rem; font-size: var(--fs-sm); }
.todo-note {
    margin-top: 1.5rem;
    padding: 1rem 1.15rem;
    border: 1px dashed var(--amber-700);
    border-radius: 12px;
    background: rgb(255 181 71 / .12);
    color: #7a4b00 !important;
    font-weight: 600;
}

/* Motion: only when the visitor allows it ----------------------------------- */

@media (prefers-reduced-motion: no-preference) {
    .js [data-controller~='website-reveal'] {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity .7s var(--ease-out) var(--delay, 0ms), transform .7s var(--ease-out) var(--delay, 0ms);
    }
    .js [data-controller~='website-reveal'].is-visible { opacity: 1; transform: none; }

    .live-dot::after { animation: pg-ping 2s var(--ease-out) infinite; }
    .demo[data-phase='tracking'] .demo-bus__pulse { animation: pg-ping 1.8s var(--ease-out) infinite; }

    .hero__plane {
        offset-path: path('M-40 610 C 220 600, 420 560, 530 450 S 650 220, 790 150 S 1060 50, 1260 20');
        offset-rotate: auto;
        animation: pg-fly 18s linear infinite;
    }

    .demo[data-phase='sms'] .phone__sms { animation: pg-drop .6s var(--ease-out) both; }
}

@keyframes pg-ping {
    0% { opacity: .7; transform: scale(.6); }
    80%, 100% { opacity: 0; transform: scale(1.9); }
}

@keyframes pg-fly {
    0% { offset-distance: 0%; opacity: 0; }
    8% { opacity: .9; }
    85% { opacity: .9; }
    100% { offset-distance: 100%; opacity: 0; }
}

@keyframes pg-drop {
    from { opacity: 0; transform: translateY(-40px) scale(.96); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero__plane { display: none; }
}
.site-footer__heading--spaced { margin-top: 1.5rem; }
