/* ========================================
   Easy Breezy Car Wash - Main Stylesheet
   ======================================== */

/* Google Fonts loaded via <link> in HTML for reliability */

/* ---- CSS Variables ---- */
:root {
  --red: #b71c1c;
  --red-dark: #8b1515;
  --red-deeper: #6d1010;
  --green: #2e7d32;
  --green-light: #4caf50;
  --cream: #faf8f5;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Outfit', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* Screen reader only - visible to crawlers and LLMs */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button, input, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; }
button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

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

/* ---- Top Bar ---- */
.top-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 70px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-left a {
  color: var(--gray-500);
  font-size: 18px;
  transition: var(--transition);
}

.top-bar-left a:hover { color: var(--red); }

.top-bar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.top-bar-center img {
  height: 56px;
  width: auto;
  max-height: 100%;
  display: block;
}

/* Shop nav button */
.nav-shop-btn {
  background: rgba(255,255,255,0.15) !important;
  border: 1px solid rgba(255,255,255,0.4) !important;
  border-radius: 6px !important;
  padding: 8px 20px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  margin-left: 12px !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-shop-btn:hover {
  background: rgba(255,255,255,0.3) !important;
}

.nav-shop-btn::after {
  display: none !important;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 14px;
}

.top-bar-right a { color: var(--gray-600); }
.top-bar-right a:hover { color: var(--red); }

/* ---- Navigation ---- */
.main-nav {
  background: var(--red);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.main-nav .container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 15px;
  padding: 16px 18px;
  letter-spacing: 0.3px;
  position: relative;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.15);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--white);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 8px;
  background: var(--white);
  min-width: 200px;
  width: max-content;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 1001;
  border-top: 3px solid var(--red);
}

.nav-dropdown:hover .dropdown-menu { display: block; }

/* Small arrow pointer above dropdown to anchor it visually to Locations */
.nav-dropdown .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 24px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--red);
}

.dropdown-menu a {
  color: var(--gray-700);
  padding: 12px 20px;
  display: block;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-100);
}

.dropdown-menu a:hover {
  background: var(--red);
  color: var(--white);
}

.dropdown-menu a::after { display: none; }

/* Mobile logo in nav (desktop hidden) */
.nav-mobile-logo {
  display: none;
}

/* Mobile Nav */
.mobile-toggle {
  display: none;
  background: none;
  color: var(--white);
  font-size: 28px;
  padding: 12px;
  position: absolute;
  right: 10px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--red);
  z-index: 2000;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}

.mobile-nav.open { display: flex; }

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.mobile-nav-close {
  background: none;
  color: var(--white);
  font-size: 32px;
}

.mobile-nav a {
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  display: block;
}

.mobile-nav .sub-link {
  padding-left: 20px;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.9;
}

/* ---- Hero Section ---- */
.hero {
  background: linear-gradient(135deg, rgba(139, 21, 21, 0.88) 0%, rgba(109, 16, 16, 0.92) 100%),
              url('/static/images/wash-barn-inside.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero .subtitle {
  font-size: 20px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--white);
  color: var(--red);
}

.btn-primary:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--red);
  transform: translateY(-2px);
}

.btn-tertiary {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-tertiary:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* Glowing yellow CTA for SMS Deals */
.btn-glow {
  background: #f5c518 !important;
  color: #1a1a1a !important;
  border: none !important;
  font-weight: 700 !important;
  animation: glow-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(245,197,24,0.4), 0 0 30px rgba(245,197,24,0.15);
}

.btn-glow:hover {
  background: #e6b800 !important;
  color: #1a1a1a !important;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(245,197,24,0.6), 0 0 50px rgba(245,197,24,0.2) !important;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(245,197,24,0.35), 0 0 24px rgba(245,197,24,0.1); }
  50% { box-shadow: 0 0 22px rgba(245,197,24,0.55), 0 0 44px rgba(245,197,24,0.2); }
}

/* ---- Popup / Lead Capture ---- */
.lead-popup-overlay {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 3000;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lead-popup-overlay.show {
  transform: translateY(0);
  opacity: 1;
}

.lead-popup {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.05);
  width: 360px;
  overflow: hidden;
}

.lead-popup-header {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 20px 24px;
  position: relative;
}

.lead-popup-header h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 4px;
}

.lead-popup-header p {
  font-size: 13px;
  opacity: 0.85;
  margin: 0;
}

.lead-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  color: var(--white);
  font-size: 20px;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 4px;
  line-height: 1;
}

.lead-popup-close:hover { opacity: 1; }

.lead-popup-body {
  padding: 20px 24px 24px;
}

.lead-popup-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--gray-200);
}

.lead-popup-tab {
  flex: 1;
  padding: 8px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  background: var(--white);
  color: var(--gray-500);
  transition: var(--transition);
  border: none;
}

.lead-popup-tab.active {
  background: var(--red);
  color: var(--white);
}

.lead-popup-tab:hover:not(.active) {
  background: var(--gray-50);
}

.lead-popup-pane {
  display: none;
}

.lead-popup-pane.active {
  display: block;
}

.lead-popup-body .form-input {
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 12px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  width: 100%;
}

.lead-popup-body .btn {
  width: 100%;
  padding: 12px;
  font-size: 15px;
}

.lead-popup-body .consent-text {
  color: var(--gray-400);
  font-size: 11px;
  margin-top: 8px;
  line-height: 1.4;
}

.lead-popup-body .consent-text a {
  color: var(--red);
}

.lead-popup-body .checkbox-group {
  margin-bottom: 12px;
}

.lead-popup-body .checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* Minimized state */
.lead-popup-minimized {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 3000;
  background: var(--red);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
  display: none;
  align-items: center;
  gap: 8px;
}

.lead-popup-minimized.show {
  display: flex;
}

.lead-popup-minimized:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  background: var(--red-dark);
}

@media (max-width: 768px) {
  .lead-popup-overlay {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
  }
  .lead-popup {
    width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .lead-popup-header {
    padding: 16px 20px;
  }
  .lead-popup-body {
    padding: 16px 20px 20px;
  }
  .lead-popup-minimized {
    bottom: 12px;
    right: 12px;
    font-size: 13px;
    padding: 12px 20px;
  }
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: #256b29;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}

.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
}

.btn-disabled {
  background: var(--gray-300);
  color: var(--gray-500);
  cursor: not-allowed;
  pointer-events: none;
}

.btn-sm { padding: 10px 24px; font-size: 14px; }
.btn-lg { padding: 18px 40px; font-size: 18px; }

/* ---- Sections ---- */
.section {
  padding: 80px 0;
}

.section-dark {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red-deeper) 100%);
  color: var(--white);
}

.section-dark h2 { color: var(--white); }

.section-light {
  background: var(--white);
}

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

.section-header h2 {
  font-size: 40px;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.8);
}

/* ---- Membership Cards ---- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.plan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border: 2px solid transparent;
}

/* Color stripe at top of each card — rounded to match card corners */
.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--tier-color, var(--red));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* ---- Tier: Basic (first card) — Cool slate blue ---- */
.plan-card:nth-child(1) {
  --tier-color: #475569;
  --tier-light: rgba(71, 85, 105, 0.08);
}
.plan-card:nth-child(1) .plan-price { color: #334155; }
.plan-card:nth-child(1) .btn-outline-red {
  border-color: #475569;
  color: #475569;
}
.plan-card:nth-child(1) .btn-outline-red:hover {
  background: #475569;
  color: var(--white);
}

/* ---- Tier: Unlimited (featured, red) — brand color ---- */
.plan-card.featured {
  --tier-color: var(--red);
  border-color: var(--red);
  transform: scale(1.05);
  z-index: 1;
  background: linear-gradient(180deg, rgba(183, 28, 28, 0.03) 0%, var(--white) 100%);
}

.plan-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.plan-card.featured::before {
  height: 8px;
}

/* ---- Tier: VIP (third card) — Premium gold ---- */
.plan-card:nth-child(3) {
  --tier-color: #c9961a;
  --tier-light: rgba(201, 150, 26, 0.08);
}
.plan-card:nth-child(3) .plan-price { color: #a67c0f; }
.plan-card:nth-child(3) .btn-outline-red {
  border-color: #c9961a;
  color: #a67c0f;
}
.plan-card:nth-child(3) .btn-outline-red:hover {
  background: #c9961a;
  color: var(--white);
}
.plan-card:nth-child(3)::after {
  content: '✦';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 22px;
  color: #c9961a;
  opacity: 0.5;
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(183, 28, 28, 0.3);
  z-index: 10;
  z-index: 2;
}

.plan-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-800);
  margin-top: 8px;
}

.plan-price {
  font-size: 48px;
  font-weight: 700;
  color: var(--red);
  margin: 16px 0;
  line-height: 1;
}

.plan-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-500);
}

.plan-features {
  margin: 24px 0;
  text-align: left;
}

.plan-features li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.plan-card .btn {
  width: 100%;
  margin-top: 8px;
}

/* Bundles section: 2-card layout centered */
#bundles .plans-grid {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  justify-content: center;
}
#bundles .plan-card:nth-child(1),
#bundles .plan-card:nth-child(2),
#bundles .plan-card:nth-child(3) {
  --tier-color: var(--red);
}
#bundles .plan-card:nth-child(1) .plan-price,
#bundles .plan-card:nth-child(2) .plan-price,
#bundles .plan-card:nth-child(3) .plan-price {
  color: var(--red);
}
#bundles .plan-card:nth-child(3)::after {
  content: none;
}
#bundles .plan-card::after { content: none; }
#bundles .plan-card::before { content: none; }

@media (max-width: 768px) {
  #bundles .plans-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* ---- Wash Pricing ---- */
.wash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.wash-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.wash-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.wash-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.wash-time {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.wash-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--red);
}

.wash-savings {
  display: inline-block;
  margin-top: 12px;
  background: rgba(46, 125, 50, 0.1);
  color: var(--green);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}

/* ---- Gift Cards ---- */
.gift-cards-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.gift-card-option {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: 24px 32px;
  text-align: center;
  transition: var(--transition);
  min-width: 160px;
  color: var(--white);
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.gift-card-option:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gift-card-amount {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
}

/* ---- App Section ---- */
.app-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.app-content h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.app-content p {
  font-size: 17px;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.app-badges {
  display: flex;
  gap: 16px;
}

.app-badges a img {
  height: 48px;
  width: auto;
}

.app-image {
  display: flex;
  justify-content: center;
}

.app-image img {
  max-width: 280px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* ---- Eco Badge Strip ---- */
.eco-strip {
  background: var(--white);
  padding: 40px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.eco-badges {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.eco-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-weight: 600;
  font-size: 16px;
}

.eco-badge .icon {
  width: 48px;
  height: 48px;
  background: rgba(46, 125, 50, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* ---- Locations ---- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.location-card-body {
  padding: 28px;
}

.location-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--red);
}

.location-detail {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--gray-600);
}

.location-detail .icon {
  color: var(--red);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.location-features {
  margin: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.location-tag {
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
}

.location-card .btn {
  width: 100%;
  margin-top: 8px;
}

/* ---- SMS / Email Signup ---- */
.signup-form {
  max-width: 520px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 16px;
  transition: var(--transition);
  background: var(--white);
}

.form-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(183, 28, 28, 0.1);
}

.section-dark .form-input {
  background: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.3);
}

.checkbox-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--red);
  cursor: pointer;
}

.consent-text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
}

.section-light .consent-text {
  color: var(--gray-500);
}

.consent-text a {
  text-decoration: underline;
  color: rgba(255,255,255,0.9);
}

.section-light .consent-text a {
  color: var(--red);
}

.signup-form .btn {
  width: 100%;
  margin-top: 8px;
}

/* ---- Email Signup (lighter) ---- */
.email-signup-section {
  background: var(--gray-50);
  padding: 60px 0;
}

.email-signup-row {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 20px auto 0;
}

.email-signup-row .form-input {
  flex: 1;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-800);
}

.faq-question:hover { background: var(--gray-50); }

.faq-question .toggle {
  font-size: 24px;
  color: var(--red);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question .toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ---- Stats ---- */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--red);
  font-family: 'Outfit', sans-serif;
}

.section-dark .stat-number { color: var(--white); }

.stat-label {
  font-size: 16px;
  color: var(--gray-500);
  margin-top: 4px;
}

.section-dark .stat-label { color: rgba(255,255,255,0.7); }

/* ---- Contact Form ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  background: rgba(183, 28, 28, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 15px;
  color: var(--gray-600);
}

.contact-info-item a {
  color: var(--red);
}

.contact-info-item a:hover {
  text-decoration: underline;
}

.contact-form .form-input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 16px;
  transition: var(--transition);
  background: var(--white);
  margin-bottom: 16px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
  font-family: 'Outfit', sans-serif;
}

.contact-form .form-input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(183, 28, 28, 0.1);
}

/* ---- Footer ---- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 60px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 18px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--red);
  color: var(--white);
}

.footer h4 {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: var(--gray-400);
  font-size: 14px;
  transition: var(--transition);
}

.footer ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer-bottom a {
  color: var(--gray-400);
}

.footer-bottom a:hover { color: var(--white); }

/* ---- Page Headers ---- */
.page-header {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 44px;
  color: var(--white);
  margin-bottom: 8px;
}

.page-header p {
  font-size: 18px;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Fleet Section ---- */
.fleet-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.fleet-feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.fleet-feature .icon {
  width: 64px;
  height: 64px;
  background: rgba(183, 28, 28, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: var(--red);
}

.fleet-feature h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.fleet-feature p {
  font-size: 14px;
  color: var(--gray-500);
}

/* ---- Story Timeline ---- */
.story-content {
  max-width: 800px;
  margin: 0 auto;
}

.story-content p {
  font-size: 17px;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.8;
}

.story-highlight {
  background: var(--white);
  border-left: 4px solid var(--red);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 30px 0;
  box-shadow: var(--shadow-sm);
}

.story-highlight p {
  font-size: 18px;
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: 0;
}

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

/* ---- Toast / Alert ---- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--green);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 5000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.error { background: var(--red); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .plans-grid, .wash-grid, .locations-grid, .fleet-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan-card.featured {
    transform: scale(1);
  }
  .plan-card.featured:hover {
    transform: translateY(-8px);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Top bar: hide entirely on mobile — logo moves into nav */
  .top-bar { display: none; }

  /* Main nav becomes the mobile header with logo */
  .main-nav .container {
    justify-content: space-between;
    padding: 6px 16px;
    min-height: 56px;
  }

  .nav-mobile-logo {
    display: flex;
    align-items: center;
  }

  .nav-mobile-logo img {
    height: 40px;
    width: auto;
  }

  .nav-links { display: none; }
  .mobile-toggle {
    display: block;
    position: static;
    padding: 8px 12px;
  }

  /* Hero */
  .hero { padding: 50px 0 70px; }
  .hero h1 { font-size: 32px; }
  .hero .subtitle { font-size: 16px; padding: 0 8px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }

  /* Sections */
  .section { padding: 50px 0; }
  .section-header h2 { font-size: 28px; }
  .section-header p { font-size: 16px; }
  .page-header { padding: 40px 0; }
  .page-header h1 { font-size: 30px; }
  .page-header p { font-size: 16px; }

  /* Grids → single column */
  .plans-grid, .wash-grid, .locations-grid, .fleet-features, .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* App section */
  .app-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .app-content h2 { font-size: 28px; }
  .app-badges { justify-content: center; }
  .app-image img { max-width: 220px; }

  /* Eco badges → vertical stack */
  .eco-badges {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  /* Email signup row → stack */
  .email-signup-row {
    flex-direction: column;
  }
  .email-signup-row .btn {
    width: 100%;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Footer */
  .footer { padding: 40px 0 24px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .footer-brand { text-align: center; }
  .footer-brand img { margin: 0 auto 16px; }
  .footer-social { justify-content: center; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Stats */
  .stats-row { gap: 24px; }
  .stat-number { font-size: 36px; }

  /* Gift cards → stay horizontal but shrink */
  .gift-cards-row { gap: 10px; }
  .gift-card-option { padding: 18px 20px; min-width: 90px; }
  .gift-card-amount { font-size: 28px; }

  /* Story */
  .story-highlight { padding: 18px 20px; }
  .story-content p { font-size: 15px; }

  /* FAQ */
  .faq-question { padding: 16px 18px; font-size: 15px; }
  .faq-answer-inner { padding: 0 18px 16px; font-size: 14px; }

  /* Toast → above popup */
  .toast {
    bottom: auto;
    top: 20px;
    right: 16px;
    left: 16px;
    text-align: center;
  }

  /* Mobile nav tweaks */
  .mobile-nav {
    padding: 16px;
  }
  .mobile-nav a {
    font-size: 17px;
    padding: 12px 0;
  }
}

/* ============================================================
   LOCATION SWITCHER — shown on individual location pages
   ============================================================ */
.location-switcher {
  background: #faf7f3;
  border-bottom: 1px solid #e5e0d8;
  padding: 8px 0;
}
.location-switcher-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.location-switcher-label {
  font-size: 11px;
  color: #6b6257;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 2px;
}
.location-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.4;
  transition: all 0.15s ease;
  white-space: nowrap;
  border: 1.5px solid var(--red);
  color: var(--red);
  background: #fff;
}
.location-switcher-btn:hover {
  background: var(--red);
  color: #fff;
}
.location-switcher-btn.active {
  background: var(--red);
  color: #fff;
}
.location-switcher-btn.active:hover {
  background: var(--red-dark);
  color: #fff;
}
.location-switcher-btn.active::before {
  content: "\f3c5";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
@media (max-width: 640px) {
  .location-switcher { padding: 6px 0; }
  .location-switcher-inner { gap: 5px; padding: 0 12px; }
  .location-switcher-label { width: 100%; text-align: center; margin-bottom: 2px; font-size: 10px; }
  .location-switcher-btn { padding: 3px 9px; font-size: 11.5px; gap: 4px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero .subtitle { font-size: 15px; }
  .container { padding: 0 16px; }
  .plan-card { padding: 28px 20px; }
  .section-header h2 { font-size: 24px; }
  .page-header h1 { font-size: 26px; }

  /* Signup forms full width */
  .signup-form { padding: 0 4px; }

  /* Location cards */
  .location-card-body { padding: 20px; }
  .location-card h3 { font-size: 18px; }

  /* Fleet features */
  .fleet-feature { padding: 24px 18px; }
}
