/* ============================================================
   Revived Hand Wash — Design Tokens
   Palette: near-black base (matches original brand theme-color),
   detail-blue (wet glass/water reflection) + brass accent (premium).
   Type: Space Grotesk (display, mechanical precision) / Inter (body)
   / IBM Plex Mono (prices, phone, stats — dashboard/odometer feel).
   Signature: a specular "shine sweep" across photography, evoking
   light passing over a freshly clear-coated panel.
   ============================================================ */

:root {
  --bg: #090d12;
  --bg-elevated: #0e131a;
  --surface: #131a22;
  --surface-2: #19222c;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f3f1ea;
  --text-muted: #9ca8b3;
  --text-faint: #626d78;

  /* Pulled directly from the Revived Hand Wash logo badge */
  --navy: #16305f;
  --teal: #3e93ab;
  --green: #8ed268;

  --accent: var(--teal);
  --accent-soft: rgba(62, 147, 171, 0.16);
  --accent-2: var(--green);
  --accent-2-soft: rgba(142, 210, 104, 0.16);
  --brand-gradient: linear-gradient(135deg, var(--teal), var(--green));

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --container: 1180px;
  --shadow-lift: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.025em;
}
h3, h4 { font-weight: 600; letter-spacing: -0.015em; }

p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}

.section {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.section-head {
  max-width: 620px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand-gradient);
  color: var(--navy);
}
.btn-primary:hover {
  box-shadow: 0 8px 24px -6px rgba(62, 147, 171, 0.5);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 14, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img { height: 36px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 16.5px;
  letter-spacing: -0.01em;
}
.brand-text span {
  font-size: 11.5px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  gap: 30px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.main-nav a { transition: color 0.2s ease; }
.main-nav a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.header-phone {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  display: none;
}
.header-phone:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  color: var(--text);
  cursor: pointer;
}

@media (min-width: 860px) {
  .header-phone { display: inline; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(9,13,18,0.94) 0%, rgba(9,13,18,0.75) 42%, rgba(9,13,18,0.35) 78%, rgba(9,13,18,0.25) 100%),
    linear-gradient(0deg, rgba(9,13,18,0.5), transparent 40%);
}
.hero-container {
  position: relative;
  z-index: 2;
  padding: 120px 24px;
}
.mute-toggle {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(9,13,18,0.45);
  backdrop-filter: blur(6px);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.mute-toggle:hover { border-color: var(--accent); }
.mute-toggle #muteIconOff path:last-child { transition: opacity 0.15s ease; }
.mute-toggle.is-unmuted #muteIconOff path:last-child { opacity: 0; }

.hero-copy h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  margin-bottom: 22px;
}
.hero-copy h1 em {
  font-style: normal;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p.lead {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--text);
}
.hero-stats div span {
  font-size: 12.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .hero { min-height: 560px; }
  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(9,13,18,0.96) 20%, rgba(9,13,18,0.6) 65%, rgba(9,13,18,0.35) 100%);
  }
  .hero-container { padding: 90px 24px 60px; }
}

/* ============ Services ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.service-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.service-card.featured {
  border-color: rgba(62, 147, 171, 0.4);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 40%);
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.service-card > p.desc {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 16px;
}
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex-grow: 1;
}
.service-card li {
  font-size: 13.8px;
  color: var(--text-muted);
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.service-card li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
  margin-top: 7px;
  flex-shrink: 0;
}
.service-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-bottom: 18px;
}
.service-price strong {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--accent-2);
}
.service-price span {
  font-size: 12px;
  color: var(--text-faint);
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============ Why / Features ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.feature {
  background: var(--bg-elevated);
  padding: 30px 24px;
}
.feature .service-icon { margin-bottom: 18px; }
.feature h4 {
  font-size: 15.5px;
  margin-bottom: 8px;
}
.feature p {
  font-size: 13.6px;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ============ Gallery ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  isolation: isolate;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 18px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent 70%);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.gallery-note {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--text-faint);
}

@media (max-width: 780px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 16/10; }
}

/* ============ Reviews ============ */
.reviews-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.reviews-panel p {
  color: var(--text-muted);
  max-width: 480px;
  font-size: 15.5px;
}
.reviews-panel h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 760px;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16.5px;
  text-align: left;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 20px;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  color: var(--accent);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-q .plus::before { width: 14px; height: 1.5px; }
.faq-q .plus::after { width: 1.5px; height: 14px; transition: transform 0.25s ease; }
.faq-item[open] .plus::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }

.faq-a {
  padding: 0 4px 22px;
  color: var(--text-muted);
  font-size: 14.8px;
  max-width: 640px;
}

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 32px;
}
.contact-list div strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 18px;
  margin-bottom: 3px;
}
.contact-list div span {
  font-size: 13.5px;
  color: var(--text-faint);
}
.contact-cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-cta h3 { font-size: 24px; margin-bottom: 10px; }
.contact-cta p { color: var(--text-muted); margin-bottom: 26px; font-size: 15px; }
.contact-cta .hero-cta { margin-bottom: 0; }

@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 44px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p {
  color: var(--text-faint);
  font-size: 13.6px;
  max-width: 260px;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--text-muted); font-size: 14px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.8px;
  color: var(--text-faint);
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,12,14,0.98);
  padding: 100px 32px 32px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}
