/* ============================================================
   POCO NAPA AUTOPRO — Premium Stylesheet
   ============================================================ */

/* ---- Reset & Root ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand — NAPA AUTOPRO official palette */
  --navy:          #003A8F;
  --navy-dark:     #091455;
  --navy-deep:     #070D3A;
  --yellow:        #FFC72C;
  --yellow-dark:   #D4A000;
  --yellow-glow:   rgba(255, 199, 44, 0.22);

  /* Backgrounds — deep NAPA blue tones */
  --bg-base:       #060D2E;
  --bg-section:    #080F36;
  --bg-section-alt:#0A1240;
  --bg-card:       rgba(255, 255, 255, 0.045);
  --bg-card-solid: #0D1848;

  /* Text */
  --text:          #FFFFFF;
  --text-light:    rgba(255, 255, 255, 0.80);
  --text-muted:    rgba(255, 255, 255, 0.62);

  /* Borders */
  --border:        rgba(255, 255, 255, 0.08);
  --border-hover:  rgba(255, 199, 44, 0.45);

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.25);
  --shadow:        0 8px 32px rgba(0,0,0,0.40), 0 2px 8px rgba(0,0,0,0.20);
  --shadow-lg:     0 24px 64px rgba(0,0,0,0.55), 0 8px 24px rgba(0,0,0,0.30);
  --shadow-yellow: 0 8px 32px rgba(255,199,44,0.30);

  /* Typography */
  --font-head:     'Montserrat', sans-serif;
  --font-body:     'Inter', sans-serif;

  /* Spacing & Shape */
  --section-v:     128px;
  --container:     1200px;
  --radius-sm:     10px;
  --radius:        20px;
  --radius-lg:     30px;

  /* Motion */
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:      cubic-bezier(0, 0, 0.2, 1);
  --trans:         0.32s var(--ease);
  --trans-slow:    0.6s var(--ease);
}

/* Skip-to-main — visually hidden until focused by keyboard/screen reader */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--yellow);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.br-desktop { display: block; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  color: var(--text);
  font-weight: 800;
}

h1 { font-size: clamp(48px, 7.5vw, 92px); letter-spacing: -0.025em; }
h2 { font-size: clamp(32px, 4.5vw, 56px); letter-spacing: -0.02em; }
h3 { font-size: clamp(20px, 2.5vw, 26px); letter-spacing: -0.01em; }

p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.75;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header h2 { margin-bottom: 0; }

.subheading-light {
  display: block;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: #0A0E20;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--trans);
  box-shadow: 0 4px 20px rgba(255,199,44,0.25), 0 1px 4px rgba(0,0,0,0.2);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-yellow);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: var(--trans);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  transform: translateY(-3px);
  background: rgba(255,255,255,0.05);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 400;
  padding: 14px 0;
  transition: background var(--trans), box-shadow var(--trans), padding var(--trans);
}

#navbar.scrolled {
  background: rgba(7, 12, 28, 0.96);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.4);
  padding: 10px 0;
}

.nav-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  transition: var(--trans);
}
.nav-logo:hover { transform: translateY(-1px); }

.nav-logo-img-wrap {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  transition: var(--trans);
}
.nav-logo:hover .nav-logo-img-wrap {
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.nav-logo-img-wrap img { height: 52px; width: auto; display: block; }

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}
.nav-logo-poco {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 32px;
  color: var(--navy);
  letter-spacing: 0.03em;
  line-height: 1;
}
.nav-logo-autopro {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 25px;
  color: var(--yellow);
  letter-spacing: 0.08em;
  line-height: 1;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.01em;
  transition: color var(--trans);
  white-space: nowrap;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--trans);
  transform-origin: left;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: #fff; }

/* Nav Right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-hours {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
}
.hours-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}
.hours-time {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}

.btn-book-nav {
  background: var(--yellow);
  color: #0A0E20;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: var(--trans);
  box-shadow: 0 2px 12px rgba(255,199,44,0.2);
}
.btn-book-nav:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-yellow);
}

/* Hamburger */
/* Mobile overlay — hidden by default on desktop, shown via media query when open */
.nav-mobile-overlay { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 201;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: var(--trans);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Shop photo as CSS background for parallax */
.hero-bg {
  position: absolute;
  inset: -60px;           /* extra room for parallax movement */
  background-image: url('images/shop.jpg');
  background-size: cover;
  background-position: center 30%;
  background-color: var(--navy);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(7, 12, 30, 0.84) 0%,
    rgba(10, 20, 55, 0.70) 45%,
    rgba(7, 12, 30, 0.88) 100%
  );
  /* Subtle vignette at edges */
  box-shadow: inset 0 0 180px rgba(4, 8, 20, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 140px 32px 100px;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 24px;
  opacity: 0;
  animation: heroFadeUp 0.9s 0.1s var(--ease-out) both;
}

.hero-title {
  color: #fff;
  margin-bottom: 28px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
  opacity: 0;
  animation: heroFadeUp 0.9s 0.25s var(--ease-out) both;
}

.hero-accent {
  display: block;
  color: var(--yellow);
  position: relative;
}

.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.7;
  opacity: 0;
  animation: heroFadeUp 0.9s 0.42s var(--ease-out) both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.9s 0.58s var(--ease-out) both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  animation: heroFadeUp 0.9s 1.0s var(--ease-out) both;
}
.hero-scroll-hint span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,199,44,0.7), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.9); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* ============================================================
   COMMUNITY
   ============================================================ */
.community {
  position: relative;
  padding: var(--section-v) 0;
  overflow: hidden;
  background-color: #060D2E;
}

/* Road photo background */
.community::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/road.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.50;
}

/* Dark branded overlay — heavier at bottom so text stays legible */
.community::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 13, 46, 0.70) 0%,
    rgba(6, 13, 46, 0.55) 40%,
    rgba(6, 13, 46, 0.85) 100%
  );
}

.community > * { position: relative; z-index: 1; }

.community-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.community-headline {
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.community-headline em {
  font-style: italic;
  color: var(--yellow);
  font-weight: 800;
}

.community-body p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  line-height: 1.8;
}

.community-body p + p { margin-top: 18px; }

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  position: relative;
  padding: var(--section-v) 0;
  overflow: hidden;
  background-color: #07101E;
}

/* Desk photo background */
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/desk.jpg');
  background-size: cover;
  background-position: center 35%;
  opacity: 0.45;
}

/* Left-to-right dark branded overlay */
.process::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 13, 46, 0.96) 0%,
    rgba(6, 13, 46, 0.80) 45%,
    rgba(6, 13, 46, 0.60) 100%
  );
}

/* All children above the overlays */
.process > * { position: relative; z-index: 1; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.process-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  padding: 48px 36px 40px;
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans), background var(--trans);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.45),
    0 2px 8px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

.process-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 199, 44, 0.35);
  box-shadow:
    0 24px 56px rgba(0,0,0,0.55),
    0 4px 16px rgba(0,0,0,0.30),
    0 0 40px rgba(255,199,44,0.07),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

/* Ghost step number watermark */
.process-step-bg {
  position: absolute;
  right: -12px;
  top: -20px;
  font-family: var(--font-head);
  font-size: 140px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  transition: color var(--trans);
}

.process-card:hover .process-step-bg {
  color: rgba(255,199,44,0.08);
}

.process-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, rgba(255,199,44,0.18) 0%, rgba(255,199,44,0.07) 100%);
  border: 1px solid rgba(255,199,44,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: var(--trans);
  box-shadow: 0 4px 16px rgba(255,199,44,0.10);
}

.process-icon svg {
  width: 26px;
  height: 26px;
  color: var(--yellow);
}

.process-card:hover .process-icon {
  background: linear-gradient(135deg, rgba(255,199,44,0.28) 0%, rgba(255,199,44,0.12) 100%);
  box-shadow: 0 6px 24px rgba(255,199,44,0.20);
  transform: scale(1.05);
}

.process-card h3 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 14px;
  font-weight: 700;
}

.process-card p {
  font-size: 15px;
  line-height: 1.80;
  color: rgba(255, 255, 255, 0.60);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  /* Top-to-bottom: lighter navy fades to deep dark, eye flows down to button */
  background: linear-gradient(180deg, #0E2278 0%, #061550 45%, #03091A 100%);
}

/* Soft central glow — brighter near the button at the bottom */
.cta-banner-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 100%, rgba(255,199,44,0.11) 0%, transparent 65%),
    radial-gradient(ellipse 80% 40% at 50% 30%,  rgba(13, 31, 120, 0.35) 0%, transparent 70%);
}

/* Organic flowing wisps — two arms curving in from upper corners,
   softly converging toward center where the button lives             */
.cta-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 90% at -8%  20%, rgba(255,255,255,0.045) 0%, transparent 60%),
    radial-gradient(ellipse 75% 90% at 108% 15%, rgba(255,255,255,0.038) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 30%  75%, rgba(255,199,44,0.04)   0%, transparent 65%),
    radial-gradient(ellipse 55% 50% at 70%  75%, rgba(255,199,44,0.035)  0%, transparent 65%);
}

/* Final depth layer — very faint scattered orbs for organic texture */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 22% 18% at 18% 30%, rgba(255,255,255,0.025) 0%, transparent 100%),
    radial-gradient(ellipse 16% 14% at 82% 22%, rgba(255,255,255,0.020) 0%, transparent 100%),
    radial-gradient(ellipse 18% 20% at 60% 85%, rgba(255,199,44,0.045)  0%, transparent 100%);
}

/* Keep .cta-banner::after clear for future use */
.cta-banner::after { content: none; }

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.cta-phone {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
  transition: color var(--trans);
}
.cta-phone:hover { color: var(--yellow); }

.cta-or {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  width: 100%;
}
.cta-or::before,
.cta-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.12);
  max-width: 120px;
}
.cta-or span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
}

@keyframes ctaBounce {
  0%, 100%  { transform: translateY(0); }
  30%       { transform: translateY(-10px); }
  50%       { transform: translateY(-4px); }
  70%       { transform: translateY(-8px); }
  85%       { transform: translateY(-2px); }
}

.btn-book-cta {
  display: inline-block;
  background: var(--yellow);
  color: #0A0E20;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.06em;
  padding: 14px 40px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--trans), box-shadow var(--trans);
  box-shadow: 0 4px 32px rgba(255,199,44,0.30), 0 2px 8px rgba(0,0,0,0.3);
  animation: ctaBounce 2.4s ease-in-out 2s infinite;
}
.btn-book-cta:hover {
  background: var(--yellow-dark);
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 48px rgba(255,199,44,0.45), 0 4px 16px rgba(0,0,0,0.4);
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  position: relative;
  padding: var(--section-v) 0;
  overflow: hidden;
  /* Picks up exactly where CTA left off — #03091A at the seam, settling into base colour */
  background: linear-gradient(180deg, #03091A 0%, #060D2E 40%, #060D2E 100%);
}

/* Organic wisps — bloom out from the top-centre seam, echoing the CTA convergence point */
.reviews::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* Central bloom rising from the seam */
    radial-gradient(ellipse 70% 45% at 50% 0%,   rgba(255,199,44,0.07)  0%, transparent 70%),
    /* Left arm fanning out */
    radial-gradient(ellipse 65% 80% at -5%  30%,  rgba(255,255,255,0.03) 0%, transparent 60%),
    /* Right arm fanning out */
    radial-gradient(ellipse 65% 80% at 105% 25%,  rgba(255,255,255,0.025)0%, transparent 60%),
    /* Faint warm pool lower-left */
    radial-gradient(ellipse 45% 40% at 22%  80%,  rgba(255,199,44,0.035) 0%, transparent 70%),
    /* Faint warm pool lower-right */
    radial-gradient(ellipse 45% 40% at 78%  85%,  rgba(255,199,44,0.030) 0%, transparent 70%);
}

/* Scattered ambient orbs for texture depth */
.reviews::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 20% 16% at 15% 20%, rgba(255,255,255,0.018) 0%, transparent 100%),
    radial-gradient(ellipse 14% 12% at 85% 35%, rgba(255,255,255,0.015) 0%, transparent 100%),
    radial-gradient(ellipse 18% 14% at 55% 72%, rgba(255,199,44,0.030)  0%, transparent 100%);
}

/* Ensure carousel content sits above the texture layers */
.reviews > * { position: relative; z-index: 1; }

.rating-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.rating-stars {
  font-size: 26px;
  color: var(--yellow);
  letter-spacing: 3px;
  text-shadow: 0 2px 8px rgba(255,199,44,0.3);
}

.rating-num {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}

.rating-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
  text-align: left;
}

/* Carousel outer — bleeds past container so edge cards peek */
.reviews-carousel-outer {
  overflow: hidden;
  margin-top: 16px;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.reviews-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  padding: 16px 6vw 24px;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  user-select: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track.is-dragging { cursor: grabbing; }

/* Initial slide-in state — JS adds .slid-in after intersection */
.review-slide {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  flex: 0 0 360px;
}
.review-slide.slid-in {
  opacity: 1;
  transform: translateY(0);
}

.reviews-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}
.reviews-hint svg { width: 16px; height: 16px; color: var(--yellow); opacity: 0.6; }

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.06);
}

.review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.14);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.08);
}

.review-featured {
  border-color: rgba(255,199,44,0.30);
  background: linear-gradient(160deg, rgba(255,199,44,0.06) 0%, var(--bg-card) 60%);
}

.review-featured:hover {
  border-color: rgba(255,199,44,0.50);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(255,199,44,0.08), inset 0 1px 0 rgba(255,255,255,0.08);
}

.review-stars {
  font-size: 18px;
  color: var(--yellow);
  letter-spacing: 2px;
  text-shadow: 0 1px 6px rgba(255,199,44,0.25);
}

.review-card blockquote {
  flex: 1;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
  font-style: italic;
  border: none;
  padding: 0;
  margin: 0;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: #0A0E20;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255,199,44,0.2);
}

.review-meta strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.review-meta span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   WARRANTY
   ============================================================ */
.warranty {
  position: relative;
  padding: var(--section-v) 0;
  overflow: hidden;
  background-color: #04091A;
}

/* Night road photo background */
.warranty::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/nightroad.jpg');
  background-size: cover;
  background-position: center 55%;
  opacity: 0.58;
}

/* Dark overlay — heavier at top and bottom, lighter in the middle */
.warranty::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 9, 26, 0.88) 0%,
    rgba(4, 9, 26, 0.55) 40%,
    rgba(4, 9, 26, 0.55) 60%,
    rgba(4, 9, 26, 0.92) 100%
  );
}

.warranty > * { position: relative; z-index: 1; }

.warranty-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.warranty-header h2 { margin-bottom: 16px; }

.warranty-header p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}

.warranty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.warranty-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  padding: 44px 36px;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  box-shadow: 0 8px 32px rgba(0,0,0,0.50), 0 2px 8px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.10);
}

.warranty-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,199,44,0.35);
  box-shadow: 0 16px 48px rgba(0,0,0,0.55), 0 0 60px rgba(255,199,44,0.08), inset 0 1px 0 rgba(255,255,255,0.13);
}

.warranty-icon {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, rgba(255,199,44,0.15) 0%, rgba(255,199,44,0.05) 100%);
  border: 1px solid rgba(255,199,44,0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: 0 6px 20px rgba(255,199,44,0.10);
  transition: var(--trans);
}

.warranty-icon svg {
  width: 28px;
  height: 28px;
  color: var(--yellow);
}

.warranty-card:hover .warranty-icon {
  background: linear-gradient(135deg, rgba(255,199,44,0.25) 0%, rgba(255,199,44,0.10) 100%);
  box-shadow: 0 8px 28px rgba(255,199,44,0.20);
}

.warranty-card h3 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 700;
}

.warranty-highlight {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(255,199,44,0.2);
}

.warranty-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  flex: 1; /* pushes learn more to the bottom */
}

/* Make cards work as links */
a.warranty-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
}

.warranty-learn {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  color: var(--yellow);
  text-transform: uppercase;
  transition: gap var(--trans);
  display: flex;
  align-items: center;
  gap: 6px;
}
.warranty-learn span {
  transition: transform var(--trans);
  display: inline-block;
}
a.warranty-card:hover .warranty-learn span {
  transform: translateX(5px);
}

.warranty-tagline {
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.18);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #040810;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  padding: 96px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 56px;
  margin-bottom: 64px;
}

/* Footer brand */
.footer-logo-link {
  display: inline-flex;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  margin-bottom: 20px;
  transition: var(--trans);
}
.footer-logo-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.footer-logo { height: 46px; width: auto; }
.footer-logo-link.logo-text-fallback img { display: none; }
.footer-logo-link .logo-fallback-text { display: none; font-family: var(--font-head); font-weight: 900; color: var(--navy); font-size: 14px; }
.footer-logo-link.logo-text-fallback .logo-fallback-text { display: block; }

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--trans);
}
.footer-social a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #0A0E20;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(255,199,44,0.25);
}
.footer-social svg { width: 18px; height: 18px; }

/* Footer contact */
.footer-contact h4,
.footer-hours h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 24px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.contact-list svg {
  width: 18px;
  height: 18px;
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-list a {
  color: rgba(255,255,255,0.75);
  transition: color var(--trans);
}
.contact-list a:hover { color: var(--yellow); }

/* Footer hours */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hour-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: background var(--trans);
}

.hour-row:last-child { border-bottom: none; }
.hour-row span:last-child { font-weight: 600; color: rgba(255,255,255,0.80); }
.hour-closed { opacity: 0.35; }

.hour-row.today {
  background: rgba(255,199,44,0.08);
  border-radius: 8px;
  padding: 9px 10px;
  border-bottom: none;
  color: rgba(255,255,255,0.90);
}
.hour-row.today span:last-child { color: var(--yellow); }

/* Footer map */
.footer-map-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  height: 220px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  flex: 1;
}

.btn-book-footer {
  display: block;
  background: var(--yellow);
  color: #0A0E20;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 16px;
  border-radius: var(--radius-sm);
  transition: var(--trans);
  box-shadow: 0 4px 18px rgba(255,199,44,0.22);
}
.btn-book-footer:hover {
  background: var(--yellow-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-yellow);
}

/* Footer — Areas We Serve */
.footer-cities {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-cities-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  white-space: nowrap;
}

.footer-cities-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-cities-links a {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.40);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-cities-links a:hover {
  color: var(--yellow);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  transition: color var(--trans);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom-links span { color: rgba(255,255,255,0.30); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.72s var(--ease-out), transform 0.72s var(--ease-out);
}

.reveal-up    { transform: translateY(48px); }
.reveal-left  { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1380px) {
  /* Step 1: shrink logo text font sizes */
  .nav-logo-poco   { font-size: 24px; }
  .nav-logo-autopro { font-size: 19px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 12px; }
}

@media (max-width: 1200px) {
  /* Step 2: hide logo text entirely — badge image stays, frees ~180px on the left */
  .nav-logo-text { display: none; }
  .nav-links { gap: 16px; }
  .nav-hours { display: none; }
}

@media (max-width: 1050px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 11px; }
}

@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-map-col { grid-column: span 2; }
  .map-embed { height: 260px; }
}

@media (max-width: 900px) {
  :root { --section-v: 90px; }

  .community-inner { grid-template-columns: 1fr; gap: 40px; }
  .process-grid    { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .review-slide    { flex: 0 0 300px; }
  .warranty-grid   { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }

  /* Hide the desktop nav links on mobile */
  .nav-links { display: none; }

  /* Mobile fullscreen overlay — lives outside <header> in the DOM,
     so backdrop-filter on the scrolled navbar never traps it        */
  .nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 24, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 350;
  }
  .nav-mobile-overlay.open { display: flex; }
  .nav-mobile-overlay a {
    font-size: 22px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-mobile-overlay a:hover { color: var(--yellow); }

  .btn-book-mobile {
    margin-top: 8px;
    padding: 14px 40px;
    background: var(--yellow);
    color: #000 !important;
    font-family: var(--font-head);
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em;
    border-radius: 100px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(255,199,44,0.35);
  }
  .btn-book-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,199,44,0.50);
    color: #000 !important;
  }

  .hamburger { display: flex; }
  .btn-book-nav { display: none; }

  .hero-sub br { display: none; }
  .br-desktop { display: none; }
}

@media (max-width: 640px) {
  :root { --section-v: 72px; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }

  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { width: 100%; max-width: 320px; justify-content: center; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-map-col { grid-column: span 1; }

  .rating-display { flex-direction: column; gap: 8px; }
  .rating-label { text-align: center; }

  .warranty-tagline { letter-spacing: 0.02em; }

  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
