/* WVC Carrosserie — stylesheet */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
}

:root {
  --ink: #14171c;
  --graphite: #1f242b;
  --graphite-2: #2a3038;
  --steel: #5b6470;
  --line: #e3e6ea;
  --paper: #ffffff;
  --mist: #f3f5f7;
  --blue: #0a5cd6;
  --blue-dark: #0848a8;
  --blue-soft: #e8f0fd;
  --on-dark: #e9edf2;
  --on-dark-muted: #a3acb8;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 23, 28, .06), 0 8px 24px rgba(20, 23, 28, .08);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--blue-dark); }

h1, h2, h3 {
  font-stretch: 112%;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: #fff; padding: .6em 1em; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 700;
  font-stretch: 120%;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.35em;
  border-radius: 999px;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); color: inherit; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blue-soft); color: var(--ink); }

/* ---------- Header ---------- */
.topbar {
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: .875rem;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-top: .5rem; padding-bottom: .5rem; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-items { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.open-status::before {
  content: ""; display: inline-block; width: .5em; height: .5em; border-radius: 50%;
  background: var(--steel); margin-right: .5em; vertical-align: .1em;
}
.open-status.is-open::before { background: #2fbf71; box-shadow: 0 0 0 3px rgba(47, 191, 113, .25); }
@media (max-width: 640px) { .topbar-hide-sm { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand img { width: 96px; }
.brand-tag {
  font-size: .75rem; font-weight: 700; font-stretch: 125%;
  letter-spacing: .2em; text-transform: uppercase; color: var(--steel);
  border-left: 1px solid var(--line); padding-left: .75rem;
}

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav a {
  display: block; padding: .55em .9em; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 550;
}
.nav a:hover { background: var(--mist); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--blue); background: var(--blue-soft); }
.nav .nav-cta { margin-left: .5rem; }
.nav .nav-cta a { background: var(--blue); color: #fff; }
.nav .nav-cta a:hover { background: var(--blue-dark); }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: .5rem; margin-right: -.5rem;
  color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(20, 23, 28, .08);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: .75rem var(--gutter) 1.25rem; gap: .15rem; }
  .nav a { border-radius: var(--radius-sm); padding: .8em 1em; }
  .nav .nav-cta { margin: .5rem 0 0; }
  .nav .nav-cta a { text-align: center; }
  .brand-tag { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(10, 92, 214, .35), transparent 60%),
    linear-gradient(180deg, var(--graphite) 0%, var(--ink) 100%);
  color: var(--on-dark);
  overflow: hidden;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(3rem, 8vw, 6rem);
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #7fb0ff; }
.hero-lead { font-size: 1.2rem; color: var(--on-dark-muted); max-width: 36ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-media { position: relative; min-height: 340px; }
.hero-media figure { margin: 0; position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); border: 4px solid rgba(255, 255, 255, .08); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .m1 { width: 78%; aspect-ratio: 291 / 180; right: 0; top: 0; }
.hero-media .m2 { width: 58%; aspect-ratio: 4 / 3; left: 0; bottom: 0; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
  .hero-media figure { position: static; width: auto !important; }
}

/* Page hero (subpages) */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(10, 92, 214, .35), transparent 60%),
    linear-gradient(180deg, var(--graphite) 0%, var(--ink) 100%);
  color: var(--on-dark);
}
.page-hero .wrap { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { color: var(--on-dark-muted); font-size: 1.15rem; max-width: 60ch; margin: 0; }
.breadcrumb { font-size: .875rem; color: var(--on-dark-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--on-dark); }

/* ---------- Stats ---------- */
.stats {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.stats dl {
  margin: 0; display: grid; grid-template-columns: repeat(4, 1fr);
}
.stats div { padding: 1.75rem 1rem; border-right: 1px solid var(--line); text-align: center; }
.stats div:last-child { border-right: 0; }
.stats dt { order: 2; color: var(--steel); font-size: .95rem; }
.stats dd { margin: 0 0 .2rem; font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; font-stretch: 112%; color: var(--ink); line-height: 1.1; }
.stats div { display: flex; flex-direction: column-reverse; }
@media (max-width: 720px) {
  .stats dl { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--mist); }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--steel); font-size: 1.125rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

.photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { background: #fff; padding: .7rem 1rem; font-size: .9rem; color: var(--steel); }

.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.photo-pair .photo:first-child { grid-column: 1 / -1; }
.photo-pair .photo img { aspect-ratio: 4 / 3; }
.photo-pair .photo:first-child img { aspect-ratio: 16 / 9; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--steel); }
.card-link { margin-top: auto; font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.card-link::after { content: "→"; transition: transform .15s; }
.card:hover .card-link::after { transform: translateX(3px); }

/* Feature list */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.features li {
  display: flex; gap: .9rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; font-weight: 550; line-height: 1.4;
}
.features .ico {
  flex: none; width: 2.25rem; height: 2.25rem; border-radius: 10px;
  display: grid; place-items: center; background: var(--blue-soft); color: var(--blue);
}
.features .ico svg { width: 1.2rem; height: 1.2rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
.steps.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .steps.grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps.grid-4 { grid-template-columns: 1fr; } }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
}
.step-num {
  display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 800; font-stretch: 112%; margin-bottom: 1rem;
}
.step h3 { margin-bottom: .4em; }
.step p { color: var(--steel); font-size: 1rem; margin: 0; }

/* Detailed steps */
.step-detail {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.5rem;
  padding: 2rem 0; border-top: 1px solid var(--line);
}
.step-detail:first-child { border-top: 0; padding-top: 0; }
.step-detail .step-num { width: 3.5rem; height: 3.5rem; font-size: 1.25rem; background: var(--blue); }
.step-detail ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.step-detail li { position: relative; padding-left: 1.5rem; color: #353b44; }
.step-detail li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: .55rem; height: .55rem;
  border-radius: 2px; background: var(--blue); transform: rotate(45deg);
}
@media (max-width: 600px) { .step-detail { grid-template-columns: 1fr; gap: .5rem; } }

.guarantee {
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--blue-soft); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-top: 2rem;
  font-weight: 600;
}
.guarantee svg { flex: none; width: 2.5rem; height: 2.5rem; color: var(--blue); }

.badge {
  display: inline-block; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 750;
  letter-spacing: .08em; text-transform: uppercase; padding: .15em .55em; border-radius: 4px; vertical-align: .15em;
}

/* Eco block */
.eco {
  background: var(--ink); color: var(--on-dark); border-radius: calc(var(--radius) * 1.5);
  overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
}
.eco-body { padding: clamp(2rem, 5vw, 3.5rem); }
.eco h2 { color: #fff; }
.eco p { color: var(--on-dark-muted); }
.eco .big { font-size: clamp(2.5rem, 6vw, 3.75rem); font-weight: 800; font-stretch: 112%; color: #fff; line-height: 1; margin: 1.5rem 0 .25rem; }
.eco img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
@media (max-width: 880px) { .eco { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--blue); color: #fff; }
.cta-band .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.cta-band h2 { color: #fff; margin: 0 0 .25em; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); }
.cta-band .btn-ghost { color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); }
.panel h2 { font-size: 1.5rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .9rem; align-items: start; }
.contact-list .ico { width: 2.5rem; height: 2.5rem; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.contact-list .ico svg { width: 1.2rem; height: 1.2rem; }
.contact-list small { display: block; color: var(--steel); font-size: .85rem; line-height: 1.3; }
.contact-list a, .contact-list strong { font-weight: 650; font-size: 1.1rem; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .7rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours .closed td { color: var(--steel); }
.hours tr.today th, .hours tr.today td { color: var(--blue); font-weight: 700; }

.notice {
  display: flex; gap: .75rem; align-items: flex-start;
  background: #fff8e6; border: 1px solid #f3dfa6; color: #5e4a12;
  border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin-bottom: 1.5rem; font-size: .975rem;
}
.notice svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .15em; }

.map {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--mist); aspect-ratio: 16 / 7; min-height: 320px; position: relative;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem;
  background:
    repeating-linear-gradient(45deg, rgba(20, 23, 28, .03) 0 12px, transparent 12px 24px),
    var(--mist);
}
.map-consent p { color: var(--steel); max-width: 42ch; margin: .5rem auto 1rem; font-size: .95rem; }
.map-consent .btn-ghost { color: var(--ink); }
.map-consent .btn-ghost:hover { background: #fff; }
.map-actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: .95rem; }
.site-footer .wrap { padding-top: 3.5rem; padding-bottom: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-stretch: 120%; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo { width: 96px; filter: invert(1) brightness(1.6); margin-bottom: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.5rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem;
}

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 640px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(20, 23, 28, .96); border-top: 1px solid rgba(255, 255, 255, .08);
  }
  .callbar .btn { justify-content: center; padding: .75em 1em; }
  .callbar .btn-ghost { color: #fff; }
  body { padding-bottom: 72px; }
}

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Helpers */
.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;
}
.split-top { align-items: start; }
.steps-detail { gap: 0; }
.sticky-media { position: sticky; top: 96px; }
@media (max-width: 880px) { .sticky-media { position: static; } }
.hours-status { color: var(--steel); margin-bottom: .75rem; }
.section-flush { padding-top: 0; }
.features li { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
