/* ==========================================================================
   MAAS Parking design system (2026 revamp)
   One stylesheet for the public site. Page views use these classes only;
   page-specific tweaks go in a small @section Styles block.
   ========================================================================== */

/* ---------- 0. Fonts (self-hosted, preloaded in _Layout; both are variable fonts) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin.woff2") format("woff2"); 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: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2"); 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; }
/* Metric-matched fallbacks so text does not jump if a font arrives late: Arial / Arial Bold scaled to the
   width and line metrics of the web fonts (measured from the woff2 files: Inter at 400 and 700, Plus Jakarta
   Sans at 400 and 800, typo metrics). Where Arial is not installed (Android) the stack moves on to system-ui. */
@font-face { font-family: "Inter Fallback"; font-style: normal; font-weight: 100 599; src: local("Arial"), local("ArialMT"); size-adjust: 106.71%; ascent-override: 90.78%; descent-override: 22.6%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; font-style: normal; font-weight: 600 900; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 103.04%; ascent-override: 94.02%; descent-override: 23.41%; line-gap-override: 0%; }
@font-face { font-family: "Plus Jakarta Sans Fallback"; font-style: normal; font-weight: 100 599; src: local("Arial"), local("ArialMT"); size-adjust: 104.32%; ascent-override: 99.5%; descent-override: 21.28%; line-gap-override: 0%; }
@font-face { font-family: "Plus Jakarta Sans Fallback"; font-style: normal; font-weight: 600 900; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 102.72%; ascent-override: 101.05%; descent-override: 21.61%; line-gap-override: 0%; }

/* ---------- 1. Tokens ---------- */
:root {
    --navy-950: #06111f;
    --navy-900: #0a1a33;
    --navy-800: #0f2547;
    --navy-700: #163463;
    --navy-600: #22457d;
    --navy-100: #e6ecf5;
    --navy-50: #f2f5fa;

    --amber-600: #e59e00;
    --amber-500: #ffb400;
    --amber-400: #ffc533;
    --amber-100: #fff1cc;
    --amber-50: #fff8e6;
    --amber-text: #8a5a00;   /* amber that passes WCAG AA on white/light grey */

    --ink: #0f172a;
    --text: #1e293b;
    --muted: #5b6b82;          /* 5.43:1 on white, 5.06:1 on --bg: use for all secondary text */
    --subtle: #5f6f86;         /* icons, carets; still >= 4.5:1 on white, --bg and the light hero */
    --line: #e3e8ef;
    --line-strong: #cfd7e3;
    --field-border: #7d8ca0;   /* form field boundary: 3.4:1 on white (WCAG 1.4.11) */
    --bg: #f5f7fa;
    --white: #ffffff;

    --success: #15803d;
    --success-bg: #ecfdf3;
    --danger: #c62828;
    --danger-bg: #fdeeee;
    --info: #1d4ed8;
    --info-bg: #eef4ff;

    --font-head: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --font-body: "Inter", "Inter Fallback", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
    --shadow: 0 6px 18px rgba(15, 23, 42, .08), 0 2px 6px rgba(15, 23, 42, .05);
    --shadow-lg: 0 24px 60px rgba(6, 17, 31, .22), 0 8px 20px rgba(6, 17, 31, .12);
    --ring: 0 0 0 4px rgba(255, 180, 0, .35);   /* decorative glow only; the focus indicator is the outline below */
    --focus: var(--navy-900);                   /* focus outline colour; dark surfaces switch it to amber */

    --container: 1200px;
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--navy-900); text-decoration: underline; text-underline-offset: .18em; }
/* Links inside running text are underlined, not told apart by colour alone (WCAG 1.4.1) */
main :is(p, li, td, dd) a:not([class]), .faq-body a:not([class]), .alert a:not([class]) { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
/* Even line lengths: no single orphan word on the last line of a heading */
h1, h2, h3 { text-wrap: balance; }
/* Phone numbers never split across lines ("862-704- | 0770") */
a[href^="tel:"] { white-space: nowrap; }
small { font-size: .85em; }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
::selection { background: var(--amber-100); color: var(--ink); }
/* Focus: one solid 3px outline everywhere (17:1 navy on light surfaces, 9.7:1 amber on navy surfaces).
   Never remove it: Windows High Contrast / forced-colors keeps outlines but drops box-shadows. */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.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: 1000; background: var(--amber-500); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--ink); }

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 860px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-sm { padding: clamp(36px, 5vw, 64px) 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy-900); color: #c9d4e5; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .text-muted, .section-dark .section-head p { color: #b8c5d8; }
.grid { display: grid; gap: 24px; }
.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)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-reverse > :first-child { order: 2; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.stack > * + * { margin-top: 16px; }
.flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.flex-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-small { font-size: .9rem; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 40px; }
.hidden { display: none !important; }

/* Section heading */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-weight: 700; font-size: .78rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--amber-text);
    margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head.left .eyebrow::after { display: none; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- 4. Icons ---------- */
.icon { width: 20px; height: 20px; flex: 0 0 auto; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 36px; height: 36px; }
.icon-badge {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
    background: var(--amber-50); color: var(--amber-600); border: 1px solid var(--amber-100);
}
.icon-badge.dark { background: rgba(255, 180, 0, .12); border-color: rgba(255, 180, 0, .22); color: var(--amber-500); }
.icon-badge.navy { background: var(--navy-50); color: var(--navy-700); border-color: var(--navy-100); }

/* ---------- 5. Buttons ---------- */
.btn {
    --btn-bg: var(--navy-900); --btn-fg: var(--white); --btn-bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px; border-radius: 12px;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1;
    background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bd);
    cursor: pointer; text-decoration: none; white-space: nowrap;
    transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
}
.btn:hover { color: var(--btn-fg); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.btn[disabled], .btn.is-loading { opacity: .75; cursor: not-allowed; transform: none; box-shadow: none; pointer-events: none; }
.btn-primary { --btn-bg: var(--amber-500); --btn-fg: var(--navy-950); }
.btn-primary:hover { --btn-bg: var(--amber-400); }
.btn-dark { --btn-bg: var(--navy-900); --btn-fg: var(--white); }
.btn-dark:hover { --btn-bg: var(--navy-700); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: var(--line-strong); }
.btn-outline:hover { --btn-bd: var(--navy-900); }
.btn-ghost-light { --btn-bg: rgba(255, 255, 255, .08); --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { --btn-bg: rgba(255, 255, 255, .16); }
.btn-danger { --btn-bg: var(--danger); --btn-fg: var(--white); }
.btn-lg { min-height: 58px; padding: 16px 28px; font-size: 1.08rem; border-radius: 14px; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-family: var(--font-head); }
.link-arrow .icon { transition: transform .15s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- 6. Top stripe + header ---------- */
.topbar { background: var(--navy-900); color: #b8c5d8; font-size: .9rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 28px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; color: #b8c5d8; white-space: nowrap; }
.topbar-item .icon { color: var(--amber-500); }
.topbar-right .topbar-item { color: var(--white); font-weight: 600; }
.topbar a.topbar-item:hover { color: var(--amber-500); }
.brand-logo { height: 58px; width: auto; display: block; }
.site-footer .brand { background: var(--white); padding: 10px 16px; border-radius: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.site-footer .brand-logo { height: 50px; }

.site-header {
    position: sticky; top: 0; z-index: 100; height: var(--header-h);
    background: var(--white);
    border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(15, 23, 42, .06); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy-900); flex: 0 0 auto; }
.brand:hover { color: var(--navy-900); text-decoration: none; }
.brand-mark { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; }
.brand-sub { font-family: var(--font-head); font-weight: 700; font-size: .66rem; letter-spacing: .26em; color: var(--amber-600); margin-top: 5px; }
.brand.light, .brand.light:hover { color: var(--white); }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
    display: block; padding: 10px 14px; border-radius: 10px; white-space: nowrap;
    font-family: var(--font-head); font-weight: 700; font-size: .97rem; color: var(--ink);
}
.main-nav a:hover { background: var(--bg); color: var(--navy-900); text-decoration: none; }
.main-nav a.is-active { color: var(--navy-900); background: var(--amber-50); box-shadow: inset 0 -2px 0 var(--amber-500); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--navy-900); font-size: .95rem; }
.header-phone .icon { color: var(--amber-600); }
.nav-toggle {
    display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
    background: var(--white); color: var(--navy-900); cursor: pointer; place-items: center;
}
.mobile-drawer { display: none; }

/* ---------- 7. Hero ---------- */
.hero {
    position: relative; isolation: isolate; color: var(--white);
    padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px);
    background: var(--navy-950);
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(100deg, rgba(6, 17, 31, .94) 0%, rgba(6, 17, 31, .82) 38%, rgba(6, 17, 31, .35) 75%, rgba(6, 17, 31, .2) 100%),
        linear-gradient(0deg, rgba(6, 17, 31, .55), rgba(6, 17, 31, 0) 45%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 .hl { color: var(--amber-500); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d6deeb; max-width: 560px; margin-bottom: 28px; }
.hero-pill {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; margin-bottom: 22px;
    border-radius: var(--radius-pill); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
    font-size: .9rem; font-weight: 600; color: #e7edf6;
}
.hero-pill .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--amber-500); color: var(--navy-950); display: grid; place-items: center; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 28px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #e7edf6; }
.hero-points .icon { color: var(--amber-500); }

/* Light hero: bright Newark terminal photo, dark text */
.hero-light { color: var(--ink); background: #eef3f9; }
/* Tiny blurred preview of the hero photo, painted instantly while the real image loads */
.hero-light .hero-bg { background: #e9eef5 url("data:image/webp;base64,UklGRpoAAABXRUJQVlA4II4AAABQBgCdASooABYAPu1irU+ppSQiKrgMATAdiWcA0YAHlYUlf1/VUnvZaJQKRXuIBQAxJAzQi9xU7tLY8ADGRXjI7wC05VtfWvWjfqJWGvRgscBHdt0OPMdT9eCxZdNnCQqROJ3ZQrGPiO7z8MOtOp4n1MpjrruSRqtWECvNEiLLMaR4b+fCY1M57BkAAAAA") center 38% / cover no-repeat; }
.hero-light .hero-bg img { object-position: center 38%; }
.hero-light::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .9) 34%, rgba(255, 255, 255, .45) 62%, rgba(255, 255, 255, .08) 100%),
        linear-gradient(0deg, rgba(238, 243, 249, .9) 0%, rgba(238, 243, 249, 0) 30%);
}
.hero-light h1 { color: var(--navy-900); }
.hero-light h1 .hl { color: var(--navy-900); background: linear-gradient(transparent 60%, rgba(255, 180, 0, .6) 60%, rgba(255, 180, 0, .6) 92%, transparent 92%); padding: 0 .08em; }
.hero-light .hero-lead { color: var(--text); }
.hero-light .hero-pill { background: var(--white); border-color: var(--line); color: var(--navy-800); box-shadow: var(--shadow-sm); }
.hero-light .hero-points li { color: var(--ink); }
.hero-light .hero-points .icon { color: var(--amber-600); }
.hero-light .search-card { border-color: var(--line); }
.hero-caption { position: absolute; right: 16px; bottom: 12px; font-size: .72rem; color: rgba(15, 23, 42, .55); background: rgba(255, 255, 255, .7); padding: 3px 8px; border-radius: 6px; }

/* Inner page hero */
.page-hero {
    position: relative; isolation: isolate; color: var(--white); background: var(--navy-900);
    padding: clamp(44px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); overflow: hidden;
}
.page-hero.has-image::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(6, 17, 31, .95) 0%, rgba(6, 17, 31, .82) 55%, rgba(6, 17, 31, .55) 100%);
}
.page-hero .hero-bg img { object-position: center 40%; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 10px; }
.page-hero p { color: #d6deeb; font-size: 1.1rem; max-width: 640px; margin: 0; }
.page-hero::after {
    content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; z-index: -1;
    border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 180, 0, .22), rgba(255, 180, 0, 0));
}
/* Works both as <ol class="breadcrumb"> and as <nav class="breadcrumb" aria-label="Breadcrumb"><ol>…</ol></nav> */
.breadcrumb, .breadcrumb > ol { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; list-style: none; padding: 0; margin: 0 0 14px; font-size: .88rem; color: #9fb0c8; }
.breadcrumb > ol { margin: 0; font-size: inherit; }
.breadcrumb a { color: #c9d4e5; }
.breadcrumb a:not([class]) { text-decoration: none; }
.breadcrumb a:not([class]):hover { text-decoration: underline; }
.breadcrumb a:hover { color: var(--amber-500); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #5d7290; }

/* ---------- 8. Booking search widget ---------- */
.search-card {
    background: var(--white); color: var(--text); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: clamp(20px, 2.6vw, 30px);
    border: 1px solid rgba(255, 255, 255, .6); position: relative;
}
.search-card::before {
    content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 4px; border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, var(--amber-500), var(--amber-400));
}
.search-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.search-card-head h2 { font-size: 1.35rem; margin: 0; }
.search-card-head .tag {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--radius-pill);
    background: var(--navy-50); color: var(--navy-700); font-size: .78rem; font-weight: 700; font-family: var(--font-head); letter-spacing: .02em;
}
.search-fields { display: grid; gap: 14px; }
.dt-group { display: block; }
.dt-label { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.dt-label .icon { color: var(--amber-600); }
.dt-row {
    display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    border: 1.5px solid var(--field-border); border-radius: 12px; background: var(--white); overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
}
/* The row shows which group is active; the focused cell gets its own outline (drawn inside, the row clips overflow) */
.dt-row:focus-within { border-color: var(--navy-900); box-shadow: var(--ring); }
.dt-row.has-error { border-color: var(--danger); background: var(--danger-bg); }
.dt-cell { position: relative; display: flex; align-items: center; }
.dt-cell + .dt-cell { border-left: 1px solid var(--field-border); }
.dt-cell:focus-within { background: var(--amber-50); }
.dt-row.has-error .dt-cell:focus-within { background: transparent; }
.dt-cell .icon { position: absolute; left: 14px; color: var(--navy-600); pointer-events: none; }
.dt-cell input, .dt-cell select {
    width: 100%; height: 54px; border: 0; background: transparent;
    padding: 0 14px 0 42px; font: 600 1rem/1 var(--font-body); color: var(--ink); cursor: pointer;
    -webkit-appearance: none; appearance: none; border-radius: 8px;
}
.dt-cell input:focus-visible, .dt-cell select:focus-visible { outline: 3px solid var(--focus); outline-offset: -4px; }
.dt-cell select { padding-right: 34px; }
.dt-cell .caret { position: absolute; right: 12px; left: auto; color: var(--subtle); }
/* Browser date picker used only when the calendar script cannot load (maas.js): invisible, anchored under the field */
.dt-cell .native-date { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.search-actions { margin-top: 6px; }
.search-error { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--danger-bg); color: var(--danger); font-size: .92rem; font-weight: 600; }
.search-error.is-visible { display: flex; gap: 8px; align-items: center; }
.search-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: .88rem; color: var(--muted); }
.search-note .icon { color: var(--success); }

/* Horizontal variant (booking page) */
.search-inline .search-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; }
.search-inline .search-actions { margin: 0; }
.search-inline .btn { min-height: 57px; }

/* ---------- 9. Cards & content blocks ---------- */
.card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); padding: clamp(20px, 2.5vw, 30px);
}
.card + .card { margin-top: 20px; }
.grid > .card + .card, .split > .card + .card, .layout-aside > .card + .card { margin-top: 0; }
.card-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--ink); margin: 0 0 20px; }
.card-title .num {
    width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
    background: var(--navy-900); color: var(--amber-500); font-size: .95rem;
}
.card-hover { transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }

.feature { display: flex; flex-direction: column; gap: 14px; }
.feature h3 { font-size: 1.15rem; margin: 0; }
.feature p { color: var(--muted); margin: 0; }

.feature-row { display: flex; gap: 16px; align-items: flex-start; }
.feature-row h4 { margin: 0 0 4px; }
.feature-row p { margin: 0; color: var(--muted); }

/* Trust strip under hero */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-strip .grid { padding-top: 26px; padding-bottom: 26px; gap: 18px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1rem; line-height: 1.25; }
.trust-item span { color: var(--muted); font-size: .9rem; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step-num {
    position: absolute; top: 24px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1;
    color: var(--navy-50); -webkit-text-stroke: 1px var(--navy-100);
}
.step h3 { margin: 18px 0 8px; font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; }

/* Media / photo blocks */
.media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.media-badge {
    position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow);
}
.media-badge strong { display: block; font-family: var(--font-head); color: var(--ink); line-height: 1.2; }
.media-badge span { font-size: .85rem; color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .tick {
    flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    background: var(--amber-500); color: var(--navy-950); margin-top: 1px;
}
.check-list .tick .icon { width: 15px; height: 15px; stroke-width: 3; }
.check-list strong { color: var(--ink); }

/* Stats / facts */
.fact { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.fact strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--amber-500); line-height: 1.1; }
.fact span { color: #b8c5d8; font-size: .95rem; }

/* Location */
.location-card { display: grid; grid-template-columns: 1fr 1.2fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.location-info { padding: clamp(24px, 3.5vw, 44px); }
.location-map { min-height: 360px; background: var(--navy-50); }
.location-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.map-facade {
    display: grid; place-items: center; text-align: center; padding: 32px 24px; color: #c9d4e5;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 180, 0, .14), transparent 40%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 22px),
        linear-gradient(135deg, var(--navy-800), var(--navy-950));
}
.map-facade-inner { display: grid; gap: 10px; justify-items: center; max-width: 340px; }
.map-facade-inner strong { color: var(--white); font-family: var(--font-head); font-size: 1.1rem; }
.map-facade-inner .btn { margin-top: 8px; }
.map-facade.is-loaded { padding: 0; display: block; background: var(--navy-50); }
.info-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-family: var(--font-head); }
.info-list .value { color: var(--ink); font-weight: 600; }
.info-list a.value:hover { color: var(--navy-900); }

/* CTA band */
.cta-band {
    position: relative; overflow: hidden; border-radius: var(--radius-lg);
    background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 100%);
    padding: clamp(32px, 5vw, 56px); color: #d6deeb;
    display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.cta-band::after {
    content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 180, 0, .35), rgba(255, 180, 0, 0));
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-band .flex { position: relative; z-index: 1; }

/* ---------- 10. FAQ accordion ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
    font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.04rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* .faq-item clips overflow (rounded corners), so the focus outline is drawn inside the box */
.faq-item summary:focus-visible { outline: 3px solid var(--focus); outline-offset: -4px; border-radius: calc(var(--radius) - 2px); }
.faq-item summary .plus {
    flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
    background: var(--bg); color: var(--navy-700); transition: background .2s;
}
.faq-item summary .plus .icon { transition: transform .2s var(--ease); }
.faq-item[open] summary .plus { background: var(--amber-500); color: var(--navy-950); }
.faq-item[open] summary .plus .icon { transform: rotate(45deg); }
.faq-body { padding: 0 22px 20px; color: var(--muted); }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- 11. Forms ---------- */
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.cols-3 { grid-template-columns: 140px repeat(2, minmax(0, 1fr)); }
.form-grid .span-2 { grid-column: span 2; }
.field { display: block; }
.field-label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--text); margin-bottom: 8px; }
.field-label .req { color: var(--danger); margin-left: 2px; }
.field-hint { display: block; font-size: .82rem; color: var(--muted); margin-top: 6px; }
.input, .select, .textarea {
    width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px;
    border: 1.5px solid var(--field-border); background: var(--white); color: var(--ink);
    font: 500 1rem/1.3 var(--font-body); transition: border-color .15s, box-shadow .15s, background .15s;
    -webkit-appearance: none; appearance: none;
}
.select {
    padding-right: 40px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235b6b82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
.textarea { min-height: 130px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 1; }
.input:focus, .select:focus, .textarea:focus { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--navy-900); box-shadow: none; }
.input-error, .input.input-error, .select.input-error { border-color: var(--danger) !important; background-color: var(--danger-bg) !important; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--subtle); pointer-events: none; }
.input-icon .input { padding-left: 44px; }
.field-error { display: block; color: var(--danger); font-size: .85rem; font-weight: 600; margin-top: 6px; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }

/* ---------- 12. Alerts & badges ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; border: 1px solid transparent; font-size: .97rem; }
.alert .icon { margin-top: 2px; }
.alert-info { background: var(--info-bg); color: #1e3a8a; border-color: #d6e4ff; }
.alert-success { background: var(--success-bg); color: #14532d; border-color: #c6f0d6; }
.alert-danger { background: var(--danger-bg); color: #7f1d1d; border-color: #f7cfcf; }
.alert-warning { background: var(--amber-50); color: #7a4b00; border-color: var(--amber-100); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 700; font-family: var(--font-head); letter-spacing: .02em; }
.badge-amber { background: var(--amber-100); color: #7a4b00; }
.badge-navy { background: var(--navy-50); color: var(--navy-700); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }

/* ---------- 13. Booking page ---------- */
.booking-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; flex-wrap: wrap; }
.booking-steps li {
    display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #c9d4e5; font-size: .9rem; font-weight: 600;
}
.booking-steps .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); font-weight: 800; font-size: .8rem; color: var(--white); }
.booking-steps li.is-done .n { background: var(--success); }
.booking-steps li.is-current { background: var(--amber-500); border-color: var(--amber-500); color: var(--navy-950); }
.booking-steps li.is-current .n { background: var(--navy-950); color: var(--amber-500); }

.summary {
    position: sticky; top: calc(var(--header-h) + 20px);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden;
}
.summary-head { background: var(--navy-900); color: var(--white); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.summary-head h3 { color: var(--white); margin: 0; font-size: 1.15rem; }
.summary-body { padding: 22px 24px 24px; }
.summary-dates { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: start; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px dashed var(--line-strong); }
.summary-dates .lbl { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-family: var(--font-head); }
.summary-dates .date { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: .9rem; white-space: nowrap; letter-spacing: -.01em; margin-top: 2px; }
.summary-dates .time { font-size: .9rem; color: var(--muted); }
.summary-dates .arrow { color: var(--amber-600); align-self: center; width: 18px; height: 18px; }
.summary-dates > :last-child { text-align: right; }
.summary-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--muted); font-size: .97rem; }
.summary-row .amt { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.days-badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--navy-50); color: var(--navy-700); font-size: .75rem; font-weight: 700; white-space: nowrap; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; margin-top: 6px; border-top: 2px solid var(--ink); }
.summary-total .lbl { font-family: var(--font-head); font-weight: 800; color: var(--ink); }
.summary-total .total { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pay-note { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--success-bg); color: var(--success); font-size: .88rem; font-weight: 600; }
.summary-perks { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .9rem; color: var(--muted); }
.summary-perks li { display: flex; gap: 10px; align-items: center; }
.summary-perks .icon { color: var(--amber-600); width: 18px; height: 18px; }
/* Small phones: the two dates share the row without the arrow, the card body is a little narrower-padded,
   and a date that still does not fit breaks after the weekday ("Fri, / 20-Nov-2026") instead of spilling
   out of the card. "body" outranks the nowrap in the Manage page's own styles. */
@media (max-width: 400px) {
    .summary-body { padding-left: 16px; padding-right: 16px; }
    .summary-dates { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .summary-dates .arrow { display: none; }
    .summary-dates .date, body .ticket .summary-dates .date { white-space: normal; }
    /* "Parking Subtotal [3 Days] $23.97" stays on one line down to 320px */
    .summary-row { gap: 8px; }
}
/* Below 360px two columns are too narrow for "Wed, 08-Mar-2028": drop-off and pick-up stack instead */
@media (max-width: 359.98px) {
    .summary-dates { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .summary-dates > :last-child { text-align: left; }
}

/* Reservation ticket (confirmation / manage) */
.ticket { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.ticket-head { background: var(--navy-900); color: var(--white); padding: 26px 28px; display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.ticket-head h2, .ticket-head h3 { color: var(--white); margin: 0; }
.ticket-ref { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--amber-500); letter-spacing: .02em; }
.ticket-body { padding: 28px; }
.ticket-cut { position: relative; height: 0; border-top: 2px dashed var(--line-strong); margin: 0 28px; }
.ticket-cut::before, .ticket-cut::after { content: ""; position: absolute; top: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); }
.ticket-cut::before { left: -42px; } .ticket-cut::after { right: -42px; }
.ticket-barcode { text-align: center; padding: 24px 28px 30px; }
.ticket-barcode img { margin: 0 auto; max-width: 320px; width: 100%; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.kv .k { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-family: var(--font-head); margin-bottom: 2px; }
.kv .v { color: var(--ink); font-weight: 600; word-break: break-word; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th { text-align: left; font-family: var(--font-head); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--text); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fafbfd; }
.table tbody th { text-transform: none; letter-spacing: 0; font-size: .97rem; background: transparent; color: var(--ink); font-family: var(--font-head); font-weight: 700; white-space: normal; border-bottom: 1px solid var(--line); }
.table tbody tr:last-child th { border-bottom: 0; }
.table tr:hover th { background: #fafbfd; }

/* Prose (legal / long text) */
.prose { color: var(--text); font-size: 1.02rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }

/* Empty / status states */
.state { text-align: center; padding: clamp(32px, 6vw, 64px) 20px; }
.state .icon-badge { margin: 0 auto 18px; width: 72px; height: 72px; border-radius: 22px; }
.state .icon-badge .icon { width: 34px; height: 34px; }
.state h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.state p { color: var(--muted); max-width: 520px; margin-left: auto; margin-right: auto; }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--navy-950); color: #9fb0c8; padding-top: clamp(48px, 7vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .9fr 1.25fr 1.15fr; gap: 32px; padding-bottom: 48px; }
.footer-contact .nowrap { white-space: nowrap; }
.footer-grid h4 { color: var(--white); font-size: .95rem; letter-spacing: .02em; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: #c9d4e5; }
.footer-grid a:hover { color: var(--amber-500); }
.footer-about p { margin: 18px 0 0; max-width: 320px; }
.site-footer .brand-mark rect { fill: var(--navy-700); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--amber-500); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .88rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: #9fb0c8; }
.footer-bottom a:hover { color: var(--amber-500); }

/* Mobile sticky booking bar */
.mobile-cta { display: none; }

/* ---------- 15. jQuery UI datepicker (self-contained: the jQuery UI theme CSS is not loaded) ---------- */
.ui-helper-hidden-accessible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.ui-datepicker {
    display: none; z-index: 200 !important; width: 300px; padding: 12px; border: 1px solid var(--line);
    border-radius: 16px; box-shadow: var(--shadow-lg); background: var(--white); font-family: var(--font-body); font-size: 14px;
}
.ui-datepicker-header { position: relative; padding: 2px 0 10px; }
.ui-datepicker-title { margin: 0 44px; line-height: 34px; text-align: center; font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1rem; }
.ui-datepicker-prev, .ui-datepicker-next {
    position: absolute; top: 2px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line);
    background: var(--white); cursor: pointer; display: grid; place-items: center;
}
.ui-datepicker-prev { left: 0; } .ui-datepicker-next { right: 0; }
.ui-datepicker-prev:hover, .ui-datepicker-next:hover { background: var(--bg); }
.ui-datepicker-prev.ui-state-disabled { visibility: hidden; }
.ui-datepicker-prev span, .ui-datepicker-next span {
    display: block; width: 9px; height: 9px; overflow: hidden; text-indent: -9999px;
    border: solid var(--navy-700); border-width: 0 0 2px 2px; transform: rotate(45deg); margin-left: 3px;
}
.ui-datepicker-next span { transform: rotate(-135deg); margin-left: -3px; }
.ui-datepicker table { width: 100%; border-collapse: collapse; margin: 0; }
.ui-datepicker th { color: var(--muted); font-weight: 700; font-size: .75rem; text-transform: uppercase; padding: 6px 0; text-align: center; }
.ui-datepicker td { padding: 2px; }
.ui-datepicker td a, .ui-datepicker td span {
    display: block; text-align: center; border-radius: 10px; padding: 8px 0; color: var(--ink); font-weight: 600; text-decoration: none;
}
.ui-datepicker td a:hover { background: var(--amber-50); color: var(--navy-900); text-decoration: none; }
/* Day highlighted with the keyboard (jQuery UI marks it .ui-state-hover inside .ui-datepicker-days-cell-over) */
.ui-datepicker td.ui-datepicker-days-cell-over a.ui-state-hover { box-shadow: inset 0 0 0 2px var(--navy-900); }
.ui-datepicker td.ui-datepicker-days-cell-over a.ui-state-hover:not(.ui-state-active) { background: var(--amber-50); color: var(--navy-900); }
.ui-datepicker td .ui-state-highlight { background: var(--navy-50); color: var(--navy-700); }
.ui-datepicker td .ui-state-active { background: var(--amber-500); color: var(--navy-950); }
.ui-datepicker .ui-datepicker-other-month a { color: var(--muted); font-weight: 500; }
.ui-datepicker .ui-state-disabled { cursor: default; }
.ui-datepicker .ui-state-disabled span { color: #c3ccd8; }

/* ---------- 16. Responsive ---------- */
@media (max-width: 1080px) {
    .main-nav a { padding: 10px 10px; }
    .header-phone span { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Just above the menu-button breakpoint: tighter nav so the five labels stay on one line */
@media (min-width: 960.02px) and (max-width: 1000px) {
    .main-nav a { padding: 10px 7px; }
    .site-header .container { gap: 18px; }
}
@media (max-width: 960px) {
    :root { --header-h: 68px; }
    .main-nav, .header-actions .header-phone, .header-actions .btn { display: none; }
    .nav-toggle { display: grid; margin-left: auto; }
    .mobile-drawer {
        display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--white);
        padding: 20px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s var(--ease), visibility .25s;
    }
    /* Visible at once when opening (so the first link can take focus); hidden only after the slide-out */
    .mobile-drawer.is-open { transform: none; visibility: visible; transition: transform .25s var(--ease), visibility 0s; }
    .mobile-drawer ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 4px; }
    .mobile-drawer ul a { display: flex; justify-content: space-between; align-items: center; padding: 16px 14px; border-radius: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); border-bottom: 1px solid var(--line); }
    .mobile-drawer ul a:hover { text-decoration: none; }
    .mobile-drawer ul a.is-active, .mobile-drawer ul a[aria-current="page"] { background: var(--amber-50); box-shadow: inset 3px 0 0 var(--amber-500); }
    .mobile-drawer .btn { width: 100%; margin-top: 10px; }
    body.nav-open { overflow: hidden; }
    /* Keep a focused element clear of the fixed bottom booking bar (WCAG 2.4.11) */
    html:has(> body.has-mobile-cta) { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

    .hero-grid, .split, .layout-aside { grid-template-columns: 1fr; }
    .split-reverse > :first-child { order: 0; }
    .hero { padding-top: 40px; }
    .hero-light::before {
        background: linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .9) 32%, rgba(238, 243, 249, .96) 100%);
    }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* Tablets: two cards per row; an odd last card takes the full row instead of leaving a gap */
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
    .location-card { grid-template-columns: 1fr; }
    .cta-band { grid-template-columns: 1fr; }
    .summary { position: static; }
    .search-inline .search-fields { grid-template-columns: 1fr; }
    .mobile-cta {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15, 23, 42, .08);
    }
    .mobile-cta .btn { flex: 1; min-height: 50px; }
    .mobile-cta { transition: transform .25s var(--ease); }
    .mobile-cta.is-hidden { transform: translateY(110%); }
    .has-mobile-cta .site-footer { padding-bottom: 80px; }
}
@media (max-width: 640px) {
    body { font-size: 15.5px; }
    .container { padding: 0 16px; }
    .grid-2, .grid-3, .grid-4, .form-grid, .form-grid.cols-3, .kv { grid-template-columns: 1fr; }
    .form-grid .span-2 { grid-column: auto; }
    .hero-points { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .brand-logo { height: 44px; }
    .topbar { font-size: .82rem; }
    .topbar .container { justify-content: center; min-height: 38px; }
    .topbar-left { display: none; }
    .topbar-right { gap: 22px; }
    .ticket-body, .ticket-head { padding: 22px 18px; }
    .ticket-cut { margin: 0 18px; }
    .ticket-cut::before { left: -32px; } .ticket-cut::after { right: -32px; }
    .dt-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .dt-cell input { padding: 0 8px 0 36px; font-size: .95rem; }
    .dt-cell select { padding: 0 26px 0 34px; font-size: .95rem; }
    .dt-cell .icon { left: 11px; }
    .dt-cell .caret { right: 8px; left: auto; }
    .section-head { margin-bottom: 32px; }
}
/* Narrow phones: the date gets a little more room than the time, with tighter padding, so the longest
   values ("04-May-2027", "10:00 AM") show in full instead of being cut off at 320-374px. */
@media (max-width: 374.98px) {
    .dt-row { grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); }
    .dt-cell input { padding: 0 2px 0 28px; }
    .dt-cell select { padding: 0 20px 0 27px; }
    .dt-cell .icon { left: 7px; }
    .dt-cell .caret { right: 4px; left: auto; }
}
@media (max-width: 339.98px) {
    .dt-cell input, .dt-cell select { font-size: .9rem; }
}
@media (max-width: 640px) {
    .ui-datepicker { width: 290px; }
    .search-card-head .tag { display: none; }
    .search-card-head { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- 17. Print (confirmation tickets) ---------- */
@media print {
    .site-header, .site-footer, .mobile-cta, .no-print, .page-hero .breadcrumb { display: none !important; }
    body { background: #fff; }
    .page-hero { background: #fff !important; color: #000; padding: 0 0 12px; }
    .page-hero h1, .page-hero p { color: #000 !important; }
    .ticket { box-shadow: none; border: 1px solid #999; }
    .section, .section-sm { padding: 12px 0; }
}

/* ---------- 18. Policy pages ---------- */
.policy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.policy-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.policy-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.policy-list strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.02rem; margin-bottom: 4px; }
.policy-list p { margin: 0; color: var(--muted); }
.policy-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--amber-50); color: var(--amber-600); border: 1px solid var(--amber-100); }
.policy-aside { position: sticky; top: calc(var(--header-h) + 20px); }   /* clear of the sticky header */
@media (max-width: 960px) { .policy-aside { position: static; } }
/* FAQ side column ("Still Have Questions?" / "Already Booked?", ~860px tall) stays in view beside the long
   FAQ list. On most laptop screens it is taller than the space under the header, so it scrolls with the page
   until its bottom is in view and then stays put (sticky to the bottom, nothing is ever cut off); on screens
   tall enough for all of it, it sticks below the header. */
@media (min-width: 960.02px) {
    .layout-aside > .faq-aside { position: sticky; top: auto; bottom: 20px; align-self: end; }
}
@media (min-width: 960.02px) and (min-height: 1000px) {
    .layout-aside > .faq-aside { top: calc(var(--header-h) + 20px); bottom: auto; align-self: start; }
}

/* ---------- 19. Parking rates page ---------- */
.rates-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.rates-hero h1 { margin-bottom: 10px; }
.rate-badge {
    display: grid; gap: 2px; padding: 18px 22px; border-radius: var(--radius); min-width: 220px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 180, 0, .45);
}
.rate-from { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-500); font-family: var(--font-head); }
.rate-price { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1.05; color: var(--white); letter-spacing: -.02em; }
.rate-price small { font-size: 1rem; font-weight: 700; color: #c9d4e5; margin-left: 4px; }
.rate-note { font-size: .88rem; color: #c9d4e5; }
.rates-hero-hint { display: flex; gap: 8px; align-items: center; margin: 14px 0 0; font-size: .92rem; color: #c9d4e5; }
.rates-hero-hint .icon { color: var(--amber-500); }
.price-card { display: grid; gap: 10px; align-content: start; }
.price-card h3 { margin: 6px 0 0; }
.price-card p { margin: 0; }
.price-big { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--ink); line-height: 1.2; }
.price-big small { font-size: .95rem; font-weight: 700; color: var(--muted); }
.rates-table th[scope="row"] { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.rates-table .rates-total { font-family: var(--font-head); font-weight: 800; color: var(--ink); }
.table-sub { display: block; font-family: var(--font-body); font-weight: 400; font-size: .82rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 640px) {
    .rate-badge { width: 100%; }
    .rates-table th, .rates-table td { padding: 12px 10px; }
}

/* Light inner-page hero (bright photo, dark text) */
.page-hero.page-hero-light { background: #eef3f9; color: var(--ink); }
.page-hero.page-hero-light::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .9) 40%, rgba(255, 255, 255, .55) 75%, rgba(255, 255, 255, .35) 100%),
        linear-gradient(0deg, rgba(238, 243, 249, .9) 0%, rgba(238, 243, 249, 0) 40%);
}
.page-hero.page-hero-light::after { background: radial-gradient(closest-side, rgba(255, 180, 0, .18), rgba(255, 180, 0, 0)); }
.page-hero-light h1 { color: var(--navy-900); }
.page-hero-light p { color: var(--text); }
.page-hero-light .breadcrumb, .page-hero-light .breadcrumb li + li::before { color: var(--muted); }
.page-hero-light .breadcrumb a { color: var(--navy-700); }
.page-hero-light .search-card { border-color: var(--line); }
.page-hero-light .rates-hero-hint { color: var(--muted); }
.page-hero-light .rates-hero-hint .icon { color: var(--amber-600); }
.page-hero-light .rate-badge { background: var(--white); border: 1px solid var(--amber-100); box-shadow: var(--shadow); }
.page-hero-light .rate-from { color: var(--amber-text); }
.page-hero-light .rate-price { color: var(--navy-900); }
.page-hero-light .rate-price small, .page-hero-light .rate-note { color: var(--muted); }
.rates-page-hero .hero-bg img { object-position: center 55%; }

/* ---------- 20. Mobile overflow guards ---------- */
/* Grid/flex children may shrink below their content width (long buttons, tables) instead of widening the page */
.grid > *, .split > *, .layout-aside > *, .hero-grid > *, .rates-hero > *, .footer-grid > *, .location-card > * { min-width: 0; }
.split, .hero-grid, .layout-aside { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.layout-aside { grid-template-columns: minmax(0, 1fr) 380px; }
/* Only on body: it propagates to the viewport, so the sticky header keeps working (also while the menu is open) */
body { overflow-x: clip; }
@media (max-width: 960px) {
    .split, .hero-grid, .layout-aside { grid-template-columns: minmax(0, 1fr); }
    .btn { white-space: normal; text-align: center; line-height: 1.2; text-wrap: balance; }
    .flex > .btn-lg { flex: 1 1 auto; }
    /* Home hero on mobile: headline + text, then the booking form, then the bullet points */
    .hero-grid { row-gap: 0; }
    .hero-copy { display: contents; }
    .hero-copy > * { order: 1; }
    /* The pill is a grid item here: keep it as wide as its text instead of stretching across the hero */
    .hero-copy > .hero-pill { justify-self: start; }
    .hero-form { order: 2; margin: 6px 0 24px; }
    /* The trust strip right below repeats these points, so hide them on mobile */
    .hero-copy .hero-points { display: none; }
    .hero-form { margin-bottom: 0; }
}
/* Booking widget note: one benefit per line */
.search-perks { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .88rem; color: var(--muted); }
.search-perks li { display: inline-flex; align-items: center; gap: 6px; }
.search-perks .icon { color: var(--success); }
.search-perks-box { container-type: inline-size; }
@media (max-width: 640px) {
    /* Owner rule: the three perks stay on ONE line on every phone. The text is sized from the card width
       (cqi; vw fallback for older browsers) so it is as large as fits: Inter needs ~22.65px of width per px
       of font for the three labels, plus 2 x 4px gaps and, when shown, 3 x 15px for the icons.
       Result: 10.6px at 320px, 11.5px at 340px, 12.3px at 360px, 13px from 375px. */
    .search-perks {
        flex-wrap: nowrap; justify-content: space-between; gap: 4px;
        font-size: clamp(10px, calc((100vw - 119px) / 23.2), 13px);
        font-size: clamp(10px, calc((100cqi - 53px) / 23.2), 13px);
    }
    .search-perks li { gap: 3px; white-space: nowrap; }
    .search-perks .icon { width: 12px; height: 12px; }
    .search-card { padding: 18px 16px; }
    /* Rates tables: short headers so all columns fit without sideways scrolling */
    .th-long { display: none; }
    .rates-table { font-size: .9rem; }
    .rates-table th, .rates-table td { padding: 11px 8px; }
    .rates-table thead th { font-size: .7rem; letter-spacing: .04em; white-space: normal; }
    .table-sub { display: none; }
}
@media (min-width: 641px) { .th-short { display: none; } }

/* Narrower phones: drop the decorative check icons so the perk text can stay bigger */
@media (max-width: 409.98px) {
    .search-perks .icon { display: none; }
    .search-perks {
        font-size: clamp(10px, calc((100vw - 74px) / 23.2), 13px);
        font-size: clamp(10px, calc((100cqi - 8px) / 23.2), 13px);
    }
}

/* Hero pill stays on one line on phones (owner rule); sized to the container width (text ~21.4px per px of
   font + 50px for the dot, gap, padding and border): 12.7px at 360px, 14px from 389px. */
@media (max-width: 640px) {
    .hero-pill { white-space: nowrap; font-size: clamp(10px, calc((100vw - 82px) / 21.9), 14px); gap: 8px; padding: 6px 12px 6px 6px; max-width: 100%; }
    .hero-pill .dot { width: 22px; height: 22px; flex: 0 0 22px; }
}
/* Narrow phones: tighter pill spacing and letter-spacing (same words) so the text stays at 12px or more:
   43px of chrome -> 12.3px at 340px, 13.3px at 360px. Below 340px the decorative plane dot is dropped
   (22px of chrome) -> 12.4px at 320px. */
@media (max-width: 374.98px) {
    .hero-pill { gap: 6px; padding: 5px 10px 5px 5px; letter-spacing: -.01em; font-size: clamp(10px, calc((100vw - 75px) / 21.5), 14px); }
    .hero-pill .dot { width: 20px; height: 20px; flex: 0 0 20px; }
}
@media (max-width: 339.98px) {
    .hero-pill { padding-left: 10px; font-size: clamp(10px, calc((100vw - 54px) / 21.5), 14px); }
    .hero-pill .dot { display: none; }
}

/* Big buttons on phones: 16px text and less side padding (same words) so labels such as "See Newark Airport
   Parking Rates" (from 360px), "Reserve Long-Term Parking", "Find My Reservation" and "Complete Booking" fit on
   one line; a label that still cannot fit wraps into two even lines. */
@media (max-width: 413.98px) {
    .btn-lg { padding-left: 16px; padding-right: 16px; gap: 8px; font-size: 1rem; }
}
@media (max-width: 374.98px) {
    .btn-lg { padding-left: 12px; padding-right: 12px; }
}

/* Accessibility: amber text on dark backgrounds stays bright; decorative step numbers come from CSS */
.section-dark .eyebrow, .page-hero:not(.page-hero-light) .eyebrow, .hero:not(.hero-light) .eyebrow, .cta-band .eyebrow,
.map-facade .eyebrow, .ticket-head .eyebrow, .summary-head .eyebrow { color: var(--amber-500); }
.step-num::before { content: attr(data-num); }

/* Focus colour per surface: navy on light surfaces (default), amber on navy surfaces.
   White components placed on a dark section switch back to navy. */
.card, .search-card, .faq-item, .ticket, .summary, .location-card, .step, .table-wrap, .mobile-drawer, .mobile-cta { --focus: var(--navy-900); }
.topbar, .site-footer, .section-dark, .cta-band, .page-hero:not(.page-hero-light), .hero:not(.hero-light),
.map-facade, .ticket-head, .summary-head { --focus: var(--amber-500); }

/* Windows High Contrast / forced colours: box-shadows and background tints are removed, so make sure
   every focus state is an outline in a system colour and buttons keep a visible edge. */
@media (forced-colors: active) {
    :focus-visible, .btn:focus-visible, .input:focus, .select:focus, .textarea:focus,
    .dt-cell input:focus-visible, .dt-cell select:focus-visible, .faq-item summary:focus-visible { outline: 3px solid Highlight; }
    .dt-row:focus-within { border-color: Highlight; }
    .ui-datepicker td.ui-datepicker-days-cell-over a.ui-state-hover { outline: 2px solid Highlight; outline-offset: -2px; }
    .btn { border-color: ButtonText; }
    .mobile-drawer ul a[aria-current="page"], .main-nav a[aria-current="page"] { text-decoration: underline; }
}
.footer-grid .footer-title { font-family: var(--font-head); color: var(--white); font-size: .95rem; letter-spacing: .02em; margin: 0 0 18px; font-weight: 700; line-height: 1.3; }
/* Rendering performance: sections below the hero/trust strip are laid out only when they come near the
   screen (halves the first layout on phones). Not used on the footer: Lighthouse/axe cannot read the
   footer's dark background while it is skipped and would report false contrast errors. */
main > section:not(:first-child):not(.trust-strip) { content-visibility: auto; contain-intrinsic-size: auto 700px; }
