/* ============================================================
   DrivenPass Driving School - Static Site Stylesheet
   ============================================================ */

/* ---------- CSS Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 0.96875rem;        /* 15.5px on desktop; phones are bumped back to 16px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: var(--fg);
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
svg { display: block; }

/* ---------- Typography ----------
   Headlines  : Plus Jakarta Sans — clean, modern, geometric sans-serif
   Body text  : Inter — simple, highly readable at every size
   ------------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  letter-spacing: -0.015em;
}
/* numbers / brand marks that read as headlines */
.hero-title, .logo-name, .stat-value, .pass-rate-value,
.pricing-price .amount, .pricing-price .currency,
.special-offer-price .amount, .special-offer-price .currency,
.special-offer-title, .section-head h2 {
  font-family: var(--font-head);
}

/* ---------- Theme Variables ---------- */
:root {
  --bg: #f8fafc;
  --bg-elev: #ffffff;
  --fg: #0f172a;
  --fg-muted: #64748b;
  --primary: #2563eb;
  --primary-fg: #ffffff;
  --primary-10: rgba(37, 99, 235, 0.1);
  --primary-20: rgba(37, 99, 235, 0.2);
  --accent: #fef9c3;
  --accent-strong: #facc15;
  --border: #e2e8f0;
  --muted: #f1f5f9;
  --shadow: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  /* Canvas: content is never boxed into a narrow centred column. --max-w is only
     an ultra-wide safety cap; the visible side spacing comes from --pad-x below. */
  --max-w: 1600px;
  /* Side gutters: PROPORTIONAL + symmetrical.
     gutter = 3.5% of the viewport, never under 20px (phones), never over 56px.
     390px -> 20px  |  768px -> 27px  |  1024px -> 36px
     1366px -> 48px | 1536px -> 54px | 1920px -> 56px (same on both sides) */
  --pad-x: clamp(20px, 3.5vw, 56px);
  --font-head: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --header-h: 76px;
}

[data-theme="dark"] {
  --bg: #0f172a;
  --bg-elev: #1e293b;
  --fg: #f1f5f9;
  --fg-muted: #94a3b8;
  --primary: #3b82f6;
  --primary-fg: #0f172a;
  --primary-10: rgba(59, 130, 246, 0.15);
  --primary-20: rgba(59, 130, 246, 0.25);
  --accent: #422006;
  --accent-strong: #facc15;
  --border: rgba(255,255,255,0.1);
  --muted: #1e293b;
  --shadow: 0 4px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.4);
}

/* ---------- Layout Helpers ---------- */
.container {
  /* subtract the gutters from the 100% width so the leftover never turns into
     extra empty space on the sides (this was the real cause of the big gaps) */
  width: 100%; max-width: min(100% - (2 * var(--pad-x)), var(--max-w));
  margin: 0 auto;
  /* one single fluid rule for every screen size — left & right stay perfectly
     symmetrical, no jumps at 1024px / 1200px any more */
  padding-left: var(--pad-x); padding-right: var(--pad-x);
}
.section { padding: 80px 0; }
.section-muted { background: linear-gradient(to bottom, var(--muted), var(--bg), var(--muted)); }
.section-tinted { background: linear-gradient(to bottom, rgba(37, 99, 235, 0.04), var(--bg), rgba(250, 204, 21, 0.05)); }
[data-theme="dark"] .section-tinted { background: linear-gradient(to bottom, #1e293b, #0f172a, #1e293b); }
.section-tinted-2 { background: linear-gradient(to bottom, var(--primary-10), var(--bg), rgba(250, 204, 21, 0.05)); }
[data-theme="dark"] .section-tinted-2 { background: linear-gradient(to bottom, rgba(59,130,246,0.08), #0f172a, #1e293b); }

.text-primary { color: var(--primary); }
.text-white { color: #ffffff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.625rem, 2.4vw, 2.125rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px; text-wrap: balance; }
.section-head p { font-size: 1.0625rem; color: var(--fg-muted); }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  font-size: 0.875rem; font-weight: 600;
}
.badge-primary { background: var(--primary-10); color: var(--primary); margin-bottom: 16px; }
.badge-light { background: rgba(255,255,255,0.15); color: #fff; backdrop-filter: blur(8px); margin-bottom: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-primary { background: var(--primary); color: var(--primary-fg); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-whatsapp { background: #25d366; color: #ffffff; box-shadow: var(--shadow); }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-white { background: #ffffff; color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); }

.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 999px;
  border: 2px solid var(--primary-20);
  background: var(--bg-elev);
  color: var(--fg);
  transition: all 0.2s ease;
  position: relative; overflow: hidden;
}
.btn-icon:hover { background: var(--accent); }
.icon-moon { display: none; color: var(--primary); position: absolute; }
.icon-sun { color: #facc15; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; position: static; }

/* ---------- Top Bar (email + socials) ---------- */
.topbar {
  background: var(--fg);
  color: #e2e8f0;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
[data-theme="dark"] .topbar { background: #020617; }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 38px;
}
.topbar-email {
  display: inline-flex; align-items: center; gap: 8px;
  color: #e2e8f0; font-weight: 500;
  transition: color 0.2s ease;
  min-width: 0;
}
.topbar-email span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-email svg { color: var(--accent-strong); flex-shrink: 0; }
.topbar-email:hover { color: var(--accent-strong); }

.topbar-social { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.topbar-social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px;
  color: #e2e8f0;
  background: rgba(255,255,255,0.08);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.topbar-social-link:hover {
  transform: translateY(-2px);
  background: var(--primary); color: #fff;
}
@media (max-width: 480px) {
  .topbar { font-size: 0.72rem; }
  .topbar-inner { min-height: 34px; gap: 8px; }
  .topbar-social-link { width: 24px; height: 24px; }
  .topbar-social-link svg { width: 13px; height: 13px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  width: 100%;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--primary); color: var(--primary-fg);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.logo:hover .logo-icon { transform: scale(1.1); }
.logo-icon svg { width: 26px; height: 26px; color: var(--primary-fg); }
.logo-dot {
  position: absolute; top: -2px; right: -2px;
  width: 12px; height: 12px; border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 2px var(--bg-elev);
  animation: traffic-pulse 1.5s ease-in-out infinite;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.02em; }
.logo-sub { font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--fg-muted); }

.desktop-nav { display: flex; align-items: center; gap: 4px; }
.desktop-nav a {
  padding: 8px 16px; font-size: 0.9rem; font-weight: 500;
  color: color-mix(in srgb, var(--fg) 80%, transparent);
  transition: color 0.2s ease; position: relative;
}
.desktop-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--primary);
  transition: width 0.3s ease;
}
.desktop-nav a:hover { color: var(--primary); }
.desktop-nav a:hover::after { width: 60%; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.hide-mobile { display: inline-flex; }
.mobile-only { display: none; }
.icon-x { display: none; }
#menu-toggle.open .icon-menu { display: none; }
#menu-toggle.open .icon-x { display: block; }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 8px 20px 16px; border-top: 1px solid var(--border); }
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 16px; border-radius: 10px; font-weight: 500;
}
.mobile-nav a:hover { background: var(--accent); color: var(--primary); }
.mobile-nav .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 120px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #fef9c3 100%);
  background-size: 200% 200%;
  animation: gradient-drift 12s ease infinite;
}
[data-theme="dark"] .hero-bg {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; }
.blob-1 { top: -120px; left: -120px; width: 360px; height: 360px; background: var(--primary-20); }
.blob-2 { bottom: -120px; right: -120px; width: 360px; height: 360px; background: rgba(250, 204, 21, 0.2); }

.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.hero-content { text-align: center; }
@media (min-width: 900px) { .hero-content { text-align: left; } }
.hero-title { font-size: clamp(3.875rem, 3.4vw, 2.625rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; margin: 20px 0; text-wrap: balance; }
.hero-desc { font-size: 1.0625rem; color: var(--fg-muted); max-width: 540px; margin: 0 auto; }
@media (min-width: 900px) { .hero-desc { margin: 0; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
@media (min-width: 900px) { .hero-cta { justify-content: flex-start; } }

.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 40px; font-size: 0.9rem; }
@media (min-width: 900px) { .hero-trust { justify-content: flex-start; } }
.trust-item { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.trust-item svg { color: var(--primary); }
.stars { color: #facc15; letter-spacing: 1px; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-elev);
  /* keep the slider's internal layers from covering the floating
     traffic signal / pass-rate cards that sit over this box */
  isolation: isolate;
}
/* square on desktop: the pupil pass photos are portrait, so a wide 5/4 box
   would crop heads off. 1/1 keeps the person and the car in frame. */
@media (min-width: 640px) { .hero-image-wrap { aspect-ratio: 1/1; } }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero Slider ---------- */
.hero-slider { position: absolute; inset: 0; background: var(--muted); }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
  will-change: opacity;
}
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 6s linear;
}
.hero-slide.is-active { opacity: 1; z-index: 2; }
.hero-slide.is-active img { transform: scale(1); }

/* Soft gradients: top for the caption, bottom for the dots */
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(2,6,23,0.58) 0%, rgba(2,6,23,0.15) 32%, transparent 55%),
    linear-gradient(to top, rgba(2,6,23,0.38) 0%, transparent 26%);
}
/* Caption sits top-left: the bottom-left corner is occupied by the
   floating "92% first-time pass rate" card. */
.hero-slide-caption {
  position: absolute; left: 18px; right: 18px; top: 16px;
  z-index: 3;
  color: #fff; font-size: 0.9rem; font-weight: 600;
  line-height: 1.35; letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(-8px);
  transition: opacity 600ms ease 250ms, transform 600ms ease 250ms;
  pointer-events: none;
}
.hero-slide.is-active .hero-slide-caption { opacity: 1; transform: translateY(0); }

/* Arrows */
.hero-slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.86); color: #0f172a;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease, transform 0.2s ease;
}
.hero-image-wrap:hover .hero-slider-arrow,
.hero-slider-arrow:focus-visible { opacity: 1; }
.hero-slider-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hero-slider-prev { left: 12px; }
.hero-slider-next { right: 12px; }
@media (max-width: 640px) { .hero-slider-arrow { opacity: 1; width: 32px; height: 32px; } }

/* Dots */
.hero-slider-dots {
  position: absolute; left: 0; right: 0; bottom: 14px;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  gap: 7px; flex-wrap: wrap; padding: 0 14px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
}
.hero-dot:hover { background: rgba(255,255,255,0.85); transform: scale(1.2); }
.hero-dot.is-active { width: 22px; border-radius: 99px; background: var(--accent-strong); }
/* lift the dots clear of the floating pass-rate card on narrow screens */
@media (max-width: 900px) { .hero-slider-dots { bottom: 66px; } }

/* Auto-advance progress bar */
.hero-slider-progress {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  height: 3px; background: rgba(255,255,255,0.22);
}
.hero-slider-progress span {
  display: block; height: 100%; width: 0;
  background: var(--accent-strong);
}
.hero-slider-progress span.is-running {
  animation: heroProgress var(--hero-interval, 2500ms) linear forwards;
}
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 300ms ease; }
  .hero-slide img { transform: none; transition: none; }
  .hero-slider-progress span.is-running { animation: none; width: 100%; }
}

.traffic-signal {
  position: absolute; top: -24px; right: -16px;
  display: flex; flex-direction: column; gap: 8px;
  padding: 10px; border-radius: 16px;
  background: #0f172a; box-shadow: var(--shadow-lg);
  border: 2px solid #334155;
}
@media (min-width: 640px) { .traffic-signal { right: -32px; } }
.traffic-signal .light { width: 28px; height: 28px; border-radius: 999px; }
.traffic-signal .red { background: #ef4444; animation: traffic-pulse 1.5s ease-in-out infinite; }
.traffic-signal .amber { background: #facc15; }
.traffic-signal .green { background: #22c55e; }

.pass-rate-card {
  position: absolute; bottom: -24px; left: -8px;
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 16px; padding: 16px; box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) { .pass-rate-card { left: -32px; } }
.pass-rate-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(34, 197, 94, 0.15); color: #16a34a;
}
.pass-rate-value { font-size: 1.375rem; font-weight: 800; line-height: 1; }
.pass-rate-label { font-size: 0.75rem; color: var(--fg-muted); }

/* Animated road at hero bottom */
.hero-road {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 96px; background: #0f172a; overflow: hidden;
}
[data-theme="dark"] .hero-road { background: #000; }
.road-stripes {
  position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%);
  height: 6px; color: #facc15;
  background-image: repeating-linear-gradient(90deg, currentColor 0, currentColor 30px, transparent 30px, transparent 60px);
  animation: road-stripes 1.2s linear infinite;
}
.driving-car { position: absolute; top: 50%; transform: translateY(-50%); animation: drive-across 8s linear infinite; }
.driving-car-2 { animation-delay: -4s; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 64px; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.stat-card {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px; text-align: center;
  box-shadow: var(--shadow); transition: all 0.2s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-value { font-size: 1.6875rem; font-weight: 800; color: var(--primary); }
@media (min-width: 768px) { .stat-value { font-size: 2.0625rem; } }
.stat-label { font-size: 0.875rem; color: var(--fg-muted); margin-top: 4px; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  box-shadow: var(--shadow); transition: all 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--primary-10); color: var(--primary);
  transition: all 0.2s ease;
}
.feature-card:hover .feature-icon { background: var(--primary); color: var(--primary-fg); }
.feature-card h3 { font-size: 1.125rem; font-weight: 700; margin-top: 20px; }
.feature-card p { color: var(--fg-muted); margin-top: 8px; }

/* ---------- About Block ---------- */
.about-block { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; margin-top: 80px; }
@media (min-width: 1024px) { .about-block { grid-template-columns: 1fr 1fr; gap: 56px; } }
.about-image { position: relative; }
.about-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.road-sign {
  position: absolute; top: -20px; right: -12px; transform: rotate(6deg);
  background: #facc15; color: #0f172a;
  border-radius: 8px; padding: 12px 16px;
  border: 2px solid #0f172a; box-shadow: var(--shadow-lg);
  text-align: center; font-weight: 800;
}
@media (min-width: 640px) { .road-sign { right: -20px; } }
.road-sign-top { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; }
.road-sign-bottom { font-size: 1.0625rem; line-height: 1; }
.about-text h3 { font-size: 1.3125rem; font-weight: 800; margin-bottom: 16px; }
@media (min-width: 640px) { .about-text h3 { font-size: 1.5625rem; } }
.about-text p { color: var(--fg-muted); margin-bottom: 16px; }
.about-perks { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .about-perks { grid-template-columns: 1fr 1fr; } }
.perk-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; }
.perk-item svg { color: var(--primary); flex-shrink: 0; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  position: relative; padding: 28px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.popular {
  background: var(--primary); color: var(--primary-fg);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-card.popular:hover { transform: scale(1.03) translateY(-4px); }
.pricing-badge {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 16px; border-radius: 999px;
  background: #facc15; color: #0f172a;
  font-size: 0.75rem; font-weight: 700;
  box-shadow: var(--shadow);
}
.pricing-card-head { display: flex; align-items: center; justify-content: space-between; }
.pricing-hours {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700;
}
.pricing-card:not(.popular) .pricing-hours { background: var(--primary-10); color: var(--primary); }
.pricing-card.popular .pricing-hours { background: rgba(255,255,255,0.15); color: var(--primary-fg); }
.pricing-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-muted); }
.pricing-card.popular .pricing-label { color: rgba(255,255,255,0.8); }
.pricing-price { margin-top: 20px; display: flex; align-items: baseline; gap: 4px; }
.pricing-price .currency { font-size: 1.375rem; font-weight: 700; }
.pricing-price .amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; }
.pricing-per-hour { font-size: 0.875rem; margin-top: 4px; color: var(--fg-muted); }
.pricing-card.popular .pricing-per-hour { color: rgba(255,255,255,0.8); }
.pricing-blurb { font-size: 0.9rem; margin-top: 16px; line-height: 1.5; color: var(--fg-muted); }
.pricing-card.popular .pricing-blurb { color: rgba(255,255,255,0.9); }
.pricing-perks { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.pricing-perk { display: flex; align-items: flex-start; gap: 8px; font-size: 0.9rem; }
.pricing-check {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 999px; margin-top: 2px;
}
.pricing-card:not(.popular) .pricing-check { background: var(--primary); color: var(--primary-fg); }
.pricing-card.popular .pricing-check { background: var(--primary-fg); color: var(--primary); }
.pricing-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 24px; padding: 12px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; transition: all 0.2s ease;
}
.pricing-card:not(.popular) .pricing-cta { background: var(--primary); color: var(--primary-fg); }
.pricing-card.popular .pricing-cta { background: var(--primary-fg); color: var(--primary); }
.pricing-cta:hover { transform: scale(1.05); }
.pricing-footnote { text-align: center; font-size: 0.875rem; color: var(--fg-muted); margin-top: 40px; }

/* ---------- CTA Section ---------- */
.cta-section { padding: 64px 0; }
.cta-banner {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--primary) 60%, #1e40af);
  padding: 48px 24px; text-align: center; color: #fff;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .cta-banner { padding: 64px; } }
.cta-stripes-top, .cta-stripes-bottom {
  position: absolute; left: 0; right: 0; height: 8px;
  color: rgba(255,255,255,0.3);
  background-image: repeating-linear-gradient(90deg, currentColor 0, currentColor 30px, transparent 30px, transparent 60px);
  animation: road-stripes 1.2s linear infinite;
}
.cta-stripes-top { top: 0; }
.cta-stripes-bottom { bottom: 0; }
.cta-sign {
  position: absolute; display: none;
  padding: 8px 12px; border-radius: 8px;
  font-weight: 700; font-size: 0.75rem; text-transform: uppercase;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .cta-sign { display: block; } }
.cta-sign-left { top: 24px; left: 24px; background: #facc15; color: #0f172a; border: 2px solid #0f172a; }
.cta-sign-right { bottom: 24px; right: 24px; background: #ef4444; color: #fff; border: 2px solid #fff; }
.cta-content { position: relative; }
.cta-content h2 { font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 800; margin-bottom: 16px; text-wrap: balance; }
.cta-content p { font-size: 1.0625rem; color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 32px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Areas ---------- */
.areas-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 48px; }
@media (min-width: 768px) { .areas-stats { grid-template-columns: repeat(4, 1fr); } }
.area-stat {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px; text-align: center; box-shadow: var(--shadow);
}
.area-stat svg { color: var(--primary); margin: 0 auto 8px; }
.area-stat .stat-value { font-size: 1.5rem; }
.area-stat .stat-label { font-size: 0.75rem; color: var(--fg-muted); }

.marquee-wrap { position: relative; margin-bottom: 40px; }
.marquee-fade { position: absolute; top: 0; bottom: 0; width: 64px; z-index: 2; pointer-events: none; }
.marquee-fade.left { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee-fade.right { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.marquee { display: flex; gap: 12px; overflow: hidden; padding: 8px 0; white-space: nowrap; }
.marquee-track { display: flex; gap: 12px; animation: marquee 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--primary-10); color: var(--primary);
  font-size: 0.875rem; font-weight: 600;
  border: 1px solid var(--primary-20);
  flex-shrink: 0;
}
.marquee-chip svg { width: 16px; height: 16px; }

.areas-list-card {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow);
}
@media (min-width: 768px) { .areas-list-card { padding: 32px; } }
.areas-list-title { display: flex; align-items: center; gap: 8px; font-size: 1.0625rem; font-weight: 700; margin-bottom: 16px; }
.areas-list-title svg { color: var(--primary); }
.areas-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  max-height: 320px; overflow-y: auto; padding-right: 8px;
}
@media (min-width: 640px) { .areas-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .areas-list { grid-template-columns: repeat(5, 1fr); } }
.area-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 8px;
  background: var(--muted);
  font-size: 0.875rem; font-weight: 500;
  transition: all 0.2s ease; cursor: default;
}
.area-chip:hover { background: var(--primary-10); color: var(--primary); }
.area-chip::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--primary); flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: stretch; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.contact-info h2 { font-size: clamp(1.625rem, 2.4vw, 2.125rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; text-wrap: balance; }
.contact-info > p { font-size: 1.0625rem; color: var(--fg-muted); margin-bottom: 32px; }
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; border-radius: 16px;
  background: var(--bg-elev); border: 1px solid var(--border);
  box-shadow: var(--shadow); transition: all 0.2s ease;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.contact-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  color: #fff; flex-shrink: 0;
}
.bg-green { background: #22c55e; }
.bg-emerald { background: #10b981; }
.bg-rose { background: #f43f5e; }
.bg-amber { background: #facc15; }
.contact-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-muted); }
.contact-value { font-weight: 700; word-break: break-word; }
.contact-card:hover .contact-value { color: var(--primary); }

.hours-card { margin-top: 24px; padding: 20px; border-radius: 16px; background: var(--bg-elev); border: 1px solid var(--border); box-shadow: var(--shadow); }
.hours-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hours-head svg { color: var(--primary); }
.hours-head h3 { font-weight: 700; font-size: 1rem; }
.hours-grid { display: grid; grid-template-columns: 1fr; gap: 8px; font-size: 0.9rem; }
@media (min-width: 640px) { .hours-grid { grid-template-columns: 1fr 1fr; } }
.hours-row { display: flex; justify-content: space-between; }
.hours-row span:first-child { color: var(--fg-muted); }
.hours-row span:last-child { font-weight: 500; }

.social-row { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 0.9rem; font-weight: 500; color: var(--fg-muted); }
.social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  color: #fff; transition: transform 0.2s ease;
}
.social-btn:hover { transform: scale(1.1); }
.social-facebook { background: #1877f2; }
.social-instagram { background: linear-gradient(135deg, #f09433, #dc2743, #bc1888); }
.social-whatsapp { background: #25d366; }

.contact-map-wrap {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  background: var(--bg-elev);
}
.contact-map { position: relative; flex: 1; min-height: 300px; background: var(--muted); }
.contact-map iframe { width: 100%; height: 100%; position: absolute; inset: 0; border: 0; }
.contact-map-cta { padding: 24px; background: var(--primary); color: var(--primary-fg); display: flex; align-items: flex-start; gap: 12px; }
.map-cta-icon { flex-shrink: 0; }
.contact-map-cta h3 { font-size: 1.0625rem; font-weight: 700; }
.contact-map-cta p { font-size: 0.875rem; color: rgba(255,255,255,0.9); margin-top: 4px; }
.map-link { display: inline-block; margin-top: 12px; font-size: 0.875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.map-link:hover { color: #facc15; }

/* ---------- Footer ---------- */
.site-footer { background: #0f172a; color: #cbd5e1; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; } }
.logo-footer .logo-icon { background: var(--primary); }
.logo-footer .logo-name { color: #fff; }
.footer-desc { font-size: 0.875rem; color: #94a3b8; margin-top: 16px; line-height: 1.6; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social .social-btn { background: rgba(255,255,255,0.05); }
.footer-social .social-facebook:hover { background: #1877f2; }
.footer-social .social-instagram:hover { background: linear-gradient(135deg, #f09433, #dc2743, #bc1888); }
.footer-social .social-whatsapp:hover { background: #25d366; }

.footer-col h3 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: #94a3b8; transition: color 0.2s ease; display: inline-flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-areas { display: grid; grid-template-columns: 1fr 1fr; gap-x: 12px; gap-y: 8px; }
.footer-areas li a::before { content: ''; width: 4px; height: 4px; border-radius: 999px; background: var(--primary); }
.footer-areas-link { display: inline-block; margin-top: 12px; font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.footer-areas-link:hover { text-decoration: underline; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; }
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 0.875rem; color: #64748b; }
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; } }

/* ---------- WhatsApp Floating Popup ---------- */
.whatsapp-fab-wrap { position: fixed; bottom: 20px; right: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.whatsapp-chat {
  width: min(92vw, 360px);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: wa-in 0.3s ease;
}
.whatsapp-chat[hidden] { display: none; }
@keyframes wa-in { from { opacity: 0; transform: scale(0.8) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.wa-header { background: #075e54; color: #fff; padding: 16px; display: flex; align-items: center; gap: 12px; }
.wa-avatar { position: relative; width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; }
.wa-online { position: absolute; bottom: -1px; right: -1px; width: 12px; height: 12px; border-radius: 999px; background: #4ade80; border: 2px solid #075e54; }
.wa-header-info { flex: 1; min-width: 0; }
.wa-name { font-weight: 700; line-height: 1.2; }
.wa-status { font-size: 0.75rem; color: rgba(255,255,255,0.8); }
.wa-close { color: rgba(255,255,255,0.8); padding: 4px; }
.wa-close:hover { color: #fff; }
.wa-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.wa-bubble { background: var(--muted); border-radius: 16px; border-top-left-radius: 4px; padding: 12px; font-size: 0.875rem; }
.wa-greeting { font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.wa-quick { display: flex; flex-direction: column; gap: 8px; }
.wa-quick-btn {
  text-align: left; font-size: 0.875rem; padding: 10px 12px;
  border-radius: 12px; background: var(--primary-10); color: var(--primary);
  transition: all 0.2s ease;
}
.wa-quick-btn:hover { background: var(--primary); color: var(--primary-fg); }
.wa-input-row { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 4px 4px 4px 16px; }
.wa-input-row input { flex: 1; background: transparent; border: none; outline: none; font-size: 0.875rem; color: var(--fg); min-width: 0; }
.wa-send { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: #25d366; color: #fff; flex-shrink: 0; transition: transform 0.2s ease; }
.wa-send:hover { transform: scale(1.1); }
.wa-footer { padding: 8px 16px; background: var(--muted); text-align: center; font-size: 11px; color: var(--fg-muted); }

.wa-toggle {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 999px;
  background: #25d366; color: #fff;
  box-shadow: var(--shadow-lg); transition: transform 0.2s ease;
}
@media (min-width: 640px) { .wa-toggle { width: 64px; height: 64px; } }
.wa-toggle:hover { transform: scale(1.1); }
.wa-toggle-icon { display: none; }
.wa-toggle.open .wa-toggle-icon { display: block; }
.wa-toggle.open .wa-toggle-icon-chat { display: none; }
.wa-toggle-icon-chat { color: #fff; }
.wa-badge {
  position: absolute; top: -2px; right: -2px;
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 999px;
  background: #ef4444; color: #fff;
  font-size: 0.75rem; font-weight: 700;
  border: 2px solid var(--bg);
}
.wa-toggle.open .wa-badge { display: none; }

.pulse-ring::before {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  background: #25d366; z-index: -1;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* ---------- Animations ---------- */
@keyframes road-stripes { from { background-position: 0 0; } to { background-position: -60px 0; } }
@keyframes drive-across { from { transform: translateX(-120%) translateY(-50%); } to { transform: translateX(100vw) translateY(-50%); } }
@keyframes traffic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  50% { box-shadow: 0 0 20px 8px currentColor; opacity: 0.85; }
}
@keyframes float-sign {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}
.animate-float-sign { animation: float-sign 4s ease-in-out infinite; }
@keyframes gradient-drift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.7; }
  70% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* ---------- Responsive ---------- */
/* tablet band (768–1023px): the header can't carry logo + nav + phone button at
   once, so the phone button steps out and the nav tightens — this also kills the
   sideways page scroll the old 80px gutters were hiding behind overflow-x:hidden */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .header-actions .hide-mobile { display: none; }
  .desktop-nav { gap: 0; }
  .desktop-nav a { padding: 8px 11px; font-size: 0.85rem; }
}
@media (max-width: 767px) {
  .desktop-nav { display: none; }
  .mobile-only { display: inline-flex; }
  .hide-mobile { display: none; }
  .hero { padding: 32px 0 100px; }
  .section { padding: 56px 0; }
  .footer-grid { padding-top: 40px; padding-bottom: 40px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.75rem; }
  .hero-cta .btn { width: 100%; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-4px); }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--muted); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); opacity: 0.8; }

/* ============================================================
   Cookie Consent Banner + Settings Modal + Cache
   ============================================================ */

/* Extra button variants used by cookie UI */
.btn-outline { background: transparent; color: var(--fg); border: 2px solid var(--border); }
.btn-outline:hover { background: var(--muted); border-color: var(--primary); color: var(--primary); }
.btn-text { background: transparent; color: var(--fg-muted); padding: 8px 12px; }
.btn-text:hover { color: var(--primary); }
.btn-danger-outline { background: transparent; color: #ef4444; border: 2px solid #ef4444; }
.btn-danger-outline:hover { background: #ef4444; color: #fff; }

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 70;
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.15);
  animation: cookie-slide-up 0.4s ease;
}
.cookie-banner[hidden] { display: none; }
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-inner {
  max-width: min(100% - (2 * var(--pad-x)), var(--max-w)); margin: 0 auto;
  /* same fluid gutter as the page container, so the banner lines up with the nav */
  padding: 20px var(--pad-x);
  display: grid; grid-template-columns: 1fr; gap: 16px;
  align-items: center;
}
@media (min-width: 768px) {
  .cookie-banner-inner {
    grid-template-columns: auto 1fr auto;
    gap: 24px;
  }
}
.cookie-banner-icon {
  display: none;
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--primary-10); color: var(--primary);
  align-items: center; justify-content: center;
}
@media (min-width: 768px) { .cookie-banner-icon { display: flex; } }
.cookie-banner-content h3 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 4px;
}
.cookie-banner-content p {
  font-size: 0.85rem; color: var(--fg-muted); line-height: 1.5;
}
.cookie-banner-actions {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start;
}
@media (min-width: 768px) {
  .cookie-banner-actions { justify-content: flex-end; flex-shrink: 0; }
}

/* ---------- Cookie Settings Modal ---------- */
.cookie-modal {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.cookie-modal[hidden] { display: none; }
.cookie-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  animation: fade-in 0.2s ease;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal-panel {
  position: relative; z-index: 1;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 640px;
  max-height: 90vh; overflow: hidden;
  display: flex; flex-direction: column;
  animation: modal-pop 0.3s ease;
}
@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cookie-modal-head h2 { font-size: 1.25rem; font-weight: 700; }
.cookie-modal-close {
  width: 36px; height: 36px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-muted); transition: all 0.2s ease;
}
.cookie-modal-close:hover { background: var(--muted); color: var(--fg); }
.cookie-modal-body {
  padding: 20px 24px; overflow-y: auto; flex: 1;
}
.cookie-modal-intro {
  font-size: 0.875rem; color: var(--fg-muted);
  margin-bottom: 20px; line-height: 1.6;
}
.cookie-modal-intro code,
.cookie-cat-list code {
  background: var(--muted); padding: 2px 6px; border-radius: 4px;
  font-size: 0.8rem; font-family: 'Courier New', monospace;
  color: var(--primary);
}

/* Cookie category card */
.cookie-cat {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  background: var(--bg);
}
.cookie-cat-required { border-color: var(--primary-20); background: var(--primary-10); }
.cookie-cat-cache { border-style: dashed; }
.cookie-cat-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px;
}
.cookie-cat-head h3 {
  font-size: 0.95rem; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.cookie-cat-head > div > p {
  font-size: 0.8rem; color: var(--fg-muted);
  margin-top: 4px; line-height: 1.4;
}
.cookie-cat-badge {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--primary); color: var(--primary-fg);
}
.cookie-cat-badge-optional { background: var(--muted); color: var(--fg-muted); }
.cookie-cat-badge-cache { background: #3b82f6; color: #fff; }
.cookie-cat-list {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
}
.cookie-cat-list li {
  font-size: 0.8rem; color: var(--fg-muted);
  padding-left: 12px; position: relative;
  line-height: 1.5;
}
.cookie-cat-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 4px; height: 4px; border-radius: 999px; background: var(--primary);
}
.cookie-cat-list li strong { color: var(--fg); font-weight: 600; }

/* Toggle switch */
.cookie-switch {
  position: relative; display: inline-block;
  width: 44px; height: 24px; flex-shrink: 0;
}
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-switch-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: #cbd5e1; border-radius: 999px;
  transition: background 0.2s ease;
}
.cookie-switch-slider::before {
  content: ''; position: absolute;
  height: 18px; width: 18px; left: 3px; bottom: 3px;
  background: #fff; border-radius: 999px;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cookie-switch input:checked + .cookie-switch-slider { background: var(--primary); }
.cookie-switch input:checked + .cookie-switch-slider::before { transform: translateX(20px); }
.cookie-switch input:disabled + .cookie-switch-slider { opacity: 0.6; cursor: not-allowed; }

/* Cache actions */
.cookie-cache-actions {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px;
}
.cookie-cache-preview {
  margin-top: 12px; padding: 12px;
  background: var(--muted); border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem; color: var(--fg);
  overflow-x: auto; max-height: 240px; overflow-y: auto;
  white-space: pre-wrap; word-break: break-all;
}

/* Modal footer */
.cookie-modal-foot {
  display: flex; gap: 8px; justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--muted);
}
.cookie-modal-foot .btn { min-width: 140px; }

/* ---------- Footer Cookie Link ---------- */
.footer-bottom-links {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; justify-content: center;
}
.footer-bottom-links a {
  color: var(--primary); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.footer-bottom-links a:hover { color: #facc15; }
.footer-sep { color: #475569; }

@media (max-width: 480px) {
  .cookie-modal-foot { flex-direction: column-reverse; }
  .cookie-modal-foot .btn { width: 100%; }
  .cookie-cache-actions .btn { flex: 1; min-width: 0; }
}

/* ============================================================
   Special Offer — Short Notice Test Package
   ============================================================ */

.special-offer-section {
  padding: 56px 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(250, 204, 21, 0.05));
}
[data-theme="dark"] .special-offer-section {
  background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(250,204,21,0.04));
}

.special-offer-card {
  position: relative;
  background: var(--bg-elev);
  border: 2px solid var(--primary-20);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Decorative road stripes top + bottom */
.special-offer-stripes-top,
.special-offer-stripes-bottom {
  position: absolute; left: 0; right: 0; height: 6px;
  color: var(--accent-strong);
  background-image: repeating-linear-gradient(90deg, currentColor 0, currentColor 24px, transparent 24px, transparent 48px);
  animation: road-stripes 1.2s linear infinite;
}
.special-offer-stripes-top { top: 0; }
.special-offer-stripes-bottom { bottom: 0; }

/* Ribbon badge */
.special-offer-ribbon {
  position: absolute; top: 18px; right: -38px;
  transform: rotate(35deg);
  background: var(--accent-strong); color: #0f172a;
  padding: 6px 48px;
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 2;
}

/* Main grid */
.special-offer-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  padding: 48px 32px;
}
@media (min-width: 900px) {
  .special-offer-grid { grid-template-columns: 1.4fr 1fr; gap: 48px; padding: 56px 48px; align-items: center; }
}

/* Left content */
.special-offer-tag {
  display: inline-block;
  padding: 6px 14px; border-radius: 999px;
  background: var(--primary-10); color: var(--primary);
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.special-offer-title {
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.text-gold { color: var(--accent-strong); }
[data-theme="dark"] .text-gold { color: #fde047; }
.special-offer-desc {
  color: var(--fg-muted); font-size: 0.95rem; line-height: 1.6;
  margin-bottom: 24px;
}

/* Features list */
.special-offer-features { display: flex; flex-direction: column; gap: 14px; }
.special-offer-features li {
  display: flex; align-items: flex-start; gap: 12px;
}
.feature-check {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 999px;
  background: var(--primary); color: var(--primary-fg);
  margin-top: 2px;
}
.special-offer-features li > div { display: flex; flex-direction: column; }
.special-offer-features li strong { font-size: 0.95rem; font-weight: 700; color: var(--fg); }
.special-offer-features li span { font-size: 0.8rem; color: var(--fg-muted); margin-top: 2px; }

/* Right CTA - price card */
.special-offer-cta { display: flex; justify-content: center; }
.special-offer-price-card {
  background: linear-gradient(160deg, var(--primary), #1e40af);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  width: 100%; max-width: 340px;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
  position: relative;
}
[data-theme="dark"] .special-offer-price-card {
  background: linear-gradient(160deg, #3b82f6, #1e3a8a);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25);
}
.special-offer-price-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8); margin-bottom: 8px;
}
.special-offer-price {
  display: flex; align-items: baseline; justify-content: center; gap: 4px;
  margin-bottom: 4px;
}
.special-offer-price .currency { font-size: 1.5rem; font-weight: 700; }
.special-offer-price .amount { font-size: 3.25rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.special-offer-price-sub {
  font-size: 0.8rem; color: rgba(255,255,255,0.8); margin-bottom: 24px;
}

/* Book Now button */
.btn-book-now {
  background: var(--accent-strong); color: #0f172a;
  width: 100%; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-book-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(250, 204, 21, 0.4);
}

/* Trust pills */
.special-offer-trust {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin-top: 20px;
}
.trust-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(4px);
  font-size: 0.75rem; font-weight: 600;
}
.trust-pill svg { color: var(--accent-strong); }

@media (max-width: 480px) {
  .special-offer-grid { padding: 40px 20px; }
  .special-offer-ribbon { right: -42px; font-size: 0.6rem; }
}

/* ============================================================
   TikTok social button
   ============================================================ */
.social-tiktok {
  background: #0f172a;
  color: #fff;
}
.social-tiktok:hover { background: #000; transform: scale(1.1); }
.footer-social .social-tiktok { background: rgba(255,255,255,0.05); }
.footer-social .social-tiktok:hover { background: #000; }

/* ============================================================
   MOBILE READABILITY
   Body text (paragraphs, list items, links, form fields) is never
   smaller than 16px on phones. Small uppercase UI labels keep a
   14px floor so they stay readable without shouting.
   ============================================================ */
@media (max-width: 768px) {

  body { font-size: 1rem; }

  /* --- running text: 16px minimum --- */
  p, li, a, input, textarea, select, button, label { font-size: 1rem; }

  .hero-desc,
  .section-head p,
  .feature-card p,
  .about-text p,
  .perk-item,
  .stat-label,
  .pass-rate-label,
  .pricing-blurb,
  .pricing-perk,
  .pricing-per-hour,
  .pricing-footnote,
  .pricing-cta,
  .cta-content p,
  .area-stat .stat-label,
  .area-chip,
  .areas-list li,
  .contact-info > p,
  .contact-card,
  .hours-grid,
  .social-row,
  .contact-map-cta p,
  .map-link,
  .footer-desc,
  .footer-col ul li a,
  .footer-bottom-inner,
  .special-offer-desc,
  .special-offer-features li strong,
  .special-offer-features li span,
  .special-offer-price-sub,
  .wa-bubble,
  .wa-quick-btn,
  .wa-name,
  .wa-input-row input,
  .cookie-banner-content p,
  .cookie-modal-intro,
  .cookie-modal-body,
  .cookie-cat-head h3,
  .cookie-cat-head > div > p,
  .cookie-cat-list li,
  .cookie-modal-foot .btn,
  .cookie-cache-preview,
  .hero-slide-caption,
  .topbar-email,
  .mobile-nav a {
    font-size: 1rem;
  }

  /* --- small labels / pills: 14px floor --- */
  .btn-sm,
  .badge,
  .pricing-badge,
  .pricing-hours,
  .pricing-label,
  .contact-label,
  .trust-pill,
  .special-offer-tag,
  .special-offer-price-label,
  .cookie-cat-badge,
  .area-stat .stat-label {
    font-size: 0.875rem;
  }

  /* --- utility strips only (never body copy) --- */
  .topbar { font-size: 0.8125rem; }
  .wa-status,
  .wa-footer { font-size: 0.8125rem; }
  .logo-sub,
  .road-sign-top { font-size: 0.75rem; }

  /* a touch more line-height makes 16px copy easier to scan on a phone */
  p, li, .about-text p, .feature-card p { line-height: 1.65; }
}

/* ============================================================
   WIDE-DESKTOP POLISH
   The page container is now intentionally wide (padded gutter instead of a
   narrow centred column), so a few centred blocks get their own readable
   max-width again — otherwise copy would run the full width of a big monitor.
   ============================================================ */
@media (min-width: 1200px) {
  .section-head { max-width: 760px; }        /* centred intro copy stays readable */
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-card h3 { font-size: 1.1875rem; }
  .stat-value { font-size: 2.1875rem; }
  .pricing-price .amount { font-size: 2.75rem; }
  .special-offer-title { font-size: clamp(1.625rem, 2.1vw, 2.125rem); }
  .special-offer-grid { padding: 56px; }
  .special-offer-price-card { max-width: 380px; }
  .special-offer-price .amount { font-size: 3.5rem; }
  .cta-banner { padding: 72px 64px; }
  .cta-content p { max-width: 680px; }
  .about-block { gap: 72px; }
  .contact-grid { gap: 64px; }
  .footer-grid { column-gap: 56px; }
}

