/* Home page: hero panel, quick answer, store cards, coverage matrix, OEM comparison. */

/* ---------- hero (continues the dark header panel) ---------- */
.hero-wrap {
  position: relative;
  background:
    radial-gradient(620px 380px at 78% 26%, rgba(212, 250, 90, .10), transparent 70%),
    var(--panel);
  color: var(--white);
  border-radius: 0 0 var(--r-panel) var(--r-panel);
  padding: 28px var(--gutter) 28px;
  display: grid; gap: 28px;
  overflow: visible;
}
.hero-wrap > .hero { order: 0; position: relative; z-index: 1; }
.hero-wrap > .block--quick-answer { order: 2; z-index: 1; }
.hero-photo { order: 1; position: relative; margin: -8px calc(-1 * var(--gutter)) -20px; }
.hero-photo__img {
  width: 100%; height: auto;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 52%, transparent 100%);
}
.hero-photo::after {
  /* lime light under the car */
  content: ""; position: absolute; left: 18%; right: 14%; bottom: 14%; height: 18%; z-index: -1;
  background: radial-gradient(closest-side, rgba(212, 250, 90, .35), transparent); filter: blur(18px);
}
.hero-photo .photo-credit { right: var(--gutter); bottom: 10px; }
@media (min-width: 1100px) {
  .hero-photo {
    position: absolute; margin: 0; z-index: 0; pointer-events: none;
    top: 0; right: 0; width: 60%; max-width: 860px;
  }
  .hero-photo__img {
    -webkit-mask-image: radial-gradient(ellipse 62% 66% at 58% 48%, #000 50%, transparent 100%);
    mask-image: radial-gradient(ellipse 62% 66% at 58% 48%, #000 50%, transparent 100%);
  }
  .hero-photo .photo-credit { pointer-events: auto; right: 28px; bottom: auto; top: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-photo__img { animation: drive-in 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-photo::after { animation: glow 4s ease-in-out 1.1s infinite alternate; }
}
@keyframes drive-in { from { transform: translateX(6%); } to { transform: none; } }
@keyframes glow { from { opacity: .7; } to { opacity: 1; } }
.hero { width: 100%; padding: 0; margin: 0; text-align: left; }
.hero .h1 { font-size: clamp(26px, 4.6vw, 54px); max-width: 23ch; margin-bottom: 22px; text-wrap: balance; }
.hero .accent { display: block; color: var(--lime); font-size: 1.18em; margin-bottom: .08em; }
.hero .lead { font-size: 17px; line-height: 1.6; color: #dfe6e6; max-width: 64ch; margin-bottom: 20px; }
.hero .byline { margin-bottom: 24px; }
.hero .chips { margin-top: 4px; }

.block--quick-answer.block { width: 100%; padding: 22px; margin: 0; }
.block--quick-answer {
  position: relative;
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-card);
  padding: 22px 22px 22px; color: #eef3f3; font-size: 16px;
}
.block--quick-answer p { margin-bottom: 18px; }
.quick__go {
  display: inline-flex; align-items: center; gap: 12px; color: var(--white); font-weight: 700; text-decoration: none;
}
.quick__go .icon {
  width: 52px; height: 52px; padding: 13px; border-radius: 50%; border: 1.5px solid var(--white);
  transition: background-color .2s ease, color .2s ease;
}
.quick__go:hover .icon { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.hero-wrap :focus-visible { outline-color: var(--lime); }

@media (min-width: 1100px) {
  .hero-wrap { grid-template-columns: minmax(0, 1fr) 360px; align-items: end; gap: 48px; padding: 56px var(--gutter) 56px; }
  .hero .h1 { max-width: 17ch; }
  .block--quick-answer { background: rgba(18, 25, 25, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .block--quick-answer.block { padding: 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .h1, .hero .lead, .hero .byline, .hero .chips, .block--quick-answer { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .lead { animation-delay: .08s; }
  .hero .byline { animation-delay: .14s; }
  .hero .chips { animation-delay: .2s; }
  .block--quick-answer { animation-delay: .28s; }
}
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }

/* ---------- comparison tables ---------- */
.block--comparison-tables > p:last-child { margin-top: 18px; font-size: 15px; color: var(--muted); }

/* ---------- store cards ---------- */
.store-grid { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 1000px) { .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.store-card {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--card); border-radius: var(--r-card); padding: 20px;
  transition: background-color .2s ease;
}
@media (min-width: 640px) { .store-card { padding: 28px; } }
.store-card__head { display: flex; align-items: center; gap: 14px; }
.store-card__head h3 {
  margin: 0; font-family: var(--display); font-stretch: 118%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(19px, 2vw, 24px); line-height: 1.05; letter-spacing: -.005em;
}
/* store tile: name, domain, delivery by market and rating from the data (not a logo) */
.sv {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 14px; min-height: 210px; padding: 18px 20px;
  border-radius: var(--r-inner); color: var(--white);
  background:
    radial-gradient(360px 200px at 85% 110%, rgba(212, 250, 90, .16), transparent 70%),
    radial-gradient(circle 260px at 100% 0%, transparent 50%, var(--panel) 72%),
    repeating-radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .055) 0 1px, transparent 1px 22px),
    var(--panel);
}
@media (min-width: 640px) { .sv { aspect-ratio: 16 / 8; min-height: 0; padding: 22px 26px; } }
.sv__pos {
  position: absolute; right: 10px; bottom: -18px; z-index: -1;
  font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(110px, 16vw, 180px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(212, 250, 90, .22);
}
.sv__domain { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.sv__name {
  margin: auto 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(26px, 3.6vw, 44px); line-height: .95; letter-spacing: -.01em; color: var(--lime); overflow-wrap: anywhere;
}
.sv__name--long { font-size: clamp(21px, 2.6vw, 32px); }
.sv__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 20px; }
.sv__ship { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0 10px; }
.sv__ship-n, .sv__score { font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 26px; line-height: 1; }
.sv__ship-n small, .sv__score small { font-size: 13px; color: var(--muted-dark); }
.sv__ship-l, .sv__plat { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.sv__mkts { grid-column: 1 / -1; list-style: none; display: flex; gap: 9px; margin-top: 10px; }
.sv__mkt { position: relative; display: block; }
.sv__mkt-name { display: none; }
.sv__flag { display: block; width: 28px; height: 21px; border-radius: 3px; object-fit: cover; }
.sv__mkt--not_stated .sv__flag, .sv__mkt--does_not_ship .sv__flag { opacity: .28; filter: grayscale(1); }
.sv__ok, .sv__no {
  position: absolute; right: -6px; bottom: -6px; width: 15px; height: 15px; border-radius: 50%;
  display: grid; place-items: center; border: 2px solid var(--panel);
}
.sv__ok { background: var(--lime); color: var(--ink); }
.sv__no { background: #4a5455; color: var(--white); }
.sv__ok .icon, .sv__no .icon { width: 9px; height: 9px; stroke-width: 4; }
.sv__rating { display: grid; justify-items: end; gap: 6px; }
.sv__bar { display: block; width: 120px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.sv__bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--lime-2), var(--lime)); }
.store-card:hover .sv__name { text-shadow: 0 0 24px rgba(212, 250, 90, .35); }

/* photo bands between sections */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 56px auto 0;
  border-radius: var(--r-card); background: var(--panel);
}
@media (min-width: 960px) { .band { margin-top: 88px; } }
.band__img { width: 100%; height: clamp(220px, 34vw, 440px); object-fit: cover; }
.band--mini-engine-bay .band__img { object-position: 50% 40%; height: clamp(200px, 26vw, 340px); }
.band--audi-sport-quattro .band__img { height: clamp(200px, 28vw, 380px); object-position: 50% 60%; }
.band--stats::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(18, 25, 25, .92) 0%, rgba(18, 25, 25, .55) 45%, transparent 75%);
}
.band__stats {
  position: absolute; z-index: 2; left: clamp(18px, 4vw, 48px); bottom: clamp(18px, 4vw, 44px);
  list-style: none; display: flex; gap: clamp(16px, 4vw, 48px); color: var(--white);
}
.band__stats li { display: grid; gap: 4px; }
.band__stats b { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(38px, 7vw, 84px); line-height: .9; color: var(--lime); }
.band__stats span { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; max-width: 12ch; }
@media (prefers-reduced-motion: no-preference) {
  .band__img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
  .band:hover .band__img { transform: scale(1.03); }
}

.store-card__text { font-size: 15.5px; line-height: 1.6; }
.store-card__text > * { margin: 0 0 12px; }
.store-card__text > :last-child { margin-bottom: 0; }
.store-card__best {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--white); border-radius: 14px; padding: 10px 14px; font-weight: 600;
}
.store-card__best .icon { color: var(--lime-2); margin-top: 3px; }
.label {
  display: inline-block; margin-right: 6px; padding: 2px 10px; border-radius: 999px; vertical-align: 1px;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.store-card__pro .label { background: var(--ink); color: var(--lime); }
.store-card__con .label { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.criteria-list {
  list-style: none; background: var(--white); border-radius: 20px; padding: 6px 16px; font-size: 14px; line-height: 1.45;
}
.criteria-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 2px 10px; padding: 11px 0; }
.criteria-list li + li { border-top: 1px solid var(--line); }
.crit__icon { grid-row: span 2; color: var(--muted); padding-top: 1px; }
.crit__name { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 640px) {
  .criteria-list li { grid-template-columns: 26px 150px minmax(0, 1fr); }
  .crit__icon { grid-row: auto; }
  .crit__name { padding-top: 2px; }
}
.visit {
  align-self: flex-start; margin-top: auto;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 14px 12px 22px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none;
}
.visit .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.visit:hover { background: #000; text-decoration: underline; }

/* ---------- coverage matrix ---------- */
.matrix td, .matrix thead th:not(.sticky) { text-align: center; }
.legend { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 12px 0 28px; }
.legend .mark { width: 22px; height: 22px; }
.legend .mark--no { margin-left: 12px; }
.block--delivery-by-country > p { margin-top: 0; }

/* ---------- OEM vs aftermarket ---------- */
.vs { position: relative; display: grid; gap: 14px; margin: 28px 0; }
@media (min-width: 800px) { .vs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; } }
.vs__col { border-radius: var(--r-card); padding: 24px; }
.vs__col--oem { background: var(--panel); color: #e7ecec; }
.vs__col--am { background: var(--card); }
.vs__col h3 { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 26px; margin-bottom: 14px; }
.vs__col--oem h3 { color: var(--lime); }
.vs dl { margin: 0; }
.vs dl div { padding: 10px 0; border-top: 1px solid rgba(127, 140, 140, .3); }
.vs dt { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; opacity: .75; }
.vs dd { margin: 2px 0 0; font-size: 15px; }
.vs__mid {
  display: none; position: absolute; left: 50%; top: 26px; transform: translateX(-50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: var(--ink);
  place-items: center; font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 15px;
  border: 4px solid var(--white);
}
@media (min-width: 800px) { .vs__mid { display: grid; } }

.block--used-and-performance-scope .h2 { max-width: 30ch; }
