/* ==========================================================================
   Hodges Mobility Group: site styles
   To restyle: change the tokens in :root. Everything else reads from them.
   ========================================================================== */

:root {
  /* Brand tokens (from the HMG logo). Light, minimal. */
  --night:      #ffffff;   /* page ground (name kept for stability) */
  --night-2:    #f4f7fd;   /* raised surface */
  --night-3:    #e7edfa;   /* hover / fills */
  --line:       #dbe3f3;   /* hairlines */
  --blue:       #1d4fd8;   /* primary action */
  --blue-deep:  #143a9e;
  --gold:       #8a5f0a;   /* gold as text/price (AA on white) */
  --gold-fill:  #e3b04b;   /* gold as fill/accent */
  --white:      #0b1533;   /* ink (name kept for stability) */
  --mist:       #4f5b7a;   /* secondary text, tinted navy */
  --ok:         #0d7a55;
  --bad:        #c2283f;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body:    "Barlow", system-ui, sans-serif;

  --r: 6px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night); color: var(--white);
  font: 400 1.0625rem/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .2em; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
input, select, textarea, button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
* { scrollbar-width: thin; scrollbar-color: #b8c4e2 var(--night); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #b8c4e2; border-radius: 8px; }
::-webkit-scrollbar-track { background: var(--night); }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 {
  font-family: var(--font-display); text-transform: uppercase;
  line-height: .95; letter-spacing: .01em; margin: 0; font-weight: 800; text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 8vw, 5.4rem); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: 1.5rem; }
.gold { color: var(--gold); }
p { margin: 0 0 1em; max-width: 68ch; }
.muted { color: var(--mist); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.5em; border: 0; border-radius: var(--r);
  background: var(--blue); color: #fff; cursor: pointer; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  text-transform: uppercase; letter-spacing: .04em;
  box-shadow: 0 6px 14px -8px rgba(0,0,0,.4);
  transition: background .15s ease;
}
.btn:hover { background: #2b62f0; }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-disabled { background: var(--night-3); color: var(--mist); box-shadow: none; cursor: not-allowed; transform: none; }
.btn-gold { background: var(--gold-fill); color: #1a1204; box-shadow: 0 6px 14px -8px rgba(0,0,0,.35); }
.btn-gold:hover { background: #efc063; }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { background: var(--night-3); }
.btn-block { width: 100%; }

/* ---------- Header / footer ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 56px; width: auto; }
.brand span {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  text-transform: uppercase; letter-spacing: .06em; line-height: 1;
}
.brand span small { display: block; font-weight: 600; font-size: .8rem; letter-spacing: .22em; color: var(--gold); }
.nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.nav a:not(.btn) {
  padding: 10px 14px; text-decoration: none; color: var(--mist);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--white); }
.nav .btn { min-height: 42px; font-size: 1.05rem; padding: .4em 1.1em; }
/* Mobile nav: hamburger menu, header stays sticky */
.mobile-actions, .mmenu { display: none; }
@media (max-width: 720px) {
  .nav { display: none; }
  .brand span { display: none; }
  .site-header .wrap { justify-content: space-between; min-height: 64px; }
  .mobile-actions { display: flex; align-items: center; gap: 10px; }
  .mobile-actions .btn { min-height: 44px; font-size: 1.05rem; padding: .4em 1.1em; }
  .burger { width: 46px; height: 46px; display: grid; align-content: center; justify-items: center; gap: 5px; background: var(--night-2); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
  .burger span { display: block; width: 22px; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .mmenu:not([hidden]) { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(0,0,0,.35); padding: 8px var(--gutter) 16px; }
  .mmenu a { padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .05em; }
  .mmenu a:last-child { border-bottom: 0; }
  .mmenu a[aria-current="page"] { color: var(--blue); }
}

.site-footer { margin-top: 96px; border-top: 1px solid var(--line); background: var(--night-2); padding: 56px 0 40px; }
.site-footer .cols { display: grid; gap: 36px; grid-template-columns: 1.2fr 1fr 1fr; }
@media (max-width: 800px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h3 { font-size: 1.15rem; color: var(--gold); margin-bottom: 12px; letter-spacing: .12em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }
.site-footer .fine { margin-top: 36px; font-size: .9rem; color: var(--mist); border-top: 1px solid var(--line); padding-top: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 8vw, 96px) 0 clamp(56px, 8vw, 96px); }
.hero::before { /* the road: the mountain-and-sky scene from the flyers, dimmed */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 60% at 90% 0%, rgba(29,79,216,.10), transparent 70%),
    linear-gradient(180deg, #f3f6fd 0%, #ffffff 80%);
}
.hero-grid { display: grid; gap: 48px; grid-template-columns: 1.15fr .85fr; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } .hero-art { max-width: 190px; } }
.hero h1 .gold { display: block; }
.hero p.lede { font-size: 1.25rem; color: var(--mist); margin-top: 22px; max-width: 46ch; }
.hero-art { position: relative; isolation: isolate; }
.hero-art img { width: 100%; position: relative; z-index: 1; }
/* Soft oval shadow under the logo. A CSS filter shadow showed a box edge in some browsers (Kione, 2026-09-30). */
.hero-art::after {
  content: ""; position: absolute; z-index: 0; left: 14%; right: 14%; bottom: -5%; height: 12%;
  background: radial-gradient(closest-side, rgba(11,21,51,.30), rgba(11,21,51,0)); pointer-events: none;
}

/* Search bar (Turo-style) */
.search {
  margin-top: 34px; display: grid; gap: 0; grid-template-columns: 1.25fr 1.5fr auto;
  background: var(--night-2); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 14px 24px -18px rgba(0,0,0,.35);
}
@media (max-width: 720px) { .search { grid-template-columns: 1fr; } }
.field { position: relative; padding: 14px 18px; text-align: left; border-right: 1px solid var(--line); min-width: 0; }
@media (max-width: 720px) { .field { border-right: 0; border-bottom: 1px solid var(--line); } }
.field label, .label {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 4px;
}
.field .val { font-weight: 600; font-size: 1.1rem; }
.field button.val { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; width: 100%; }
.search .btn { border-radius: 0 9px 9px 0; height: 100%; min-height: 64px; font-size: 1.4rem; padding-inline: 2em; }
@media (max-width: 720px) { .search .btn { border-radius: 0 0 9px 9px; } }

/* Date popover */
.popover {
  position: absolute; z-index: 40; top: calc(100% + 10px); left: 0;
  background: var(--night-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 20px; box-shadow: 0 18px 30px -20px rgba(0,0,0,.4);
  width: max-content; max-width: calc(100vw - 32px);
}
.popover[hidden] { display: none; }
.popover .foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .popover { position: fixed; left: 16px; right: 16px; top: 80px; width: auto; max-height: 82vh; overflow: auto; } }

/* ---------- Calendar ---------- */
.cal { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(260px, 1fr)); }
.cal[data-months="1"] { grid-template-columns: 1fr; }
@media (max-width: 720px) { .cal { grid-template-columns: 1fr; } .cal .month:nth-child(2) { display: none; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; min-height: 40px; }
.cal-head .title { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .05em; }
.cal-nav { display: flex; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer;
  background: var(--night-3); border: 1px solid var(--line); border-radius: var(--r);
}
.icon-btn:hover { background: var(--blue); color: #fff; }
.icon-btn[disabled] { opacity: .35; cursor: not-allowed; }
.dow, .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.dow span { text-align: center; font-size: .8rem; color: var(--mist); text-transform: uppercase; letter-spacing: .1em; padding: 6px 0; }
.day {
  position: relative; aspect-ratio: 1 / 1; min-height: 40px; display: grid; place-items: center;
  border: 0; background: transparent; cursor: pointer; font-variant-numeric: tabular-nums;
  font-weight: 600; font-size: 1rem; color: var(--white);
}
.day::before { content: ""; position: absolute; inset: 3px 0; z-index: 0; border-radius: 0; }
.day span { position: relative; z-index: 1; }
.day:hover:not([disabled]):not(.sel-end):not(.sel-start) span { outline: 2px solid var(--gold); outline-offset: 5px; border-radius: 50%; }
.day.in-range::before { background: rgba(29,79,216,.14); }
.day.sel-start::before, .day.sel-end::before { background: var(--blue); border-radius: 50%; inset: 2px; aspect-ratio: 1; }
.day.sel-start, .day.sel-end { color: #fff; }
.day.sel-start.has-range::before { border-radius: 50% 0 0 50%; inset: 2px 0 2px 2px; }
.day.sel-end.has-range::before { border-radius: 0 50% 50% 0; inset: 2px 2px 2px 0; }
.day.today span { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.day[disabled] { color: #b3bdd6; cursor: not-allowed; }
.day.booked { color: #8b96b4; text-decoration: line-through; }
.day.booked::before { background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(194,40,63,.16) 5px 7px); }
.day.pad { visibility: hidden; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: .9rem; color: var(--mist); margin-top: 14px; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; }
.legend .l-sel i { background: var(--blue); }
.legend .l-booked i { background: repeating-linear-gradient(135deg, var(--night-3) 0 3px, rgba(194,40,63,.6) 3px 5px); }

/* ---------- Sections ---------- */
section.block { padding-top: clamp(64px, 9vw, 112px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head p { margin: 10px 0 0; color: var(--mist); }
.link-arrow { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); text-decoration: none; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Car cards ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.card {
  display: flex; flex-direction: column; text-decoration: none; overflow: hidden;
  background: var(--night-2); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: var(--blue); box-shadow: 0 16px 24px -18px rgba(0,0,0,.4); }
.card .photo { position: relative; aspect-ratio: 2.3 / 1; background: #0a1533; overflow: hidden; }
.card .photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 4px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,255,255,.94); border: 1px solid var(--line);
}
.badge.ok { color: var(--ok); border-color: rgba(13,122,85,.35); }
.badge.bad { color: var(--bad); border-color: rgba(194,40,63,.35); }
.badge.soon { color: var(--blue); border-color: rgba(29,79,216,.35); }
.card .body { padding: 16px 18px 18px; display: grid; gap: 12px; flex: 1; align-content: space-between; }
.card h3 { font-size: 1.6rem; }
.card .sub { color: var(--mist); font-size: .95rem; margin-top: 2px; }
.rates { display: flex; gap: 0; border-top: 1px solid var(--line); padding-top: 12px; }
.rates div { flex: 1; }
.rates div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.rates b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.rates small { color: var(--mist); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--gold-fill); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { list-style: none; padding: 22px 22px 8px 0; }
.steps .n { font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--blue); }
.steps h3 { margin: 8px 0 6px; font-size: 1.5rem; }
.steps p { color: var(--mist); font-size: .98rem; }

/* ---------- PIE band ---------- */
.pie-band {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; border-radius: 12px;
  background: var(--night-2); border: 1px solid var(--line);
}
@media (max-width: 820px) { .pie-band { grid-template-columns: 1fr; } }
.pie-band .txt { padding: clamp(28px, 5vw, 56px); }
.pie-band .txt p { color: var(--mist); }
.pie-band .pie-points { align-self: center; padding: clamp(24px,5vw,56px); grid-template-columns: 1fr; margin: 0; }
.fine-print { font-size: .9rem; color: var(--mist); }

/* ---------- Listing page ---------- */
.page-head { padding: 44px 0 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; align-items: center; }
.chip {
  min-height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  background: var(--night-2); border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em;
}
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip:hover { border-color: var(--gold); }
select.chip { padding-right: 34px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.date-summary { margin-left: auto; color: var(--mist); }
.date-summary b { color: var(--white); }
.empty { border: 2px dashed var(--line); border-radius: 10px; padding: 48px 24px; text-align: center; color: var(--mist); grid-column: 1 / -1; }

/* ---------- Car detail ---------- */
.detail > * { min-width: 0; }
.detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 40px; padding-top: 32px; align-items: start; }
@media (max-width: 960px) { .detail { grid-template-columns: minmax(0, 1fr); } }
.gallery .main { border-radius: 10px; overflow: hidden; background: #0a1533; border: 1px solid var(--line); aspect-ratio: 2.3 / 1; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
@media (max-width: 600px) { .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fill-slot {
  aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 8px;
  border: 2px dashed #b3c0e2; border-radius: 8px; color: var(--mist); font-size: .85rem; line-height: 1.3;
  background: var(--night-2);
}
.fill-slot b { display: block; color: var(--gold); font-family: var(--font-display); letter-spacing: .12em; font-size: 1rem; text-transform: uppercase; }
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 520px) { .spec-list { grid-template-columns: 1fr; } }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-list li span:first-child { color: var(--mist); }
.spec-list .todo { color: var(--gold); font-style: italic; }
.book-panel {
  position: sticky; top: 92px; padding: 24px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--night-2); box-shadow: 0 16px 28px -22px rgba(0,0,0,.35);
}
@media (max-width: 960px) { .book-panel { position: static; } }
.rate-table { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; margin: 4px 0 18px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.rate-table div { padding: 12px 6px; background: var(--night); }
.rate-table div + div { border-left: 1px solid var(--line); }
.rate-table b { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--gold); }
.rate-table small { text-transform: uppercase; letter-spacing: .14em; color: var(--mist); font-size: .75rem; }
.est { margin: 18px 0; display: grid; gap: 8px; }
.est .row { display: flex; justify-content: space-between; gap: 12px; color: var(--mist); }
.est .row b { color: var(--white); font-weight: 600; }
.est .total { padding-top: 12px; border-top: 1px solid var(--line); color: var(--white); font-size: 1.25rem; }
.est .total b { color: var(--gold); font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.notice { font-size: .9rem; color: var(--mist); margin-top: 12px; }
.tbd { color: var(--gold); font-style: italic; }
.cal-box { margin-top: 44px; padding: 26px; background: var(--night-2); border: 1px solid var(--line); border-radius: 12px; }
.cal-box h2 { font-size: 2rem; margin-bottom: 4px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .two { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form .two { grid-template-columns: 1fr; } }
.input { display: grid; gap: 6px; }
.input label { font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.input input, .input select, .input textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--night); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--white);
}
.input input::placeholder, .input textarea::placeholder { color: #7a86a6; }
.input input:hover, .input select:hover, .input textarea:hover { border-color: #93a3d0; }
.input input:focus, .input select:focus, .input textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: transparent; }
.input .hint { font-size: .85rem; color: var(--mist); }
.input .err { font-size: .9rem; color: var(--bad); min-height: 1.2em; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.split > * { min-width: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; padding-top: 32px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.summary { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--night-2); }
.summary .thumb { border-radius: 8px; overflow: hidden; margin-bottom: 16px; aspect-ratio: 2.3/1; background: #0a1533; }
.summary .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pay-row span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; background: var(--night); }
.steps-done { display: grid; gap: 14px; padding: 0; list-style: none; counter-reset: s; }
.steps-done li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps-done li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }

/* Fill-in banner: shows where content is still a placeholder */
.todo-banner { background: #fff6dc; color: #5c4208; border-bottom: 1px solid #ecd28c; font-size: .9rem; text-align: center; padding: 8px var(--gutter); }
.todo-banner b { color: #7a5200; }

/* Motion: the hero fades in once, quickly */
@media (prefers-reduced-motion: no-preference) {
  /* The logo isn't animated: an animated image gets its drop shadow cut off at its edges in some browsers (Safari). */
  .hero h1, .hero .lede, .hero .search { animation: rise .45s ease-out both; }
  @keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Calendar: month navigation that works on phones */
.m-only { display: none; }
@media (max-width: 720px) { .m-only { display: grid; } .d-only { display: none; } .cal-head { gap: 8px; } .cal-head .title { flex: 1; text-align: center; } .icon-btn { width: 44px; height: 44px; } .day { min-height: 44px; } }


/* ==========================================================================
   Motion: kept to quick, small feedback. Nothing moves on its own or on
   scroll. All of it switches off for people who ask for reduced motion.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Header gets a shadow once you scroll */
  .site-header { transition: box-shadow .2s ease; }
  .site-header.scrolled { box-shadow: 0 10px 24px -18px rgba(0,0,0,.4); }

  /* Links: underline on hover */
  .link-arrow { background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat; text-decoration: none; padding-bottom: 3px; transition: background-size .2s ease; }
  .link-arrow:hover { background-size: 100% 2px; text-decoration: none; }

  /* Form fields and chips */
  .input input, .input select, .input textarea, .chip, .icon-btn, .day { transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
  .input input:focus, .input select:focus, .input textarea:focus { box-shadow: 0 0 0 5px rgba(154,107,12,.14); }
}

.verify-box { border: 1px solid var(--line); background: var(--night-2); border-radius: 10px; padding: 18px 20px; }
.verify-box ul { margin: 0 0 4px; padding-left: 1.2em; }
.verify-box li { margin-bottom: .3em; }

/* Phones: nothing may be wider than the screen (fixes clipped calendar and price boxes) */
html, body { overflow-x: clip; }
.cal, .cal .month, .cal-box, .book-panel, .rate-table, .rate-table > div { min-width: 0; }
.rate-table { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rate-table b { font-size: clamp(1.45rem, 6.2vw, 2rem); }
@media (max-width: 720px) {
  .cal-box { padding: 16px; }
  .book-panel { padding: 18px; }
  .day { aspect-ratio: auto; height: 44px; min-height: 44px; }
  .rate-table small { letter-spacing: .06em; font-size: .68rem; }
  .rates b { font-size: clamp(1.4rem, 6vw, 1.7rem); }
  .cal-head .title { font-size: 1.25rem; }
}

/* ==========================================================================
   Loading states (2026-09-29): placeholders that fade while the live fleet
   loads, a spinner for waits, and a quick fade-in when content arrives.
   ========================================================================== */
.skel { background: var(--night-3); border-radius: 8px; }
.skel-line { height: 14px; margin: 10px 0; }
.skel-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--night); }
.skel-card .skel-photo { aspect-ratio: 2.3 / 1; border-radius: 0; }
.skel-card .skel-body { padding: 16px 18px 18px; }
.skel-block { height: 280px; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--night-3); border-top-color: var(--blue); margin: 0 auto; }
.btn .spinner { width: 18px; height: 18px; border-width: 3px; border-color: rgba(255,255,255,.35); border-top-color: #fff; display: inline-block; margin: 0 0 0 10px; vertical-align: -3px; }
.wait { text-align: center; padding: 72px 0 96px; }
.wait h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 22px 0 8px; }
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.overlay .wait { padding: 0 var(--gutter); }
@media (prefers-reduced-motion: no-preference) {
  .skel { animation: skel-fade 1.2s ease-in-out infinite; }
  @keyframes skel-fade { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
  .spinner { animation: spin .8s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .fade-in { animation: fade-in .3s ease-out both; }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
  .cal-box.attn { animation: attn 1.6s ease-out 1; }
  @keyframes attn { 0% { box-shadow: 0 0 0 0 rgba(29,79,216,.55); } 100% { box-shadow: 0 0 0 16px rgba(29,79,216,0); } }
}
@media (prefers-reduced-motion: reduce) { .spinner { border-top-color: var(--blue); } }
.cal-box.attn { border-color: var(--blue); }

/* Booking page: required marks, name pair, ID upload */
.req { color: var(--bad); font-weight: 700; margin-left: 2px; }
.id-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
@media (max-width: 600px) { .id-grid { grid-template-columns: minmax(0, 1fr); } }
.id-drop { display: grid; gap: 8px; border: 2px dashed var(--line); border-radius: 10px; padding: 14px; background: var(--night); cursor: pointer; text-align: center; min-height: 150px; align-content: center; }
.id-drop:hover, .id-drop:focus-within { border-color: var(--blue); }
.id-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.id-drop img { max-height: 120px; margin: 0 auto; border-radius: 6px; object-fit: contain; }
.id-drop b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; }
.id-drop.has { border-style: solid; border-color: var(--ok); }
.step-hint { display: flex; gap: 10px; align-items: center; background: var(--night-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; font-weight: 600; }
.step-hint .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.step-hint.done .n { background: var(--ok); }
.form .err { color: var(--bad); font-size: .9rem; }
.form .err:empty { display: none; }

/* Dropdowns look like the text fields on every browser (Safari draws its own otherwise). */
.input select {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231d4fd8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}

/* Extend your trip (booking page) */
.extend-box { display: grid; gap: 16px; margin: 0 0 28px; padding: 22px 24px; }
.extend-box h2 { font-size: 1.6rem; margin: 4px 0 0; }
.extend-box p { margin: 0; }
.extend-box .input { max-width: 380px; }
.extend-box .est { margin: 0; }
.extend-box .err:empty { display: none; }
.extend-box .btn { justify-self: start; margin-top: 4px; }
.extend-box .btn:disabled { opacity: .6; cursor: not-allowed; }
@media (max-width: 600px) { .extend-box { padding: 18px; } .extend-box .btn { justify-self: stretch; } }

/* Coupon code box on the booking page */
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.code-row .btn { min-height: 48px; font-size: 1.05rem; padding-inline: 18px; }
.ok-text { color: var(--ok); font-weight: 600; }
.ok-text:empty { display: none; }

/* ---------- Halloween (config.js `season`; on during October only) ----------
   Pumpkin-orange accents, a greeting strip, bats by the hero logo, a cobweb in the footer. No motion. */
.halloween { --gold: #b4530a; --gold-fill: #f08a24; }
.halloween .btn-gold { color: #2a1203; }
.halloween .btn-gold:hover { background: #f59d45; }
.season-strip {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #221a33; color: #ffd9b0; font-size: .92rem; font-weight: 600; letter-spacing: .02em;
  padding: 7px var(--gutter); text-align: center;
}
.season-strip svg { flex: none; }
.halloween .hero::before {
  background:
    radial-gradient(45% 55% at 92% 8%, rgba(240,138,36,.16), transparent 70%),
    radial-gradient(55% 60% at 90% 0%, rgba(29,79,216,.08), transparent 70%),
    linear-gradient(180deg, #f6f3fb 0%, #ffffff 80%);
}
.halloween .hero-art { position: relative; }
.halloween .hero-art::before {
  content: ""; position: absolute; top: -6%; left: -4%; width: 46%; aspect-ratio: 2.2; pointer-events: none; opacity: .8;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 50'%3E%3Cg fill='%23221a33'%3E%3Cpath d='M0 16c3-5 8-6 11-3 1-3 2-4 4-2l1-3 1 3c2-2 3-1 4 2 3-3 8-2 11 3-4-1-7 0-8 3-3-3-5-2-7 1-1-3-4-4-6-1-2-3-6-4-11-3z'/%3E%3Cpath transform='translate(60 2) scale(.75)' d='M0 16c3-5 8-6 11-3 1-3 2-4 4-2l1-3 1 3c2-2 3-1 4 2 3-3 8-2 11 3-4-1-7 0-8 3-3-3-5-2-7 1-1-3-4-4-6-1-2-3-6-4-11-3z'/%3E%3Cpath transform='translate(38 30) scale(.55)' d='M0 16c3-5 8-6 11-3 1-3 2-4 4-2l1-3 1 3c2-2 3-1 4 2 3-3 8-2 11 3-4-1-7 0-8 3-3-3-5-2-7 1-1-3-4-4-6-1-2-3-6-4-11-3z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.halloween .site-footer { position: relative; }
.halloween .site-footer::before {
  content: ""; position: absolute; top: 0; right: 0; width: clamp(80px, 12vw, 130px); aspect-ratio: 1; pointer-events: none; opacity: .35;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath fill='none' stroke='%234f5b7a' stroke-width='1' d='M120 0L0 0M120 0L9 46M120 0L35 85M120 0L74 111M120 0L120 120M92 0Q96 5 94 11M94 11Q100 13 100 20M100 20Q107 20 109 26M109 26Q115 24 120 28M64 0Q73 9 68 21M68 21Q80 27 80 40M80 40Q93 40 99 52M99 52Q111 47 120 56M36 0Q49 14 42 32M42 32Q60 40 61 59M61 59Q80 60 88 78M88 78Q106 71 120 84M8 0Q26 19 17 43M17 43Q40 54 41 79M41 79Q66 80 77 103M77 103Q101 94 120 112'/%3E%3C/svg%3E") no-repeat top right / contain;
}

/* ---------- Booking steps (request page): 1 Dates, 2 Vehicles, 3 Features, 4 Customer, 5 Confirm, 6 Payment ---------- */
.stepper { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stepper li { position: relative; display: flex; justify-content: center; }
.stepper li + li::before { /* line joining the circles */
  content: ""; position: absolute; top: 22px; right: calc(50% + 26px); left: calc(-50% + 26px); height: 2px; background: var(--line);
}
.stepper li.done + li::before, .stepper li.active::before { background: #9db3ea; }
.stepper a, .stepper button {
  display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--blue); text-decoration: none; font: inherit;
}
.stepper .dot {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 2.5px solid var(--blue); background: #fff; font-weight: 600; font-size: 1.1rem; font-variant-numeric: tabular-nums;
}
.stepper .lbl { font-size: .95rem; font-weight: 500; text-align: center; }
.stepper li.done a, .stepper li.done button { color: #7d97d6; }
.stepper li.done .dot { border-color: #9db3ea; }
.stepper li.active .dot { background: var(--blue); color: #fff; }
.stepper li.active .lbl { font-weight: 700; }
.stepper button:disabled { cursor: default; color: var(--mist); }
.stepper button:disabled .dot { border-color: var(--line); }
.stepper a:hover .lbl, .stepper button:not(:disabled):hover .lbl { text-decoration: underline; }
@media (max-width: 560px) {
  .stepper .dot { width: 34px; height: 34px; font-size: .95rem; border-width: 2px; }
  .stepper li + li::before { top: 17px; right: calc(50% + 21px); left: calc(-50% + 21px); }
  .stepper .lbl { font-size: .72rem; }
}
.step { display: grid; gap: 18px; }
.step-title { font-size: clamp(1.8rem, 4vw, 2.4rem); outline: none; }
.step-sub { margin: -10px 0 0; }
.step-nav { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; margin-top: 6px; }
.step-nav [data-next], .step-nav [type="submit"] { margin-left: auto; }
.link-btn { background: none; border: 0; padding: 0 0 0 6px; color: var(--blue); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; text-decoration: underline; }

/* ---------- Reviews: star picker (review page) and published reviews (home page) ---------- */
.star-field { border: 0; padding: 0; margin: 0; }
.star-field legend { font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 6px; padding: 0; }
.star-row { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-row label { font-size: 2.4rem; line-height: 1; color: #d5dbe8; cursor: pointer; padding: 2px; }
.star-row input:checked ~ label, .star-row label:hover, .star-row label:hover ~ label { color: #e3a008; }
.star-row input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reviews-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.review-card { border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; background: var(--night-2); margin: 0; }
.review-card .stars { color: #e3a008; letter-spacing: 2px; font-size: 1.2rem; }
.review-card .stars .off { color: #d5dbe8; }
.review-card blockquote { margin: 8px 0 10px; }
.review-card figcaption { color: var(--mist); font-size: .95rem; }

/* ---------- Home search: floating pill (Kione, 2026-09-30) ----------
   The hero sits above the next section so the date popover is never hidden behind the car cards. */
.hero { z-index: 2; }
.search.pill {
  position: relative; z-index: 5; display: flex; align-items: center; gap: 6px; max-width: 540px;
  padding: 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 20px 40px -24px rgba(11,21,51,.55);
}
.search.pill .field { flex: 1; border: 0; padding: 8px 20px; border-radius: 999px; transition: background .15s ease; }
.search.pill .field:hover, .search.pill .field:focus-within { background: var(--night-2); }
.search.pill .field label { font-size: .78rem; margin-bottom: 2px; }
.search.pill .field button.val { font-size: 1.05rem; }
.search.pill .btn { flex: none; height: auto; min-height: 54px; border-radius: 999px; font-size: 1.15rem; padding-inline: 1.5em; }
@media (max-width: 720px) {
  .search.pill { display: flex; }
  .search.pill .field { border-bottom: 0; padding: 6px 14px; }
  .search.pill .btn { border-radius: 999px; min-height: 48px; font-size: 1rem; padding-inline: 1.1em; }
}
.pickup-note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0 6px; color: var(--mist); font-size: .98rem; }
.pickup-note svg { flex: none; color: var(--blue); }
.popover { background: #fff; box-shadow: 0 24px 48px -20px rgba(11,21,51,.45); }

/* ---------- Dates button: looks like a button (calendar icon, arrow, outline, hover) ---------- */
.field button.val.datebtn {
  display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 2px;
  padding: 10px 12px; border: 1.5px solid #c4cfea; border-radius: 10px; background: #fff;
  font-weight: 600; font-size: 1.05rem; color: var(--white); cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field button.val.datebtn:hover, .field button.val.datebtn[aria-expanded="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,79,216,.12); }
.field button.val.datebtn .ico { flex: none; color: var(--blue); }
.field button.val.datebtn .txt { flex: 1; min-width: 0; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field button.val.datebtn.muted .txt { color: var(--mist); }
.field button.val.datebtn .chev { flex: none; color: var(--mist); transition: transform .15s ease; }
.field button.val.datebtn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.search.pill .field { padding: 6px 8px 6px 14px; }
.search.pill .field:hover, .search.pill .field:focus-within { background: transparent; }
.search.pill .field label { margin-left: 4px; }
/* In the pill, the calendar icon says "dates"; the label stays for screen readers only. */
.search.pill .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search.pill .field { padding: 0; }
.search.pill .field button.val.datebtn { margin: 0; min-height: 54px; border-radius: 999px; padding-inline: 16px; }
@media (max-width: 720px) { .search.pill .field button.val.datebtn { min-height: 48px; padding-inline: 12px; font-size: .98rem; } }
@media (max-width: 420px) { .datebtn .dd { display: none; } }

/* Cars page: second group, cars open outside the picked dates */
.later-head { grid-column: 1 / -1; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.later-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.later-head p { margin: 6px 0 0; }
.halloween .hero-art::before { z-index: 2; }
