/* ════════════════════════════════════════════════════════════════
   BLUE MOUNTAIN AUTOPRO — Premium Layer (all AUTOPRO-side pages)
   Loaded after autopro.css + any inline page styles.
   Adds depth, atmosphere, motion and refined typography without
   touching structure, content, or conversion flow.
   ════════════════════════════════════════════════════════════════ */

:root {
  --pr-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pr-shadow-sm:
    0 1px 2px  rgba(10, 22, 52, 0.05),
    0 4px 14px rgba(10, 22, 52, 0.06);
  --pr-shadow-md:
    0 2px 4px  rgba(10, 22, 52, 0.05),
    0 14px 36px rgba(10, 22, 52, 0.10);
  --pr-shadow-lg:
    0 4px 10px rgba(10, 22, 52, 0.06),
    0 28px 72px rgba(10, 22, 52, 0.16);
  /* Fine blueprint grid — used on dark engineered sections */
  --pr-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 .5H.5V48' fill='none' stroke='%23ffffff' stroke-opacity='.045'/%3E%3C/svg%3E");
  /* Soft dot matrix — used on light sections */
  --pr-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='1.5' cy='1.5' r='1.2' fill='%23003087' fill-opacity='.05'/%3E%3C/svg%3E");
}

/* ── Typography refinement ───────────────────────────────────── */
body.page-body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5 { letter-spacing: -0.015em; }
.hero h1 { letter-spacing: -0.022em; }
.section-title { letter-spacing: -0.02em; }
.section-label { font-size: 11.5px; letter-spacing: 0.34em; }
.section-sub { font-size: 17.5px; }

/* More breathing room between major movements of the page.
   Exact attribute selectors on purpose: pages define custom .section
   variants (e.g. goodyear-tires) whose own padding/backgrounds must win. */
section[class="section"],
section[class="section section-alt"],
section[class="section section-dark"],
.section-why, .section-team { padding: 104px 40px; }
.reviews-strip { padding: 104px 40px; }

/* ── Reveal-on-scroll (classes applied by /js/home-premium.js) ── */
.pr-reveal { opacity: 0; transform: translateY(26px); }
.pr-in {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.85s var(--pr-ease), transform 0.85s var(--pr-ease);
}

/* Hero entrance — only plays once JS marks the body ready */
@keyframes pr-rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes pr-hero-card {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
body.pr-ready .hero-composite .hero-inner h1 { animation: pr-rise 0.9s var(--pr-ease) 0.10s backwards; }
body.pr-ready .hero-composite .hero-inner p  { animation: pr-rise 0.9s var(--pr-ease) 0.28s backwards; }
body.pr-ready .hero-team { animation: pr-hero-card 1.05s var(--pr-ease) 0.40s backwards; }

/* ── Nav — solid white, engineered hover ─────────────────────── */
/* Stays fully opaque so the bar matches the solid AUTOPRO logo —
   no frosted translucency letting page content bleed through. */
.nav {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 48, 135, 0.05);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}
.nav.nav-scrolled { box-shadow: 0 10px 40px rgba(0, 16, 64, 0.12); }
.nav-links li:not(.ev-link) a {
  background: transparent;
  position: relative;
}
.nav-links li:not(.ev-link) a::after {
  content: ''; position: absolute; left: 10px; right: 10px; bottom: 1px; height: 2px;
  border-radius: 2px; background: var(--yellow);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.3s var(--pr-ease);
}
.nav-links li:not(.ev-link) a:hover {
  background: transparent; box-shadow: none; transform: none; color: var(--blue);
}
.nav-links li:not(.ev-link) a:hover::after { transform: scaleX(1); }

/* ── Hero — atmosphere, vignette, gradient seam ──────────────── */
.hero-composite { min-height: 580px !important; }
.hero-building {
  transform: scale(1.08);              /* headroom for the parallax drift */
  will-change: transform;
}
.hero-building::after {
  background:
    radial-gradient(ellipse 120% 80% at 50% 115%, rgba(0, 4, 18, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 78% 30%, rgba(255, 209, 0, 0.05) 0%, transparent 60%),
    linear-gradient(90deg,
      rgba(0, 16, 64, 0.96) 0%,
      rgba(0, 16, 64, 0.84) 30%,
      rgba(0, 16, 64, 0.42) 55%,
      rgba(0, 16, 64, 0.12) 78%,
      rgba(0, 16, 64, 0.02) 100%);
}
.hero::after {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--yellow) 18%, var(--yellow) 82%, transparent 100%);
}
.hero-composite .hero-inner p { font-size: clamp(15px, 1.8vw, 18.5px); color: rgba(255, 255, 255, 0.78); }
.hero-team { border-radius: 18px; }
.hero-team::after {
  content: ''; position: absolute; inset: 0; border-radius: 18px; pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

/* ── Trust bar — machined strip ──────────────────────────────── */
.trust-bar {
  background: linear-gradient(180deg, #003a9e 0%, #00266e 100%);
  padding: 18px 40px; gap: 38px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.30);
}
.trust-item {
  font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.trust-item .trust-dot {
  width: 7px; height: 7px;
  box-shadow: 0 0 10px rgba(255, 209, 0, 0.85), 0 0 2px rgba(255, 209, 0, 1);
}

/* ── Reviews — elevated glass cards on a lit field ───────────── */
.reviews-strip {
  position: relative;
  background:
    radial-gradient(ellipse 55% 50% at 6% 0%, rgba(0, 48, 135, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 96% 100%, rgba(255, 209, 0, 0.07) 0%, transparent 60%),
    linear-gradient(180deg, #f8fafd 0%, #eef2f9 100%);
}
.reviews-strip::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--pr-dots);
  opacity: 0.6; pointer-events: none;
}
.reviews-strip .section-inner { position: relative; z-index: 1; }
.review-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(0, 48, 135, 0.10);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafe 100%);
  transition: transform 0.35s var(--pr-ease), box-shadow 0.35s var(--pr-ease), border-color 0.35s ease;
}
.review-card::after {
  content: '\201C';
  position: absolute; top: 4px; right: 20px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 88px; line-height: 1; font-weight: 900;
  color: rgba(0, 48, 135, 0.06); pointer-events: none;
}
.review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 48, 135, 0.18);
  box-shadow:
    0 8px 18px rgba(10, 22, 52, 0.06),
    0 28px 64px rgba(10, 22, 52, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

/* ── Homepage reviews — compact, summary-anchored ────────────── */
.reviews-strip { padding: 80px 40px; }
.reviews-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; margin-bottom: 40px;
}
.reviews-head-text { max-width: 620px; }
.reviews-head .section-title { margin-bottom: 8px; }
.reviews-head-sub { font-size: 16px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.reviews-rating {
  display: flex; align-items: center; gap: 14px; flex-shrink: 0;
  padding: 14px 22px; border-radius: 16px;
  background: linear-gradient(165deg, #ffffff 0%, #f4f7fc 100%);
  border: 1px solid rgba(0, 48, 135, 0.10);
  border-top: 3px solid var(--yellow);
  box-shadow: 0 10px 30px rgba(10, 22, 52, 0.08);
}
.reviews-rating-num {
  font-size: 44px; font-weight: 900; line-height: 1;
  color: var(--blue); letter-spacing: -0.02em;
}
.reviews-rating-meta { display: flex; flex-direction: column; gap: 4px; }
.reviews-rating-stars {
  font-size: 18px; letter-spacing: 2px;
  background: linear-gradient(160deg, #FFE566 0%, #FFD100 40%, #E6A800 75%, #FFD100 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.reviews-rating-sub {
  display: flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 600; color: var(--text-muted); white-space: nowrap;
}

/* Tighter cards on the homepage strip only */
.reviews-strip-grid .review-card { padding: 24px 24px 22px; gap: 12px; border-radius: 16px; }
.reviews-strip-grid .review-card::after { font-size: 64px; top: 2px; right: 16px; }
.reviews-strip-grid .review-stars { font-size: 17px; letter-spacing: 2px; }
.reviews-strip-grid .review-text {
  font-size: 14px; line-height: 1.7; border-left-width: 2px; padding-left: 12px;
}
.reviews-strip-grid .review-author { padding-top: 6px; }
.reviews-cta {
  margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
@media (max-width: 720px) {
  .reviews-head { margin-bottom: 28px; }
  .reviews-rating { padding: 12px 18px; }
  .reviews-rating-num { font-size: 36px; }
}

/* ── Services — engineered dark, blueprint atmosphere ────────── */
.section-services {
  padding: 104px 40px;
  background:
    radial-gradient(ellipse 90% 70% at 15% 50%, rgba(0, 48, 135, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 85% 50%, rgba(255, 209, 0, 0.08) 0%, transparent 55%),
    linear-gradient(160deg, rgba(8, 12, 22, 0.55) 0%, rgba(13, 19, 34, 0.50) 40%, rgba(11, 16, 25, 0.60) 100%),
    url("/img/nexdrive/ev-tire-alignment.webp") center/cover no-repeat;
}
.section-services .section-inner { position: relative; z-index: 1; }
.section-services .card {
  border-radius: 18px;
  transition: transform 0.35s var(--pr-ease), box-shadow 0.35s var(--pr-ease), border-color 0.35s ease;
}
.section-services .card:hover { transform: translateY(-6px); }

/* Custom line-art icon chips on cards */
.card-ic {
  width: 54px; height: 54px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--blue);
  background: linear-gradient(160deg, rgba(0, 48, 135, 0.10), rgba(0, 48, 135, 0.03));
  border: 1px solid rgba(0, 48, 135, 0.16);
}
.card-ic svg { width: 27px; height: 27px; display: block; }
.section-services .card-ic {
  color: var(--yellow);
  background: linear-gradient(160deg, rgba(255, 209, 0, 0.16), rgba(255, 209, 0, 0.03));
  border: 1px solid rgba(255, 209, 0, 0.28);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ── Why choose — brushed-light field + credential icons ─────── */
.section-why {
  position: relative;
  background:
    radial-gradient(ellipse 50% 60% at 92% 8%, rgba(0, 48, 135, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
}
.section-why::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--pr-dots);
  opacity: 0.45; pointer-events: none;
}
.section-why .section-inner { position: relative; z-index: 1; }
.reason {
  border-radius: 18px;
  transition: transform 0.35s var(--pr-ease), box-shadow 0.35s var(--pr-ease), border-color 0.35s ease;
}
.reason:hover { transform: translateY(-6px); box-shadow: var(--pr-shadow-lg); border-color: rgba(0, 48, 135, 0.16); }
.reason-ic {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: linear-gradient(160deg, #0a4ad0 0%, #002068 100%);
  box-shadow:
    0 10px 24px rgba(0, 48, 135, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.reason-ic svg { width: 25px; height: 25px; display: block; }

/* ── Why choose — premium credential cards (homepage) ────────── */
/* Exactly four credentials — balanced 4-up row, 2×2, then stacked */
.section-why .grid-auto { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .section-why .grid-auto { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .section-why .grid-auto { grid-template-columns: 1fr; } }
.section-why .reason {
  flex-direction: column; align-items: center; text-align: center; gap: 16px;
  padding: 32px 26px 28px;
  background: linear-gradient(165deg, #ffffff 0%, #f5f9fe 100%);
  border: 1px solid rgba(0, 48, 135, 0.10);
  border-top: 1px solid rgba(0, 48, 135, 0.10);   /* drop the flat yellow top bar */
  position: relative; overflow: hidden;
}
/* animated brand accent bar across the top on hover */
.section-why .reason::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #1f6fe0 55%, var(--yellow) 100%);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.45s var(--pr-ease);
}
.section-why .reason:hover::before { transform: scaleX(1); }
.section-why .reason:hover { border-color: rgba(0, 48, 135, 0.20); }
/* navy circular icon with a yellow glyph — matches the concept */
.section-why .reason-ic {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(160deg, #0a4ad0 0%, #002068 100%);
  color: var(--yellow);
  box-shadow: 0 10px 24px rgba(0, 48, 135, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.section-why .reason-ic svg { width: 34px; height: 34px; }
/* clean text column — drop the inset blue rule for an airier card */
.section-why .reason > div { width: 100%; }
.section-why .reason h4, .section-why .reason h3 {
  font-size: 17px; font-weight: 800; letter-spacing: -0.01em;
  color: var(--blue); position: relative;
  padding-bottom: 13px; margin-bottom: 15px;
}
/* short yellow underline under each title */
.section-why .reason h4::after, .section-why .reason h3::after {
  content: ''; position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 34px; height: 3px; border-radius: 3px; background: var(--yellow);
}
.section-why .reason p {
  font-size: 14px; line-height: 1.7; color: var(--text-muted);
  border-left: none; padding-left: 0; margin-left: 0;
}

/* ── Why-choose split header — intro text + service-bay image ──── */
.why-top {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 54px;
  align-items: center;
  margin-bottom: 0;
}
.why-intro .section-sub { margin-bottom: 0; }
.why-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 26px 64px rgba(0, 32, 104, 0.26), 0 6px 18px rgba(0, 0, 0, 0.12);
}
.why-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* subtle navy fade at the base so it sits in the brand palette, not too bright */
.why-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(0, 32, 104, 0.42) 100%);
}
/* cards sit just below the header row — clear of the intro text */
.section-why .why-cards { position: relative; z-index: 2; margin-top: 36px; }
@media (max-width: 1080px) {
  .why-top { grid-template-columns: 1fr; gap: 32px; }
  .why-media { aspect-ratio: 16 / 9; }
  .section-why .why-cards { margin-top: 36px; }
}
/* Desktop: drop the image lower and make it taller than the text column, then
   lift the cards so they overlap the base of the image — layered depth, while
   the (shorter, top-aligned) intro text stays clear above the overlap */
@media (min-width: 1081px) {
  .why-top { align-items: start; }
  .why-media { min-height: 440px; margin-top: 30px; }
  .section-why .why-cards { margin-top: -52px; }
}

/* ── Stats — dark instrument panel ───────────────────────────── */
.section-dark {
  background:
    var(--pr-grid) repeat,
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(255, 209, 0, 0.07) 0%, transparent 60%),
    linear-gradient(160deg, #0a0f1c 0%, #101a30 55%, #0a0f1c 100%);
  position: relative;
}
.section-dark::before,
.section-dark::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 0, 0.35), transparent);
}
.section-dark::before { top: 0; }
.section-dark::after { bottom: 0; }
.stat-strip { position: relative; z-index: 1; }
.stat-num {
  background: linear-gradient(170deg, #ffe566 0%, #ffd100 55%, #e0a800 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(255, 209, 0, 0.18));
}
.stat-lbl { color: rgba(255, 255, 255, 0.55); }

/* ── Goodyear — consistency polish on the dark showcase ──────── */
.gy-hero, .gy-tires, .gy-promo, .gy-finder { border-radius: 22px; }
.gy-tire-card {
  transition: border-color 0.3s ease, transform 0.35s var(--pr-ease), box-shadow 0.35s var(--pr-ease);
}
.gy-tire-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}
.gy-promo-foot { transition: background 0.25s ease, letter-spacing 0.25s ease; }
.gy-promo-foot:hover { letter-spacing: 0.02em; }

/* ── Team — gallery treatment ────────────────────────────────── */
.team-card {
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--pr-shadow-sm);
  transition: transform 0.4s var(--pr-ease), box-shadow 0.4s var(--pr-ease), border-color 0.3s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pr-shadow-lg);
  border-color: rgba(0, 48, 135, 0.16);
}
.team-photo { background: linear-gradient(180deg, #eef2f8 0%, #e2e9f3 100%); overflow: hidden; }
.team-photo img { transition: transform 0.65s var(--pr-ease); }
.team-card:hover .team-photo img { transform: scale(1.035); }
.team-role {
  text-transform: uppercase; letter-spacing: 0.09em;
  font-size: 11px; font-weight: 700; color: var(--blue);
}

/* ── Final CTA — lit stage over AUTOPRO brand backdrop ───────── */
.final-cta {
  position: relative; overflow: hidden;
  padding: 112px 40px;
  background:
    radial-gradient(ellipse 60% 85% at 50% 125%, rgba(255, 209, 0, 0.17) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% -20%, rgba(18, 85, 204, 0.45) 0%, transparent 60%),
    linear-gradient(160deg, rgba(0, 36, 107, 0.58) 0%, rgba(0, 48, 135, 0.48) 55%, rgba(0, 26, 77, 0.62) 100%),
    url(/img/autopro/auto-pro-background.jpg);
  background-size: cover, cover, cover, cover;
  background-position: center;
}
/* Blueprint grid removed here — the brand backdrop image stands on its own. */
.final-cta::before { content: none; }
.final-cta h2, .final-cta p, .final-cta > div { position: relative; z-index: 1; }

/* ── EV household — NexDrive brand artwork under a legibility scrim ── */
.ev-household {
  padding: 100px 40px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 85% 110% at 50% 50%, rgba(4, 15, 28, 0.74) 0%, rgba(4, 15, 28, 0.52) 55%, rgba(4, 15, 28, 0.80) 100%),
    url('/img/nexdrive/ev-background.jpg') center / cover no-repeat,
    linear-gradient(135deg, #040f1c 0%, #082c48 100%);
}
.ev-household > div { position: relative; z-index: 1; }
.ev-household p { color: rgba(255, 255, 255, 0.78); }

/* Every EV CTA banner shares the same NexDrive artwork treatment */
.cross-promo-ev {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 85% 110% at 50% 50%, rgba(4, 15, 28, 0.74) 0%, rgba(4, 15, 28, 0.52) 55%, rgba(4, 15, 28, 0.80) 100%),
    url('/img/nexdrive/ev-background.jpg') center / cover no-repeat,
    linear-gradient(135deg, #040f1c 0%, #083050 100%);
}
.cross-promo-ev > * { position: relative; z-index: 1; }

/* Utility for smaller EV CTA boxes embedded in service pages */
.ev-cta-bg {
  background:
    radial-gradient(ellipse 90% 120% at 50% 50%, rgba(4, 15, 28, 0.72) 0%, rgba(4, 15, 28, 0.55) 55%, rgba(4, 15, 28, 0.80) 100%),
    url('/img/nexdrive/ev-background.jpg') center / cover no-repeat,
    linear-gradient(135deg, #040f1c 0%, #083050 100%) !important;
}

/* ── Plain sections — quiet light fields instead of flat white ──
   Scoped with exact class matches so page-specific .section variants
   with their own (often dark) backgrounds are never overridden. */
section[class="section"] {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 48, 135, 0.035) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fafbfe 100%);
}
section[class="section section-alt"] {
  position: relative;
  background:
    radial-gradient(ellipse 55% 60% at 100% 0%, rgba(0, 48, 135, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 0% 100%, rgba(255, 209, 0, 0.05) 0%, transparent 55%),
    linear-gradient(180deg, #f6f8fc 0%, #eef2f9 100%);
}
section[class="section section-alt"]::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--pr-dots);
  opacity: 0.35; pointer-events: none;
}
section[class="section section-alt"] > .section-inner { position: relative; z-index: 1; }

/* Homepage team gallery — lit field with brand tints */
.section-team {
  position: relative;
  background:
    radial-gradient(ellipse 60% 70% at 92% 8%, rgba(0, 48, 135, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 4% 96%, rgba(255, 209, 0, 0.07) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
}
.section-team::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--pr-dots);
  opacity: 0.4; pointer-events: none;
}
.section-team .section-inner { position: relative; z-index: 1; }

/* ── Inner pages — premium page hero ─────────────────────────── */
.page-hero {
  padding: 88px 40px 78px;
  background:
    var(--pr-grid) repeat,
    radial-gradient(ellipse 70% 80% at 85% 15%, rgba(255, 209, 0, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 90% 90% at 8% 110%, rgba(18, 85, 204, 0.38) 0%, transparent 60%),
    linear-gradient(135deg, #001a4d 0%, #003087 70%, #00246b 100%);
}
.page-hero::after {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--yellow) 18%, var(--yellow) 82%, transparent 100%);
}
.page-hero-label { display: flex; align-items: center; gap: 12px; letter-spacing: 0.32em; }
.page-hero-label::before { content: ''; display: block; width: 32px; height: 2px; background: var(--yellow); }
.page-hero h1 { letter-spacing: -0.02em; }
.page-hero p { color: rgba(255, 255, 255, 0.76); }
body.pr-ready .page-hero-label { animation: pr-rise 0.8s var(--pr-ease) 0.05s backwards; }
body.pr-ready .page-hero h1 { animation: pr-rise 0.9s var(--pr-ease) 0.16s backwards; }
body.pr-ready .page-hero p { animation: pr-rise 0.9s var(--pr-ease) 0.30s backwards; }

/* ── Page hero photo variants ─────────────────────────────────── */
.page-hero--fleet {
  padding: 120px 40px 110px;
  min-height: 520px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0,20,60,0.72) 0%, rgba(0,48,135,0.58) 60%, rgba(0,36,107,0.68) 100%),
    url('/img/autopro/fleet-hero-opt.jpg') center 60% / cover no-repeat;
}
.page-hero--fleet .page-hero-inner { width: 100%; }

/* ── Inner pages — blog & partner cards join the card language ── */
.blog-card, .partner-card {
  border-radius: 18px;
  transition: transform 0.35s var(--pr-ease), box-shadow 0.35s var(--pr-ease), border-color 0.3s ease;
}
.blog-card:hover, .partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pr-shadow-md);
  border-color: rgba(0, 48, 135, 0.16);
}

/* ── Fleet banner — van + technician photo ───────────────────── */
.fleet-van-art { flex: 0 1 340px; min-width: 240px; }
.fleet-van-art img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 16px 22px rgba(10, 26, 58, 0.16));
}
@media (max-width: 768px) {
  .fleet-van-art { margin: 0 auto; flex-basis: 300px; }
}

/* ── Service area — cinematic photo treatment ────────────────── */
.area-media { position: relative; border-radius: 16px; }
.area-media::after {
  content: ''; position: absolute; inset: 0; border-radius: 16px; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 26, 77, 0) 48%, rgba(0, 26, 77, 0.32) 100%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 255, 255, 0.10) 0%, transparent 55%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* ── Buttons — hover sheen sweep + accessible focus ──────────── */
.btn::after {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: -30%;
  width: 36%; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: translateX(-120%) skewX(-18deg);
  transition: transform 0.7s var(--pr-ease);
}
.btn:hover::after { transform: translateX(420%) skewX(-18deg); }
.btn:focus-visible,
.nav-book:focus-visible {
  outline: 3px solid rgba(0, 48, 135, 0.5);
  outline-offset: 3px;
}
.section-services .btn:focus-visible,
.final-cta .btn:focus-visible,
.goodyear-section .btn:focus-visible {
  outline-color: rgba(255, 209, 0, 0.65);
}
.nav-links a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* On tablet/mobile the team card hides and text spans the full width,
   so the hero needs a uniform scrim instead of the left-weighted one */
@media (max-width: 960px) {
  .hero-building::after {
    background:
      radial-gradient(ellipse 120% 70% at 50% 115%, rgba(0, 4, 18, 0.5) 0%, transparent 55%),
      linear-gradient(180deg, rgba(0, 16, 64, 0.92) 0%, rgba(0, 16, 64, 0.82) 100%);
  }
}

/* Service-area split collapses to a clean stack on small screens
   (the grid is set via inline style, hence the !important) */
@media (max-width: 900px) {
  .section-alt .section-inner:has(.area-media) { display: block !important; }
  .area-media { margin-top: 36px; max-width: 520px; }
}

/* ── Mobile — reduce intensity, keep the polish ──────────────── */
@media (max-width: 768px) {
  section[class="section"],
  section[class="section section-alt"],
  section[class="section section-dark"],
  .section-why, .section-team,
  .reviews-strip, .section-services { padding: 68px 20px; }
  .final-cta { padding: 76px 20px; }
  .ev-household { padding: 64px 20px; }
  .pr-reveal { transform: translateY(14px); }
  .review-card::after { display: none; }   /* quote watermark collides with accordion toggle */
  .reviews-strip-grid .review-card::after { display: none; }

  /* ── Homepage reviews on mobile: 2×2×2 grid, snippet + expand ── */
  .reviews-strip-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .reviews-strip-grid .review-card { padding: 14px 12px 12px; gap: 7px; position: relative; }
  .reviews-strip-grid .review-card .review-stars { display: block; font-size: 13px; letter-spacing: 1px; }
  /* collapsed → a ~4–5 word snippet on one line */
  .reviews-strip-grid .review-card .review-text {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden;
    font-size: 12.5px; line-height: 1.45; font-style: normal;
    border-left: none; padding-left: 0; margin-left: 0;
  }
  .reviews-strip-grid .review-card.open .review-text {
    display: block; -webkit-line-clamp: unset; overflow: visible;
    font-style: italic; border-left: 2px solid var(--blue); padding-left: 10px;
  }
  .reviews-strip-grid .review-card .review-author { padding-top: 6px; }
  .reviews-strip-grid .review-card .review-author strong { font-size: 12.5px; }
  .reviews-strip-grid .review-card .review-author span { font-size: 11px; }
  /* expand button (JS-injected .m-toggle) → round chip, top-right */
  .reviews-strip-grid .review-card .m-toggle {
    position: absolute; top: 10px; right: 10px;
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(0,48,135,0.10); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800; line-height: 1; pointer-events: none;
  }

  /* ── Why-choose cards on mobile: short blurb + expand for full ── */
  .section-why .reason p {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  }
  .section-why .reason.open p {
    display: block; -webkit-line-clamp: unset; overflow: visible;
  }
  .section-why .reason .m-toggle {
    position: absolute; top: 14px; right: 14px;
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(0,48,135,0.10); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800; line-height: 1; pointer-events: none;
  }

  /* ── Team cards on mobile: tight horizontal — headshot left, blurb + expand right ── */
  .section-team .team-card {
    display: flex; align-items: stretch; text-align: left;
    overflow: hidden; position: relative;
  }
  .section-team .team-card .team-photo {
    display: block; position: relative; overflow: hidden;
    width: 88px; min-width: 88px; height: auto; padding: 0;
    border-bottom: none; border-right: 1px solid var(--border);
  }
  /* absolutely-filled img → the photo takes the card's (info-driven) height, stays tight */
  .section-team .team-card .team-photo img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; border: none; border-radius: 0;
  }
  .section-team .team-card .team-info {
    flex: 1; min-width: 0; padding: 12px 14px;
    display: flex; flex-direction: column; justify-content: center; gap: 2px;
  }
  .section-team .team-card .team-name { font-size: 15px; margin-bottom: 1px; }
  .section-team .team-card .team-role { font-size: 10px; line-height: 1.35; }
  /* collapsed → ~5-word blurb on one line */
  .section-team .team-card .team-info p {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden;
    font-size: 12px !important; line-height: 1.5 !important; margin-top: 5px !important;
  }
  .section-team .team-card.open .team-info p {
    display: block; -webkit-line-clamp: unset; overflow: visible;
  }
  .section-team .team-card .m-toggle {
    position: absolute; top: 9px; right: 9px;
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(0,48,135,0.10); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800; line-height: 1; pointer-events: none;
  }
  /* no expand chip for members with no bio */
  .section-team .team-card:not(:has(.team-info p)) .m-toggle { display: none; }
  .btn::after { display: none; }           /* no sheen sweep on touch */
  .hero-building { transform: none; }
  .trust-bar { gap: 12px; }
  .trust-item { font-size: 11px; }
  .card-ic, .reason-ic { width: 46px; height: 46px; }
  .card-ic svg { width: 23px; height: 23px; }
  .reason-ic svg { width: 22px; height: 22px; }

  /* ── Service cards on mobile: icon beside heading, tighter box ──
     stop the stacked icon-on-top from pushing text down and eating screen */
  .section-services .grid-auto { gap: 12px; }
  .section-services .card {
    display: grid; grid-template-columns: auto 1fr;
    align-items: center; column-gap: 12px; padding: 16px;
  }
  .section-services .card-ic { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 0; }
  .section-services .card-ic svg { width: 21px; height: 21px; }
  .section-services .card h3 { margin: 0; font-size: 16px; }
  .section-services .card p { grid-column: 1 / -1; font-size: 13px; line-height: 1.5; margin: 10px 0 0; }
  .section-services .card-link { grid-column: 1 / -1; margin-top: 10px; }
}

/* ── Reduced motion — everything visible, nothing moves ──────── */
@media (prefers-reduced-motion: reduce) {
  body.pr-ready .hero-composite .hero-inner h1,
  body.pr-ready .hero-composite .hero-inner p,
  body.pr-ready .hero-team,
  body.pr-ready .page-hero-label,
  body.pr-ready .page-hero h1,
  body.pr-ready .page-hero p { animation: none; }
  .hero-seam-shimmer::after { animation: none; opacity: 0; }
  .pr-reveal { opacity: 1; transform: none; }
  .btn::after { display: none; }
  .nav, .btn, .card, .reason, .team-card, .review-card, .gy-tire-card { transition: none; }
}
