/* MR. HAND CAR WASH: the page is a pool.
   Sky and sunlight above the waterline, deepening blues below, tiled floor at the bottom. */

:root {
  --sky-top: #cdefff;
  --sky-low: #eefaff;
  --surface: #17b3e8;
  --surface-light: #5ed0f5;
  --mid: #0b6fc9;
  --deep: #0b4fa8;
  --deeper: #06336e;
  --floor: #052247;
  --foam: #f4fcff;
  --foam-dim: #bfe9ff;
  --ink: #06336e;
  --sun: #ffc93c;
  --sun-deep: #b8860e;
  --coral: #ff7a45;
  --radius: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sky-top);
}

::selection { background: var(--sun); color: var(--deeper); }

h1, h2, h3 {
  font-family: "Baloo 2", "Nunito", sans-serif;
  line-height: 1.08;
  text-wrap: balance;
}

img, svg { max-width: 100%; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--sun);
  color: var(--deeper);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  z-index: 99;
}
.skip-link:focus { left: 8px; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(20px, 5vw, 56px);
  background: color-mix(in srgb, var(--sky-top) 82%, white);
  backdrop-filter: blur(8px);
  transition: background 0.5s, color 0.5s;
}

/* once the visitor is underwater, the bar goes wet */
.topbar.is-wet {
  background: rgba(11, 79, 168, 0.78);
  color: var(--foam);
}
.topbar.is-wet .topnav a:hover { border-bottom-color: var(--sun); }
.topbar.is-wet .topbar-call { background: var(--sun); color: var(--deeper); }

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  margin-right: auto;
}

.wordmark-mitt { width: 34px; height: 34px; }

.topnav { display: flex; gap: 22px; }

.topnav a {
  text-decoration: none;
  font-weight: 700;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s;
}
.topnav a:hover { border-bottom-color: var(--surface); }

.topbar-call {
  background: var(--deep);
  color: var(--foam);
  text-decoration: none;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 999px;
  transition: transform 0.15s, background 0.2s;
}
.topbar-call:hover { background: var(--mid); transform: translateY(-2px); }

/* ---------- hero: above the water ---------- */

.hero {
  position: relative;
  background: linear-gradient(var(--sky-top), var(--sky-low) 70%);
  padding: clamp(40px, 7vw, 90px) 0 0;
  overflow: hidden;
}

.sun {
  position: absolute;
  top: -110px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sun) 38%, rgba(255, 201, 60, 0.35) 62%, transparent 72%);
  animation: sunPulse 7s ease-in-out infinite;
}

.sun::before {
  content: "";
  position: absolute;
  inset: -70%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 201, 60, 0.22) 0deg 9deg, transparent 9deg 24deg);
  -webkit-mask: radial-gradient(circle, transparent 28%, #000 32%, #000 58%, transparent 66%);
  mask: radial-gradient(circle, transparent 28%, #000 32%, #000 58%, transparent 66%);
  animation: sunRays 48s linear infinite;
}

@keyframes sunPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes sunRays {
  to { transform: rotate(360deg); }
}

.clouds {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cloud {
  position: absolute;
  opacity: 0.85;
  filter: drop-shadow(0 6px 10px rgba(11, 111, 201, 0.12));
  animation: cloudDrift linear infinite;
}

.cloud-1 { top: 8%; width: 220px; animation-duration: 95s; animation-delay: -30s; }
.cloud-2 { top: 42%; width: 140px; opacity: 0.6; animation-duration: 120s; animation-delay: -80s; }
.cloud-3 { top: 22%; width: 90px; opacity: 0.5; animation-duration: 75s; animation-delay: -10s; }

@keyframes cloudDrift {
  from { transform: translateX(-260px); left: 0; }
  to { transform: translateX(260px); left: 100%; }
}

/* page-load sequence: hero copy surfaces, car drives in */
.hero-inner > * {
  animation: surface 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-inner > :nth-child(2) { animation-delay: 0.12s; }
.hero-inner > :nth-child(3) { animation-delay: 0.24s; }
.hero-inner > :nth-child(4) { animation-delay: 0.36s; }

@keyframes surface {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 800;
  color: var(--deeper);
  max-width: 14ch;
}

.hero-promise {
  margin-top: 20px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 46ch;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  text-decoration: none;
  padding: 14px 30px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.btn-sun {
  background: var(--sun);
  color: var(--deeper);
  box-shadow: 0 6px 18px rgba(184, 134, 14, 0.35);
}
.btn-sun:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(184, 134, 14, 0.4); }
.btn-sun:active { transform: translateY(1px) scale(0.98); box-shadow: 0 3px 8px rgba(184, 134, 14, 0.35); }

.btn-deep {
  background: var(--deep);
  color: var(--foam);
  box-shadow: 0 6px 18px rgba(6, 51, 110, 0.3);
}
.btn-deep:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(6, 51, 110, 0.35); }
.btn-deep:active { transform: translateY(1px) scale(0.98); }

.hero-note {
  margin-top: 18px;
  font-weight: 700;
  color: var(--mid);
}

.waterline-stage {
  position: relative;
  max-width: 1080px;
  margin: 10px auto -64px;
  z-index: 0;
  animation: driveIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

@keyframes driveIn {
  from { transform: translateX(-60vw); }
  to { transform: none; }
}

.foam-car {
  display: block;
  width: min(520px, 78vw);
  margin-left: auto;
  margin-right: clamp(16px, 6vw, 90px);
  overflow: visible;
  animation: bob 4.5s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50% { transform: translateY(-12px) rotate(0.8deg); }
}

.spray circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: spray 2.6s ease-out infinite;
  opacity: 0;
}
.spray-1 { animation-delay: 0s; }
.spray-2 { animation-delay: 0.7s; }
.spray-3 { animation-delay: 1.3s; }
.spray-4 { animation-delay: 1.9s; }
.spray-5 { animation-delay: 0.4s; }

@keyframes spray {
  0% { transform: translate(0, 0) scale(0.4); opacity: 0; }
  15% { opacity: 0.95; }
  100% { transform: translate(18px, -70px) scale(1.2); opacity: 0; }
}

.waterline {
  position: relative;
  height: 90px;
  margin-bottom: -1px;
  z-index: 1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 91' preserveAspectRatio='none'%3E%3Cpath d='M0 46 Q360 91 720 46 Q1080 1 1440 46 V91 H0 Z' fill='%2317b3e8'/%3E%3Cpath d='M0 64 Q360 109 720 64 Q1080 19 1440 64 V91 H0 Z' fill='%230b6fc9'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1100 91' preserveAspectRatio='none'%3E%3Cpath d='M0 38 Q275 76 550 38 Q825 0 1100 38 V91 H0 Z' fill='%235ed0f5' fill-opacity='0.75'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 1440px 91px, 1100px 91px;
  background-position: 0 bottom, 260px bottom;
  animation: waveShift 14s linear infinite;
}

@keyframes waveShift {
  to { background-position: -1440px bottom, calc(260px + 1100px) bottom; }
}

/* ---------- the pool ---------- */

.pool {
  position: relative;
  background: linear-gradient(var(--mid) 0%, var(--deep) 52%, var(--deeper) 100%);
  color: var(--foam);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 56px) clamp(60px, 8vw, 110px);
  overflow: hidden;
}

/* caustic light dancing just under the surface */
.pool::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 70vh;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 120px 60px at 50% 50%, rgba(255,255,255,0.28), transparent 70%),
    radial-gradient(ellipse 90px 45px at 50% 50%, rgba(255,255,255,0.22), transparent 70%);
  background-size: 260px 140px, 190px 110px;
  background-position: 0 0, 90px 40px;
  mix-blend-mode: soft-light;
  -webkit-mask-image: linear-gradient(#000 0%, rgba(0,0,0,0.5) 45%, transparent 100%);
  mask-image: linear-gradient(#000 0%, rgba(0,0,0,0.5) 45%, transparent 100%);
  animation: caustics 22s linear infinite;
}

@keyframes caustics {
  from { background-position: 0 0, 90px 40px; }
  to { background-position: 260px 140px, -100px 150px; }
}

.pool h2 {
  position: relative;
  display: inline-block;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--foam);
  margin-bottom: clamp(28px, 4vw, 48px);
  padding-bottom: 14px;
}

.pool h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 140px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 6 Q10 0 20 6 T40 6' fill='none' stroke='%23ffc93c' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x;
  background-size: 40px 12px;
  animation: squiggle 2.4s linear infinite;
}

@keyframes squiggle {
  to { background-position: 40px 0; }
}

/* shafts of light angling down from the surface */
.rays {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80vh;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 0%, transparent 100%);
  mask-image: linear-gradient(#000 0%, transparent 100%);
}

.rays span {
  position: absolute;
  top: -40%;
  width: 90px;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18) 35%, rgba(255,255,255,0.18) 65%, transparent);
  filter: blur(6px);
  transform-origin: top center;
  animation: sway 9s ease-in-out infinite alternate;
}

.rays span:nth-child(1) { left: 8%; transform: rotate(14deg); width: 140px; animation-duration: 11s; }
.rays span:nth-child(2) { left: 30%; transform: rotate(10deg); animation-delay: -3s; }
.rays span:nth-child(3) { left: 50%; transform: rotate(16deg); width: 200px; animation-duration: 13s; animation-delay: -6s; }
.rays span:nth-child(4) { left: 70%; transform: rotate(9deg); width: 60px; animation-delay: -1s; }
.rays span:nth-child(5) { left: 86%; transform: rotate(15deg); width: 120px; animation-duration: 10s; animation-delay: -8s; }

@keyframes sway {
  from { translate: -18px 0; opacity: 0.55; }
  to { translate: 18px 0; opacity: 1; }
}

.bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bubbles span {
  position: absolute;
  bottom: -60px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,0.85), rgba(255,255,255,0.12) 60%);
  box-shadow: inset -2px -2px 4px rgba(255,255,255,0.35);
  animation: rise 14s linear infinite;
}

.bubbles span:nth-child(1) { left: 6%; animation-duration: 16s; }
.bubbles span:nth-child(2) { left: 15%; width: 12px; height: 12px; animation-delay: 3s; }
.bubbles span:nth-child(3) { left: 27%; width: 30px; height: 30px; animation-delay: 7s; animation-duration: 19s; }
.bubbles span:nth-child(4) { left: 38%; width: 10px; height: 10px; animation-delay: 1s; }
.bubbles span:nth-child(5) { left: 52%; animation-delay: 9s; animation-duration: 17s; }
.bubbles span:nth-child(6) { left: 61%; width: 14px; height: 14px; animation-delay: 5s; }
.bubbles span:nth-child(7) { left: 72%; width: 26px; height: 26px; animation-delay: 11s; animation-duration: 21s; }
.bubbles span:nth-child(8) { left: 81%; width: 12px; height: 12px; animation-delay: 2s; }
.bubbles span:nth-child(9) { left: 90%; animation-delay: 8s; animation-duration: 15s; }
.bubbles span:nth-child(10) { left: 96%; width: 16px; height: 16px; animation-delay: 12s; }
/* far bubbles: smaller, softer, slower */
.bubbles span:nth-child(n+11) { filter: blur(1.5px); opacity: 0.7; }
.bubbles span:nth-child(11) { left: 11%; width: 8px; height: 8px; animation-delay: 4s; animation-duration: 26s; }
.bubbles span:nth-child(12) { left: 33%; width: 6px; height: 6px; animation-delay: 13s; animation-duration: 24s; }
.bubbles span:nth-child(13) { left: 46%; width: 9px; height: 9px; animation-delay: 6s; animation-duration: 28s; }
.bubbles span:nth-child(14) { left: 66%; width: 7px; height: 7px; animation-delay: 15s; animation-duration: 25s; }
.bubbles span:nth-child(15) { left: 78%; width: 8px; height: 8px; animation-delay: 10s; animation-duration: 27s; }
.bubbles span:nth-child(16) { left: 93%; width: 6px; height: 6px; animation-delay: 0s; animation-duration: 23s; }

@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  8% { opacity: 1; }
  25% { transform: translateY(-28vh) translateX(-10px); }
  50% { transform: translateY(-55vh) translateX(14px); }
  75% { transform: translateY(-82vh) translateX(-8px); }
  100% { transform: translateY(-110vh) translateX(6px); opacity: 0; }
}

/* click ripples in the water (added by main.js) */
.ripple {
  position: absolute;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(244, 252, 255, 0.85);
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  animation: rippleOut 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ripple.ripple-2 { animation-delay: 0.15s; animation-duration: 1.1s; }

@keyframes rippleOut {
  from { transform: scale(0.2); opacity: 0.9; }
  to { transform: scale(14); opacity: 0; }
}

/* ---------- services: depth bands, no boxes ---------- */

.services, .ways, .why, .book {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.service {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(22px, 3vw, 36px) 0;
}

.service + .service { border-top: 1px solid rgba(244, 252, 255, 0.22); }

.service-flip { flex-direction: row-reverse; }

.service-icon {
  width: clamp(72px, 9vw, 110px);
  height: auto;
  flex-shrink: 0;
  color: var(--foam-dim);
  transition: color 0.3s;
}

.service:hover .service-icon {
  color: var(--foam);
  animation: wiggle 0.7s ease-in-out;
}

.lane:hover .lane-icon { animation: hop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-7deg) scale(1.06); }
  60% { transform: rotate(6deg) scale(1.06); }
}

@keyframes hop {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-12px); }
}

.service-copy h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.service-copy p { max-width: 58ch; color: var(--foam); }

.service-price {
  margin-top: 10px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--sun) !important;
}

/* ---------- two lanes ---------- */

.ways { margin-top: clamp(56px, 8vw, 110px); }

.ways-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
}

.lane-icon {
  width: 64px;
  height: 64px;
  color: var(--sun);
  margin-bottom: 14px;
}

.lane h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin-bottom: 8px;
}

.lane p { color: var(--foam-dim); max-width: 44ch; }

/* ---------- why ---------- */

.why { margin-top: clamp(56px, 8vw, 110px); }

.why-list { list-style: none; }

.why-list li {
  position: relative;
  padding: 14px 0 14px 44px;
  max-width: 68ch;
  color: var(--foam-dim);
}

.why-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 22px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,0.95), rgba(255,255,255,0.25) 65%);
}

.why-list strong {
  display: block;
  color: var(--foam);
  font-size: 1.18rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
}

/* ---------- booking ---------- */

.book { margin-top: clamp(56px, 8vw, 110px); }

.book-lead { max-width: 56ch; color: var(--foam-dim); margin-top: -16px; margin-bottom: 30px; }

.book-lead a { color: var(--sun); font-weight: 700; }

.book-form { max-width: 720px; }

.botcheck { display: none; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.book-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--foam);
}

.book-form input,
.book-form select,
.book-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px 16px;
  font: inherit;
  color: var(--ink);
  caret-color: var(--mid);
  background: var(--foam);
  border: none;
  border-radius: 14px;
}

.btn-submit:disabled {
  background: var(--foam-dim);
  color: var(--deep);
  box-shadow: none;
  transform: none;
  cursor: wait;
}

.book-form input::placeholder,
.book-form textarea::placeholder { color: #4a6a92; }

.book-form input:focus-visible,
.book-form select:focus-visible,
.book-form textarea:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

.btn-submit { margin-top: 4px; }

.form-hint { margin-top: 14px; color: var(--foam-dim); font-size: 0.95rem; }

/* ---------- pool floor ---------- */

.floor {
  background:
    linear-gradient(rgba(5, 34, 71, 0.6), rgba(5, 34, 71, 0.6)),
    repeating-linear-gradient(0deg, transparent 0 46px, #052247 46px 50px),
    repeating-linear-gradient(90deg, #0a3a75 0 46px, #052247 46px 50px);
  background-color: var(--floor);
  color: var(--foam-dim);
  padding: clamp(40px, 6vw, 70px) clamp(20px, 5vw, 56px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.floor::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle 70px at 50% 50%, rgba(142, 214, 255, 0.14), transparent 70%),
    radial-gradient(circle 45px at 50% 50%, rgba(142, 214, 255, 0.12), transparent 70%);
  background-size: 260px 220px, 170px 150px;
  animation: caustics 30s linear infinite reverse;
}

.floor-inner { position: relative; }

.floor-brand {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--foam);
  margin-bottom: 8px;
}

.floor a { color: var(--sun); font-weight: 700; }

.floor-fine { margin-top: 18px; font-size: 0.88rem; opacity: 0.75; }

/* ---------- responsive ---------- */

@media (max-width: 760px) {
  .topnav { display: none; }

  .sun {
    width: 170px;
    height: 170px;
    top: -80px;
    right: -45px;
  }

  .sun::before { opacity: 0.55; }
  .cloud-1, .cloud-2 { display: none; }
  .cloud-3 { top: 4%; width: 110px; opacity: 0.7; }

  .service, .service-flip {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .ways-lanes { grid-template-columns: 1fr; }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .foam-car { margin: 0 auto; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sun, .sun::before, .cloud, .hero-inner > *, .waterline-stage, .foam-car, .spray circle,
  .waterline, .pool::before, .pool h2::after, .rays span, .bubbles span, .ripple,
  .service-icon, .lane-icon, .floor::before { animation: none; }
  .btn, .topbar-call, .topbar { transition: none; }
}
