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

/* ----------------------------------------------------------------- Hero */
/* Dark photographic hero (Tire Rack style): copy block over photo */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: #fff; display: flex; align-items: center; min-height: clamp(520px, 70vh, 660px); padding-block: clamp(2.25rem, 4vw, 3.25rem); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 45%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(17,19,23,.96) 0%, rgba(17,19,23,.84) 42%, rgba(17,19,23,.40) 78%, rgba(17,19,23,.18) 100%),
    linear-gradient(180deg, rgba(17,19,23,.30) 0%, rgba(17,19,23,.10) 38%, rgba(17,19,23,.55) 100%);
}
.hero__inner { width: 100%; }

.hero__content { max-width: 620px; }
.hero__content > * { animation: riseIn .8s var(--ease-out) both; }
.hero__eyebrow { color: var(--accent-300); margin-bottom: .85rem; animation-delay: .04s; }
.hero__eyebrow::before { background: var(--accent-300); }
.hero__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.7rem, 1.1rem + 6.2vw, 5.2rem); line-height: .88; letter-spacing: -.015em; color: #fff; margin-bottom: 1rem; text-shadow: 0 2px 24px rgba(0,0,0,.35); animation-delay: .12s; }
.hero__title .acc { color: var(--accent-300); }
.hero__sub { color: rgba(255,255,255,.88); max-width: 50ch; margin-bottom: 1.5rem; animation-delay: .24s; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.4rem; animation-delay: .34s; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.9rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.16); animation-delay: .44s; }
.hero__trust-item { display: inline-flex; align-items: center; gap: .55rem; font-size: .92rem; color: rgba(255,255,255,.82); }
.hero__trust-item .ic { width: 18px; height: 18px; color: var(--accent-300); }
.hero__trust-item b { color: #fff; font-weight: 700; font-family: var(--font-display); letter-spacing: .01em; }
.hero__trust .stars { color: var(--accent-300); }

@media (max-width: 620px){
  .hero__trust { flex-direction: column; align-items: flex-start; gap: .55rem; }
}

/* (vehicle-lookup card removed from the hero per request — hero is now text-only over the photo) */

/* ------------------------------------------------- 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.6rem, 3.5vw, 2.4rem); }
.sec-head-row .section-head { margin-bottom: 0; max-width: 60ch; }
.sec-head-row .section-head h2 { margin-top: .5rem; }

/* ------------------------------------------------- How it works */
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
@media (max-width: 760px){ .how-steps { grid-template-columns: 1fr; } }
.how-step { position: relative; padding: 1.6rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.how-step__n { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; display: grid; place-items: center; margin-bottom: .9rem; }
.how-step h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.how-step p { color: var(--ink-2); font-size: .92rem; }
.how-step__arrow { position: absolute; right: -1.05rem; top: 2.1rem; z-index: 2; color: var(--line-2); }
.how-step__arrow .ic { width: 26px; height: 26px; }
@media (max-width: 760px){
  .how-step__arrow { display: none; }
  .how-step { text-align: center; }
  .how-step__n { margin-inline: auto; }
}

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

/* ------------------------------------------------- CTA closer (dark band) */
.cta-closer { background: var(--dark); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-closer .eyebrow { color: var(--accent-300); }
.cta-closer .eyebrow::before, .cta-closer .eyebrow::after { background: var(--accent-300); }
.cta-closer h2 { color: #fff; font-size: var(--step-4); margin: .5rem 0 1rem; }
.cta-closer p { max-width: 54ch; margin: 0 auto 1.7rem; color: rgba(255,255,255,.82); }
.cta-closer__btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ----------------------------------------------- Feature banner (dark promo: copy left, car photo right) */
.feature-banner { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: #fff; display: flex; align-items: center; min-height: clamp(360px, 44vh, 500px); padding-block: clamp(2.4rem, 5vw, 4rem); }
.feature-banner__media { position: absolute; inset: 0; z-index: -2; }
.feature-banner__media img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 50%; }
.feature-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,19,23,.97) 0%, rgba(17,19,23,.88) 40%, rgba(17,19,23,.45) 70%, rgba(17,19,23,.12) 100%); }
.feature-banner__inner { width: 100%; }
.feature-banner__content { max-width: 560px; }
.feature-banner__eyebrow { color: var(--accent-300); margin-bottom: .9rem; }
.feature-banner__eyebrow::before { background: var(--accent-300); }
.feature-banner__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); line-height: .98; letter-spacing: -.01em; color: #fff; margin-bottom: .9rem; }
.feature-banner__sub { color: rgba(255,255,255,.86); margin-bottom: 1.4rem; }

/* ----------------------------------------------- "Service with a smile" band (placeholder cut-outs until real team photos) */
.smile-band { background: #fff; }
.smile-band__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
@media (max-width: 860px){ .smile-band__inner { grid-template-columns: 1fr; } .smile-band__figures { order: 2; } }
.smile-band__figures { display: flex; align-items: flex-end; justify-content: center; gap: clamp(.5rem, 1.6vw, 1.1rem); }
.smile-fig { width: clamp(94px, 13vw, 148px); border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(180deg, var(--bg-3), var(--bg-4)); display: grid; place-items: end center; overflow: hidden; }
.smile-fig--side { height: clamp(180px, 24vw, 220px); }
.smile-fig--mid { height: clamp(210px, 28vw, 256px); }
.smile-fig__art { width: 80%; height: auto; color: #AEB6BF; fill: currentColor; display: block; }
.smile-band__content { max-width: 520px; }
.smile-band__content .eyebrow { margin-bottom: .7rem; }
.smile-band__content h2 { margin-bottom: .7rem; }
.smile-band__content .lede { color: var(--ink-2); margin-bottom: 1.4rem; }
.smile-band__cta { display: flex; flex-wrap: wrap; gap: .7rem; }
