:root {
  --ink: #070707;
  --panel: #151514;
  --panel-up: #1e1d1a;
  --edge: rgba(255, 255, 255, .1);
  --cream: #f5f0e6;
  --cream-card: #fffdf8;
  --cream-edge: #e2d9c6;
  --gold: #c9a24b;
  --gold-light: #f2d98f;
  --gold-deep: #80601f;
  --gold-on-cream: #a16207;
  --gold-fill: linear-gradient(180deg, #f3dc98, #c9a24b);
  --on-gold: #17120a;
  --error: #ffb4a0;
  --target: 44px;
  --white: #f8f5ee;
  --muted: #aaa59b;
  --muted-dark: #5d574b;
  --whatsapp: #25d366;
  --leaf: linear-gradient(100deg, #f6e3a6 0%, #d7b05a 45%, #b98f3c 75%, #e9cb80 100%);
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(1rem, 4.5vw, 4rem);
  --wide: 86rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding: 6.5rem 0 5.5rem; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font: 400 1.0625rem/1.7 var(--font);
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a, button, summary, select, input[type="date"] { touch-action: manipulation; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
h1 { font-size: clamp(2.9rem, 6.8vw, 6rem); line-height: 1.03; letter-spacing: -.035em; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); text-wrap: balance; }
h3 { font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  padding: .6rem 1rem; background: var(--gold-light); color: #000;
}
.skip:focus { top: 1rem; }

.gold {
  background: var(--leaf);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.line { display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--target); padding: .8rem 1.6rem; border: 1px solid transparent; border-radius: 999px;
  font: 600 .98rem/1.2 var(--font); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .2s, background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-gold { background: var(--gold-fill); color: var(--on-gold); }
.btn-gold:hover { box-shadow: 0 8px 30px rgba(201, 162, 75, .4); }
.btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: var(--gold-light); }
.btn-green { background: var(--whatsapp); color: #06230f; }
.btn-green:hover { box-shadow: 0 8px 30px rgba(37, 211, 102, .35); }
.btn-wa { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); color: var(--white); }
.btn-wa svg { fill: var(--whatsapp); }
.btn-wa:hover { border-color: var(--whatsapp); background: rgba(37, 211, 102, .12); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2a2925; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background-color .3s, box-shadow .3s; background: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent); }
.site-header.solid { background: rgba(7, 7, 7, .96); box-shadow: 0 1px 0 var(--edge); }
.topbar {
  display: flex; justify-content: flex-end; align-items: center; gap: 1.8rem;
  max-height: 2.4rem; padding: .45rem var(--gutter) 0; overflow: hidden;
  font-size: .9rem; color: rgba(248, 245, 238, .85); transition: max-height .3s, padding .3s, opacity .3s;
}
.topbar a { display: inline-flex; align-items: center; gap: .45rem; color: var(--gold-light); text-decoration: none; font-weight: 500; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 1em; height: 1em; fill: currentColor; }
.site-header.solid .topbar { max-height: 0; padding-top: 0; opacity: 0; }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; padding: .35rem var(--gutter) .55rem; }
.brand img { width: auto; height: 66px; }
.nav-links { display: flex; gap: clamp(1.1rem, 2.4vw, 2.2rem); }
.nav-links a { display: inline-flex; align-items: center; min-height: var(--target); padding: 0; color: var(--white); font-size: 1rem; font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; transition: color .2s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-links a[aria-current="page"] { color: var(--gold-light); border-bottom-color: var(--gold); }
.nav-cta { justify-self: end; }
.nav-cta.btn { padding: .65rem 1.35rem; }
.menu-toggle { display: none; justify-self: end; min-height: var(--target); padding: .5rem 1.1rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; color: var(--white); font: 600 .95rem var(--font); cursor: pointer; }
.mobile-menu { display: none; }

/* Video backgrounds */
.film { position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #000; isolation: isolate; }
.film video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transition: opacity .55s; }
.film video.dip { opacity: 0; }
.film > .film-still { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.film::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, transparent 28%, transparent 48%, rgba(7, 7, 7, .92) 92%, var(--ink) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, transparent 60%);
}

/* Shadows lift the text and buttons off the moving video. Gold text is transparent, so it needs drop-shadow. */
.film h1 { filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .55)) drop-shadow(0 8px 26px rgba(0, 0, 0, .8)); }
.film p { text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 3px 18px rgba(0, 0, 0, .8); }
.film .btn:not(:hover) { box-shadow: 0 10px 28px rgba(0, 0, 0, .6); }
.site-header:not(.solid) .nav-links > a, .site-header:not(.solid) .topbar { text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.site-header:not(.solid) .brand img { filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .8)); }
.nav-cta:not(:hover) { box-shadow: 0 8px 22px rgba(0, 0, 0, .55); }
.hero { min-height: 100svh; }
.hero-copy { width: min(100%, var(--wide)); margin-inline: auto; padding: 8rem var(--gutter) clamp(2.5rem, 7vh, 4.5rem); }
.hero h1 { font-size: clamp(2.9rem, 8.4vw, 8.5rem); }
.hero-text { max-width: 48rem; margin: 1.5rem 0 2rem; font-size: clamp(1.15rem, 1.9vw, 1.75rem); font-weight: 500; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-actions .btn { padding: clamp(.95rem, 1.2vw, 1.25rem) clamp(1.9rem, 2.4vw, 2.75rem); font-size: clamp(1.05rem, 1.25vw, 1.3rem); }

.banner { min-height: clamp(24rem, 62vh, 36rem); }
.banner-copy { width: min(100%, var(--wide)); margin-inline: auto; padding: 8rem var(--gutter) clamp(2rem, 5vh, 3.5rem); }
.banner-copy p { max-width: 36rem; margin: 1rem 0 0; font-size: 1.15rem; font-weight: 500; }

/* Scrolling brand strip */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--edge); background: var(--panel); }
.marquee:hover .marquee-track, .marquee.paused .marquee-track { animation-play-state: paused; }
.marquee-toggle { position: absolute; top: 50%; right: var(--gutter); transform: translateY(-50%); display: grid; place-items: center; width: var(--target); height: var(--target); padding: 0; background: var(--panel-up); border: 1px solid var(--edge); border-radius: 50%; color: var(--white); cursor: pointer; }
.marquee-toggle:hover { border-color: var(--gold-light); color: var(--gold-light); }
.marquee-toggle svg { width: 1rem; height: 1rem; fill: currentColor; }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee-track span { display: flex; align-items: center; gap: clamp(2rem, 5vw, 4rem); padding: 1.15rem 0 1.15rem clamp(2rem, 5vw, 4rem); font-size: clamp(1.1rem, 1.7vw, 1.45rem); font-weight: 600; letter-spacing: -.01em; color: var(--gold-light); white-space: nowrap; }
.marquee-track span::after { content: ""; width: .5rem; height: .5rem; background: var(--gold); transform: rotate(45deg); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(4rem, 8vw, 7rem) var(--gutter); }
.inner { width: min(100%, var(--wide)); margin-inline: auto; }
.on-cream { background: var(--cream); color: #17140e; }
.on-gray { background: #1f1f1f; border-block: 1px solid var(--edge); }
.on-gray .lede { color: #bdb8ae; }
.on-cream .gold { background: linear-gradient(100deg, var(--gold-on-cream), var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.on-cream .lede, .on-cream .muted { color: var(--muted-dark); }
.head-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.2rem clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(2.2rem, 4.5vw, 3.6rem); }
.lede { margin: 0; color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
.section-foot { display: flex; justify-content: flex-end; margin-top: 2rem; }

/* Car cards */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem; }
.car-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, var(--panel-up), var(--panel));
  border: 1px solid var(--edge); border-radius: 20px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.car-card[hidden] { display: none; }
.car-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 18px 50px rgba(0, 0, 0, .6), 0 0 30px rgba(201, 162, 75, .15); }
.car-media { position: relative; display: block; aspect-ratio: 2 / 1; overflow: hidden; background: #0d0d0c; }
.car-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease, transform .6s; }
.car-media img.ready { opacity: 1; }
.car-card:hover .car-media img { transform: scale(1.06); }
.car-media img.no-photo { width: 45%; height: auto; margin: auto; position: absolute; inset: 0; object-fit: contain; }
.car-tag { position: absolute; top: .8rem; left: .8rem; padding: .22rem .75rem; border-radius: 999px; background: rgba(0, 0, 0, .78); color: var(--gold-light); font-size: .82rem; font-weight: 600; }
.car-body { display: flex; flex-direction: column; flex: 1; gap: .9rem; padding: 1.25rem; }
.car-title { display: flex; flex-direction: column; gap: .25rem; }
.car-title h3 { font-size: 1.3rem; }
.car-price { color: var(--gold-light); font-weight: 600; }
.car-price small { color: var(--muted); font-size: .85rem; font-weight: 400; }
.car-bio { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.car-title h3 a { color: inherit; text-decoration: none; }
.car-title h3 a:hover { color: var(--gold-light); }
.car-specs { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .94rem; }
.car-specs li { display: inline-flex; align-items: center; gap: .4rem; }
.car-specs svg { width: 1.05em; height: 1.05em; fill: var(--gold); }
.car-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: auto; }
.car-actions .btn { padding: .68rem .6rem; font-size: .92rem; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; }
.filters button { min-height: var(--target); padding: .55rem 1.3rem; background: var(--panel-up); border: 1px solid var(--edge); border-radius: 999px; color: var(--white); font: 600 .98rem var(--font); cursor: pointer; transition: border-color .2s; }
.filters button:hover { border-color: var(--gold); }
.filters button[aria-pressed="true"] { background: var(--gold-fill); border-color: transparent; color: var(--on-gold); }

/* Split section with image */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split h2 { margin-bottom: 1.2rem; }
.split-media { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 70px rgba(40, 28, 5, .28); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-video { justify-self: center; width: min(100%, calc(80vh * 9 / 16)); aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 30px 70px rgba(40, 28, 5, .28); }
.split-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.split .btn { margin-top: .6rem; }
.split .lede { margin-bottom: 1em; }
.about-closing { margin: 1.4rem 0 0; font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }

/* Rental-period tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tile { display: flex; flex-direction: column; overflow: hidden; background: linear-gradient(180deg, var(--panel-up), var(--panel)); border: 1px solid var(--edge); border-radius: 20px; color: var(--white); text-decoration: none; transition: border-color .3s, transform .3s; }
.tile:hover { border-color: var(--gold); transform: translateY(-4px); }
.tile-media { display: block; aspect-ratio: 2 / 1; overflow: hidden; background: #0d0d0c; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover .tile-media img { transform: scale(1.05); }
.tile-body { display: block; padding: 1.3rem 1.4rem 1.5rem; }
.tile h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: .5rem; }
.tile p { margin: 0; color: #d9d4c9; }

/* Info cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; }
.card { padding: 1.8rem; background: var(--panel); border: 1px solid var(--edge); border-radius: 20px; }
.card svg { width: 2rem; height: 2rem; margin-bottom: 1.1rem; fill: var(--gold); }
.card h3 { margin-bottom: .6rem; font-size: 1.4rem; }
.card p { margin: 0; color: var(--muted); }
.on-cream .card { background: var(--cream-card); border-color: var(--cream-edge); box-shadow: 0 10px 30px rgba(60, 45, 15, .07); }
.on-cream .card svg { fill: var(--gold-on-cream); }
.on-cream .card p { color: var(--muted-dark); }

/* Customer reviews */
.reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr; } }
.review { display: flex; flex-direction: column; gap: 1rem; margin: 0; }
.review .stars { margin: 0; color: var(--gold); font-size: 1.15rem; letter-spacing: .18em; }
.review blockquote { flex: 1; margin: 0; }
.review figcaption { display: flex; align-items: center; gap: .8rem; }
.review .avatar { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--gold-fill); color: var(--on-gold); font-weight: 700; }
.review figcaption strong { display: block; }
.review figcaption small { color: var(--muted); font-size: .85rem; }

/* Steps: these do run in order */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 2rem 1.8rem; overflow: hidden; background: var(--panel); border: 1px solid var(--edge); border-radius: 20px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: -.5rem; right: .9rem; font-size: 6.5rem; font-weight: 700; line-height: 1.1; color: rgba(201, 162, 75, .17); }
.steps h3 { position: relative; margin-bottom: .6rem; font-size: 1.4rem; }
.steps p { position: relative; margin: 0; color: var(--muted); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-side { position: sticky; top: 7rem; }
.faq-side h2 { margin-bottom: 1rem; }
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--panel); border: 1px solid var(--edge); border-radius: 16px; transition: border-color .2s; }
.faq details[open] { border-color: var(--gold); }
.faq summary { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.15rem 1.4rem; font-size: 1.12rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-light); font-size: 1.4rem; line-height: 1.1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--gold-light); }
.faq details p { margin: 0; padding: 0 1.4rem 1.3rem; color: var(--muted); max-width: 64ch; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact h2 { margin-bottom: 1rem; }
.contact-list { margin: 2rem 0 0; }
.contact-list div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .95rem 0; border-top: 1px solid var(--edge); }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a { display: inline-block; padding-block: .5rem; margin-block: -.5rem; color: var(--gold-light); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2.2rem); background: linear-gradient(180deg, var(--panel-up), var(--panel)); border: 1px solid var(--edge); border-radius: 24px; }
.form h3 { grid-column: 1 / -1; font-size: 1.6rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .95rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .95rem; background: rgba(0, 0, 0, .4); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; color: var(--white);
  font: 400 1rem/1.4 var(--font); color-scheme: dark;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.form-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .94rem; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: 0; color: var(--error); font-size: .94rem; line-height: 1.4; }
.form .btn { grid-column: 1 / -1; padding: .95rem; }
.wa-panel { display: grid; gap: 1rem; padding: clamp(1.4rem, 3vw, 2.2rem); background: linear-gradient(180deg, var(--panel-up), var(--panel)); border: 1px solid var(--edge); border-radius: 24px; }
.wa-panel h3 { font-size: 1.6rem; }
.wa-panel p { margin: 0; color: var(--muted); }
.wa-panel .btn { padding: 1rem 1.4rem; font-size: 1.05rem; }

/* Car details page */
.car-detail { padding-top: clamp(7.5rem, 12vw, 9.5rem); }
.car-detail-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.gallery, .car-info { min-width: 0; }
.gallery-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d0d0c; border: 1px solid var(--edge); border-radius: 20px; touch-action: pan-y; }
.gallery-stage > img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: opacity .16s ease; }
.gallery-stage > img.swapping { opacity: 0; }
.gallery-stage > img.no-photo { width: 30%; margin: auto; position: absolute; inset: 0; height: auto; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: var(--target); height: var(--target); padding: 0; background: rgba(0, 0, 0, .65); border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; color: #fff; cursor: pointer; }
.gallery-nav:hover { border-color: var(--gold-light); color: var(--gold-light); }
.gallery-nav svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }
.gallery-nav.prev { left: .75rem; }
.gallery-nav.next { right: .75rem; }
.gallery-count { position: absolute; right: .75rem; bottom: .75rem; padding: .2rem .75rem; background: rgba(0, 0, 0, .72); border-radius: 999px; font-size: .9rem; font-weight: 600; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .75rem; padding-bottom: .3rem; overflow-x: auto; }
.gallery-thumbs button { flex: none; width: 5.75rem; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; background: #0d0d0c; border: 2px solid transparent; border-radius: 10px; opacity: .6; cursor: pointer; transition: opacity .2s, border-color .2s; }
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--gold); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.car-info .back-link { display: inline-flex; align-items: center; min-height: var(--target); margin-bottom: .6rem; color: var(--gold-light); }
.car-info .car-tag { position: static; display: inline-block; }
.car-info h1 { margin: .7rem 0 .4rem; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.car-detail-price { margin: 0 0 1rem; color: var(--gold-light); font-size: 1.7rem; font-weight: 700; }
.car-detail-price small { color: var(--muted); font-size: 1rem; font-weight: 500; }
.car-detail-bio { color: var(--muted); font-size: 1.1rem; }
.rates { display: grid; gap: .55rem; margin: 1.3rem 0 .6rem; }
.rate { display: grid; grid-template-columns: 5.5rem auto 1fr; align-items: baseline; gap: .2rem 1rem; padding: .85rem 1.1rem; background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; }
.rate:first-child { border-color: var(--gold); }
.rate-label { color: var(--muted); font-size: .92rem; }
.rate strong { color: var(--gold-light); font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.rate-km { justify-self: end; color: var(--muted); font-size: .92rem; text-align: right; }
.rate-note { margin: 0 0 .9rem; color: var(--muted); font-size: .95rem; }
.perks { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0 0 .4rem; padding: 0; list-style: none; }
.perks li { display: inline-flex; align-items: center; gap: .4rem; }
.perks svg { width: 1.15rem; height: 1.15rem; fill: var(--whatsapp); }
.car-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: .7rem; margin: 1.5rem 0; }
.car-facts div { padding: .8rem 1rem; background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; }
.car-facts dt { color: var(--muted); font-size: .9rem; }
.car-facts dd { margin: 0; font-weight: 600; overflow-wrap: break-word; }
.car-detail-actions { display: grid; gap: .6rem; }
.car-detail-actions .btn { padding: 1rem 1.4rem; font-size: 1.05rem; }
.wa-note { margin: .8rem 0 0; color: var(--muted); font-size: .95rem; }
.car-missing { padding: 2rem 0 4rem; }
.car-missing h1 { margin-bottom: 1rem; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.car-missing .btn { margin-top: 1.4rem; }

/* Privacy policy */
.policy-page { padding-top: clamp(7.5rem, 12vw, 9.5rem); }
.policy { max-width: 46rem; }
.policy h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.policy-date { margin: .8rem 0 1.6rem; color: var(--muted); }
.policy h2 { margin: 2.2rem 0 .7rem; font-size: 1.5rem; }
.policy p, .policy li { color: #cfc9bd; }
.policy ul { margin: 0 0 1em; padding-left: 1.3rem; }
.policy li { margin-bottom: .45rem; }
.policy strong { color: var(--white); font-weight: 600; }
.policy a { display: inline-block; padding-block: .45rem; color: var(--gold-light); }

.password-row { display: flex; gap: .5rem; }
.password-row input { flex: 1; min-width: 0; }
.password-row .btn { padding-inline: 1.1rem; }
.form-error { margin: 0; color: var(--error); line-height: 1.4; }
.dialog-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.form .dialog-actions .btn { padding: .8rem 1.6rem; }
.photo-preview { display: flex; align-items: center; gap: .8rem; margin-top: .4rem; }
.photo-preview[hidden] { display: none; }
.photo-preview img { width: 9rem; aspect-ratio: 10 / 7; object-fit: cover; border-radius: 10px; }
.field-hint { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.confirm-panel { padding: clamp(1.4rem, 3vw, 2rem); background: linear-gradient(180deg, var(--panel-up), var(--panel)); border: 1px solid var(--edge); border-radius: 24px; }
.confirm-panel h2 { margin-bottom: .6rem; }
.confirm-panel p { margin-bottom: 1.2rem; color: var(--muted); overflow-wrap: anywhere; }
.btn-danger { background: #8e2a1c; color: #fff; }
.btn-danger:hover { background: #a93422; }
.car-empty { grid-column: 1 / -1; margin: 0; padding: 2.5rem 1.5rem; text-align: center; border: 1px dashed var(--edge); border-radius: 20px; color: var(--muted); }
.car-empty a { color: var(--gold-light); }

/* Floating call and WhatsApp buttons */
.float-actions { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: flex; gap: .55rem; }
.float-actions .btn { box-shadow: 0 8px 26px rgba(0, 0, 0, .5); }
.btn-white { background: #fff; color: #111; }
@media (max-width: 820px) { body:has(.field :focus) .float-actions { display: none; } }

/* Footer */
.site-footer { padding: clamp(3rem, 6vw, 5rem) var(--gutter) 5.5rem; background: var(--panel); border-top: 1px solid var(--edge); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer-brand img { width: min(250px, 70vw); margin-bottom: 1rem; }
.footer-brand p { margin: 0; color: var(--muted); max-width: 30ch; }
.footer-col h3 { margin-bottom: .9rem; color: var(--gold-light); font-size: 1.05rem; }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; }
.footer-col a { display: inline-block; padding-block: .65rem; line-height: 1.4; color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--gold-light); }
.faq-cta { margin-top: 1.4rem; }
.contact-list .phones { display: grid; justify-items: start; }
.footer-col .footer-social { display: inline-flex; align-items: center; gap: .55rem; }
.footer-social svg { flex: none; width: 1.15rem; height: 1.15rem; fill: currentColor; }
.footer-col li { color: var(--muted); }
.footer-col li:not(:has(a)) { padding-block: .65rem; line-height: 1.4; }
.copyright { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 1.5rem; margin: 2.5rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--edge); color: var(--muted); font-size: .92rem; }
.copyright a { display: inline-flex; align-items: center; min-height: var(--target); color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.copyright a:hover { color: var(--gold-light); }

@media (max-width: 1050px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links, .nav-cta, .topbar { display: none; }
  .menu-toggle { display: block; }
  .brand img { height: 56px; }
  .mobile-menu {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: .2rem;
    max-height: calc(100dvh - 5rem); overflow-y: auto; padding: .5rem var(--gutter) 1.5rem;
    background: var(--ink); border-bottom: 1px solid var(--edge); box-shadow: 0 24px 40px rgba(0, 0, 0, .5);
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  }
  .mobile-menu.open { visibility: visible; opacity: 1; transform: none; transition: opacity .22s ease, transform .22s ease, visibility 0s; }
  .mobile-menu a:not(.btn) { padding: .35rem 0; font-size: 1.45rem; font-weight: 600; text-decoration: none; }
  .mobile-menu a[aria-current="page"] { color: var(--gold-light); }
  .mobile-menu .btn { margin-top: .7rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .head-split, .split, .contact, .faq-layout { grid-template-columns: 1fr; }
  .tiles, .steps { grid-template-columns: 1fr; }
  .car-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
  .film video { object-position: 40% center; }
  .film::before { background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, transparent 25%, transparent 38%, rgba(7, 7, 7, .9) 78%, var(--ink) 100%); }
}
@media (max-width: 620px) {
}
@media (max-width: 520px) {
  .form { grid-template-columns: 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .car-facts { grid-template-columns: 1fr 1fr; }
  .rate { grid-template-columns: auto 1fr; }
  .rate-km { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .hero-copy { padding-bottom: 5.5rem; }
  .hero-actions .btn { flex: 1; }
  .float-actions { left: 1rem; }
  .float-actions .btn { flex: 1; }
  .contact-list div { grid-template-columns: 5.5rem 1fr; }
}
@media (max-width: 1050px) {
}

/* Content further down rises in as it scrolls into view (added by js/site.js) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Smooth fade between pages, in browsers that support it */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
.site-header { view-transition-name: site-header; }
.float-actions { view-transition-name: float-actions; }

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