/* =========================================================
   Car Doctor Jr. design system (see DESIGN.md)
   Dark header and hero, red accents and swooshes, light
   content bands, dark photo tiles, heavy condensed type.
   ========================================================= */

:root {
  /* Color */
  --red: #d91f26;
  --red-press: #b5161c;
  --red-on-dark: #ff3b40;
  --black: #0d0d0e;
  --dark: #151618;
  --dark-2: #1f2124;
  --light: #f1f1f1;
  --white: #ffffff;
  --ink: #141517;
  --muted: #5c6168;
  --line: #dcdee1;
  --on-dark: #c9ccd0;

  /* Type */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --fs-label: .8125rem;
  --fs-sm: .9375rem;
  --fs-body: 1.0625rem;
  --fs-lede: 1.1875rem;
  --fs-h3: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem);
  --fs-h2: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem);
  --fs-hero: clamp(3.25rem, 1.4rem + 5vw, 6.25rem);

  /* Space */
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4.5rem; --s7: 6.5rem;
  --wrap: 1240px;
  --pad: clamp(1rem, 4vw, 2.5rem);
  --bar-h: 76px;

  /* Shape */
  --r: 14px;
  --r-sm: 8px;
  --shadow: 0 10px 30px rgba(0,0,0,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--light); color: var(--ink); font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 var(--s2); }
p:last-child { margin-bottom: 0; }
h1, h2, h3, figure, blockquote { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--red-on-dark); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; background: #fff; color: var(--ink); padding: .5rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.red { color: var(--red); }

/* Icons (Lucide, stroke-based) */
.i { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 1em; height: 1em; }

/* ---------- Type roles ---------- */
.label {
  display: flex; align-items: center; gap: .75rem;
  font-size: var(--fs-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: var(--s2);
}
.label::after { content: ""; width: 48px; height: 2px; background: var(--red); }
.h2 { font-size: var(--fs-h2); font-weight: 800; font-stretch: 78%; line-height: 1; letter-spacing: -.01em; margin-bottom: var(--s3); }
.h2--light { color: #fff; }
.h2--light .red { color: var(--red-on-dark); }
.h3 { font-size: var(--fs-h3); font-weight: 800; font-stretch: 78%; line-height: 1.05; margin-bottom: .6rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.3rem;
  border: 2px solid transparent; border-radius: var(--r-sm);
  font-size: .9375rem; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1rem; }
.btn--pill { border-radius: 999px; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(217,31,38,.35); }
.btn--red:hover { background: var(--red-press); }
.btn--outline-light { border-color: rgba(255,255,255,.85); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn--white:hover { background: #f3f3f3; }

/* ---------- Header ---------- */
.bar { position: sticky; top: 0; z-index: 100; background: var(--black); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.bar__inner { display: flex; align-items: center; gap: var(--s3); height: var(--bar-h); }
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; }
.logo__img { display: block; height: 62px; width: auto; }
.footer .logo__img { height: 64px; }
.logo__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 900; font-size: .95rem; font-stretch: 75%; }
.logo__text { font-weight: 800; font-size: 1.4rem; font-stretch: 72%; text-transform: uppercase; letter-spacing: .01em; }
.logo__text span { color: var(--red-on-dark); }

.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .8rem; border: 0; border-radius: 6px; background: none; color: #e6e7e9; cursor: pointer;
  font-size: .9375rem; font-weight: 600; text-decoration: none;
}
.nav__link:hover, .nav__link.is-current { color: #fff; background: rgba(255,255,255,.08); }
.nav__link.is-current { box-shadow: inset 0 -2px 0 var(--red); border-radius: 6px 6px 0 0; }
.nav__dd { position: relative; }
.nav__dd-btn .i { width: .9em; height: .9em; transition: transform .2s; }
.nav__dd-btn[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px;
  list-style: none; margin: 0; padding: .5rem;
  background: #fff; color: var(--ink); border-radius: 10px; box-shadow: var(--shadow);
  display: none;
}
.nav__dd.is-open .nav__menu { display: block; }
.nav__menu a { display: block; padding: .6rem .8rem; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: .9375rem; }
.nav__menu a:hover { background: var(--light); color: var(--red); }
.nav__mobile-call { display: none; }
.bar__call { margin-left: var(--s1); }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--black); color: #fff; overflow: hidden; }
.hero__img { position: absolute; top: 0; right: 0; width: 64%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--black) 34%, rgba(13,13,14,.75) 46%, rgba(13,13,14,.15) 66%, rgba(13,13,14,0) 100%),
    linear-gradient(180deg, rgba(13,13,14,.35), rgba(13,13,14,0) 30%, rgba(13,13,14,0) 75%, rgba(13,13,14,.5));
}
.hero__inner { position: relative; min-height: min(calc(100svh - var(--bar-h)), 700px); display: flex; align-items: center; padding-top: var(--s6); padding-bottom: calc(var(--s6) + 50px); }
.hero__copy { max-width: 660px; }
.hero .label { color: #fff; }
.hero__title { font-size: var(--fs-hero); font-weight: 800; font-stretch: 62%; line-height: .9; text-transform: uppercase; letter-spacing: -.005em; margin-bottom: var(--s3); }
.hero__title span { display: block; }
.hero__title .red { color: var(--red-on-dark); }
.hero__lede { font-size: var(--fs-lede); line-height: 1.55; color: #e4e5e7; max-width: 30rem; margin-bottom: var(--s4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: var(--s4); }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; display: block; }

.status { display: inline-flex; align-items: center; gap: .6rem; font-size: .875rem; font-weight: 600; color: #e4e5e7; margin: 0; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa0a6; }
.status.is-open .status__dot { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }
.status.is-closed .status__dot { background: var(--red-on-dark); }

/* ---------- Stats ---------- */
.stats { background: var(--light); padding: var(--s3) 0 var(--s5); }
.stats__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: var(--s2) var(--s3); border-left: 1px solid #c9ccd0; }
.stat:first-child { border-left: 0; }
.stat__num { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: 0 0 .35rem; font-size: clamp(2.25rem, 1.8rem + 1.4vw, 3rem); font-weight: 800; font-stretch: 70%; line-height: 1; }
.stat__num .i { width: 2.25rem; height: 2.25rem; stroke-width: 2.25; }
.stat__label { margin: 0; font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; color: #33373c; }

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, var(--light), #e9e9ea); padding: var(--s5) 0 var(--s6); }
.services__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s5); align-items: center; }
.services__intro p:not(.label) { color: #3a3e43; font-size: var(--fs-lede); line-height: 1.55; margin-bottom: var(--s4); max-width: 28rem; }
.services__intro .h2 { font-stretch: 85%; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  min-height: 176px; padding: var(--s3) 3.5rem var(--s3) var(--s3);
  border: 0; border-radius: var(--r); text-align: left; text-decoration: none; cursor: pointer;
  background: var(--dark) var(--img) center / cover no-repeat;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  transition: transform .2s, box-shadow .2s;
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,.72), rgba(10,10,11,.88)); transition: background .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,.25); }
.tile:hover::before { background: linear-gradient(180deg, rgba(10,10,11,.6), rgba(10,10,11,.85)); }
.tile[aria-selected="true"] { box-shadow: 0 0 0 3px var(--red), 0 14px 28px rgba(0,0,0,.25); }
.tile__icon { width: 40px; height: 40px; margin-bottom: auto; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile__title { font-size: 1.6rem; font-weight: 800; font-stretch: 75%; line-height: 1.05; margin: var(--s2) 0 .25rem; }
.tile__sub { font-size: .875rem; line-height: 1.35; color: #d7d9dc; }
.tile__go { position: absolute; right: var(--s2); bottom: var(--s3); display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid rgba(255,255,255,.75); border-radius: 50%; }
.tile[aria-selected="true"] .tile__go { background: var(--red); border-color: var(--red); }

.detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s5); background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.detail:focus { outline: none; }
.detail__photo { position: relative; min-height: 340px; }
.detail__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail__body { padding: var(--s5); display: flex; flex-direction: column; align-items: flex-start; }
.detail__intro { color: var(--muted); font-size: var(--fs-lede); margin-bottom: var(--s3); }
#detailContent { width: 100%; }
.checks { list-style: none; margin: 0 0 var(--s4); padding: 0; columns: 2 15rem; column-gap: var(--s4); }
.checks li { break-inside: avoid; position: relative; padding: .55rem 0 .55rem 1.75rem; border-bottom: 1px solid var(--line); line-height: 1.4; }
.checks li::before { content: ""; position: absolute; left: 0; top: .78rem; width: 16px; height: 16px; border-radius: 50%; background: var(--red); }
.checks li::after { content: ""; position: absolute; left: 5px; top: 1.05rem; width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.detail__body .btn { margin-top: auto; }


/* ---------- Pricing ---------- */
.pricing { background: var(--light); padding: var(--s6) 0; border-top: 1px solid var(--line); }
.pricing__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s3); }
.pricing__head .h2 { margin-bottom: 0; }
.pricing__intro { max-width: 30rem; color: #3a3e43; margin: 0; }
.notice {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: var(--s2) var(--s3); margin-bottom: var(--s4);
  background: #fff4f4; border: 1px solid #f3c2c4; border-left: 5px solid var(--red); border-radius: var(--r-sm);
}
.notice .i { color: var(--red); width: 1.5rem; height: 1.5rem; margin-top: .1rem; }
.notice p { margin: 0; font-size: 1.0625rem; line-height: 1.5; color: #2a1416; }
.prices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.price {
  position: relative; display: flex; flex-direction: column;
  padding: var(--s3) var(--s3) var(--s3);
  background: #fff; border-radius: var(--r); box-shadow: 0 6px 20px rgba(0,0,0,.05);
  border-top: 4px solid var(--red);
}
.price__icon { width: 30px; height: 30px; color: var(--red); margin-bottom: .75rem; }
.price__name { font-size: 1.25rem; font-weight: 800; line-height: 1.2; margin-bottom: .5rem; }
.price__amt { display: flex; align-items: baseline; gap: .4rem; margin: 0; font-size: clamp(2.5rem, 2rem + 1.4vw, 3.25rem); font-weight: 800; font-stretch: 65%; line-height: 1; color: var(--ink); }
.price__est { font-size: .8125rem; font-weight: 700; font-stretch: 100%; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.price__note { margin: .75rem 0 0; padding-top: .75rem; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.45; color: #3a3e43; }
.price__note strong { color: var(--red); }
.pricing__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s4); padding: var(--s3); background: var(--dark); color: var(--on-dark); border-radius: var(--r); }
.pricing__foot p { margin: 0; max-width: 46rem; }
.pricing__foot strong { color: #fff; }

/* ---------- Makes marquee ---------- */
.makes { background: #fff; padding: var(--s5) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.makes__inner { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: var(--s4); align-items: center; }
.makes__title { font-size: 2rem; font-weight: 800; font-stretch: 75%; line-height: 1; }
.makes__rows { display: grid; gap: var(--s2); min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee { display: flex; overflow: hidden; }
.marquee__track { list-style: none; margin: 0; padding: 0 var(--s2) 0 0; display: flex; gap: var(--s2); flex-shrink: 0; animation: marquee 60s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 70s; }
.makes:hover .marquee__track, .makes:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.make { --brand: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; width: 124px; height: 100px; flex-shrink: 0; border-radius: var(--r); background: var(--light); color: #4f555c; transition: color .2s, background-color .2s; }
.make svg { width: 38px; height: 38px; fill: currentColor; }
.make__name { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.make:hover { color: var(--brand); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.make--text .make__word { font-weight: 800; font-stretch: 70%; font-size: 1.15rem; line-height: 1.05; text-align: center; text-transform: uppercase; padding: 0 .5rem; }
.make--text .make__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.make--text:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; flex-shrink: 1; }
  .marquee__track[aria-hidden="true"] { display: none; }
  .makes__rows { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Why / About ---------- */
.why { display: grid; grid-template-columns: 45% 55%; background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.why__photo { position: relative; min-height: 460px; }
.why__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,22,24,0) 60%, var(--dark)); }
.why__body { position: relative; z-index: 1; padding: var(--s6) var(--pad) var(--s6) var(--s5); max-width: 720px; }
.why .label { color: var(--red-on-dark); }
.why .label::after { background: var(--red-on-dark); }
.why__lede { font-size: var(--fs-lede); line-height: 1.55; color: #e1e3e6; margin-bottom: var(--s4); }
.why__list { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem var(--s4); }
.why__list li { display: flex; align-items: center; gap: .65rem; color: #fff; font-weight: 600; }
.why__list .i { color: var(--red-on-dark); width: 1.35em; height: 1.35em; }

/* ---------- Emissions ---------- */
.emissions { background: #fff; padding: var(--s7) 0; }
.emissions__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s6); align-items: start; }
.emissions__lede { font-size: var(--fs-lede); line-height: 1.55; color: #33373c; margin-bottom: var(--s4); }
.callout { background: var(--light); border-left: 4px solid var(--red); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: var(--s3) var(--s4); margin-bottom: var(--s4); }
.callout h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .5rem; }
.callout p { color: #3a3e43; font-size: 1rem; }
.emissions__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: var(--s3); }
.emissions__photo img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.steps li { display: flex; flex-direction: column; gap: .3rem; padding: var(--s3); background: var(--dark); color: var(--on-dark); border-radius: var(--r); }
.steps__n { font-size: var(--fs-label); font-weight: 800; color: var(--red-on-dark); letter-spacing: .1em; }
.steps strong { font-size: 1.4rem; font-weight: 800; font-stretch: 75%; color: #fff; line-height: 1.1; }
.steps li > span:last-child { font-size: .9rem; line-height: 1.5; }

/* ---------- Maintenance band ---------- */
.maint { position: relative; overflow: hidden; background: linear-gradient(180deg, #f6f6f6, #e6e6e7); padding: var(--s6) 0; }
.maint__car { position: absolute; left: 0; top: 0; width: 38%; height: 100%; object-fit: cover; object-position: 30% 60%; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent); mask-image: linear-gradient(90deg, #000 55%, transparent); }
.maint__inner { position: relative; display: flex; justify-content: flex-end; }
.maint__body { width: 60%; }
.maint__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s3); margin-bottom: var(--s4); }
.maint__head .h2 { margin-bottom: .5rem; }
.maint__sub { color: #3a3e43; margin: 0; }
.maint__icons { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s2); }
.maint__icons li { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; font-weight: 700; font-size: .9375rem; }
.maint__ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.08); color: var(--ink); }
.maint__ic .i { width: 30px; height: 30px; }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); padding-top: var(--s3); border-top: 1px solid #cfd2d5; }
.tips p { font-size: .9rem; color: #3a3e43; line-height: 1.5; margin: 0; }
.tips strong { color: var(--red); }

/* ---------- Reviews ---------- */
.reviews { background: var(--black); color: #fff; padding: var(--s6) 0; position: relative; }
.reviews__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 3fr); gap: var(--s5); align-items: center; }
.reviews .label { color: var(--red-on-dark); }
.reviews .label::after { background: var(--red-on-dark); }
.badge { display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s2) var(--s3); background: var(--red); border-radius: 10px; box-shadow: 0 10px 24px rgba(217,31,38,.35); }
.badge .i { width: 2.25rem; height: 2.25rem; }
.badge strong { display: block; font-size: 1.75rem; font-weight: 800; font-stretch: 75%; line-height: 1; }
.badge span { display: block; font-size: .8125rem; font-weight: 600; line-height: 1.3; max-width: 13rem; }

.carousel { --per: 1; --gap: var(--s2); min-width: 0; }
.carousel__viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: var(--r); }
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__track { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--gap); align-items: stretch; }
.carousel__slide { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; display: flex; }
.review { width: 100%; background: #f2f2f2; color: var(--ink); border-radius: var(--r); padding: var(--s4); display: flex; flex-direction: column; justify-content: center; gap: var(--s3); }
.review::before { content: "\201C"; display: block; height: 2.5rem; font-size: 4.5rem; line-height: 1; font-weight: 900; color: var(--red); }
.review p { font-size: 1.0625rem; line-height: 1.6; font-style: italic; }
.review figcaption { display: flex; align-items: center; gap: .75rem; font-weight: 700; font-size: var(--fs-sm); }
.review__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; font-size: .75rem; font-weight: 800; font-style: normal; }
.carousel__controls { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-top: var(--s2); }
.carousel__dots { display: flex; gap: 0; flex-wrap: wrap; }
.carousel__dot { width: 22px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.carousel__dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #50555b; transition: width .25s, background-color .25s; }
.carousel__dot[aria-current="true"]::before { width: 18px; background: var(--red-on-dark); }
.carousel__buttons { display: flex; gap: .5rem; }
.carousel__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.carousel__btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.carousel__btn .i-play { display: none; }
.carousel.is-paused .carousel__btn .i-play { display: block; }
.carousel.is-paused .carousel__btn .i-pause { display: none; }
.reviews__photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--red); box-shadow: 0 0 0 6px rgba(217,31,38,.2); }
.reviews__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }

/* ---------- Contact ---------- */
.contact { background: var(--light); padding: var(--s7) 0 var(--s6); }
.contact__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--s2); margin-top: var(--s2); }
.card { background: #fff; border-radius: var(--r); padding: var(--s4); box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.card__label { font-size: var(--fs-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: var(--s2); }
.card__phone { display: inline-block; font-size: clamp(2.75rem, 2rem + 2.4vw, 4.25rem); font-weight: 800; font-stretch: 65%; line-height: 1; color: var(--ink); text-decoration: none; margin-bottom: var(--s2); }
.card__phone:hover { color: var(--red); }
.card__note { font-weight: 700; }
.card address { display: flex; gap: .6rem; font-style: normal; font-size: var(--fs-lede); line-height: 1.45; margin-bottom: var(--s4); }
.card address .i { color: var(--red); margin-top: .2rem; }
.card__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.card--dark { background: var(--dark); color: var(--on-dark); display: flex; flex-direction: column; align-items: flex-start; }
.card--dark .card__label { color: var(--red-on-dark); }
.card__big { font-size: clamp(4rem, 3rem + 3vw, 5.5rem); font-weight: 800; font-stretch: 62%; color: #fff; line-height: .9; margin-bottom: var(--s2); }
.card--dark .btn { margin-top: auto; }
.card--map { grid-column: 1 / -1; padding: 0; overflow: hidden; height: 380px; background: #d5d9dc; }
.card--map iframe { width: 100%; height: 100%; border: 0; display: block; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .6rem .5rem; text-align: left; font-weight: 500; border-bottom: 1px solid var(--line); }
.hours td { text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr[data-day="0"] td { color: var(--red); font-weight: 700; }
.hours tr.is-today th, .hours tr.is-today td { background: var(--light); font-weight: 800; }
.hours tr.is-today th { box-shadow: inset 3px 0 0 var(--red); }


/* ---------- LEGO collection ---------- */
.lego {
  position: relative; padding: var(--s7) 0 calc(var(--s7) + 30px);
  background-color: #fff;
  background-image: radial-gradient(circle at 12px 12px, rgba(20,21,23,.045) 6px, transparent 6.5px);
  background-size: 24px 24px;
  border-top: 1px solid var(--line);
}
.lego__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s6); align-items: center; }
.lego__lede { font-size: var(--fs-lede); line-height: 1.55; color: #33373c; margin-bottom: var(--s3); }
.lego__copy > p:not(.label):not(.lego__lede) { color: #3a3e43; }
.lego__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--s4); }

.bricks { list-style: none; margin: 0 0 var(--s3); padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 22px 10px; }
.brick {
  --b: var(--red); --t: #fff;
  position: relative;
  padding: .55rem .95rem;
  background: var(--b); color: var(--t);
  border-radius: 6px;
  font-size: .875rem; font-weight: 800; line-height: 1.2;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.18), 0 3px 8px rgba(0,0,0,.12);
}
.brick::before {
  content: ""; position: absolute; left: 12px; right: 12px; top: -9px; height: 10px;
  background: radial-gradient(circle at 9px 6px, var(--b) 6.5px, transparent 7px) 0 0 / 26px 10px repeat-x;
  filter: drop-shadow(0 -1px 0 rgba(0,0,0,.08));
}
.brick--red { --b: #d91f26; }
.brick--yellow { --b: #f2c018; --t: #1a1a1a; }
.brick--blue { --b: #1d5bb0; }
.brick--green { --b: #22894a; }
.brick--dark { --b: #2a2d31; }

.lego__photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: var(--s2); align-items: end; }
.lego__photo { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.lego__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.lego__photo--tall { transform: rotate(-2deg); border: 6px solid #fff; }
.lego__photo--tall img { aspect-ratio: 9 / 15; }
.lego__photo:not(.lego__photo--tall) { transform: rotate(1.5deg); border: 6px solid #fff; margin-bottom: var(--s5); }
.lego__photo figcaption { padding: .6rem .75rem .5rem; background: #fff; font-size: .8125rem; font-weight: 600; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .lego__photo { transition: transform .3s; }
  .lego__photo:hover { transform: rotate(0) scale(1.02); }
}

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--red); color: #fff; padding: calc(var(--s6) + 30px) 0 var(--s6); }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.2); }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(160,14,20,.92) 0%, rgba(217,31,38,.75) 55%, rgba(217,31,38,.4)); }
.cta__wave { position: absolute; top: -1px; left: 0; width: 100%; height: 70px; display: block; }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.cta__title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 800; font-stretch: 80%; line-height: 1.05; }
.cta__sub { font-size: 1.375rem; margin: .4rem 0 var(--s2); }
.cta__phone { display: inline-flex; align-items: center; gap: .75rem; font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); font-weight: 800; font-stretch: 75%; text-decoration: none; line-height: 1; }
.cta__phone .i { width: .85em; height: .85em; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--on-dark); padding: var(--s5) 0 var(--s3); }
.footer__row { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.footer__nav { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-left: auto; }
.footer__nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }
.footer__nav a:hover { color: var(--red-on-dark); }
.footer__icons { display: flex; gap: .5rem; padding: 0 var(--s3); border-left: 1px solid #33363a; border-right: 1px solid #33363a; }
.footer__icons a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; }
.footer__icons a:hover { background: var(--red); }
.footer__addr { display: flex; gap: .6rem; margin: 0; font-size: .875rem; line-height: 1.4; color: #fff; }
.footer__addr .i { color: var(--red-on-dark); }
.footer__small { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid #26282b; font-size: .8125rem; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav__link { padding: .5rem .55rem; font-size: .875rem; }
  .bar__call-text { display: none; }
  .bar__call { width: 48px; padding: 0; }
  .services__top { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr 1.5fr; }
  .reviews__photo { display: none; }
  .maint__body { width: 70%; }
  .maint__icons { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 960px) {
  :root { --bar-h: 64px; }
  .logo__text { font-size: 1.2rem; }
  .logo__img { height: 44px; }
  .logo__mark { width: 36px; height: 36px; }
  .bar__call { margin-left: auto; }
  .menu-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: var(--r-sm); background: transparent; color: #fff; cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -7px; }
  .menu-btn span::after { top: 7px; }
  .menu-btn[aria-expanded="true"] span { background: transparent; }
  .menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

  .nav { display: none; position: fixed; top: var(--bar-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: var(--s2) var(--pad) var(--s5); background: var(--black); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav__link { padding: 1rem .25rem; font-size: 1.6rem; font-weight: 800; font-stretch: 75%; border-radius: 0; border-bottom: 1px solid #2a2c30; justify-content: space-between; width: 100%; }
  .nav__link.is-current { box-shadow: none; color: var(--red-on-dark); background: none; }
  .nav__menu { position: static; display: none; background: none; box-shadow: none; padding: 0 0 .5rem 1rem; }
  .nav__menu a { color: #e6e7e9; font-size: 1.1rem; }
  .nav__menu a:hover { background: none; color: var(--red-on-dark); }
  .nav__mobile-call { display: flex; margin-top: var(--s3); min-height: 56px; font-size: 1.1rem; }
  body.menu-open { overflow: hidden; }

  .hero__img { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 10; order: 2; }
  .hero { display: flex; flex-direction: column; }
  .hero__shade { display: none; }
  .hero__inner { min-height: 0; padding-top: var(--s5); padding-bottom: var(--s5); order: 1; }
  .hero__wave { height: 50px; }

  .stats__row { grid-template-columns: 1fr 1fr; row-gap: var(--s3); }
  .stat:nth-child(3) { border-left: 0; }

  .tiles { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; }
  .detail__photo { min-height: 0; aspect-ratio: 16 / 8; }
  .detail__body { padding: var(--s4) var(--s3); }

  .makes__inner { grid-template-columns: 1fr; gap: var(--s3); }

  .why { grid-template-columns: 1fr; }
  .why__photo { min-height: 0; aspect-ratio: 16 / 9; }
  .why__photo::after { background: linear-gradient(180deg, rgba(21,22,24,0) 55%, var(--dark)); }
  .why__body { padding: var(--s4) var(--pad) var(--s6); }

  .emissions { padding: var(--s6) 0; }
  .emissions__grid { grid-template-columns: 1fr; gap: var(--s4); }

  .maint { padding: 0 0 var(--s5); }
  .maint__car { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 8; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
  .maint__body { width: 100%; }
  .maint__head { flex-direction: column; align-items: flex-start; }
  .tips { grid-template-columns: 1fr; gap: var(--s2); }

  .reviews__grid { grid-template-columns: 1fr; gap: var(--s4); }
  .lego { padding: var(--s6) 0 calc(var(--s6) + 30px); }
  .lego__grid { grid-template-columns: 1fr; gap: var(--s5); }

  .contact__grid { grid-template-columns: 1fr; }
  .card--map { height: 300px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .footer__nav { margin-left: 0; width: 100%; }
  .footer__icons { padding: 0; border: 0; }
}

@media (max-width: 600px) {
  .hero__actions .btn { width: 100%; }
  .hero .label::after { display: none; }
  .carousel__dot { width: 16px; }
  .carousel__dot[aria-current="true"]::before { width: 12px; }
  .carousel__btn { width: 40px; height: 40px; }
  .hero__title { font-size: clamp(3rem, 15vw, 4.25rem); }
  .stat { padding: var(--s1); }
  .stat__num .i { width: 1.75rem; height: 1.75rem; }
  .tiles { gap: .75rem; }
  .tile { min-height: 150px; padding: var(--s2) 2.75rem var(--s2) var(--s2); }
  .tile__title { font-size: 1.3rem; }
  .tile__sub { display: none; }
  .tile__go { right: .75rem; bottom: var(--s2); width: 26px; height: 26px; }
  .checks { columns: 1; }
  .prices { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .price { padding: var(--s2); }
  .price__name { font-size: 1.05rem; }
  .price__amt { font-size: 2.25rem; }
  .notice { padding: var(--s2); }
  .notice p { font-size: 1rem; }
  .pricing__foot .btn { width: 100%; }
  .detail__body .btn, .services__intro .btn { width: 100%; }
  .why__list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .maint__icons { grid-template-columns: repeat(3, 1fr); row-gap: var(--s3); }
  .make { width: 100px; height: 84px; }
  .make svg { width: 30px; height: 30px; }
  .review { padding: var(--s3); }
  .card { padding: var(--s3); }
  .card__actions .btn, .cta .btn { width: 100%; }
  .lego__photos { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .lego__photo:not(.lego__photo--tall) { margin-bottom: var(--s3); }
  .lego__photo figcaption { display: none; }
  .lego__actions .btn { flex: 1 1 100%; }
}
