:root {
  --primary-color: #003366; /* deep navy */
  --secondary-color: #005f99; /* medium blue */
  --accent-color: #007acc; /* bright blue */
  --highlight-color: #eef007; /* yellow from the original site */
  --light-color: #f9f9fb;
  --dark-color: #222;
  --text-color: #333;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-color);
  background-color: var(--light-color);
  line-height: 1.6;
}

header {
  background-color: var(--primary-color);
  color: #fff;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  max-width: none;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding: 8px 20px;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

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

.logo-img {
  height: 58px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 0 96px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.nav-menu a:hover {
  opacity: 0.8;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
  background: transparent;
  border: 0;
  padding: 8px;
  line-height: 1;
}

/* Mobile Navigation */
@media (max-width: 1024px) {
  .nav-container {
    justify-content: space-between;
    min-height: 0;
  }

  .nav-logo {
    position: static;
    transform: none;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    background-color: var(--primary-color);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  }
  .nav-menu.show {
    display: flex;
  }
  .nav-menu a {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }
  .nav-toggle {
    display: block;
  }
}

/* Hero base styles */
.hero {
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  position: relative;
}

/* Default hero gradient for pages without a photo */
.hero:not(.hero-home):not(.hero-soft-cloth):not(.hero-gift-cards) {
  /* Default gradient background for hero sections that do not have a custom photo.
     Exclude heroes with custom images like gift cards so their own background
     images show through. */
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Homepage hero uses the downloaded hero photo with dark overlay */
/* Homepage hero with dynamic video background */
.hero-home {
  /* Remove static background image; video will fill the hero */
  background: none;
  position: relative;
  overflow: hidden;
}

/* Touchless and No‑Touch pages use dynamic video backgrounds too */
.hero-touchless,
.hero-no-touch {
  /* Remove static background image; video will fill the hero */
  background: none;
  position: relative;
  overflow: hidden;
}

/* Video fills the hero section on touchless and no‑touch pages */
.hero-touchless .hero-video,
.hero-no-touch .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Overlay provides dark tint for readability on touchless and no‑touch pages */
.hero-touchless .hero-overlay,
.hero-no-touch .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.62);
  z-index: -1;
}

/* Video fills the hero section */
.hero-home .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Overlay provides dark tint for readability */
.hero-home .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.62);
  z-index: -1;
}

/* All five service pages use full-bleed video heroes, so their hero background
   is cleared with !important to override the default tinted/gradient hero
   backgrounds defined earlier — letting the looping video show through. */
.hero-touchless,
.hero-no-touch,
.hero-soft-cloth,
.hero-self-serve,
.hero-laser {
  background: none;
  position: relative;
  overflow: hidden;
}

/* Video fills the hero section on soft cloth, self‑serve and laser pages */
.hero-soft-cloth .hero-video,
.hero-self-serve .hero-video,
.hero-laser .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Overlay provides dark tint for readability on soft cloth, self‑serve and laser pages */
.hero-soft-cloth .hero-overlay,
.hero-self-serve .hero-overlay,
.hero-laser .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.62);
  z-index: -1;
}

.hero-unlimited {
  background-image: linear-gradient(rgba(0, 80, 0, 0.6), rgba(0, 80, 0, 0.6)), url('images/wash.jpg');
  background-size: cover;
  background-position: center;
}

.hero-gift-cards {
  /* Use a carwash-themed gift card image as the hero background. Apply a dark overlay
     for contrast. The image shows our branded gift card with a car wash in the
     background and ties the hero section into the gifting theme. */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/gift-card-custom.png');
  background-size: cover;
  background-position: center;
}

/* CTA buttons */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta-buttons a {
  background-color: var(--accent-color);
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-buttons a:hover {
  background-color: var(--secondary-color);
}

.hero-cta {
  align-items: center;
  gap: 10px;
}

.hero-cta a {
  border: 2px solid transparent;
}

.hero-cta .cta-primary {
  color: var(--primary-color);
  background: var(--highlight-color);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.hero-cta .cta-primary:hover {
  color: var(--primary-color);
  background: #ffff50;
}

.hero-cta .cta-secondary {
  color: #fff;
  background: var(--accent-color);
}

.hero-cta .cta-tertiary {
  color: #fff;
  background: rgba(0, 51, 102, 0.72);
  border-color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 640px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-cta a {
    width: 100%;
  }
}

/* Generic sections */
.section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.app-download-section {
  max-width: none;
  background: #eef7ff;
}

.app-download-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: center;
  text-align: left;
}

.app-download-copy h2 {
  text-align: left;
  margin-top: 0;
}

.app-download-eyebrow {
  margin: 0 0 6px;
  color: var(--secondary-color);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-download-copy .section-intro {
  margin-left: 0;
  margin-right: 0;
}

.app-download-note {
  max-width: 680px;
  margin: 14px 0 0;
  color: #4b5563;
  font-size: 0.94rem;
}

.app-cta-primary,
.app-cta-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-cta-primary {
  background: var(--primary-color) !important;
  box-shadow: 0 8px 18px rgba(0, 51, 102, 0.18);
}

.app-cta-primary:hover,
.app-cta-primary:focus-visible {
  background: var(--secondary-color) !important;
}

.app-cta-secondary {
  color: var(--primary-color) !important;
  background: #fff !important;
  border: 2px solid var(--primary-color);
}

.app-cta-secondary:hover,
.app-cta-secondary:focus-visible {
  color: var(--primary-color) !important;
  background: #f7fbff !important;
}

.promo-pill,
.promo-callout {
  display: inline-block;
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--primary-color);
  background: var(--highlight-color);
  font-weight: 800;
}

.promo-callout {
  border-radius: 6px;
  line-height: 1.35;
}

.promo-callout.centered {
  margin: 0 auto 30px;
}

.promo-banner {
  margin-top: 28px;
  margin-bottom: 12px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  box-shadow: 0 10px 28px rgba(0, 51, 102, 0.18);
}

.promo-banner h2,
.promo-banner p {
  color: inherit;
}

.promo-eyebrow {
  margin-bottom: 6px;
  color: var(--highlight-color) !important;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-disclaimer {
  max-width: 820px;
  margin: 12px auto 0;
  font-size: 0.92rem;
  opacity: 0.92;
}

.app-download-buttons {
  justify-content: flex-start;
}


.app-download-qr {
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 51, 102, 0.12);
}

.app-download-qr-label {
  margin: 0 0 10px;
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 800;
}

.app-download-qr img {
  width: min(100%, 224px);
  height: min(70vw, 224px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.app-download-qr p {
  margin: 10px 0 0;
  color: var(--primary-color);
  font-weight: bold;
}

.app-download-qr a {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent-color);
  font-size: 0.92rem;
  font-weight: bold;
  text-decoration: none;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.policy-page {
  text-align: left;
}

.policy-page h2 {
  color: var(--primary-color);
  margin: 26px 0 8px;
}

.policy-page a {
  color: var(--accent-color);
  font-weight: bold;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex: 1 1 260px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Thumbnail images for cards on the home page */
.card-image {
  /* Add 40px to the width to span both -20px side margins so the thumbnail
     reaches both card edges instead of stopping short on the right. */
  width: calc(100% + 40px);
  height: 160px;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
  margin: -20px -20px 10px -20px;
}

/* Video thumbnails for cards on the home page. They match the sizing of .card-image and remain paused until hovered. */
.card-video {
  /* calc(100% + 40px) compensates for the -20px left/right margins so the
     video fills the full card width and stays centered (was 40px short). */
  width: calc(100% + 40px);
  height: 160px;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
  margin: -20px -20px 10px -20px;
  display: block;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: var(--primary-color);
}

.card p {
  flex-grow: 1;
  margin-bottom: 15px;
}

.card .card-buttons {
  margin-top: 10px;
}

.card-buttons a {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.card-buttons a:hover {
  background-color: var(--accent-color);
}


/* Accessibility: visible keyboard focus and reduced-motion support */
a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--highlight-color);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(0, 51, 102, 0.35);
}

.nav-menu a:focus-visible,
.footer a:focus-visible,
.bottom-cta a:focus-visible {
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .hero-video,
  .card-video {
    animation: none !important;
  }
}

/* Footer styles */
.footer {
  background-color: var(--dark-color);
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.9rem;
}

.footer a {
  color: var(--accent-color);
  text-decoration: none;
}

.footer .locations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer .location {
  max-width: 260px;
  text-align: left;
}

.footer .location h4 {
  margin: 0 0 5px;
  font-size: 1rem;
  color: var(--accent-color);
}

.footer .location p {
  margin: 2px 0;
  line-height: 1.4;
}


.footer .social-links {
  margin: 8px 0 6px;
}

.footer .social-links a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer .social-links span {
  display: inline-block;
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.65);
}

/* Bottom CTA bar visible on mobile */
.bottom-cta {
  display: none;
}

@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: stretch;
  }
  .app-download-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .app-download-copy h2 {
    text-align: center;
  }
  .app-download-copy .section-intro {
    margin-left: auto;
    margin-right: auto;
  }
  .app-download-buttons {
    justify-content: center;
  }
  .bottom-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    justify-content: space-around;
    z-index: 1000;
  }
  .bottom-cta a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
  }
}

.gift-card-error {
  max-width: 520px;
  margin: 12px auto 0;
  padding: 12px 14px;
  border: 2px solid #b31319;
  border-radius: 6px;
  color: #7a0c10;
  background: #fff1f1;
  font-weight: 800;
}

.gift-card-error[hidden] {
  display: none;
}

@media (max-width: 768px) {
  body.gift-cards-page {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
}

/* Keyframes for animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Utility animation classes */
.animate-fade-in {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.animate-slide-in {
  animation: slideInLeft 0.8s ease forwards;
  opacity: 0;
}

/* Featured image style for internal pages */
.featured-image {
  max-width: 400px;
  width: min(100%, 400px);
  height: auto;
  border-radius: 6px;
  margin: 20px auto;
  display: block;
}

/* Membership plan cards */
.membership-plans .plans-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.plan {
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex: 1 1 240px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  position: relative;
}

.plan h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.plan-price {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 12px;
  color: var(--dark-color);
}

.plan ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0 0 16px;
}

.plan ul li {
  margin-bottom: 6px;
}

.plan-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.plan-button:hover {
  background-color: var(--secondary-color);
}

/* Pricing cards for location‑specific wash packages */
.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

/* Individual pricing card */
/* Base styling for individual pricing cards */
.pricing-card {
  border-radius: 8px;
  padding: 20px;
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover animation for pricing cards */
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Color themes for location pricing cards
   These classes apply solid background colours inspired by the physical signage at the wash locations.
   Text colours are adjusted for legibility. */
.pricing-card.supreme {
  background-color: #1c9a3f; /* rich green */
  color: #fff;
}

.pricing-card.super {
  background-color: #055c9c; /* deep blue */
  color: #fff;
}

.pricing-card.express {
  background-color: #c5c5c5; /* light silver */
  color: #000;
}

.pricing-card.basic {
  background-color: #d4a053; /* warm gold */
  color: #fff;
}

.pricing-card.ultimate {
  background-color: #69337a; /* royal purple for Ultimate package */
  color: #fff;
}

/* Headings inside pricing cards inherit the card's text colour */
.pricing-card h3 {
  margin: 0 0 10px 0;
  font-size: 1.25rem;
  color: inherit;
  text-align: center;
}

.pricing-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.4;
}

.pricing-card li {
  margin-bottom: 6px;
}

/* Price label inherits the card's text colour */
.pricing-card .price {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: inherit;
}

/* Color variations for each plan.
   Membership plan tier colors are defined further down using gradient
   backgrounds (the .plan-supreme / .plan-super / .plan-express / .plan-basic /
   .plan-ultimate rules with !important). The earlier photographic-background
   versions were removed because those gradients fully override them. */


/* === Animated video hero updates for Gift Cards and Unlimited Club === */
.video-hero {
  background: none;
  position: relative;
  overflow: hidden;
}

.video-hero .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.video-hero .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.52);
  z-index: -1;
}

.hero-gift-cards.video-hero,
.hero-unlimited.video-hero {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Ensure deployed hero videos sit above the hero background but below the overlay/text.
   This fixes non-home/non-gift headers where videos loaded but were hidden behind
   gradient backgrounds because of negative z-index stacking. */
.hero.hero-touchless,
.hero.hero-no-touch,
.hero.hero-soft-cloth,
.hero.hero-self-serve,
.hero.hero-laser,
.hero.video-hero {
  background: none;
  isolation: isolate;
  overflow: hidden;
}

.hero .hero-video,
.video-hero .hero-video {
  z-index: 0;
}

.hero .hero-overlay,
.video-hero .hero-overlay {
  z-index: 1;
  pointer-events: none;
}

.hero > h1,
.hero > p,
.hero > .cta-buttons {
  position: relative;
  z-index: 2;
}

/* Center and polish the gift card purchase workflow */
.gift-card-selector {
  max-width: 420px;
  margin: 0 auto 24px;
  text-align: left;
}

.gift-card-selector label {
  display: block;
  margin-bottom: 8px;
}

.gift-card-selector select {
  display: block;
  width: 100%;
  padding: 12px 14px;
  margin-top: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
}

.gift-card-selector .btn-submit {
  display: block;
  margin: 16px auto 0;
  padding: 12px 24px;
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.gift-card-selector .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 122, 204, 0.28);
  background-color: var(--secondary-color);
}

/* Unlimited Club plan animations and signage-inspired colors */
.membership-plans .plan {
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  border-radius: 14px;
  overflow: hidden;
}

.membership-plans .plan:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
  filter: saturate(1.05);
}

.plan-supreme {
  background: linear-gradient(135deg, #0d6b2d 0%, #127a35 100%);
  border-top: 6px solid #0b6428;
}

.plan-super {
  background: linear-gradient(135deg, #064b8f 0%, #1268b3 100%);
  border-top: 6px solid #033766;
}

.plan-express {
  background: linear-gradient(135deg, #4f5b69 0%, #667486 100%);
  color: #fff;
  border-top: 6px solid #46515f;
}

.plan-basic {
  background: linear-gradient(135deg, #c47a28 0%, #e5a85a 100%);
  border-top: 6px solid #9a5a15;
}

.plan-ultimate {
  background: linear-gradient(135deg, #4c1f60 0%, #7b3394 52%, #9a58b5 100%);
  border-top: 6px solid #341044;
}

.plan-ultimate,
.plan-supreme,
.plan-super,
.plan-express {
  color: #fff;
}

.plan-basic {
  color: #222;
}

.plan-ultimate h3,
.plan-ultimate .plan-price,
.plan-supreme h3,
.plan-supreme .plan-price,
.plan-super h3,
.plan-super .plan-price,
.plan-express h3,
.plan-express .plan-price {
  color: #fff;
}

.plan-basic h3,
.plan-basic .plan-price {
  color: #222;
}

.plan .plan-price {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 8px 0 12px;
}

.plan-button {
  margin-top: auto;
  display: inline-block;
  text-align: center;
}


/* === SEO and mobile polish === */
.section-intro { max-width: 760px; margin: 0 auto 24px; color: #555; }
.service-badges, .service-highlights { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin:10px 0 14px; }
.service-badges span, .service-highlights span { background: var(--highlight-color); color: #111; border-radius: 999px; padding: 5px 10px; font-size: .82rem; font-weight: 700; }
.location-grid, .review-grid, .terms-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:20px; max-width:1100px; margin:0 auto; }
.location-card, .review-card, .terms-grid > div { background:#fff; border-radius:14px; box-shadow:0 8px 22px rgba(0,0,0,.08); padding:22px; text-align:left; }
.review-card { text-align:center; }
.stars { color:#f7b801; font-size:1.35rem; letter-spacing:2px; margin-bottom:8px; }
.faq-list { max-width:900px; margin:0 auto; text-align:left; }
.faq-list details { background:#fff; border-radius:12px; padding:16px 18px; margin:12px 0; box-shadow:0 4px 14px rgba(0,0,0,.07); }
.faq-list summary { cursor:pointer; font-weight:700; color:var(--primary-color); }
.faq-list p { margin-bottom:0; }
.featured-plans { padding-top:48px; }
.terms-highlight { background:#eef7ff; }
.terms-grid strong { color:var(--primary-color); }
.check-list { max-width:720px; margin:0 auto; text-align:left; }
.check-list li { margin:8px 0; }
.quick-action-row { background:#f0f8ff; }
.quick-action-row .cta-buttons { margin-top:10px; }
/* Safety cap so embedded media never overflows — but exclude the card
   thumbnail (.card-video), which intentionally uses calc(100% + 40px) to
   span the card's negative side margins and stay centered/full-bleed. */
.card video:not(.card-video), .hero video { max-width:100%; }
@media (max-width: 768px) {
  .hero { padding: 58px 18px; }
  .hero h1 { font-size: 2rem; }
  .cta-buttons { display:flex; flex-direction:column; gap:10px; align-items:center; }
  .cta-buttons a { width: min(100%, 320px); }
  .location-card, .review-card, .terms-grid > div { padding:18px; }
  .bottom-cta { font-size:.9rem; }
  .membership-plans .plans-container { grid-template-columns: 1fr; }
}


/* === Market analysis conversion fixes: homepage value strip, chooser, neutral proof, Unlimited math === */
.value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: -28px auto 18px;
  padding: 0 20px;
  position: relative;
  z-index: 3;
}

.value-strip-item,
.chooser-card,
.proof-card,
.break-even-grid article {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0, 51, 102, 0.13);
  padding: 18px;
}

.value-strip-item {
  border-top: 5px solid var(--highlight-color);
  text-align: center;
}

/* Keep the fifth value callout centered beneath the four-card desktop row. */
.value-strip > .value-strip-item:nth-child(5) {
  grid-column: 2 / span 2;
  justify-self: center;
  width: calc((100% - 14px) / 2);
}

.value-strip-item strong,
.chooser-card strong,
.proof-card strong,
.break-even-grid strong {
  display: block;
  color: var(--primary-color);
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.value-strip-item span,
.chooser-card span,
.proof-card span {
  color: #4b5563;
  font-size: 0.95rem;
}

.wash-chooser {
  background: #eef7ff;
  border-radius: 16px;
  margin-top: 34px;
  margin-bottom: 12px;
}

.chooser-grid,
.proof-grid,
.break-even-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.chooser-card {
  text-align: left;
  border-left: 5px solid var(--accent-color);
}

.chooser-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-color);
  font-weight: 800;
  text-decoration: none;
}

.chooser-card a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.proof-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.proof-card {
  text-align: center;
}

.unlimited-value {
  background: #fffdf1;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 51, 102, 0.08);
}

.promo-eyebrow.dark,
.offer-disclaimer.dark {
  color: var(--primary-color) !important;
}

.break-even-grid article {
  border-top: 5px solid var(--accent-color);
  text-align: center;
}

.break-even-grid span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--highlight-color);
  color: var(--primary-color);
  font-weight: 800;
}

.break-even-grid p {
  margin: 0;
  color: #4b5563;
}

@media (max-width: 900px) {
  .value-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
  }

  .value-strip > .value-strip-item:nth-child(5) {
    grid-column: 1 / -1;
    width: calc((100% - 14px) / 2);
  }
}

@media (max-width: 560px) {
  .value-strip {
    grid-template-columns: 1fr;
  }

  .value-strip > .value-strip-item:nth-child(5) {
    grid-column: auto;
    width: 100%;
  }

  .wash-chooser,
  .unlimited-value {
    border-radius: 0;
  }
}


/* Owner readability update: Unlimited Club colored plan cards. */
/* Darker brand tones plus white benefit text meet readable contrast targets. */
.featured-plans .plan-ultimate {
  background: linear-gradient(135deg, #341044 0%, #5b2377 100%);
  border-top-color: #21082d;
}

.featured-plans .plan-super {
  background: linear-gradient(135deg, #063a70 0%, #07579f 100%);
  border-top-color: #03284f;
}

.featured-plans .plan-ultimate ul,
.featured-plans .plan-super ul {
  color: #fff;
}

.featured-plans .plan-ultimate .plan-button,
.featured-plans .plan-super .plan-button {
  background-color: #fff;
  color: #003366;
  border: 2px solid #fff;
}

.featured-plans .plan-ultimate .plan-button:hover,
.featured-plans .plan-ultimate .plan-button:focus-visible,
.featured-plans .plan-super .plan-button:hover,
.featured-plans .plan-super .plan-button:focus-visible {
  background-color: #eef007;
  border-color: #eef007;
  color: #00264d;
}

/* Unlimited Club package clarity: preserve the current site while making
   location differences explicit and accessible. */
.membership-clarity {
  max-width: 1100px;
  margin: 34px auto 12px;
  border-left: 8px solid #b31319;
  border-radius: 14px;
  background: #191919;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.membership-clarity h2,
.membership-clarity p {
  color: #fff;
}

.membership-clarity .promo-eyebrow,
.membership-clarity .clarity-note {
  color: #eef007;
}

.plan-subtitle {
  min-height: 3.2em;
  margin: 0 0 12px;
  font-weight: 700;
}

.featured-plans .plan-ultimate .plan-subtitle,
.featured-plans .plan-supreme .plan-subtitle,
.featured-plans .plan-super .plan-subtitle,
.featured-plans .plan-express .plan-subtitle {
  color: #fff;
}

.featured-plans .plan-basic .plan-subtitle {
  color: #222;
}

.package-comparison {
  background: #fffdf1;
}

.package-matrix-scroll {
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
  -webkit-overflow-scrolling: touch;
}

.package-matrix-scroll:focus-visible {
  outline: 3px solid #b31319;
  outline-offset: 3px;
}

.package-matrix {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  text-align: left;
}

.package-matrix th,
.package-matrix td {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

.package-matrix thead th {
  background: #191919;
  color: #fff;
}

.package-matrix tbody th {
  width: 18%;
  background: #fffbea;
}

.package-matrix tbody th a {
  display: block;
  color: #8f0f14;
  font-weight: 800;
}

.package-matrix tbody th span {
  display: block;
  margin-top: 4px;
  color: #4b5563;
  font-size: 0.9rem;
}

.package-matrix strong {
  color: #8f0f14;
}

.matrix-help {
  margin: 10px auto 0;
  color: #4b5563;
  font-size: 0.9rem;
}

@media (min-width: 861px) {
  .matrix-help { display: none; }
}

@media (max-width: 560px) {
  .membership-clarity { border-radius: 0; }
  .plan-subtitle { min-height: 0; }
}


/* V12 CSP hardening: replace inline presentation with named classes. */
.animate-fade-in.delay-300 { animation-delay: 0.3s; }
.animate-fade-in.delay-600 { animation-delay: 0.6s; }
.gift-card-output { margin-top: 10px; font-weight: bold; }
.self-serve-benefits { text-align: left; max-width: 800px; margin: 0 auto 20px; }
.membership-intro { max-width: 800px; margin: 0 auto 12px; }

/* V11 404 page styles moved out of inline markup for CSP compliance. */
body.not-found-page {
  color-scheme: light;
  --not-found-red: #d71920;
  --not-found-yellow: #ffd400;
  --not-found-ink: #111;
  --not-found-paper: #fff;
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: var(--not-found-paper);
  color: var(--not-found-ink);
  font: 16px/1.5 Arial, Helvetica, sans-serif;
}
.not-found-card {
  width: min(100%, 42rem);
  text-align: center;
  border: 4px solid var(--not-found-ink);
  padding: clamp(2rem, 8vw, 5rem) clamp(1.25rem, 6vw, 4rem);
  box-shadow: 10px 10px 0 var(--not-found-red);
}
.not-found-mark {
  display: inline-block;
  margin: 0 0 1rem;
  padding: .35rem .65rem;
  background: var(--not-found-yellow);
  border: 3px solid var(--not-found-ink);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.not-found-title {
  margin: 0;
  font-size: clamp(2.25rem, 9vw, 4.75rem);
  line-height: .95;
  text-transform: uppercase;
}
.not-found-copy {
  margin: 1.25rem auto 2rem;
  max-width: 30rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.not-found-link {
  display: inline-block;
  padding: .8rem 1.2rem;
  background: var(--not-found-red);
  color: #fff;
  border: 3px solid var(--not-found-ink);
  font-weight: 800;
  text-decoration: none;
}
.not-found-link:hover,
.not-found-link:focus-visible {
  background: var(--not-found-ink);
  outline: 3px solid var(--not-found-yellow);
  outline-offset: 3px;
}
