/* =========================================================
   Prime Airport Parking Newark — design system
   Prime green + runway orange, Outfit headings, DM Sans body,
   white header, split photo hero with the booking card on the right.
   ========================================================= */

:root {
  --brand-950: #03221b;
  --brand-900: #05362a;
  --brand-800: #0a4a39;
  --brand-700: #0f6a50;
  --brand-600: #168a67;
  --accent-600: #b4470c;
  --accent-500: #ff7a21;
  --accent-400: #ff9142;
  --accent-300: #ffb07a;
  --accent-100: #ffe5d2;
  --accent-50: #fff4ec;
  --ivory: #f1f6f3;
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #0e1b17;
  --text: #2e3a36;
  --muted: #5a6b65;
  --line: #dfe7e3;
  --line-strong: #c6d3cd;
  --success: #1f8a5b;
  --success-bg: #e8f5ee;
  --danger: #b93a2f;
  --danger-bg: #fbeceb;
  --info-bg: #e7f3ee;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(6, 30, 24, .06), 0 1px 3px rgba(6, 30, 24, .08);
  --shadow: 0 12px 30px -14px rgba(6, 30, 24, .28);
  --shadow-lg: 0 30px 60px -22px rgba(3, 18, 14, .5);
  --ring: 0 0 0 3px rgba(255, 122, 33, .35);

  --font-display: "Outfit", "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --header-h: 74px;
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--accent-600); }
/* Phone numbers and email addresses in page text: black and bold. Zero-specificity :where() so
   contextual rules (dark sections, footer, buttons) still decide their own colour. */
:where(main) a:where([href^="tel:"], [href^="mailto:"]):where(:not([class])) { color: var(--ink); font-weight: 700; }
:where(main) a:where([href^="tel:"], [href^="mailto:"]):where(:not([class])):hover { color: var(--accent-600); }
:where(.section-dark, .section-photo, .section-vip, .page-hero, .hero, .cta-band, .ticket-top) a:where([href^="tel:"], [href^="mailto:"]):where(:not([class])) { color: #fff; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
::selection { background: var(--accent-300); color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-weight: 800; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--accent-500); color: var(--ink); padding: 8px 14px; border-radius: 6px; z-index: 1000; }
.skip-link:focus { left: 8px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-dark { background: var(--brand-800); color: #d1e4db; }
.section-photo { position: relative; background: var(--brand-700); color: #e3efe9; }
.section-photo.has-media::before { background: linear-gradient(180deg, rgba(15, 106, 80, .93), rgba(10, 74, 57, .95)); }
.section-photo h2, .section-photo h3 { color: #fff; }
.section-photo .section-head h2 { color: var(--accent-500); }
.section-photo .section-head p, .section-photo .feature p { color: #d1e4db; }
.section-photo .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.section-photo .card-hover:hover { border-color: var(--accent-500); background: rgba(255, 255, 255, .1); }
.section-photo .icon-badge { background: rgba(255, 122, 33, .14); border-color: rgba(255, 122, 33, .45); color: var(--accent-500); }
.section-vip { background: var(--brand-900); }
.section-vip.has-media::before { background: linear-gradient(90deg, rgba(3, 34, 27, .96) 0%, rgba(5, 54, 42, .86) 50%, rgba(5, 54, 42, .55) 100%); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-ivory { background: var(--ivory); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.075rem; }
.section-dark .section-head p { color: #a5bfb3; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-600); background: var(--accent-50); border: 1px solid var(--accent-100);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.section-dark .eyebrow, .section-photo .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--accent-300); background: rgba(255, 122, 33, .12); border-color: rgba(255, 122, 33, .32); }

.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)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 64px 0; } .container { padding: 0 16px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--accent-500); color: var(--brand-950); font-weight: 700; box-shadow: 0 8px 20px -10px rgba(255, 122, 33, .9); }
.btn-gold:hover { background: var(--accent-400); color: var(--brand-950); box-shadow: 0 12px 26px -10px rgba(255, 122, 33, 1); }
.btn-navy { background: var(--brand-800); color: #fff; }
.btn-navy:hover { background: var(--brand-700); color: #fff; }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--accent-500); color: var(--ink); background: var(--accent-50); }
.btn-outline-light { border-color: rgba(255, 255, 255, .3); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: var(--accent-400); color: var(--accent-300); }
.btn-link { background: none; border: 0; padding: 0; min-height: 0; color: var(--brand-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 1.05rem; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }

/* ---------- Header ---------- */
.topbar { background: var(--brand-950); color: #93b0a3; font-size: .82rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: #cde0d7; }
.topbar a:hover { color: var(--accent-300); }
.topbar-items { display: flex; gap: 22px; align-items: center; }
.topbar-items span, .topbar-items a { display: inline-flex; gap: 8px; align-items: center; }
.topbar svg { width: 14px; height: 14px; color: var(--accent-400); }
.topbar-items a, .topbar-items span { white-space: nowrap; }
@media (max-width: 960px) { .topbar .topbar-hide-sm { display: none; } }
@media (max-width: 520px) {
  .topbar .container { justify-content: center; }
  .topbar .topbar-items:first-child { display: none; }
}

.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: rgba(255, 255, 255, .97); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px -20px rgba(6, 30, 24, .5);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.brand:hover { color: #fff; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; letter-spacing: .01em; }
.brand-name b { color: var(--accent-500); font-weight: 700; }
.brand-sub { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-300); margin-top: 6px; font-weight: 600; }
.site-header .brand, .site-header .brand:hover { color: var(--ink); }
.site-header .brand-name b { color: var(--brand-700); }
.site-header .brand-sub { color: var(--accent-600); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { position: relative; color: var(--text); font-size: .95rem; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a.is-active { color: var(--brand-700); }
.nav a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 3px; border-radius: 3px; background: var(--accent-500); }
.site-header .btn-outline-light { border-color: var(--line-strong); color: var(--ink); }
.site-header .btn-outline-light:hover { border-color: var(--brand-700); color: var(--brand-700); background: var(--ivory); }
.nav-cta { display: flex; gap: 10px; align-items: center; margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.site-header .nav-toggle { border-color: var(--line-strong); color: var(--ink); }

@media (max-width: 1080px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--brand-950); color: #fff;
  display: flex; flex-direction: column; padding: 20px 20px 32px; transform: translateX(100%);
  transition: transform .3s ease, visibility .3s; visibility: hidden; overflow-y: auto;
}
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-nav a.mobile-link { color: #dfece6; font-family: var(--font-display); font-size: 1.5rem; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav a.mobile-link:hover, .mobile-nav a.mobile-link.is-active { color: var(--accent-300); }
.mobile-nav .btn { margin-top: 14px; }
.mobile-nav-contact { margin-top: auto; padding-top: 28px; color: #93b0a3; font-size: .92rem; }
.mobile-nav-contact a { color: var(--accent-300); }
body.nav-open { overflow: hidden; }

/* ---------- Photo media layer ----------
   <section class="... has-media"> + partial _BgMedia:
   blurred placeholder (.media-ph) -> photo (.bg-media) fades in -> overlay (::before) -> content. */
.has-media { position: relative; isolation: isolate; }
.media-layer { position: absolute; inset: 0; z-index: -2; overflow: hidden; border-radius: inherit; pointer-events: none; }
.media-ph, .bg-media { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.media-ph { background: var(--brand-800) center / cover no-repeat; filter: blur(14px); transform: scale(1.1); }
.media-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .1) 50%, transparent 70%); background-size: 220% 100%; animation: mediaShimmer 1.6s linear infinite; }
.bg-media { object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .7s ease, transform 1.2s ease; }
.bg-media.is-loaded { opacity: 1; transform: none; }
.media-layer.is-ready .media-ph::after { display: none; }
.has-media::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; }
/* The home hero holds the calendar popup, which overflows below it: keep it above later sections. */
.hero.has-media { z-index: 2; }
@keyframes mediaShimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .bg-media { transition: none; transform: none; } .media-ph::after { animation: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; padding: 0;
  background: var(--brand-700);
}
.hero.has-media::before { background: linear-gradient(180deg, rgba(5, 54, 42, .55) 0%, rgba(15, 106, 80, .38) 45%, rgba(5, 54, 42, .62) 100%); }
.hero .steps-wrap { background: transparent; border-bottom: 0; }
.hero .steps { padding: 30px 0 10px; }
.hero .step { color: #fff; }
.hero .step-label { text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 860px; padding-top: 34px; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; margin: 0 auto 18px; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.hero-lead { font-size: 1.15rem; line-height: 1.55; max-width: 800px; color: #fff; margin: 0 auto 16px; text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }
.hero-lead-sm { margin-bottom: 14px; }
.hero-link { display: inline-block; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.hero-link:hover { color: var(--accent-500); }
.hero-bottom { position: relative; z-index: 3; padding: 40px 24px 72px; }
@media (max-width: 640px) {
  .hero .steps { padding-top: 22px; }
  .hero-inner { padding-top: 20px; }
  .hero-lead { font-size: 1.02rem; }
  .hero-bottom { padding: 28px 16px 48px; }
}

.trust-strip { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; justify-content: center; margin-top: 32px; color: #dbe9e3; font-size: .9rem; }
.trust-strip > div { display: inline-flex; align-items: center; gap: 6px; }
.trust-strip strong { color: #fff; font-family: var(--font-display); font-size: 1.4rem; margin-right: 4px; }
.stars { color: var(--accent-400); letter-spacing: 2px; }

/* Home: split hero (copy on the left, booking card on the right) */
.hero-split { background: var(--brand-900); }
.hero-split.has-media::before { background: linear-gradient(100deg, rgba(3, 34, 27, .96) 0%, rgba(5, 54, 42, .88) 40%, rgba(5, 54, 42, .4) 70%, rgba(5, 54, 42, .15) 100%); }
.hero-grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-top: 76px; padding-bottom: 92px; }
.hero-copy { max-width: 600px; }
.hero-split h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.5rem); font-weight: 800; line-height: 1.08; margin: 0 0 18px; text-shadow: none; }
.hero-accent { color: var(--accent-500); }
.hero-split .hero-lead { margin: 0 0 22px; max-width: 560px; font-size: 1.12rem; color: #dbe9e3; text-shadow: none; }
.hero-points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; color: #eaf3ef; font-size: .98rem; }
.hero-points svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--accent-400); }
.hero-stats { display: flex; gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; }
.hero-stats > div { flex: 1; padding-right: 18px; }
.hero-stats > div + div { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .14); }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: #fff; line-height: 1.1; }
.hero-stats span { font-size: .82rem; color: #a5bfb3; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.hero-book { position: relative; }
.hero-book-tag { position: absolute; top: -16px; right: 22px; z-index: 2; background: var(--accent-500); color: var(--brand-950); font-weight: 700; font-size: .85rem; padding: 6px 14px; border-radius: 999px; box-shadow: 0 10px 20px -12px rgba(255, 122, 33, .9); }
.hero-book-tag strong { font-family: var(--font-display); font-size: 1.05rem; }
.hero-book .bw { max-width: none; padding: 26px 24px 22px; border: 0; border-top: 5px solid var(--accent-500); border-radius: var(--radius-lg); }
.hero-book .bw-title { flex-direction: column; align-items: flex-start; gap: 4px; }
.hero-book .bw-title h2 { font-size: 1.5rem; }
.hero-book .bw-grid { grid-template-columns: 1fr; gap: 14px; }
.hero-book .bw-submit { width: 100%; height: 54px; font-size: 1.02rem; }
.hero-book-note { margin: 14px 4px 0; font-size: .88rem; color: #cde0d7; text-align: center; }
.hero-book-note a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hero-book-note a:hover { color: var(--accent-300); }
@media (max-width: 980px) {
  /* One column: the booking card comes straight after the headline, the selling points and stats follow it. */
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 40px; padding-bottom: 48px; }
  .hero-split.has-media::before { background: linear-gradient(180deg, rgba(3, 34, 27, .9) 0%, rgba(5, 54, 42, .86) 60%, rgba(3, 34, 27, .94) 100%); }
  .hero-copy { display: contents; }
  .hero-copy > .eyebrow { justify-self: start; order: 1; }
  .hero-split h1 { order: 2; }
  .hero-split .hero-lead { order: 3; margin-bottom: 30px; }
  .hero-book { order: 4; margin-bottom: 32px; }
  .hero-points { order: 5; }
  .hero-stats { order: 6; }
}
@media (max-width: 560px) {
  .hero-stats strong { font-size: 1.45rem; }
  .hero-stats > div { padding-right: 10px; }
  .hero-stats > div + div { padding-left: 10px; }
  .hero-book .bw { padding: 22px 16px 18px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #dbe9e3; padding: 80px 0 72px;
  background: var(--brand-800);
}
.page-hero.has-media::before { background: linear-gradient(90deg, rgba(3, 34, 27, .92) 0%, rgba(10, 74, 57, .78) 55%, rgba(10, 74, 57, .5) 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--accent-500) 0, var(--accent-500) 22%, var(--brand-600) 22%, var(--brand-600) 100%); }
.page-hero h1 { padding-left: 18px; border-left: 5px solid var(--accent-500); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.page-hero p { max-width: 680px; font-size: 1.08rem; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: #89a699; margin-bottom: 18px; flex-wrap: wrap; list-style: none; padding: 0; }
.breadcrumb a { color: #cde0d7; }
.breadcrumb a:hover { color: var(--accent-300); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #55756a; }

/* ---------- Booking widget ---------- */
.bw {
  position: relative; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 20px 22px; border: 1px solid rgba(255, 122, 33, .25); color: var(--text);
  max-width: 860px; margin: 0 auto;
}
.bw-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 4px 16px; flex-wrap: wrap; }
.bw-title h2 { font-size: 1.35rem; margin: 0; }
.bw-title .muted { font-size: .88rem; display: inline-flex; gap: 6px; align-items: center; }
.bw-title .muted svg { width: 16px; height: 16px; color: var(--success); }
.bw-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.bw-field { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bw-label { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-left: 4px; }
.bw-control {
  position: relative; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px;
  background: #f2f6f4; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.bw-control:hover { border-color: var(--line-strong); background: #e8efeb; }
.bw-control.is-active, .bw-control:focus-within { border-color: var(--accent-500); background: #fff; box-shadow: var(--ring); }
.bw-control > svg { width: 18px; height: 18px; color: var(--accent-600); flex: none; }
.bw-control input, .bw-control select {
  border: 0; background: transparent; outline: none; width: 100%; height: 100%; min-width: 0;
  font-weight: 600; color: var(--ink); font-size: .98rem; cursor: pointer; padding: 0;
  appearance: none; -webkit-appearance: none; box-shadow: none;
}
.bw-control input::placeholder { color: #8a93a3; font-weight: 500; }
.bw-control select { padding-right: 18px; }
.bw-control.has-caret::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.bw-submit { height: 52px; padding: 0 26px; border-radius: 12px; }
.bw-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin: 14px 4px 0; font-size: .88rem; color: var(--muted); }
.bw-foot .bw-duration { font-weight: 600; color: var(--brand-700); display: inline-flex; gap: 6px; align-items: center; }
.bw-foot .bw-duration svg { width: 16px; height: 16px; color: var(--accent-600); }
.bw-promo { display: none; margin-top: 12px; gap: 10px; }
.bw-promo.is-open { display: flex; }
.bw-promo input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #f2f6f4; font-weight: 600; text-transform: uppercase; }
.bw-promo input:focus { outline: none; border-color: var(--accent-500); box-shadow: var(--ring); background: #fff; }
.bw-error { display: none; margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: var(--danger-bg); color: var(--danger); font-size: .9rem; font-weight: 500; }
.bw-error.is-visible { display: block; }

.bw-submit { min-width: 170px; }
.bw--bar { padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow); }

@media (max-width: 860px) {
  .bw-grid { grid-template-columns: 1fr 1fr; }
  .bw-submit-wrap { grid-column: 1 / -1; }
  .bw-submit { width: 100%; }
}
@media (max-width: 560px) {
  .bw-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .bw { padding: 16px; }
  .bw-control { padding: 0 10px; gap: 8px; }
  .bw-control > svg { display: none; }
  .bw-control input, .bw-control select { font-size: .92rem; }
}

/* ---------- Range calendar ---------- */
.cal-pop {
  position: absolute; z-index: 80; top: calc(100% + 10px); left: 0;
  width: 800px; max-width: calc(100vw - 32px);
  max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 16px 20px 0; display: none; color: var(--text);
}
.cal-pop.is-open { display: block; animation: calIn .16s ease-out; }
@keyframes calIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.cal-mode { display: flex; gap: 8px; flex: none; }
.cal-mode button { border: 1px solid var(--line); background: #f5f9f7; border-radius: 10px; padding: 7px 14px; text-align: left; cursor: pointer; min-width: 150px; }
.cal-mode button small { display: block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.cal-mode button span { font-weight: 700; color: var(--ink); font-size: .95rem; }
.cal-mode button.is-current { border-color: var(--accent-500); background: var(--accent-50); box-shadow: var(--ring); }
.cal-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--ink); }
.cal-close svg { width: 16px; height: 16px; }
.cal-body { position: relative; }
.cal-nav { position: absolute; top: 2px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; z-index: 2; color: var(--brand-800); }
.cal-nav:hover:not([disabled]) { border-color: var(--accent-500); background: var(--accent-50); }
.cal-nav[disabled] { opacity: .3; cursor: default; }
.cal-nav svg { width: 16px; height: 16px; }
.cal-prev { left: 0; }
.cal-next { right: 0; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.cal-month-title { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); height: 38px; line-height: 38px; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow span { text-align: center; font-size: .68rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.cal-grid { row-gap: 2px; }
.cal-day {
  position: relative; height: 38px; border: 0; background: transparent; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ink);
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.cal-day span { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: background .12s; }
.cal-day:hover:not([disabled]):not(.is-empty) span { background: var(--accent-100); }
.cal-day.is-today span { box-shadow: inset 0 0 0 1.5px var(--accent-500); }
.cal-day[disabled] { color: #c3c7cf; cursor: not-allowed; }
.cal-day.is-empty { cursor: default; pointer-events: none; }
.cal-day.is-inrange::before, .cal-day.is-preview::before, .cal-day.is-start.has-range::before, .cal-day.is-end.has-range::before {
  content: ""; position: absolute; top: 1px; bottom: 1px; left: 0; right: 0; background: var(--accent-100);
}
.cal-day.is-preview::before { background: var(--accent-50); }
.cal-day.is-start.has-range::before { left: 50%; }
.cal-day.is-end.has-range::before { right: 50%; }
.cal-day.is-start.is-end::before { display: none; }
.cal-day.is-end-preview::before { content: ""; position: absolute; top: 1px; bottom: 1px; left: 0; right: 50%; background: var(--accent-50); }
.cal-day.is-end-preview span { background: var(--brand-600); color: #fff; }
.cal-day.is-start span, .cal-day.is-end span { background: var(--brand-800); color: #fff; }
.cal-day.is-start:hover span, .cal-day.is-end:hover span { background: var(--brand-700) !important; }
.cal-times { display: grid; grid-template-columns: 180px 180px; gap: 12px; }
.cal-time { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cal-time small { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-left: 2px; }
.cal-time .bw-control { height: 46px; }
.cal-time.is-current .bw-control { border-color: var(--accent-500); background: #fff; }
.cal-times.is-attn .cal-time[data-time-for="end"] .bw-control { animation: calAttn 1.2s ease-out; }
@keyframes calAttn { 0%, 60% { box-shadow: 0 0 0 4px rgba(255, 122, 33, .45); } 100% { box-shadow: none; } }
.cal-foot {
  position: sticky; bottom: 0; z-index: 4; background: #fff;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin: 10px -20px 0; padding: 12px 20px 16px;
  box-shadow: 0 -10px 18px -14px rgba(3, 34, 27, .35);
}
.cal-summary { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 8px; font-size: .84rem; color: var(--muted); line-height: 1.4; }
.cal-summary strong { color: var(--ink); font-weight: 600; }
.cal-range { white-space: nowrap; }
.cal-dur { white-space: nowrap; display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--accent-50); border: 1px solid var(--accent-300); color: var(--brand-800); font-weight: 700; font-size: .76rem; }
.cal-dur.is-error { background: var(--danger-bg); border-color: #f0c9c5; color: var(--danger); }
.cal-actions { display: flex; gap: 10px; }
.cal-actions .btn { min-height: 46px; padding: 0 22px; }
.cal-actions [data-cal-done] { min-width: 120px; }
.cal-backdrop { display: none; }

@media (max-width: 760px) {
  .cal-pop {
    position: fixed; left: 0 !important; right: 0; top: auto !important; bottom: 0; width: 100%; max-width: 100%;
    border-radius: 22px 22px 0 0; padding: 14px 16px 0;
    max-height: 92vh; max-height: 92dvh; overflow-y: auto; z-index: 95;
  }
  .cal-pop.is-open { animation: calUp .22s ease-out; }
  @keyframes calUp { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }
  .cal-top { flex-wrap: wrap; gap: 8px 10px; }
  .cal-mode { flex: 1; min-width: 0; }
  .cal-mode button { min-width: 0; flex: 1; padding: 7px 10px; }
  .cal-summary { order: 3; flex-basis: 100%; justify-content: space-between; gap: 6px; font-size: .78rem; }
  .cal-dur { padding: 2px 8px; font-size: .72rem; }
  .cal-months { grid-template-columns: 1fr; }
  .cal-months .cal-month:nth-child(2) { display: none; }
  .cal-day { height: 40px; }
  .cal-backdrop { position: fixed; inset: 0; background: rgba(3, 34, 27, .55); z-index: 94; }
  .cal-backdrop.is-open { display: block; }
  .cal-foot { margin: 8px -16px 0; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); gap: 10px; }
  .cal-times { grid-template-columns: 1fr 1fr; width: 100%; gap: 10px; }
  .cal-time .bw-control { height: 44px; }
  .cal-actions { width: 100%; }
  .cal-actions .btn { flex: 1; }
}

/* ---------- Stepper ---------- */
.steps-wrap { background: var(--brand-900); border-bottom: 1px solid rgba(255, 122, 33, .18); }
.steps { display: flex; list-style: none; margin: 0 auto; padding: 22px 0; max-width: 860px; }
/* Demo-style progress: blue dots on a blue line, current step yellow. */
.step { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: .92rem; color: #fff; font-weight: 500; }
.step::before { content: ""; position: absolute; top: 18px; left: -50%; right: 50%; height: 4px; margin-top: -2px; background: #2a8a68; }
.step:first-child::before { display: none; }
.step-dot { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; color: #fff; background: #2a8a68; position: relative; z-index: 1; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.step-dot svg { width: 18px; height: 18px; }
.step.is-done .step-dot { background: #fff; color: var(--brand-800); }
.step.is-current { color: var(--accent-500); font-weight: 600; }
.step.is-current .step-dot { background: var(--accent-500); color: var(--brand-950); }
.step a { color: inherit; display: contents; }
@media (max-width: 560px) { .step { font-size: .72rem; } .steps { padding: 18px 0; } }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card-hover { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-300); }
.card.feature { border-top: 3px solid var(--brand-700); }
.card.feature:hover { border-top-color: var(--accent-500); }
.section-dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); box-shadow: none; color: #cde0d7; }

.icon-badge { width: 54px; height: 54px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-800); color: var(--accent-400); border: 1px solid var(--brand-700); margin-bottom: 18px; flex: none; box-shadow: 0 10px 20px -14px rgba(3, 34, 27, .9); }
.icon-badge svg { width: 26px; height: 26px; }
.section-dark .icon-badge { background: rgba(255, 122, 33, .12); border-color: rgba(255, 122, 33, .3); color: var(--accent-400); }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.section-dark .feature p { color: #a5bfb3; }

/* Lot (product) cards */
.lots { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 1020px) { .lots { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }
.lot-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.lot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lot-card.is-featured { border: 2px solid var(--accent-500); box-shadow: 0 24px 48px -24px rgba(255, 122, 33, .55); }
.lot-ribbon { position: absolute; top: 16px; right: 16px; z-index: 2; background: var(--accent-500); color: var(--brand-950); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.lot-head {
  position: relative; padding: 96px 26px 22px; color: #fff; overflow: hidden; min-height: 210px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--brand-800);
}
.lot-head.has-media::before { background: linear-gradient(180deg, rgba(3, 34, 27, .05) 0%, rgba(3, 34, 27, .55) 45%, rgba(3, 34, 27, .94) 100%); }
.lot-head .lot-icon { position: absolute; top: 18px; left: 22px; margin: 0; background: rgba(3, 34, 27, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lot-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 122, 33, .15); border: 1px solid rgba(255, 122, 33, .35); color: var(--accent-300); margin-bottom: 14px; }
.lot-icon svg { width: 22px; height: 22px; }
.lot-tier { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-300); }
.lot-name { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin: 6px 0 4px; line-height: 1.15; }
.lot-type { color: #b5cdc2; font-size: .92rem; margin: 0; }
.lot-meta { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 26px; border-bottom: 1px solid var(--line); background: #f6faf8; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--brand-800); }
.chip svg { width: 15px; height: 15px; color: var(--accent-600); }
.chip-gold { background: var(--accent-50); border-color: var(--accent-300); }
.chip-success { background: var(--success-bg); border-color: #bfe3cf; color: var(--success); }
.chip-success svg { color: var(--success); }
.chip-danger { background: var(--danger-bg); border-color: #f0c9c5; color: var(--danger); }
.lot-body { padding: 20px 26px; flex: 1; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; font-size: .95rem; color: var(--text); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4470c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section-dark .check-list li { color: #cde0d7; }
.lot-foot { padding: 20px 26px 26px; border-top: 1px dashed var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price { display: flex; flex-direction: column; }
.price-label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.price-amount { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.price-amount small { font-family: var(--font-body); font-size: .9rem; color: var(--muted); font-weight: 500; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .9rem; margin-right: 6px; }
.price-sub { font-size: .85rem; color: var(--muted); }
.price-save { font-size: .8rem; font-weight: 700; color: var(--success); }
.lot-card.is-soldout { opacity: .7; }
.lot-card.is-soldout .lot-foot .btn { pointer-events: none; opacity: .5; }

/* ---------- Toolbar (results) ---------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 40px 0 24px; }
.toolbar h1, .toolbar h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.toolbar .muted { margin: 4px 0 0; }
.sort { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.segmented { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.segmented button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .86rem; color: var(--muted); cursor: pointer; }
.segmented button.is-active { background: var(--brand-800); color: #fff; }
.bar-wrap { background: linear-gradient(180deg, var(--brand-900) 0, var(--brand-900) 50%, transparent 50%); padding-top: 4px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.form-card + .form-card { margin-top: 20px; }
.form-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.form-card-head .num { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-800); color: var(--accent-300); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; flex: none; }
.form-card-head h1, .form-card-head h2, .form-card-head h3 { margin: 0; font-size: 1.3rem; }
.form-card-head p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 22px 18px; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .field .label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--danger); margin-left: 2px; }
.input, .select, .textarea {
  width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff;
  font-size: .98rem; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6578' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent-500); box-shadow: var(--ring); }
.field-error { font-size: .82rem; color: var(--danger); display: none; }
.field.has-error .field-error { display: block; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.help { font-size: .82rem; color: var(--muted); }
.input-upper { text-transform: uppercase; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand-800); flex: none; }
.check.has-error { color: var(--danger); }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span { display: inline-flex; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; background: #fff; }
.radio-pill input:checked + span { background: var(--brand-800); color: #fff; border-color: var(--brand-800); }
.radio-pill input:focus-visible + span { box-shadow: var(--ring); }

/* Add-on cards */
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .addons { grid-template-columns: 1fr; } }
.addon { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.addon:hover { border-color: var(--accent-300); }
.addon input { position: absolute; opacity: 0; }
.addon-box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--line-strong); flex: none; margin-top: 2px; display: inline-flex; align-items: center; justify-content: center; }
.addon-box svg { width: 14px; height: 14px; color: #fff; opacity: 0; }
.addon input:checked ~ .addon-box { background: var(--brand-800); border-color: var(--brand-800); }
.addon input:checked ~ .addon-box svg { opacity: 1; }
.addon.is-checked { border-color: var(--accent-500); background: var(--accent-50); }
.addon input:focus-visible ~ .addon-box { box-shadow: var(--ring); }
.addon-text { flex: 1; }
.addon-text strong { display: block; color: var(--ink); font-size: .96rem; }
.addon-text small { color: var(--muted); font-size: .84rem; line-height: 1.4; display: block; margin-top: 2px; }
.addon-price { font-weight: 700; color: var(--brand-800); white-space: nowrap; }
.addon-price.is-free { color: var(--success); }

/* Details step: one form card with the lot banner on top */
.details-card { padding-top: 0; overflow: hidden; }
.details-lot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 -30px 26px; padding: 70px 30px 22px; color: #fff; background: var(--brand-800); }
.details-lot.has-media::before { background: linear-gradient(180deg, rgba(3, 34, 27, .1) 0%, rgba(3, 34, 27, .65) 55%, rgba(3, 34, 27, .92) 100%); }
.details-lot .lot-tier { color: var(--accent-400); }
.details-lot h2 { color: #fff; font-size: 1.5rem; margin: 4px 0 2px; }
.details-lot p { margin: 0; color: #dbe9e3; font-size: .92rem; }
.details-lot-price { text-align: right; flex: none; }
.details-lot-price strong { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--accent-500); }
.details-lot-price span { font-size: .82rem; color: #dbe9e3; }
@media (max-width: 640px) { .details-lot { margin: 0 -18px 22px; padding: 64px 18px 18px; } .details-lot h2 { font-size: 1.25rem; } .details-lot-price strong { font-size: 1.5rem; } }
.sum-total-label { font-size: 1.05rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }

/* ---------- Checkout layout + summary ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; margin: 36px 0 80px; }
@media (max-width: 1020px) { .checkout { grid-template-columns: 1fr; } .checkout .summary { position: static; } }
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.summary-head { padding: 20px 24px; background: linear-gradient(135deg, var(--brand-800), var(--brand-950)); color: #fff; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.summary-head h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.summary-head p { margin: 4px 0 0; color: var(--accent-300); font-size: .86rem; font-weight: 600; }
.summary-head a { color: var(--accent-300); font-size: .85rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.summary-body { padding: 20px 24px; }
.summary-dates { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.summary-dates small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.summary-dates strong { display: block; color: var(--ink); font-size: .98rem; }
.summary-dates span { color: var(--muted); font-size: .86rem; }
.summary-dates .arrow { color: var(--accent-600); }
.summary-dates .arrow svg { width: 20px; height: 20px; }
.sum-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .94rem; }
.sum-rows li { display: flex; justify-content: space-between; gap: 12px; }
.sum-rows li span:first-child { color: var(--muted); }
.sum-rows li strong { color: var(--ink); text-align: right; }
.sum-rows .is-discount strong { color: var(--success); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 4px; margin-top: 14px; border-top: 1px solid var(--line); }
.sum-total span { font-weight: 700; color: var(--ink); }
.sum-total strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--ink); }
.summary-foot { padding: 16px 24px 20px; background: #f6faf8; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); display: grid; gap: 8px; }
.summary-foot div { display: flex; gap: 8px; align-items: center; }
.summary-foot svg { width: 16px; height: 16px; color: var(--success); flex: none; }

/* ---------- Confirmation ---------- */
.confirm-hero { text-align: center; padding: 56px 0 28px; }
.confirm-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.confirm-icon { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 20px; background: var(--success-bg); color: var(--success); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(31, 138, 91, .08); }
.confirm-icon svg { width: 40px; height: 40px; }
.ticket { max-width: 880px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.ticket-top { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 28px 32px; background: linear-gradient(135deg, var(--brand-800), var(--brand-950)); color: #b5cdc2; align-items: center; }
.ticket-top h2 { color: #fff; margin: 0 0 4px; font-size: 1.5rem; }
.ticket-code { font-family: "Courier New", monospace; font-size: 1.6rem; letter-spacing: .14em; color: var(--accent-300); font-weight: 700; }
.ticket-barcode { background: #fff; padding: 10px 14px 6px; border-radius: 10px; text-align: center; }
.ticket-barcode svg { height: 58px; width: 210px; }
.ticket-barcode small { display: block; font-family: "Courier New", monospace; color: var(--ink); font-size: .78rem; letter-spacing: .2em; }
.ticket-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ticket-body > div { padding: 20px 32px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.ticket-body > div:nth-child(3n) { border-right: 0; }
.ticket-body small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ticket-body strong { color: var(--ink); display: block; }
.ticket-body span { color: var(--muted); font-size: .88rem; }
.ticket-total { display: flex; justify-content: space-between; align-items: center; padding: 20px 32px; background: #f6faf8; gap: 16px; flex-wrap: wrap; }
.ticket-total strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 24px; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .ticket-top { grid-template-columns: 1fr; padding: 24px; }
  .ticket-body { grid-template-columns: 1fr 1fr; }
  .ticket-body > div { padding: 16px 20px; }
  .ticket-body > div:nth-child(3n) { border-right: 1px solid var(--line); }
  .ticket-body > div:nth-child(2n) { border-right: 0; }
  .ticket-total { padding: 18px 20px; }
}
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 26px 58px; }
.timeline li::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline .tl-num { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-100); color: var(--accent-600); border: 1px solid var(--accent-300); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.timeline h4 { margin: 8px 0 4px; }
.timeline p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Alerts ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; font-size: .93rem; border: 1px solid transparent; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.alert-info { background: var(--info-bg); border-color: #cde5da; color: var(--brand-700); }
.alert-gold { background: var(--accent-50); border-color: var(--accent-300); color: #7a3510; }
.alert-success { background: var(--success-bg); border-color: #bfe3cf; color: var(--success); }
.alert-danger { background: var(--danger-bg); border-color: #f0c9c5; color: var(--danger); }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--accent-300); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; font-weight: 600; color: var(--ink); position: relative; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--accent-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4470c' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq .faq-a p:last-child { margin: 0; }
.faq-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.faq-cats button { border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--text); }
.faq-cats button.is-active { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }

/* ---------- Prose (legal pages) ---------- */
.prose { color: var(--text); font-size: 1.02rem; overflow-wrap: break-word; }
.prose h2 { font-size: 1.55rem; margin-top: 2em; padding-top: .4em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { color: var(--muted); font-size: .9rem; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; font-size: .9rem; }
.legal-toc strong { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.legal-toc a { color: var(--muted); padding: 6px 0 6px 12px; border-left: 2px solid var(--line); }
.legal-toc a:hover { color: var(--ink); border-left-color: var(--accent-500); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; } .legal-toc { position: static; } }

/* ---------- Testimonials / stats ---------- */
.quote { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.quote p { font-size: 1.02rem; color: var(--text); margin: 0; flex: 1; }
.section-dark .quote p { color: #dde9e3; }
.quote-author { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.quote-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-100); color: var(--accent-600); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.quote-author strong { display: block; color: var(--ink); }
.section-dark .quote-author strong { color: #fff; }
.quote-author span { color: var(--muted); }
.section-dark .quote-author span { color: #89a699; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.6rem; color: var(--accent-400); line-height: 1.1; }
.stat span { color: #a5bfb3; font-size: .93rem; }

/* How-it-works steps */
.how-step { position: relative; padding-top: 8px; }
.how-num { font-family: var(--font-display); font-size: 3.2rem; color: var(--accent-300); line-height: 1; margin-bottom: 10px; font-weight: 700; }
.section-dark .how-num { color: var(--accent-500); }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--brand-900); color: #fff; font-family: var(--font-display); font-size: 1.05rem; }
.compare thead th.is-featured { color: var(--accent-300); }
.compare tbody th { font-weight: 600; color: var(--ink); background: #f6faf8; }
.compare td.yes { color: var(--success); font-weight: 700; }
.compare td.no { color: #a0a7b4; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 64px 56px; color: #dbe9e3; background: var(--brand-800); display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band.has-media::before { background: linear-gradient(90deg, rgba(3, 34, 27, .94) 0%, rgba(10, 74, 57, .82) 55%, rgba(10, 74, 57, .45) 100%); }
@media (max-width: 640px) { .cta-band { padding: 36px 24px; } .cta-band.has-media::before { background: linear-gradient(180deg, rgba(3, 34, 27, .9), rgba(10, 74, 57, .82)); } }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon-badge { margin: 0; width: 48px; height: 48px; }
.contact-list small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list strong, .contact-list a { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.contact-list a[href^="tel:"], .contact-list a[href^="mailto:"] { font-weight: 700; }
.contact-list li > div { min-width: 0; }
.map-box { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: linear-gradient(135deg, #e7eeea, #f2f6f4); position: relative; }
.map-box iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-950); color: #89a699; padding: 72px 0 0; font-size: .93rem; border-top: 1px solid rgba(255, 122, 33, .2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #b5cdc2; }
.site-footer a:hover { color: var(--accent-300); }
.footer-about p { margin: 18px 0; max-width: 340px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent-400); flex: none; margin-top: 3px; }
.footer-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .07); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }


/* Home: single valet offer + terminal links */
.hero-kicker { display: block; font-family: var(--font-body); font-size: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-500); margin-bottom: 12px; }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.offer-media { min-height: 420px; border-radius: var(--radius-lg); background: var(--brand-800); box-shadow: var(--shadow); }
.offer-media.has-media::before { background: linear-gradient(180deg, transparent 55%, rgba(3, 34, 27, .55)); }
.offer-badge { position: absolute; left: 20px; bottom: 20px; background: var(--accent-500); color: var(--brand-950); font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; padding: 10px 18px; border-radius: 14px; box-shadow: var(--shadow); }
.offer-badge small { font-family: var(--font-body); font-size: .85rem; font-weight: 600; }
.offer-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 20px; border-top: 1px dashed var(--line); }
.offer-price > div { display: flex; flex-direction: column; }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; gap: 28px; } .offer-media { min-height: 260px; } }
/* Terminal / guide link cards: a centred, wrapping row, so three EWR terminals, the two
   "other terminals" on a terminal page and the six guides on the cheap-parking page all sit centred. */
.terminal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.terminal-links > .terminal-link { flex: 1 1 300px; max-width: 360px; }
.terminal-link { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 20px 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); line-height: 1.35; min-width: 0; box-shadow: var(--shadow-sm); overflow: hidden; }
.terminal-link::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent-500); transform: scaleY(0); transition: transform .2s ease; }
.terminal-link:hover { color: var(--ink); border-color: var(--accent-300); }
.terminal-link:hover::before { transform: none; }
.terminal-link > span:not(.terminal-num) { display: block; flex: 1; min-width: 0; }
.terminal-link strong, .terminal-link small { display: block; }
.terminal-link strong { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.terminal-link small { margin-top: 3px; color: var(--muted); font-size: .87rem; }
.terminal-link > svg { width: 20px; height: 20px; flex: none; color: var(--accent-600); transition: transform .2s ease; }
.terminal-link:hover > svg { transform: translateX(3px); }
.terminal-num { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-500); color: var(--brand-950); font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; display: inline-flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 10px 18px -12px rgba(255, 122, 33, .9); }
@media (max-width: 640px) {
  .terminal-links { gap: 10px; }
  .terminal-links > .terminal-link { flex-basis: 100%; max-width: none; }
  .terminal-link { gap: 14px; padding: 14px 16px 14px 18px; }
  .terminal-num { width: 46px; height: 46px; border-radius: 12px; font-size: 1.3rem; }
}

/* ---------- Modal (change dates) ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal:not(.is-open) { pointer-events: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 34, 27, .62); opacity: 0; transition: opacity .2s ease; }
.modal-panel {
  position: relative; width: 860px; max-width: 100%; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px 24px 0;
  opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .2s ease, transform .22s ease;
}
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.modal-head h2 { font-size: 1.35rem; margin: 0 0 4px; }
.modal-head p { margin: 0; font-size: .9rem; }

/* Calendar rendered inline inside the modal (RangeCalendar inline mode) */
.cal-pop.cal-inline {
  position: static; display: block; width: auto; max-width: none; max-height: none; overflow: visible;
  left: auto !important; top: auto !important; right: auto; bottom: auto; z-index: auto;
  box-shadow: none; border: 0; border-radius: 0; padding: 0; animation: none !important; transform: none;
}
.cal-inline .cal-close { display: none; }
.cal-inline .cal-foot { margin: 12px -24px 0; padding: 12px 24px 18px; }

@media (max-width: 760px) {
  .modal { padding: 0; align-items: flex-end; }
  .modal-panel { width: 100%; border-radius: 22px 22px 0 0; max-height: 94vh; max-height: 94dvh; padding: 18px 16px 0; transform: translateY(40px); }
  .modal-head h2 { font-size: 1.15rem; }
  .modal-head p { font-size: .82rem; }
  .cal-inline .cal-foot { margin: 8px -16px 0; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); }
}

/* Skeleton loading (summary price recalculation) */
.skel, .summary.is-loading [data-skel] {
  color: transparent !important; border-radius: 6px;
  background: linear-gradient(90deg, #e6eeea 25%, #f4f8f6 37%, #e6eeea 63%); background-size: 400% 100%;
  animation: skelShimmer 1.2s ease-in-out infinite;
}
.summary.is-loading [data-skel] { display: inline-block; min-width: 72px; min-height: 1em; }
.summary.is-loading [data-s="total"] { min-width: 110px; }
.skel-row { align-items: center; }
.skel-row .skel { display: block; height: 14px; }
@keyframes skelShimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.summary.is-updated .sum-total strong { animation: totalFlash 1s ease; }
@keyframes totalFlash { 0% { color: var(--accent-600); transform: scale(1.06); } 100% { color: var(--ink); transform: none; } }
@media (prefers-reduced-motion: reduce) { .skel, .summary.is-loading [data-skel] { animation: none; } .modal-panel, .modal-backdrop { transition: none; } }

/* ---------- Utilities ---------- */
.muted { color: var(--muted); }
.gold { color: var(--accent-600); }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mt-5 { margin-top: 64px; }
.mb-0 { margin-bottom: 0 !important; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-2 { gap: 16px; } .wrap { flex-wrap: wrap; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.divider { height: 1px; background: var(--line); margin: 28px 0; border: 0; }

/* ---------- Print (confirmation) ---------- */
@media print {
  .site-header, .topbar, .site-footer, .steps-wrap, .ticket-actions, .no-print { display: none !important; }
  body { background: #fff; }
  .ticket { box-shadow: none; border: 1px solid #999; }
}

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

/* Contact form security code (Views/Home/Contact.cshtml) */
.captcha-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha-img { width: 180px; height: 56px; border: 1px solid var(--line); border-radius: 10px; background: #f4f8f6; }
.captcha-input { width: 160px; flex: none; letter-spacing: .2em; font-weight: 700; }
@media (max-width: 480px) { .captcha-input { width: 100%; } }
