/* =========================================================
   DriveAway Car Rentals — design system
   Brand: sky #85c2ff · mist #e9edf1 · navy #1d3f74
   ========================================================= */
@view-transition { navigation: auto; }
@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --sky: #85c2ff; --mist: #e9edf1; --navy: #1d3f74;
  --bg: #f3f6f9; --bg-2: #e9edf1; --surface: #ffffff; --surface-2: #f7f9fb;
  --ink: #0b1b33; --ink-2: #2f405a; --muted: #5a6a80;
  --line: rgba(29, 63, 116, .13); --line-2: rgba(29, 63, 116, .22);
  --accent: #1d3f74; --accent-soft: rgba(133, 194, 255, .28);
  --btn-bg: #1d3f74; --btn-ink: #ffffff; --btn-hover: #16325d;
  --glass: rgba(255, 255, 255, .62); --glass-line: rgba(255, 255, 255, .7);
  --shadow: 0 1px 2px rgba(11, 27, 51, .05), 0 12px 40px -12px rgba(29, 63, 116, .22);
  --shadow-lg: 0 30px 80px -24px rgba(29, 63, 116, .35);
  --ok: #0f7a4d; --ok-bg: rgba(16, 160, 100, .12); --no: #8a4b00; --no-bg: rgba(255, 170, 60, .16);
  --radius: 22px; --radius-sm: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --wrap: 1240px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #050d1a; --bg-2: #0a172b; --surface: #0d1d36; --surface-2: #112443;
    --ink: #e9edf1; --ink-2: #c3cedc; --muted: #8b9bb2;
    --line: rgba(133, 194, 255, .12); --line-2: rgba(133, 194, 255, .24);
    --accent: #85c2ff; --accent-soft: rgba(133, 194, 255, .14);
    --btn-bg: #85c2ff; --btn-ink: #06142a; --btn-hover: #a5d3ff;
    --glass: rgba(13, 29, 54, .55); --glass-line: rgba(133, 194, 255, .16);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 50px -18px rgba(0, 0, 0, .7);
    --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, .8);
    --ok: #6be3a8; --ok-bg: rgba(60, 220, 150, .12); --no: #ffc27a; --no-bg: rgba(255, 170, 60, .12);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--sky); color: #06142a; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--btn-bg); color: var(--btn-ink); padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(var(--wrap), 100% - 64px); } }

/* ---------- Type ---------- */
h1, h2, h3, h4 { line-height: 1.05; letter-spacing: -.035em; margin: 0 0 .5em; font-weight: 650; text-wrap: balance; }
p { text-wrap: pretty; }
.display { font-size: clamp(2.8rem, 8.2vw, 7.4rem); font-weight: 700; letter-spacing: -.055em; line-height: .92; }
.display-sm { font-size: clamp(2.1rem, 5vw, 4.2rem); letter-spacing: -.045em; line-height: .98; }
.h2 { font-size: clamp(1.9rem, 4.2vw, 3.4rem); }
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.display em, .display-sm em, .h2 em { color: var(--accent); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sky); border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --x: 0px; --y: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 22px; border-radius: 999px; font: 600 1rem/1 var(--font); text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transform: translate(var(--x), var(--y));
  transition: transform .35s var(--ease-out), background .25s, box-shadow .3s, color .25s, border-color .25s;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--btn-bg) 70%, transparent); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { background: var(--glass); border-color: var(--line-2); color: var(--ink); backdrop-filter: blur(12px); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 10px 16px; font-size: .92rem; }
.btn-lg { padding: 18px 28px; font-size: 1.08rem; }
.btn span[aria-hidden] { transition: transform .3s var(--ease-out); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }

/* WhatsApp */
.btn-wa { background: #25d366; color: #052e16; box-shadow: 0 10px 30px -12px rgba(37, 211, 102, .7); }
.btn-wa:hover { background: #3fe07a; }
.btn-wa svg { flex: none; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 45; display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px 14px 16px; border-radius: 999px; background: #25d366; color: #052e16; font-weight: 650; text-decoration: none; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .45); animation: waIn .8s var(--ease-out) 1.2s both; transition: transform .3s var(--ease-out); }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float svg { width: 26px; height: 26px; }
@keyframes waIn { from { opacity: 0; transform: translateY(30px) scale(.8); } }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { padding: 15px; } }
.selected-deal { flex-wrap: wrap; }
.sel-wa { margin-left: auto; }
@media (max-width: 640px) { .sel-wa { margin-left: 0; width: 100%; } }
.side-list .ic svg { width: 22px; height: 22px; }

/* ---------- Header ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--sky), var(--navy)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: padding .35s var(--ease); view-transition-name: header; }
.site-header::before { content: ""; position: absolute; inset: 8px 12px; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: var(--shadow); opacity: 0; transition: opacity .35s, inset .35s var(--ease); }
.site-header.scrolled { padding: 10px 0; }
.site-header.scrolled::before { opacity: 1; inset: 6px 10px; }
.header-inner { position: relative; display: flex; align-items: center; gap: 24px; }
.brand img { width: 168px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 13px; border-radius: 999px; text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current] { background: var(--accent-soft); color: var(--ink); }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--glass); cursor: pointer; color: var(--ink); }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; margin: auto; position: relative; transition: transform .3s var(--ease), background .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { position: relative; margin: 10px 12px 0; padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; gap: 2px; animation: drop .4s var(--ease-out); }
.mobile-nav a:not(.btn) { padding: 13px 14px; border-radius: 12px; text-decoration: none; font-weight: 550; font-size: 1.1rem; }
.mobile-nav a:not(.btn):hover { background: var(--accent-soft); }
.mobile-nav .btn { margin-top: 8px; }
.mobile-nav[hidden] { display: none; }
@media (min-width: 981px) { .mobile-nav { display: none !important; } }
@keyframes drop { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .brand img { width: 150px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 8vw, 120px); isolation: isolate; }
.aurora { position: absolute; inset: -120px 0 0; z-index: -1; overflow: hidden; pointer-events: none; mask-image: linear-gradient(#000 55%, transparent); }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 18s var(--ease) infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: -10vw; top: -8vw; background: var(--sky); }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; right: -8vw; top: 4vw; background: var(--navy); animation-duration: 22s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 28vw; height: 28vw; left: 35vw; top: 18vw; background: #b7dbff; opacity: .35; animation-duration: 26s; }
@media (prefers-color-scheme: dark) { .aurora i { opacity: .32; } .aurora i:nth-child(2) { background: #2b5ea8; } }
@keyframes float { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(4vw, 3vw, 0) scale(1.12); } 100% { transform: translate3d(-3vw, 5vw, 0) scale(.94); } }
.grid-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); opacity: .7; }

.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-title { font-size: clamp(2.5rem, 6.4vw, 5.9rem); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; animation: rise 1.1s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 110ms + 150ms); }
@keyframes rise { from { transform: translateY(105%) rotate(4deg); opacity: 0; } }
.hero .lead { margin: 22px 0 32px; animation: fadeUp 1s var(--ease-out) .55s both; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; animation: fadeUp 1s var(--ease-out) .7s both; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding: 0; list-style: none; color: var(--muted); font-size: .94rem; animation: fadeUp 1s var(--ease-out) .85s both; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2385c2ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }

/* Road visual */
.road-stage { position: relative; height: clamp(420px, 52vw, 600px); animation: fadeUp 1.2s var(--ease-out) .3s both; }
.road { position: absolute; left: 50%; top: 0; bottom: 0; width: min(260px, 52%); transform: translateX(-50%) perspective(900px) rotateX(18deg); transform-origin: 50% 100%;
  border-radius: 34px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--navy) 88%, #000) 18%, color-mix(in srgb, var(--navy) 80%, #000)); overflow: hidden; box-shadow: var(--shadow-lg); mask-image: linear-gradient(transparent, #000 20%, #000 85%, transparent); }
.road::before, .road::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: rgba(233, 237, 241, .5); }
.road::before { left: 14px; } .road::after { right: 14px; }
.lane { position: absolute; left: 50%; top: -80px; bottom: -80px; width: 6px; transform: translateX(-50%); background: repeating-linear-gradient(to bottom, var(--mist) 0 40px, transparent 40px 80px); animation: lane .7s linear infinite; animation-duration: calc(.9s / var(--speed, 1)); opacity: .85; }
@keyframes lane { to { transform: translate(-50%, 80px); } }
.hero-car { position: absolute; left: 50%; top: 50%; width: clamp(92px, 11vw, 132px); transform: translate(-50%, -50%) rotate(180deg); filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .45)); animation: sway 4s var(--ease) infinite alternate; }
@keyframes sway { 0% { transform: translate(-58%, -48%) rotate(178deg); } 100% { transform: translate(-42%, -52%) rotate(182deg); } }
.float-card { position: absolute; padding: 14px 16px; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); box-shadow: var(--shadow); font-size: .9rem; min-width: 160px; animation: bob 6s var(--ease) infinite alternate; }
.float-card strong { display: block; font-size: 1.7rem; letter-spacing: -.04em; line-height: 1.05; }
.float-card small { color: var(--muted); }
.float-card.a { left: 0; top: 14%; }
.float-card.b { right: 0; top: 42%; animation-delay: -2s; }
.float-card.c { left: 6%; bottom: 8%; animation-delay: -4s; }
@keyframes bob { from { transform: translateY(-8px); } to { transform: translateY(10px); } }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #29d38a; box-shadow: 0 0 0 0 rgba(41, 211, 138, .6); animation: ping 2s infinite; margin-right: 6px; vertical-align: middle; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(41, 211, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(41, 211, 138, 0); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 20px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; display: flex; align-items: center; gap: 48px; color: var(--ink-2); }
.marquee span::after { content: "✦"; color: var(--sky); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 140px) 0; position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { margin: 0; }
.page-hero { padding: clamp(30px, 6vw, 70px) 0 clamp(30px, 5vw, 60px); position: relative; isolation: isolate; }
.page-hero .lead { margin-top: 18px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--surface); padding: 28px; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.05em; line-height: 1; font-weight: 700; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Deal cards */
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 22px; }
.deal-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease-out), box-shadow .4s, border-color .3s;
  box-shadow: var(--shadow);
}
.deal-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--sky) 22%, transparent), transparent 45%); opacity: 0; transition: opacity .3s; }
.deal-card:hover { box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.deal-card:hover::after { opacity: 1; }
.deal-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.deal-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); }
.deal-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.deal-card:hover .deal-media img { transform: scale(1.06); }
.ribbon, .cat { position: absolute; top: 14px; padding: 6px 11px; border-radius: 999px; font-size: .76rem; font-weight: 650; letter-spacing: .02em; backdrop-filter: blur(10px); }
.ribbon { left: 14px; background: var(--sky); color: #06142a; }
.cat { right: 14px; background: rgba(6, 16, 31, .55); color: #fff; }
.deal-body { padding: 20px 22px 22px; }
.deal-title { font-size: 1.22rem; letter-spacing: -.025em; margin-bottom: 8px; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 0 0 14px; }
.price .amt { font-size: 2.5rem; font-weight: 750; letter-spacing: -.055em; line-height: 1; color: var(--accent); }
.price .per { color: var(--muted); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 12px; list-style: none; }
.chip { padding: 6px 10px; border-radius: 999px; font-size: .8rem; font-weight: 560; background: var(--accent-soft); color: var(--ink-2); border: 1px solid var(--line); }
.chip.yes { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.chip.no { background: var(--no-bg); color: var(--no); border-color: transparent; }
.fee-line { margin: -6px 0 12px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.fee-callout { margin: -6px 0 16px; padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); font-size: .95rem; color: var(--ink-2); }
.fee-callout b { color: var(--ink); }
.deal-meta { margin: 0; font-size: .88rem; color: var(--muted); }
.empty { padding: 60px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }

/* Filters */
.filters { position: sticky; top: 86px; z-index: 10; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px; margin-bottom: 28px; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: var(--shadow); }
.filters label { font-size: .78rem; color: var(--muted); display: grid; gap: 3px; }
.filters select { appearance: none; padding: 9px 34px 9px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238b9bb2' stroke-width='1.6'/%3E%3C/svg%3E") right 12px center/11px no-repeat; color: var(--ink); font: 500 .92rem var(--font); }
.filters .count { margin-left: auto; font-size: .9rem; color: var(--muted); }
@media (max-width: 700px) { .filters { position: static; } .filters label { flex: 1 1 140px; } .filters select { width: 100%; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { --mx: 50%; --my: 50%; position: relative; grid-column: span 2; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx) var(--my), color-mix(in srgb, var(--sky) 16%, transparent), transparent 40%); opacity: 0; transition: opacity .4s; }
.tile:hover::before { opacity: 1; }
.tile.wide { grid-column: span 4; } .tile.half { grid-column: span 3; }
.tile.dark { background: linear-gradient(150deg, var(--navy), #0b1f40); color: #e9edf1; border-color: transparent; }
.tile.dark p { color: #b9c7da; }
.tile h3 { font-size: 1.5rem; position: relative; }
.tile p { margin: 0; color: var(--ink-2); position: relative; }
.tile .icon { position: absolute; top: 26px; left: 28px; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.tile.dark .icon { background: rgba(133, 194, 255, .16); color: var(--sky); }
.tile .big { position: absolute; right: 24px; top: 14px; font-size: clamp(4rem, 9vw, 7rem); font-weight: 750; letter-spacing: -.06em; line-height: 1; color: var(--sky); opacity: .9; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .tile, .tile.wide, .tile.half { grid-column: span 2; } }
@media (min-width: 600px) and (max-width: 900px) { .tile { grid-column: span 1; } }

/* Steps (sticky scroll) */
.steps { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.steps-sticky { position: sticky; top: 120px; }
.steps-list { position: relative; display: grid; gap: 22px; padding-left: 34px; counter-reset: s; list-style: none; margin: 0; }
.steps-list::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); border-radius: 2px; }
.steps-list::after { content: ""; position: absolute; left: 8px; top: 8px; width: 2px; height: calc((100% - 16px) * var(--fill, 0)); background: linear-gradient(var(--sky), var(--navy)); border-radius: 2px; transition: height .15s linear; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); counter-increment: s; transition: border-color .4s, transform .5s var(--ease-out); }
.step::before { content: ""; position: absolute; left: -32px; top: 34px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); z-index: 1; transition: background .3s, border-color .3s, box-shadow .3s; }
.step.on::before { background: var(--sky); border-color: var(--sky); box-shadow: 0 0 0 6px var(--accent-soft); }
.step.on { border-color: var(--line-2); }
.step .num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--accent); }
.step .num::before { content: "Step 0" counter(s); }
.step h3 { font-size: 1.45rem; margin: 6px 0 8px; }
.step p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps-sticky { position: static; } }

/* Big statement with scroll-linked word highlight */
.statement { font-size: clamp(1.8rem, 4.4vw, 3.6rem); line-height: 1.12; letter-spacing: -.04em; font-weight: 600; max-width: 22ch; }
.statement .w { opacity: .18; transition: opacity .3s; }
.statement .w.lit { opacity: 1; }

/* Rental vs lease */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.vs-col { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.vs-col.win { background: linear-gradient(150deg, var(--navy), #0b1f40); color: #e9edf1; border-color: transparent; box-shadow: var(--shadow-lg); }
.vs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vs-col li { padding-left: 30px; position: relative; color: var(--ink-2); }
.vs-col.win li { color: #c9d6e8; }
.vs-col li::before { content: "–"; position: absolute; left: 6px; color: var(--muted); }
.vs-col.win li::before { content: "✓"; left: 4px; color: var(--sky); font-weight: 700; }
.vs-col b { color: var(--ink); } .vs-col.win b { color: #fff; }
.vs-label { font-size: .8rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; color: var(--muted); }
.vs-col.win .vs-label { color: var(--sky); }
.vs-mid { align-self: center; font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--muted); }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } .vs-mid { justify-self: center; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font-weight: 600; font-size: 1.08rem; position: relative; }
.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-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%2385c2ff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .4s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .a { padding: 0 24px 22px; color: var(--ink-2); }
.faq .a p { margin: 0 0 .8em; }
details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
details[open]::details-content { block-size: auto; }
:root { interpolate-size: allow-keywords; }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .form-shell { grid-template-columns: 1fr; } }
.card { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field > span, fieldset legend { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.field .req { color: var(--accent); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], input[type=password], input[type=url], select, textarea {
  width: 100%; padding: 13px 15px; border-radius: 13px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink);
  font: 400 1rem var(--font); transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--surface); }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: #e5484d; }
fieldset { border: 0; padding: 0; margin: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); font-size: .93rem; font-weight: 550; cursor: pointer; transition: all .2s; }
.seg input:checked + span { background: var(--btn-bg); color: var(--btn-ink); border-color: transparent; }
.seg input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 18px; border-radius: 14px; margin-bottom: 20px; font-weight: 500; }
.alert.err { background: rgba(229, 72, 77, .12); color: #e5484d; border: 1px solid rgba(229, 72, 77, .3); }
.alert.ok { background: var(--ok-bg); color: var(--ok); border: 1px solid transparent; }
.success { text-align: center; padding: 50px 20px; }
.success .check-anim { width: 84px; height: 84px; margin: 0 auto 20px; }
.success .check-anim circle { stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw .9s var(--ease-out) forwards; }
.success .check-anim path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s var(--ease-out) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.side-list { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.side-list li { display: flex; gap: 12px; }
.side-list b { display: block; }
.side-list .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.selected-deal { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--accent-soft); margin-bottom: 22px; }
.selected-deal img { width: 96px; height: 60px; object-fit: cover; border-radius: 10px; }

/* Deal detail */
.deal-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .deal-hero { grid-template-columns: 1fr; } }
.deal-photo { border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--bg-2); aspect-ratio: 16/10; box-shadow: var(--shadow-lg); view-transition-name: deal-photo; }
.deal-photo img { width: 100%; height: 100%; object-fit: cover; }
.price-panel { position: sticky; top: 110px; }
.price-panel .price .amt { font-size: clamp(3.2rem, 6vw, 4.6rem); }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin: 20px 0; }
.spec div { background: var(--surface); padding: 14px 16px; }
.spec dt { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.spec dd { margin: 2px 0 0; font-weight: 650; }
.features { columns: 2 220px; padding-left: 1.1em; }
.features li { margin-bottom: 6px; }

/* Prose / legal */
.prose { max-width: 78ch; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--ink-2); }
.prose a { color: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.toc { padding: 18px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 30px; }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; columns: 2 240px; }
.updated { font-size: .9rem; color: var(--muted); }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 8px auto 0; font-size: .88rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Footer */
.site-footer { margin-top: 40px; padding: 0 0 30px; border-top: 1px solid var(--line); background: linear-gradient(var(--bg), var(--bg-2)); }
.footer-cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: end; justify-content: space-between; padding: clamp(50px, 8vw, 100px) 0; border-bottom: 1px solid var(--line); }
.footer-cta h2 { margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 50px 0 30px; }
.footer-grid h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.footer-grid nav a { display: block; padding: 4px 0; text-decoration: none; color: var(--ink-2); font-size: .95rem; }
.footer-grid nav a:hover { color: var(--accent); }
.footer-brand img { width: 190px; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); margin: 0 0 12px; }
.footer-brand address { font-style: normal; color: var(--ink-2); font-size: .94rem; line-height: 1.8; }
.footer-brand address a { text-decoration: none; }
.fine { font-size: .82rem; color: var(--muted); max-width: 100ch; border-top: 1px solid var(--line); padding-top: 22px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: var(--muted); }
.social a { margin-left: 14px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); filter: blur(8px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out), filter .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .deal-card.reveal.in { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); }
@supports (animation-timeline: view()) {
  .parallax { animation: parallax linear both; animation-timeline: view(); }
  @keyframes parallax { from { transform: translateY(60px); } to { transform: translateY(-60px); } }
  .scale-in { animation: scaleIn linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  @keyframes scaleIn { from { transform: scale(.88); border-radius: 60px; opacity: .4; } to { transform: scale(1); opacity: 1; } }
}
.cta-band { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 10px); padding: clamp(40px, 7vw, 90px); background: linear-gradient(135deg, var(--navy), #0a1d3c 60%, #133a73); color: #e9edf1; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -15%; top: -40%; background: radial-gradient(circle, rgba(133, 194, 255, .45), transparent 60%); z-index: -1; animation: float 14s var(--ease) infinite alternate; }
.cta-band .lead { color: #c3d3e8; }
.cta-band em { color: var(--sky); }
.cta-band .btn-primary { background: var(--sky); color: #06142a; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }
.cta-car { position: absolute; right: 6%; bottom: -40px; width: 110px; transform: rotate(-90deg); opacity: .9; z-index: -1; }
@media (max-width: 700px) { .cta-car { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .statement .w { opacity: 1; }
  @view-transition { navigation: none; }
}
