/* ==========================================================================
   home.css — Home page only (hero + section-specific layout).
   Shared components (cards, hours, search, badges) live in global.css.
   ========================================================================== */

/* ----------------------------------------------------------------- Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(86vh, 800px);
  display: flex; align-items: center;
  padding-block: clamp(3.5rem, 10vh, 6.5rem) clamp(2rem, 4vh, 3.25rem);
  background: var(--bg-inset);
}
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
/* Two-layer wash over the photo:
   - vertical: gradual ramp to a SOLID --bg-inset landing zone (88→100%) that equals the
     following .section--inset, so the photo dissolves with no edge at the boundary;
   - horizontal: keeps the left dark for text legibility and tames the bright right-side brick
     (down to .38) so there's no brightness cliff for the vertical fade to reveal as a line. */
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(14,20,24,.45) 0%,
      rgba(13,18,22,.52) 24%,
      rgba(12,17,21,.64) 42%,
      rgba(11,16,20,.80) 58%,
      rgba(10,15,18,.92) 72%,
      rgba(10,15,18,.985) 84%,
      var(--bg-inset) 92%,
      var(--bg-inset) 100%),
    linear-gradient(90deg, rgba(14,20,24,.92) 0%, rgba(14,20,24,.62) 48%, rgba(14,20,24,.38) 100%);
}
/* Bottom veil — the bulletproof layer. It stacks at z-index -1: ABOVE the photo (-3),
   grid (-2) and the reddish glow (-2), but BELOW the hero content (+1). The glow and grid
   escape .hero__bg::after (which is back at -3), so without this their brightness reaches
   the hero's bottom and bands at the seam. This veil resolves the entire lower edge to a
   solid --bg-inset — identical to the following .section--inset — so the seam vanishes. */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 42%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, var(--bg-inset) 86%, var(--bg-inset) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -2; opacity: .55;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(75% 65% at 28% 42%, #000, transparent 82%);
  mask-image: radial-gradient(75% 65% at 28% 42%, #000, transparent 82%);
}
.hero__glow {
  position: absolute; z-index: -2; right: -12%; top: 8%;
  width: 52vw; height: 52vw; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 62%);
  opacity: .7; pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 920px){ .hero__inner { grid-template-columns: 1fr; } }
.hero__content { max-width: 730px; }
.hero__content > * { animation: riseIn .85s var(--ease-out) both; }
.hero__eyebrow { margin-bottom: 1.1rem; animation-delay: .05s; }
.hero__title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3rem, 1.6rem + 8vw, 7.2rem); line-height: .9; letter-spacing: -.02em;
  margin-bottom: 1.3rem; animation-delay: .15s;
}
.hero__title-accent {
  display: block; color: rgba(236,239,241,.05);
  -webkit-text-stroke: 1.4px rgba(236,239,241,.82);
  paint-order: stroke fill;
}
.hero__sub { max-width: 56ch; margin-bottom: 2rem; animation-delay: .3s; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; animation-delay: .42s; }
.hero__strip { display: flex; flex-wrap: wrap; gap: 1.1rem 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--line); animation-delay: .54s; }
.hero__strip-item { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-mono); font-size: .82rem; letter-spacing: .03em; color: var(--ink-2); }
.hero__strip-item .ic { width: 17px; height: 17px; color: var(--accent-300); }
.hero__strip-item b { color: #fff; font-weight: 500; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.3rem; transform: translateX(-50%); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .35rem; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.hero__scroll .ic { width: 18px; height: 18px; animation: bob 1.9s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (max-width: 600px){
  .hero { min-height: auto; }
  .hero__scroll { display: none; }
  /* Book Appointment full-width on its own row; Our Services + Call Now share the next row */
  .hero__cta .btn { flex: 1 1 0; }
  .hero__cta .btn:first-child { flex-basis: 100%; }
  .hero__cta { margin-bottom: 1.6rem; }
  /* Reviews + after-hours strip sits directly under the hero — no divider line, no big gap */
  .hero__strip { border-top: none; padding-top: 0; gap: 0 1rem; flex-wrap: nowrap; }
  .hero__strip-item { font-size: .78rem; }
  .hero__strip-reviews { display: none; }   /* "· 11 Google reviews" — desktop only, hidden on mobile */
}

/* Tighten the hero → "How it works" transition so the two bands meet cleanly
   (no dead black gap below the hero before the first section). */
.hero + .section { padding-top: clamp(2.25rem, 4.5vw, 4rem); }

/* ---- Hero award medallion (Google reviews badge) ---- */
.hero__award { width: min(342px, 100%); justify-self: end; zoom: .825; animation: riseIn .85s var(--ease-out) both; animation-delay: .55s; }
@media (max-width: 920px){ .hero__award { justify-self: center; width: min(390px, 100%); margin-top: .4rem; } }
@media (max-width: 460px){ .hero__award { width: 100%; } }
.award-card { --gold: #E4C173; --gold-deep: #B58A3C; position: relative; overflow: hidden; text-align: center; padding: 1.6rem 1.5rem 1.35rem; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(28,34,39,.74), rgba(13,18,22,.84)); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border: 1px solid rgba(228,193,115,.4); box-shadow: 0 30px 60px -24px rgba(0,0,0,.85), 0 0 42px -12px rgba(228,193,115,.22); }
.award-card__sheen { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(120% 80% at 50% -10%, rgba(228,193,115,.2), transparent 58%); }
.award-card > *:not(.award-card__sheen) { position: relative; z-index: 1; }
.award-card__eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-mono); font-size: .65rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); }
.award-card__eyebrow .ic { width: 14px; height: 14px; }
.award-card__seal { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: .7rem 0 .35rem; }
.award-card .laurel { width: 30px; height: 74px; color: var(--gold); flex-shrink: 0; }
.award-card .laurel--r { transform: scaleX(-1); }
.award-card__year { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.award-card__best { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .22em; color: var(--ink-2); margin-bottom: .15rem; }
.award-card__year b { font-family: var(--font-display); font-weight: 800; font-size: 3.1rem; line-height: .88; letter-spacing: .01em; background: linear-gradient(180deg, #F6E4B0, var(--gold) 52%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.award-card__city { font-family: var(--font-display); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); margin-top: .1rem; }
.award-card__title { font-size: 1.16rem; margin-top: .5rem; color: #fff; }
.award-card__pill { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem; padding: .32rem .7rem; border-radius: var(--pill); font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); background: rgba(228,193,115,.1); border: 1px solid rgba(228,193,115,.36); }
.award-card__pill .ic { width: 13px; height: 13px; }
.award-card__cat { margin-top: .7rem; font-size: .85rem; color: var(--ink-2); }
.award-card__by { display: block; margin-top: .7rem; padding-top: .7rem; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* ------------------------------------------------- Section header row */
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.sec-head-row .section-head { margin-bottom: 0; max-width: 60ch; }
.sec-head-row .section-head h2 { margin-top: .6rem; }

/* Pull trust badges up to overlap the hero base for depth */
.trust-section { position: relative; margin-top: -3.5rem; z-index: 5; }
@media (max-width: 600px){ .trust-section { margin-top: 0; } }

/* ------------------------------------------------- Find-your-part band */
.find-band { position: relative; overflow: hidden; background: var(--bg-inset); }
.find-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background-image: var(--hazard); background-size: 26px 26px; opacity: .8; }
.find-band__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.find-band__text .request-link { margin-top: 1.2rem; }
@media (max-width: 900px){ .find-band__inner { grid-template-columns: 1fr; } }

/* ------------------------------------------------- Hours grid */
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.6rem); }
@media (max-width: 680px){ .hours-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------- SEO welcome (paper) */
.welcome__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: start; }
.welcome__copy p { margin-bottom: 1rem; color: var(--paper-ink-2); }
.welcome__copy a { color: var(--accent-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.welcome__aside { background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: var(--radius); padding: 1.6rem; }
.welcome__aside h3 { color: var(--paper-ink); font-size: 1.25rem; margin-bottom: 1rem; }
.welcome__links { list-style: none; padding: 0; display: grid; gap: .2rem; }
.welcome__links a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem .2rem; border-bottom: 1px solid var(--paper-line); color: var(--paper-ink); font-weight: 500; transition: padding-left .2s, color .2s; }
.welcome__links a:hover { padding-left: 6px; color: var(--accent-600); }
.welcome__links a .ic { width: 18px; height: 18px; color: var(--accent); }
@media (max-width: 820px){ .welcome__inner { grid-template-columns: 1fr; } .welcome__aside { position: static; } }

/* ------------------------------------------------- CTA closer */
.cta-closer { position: relative; overflow: hidden; text-align: center; background: linear-gradient(135deg, #1A0303 0%, var(--bg) 60%); }
.cta-closer::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent 75%); }
.cta-closer .container { position: relative; z-index: 1; }
.cta-closer h2 { font-size: var(--step-4); margin-bottom: 1rem; }
.cta-closer p { max-width: 52ch; margin: 0 auto 1.8rem; color: var(--ink-2); }
.cta-closer__btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
