/* ==========================================================================
   Nexx Autos — site stylesheet
   Bold, workshop-style look: deep navy, solid royal blue, steel greys,
   condensed uppercase headings, square edges.
   ========================================================================== */

:root {
  --navy-950: #07111e;
  --navy-900: #0b1a2e;
  --navy-800: #11243d;
  --navy-700: #1a3352;
  --blue-700: #0f3f8c;
  --blue-600: #1652b8;
  --blue-500: #2465d1;
  --blue-300: #7fa9e8;
  --steel-200: #dfe4ea;
  --steel-100: #eef1f5;
  --steel-50: #f6f8fa;
  --ink: #0e1724;
  --muted: #546072;
  --line: #d6dce4;
  --white: #ffffff;
  --danger: #c8323f;

  --radius-sm: 3px;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 3px rgba(11, 26, 46, .08);
  --shadow: 0 10px 28px rgba(11, 26, 46, .12);
  --shadow-lg: 0 24px 50px rgba(0, 0, 0, .35);

  --font-head: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --font-body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 {
  font-family: var(--font-head); font-weight: 800; line-height: 1.02; margin: 0 0 .5em;
  text-transform: uppercase; letter-spacing: .005em;
}
h4 { font-weight: 700; letter-spacing: .02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; padding: 10px 16px; background: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-tint { background: var(--steel-100); }
.section-dark { background: var(--navy-900); color: #c5d0de; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 34px; height: 4px; background: var(--blue-600); }
.section-dark .eyebrow, .on-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--blue-300); }
.section-dark .eyebrow::before, .on-dark .eyebrow::before, .hero .eyebrow::before { background: var(--blue-500); }

.head { max-width: 720px; margin-bottom: 52px; }
.head.center { text-align: center; margin-left: auto; margin-right: auto; }
.head h2, .h2 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); margin-top: 12px; }
.head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section-dark .head h2 { color: var(--white); }
.section-dark .head p { color: #9fb0c6; }
.hl { color: var(--blue-600); }
.hero .hl, .page-hero .hl, .section-dark .hl { color: var(--blue-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--radius); border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; line-height: 1;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue-600); color: var(--white); }
.btn-primary:hover { background: var(--blue-700); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-outline:hover { background: var(--navy-900); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy-900); }
.btn-white:hover { background: var(--navy-900); color: var(--white); }
.btn-block { width: 100%; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy-950); color: #9fb0c6; font-size: .9rem; }
.topbar .wrap { display: flex; gap: 28px; align-items: center; min-height: 40px; }
.topbar i { color: var(--blue-300); margin-right: 6px; }
.topbar-right { margin-left: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--navy-900);
  border-bottom: 4px solid var(--blue-600); transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.header-row { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand img { height: 52px; width: auto; }
.main-nav { display: flex; align-items: stretch; height: 100%; margin-left: auto; }
.main-nav a {
  position: relative; display: flex; align-items: center; padding: 0 18px;
  color: #d7e0ec; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  letter-spacing: .06em; text-transform: uppercase;
}
.main-nav a:hover { color: var(--white); background: var(--navy-800); }
.main-nav a.active { color: var(--white); }
.main-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: var(--white); }
.main-nav .nav-call { display: none; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { display: flex; align-items: center; gap: 12px; color: var(--white); }
.header-phone:hover { color: var(--blue-300); }
.header-phone .ring {
  width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--blue-600); color: var(--white); font-size: 1.1rem;
}
.header-phone span:last-child { white-space: nowrap; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; line-height: 1; letter-spacing: .02em; }
.header-phone small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; color: #9fb0c6; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; }
.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, .3); background: transparent; color: var(--white);
  font-size: 1.5rem; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #c9d4e2;
  background:
    linear-gradient(90deg, rgba(7, 17, 30, .95) 0%, rgba(7, 17, 30, .82) 50%, rgba(11, 26, 46, .45) 100%),
    url("../img/hero-garage.jpg") center 60% / cover no-repeat;
  padding: 72px 0 0;
}
.hero-copy { max-width: 1040px; }
.hero h1 { color: var(--white); font-size: clamp(3.2rem, 7vw, 6.2rem); margin: 18px 0 22px; line-height: .92; }
.hero-lead { font-size: 1.22rem; color: #c3cfde; max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 34px; }
.hero-trust li {
  display: flex; align-items: center; gap: 10px; padding: 0 22px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .05em; text-transform: uppercase; color: var(--white);
}
.hero-trust li:first-child { padding-left: 0; }
.hero-trust li + li { border-left: 2px solid rgba(255, 255, 255, .2); }
.hero-trust i { color: var(--blue-300); font-size: 1.2rem; }

/* ---------- Part finder: full-width selector bar ---------- */
.finder {
  position: relative; z-index: 5; margin-top: 52px; margin-bottom: -64px;
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.finder-tabs {
  display: flex; align-items: center; gap: 28px; padding: 0 26px; min-height: 60px;
  background: var(--navy-950); color: #9fb0c6; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: 4px solid var(--blue-600);
}
.finder-title { margin: 0; color: var(--white); font-size: 1.6rem; display: flex; align-items: center; gap: 10px; }
.finder-title i { color: var(--blue-300); font-size: 1.25rem; }
.finder-progress { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.finder-progress li {
  display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: #6f8098;
}
.finder-progress li span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--navy-800); color: #8496ad; font-size: .9rem; letter-spacing: 0; }
.finder-progress li.is-current { color: var(--white); background: var(--navy-800); }
.finder-progress li.is-current span, .finder-progress li.is-done span { background: var(--blue-600); color: var(--white); }
.finder-progress li.is-done { color: #c5d0de; }
.finder-note { margin-left: auto; font-size: .9rem; }
.finder-body { padding: 22px 26px 24px; }
.finder-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 14px; align-items: start; border: 0; margin: 0; padding: 0; min-width: 0; }
.finder-row[hidden] { display: none; }
.finder-action { padding-top: 28px; }
.finder-action .btn { height: 52px; padding: 0 28px; }
.field label .opt { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
.finder-summary { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .98rem; color: var(--muted); }
.finder-summary[hidden] { display: none; }
.finder-summary i { color: var(--blue-600); }
.finder-summary strong { color: var(--ink); }
.finder-back { border: 0; background: none; padding: 0; color: var(--blue-600); font-weight: 700; text-decoration: underline; cursor: pointer; }
.finder .notice { margin-bottom: 16px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.field-grid .span-2 { grid-column: span 2; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; color: var(--navy-800); text-transform: uppercase; letter-spacing: .04em; }
.field label .req { color: var(--danger); }
.input, .select, .textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius);
  border: 2px solid var(--line); background: var(--white); font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 130px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #8b96a6; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(22, 82, 184, .15); }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--danger); }
.field-error { display: none; font-size: .82rem; font-weight: 600; color: var(--danger); margin-top: 5px; }
.field.has-error .field-error { display: block; }

.combo { position: relative; }
.combo .input { padding-right: 44px; }
.combo-btn { position: absolute; right: 2px; top: 2px; bottom: 2px; width: 40px; border: 0; border-left: 1px solid var(--line); background: var(--steel-50); color: var(--navy-800); cursor: pointer; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.combo-btn:hover { background: var(--steel-200); }
.combo-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; max-height: 260px; overflow-y: auto; padding: 4px;
  background: var(--white); border: 2px solid var(--navy-900); border-radius: var(--radius); box-shadow: var(--shadow); display: none;
}
.combo.open .combo-list { display: block; }
.combo-option { padding: 9px 12px; cursor: pointer; font-size: .97rem; border-radius: var(--radius-sm); }
.combo-option:hover, .combo-option.is-active { background: var(--blue-600); color: var(--white); }
.combo-option mark { background: none; color: inherit; font-weight: 800; text-decoration: underline; }
.combo-note { padding: 10px 12px; font-size: .86rem; color: var(--muted); }
.combo-note i { color: var(--blue-600); margin-right: 6px; }


.notice { display: none; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 18px; font-size: .95rem; }
.notice.show { display: flex; }
.notice i { font-size: 1.2rem; line-height: 1.3; }
.notice-success { background: #e8f6ee; color: #11603d; border-left: 5px solid #1b8a57; }
.notice-error { background: #fbeaec; color: #8e1f2a; border-left: 5px solid var(--danger); }
.notice .close { margin-left: auto; border: 0; background: none; color: inherit; cursor: pointer; font-size: 1.1rem; opacity: .7; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Stats strip ---------- */
.stats { background: var(--blue-600); color: var(--white); padding-top: 64px; }
.stats-panel { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 26px; display: flex; gap: 16px; align-items: center; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .22); }
.stat i { font-size: 2rem; color: rgba(255, 255, 255, .85); }
.stat strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.3rem; line-height: 1; text-transform: uppercase; }
.stat span { font-size: .92rem; color: #dbe6f7; font-weight: 500; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cat-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.cat-card:hover { border-color: var(--blue-600); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--steel-100); border-bottom: 4px solid var(--navy-900); transition: border-color .15s ease; }
.cat-card:hover .cat-img { border-color: var(--blue-600); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-card:hover .cat-img img { transform: scale(1.05); }
.cat-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { font-size: 1.55rem; margin: 0 0 6px; }
.cat-body p { font-size: .93rem; color: var(--muted); margin: 0 0 14px; flex: 1; }
.cat-link { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); display: inline-flex; gap: 8px; align-items: center; }
.cat-link::after { content: ""; position: absolute; inset: 0; }
.cat-card:hover .cat-link { color: var(--blue-700); }

/* ---------- Split / why ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split > div > p { color: var(--muted); font-size: 1.08rem; }
.collage { position: relative; padding: 0 44px 56px 0; }
.collage::before { content: ""; position: absolute; left: -18px; top: -18px; width: 45%; height: 55%; background: var(--blue-600); border-radius: var(--radius); }
.collage .main-img { position: relative; border-radius: var(--radius); aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.collage .sub-img { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--white); box-shadow: var(--shadow); }
.section-tint .collage .sub-img { border-color: var(--steel-100); }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 30px; margin-top: 30px; }
.feature { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 3px solid var(--navy-900); }
.feature .ico { color: var(--blue-600); font-size: 1.8rem; line-height: 1; }
.feature h4 { font-size: 1.35rem; margin: 0; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; border-top: 1px solid rgba(255, 255, 255, .12); }
.step { position: relative; padding: 40px 30px 10px 0; }
.step + .step { padding-left: 30px; border-left: 1px solid rgba(255, 255, 255, .12); }
.step-dot { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; color: var(--blue-300); font-size: 1.7rem; }
.step-dot::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 800; font-size: 4rem; line-height: .8; color: var(--white);
}
.step h4 { color: var(--white); font-size: 1.5rem; margin-bottom: 8px; }
.step p { font-size: .98rem; color: #9fb0c6; margin: 0; }

/* ---------- Makes strip ---------- */
.ticker-section { padding: 38px 0; background: var(--navy-950); }
.ticker-label { text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: #8496ad; margin-bottom: 16px; }
.ticker-label b { color: var(--white); }
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track a {
  padding: 4px 26px; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; letter-spacing: .04em;
  text-transform: uppercase; color: #5f7290; white-space: nowrap; border-right: 2px solid #1d2f48;
}
.ticker-track a:hover { color: var(--white); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-aside > p { color: var(--muted); }
.call-card { margin-top: 28px; padding: 28px; border-radius: var(--radius); background: var(--navy-900); color: #c5d0de; border-left: 6px solid var(--blue-600); }
.call-card h4 { color: var(--white); font-size: 1.3rem; margin-bottom: 4px; }
.call-card .big-phone { display: block; font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: var(--white); line-height: 1.1; }
.call-card .big-phone:hover { color: var(--blue-300); }
.call-card small { color: #9fb0c6; }

.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 10px; }
.faq details[open] { border-color: var(--navy-900); border-left: 5px solid var(--blue-600); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 64px 20px 22px; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "\F64D"; font-family: "bootstrap-icons"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: var(--radius-sm); display: grid; place-items: center; font-size: .95rem;
  background: var(--navy-900); color: var(--white);
}
.faq details[open] summary::after { content: "\F63B"; background: var(--blue-600); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Google reviews ---------- */
.g-logo { width: 1em; height: 1em; flex: 0 0 auto; display: inline-block; vertical-align: -.125em; }
.reviews-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.reviews-top > div:first-child { max-width: 680px; }
.reviews-top p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.google-chip { display: flex; align-items: center; gap: 14px; padding: 14px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); white-space: nowrap; }
.google-chip .g-logo { font-size: 2.2rem; }
.google-chip strong { display: block; font-family: var(--font-head); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.05; }
.google-chip small { color: var(--muted); font-weight: 600; }

.stars { position: relative; display: inline-block; align-self: flex-start; flex: 0 0 auto; line-height: 1; font-size: 1.05rem; letter-spacing: 2px; white-space: nowrap; }
.stars > .stars-base { display: inline-block; color: #d6dce4; }
.stars > .stars-fill { position: absolute; left: 0; top: 0; height: 100%; overflow: hidden; color: #fbbc04; }
.rating-sum { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.rating-sum strong { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; line-height: 1; color: var(--ink); text-transform: none; letter-spacing: 0; display: inline; }
.rating-sum .stars { font-size: .95rem; }
.rating-sum small { color: var(--muted); font-weight: 600; font-size: .85rem; }
.google-bar-brand .rating-sum strong { font-size: 1.5rem; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.review-grid-all { display: block; columns: 3 300px; column-gap: 20px; margin-top: 36px; }
.review-grid-all .review-card { break-inside: avoid; margin-bottom: 20px; }
.review-card { margin: 0; padding: 26px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue-600); border-radius: var(--radius); display: flex; flex-direction: column; gap: 16px; }
.review-head { display: flex; align-items: center; gap: 14px; }
.review-avatar { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; }
.review-who strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.review-who small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; font-weight: 500; }
.review-card blockquote { margin: 0; color: #2f3c4f; font-size: 1rem; line-height: 1.65; position: relative; padding-left: 18px; border-left: 3px solid var(--steel-200); }
.review-bought { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; color: var(--navy-700); }
.review-bought i { color: var(--blue-600); margin-right: 4px; }
.reviews-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.btn-google .g-logo { font-size: 1.25rem; }
.btn-google .bi-box-arrow-up-right { font-size: .85em; opacity: .8; }
.btn-primary.btn-google .g-logo { background: var(--white); border-radius: 50%; padding: 3px; width: 1.5em; height: 1.5em; }

.google-bar { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 24px 28px; background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--blue-600); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.google-bar-brand { display: flex; align-items: center; gap: 14px; }
.google-bar-brand .g-logo { font-size: 2.6rem; }
.google-bar-brand strong { display: block; font-family: var(--font-head); font-size: 1.6rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.05; }
.google-bar-brand span { color: var(--muted); font-weight: 600; font-size: .92rem; }
.google-bar p { margin: 0; color: var(--muted); }
.review-ask { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.review-ask p { color: var(--muted); margin: 0; max-width: 620px; }
.page-hero.ph-reviews { background-image: var(--ph-grad), url("../img/hero-garage.jpg"); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue-600); color: var(--white); overflow: hidden; }
.cta-box { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: stretch; padding: 64px 0; }
.cta-box > div:first-child { align-self: center; }
.cta-actions { position: relative; z-index: 0; align-content: center; }
.cta-actions::before {
  content: ""; position: absolute; z-index: -1; top: -64px; bottom: -64px; left: 0; width: 100vw;
  background: var(--navy-900); clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%);
}
.cta-box h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 12px; }
.cta-box p { margin: 0; color: #dbe6f7; font-size: 1.08rem; max-width: 620px; }
.cta-actions { display: grid; gap: 16px; justify-items: start; padding-left: 84px; }
.cta-phone { display: flex; align-items: center; gap: 16px; color: var(--white); }
.cta-phone:hover { color: var(--blue-300); }
.cta-phone i { width: 58px; height: 58px; border-radius: var(--radius); display: grid; place-items: center; background: var(--blue-600); font-size: 1.5rem; }
.cta-phone small { display: block; color: #9fb0c6; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cta-phone strong { font-family: var(--font-head); font-weight: 800; font-size: 2.5rem; line-height: 1; }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; color: #c9d4e2; padding: 90px 0 80px;
  --ph-grad: linear-gradient(90deg, rgba(7, 17, 30, .95) 15%, rgba(7, 17, 30, .78) 65%, rgba(11, 26, 46, .62) 100%);
  background: var(--ph-grad), var(--navy-900); background-size: cover; background-position: center;
  border-bottom: 6px solid var(--blue-600);
}
.page-hero.ph-parts { background-image: var(--ph-grad), url("../img/engine-belts.jpg"); }
.page-hero.ph-about { background-image: var(--ph-grad), url("../img/restoration-shop.jpg"); }
.page-hero.ph-warranty { background-image: var(--ph-grad), url("../img/axle-underside.jpg"); }
.page-hero.ph-contact { background-image: var(--ph-grad), url("../img/workbench.jpg"); }
.page-hero h1 { color: var(--white); font-size: clamp(2.8rem, 5.6vw, 4.6rem); margin: 14px 0 14px; max-width: 860px; line-height: .98; }
.page-hero p { max-width: 640px; font-size: 1.15rem; color: #c3cfde; margin: 0; }
.crumbs { display: flex; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: #8496ad; }
.crumbs a { color: var(--blue-300); }

/* ---------- Parts directory ---------- */
.chip-nav { position: sticky; top: var(--header-h); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.chip-nav .wrap { display: flex; overflow-x: auto; scrollbar-width: none; }
.chip-nav .wrap::-webkit-scrollbar { display: none; }
.chip-nav a {
  flex: 0 0 auto; padding: 16px 16px 13px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--muted); border-bottom: 3px solid transparent;
}
.chip-nav a:hover { color: var(--navy-900); }
.chip-nav a.active { color: var(--blue-600); border-bottom-color: var(--blue-600); }

.part-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; padding: 76px 0; border-bottom: 1px solid var(--line); }
.part-row:last-child { border-bottom: 0; }
.part-row.flip .part-media { order: 2; }
.part-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 14px 14px 0 var(--steel-200); }
.part-row.flip .part-media img { box-shadow: -14px 14px 0 var(--steel-200); }
.part-info h2 { font-size: clamp(2.3rem, 4vw, 3.2rem); margin: 10px 0 14px; }
.part-info > p { color: var(--muted); font-size: 1.05rem; }
.comp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 22px 0 24px; }
.comp-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.comp-list i { color: var(--blue-600); }
.check-line { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--steel-100); border-left: 5px solid var(--navy-900); font-size: .95rem; color: #2f3c4f; margin-bottom: 26px; }
.check-line i { color: var(--blue-600); font-size: 1.15rem; }

/* ---------- About ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { padding: 30px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--blue-600); }
.value-card .ico { display: block; color: var(--blue-600); font-size: 2rem; margin-bottom: 14px; line-height: 1; }
.value-card h4 { font-size: 1.45rem; }
.value-card p { color: var(--muted); font-size: .97rem; margin: 0; }

.grade-table { width: 100%; border-collapse: collapse; border: 1px solid rgba(255, 255, 255, .14); }
.grade-table th, .grade-table td { padding: 18px 22px; text-align: left; vertical-align: top; }
.grade-table thead th { background: rgba(255, 255, 255, .06); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; }
.grade-table tbody tr + tr td { border-top: 1px solid rgba(255, 255, 255, .12); }
.grade-table td { color: #a9b8cb; font-size: .98rem; }
.grade-pill { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: var(--radius); font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--white); background: var(--blue-600); }
.grade-pill.b { background: #3a6299; }
.grade-pill.c { background: #4b5a6e; }
.grade-table td strong { color: var(--white); display: block; margin-bottom: 2px; font-family: var(--font-head); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .03em; }

.check-list { display: grid; gap: 12px; margin: 24px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check-list i { color: var(--blue-600); font-size: 1.15rem; margin-top: 2px; }

/* ---------- Warranty ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: -52px; position: relative; z-index: 2; box-shadow: var(--shadow); }
.promise { padding: 30px; background: var(--white); border: 1px solid var(--line); }
.promise + .promise { border-left: 0; }
.promise:first-child { background: var(--navy-900); border-color: var(--navy-900); color: #c5d0de; }
.promise:first-child h4 { color: var(--white); }
.promise:first-child p { color: #9fb0c6; }
.promise .ico { font-size: 2rem; color: var(--blue-600); }
.promise:first-child .ico { color: var(--blue-300); }
.promise h4 { margin: 12px 0 6px; font-size: 1.45rem; }
.promise p { margin: 0; color: var(--muted); font-size: .97rem; }
.policy-layout { display: grid; grid-template-columns: 270px 1fr; gap: 56px; align-items: start; }
.policy-toc { position: sticky; top: calc(var(--header-h) + 30px); background: var(--navy-900); border-radius: var(--radius); padding: 20px 0; }
.policy-toc h5 { margin: 0 0 10px; padding: 0 22px; font-family: var(--font-head); font-size: 1rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8496ad; }
.policy-toc a { display: block; padding: 10px 22px; font-weight: 600; color: #d7e0ec; border-left: 4px solid transparent; }
.policy-toc a:hover { color: var(--white); background: var(--navy-800); }
.policy-toc a.active { color: var(--white); border-left-color: var(--blue-500); background: var(--navy-800); }
.policy { padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.policy:last-child { border: 0; margin: 0; padding: 0; }
.policy h2 { font-size: 2.2rem; display: flex; gap: 14px; align-items: center; }
.policy h2 span { font-size: 1.15rem; width: 44px; height: 44px; flex: 0 0 44px; border-radius: var(--radius); display: grid; place-items: center; background: var(--blue-600); color: var(--white); }
.policy p, .policy li { color: #364357; }
.policy ul.dots { display: grid; gap: 10px; margin: 0 0 1em; }
.policy ul.dots li { position: relative; padding-left: 22px; }
.policy ul.dots li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; background: var(--blue-600); }
.terms-table { width: 100%; border-collapse: collapse; margin: 6px 0 26px; border-top: 3px solid var(--navy-900); }
.terms-table th, .terms-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.terms-table th { width: 190px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-900); background: var(--steel-50); }
.terms-table td { color: #2f3c4f; font-weight: 500; }
.toc-download { margin: 14px 22px 4px; padding: 12px 14px !important; border: 1px solid var(--navy-700); border-left: 4px solid var(--blue-500) !important; border-radius: var(--radius); color: var(--white) !important; display: flex !important; gap: 8px; align-items: center; }
.toc-download:hover { background: var(--blue-600) !important; }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--steel-100); border-left: 5px solid var(--blue-600); font-size: .97rem; color: #2f3c4f; }
.callout i { color: var(--blue-600); font-size: 1.2rem; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -52px; position: relative; z-index: 2; }
.contact-card { padding: 30px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 5px solid var(--blue-600); }
.contact-card .ico { width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center; background: var(--navy-900); color: var(--white); font-size: 1.35rem; margin-bottom: 16px; }
.contact-card h4 { font-size: 1.5rem; margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card a.strong { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: var(--ink); line-height: 1; }
.contact-card a.strong:hover { color: var(--blue-600); }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 5px 0; color: var(--muted); }
.hours td:last-child { text-align: right; color: var(--ink); font-weight: 600; }
.hours tr.today td { color: var(--blue-600); font-weight: 800; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.form-card { padding: 38px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.form-card > p { color: var(--muted); }
.map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-card iframe { width: 100%; height: 360px; border: 0; display: block; }
.map-card .map-foot { padding: 20px 24px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.map-card address { font-style: normal; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #94a3b8; font-size: .97rem; border-top: 6px solid var(--blue-600); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding: 76px 24px 52px; }
.footer-brand img { height: 58px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.site-footer h5 { color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: .08em; text-transform: uppercase; margin: 6px 0 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #94a3b8; }
.footer-links a:hover { color: var(--white); }
.footer-contact { display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: var(--blue-300); margin-top: 2px; }
.footer-contact a { color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.footer-contact a:hover { color: var(--blue-300); }
.footer-bottom { border-top: 1px solid rgba(148, 163, 184, .16); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 22px; font-size: .9rem; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: var(--white); }

.float-call { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: none; width: 58px; height: 58px; border-radius: var(--radius); place-items: center; background: var(--blue-600); color: var(--white); font-size: 1.4rem; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.float-call:hover { color: var(--white); background: var(--blue-700); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker-track a[aria-hidden="true"] { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .main-nav a { padding: 0 12px; }
  .header-phone small { display: none; }
  .header-actions > .btn { display: none; }
  .header-row { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  :root { --header-h: 72px; }
  .section { padding: 76px 0; }
  .topbar-hours, .topbar-right { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .main-nav, .header-actions { display: none; }
  .site-header.nav-open .main-nav {
    display: flex; flex-direction: column; height: auto; position: absolute; top: calc(100% + 4px); left: 0; right: 0;
    padding: 10px 20px 22px; background: var(--navy-900); border-bottom: 4px solid var(--blue-600);
  }
  .site-header.nav-open .main-nav a { padding: 14px 6px; border-bottom: 1px solid var(--navy-800); }
  .site-header.nav-open .main-nav a.active { color: var(--blue-300); }
  .site-header.nav-open .main-nav a.active::after { display: none; }
  .main-nav .nav-call { display: flex !important; justify-content: center; margin-top: 14px; border-bottom: 0 !important; }
  .brand img { height: 44px; }
  .hero { padding: 60px 0 0; }
  .finder-row { grid-template-columns: 1fr 1fr; }
  .finder-action { grid-column: span 2; padding-top: 4px; }
  .finder-action .btn { width: 100%; }
  .finder-note { display: none; }
  .split, .faq-grid, .contact-grid, .part-row, .policy-layout, .cta-box { grid-template-columns: 1fr; gap: 44px; }
  .part-row.flip .part-media { order: 0; }
  .faq-aside, .policy-toc { position: static; }
  .policy-toc { display: none; }
  .stats-panel { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .22); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .cta-actions { padding-left: 0; }
  .cta-actions::before { display: none; }
  .promise-grid, .contact-cards { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .review-grid .review-card:nth-child(3) { display: none; }
  .reviews-top, .review-ask { flex-direction: column; align-items: flex-start; }
  .google-bar { grid-template-columns: 1fr; gap: 16px; }
  .promise + .promise { border-left: 1px solid var(--line); border-top: 0; }
  .float-call { display: grid; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .topbar { font-size: .8rem; }
  .head { margin-bottom: 34px; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: 3rem; }
  .hero-lead { font-size: 1.05rem; }
  .hero-cta { margin-top: 22px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-trust { display: none; }
  .finder { margin-top: 36px; margin-bottom: -40px; }
  .stats { padding-top: 40px; }
  .finder-tabs { flex-wrap: wrap; gap: 6px 14px; padding: 12px 16px; }
  .finder-title { font-size: 1.4rem; width: 100%; }
  .finder-body { padding: 18px 16px 20px; }
  .finder-row { grid-template-columns: 1fr; }
  .finder-action { grid-column: auto; }
  .field-grid { grid-template-columns: 1fr; }
  .field-grid .span-2 { grid-column: auto; }
  .stats-panel { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 14px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .stat strong { font-size: 1.8rem; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-body { padding: 14px; }
  .cat-body h3 { font-size: 1.3rem; }
  .cat-body p { display: none; }
  .feature-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 0; border-left: 0; }
  .value-grid { grid-template-columns: 1fr; }
  .comp-list { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .review-grid .review-card:nth-child(3) { display: flex; }
  .reviews-actions .btn, .review-ask .btn, .google-bar .btn { width: 100%; white-space: normal; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 56px 16px 40px; }
  .collage { padding: 0 18px 44px 0; }
  .collage::before { left: -8px; top: -8px; }
  .part-media img, .part-row.flip .part-media img { box-shadow: 8px 8px 0 var(--steel-200); }
  .grade-table th, .grade-table td { padding: 14px; }
  .terms-table th, .terms-table td { display: block; width: auto; border-bottom: 0; padding: 10px 14px; }
  .terms-table tr { display: block; border-bottom: 1px solid var(--line); }
  .form-card { padding: 24px 18px; }
  .cta-box { padding: 48px 0; }
  .cta-phone strong { font-size: 2rem; }
  .ticker-track a { font-size: 1.35rem; padding: 4px 18px; }
}
