/* =========================================================
   Rinse Kings — styles
   Brand colors are set once here. Change them in one place.
   ========================================================= */
:root {
  --navy: #0b2545;
  --navy-deep: #071a33;
  --blue: #1f7fd4;
  --sky: #e8f2fb;
  --mist: #f5f8fc;
  --gold: #f5b70a;
  --gold-hover: #ffc72c;
  --ink: #0f1f36;
  --muted: #5b6b80;
  --line: #e2e9f2;
  --white: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(11, 37, 69, 0.28);
  --shadow-soft: 0 6px 20px -10px rgba(11, 37, 69, 0.18);

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
}

p { margin: 0; }

.container {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}

section[id] { scroll-margin-top: 84px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 10px 24px -10px rgba(245, 183, 10, 0.7);
}

.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

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

.reviews-cta { margin-top: 48px; }

.btn-sm { padding: 10px 22px; font-size: 15px; }
.btn-lg { padding: 18px 34px; font-size: 18px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 26, 51, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand img { height: 58px; width: auto; }

.nav {
  display: flex;
  gap: 34px;
}

.nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(31, 127, 212, 0.35), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(31, 127, 212, 0.18), transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
  padding: 96px 0 112px;
}

.hero h1 {
  font-size: clamp(44px, 6.2vw, 76px);
  font-weight: 800;
}

.hero-copy p {
  margin: 22px 0 36px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 460px;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  outline: 1px solid rgba(255, 255, 255, 0.12);
  outline-offset: 8px;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

/* Before/after water wipe: the dirty photo sits on top and a wavy
   water front washes it away left to right, revealing the clean photo. */
.hero-photo .wipe-before {
  position: absolute;
  inset: 0;
  height: 100%;
  -webkit-mask-image: url("images/water-mask.svg");
          mask-image: url("images/water-mask.svg");
  -webkit-mask-size: 300% 100%;
          mask-size: 300% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0;
          mask-position: 100% 0;
  animation: water-reveal 10s cubic-bezier(0.45, 0.05, 0.35, 1) infinite;
}

/* Foam, spray and wet sheen that travel with the water front */
.hero-photo .water-front {
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
  object-fit: fill;
  pointer-events: none;
  transform: translateX(-66.6667%);
  animation: water-front 10s cubic-bezier(0.45, 0.05, 0.35, 1) infinite;
}

@keyframes water-reveal {
  0%, 10% { -webkit-mask-position: 100% 0; mask-position: 100% 0; opacity: 1; }
  55%     { -webkit-mask-position: 0% 0;   mask-position: 0% 0;   opacity: 1; }
  86%     { -webkit-mask-position: 0% 0;   mask-position: 0% 0;   opacity: 0; }
  87%     { -webkit-mask-position: 100% 0; mask-position: 100% 0; opacity: 0; }
  100%    { -webkit-mask-position: 100% 0; mask-position: 100% 0; opacity: 1; }
}

@keyframes water-front {
  0%, 10% { transform: translateX(-66.6667%); opacity: 1; }
  55%     { transform: translateX(0); opacity: 1; }
  56%     { transform: translateX(0); opacity: 0; }
  99%     { transform: translateX(-66.6667%); opacity: 0; }
  100%    { transform: translateX(-66.6667%); opacity: 1; }
}

/* People who turn off motion just see the clean photo */
@media (prefers-reduced-motion: reduce) {
  .hero-photo .wipe-before,
  .hero-photo .water-front { display: none; }
}

/* Thank-you page */
.hero-thanks {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}

.hero-thanks p {
  margin: 22px auto 36px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 460px;
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-mist { background: var(--mist); }

.section-navy {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: var(--white);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  color: var(--navy);
}

.section-head p {
  margin-top: 14px;
  font-size: 19px;
  color: var(--muted);
}

.section-navy .section-head h2 { color: var(--white); }
.section-navy .section-head p { color: rgba(255, 255, 255, 0.72); }

.center { text-align: center; }

/* ---------- Video (VSL) ---------- */
.section-video { background: var(--mist); }

.video-frame {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: var(--shadow);
}

.video-frame iframe,
.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-play {
  padding: 0;
  background: none;
  cursor: pointer;
}

.video-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-play::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 51, 0.28);
  transition: background 0.3s ease;
}

.video-play:hover img { transform: scale(1.02); }
.video-play:hover::after { background: rgba(7, 26, 51, 0.15); }
.video-play:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, background 0.2s ease;
}

.video-play-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent var(--navy-deep);
  transform: translate(-36%, -50%);
}

.video-play:hover .video-play-icon {
  background: var(--gold-hover);
  transform: translate(-50%, -50%) scale(1.08);
}

/* "Tap for sound" button shown while the video autoplays on mute */
.video-sound {
  position: absolute;
  left: 50%;
  bottom: 64px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.55);
  transform: translateX(-50%);
  animation: sound-pulse 2.4s ease-in-out infinite;
}

.video-sound svg {
  width: 20px;
  height: 20px;
  fill: var(--navy-deep);
  stroke: var(--navy-deep);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.video-sound:hover { background: var(--gold-hover); }
.video-sound:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

@keyframes sound-pulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.55), 0 0 0 0 rgba(245, 183, 10, 0.55); }
  50%      { box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.55), 0 0 0 12px rgba(245, 183, 10, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .video-sound { animation: none; }
}

@media (max-width: 640px) {
  .video-sound { bottom: 48px; padding: 10px 18px; font-size: 15px; }
}

.video-cta { margin-top: 40px; }

@media (max-width: 640px) {
  .video-play-icon { width: 68px; height: 68px; }
  .video-play-icon::before { border-width: 12px 0 12px 20px; }
}

/* ---------- Before / After slider ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}

.ba-card { margin: 0; }

.ba {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  user-select: none;
  background: var(--sky);
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba-tag {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: rgba(7, 26, 51, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}

.ba-tag-left { left: 16px; }
.ba-tag-right { right: 16px; }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--white);
  pointer-events: none;
}

.ba-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* left/right arrows inside the handle */
.ba-handle span::before,
.ba-handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  transform: translateY(-50%);
}

.ba-handle span::before { left: 9px; border-right-color: var(--navy); }
.ba-handle span::after { right: 9px; border-left-color: var(--navy); }

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}

.ba-range:focus-visible + .ba-handle span,
.ba:focus-within .ba-handle span { outline: 3px solid var(--gold); }

.ba-card figcaption {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
}

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

.work-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 48px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.social-btn svg { width: 20px; height: 20px; color: var(--blue); }

.social-btn:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 22px;
}

.about-copy p {
  font-size: 19px;
  color: var(--muted);
}

.about-copy p + p { margin-top: 12px; }

.about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--mist);
  border: 1px solid var(--line);
}

.about-points svg,
.service svg,
.contact-list svg {
  flex: none;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-points svg {
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.about-points strong {
  display: block;
  font-family: var(--font-head);
  font-size: 19px;
  color: var(--navy);
}

.about-points span { color: var(--muted); font-size: 16px; }

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service svg {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 14px;
  background: var(--sky);
  margin-bottom: 20px;
}

.service h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}

.service p { font-size: 15.5px; color: var(--muted); }

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

.review {
  margin: 0;
  padding: 34px 30px;
  border-radius: var(--radius);
  background: var(--mist);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stars { color: var(--gold); font-size: 20px; letter-spacing: 3px; }

.review p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  flex: 1;
}

.review footer {
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- How to book ---------- */
.steps {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.steps li {
  padding: 36px 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 22px;
}

.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { color: rgba(255, 255, 255, 0.72); }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  color: var(--navy);
}

.contact-info > p {
  margin: 18px 0 36px;
  font-size: 19px;
  color: var(--muted);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  font-weight: 500;
}

.contact-list a { text-decoration: none; color: var(--navy); }
.contact-list a:hover { color: var(--blue); }

.contact-form {
  padding: 40px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
}

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

.field {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field > span,
.field legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  padding: 0;
  margin-bottom: 8px;
}

.field > span { margin-bottom: 0; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea { resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 127, 212, 0.15);
}

.hidden-field { display: none; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.chip span {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--mist);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip span:hover { border-color: var(--blue); }

.chip input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}

.footer-logo { height: 96px; width: auto; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.footer-nav a {
  text-decoration: none;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background 0.2s ease;
}

.footer-social a:hover { background: var(--blue); }
.footer-social svg { width: 20px; height: 20px; }

.copyright { font-size: 14px; }
.copyright a { text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 22px; }
}

@media (max-width: 860px) {
  .nav { display: none; }

  .hero-inner,
  .about,
  .contact {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-inner { padding: 64px 0 80px; text-align: center; }
  .hero-copy p { margin-inline: auto; }
  .hero-photo { max-width: 460px; margin: 0 auto; }

  .reviews,
  .steps { grid-template-columns: 1fr; }

  .section { padding: 80px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(1160px, 100% - 36px); }
  .header-inner { height: 68px; }
  .brand img { height: 48px; }

  .ba-grid,
  .work-grid,
  .services,
  .field-row { grid-template-columns: 1fr; }

  .work-grid { gap: 16px; }
  .contact-form { padding: 26px 20px; }
  .btn-lg { padding: 16px 28px; font-size: 17px; }
  .section-head { margin-bottom: 40px; }
}
