/* Public website — Aurox Car Rental. --brand comes from the CRM brand color. */
:root {
  --ink: #0b1626; --ink-2: #13233a; --ink-3: #1c3150;
  --text: #182234; --muted: #5d6879; --line: #e6e2d9; --sand: #f7f5f0; --card: #fff;
  --ok: #15803d; --ok-bg: #e7f6ec; --bad: #b91c1c; --bad-bg: #fdeaea;
  --r: 16px; --shadow: 0 1px 2px rgba(11,22,38,.06), 0 10px 30px rgba(11,22,38,.08);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 18px; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); }
.hide { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; padding: 11px 18px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn.brand { background: var(--brand); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 35%, transparent); }
.btn.brand:hover { filter: brightness(1.06); }
.btn.ghost { background: #fff; border-color: var(--line); color: var(--text); }
.btn.ghost.light { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(11,22,38,.92); backdrop-filter: blur(10px); color: #fff; }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; }
.logo img { height: 46px; width: auto; border-radius: 8px; }
.links { display: flex; gap: 22px; margin-left: 8px; }
.links a { text-decoration: none; color: #c9d3e0; font-weight: 600; font-size: 15px; }
.links a:hover { color: #fff; }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* hero */
/* hero: full-width photo of the van on the road, with a gentle "driving" effect */
.hero { position: relative; color: #fff; background: #0b1626; isolation: isolate; display: flex; flex-direction: column; min-height: clamp(560px, 55vw, 820px); }
.hero-media { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
/* sized by site.js to cover the header while keeping the photo's proportions (so the van cut-out lines up) */
.hero-photo { position: absolute; right: 0; top: 0; width: 100%; aspect-ratio: 1200 / 660; transform-origin: 74% 62%; animation: push 24s ease-in-out infinite alternate; will-change: transform; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.hp-van { clip-path: polygon(37.2% 21%, 54.6% 13.6%, 80% 13.6%, 87.6% 24.6%, 90.6% 35.4%, 95.2% 45.2%, 97% 60.6%, 96.6% 79%, 94.8% 82.8%, 93.4% 87%, 86.8% 87.4%, 58.4% 89.6%, 55% 85%, 44.2% 80.6%, 39.2% 75.2%, 37% 66.6%); animation: suspension .42s ease-in-out infinite alternate; }
.hp-speed { position: absolute; inset: 0; clip-path: polygon(0 51%, 37.5% 66%, 56% 100%, 0 100%); mix-blend-mode: screen; opacity: .9;
  background: repeating-linear-gradient(77deg, transparent 0 34px, rgba(255,255,255,.07) 34px 36px, transparent 36px 90px); background-size: 360px 100%; animation: road .45s linear infinite; }
.hp-light { position: absolute; width: 6.5%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255,252,235,.95) 0 7%, rgba(255,242,200,.4) 24%, transparent 62%); animation: glow 2.6s ease-in-out infinite alternate; }
.hero.custom .hp-van, .hero.custom .hp-speed, .hero.custom .hp-light { display: none; }
/* header video: plays over the photo once it's ready */
.hp-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.hp-video.playing { opacity: 1; }
.hero.has-video .hp-van, .hero.has-video .hp-speed, .hero.has-video .hp-light { display: none; }
.hero.has-video .hero-photo { animation: none; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8,15,28,.92) 0%, rgba(8,15,28,.78) 30%, rgba(8,15,28,.25) 52%, rgba(8,15,28,0) 64%),
  linear-gradient(0deg, rgba(8,15,28,.55) 0%, rgba(8,15,28,0) 22%),
  linear-gradient(180deg, rgba(8,15,28,.5) 0%, rgba(8,15,28,0) 18%); }
.hero-in { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; padding-top: 72px;
  width: auto; max-width: 1400px; margin: 0 auto; padding-left: clamp(16px, 4vw, 64px); padding-right: clamp(16px, 4vw, 64px); align-self: stretch; }
.hero-copy { max-width: 470px; }
.hero h1 { font-size: clamp(34px, 4.2vw, 54px); }
.qbar { background: #fff; color: var(--text); border-radius: 18px; padding: 16px 18px 18px; box-shadow: 0 24px 60px rgba(0,0,0,.35); margin-bottom: -64px; }
.qbar-title { font-weight: 800; font-size: 17px; margin-bottom: 10px; }
.qbar-fields { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr 1fr 1.2fr minmax(200px, auto) auto; gap: 10px; align-items: end; }
.qbar .seg { align-self: end; }
.qbar .btn { min-height: 46px; padding: 0 24px; }
.hero + #fleet { padding-top: 140px; }
@keyframes push { from { transform: scale(1); } to { transform: scale(1.07) translateX(-1.2%); } }
@keyframes suspension { from { transform: translateY(0); } to { transform: translateY(-1.6px); } }
@keyframes road { to { background-position: -360px 0; } }
@keyframes glow { from { opacity: .65; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-photo, .hp-van, .hp-speed, .hp-light { animation: none; }
}
@media (max-width: 1100px) {
  .qbar-fields { grid-template-columns: repeat(4, 1fr); }
  .qbar .loc, .qbar .seg { grid-column: span 2; }
  .qbar .btn { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; inset: auto; height: calc(100vw * 660 / 1200); }
  .hero-photo { width: 100% !important; height: 100% !important; left: 0 !important; top: 0 !important; }
  .hero-shade { background: linear-gradient(0deg, #0b1626 0%, rgba(11,22,38,0) 38%); }
  .hero-in { padding-top: 6px; padding-bottom: 28px; gap: 24px; }
  .qbar { margin-bottom: 0; }
  .qbar-fields { grid-template-columns: 1fr 1fr; }
  .qbar .loc, .qbar .seg, .qbar .btn { grid-column: 1 / -1; }
  .hero + #fleet { padding-top: 60px; }
}
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--brand) 55%, #fff); margin-bottom: 12px; }
.eyebrow.dark { color: var(--brand); }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; }
.lead { font-size: 18px; color: #c9d3e0; margin-top: 16px; max-width: 560px; }
.perks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.perks li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #e6ecf4; }
.ic { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.1); flex: none; }
.ic svg { width: 17px; height: 17px; }
.ic.big { width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); }
.ic.big svg { width: 24px; height: 24px; }

/* quote card / forms */
.qcard { background: var(--card); color: var(--text); border-radius: 20px; padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.25); display: grid; gap: 12px; }
.qcard h2 { font-size: 22px; margin-bottom: 4px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--text); width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; background: #fff; min-height: 46px; }
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); border-radius: 12px; padding: 4px; gap: 4px; }
.seg label { display: block; cursor: pointer; position: relative; }
.seg input { position: absolute; inset: 0; width: 1px; height: 1px; min-height: 0; opacity: 0; pointer-events: none; }
.grid2 > * { min-width: 0; }
input[type=date], input[type=time] { min-width: 0; -webkit-appearance: none; appearance: none; }
@media (max-width: 420px) { input[type=date], input[type=time] { padding: 10px 8px; font-size: 15px; } }
.dlg { overflow-x: hidden; }
.seg span { display: block; text-align: center; padding: 9px; border-radius: 9px; font-weight: 700; color: var(--muted); font-size: 15px; }
.seg input:checked + span { background: #fff; color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.seg input:focus-visible + span { outline: 3px solid var(--brand); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 13px; line-height: 1.45; }
.check input { width: 18px; min-height: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--brand); }
.fine { font-size: 13px; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; }
.form-msg { font-size: 14px; font-weight: 600; min-height: 1px; }
.form-msg.ok { color: var(--ok); } .form-msg.err { color: var(--bad); }

/* sections */
.section { padding: 88px 0; }
.section.alt { background: var(--sand); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.sec-head.center { justify-content: center; text-align: center; }

/* fleet */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.trip-bar { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; background: color-mix(in srgb, var(--brand) 8%, #fff); border: 1px solid color-mix(in srgb, var(--brand) 25%, #fff); border-radius: 14px; padding: 12px 16px; margin-bottom: 22px; font-weight: 600; font-size: 15px; }
.trip-bar button { margin-left: auto; background: none; border: 0; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; }
.cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.car { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.car:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.car-ph { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #eef1f5, #f8f6f1); display: grid; place-items: center; position: relative; }
.car-ph img { width: 100%; height: 100%; object-fit: cover; }
.car-ph svg { width: 52%; color: #b9c2cf; }
.car-ph .type { position: absolute; left: 12px; top: 12px; background: rgba(11,22,38,.78); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.car-b { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.car-b h3 { font-size: 19px; }
.car-b h3 small { font-weight: 600; color: var(--muted); font-size: 14px; }
.specs { display: flex; gap: 6px; flex-wrap: wrap; }
.specs span { background: var(--sand); border-radius: 8px; padding: 3px 9px; font-size: 13px; font-weight: 600; color: var(--muted); }
.blurb { font-size: 14px; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: auto; }
.price b { font-size: 26px; letter-spacing: -0.02em; }
.price span { color: var(--muted); font-size: 14px; }
.price-sub { font-size: 13px; color: var(--muted); margin-top: -6px; }
.est { border-top: 1px dashed var(--line); padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.est b { font-size: 17px; }
.pill { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); } .pill.bad { background: var(--bad-bg); color: var(--bad); }
.loading, .empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* services, steps */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.services article { background: #fff; border-radius: var(--r); padding: 26px; border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.services p, .steps p { color: var(--muted); font-size: 15px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 8px; align-content: start; }
.steps b { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 18px; }
.req { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.req > div { background: var(--sand); border-radius: var(--r); padding: 24px 26px; }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* reviews, about, faq */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.reviews figure { margin: 0; background: #fff; border-radius: var(--r); padding: 24px; border: 1px solid var(--line); display: grid; gap: 10px; }
.stars { color: #f2a33a; letter-spacing: 2px; }
.reviews figcaption { font-weight: 700; font-size: 14px; }
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.about p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stats div { background: var(--sand); border-radius: var(--r); padding: 22px; }
.stats b { display: block; font-size: 30px; letter-spacing: -0.02em; }
.stats span { color: var(--muted); font-size: 14px; font-weight: 600; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* contact, footer */
.contact { background: linear-gradient(160deg, var(--ink), var(--ink-2)); color: #fff; }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.cinfo { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.cinfo li { display: flex; gap: 12px; align-items: center; }
.cinfo a { color: #fff; font-weight: 700; text-decoration: none; }
.cinfo a:hover { text-decoration: underline; }
.foot { background: #070f1b; color: #c9d3e0; padding: 32px 0 96px; font-size: 14px; }
.foot-in { display: flex; gap: 20px 40px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { text-decoration: none; } .foot a:hover { color: #fff; }
.foot .muted { color: #8796ab; }
.mbar { display: none; }

/* quote dialog */
.dlg { border: 0; border-radius: 20px; padding: 0; width: min(560px, 100% - 24px); max-height: calc(100vh - 24px); box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--text); }
.dlg::backdrop { background: rgba(11,22,38,.6); backdrop-filter: blur(2px); }
.dlg-x { position: absolute; right: 10px; top: 8px; margin: 0; }
.dlg-x button { border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); padding: 6px 10px; }
#dlg-body { padding: 24px; display: grid; gap: 14px; }
.dlg-car { display: flex; gap: 14px; align-items: center; padding-right: 30px; }
.dlg-car .car-ph { width: 110px; flex: none; border-radius: 12px; overflow: hidden; }
.dlg-car h3 { font-size: 20px; }
.breakdown { background: var(--sand); border-radius: 14px; padding: 14px 16px; display: grid; gap: 6px; font-size: 15px; }
.breakdown .row { display: flex; justify-content: space-between; gap: 12px; }
.breakdown .total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; font-weight: 800; font-size: 19px; }
.breakdown .note { font-size: 13px; color: var(--muted); }
.success { text-align: center; display: grid; gap: 10px; padding: 10px 0; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin: 0 auto; font-size: 32px; font-weight: 800; }
.ref { font-weight: 800; font-size: 20px; letter-spacing: .03em; }

/* responsive */
@media (max-width: 980px) {
  .about, .contact-in { grid-template-columns: 1fr; }
  .services, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); flex-direction: column; gap: 0; padding: 8px 16px 16px; margin: 0; }
  .links.open { display: flex; }
  .links a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .menu { display: block; }
  .hide-sm { display: none; }
  .nav-cta .btn.brand { padding: 9px 14px; font-size: 14px; }
  .section { padding: 60px 0; }
  .services, .steps, .req { grid-template-columns: 1fr; }
  .mbar { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
  .logo img { height: 40px; }
}
@media (max-width: 420px) {
  .grid2 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .qcard { padding: 18px; }
  .nav-in { gap: 12px; }
}

/* ---------- booking / quote request pop-up ---------- */
.dlg { overflow: hidden; padding: 0; }
.dlg[open] { display: flex; flex-direction: column; }
#dlg-body { padding: 22px 24px 24px; overflow-y: auto; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
.dlg-x { position: absolute; right: 10px; top: 10px; z-index: 3; margin: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.dlg-x:hover { background: var(--sand); }
.dlg-head { padding-right: 48px; }
.dlg-head h2 { font-size: 22px; }
.dlg-head p { font-size: 14px; margin-top: 4px; }
#dq { display: grid; gap: 12px; margin-top: 16px; }
#dq .dlg-car { padding-right: 0; }
.success { padding: 18px 4px 6px; }
.success .confirm { font-size: 18px; font-weight: 700; line-height: 1.55; color: var(--text); max-width: 420px; margin: 0 auto; }
@media (max-width: 760px) {
  .dlg { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border-radius: 0; }
  #dlg-body { max-height: 100%; padding: 18px 16px 32px; }
}
