/* ============================================================================
   GARAGE GALS . INNER PAGES
   ----------------------------------------------------------------------------
   Shared layout for the deeper pages: page hero, breadcrumb, service detail
   rows, checklist, value cards, timeline, contact cards, and CTA banner.
   ============================================================================ */

/* ---- Page hero (shorter than the homepage hero) -------------------------- */
.page-hero {
  position: relative;
  padding: clamp(8rem, 6rem + 8vw, 12rem) var(--gutter) clamp(3rem, 2rem + 4vw, 5rem);
  background: var(--ink-950);
  background-image: var(--grad-ink-depth);
  color: var(--cream-50);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.page-hero__glow {
  position: absolute;
  z-index: 0;
  width: 70vmax; height: 70vmax;
  top: -28vmax; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(230,58,45,0.24) 0%, rgba(230,58,45,0.05) 32%, transparent 60%);
  pointer-events: none;
}
.page-hero__peg {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle at center, rgba(245,239,228,0.06) 1.4px, transparent 1.6px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 50% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 2; max-width: 52rem; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: var(--space-md); }
.page-hero__title {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--fs-display-xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tightest);
  color: var(--cream-50);
}
.page-hero__title em { font-style: italic; color: var(--red-400); }
.page-hero__sub { max-width: 46ch; color: rgba(245,239,228,0.76); font-size: var(--fs-lead); line-height: var(--lh-relax); }
.page-hero__eyebrow { color: var(--red-300); }
.page-hero__eyebrow::before { background: var(--red-400); }

/* ---- Breadcrumb ---------------------------------------------------------- */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(245,239,228,0.55);
}
.breadcrumb a { color: rgba(245,239,228,0.8); }
.breadcrumb a:hover { color: var(--cream-50); }
.breadcrumb .sep { opacity: 0.5; }
.tone-cream .breadcrumb { color: var(--fg-faint); }
.tone-cream .breadcrumb a { color: var(--fg-soft); }
.tone-cream .breadcrumb a:hover { color: var(--accent); }

/* ---- Service detail row -------------------------------------------------- */
.svc-row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 1rem + 5vw, 5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  border-bottom: 1px solid var(--rule);
}
.svc-row:last-child { border-bottom: none; }
.svc-row--reverse .svc-row__media { order: 2; }
.svc-row__index {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  letter-spacing: var(--tracking-wide);
  color: var(--accent);
}
.svc-row__title { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: var(--weight-semi); letter-spacing: var(--tracking-tight); margin-block: 0.4rem var(--space-sm); }
.svc-row__lead { color: var(--fg-soft); font-size: var(--fs-lead); line-height: var(--lh-relax); margin-bottom: var(--space-md); }
.svc-row__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-200);
  box-shadow: var(--shadow-card);
  display: grid;
  place-items: center;
}
.svc-row__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row__icon-xl {
  width: 40%;
  max-width: 9rem;
  color: var(--accent);
  opacity: 0.85;
}
.svc-row__icon-xl svg { width: 100%; height: auto; }

/* checklist */
.checklist { display: grid; gap: 0.6rem; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--fs-body);
  color: var(--fg);
}
.checklist li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 0.15em;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fdfbf6' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.8rem no-repeat,
    var(--grad-red-flare);
}

/* ---- Value cards (story page) -------------------------------------------- */
.value-card { gap: var(--space-xs); }
.value-card__k { font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--accent); }
.value-card__t { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: var(--weight-semi); }
.value-card__b { color: var(--fg-soft); font-size: var(--fs-small); }

/* ---- Timeline (story / method) ------------------------------------------- */
.timeline { position: relative; max-width: 46rem; margin-inline: auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0.65rem; top: 0.5rem; bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(var(--accent), transparent);
}
.timeline__item { position: relative; padding-left: 2.5rem; padding-bottom: var(--space-xl); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35rem;
  width: 1.4rem; height: 1.4rem;
  border-radius: 50%;
  background: var(--grad-red-flare);
  box-shadow: var(--glow-red-sm);
  border: 3px solid var(--bg);
}
.timeline__k { font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--accent); }
.timeline__t { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: var(--weight-semi); margin-block: 0.2rem 0.4rem; }
.timeline__b { color: var(--fg-soft); }

/* ---- Contact cards (quote page) ------------------------------------------ */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-lg);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-2);
  text-align: center;
  align-items: center;
  transition: transform var(--dur-3) var(--ease-out-expo), box-shadow var(--dur-3);
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.contact-card__icon { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent); }
.contact-card__k { font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg-faint); }
.contact-card__v { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: var(--weight-semi); color: var(--fg-strong); }

/* ---- CTA banner ---------------------------------------------------------- */
.cta-banner {
  text-align: center;
  border-radius: var(--r-2xl);
  padding: clamp(2.5rem, 1.5rem + 5vw, 5rem);
  background: var(--grad-red-flare);
  color: var(--cream-50);
  box-shadow: var(--shadow-card), var(--glow-red-md);
  position: relative;
  overflow: hidden;
}
.cta-banner__title { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--fs-display-lg); line-height: var(--lh-snug); letter-spacing: var(--tracking-tight); }
.cta-banner__sub { max-width: 44ch; margin: var(--space-sm) auto 0; color: rgba(255,255,255,0.9); }
.cta-banner .btn-chrome { margin-top: var(--space-lg); }

/* ---- Reviews wall (masonry columns) -------------------------------------- */
.reviews-wall { columns: 3; column-gap: var(--space-md); }
.reviews-wall .review-card {
  min-width: 0;
  max-width: none;
  width: 100%;
  margin-bottom: var(--space-md);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
.rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md) var(--space-xl);
  padding: var(--space-lg);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-2);
  max-width: 48rem;
  margin: 0 auto var(--space-2xl);
}
.rating-summary__big { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--fs-display-lg); line-height: 1; color: var(--fg-strong); }
.rating-summary__stars { color: var(--ember-400); font-size: 1.4rem; letter-spacing: 0.1em; }
.rating-summary__meta { font-size: var(--fs-small); color: var(--fg-soft); }
@media (max-width: 980px) { .reviews-wall { columns: 2; } }
@media (max-width: 620px) { .reviews-wall { columns: 1; } }

@media (max-width: 860px) {
  .svc-row { grid-template-columns: 1fr; gap: var(--space-lg); }
  .svc-row--reverse .svc-row__media { order: 0; }
  .contact-cards { grid-template-columns: 1fr; }
}
