/*
Theme Name: Ferrari Rental Miami
Theme URI: https://ferrarirentalmiami.online
Author: Ferrari Rental Miami
Description: Custom theme for a Ferrari rental business in Miami. Fleet pages, location pages, blog, lead form that emails booking@ferrarirentalmiami.online and saves every lead in the admin.
Version: 1.0.4
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ferrari-rental-miami
*/

/* ferrarirentalmiami.online - home page styles (v2)
   Tokens first, then base, layout, components. */

:root {
  --black: #000000;
  --ink: #14171a;
  --muted: #59636c;
  --line: #dde2e5;
  --surface: #ffffff;
  --wash: #f1f4f5;
  --rosso: #c8102e;
  --rosso-dark: #9f0c24;
  --bay: #0a7e8c;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 6px;
  --shadow-card: 0 1px 2px rgba(20, 23, 26, .06), 0 18px 34px -14px rgba(20, 23, 26, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--bay); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--rosso); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

h1, h2, h3 { font-stretch: 80%; font-weight: 800; line-height: 1.02; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(3.1rem, 6.6vw, 6.2rem); line-height: .96; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.5rem; line-height: 1.1; }
p { margin: 0; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 58ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .7rem 1.4rem;
  font: inherit; font-weight: 700; font-stretch: 90%; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--rosso); color: #fff; }
.btn-primary:hover { background: var(--rosso-dark); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--black); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--rosso); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Header ---------- */
.site-header { background: var(--black); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.brand { text-decoration: none; font-stretch: 80%; font-weight: 800; font-size: 1.55rem; line-height: 1; letter-spacing: -.01em; }
.brand span { color: var(--rosso); }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover { color: #ff6b81; }
.nav .btn { color: #fff; }
.nav .call { font-weight: 700; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: .5rem; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 4.5rem 0 auto 0; background: var(--black);
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.5rem;
    border-top: 1px solid #222; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid #1d1d1d; }
  .nav .btn { margin-top: 1rem; border-bottom: 0; }
}

/* ---------- Photo slots (placeholder until a real photo loads) ---------- */
.photo {
  position: relative; overflow: hidden; margin: 0;
  background:
    linear-gradient(135deg, rgba(200,16,46,.18), rgba(10,126,140,.22)),
    linear-gradient(180deg, #2a2f33, #14171a);
}
.photo::before {
  content: attr(data-label); position: absolute; inset: auto 1rem 1rem 1rem;
  color: rgba(255,255,255,.55); font-size: .85rem; font-weight: 500;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--black); color: #fff; isolation: isolate; display: flex; align-items: center; }
.hero > .photo { position: absolute; inset: 0; z-index: -2; }
.hero > .photo img { object-position: 60% 55%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.72) 38%, rgba(0,0,0,.28) 100%),
    linear-gradient(0deg, rgba(0,0,0,.65) 0%, transparent 35%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-block: clamp(2.5rem, 4vw, 3.5rem) clamp(3rem, 5vw, 4rem); }
.hero h1 .line { display: block; }
.hero .lede { color: #e1e5e8; margin-top: 1.5rem; max-width: 46ch; }

.rates { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 40rem; }
.rates li { border-top: 2px solid var(--rosso); padding-top: .8rem; }
.rates strong { display: block; font-stretch: 80%; font-weight: 800; font-size: 1.6rem; line-height: 1.1; }
.rates span { color: #c9cfd3; font-size: .92rem; line-height: 1.4; display: block; margin-top: .25rem; }
.perks { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1rem; max-width: 40rem; }
.perks li { position: relative; padding-left: 2.1rem; }
.perks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--rosso); }
.perks li::after { content: ""; position: absolute; left: .44rem; top: .45rem; width: .36rem; height: .66rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.perks strong { display: block; font-size: 1.1rem; line-height: 1.3; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.perks span { display: block; color: #d6dbde; font-size: .95rem; line-height: 1.4; text-shadow: 0 1px 12px rgba(0,0,0,.6); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-actions .btn-ghost { color: #fff; }

.quote { background: var(--surface); color: var(--ink); padding: 1.75rem; border-radius: var(--radius); border-top: 5px solid var(--rosso); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.quote h2 { font-size: 1.9rem; }
.quote .intro { color: var(--muted); font-size: .95rem; margin-top: .4rem; }
.quote form { display: grid; gap: .85rem; margin-top: 1.25rem; }
.quote label { display: grid; gap: .3rem; font-weight: 600; font-size: .92rem; }
.quote input, .quote select, .quote textarea { width: 100%; min-width: 0; font: inherit; font-weight: 400; padding: .65rem .8rem; border: 1px solid #b9c1c6; border-radius: var(--radius); background: #fff; color: var(--ink); min-height: 2.9rem; }
.quote textarea { resize: vertical; min-height: 4.2rem; }
.quote input:focus-visible, .quote select:focus-visible, .quote textarea:focus-visible { outline-offset: 1px; border-color: var(--bay); }
.quote .two { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.quote .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote .fineprint { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.quote .done { display: grid; gap: .6rem; padding: 1rem 0 .5rem; }
.quote .done h3 { font-size: 1.8rem; }
.quote .done p { color: var(--muted); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-top: 3rem; }
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.88)); }
}
@media (max-width: 520px) {
  .rates { grid-template-columns: 1fr; gap: .9rem; }
  .quote .two { grid-template-columns: 1fr; }
}

/* One orchestrated moment: headline lines rise once on load. */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .line { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 .line:nth-child(2) { animation-delay: .12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}

/* ---------- Ferrari ticker ---------- */
.ticker { background: var(--black); color: #fff; overflow: hidden; border-top: 1px solid #222; }
.ticker-track { display: flex; width: max-content; }
.ticker ul { list-style: none; margin: 0; padding: 0; display: flex; flex-shrink: 0; }
.ticker li { display: flex; align-items: center; padding: 1.35rem 0; font-stretch: 80%; font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1; white-space: nowrap; }
.ticker li::after { content: ""; width: 14px; height: 14px; margin-inline: 2.2rem; background: var(--rosso); transform: skewX(-20deg); }
.ticker li span { color: #8c959b; margin-left: .45em; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: scroll 42s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  @keyframes scroll { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; }
  .ticker ul[aria-hidden="true"] { display: none; }
}

/* ---------- Facts bar ---------- */
.facts { background: #0b0c0d; color: #fff; border-top: 1px solid #222; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 1.4rem 1.25rem; border-left: 1px solid #222; font-weight: 500; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-stretch: 80%; font-weight: 800; font-size: 1.5rem; line-height: 1.1; color: #fff; }
.facts span { color: #aab2b8; font-size: .92rem; }
@media (max-width: 800px) {
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li { border-top: 1px solid #222; }
  .facts li:nth-child(-n+2) { border-top: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.section--wash { background: var(--wash); }

/* ---------- Fleet ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.chip { font: inherit; font-weight: 600; font-size: .95rem; padding: .55rem 1.1rem; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; min-height: 2.75rem; }
.chip:hover { background: var(--wash); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.count { margin: 0 0 1.5rem; color: var(--muted); font-size: .92rem; }

.fleet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 2rem; padding-bottom: .75rem; }
.car { background: var(--surface); border: 1px solid #e8ecee; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card); }
.car .photo { aspect-ratio: 16 / 10; }
.car .tag { position: absolute; top: 1rem; left: 1rem; z-index: 1; background: rgba(0,0,0,.82); color: #fff; font-weight: 700; font-size: .85rem; padding: .35rem .7rem; border-radius: 3px; }
.car-body { padding: 1.4rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.car-body h3 a { text-decoration: none; }
.car-body h3 a:hover { color: var(--rosso); }
.car-body .sub { color: var(--muted); font-size: .98rem; }
.price { display: flex; align-items: baseline; gap: .5rem; }
.price .from { color: var(--muted); font-size: .9rem; }
.price strong { font-stretch: 80%; font-weight: 800; font-size: 2rem; line-height: 1; color: var(--rosso); }
.price .per { color: var(--muted); font-size: .95rem; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0; padding-top: .9rem; border-top: 1px solid var(--line); }
.specs div { display: grid; }
.specs dt { color: var(--muted); font-size: .8rem; }
.specs dd { margin: 0; font-weight: 700; font-size: .98rem; }
.car-body .price { margin-top: auto; }
.car-body .btn { margin-top: .25rem; }
.fleet-note { color: var(--muted); font-size: .92rem; margin-top: 1.75rem; }

/* ---------- Choose by trip ---------- */
.trips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.trip { padding: 1.75rem 1.75rem 1.75rem 0; display: grid; gap: .75rem; align-content: start; }
.trip + .trip { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.trip p { color: var(--muted); }
.trip a { font-weight: 700; color: var(--rosso); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 800px) {
  .trips { grid-template-columns: 1fr; }
  .trip, .trip + .trip { padding: 1.5rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Delivery route ---------- */
.route { background: var(--black); color: #fff; }
.route .lede { color: #b4bcc2; }
.route-line { list-style: none; margin: 3.5rem 0 0; padding: 0 0 1rem; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); position: relative; overflow-x: auto; scrollbar-width: thin; }
.route-line::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 4px; background: repeating-linear-gradient(90deg, var(--rosso) 0 22px, transparent 22px 34px); min-width: 100%; }
.stop { position: relative; padding-top: 2.4rem; padding-right: 1rem; }
.stop::before { content: ""; position: absolute; top: 0; left: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--black); border: 4px solid var(--rosso); }
.stop a { text-decoration: none; display: grid; gap: .2rem; }
.stop a:hover strong { color: #ff6b81; }
.stop strong { font-stretch: 80%; font-weight: 800; font-size: 1.35rem; line-height: 1.1; }
.stop span { color: #9aa3a9; font-size: .9rem; }
.stop--air::before { background: var(--bay); border-color: var(--bay); border-radius: 4px; }
.route-note { margin-top: 2rem; color: #d6dbde; max-width: 62ch; }

/* ---------- How it works ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.steps li { counter-increment: step; display: grid; gap: .6rem; align-content: start; }
.steps li::before { content: counter(step); font-stretch: 80%; font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--rosso); }
.steps p { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Requirements ---------- */
.req { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.req ul { margin: 0; padding: 0; list-style: none; display: grid; }
.req li { padding: 1rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .15rem; }
.req li:first-child { border-top: 1px solid var(--line); }
.req li strong { font-weight: 700; }
.req li span { color: var(--muted); }
@media (max-width: 800px) { .req { grid-template-columns: 1fr; } }

/* ---------- Long-form guide ---------- */
.guide { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.guide-side { position: sticky; top: 6rem; display: grid; gap: 1rem; }
.guide-side h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.guide-side p { color: var(--muted); }
.prose { max-width: 70ch; }
.prose h3 { font-size: 1.9rem; margin: 3rem 0 .9rem; }
.prose h3:first-child { margin-top: 0; }
.prose h4 { font-size: 1.15rem; font-weight: 700; margin: 1.6rem 0 .3rem; line-height: 1.3; }
.prose p { margin-top: 1rem; }
.prose p:first-child, .prose h3 + p, .prose h4 + p { margin-top: 0; }
.prose ul { margin: 1rem 0 0; padding-left: 1.2rem; display: grid; gap: .5rem; }
.prose a { color: var(--rosso); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose .callout { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-left: 4px solid var(--rosso); background: var(--wash); border-radius: 0 var(--radius) var(--radius) 0; }
@media (max-width: 900px) { .guide { grid-template-columns: minmax(0, 1fr); } .guide-side { position: static; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; font-weight: 700; font-size: 1.12rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--rosso); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 2.5rem 1.4rem 0; color: var(--muted); max-width: 66ch; }

/* ---------- Final CTA ---------- */
.cta { background: var(--rosso); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta h2 { max-width: 16ch; }
.cta p { margin-top: .75rem; color: #ffe2e6; max-width: 46ch; }
.cta .btn-dark:hover { background: #fff; color: var(--black); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #b4bcc2; padding-block: 4rem 2rem; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; }
.site-footer h2 { font-stretch: 100%; font-weight: 700; font-size: 1rem; letter-spacing: 0; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; display: inline-block; margin-bottom: 1rem; }
.legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #222; font-size: .88rem; color: #8a939a; display: grid; gap: .5rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }


/* =====================================================================
   WordPress additions (v1.0)
   ===================================================================== */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.screen-reader-text { position: absolute; left: -9999px; }
.photo > a { position: absolute; inset: 0; display: block; }
.photo img { height: 100%; }
.hero > .photo img { height: 100%; }
.nowrap { white-space: nowrap; }
.nav .call { color: #fff; }

/* breadcrumbs */
.crumbs { font-size: .88rem; padding-block: 1.1rem 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .6rem; }
.crumbs li + li::before { content: "/"; margin-right: .6rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero .crumbs, .model-hero .crumbs, .post-head .crumbs { color: #9aa3a9; }
.crumbs.wrap { padding-bottom: 0; }

/* inner page hero */
.page-hero { background: var(--black); color: #fff; padding-block: 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); margin-top: 1.2rem; max-width: 20ch; text-wrap: balance; }
.page-hero .lede { color: #c9cfd3; margin-top: 1.1rem; }

/* model + location hero */
.model-hero { background: var(--black); color: #fff; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.model-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-top: 1.5rem; }
.model-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); text-wrap: balance; }
.model-hero--loc h1 { margin-top: 1.2rem; max-width: 22ch; }
.model-hero .lede { color: #c9cfd3; margin-top: 1.1rem; }
.model-hero .price { margin-top: 1.4rem; }
.model-hero .price .from, .model-hero .price .per { color: #aab2b8; }
.price--big strong { font-size: 3rem; }
.muted-on-dark { color: #aab2b8; font-size: .95rem; margin-top: .5rem; max-width: 46ch; }
.model-hero .hero-actions { margin-top: 1.5rem; }
.model-hero .hero-actions .btn-ghost { color: #fff; }
.model-photo { aspect-ratio: 16 / 10; border-radius: 10px; }
@media (max-width: 900px) { .model-hero__grid { grid-template-columns: minmax(0, 1fr); } }

/* two-column layout with sticky quote card */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split--quote { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.split--post { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); }
.aside { position: sticky; top: 6rem; }
.admin-bar .aside { top: 8.5rem; }
@media (max-width: 960px) { .split, .split--quote, .split--post { grid-template-columns: minmax(0, 1fr); } .aside { position: static; } }
.quote--compact { box-shadow: var(--shadow-card); border: 1px solid #e8ecee; border-top: 5px solid var(--rosso); }
.quote--compact h2 { font-size: 1.6rem; }
.notice { padding: .7rem .9rem; border-radius: var(--radius); font-size: .92rem; margin-top: 1rem; }
.notice--error { background: #fdecef; color: var(--rosso-dark); }
.quote .done { padding: 1rem 0 .5rem; outline: none; }

/* long-form content */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 2.6rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.7rem; margin: 2.2rem 0 .8rem; }
.prose h4 { font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 .3rem; line-height: 1.3; }
.prose p { margin-top: 1rem; }
.prose h2 + p, .prose h3 + p, .prose h4 + p, .prose > p:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 1rem 0 0; padding-left: 1.3rem; display: grid; gap: .5rem; }
.prose a { color: var(--rosso); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: .98rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--wash); font-weight: 700; }
.prose blockquote, .prose .callout { margin: 1.5rem 0 0; padding: 1.1rem 1.25rem; border-left: 4px solid var(--rosso); background: var(--wash); border-radius: 0 var(--radius) var(--radius) 0; }
.prose blockquote p, .prose .callout p { margin-top: .4rem; }
.prose img { height: auto; border-radius: 8px; margin-top: 1.5rem; }
.prose--spaced { margin-top: 2.5rem; }
.prose--faq details { border-bottom: 1px solid var(--line); }
.prose--faq details:first-of-type { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.prose--faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.prose--faq summary::-webkit-details-marker { display: none; }
.prose--faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--rosso); }
.prose--faq details[open] summary::after { content: "\2212"; }
.prose--faq details p { padding: 0 2rem 1.3rem 0; margin: 0; color: var(--muted); }
.callout--cta { display: grid; gap: .4rem; justify-items: start; margin-top: 2.5rem !important; }
.callout--cta .btn { margin-top: .6rem; color: #fff; text-decoration: none; }
.contact-list { list-style: none; padding: 0 !important; margin-top: 1.5rem !important; }
.contact-list li { display: flex; gap: .8rem; }
.contact-list strong { min-width: 5.5rem; }

/* specs */
.spec-title { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.spec-table { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; margin: 1.25rem 0 0; }
.spec-table div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; font-weight: 700; text-align: right; }
.spec-note { color: var(--muted); font-size: .88rem; margin-top: .8rem; }
@media (max-width: 560px) { .spec-table { grid-template-columns: 1fr; } }

/* locations */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.loc-card { display: grid; gap: .6rem; align-content: start; padding: 1.5rem; background: #fff; border: 1px solid #e8ecee; border-radius: 10px; box-shadow: var(--shadow-card); text-decoration: none; }
.loc-card h3 { font-size: 1.5rem; }
.loc-card p { color: var(--muted); font-size: .98rem; }
.loc-card .more { color: var(--rosso); font-weight: 700; }
.loc-card:hover h3 { color: var(--rosso); }
.near-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.near-list a { display: inline-block; padding: .55rem 1rem; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.near-list a:hover { background: var(--ink); color: #fff; }

/* blog */
.chip--link { display: inline-flex; align-items: center; text-decoration: none; }
.chip--link.is-on { background: var(--ink); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 2rem; }
.post-card { background: #fff; border: 1px solid #e8ecee; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.post-card__img { display: block; aspect-ratio: 1200 / 630; }
.post-card__body { padding: 1.3rem 1.4rem 1.5rem; display: grid; gap: .6rem; align-content: start; }
.post-card__meta { color: var(--muted); font-size: .85rem; margin: 0; }
.post-card h3 { font-size: 1.45rem; line-height: 1.12; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { color: var(--rosso); }
.post-card p:last-child { color: var(--muted); font-size: .98rem; }
.post-head { background: var(--black); color: #fff; padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.post-head__inner { margin-top: 1.4rem; }
.post-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 22ch; margin-top: .8rem; text-wrap: balance; }
.post-head .post-card__meta { color: #9aa3a9; }
.post-hero { margin-top: -1.5rem; position: relative; }
.post-hero img { width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow-card); }
.split--post { margin-top: 3rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.prose--post { max-width: 70ch; }
.navigation.pagination { margin-top: 3rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.page-numbers { display: inline-flex; padding: .55rem 1rem; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--ink); color: #fff; }

.car-body .specs { margin-top: auto; }

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand b { font: inherit; }
.brand-mark { flex: none; border-radius: 8px; }
.site-footer .brand-mark { box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
