/* ==========================================================================
   AQUASHIFT — Design Tokens
   Source: CLAUDE.md §3 (colors), §4 (type)
   ========================================================================== */

:root {
  /* ---- Brand colors ---- */
  --aq-blue: #054aab;       /* Primary / Brand Blue */
  --aq-blue-rgb: 5, 74, 171;
  --aq-navy: #01142f;       /* Deep Navy */
  --aq-navy-rgb: 1, 20, 47;
  --aq-ink: #01040b;        /* Rich Black — body text */
  --aq-ocean: #014498;      /* Secondary Blue */
  --aq-sky: #5c89c8;        /* Mid Accent */
  --aq-pale: #e8f0fb;       /* Light Tint */
  --aq-slate: #59667a;      /* Neutral Grey */
  --aq-white: #ffffff;

  --aq-gradient: linear-gradient(135deg, #054aab 0%, #01142f 100%);
  --aq-gradient-soft: linear-gradient(160deg, #0a5cc9 0%, #054aab 45%, #01142f 100%);

  /* ---- Surfaces ---- */
  --surface-0: var(--aq-white);
  --surface-1: var(--aq-pale);
  --surface-dark: var(--aq-navy);

  /* ---- Typography ---- */
  --font-display: "Sora", "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --fs-h1: clamp(2.25rem, 1.5rem + 3vw, 3.4rem);      /* 36px -> 54.4px */
  --fs-h2: clamp(1.9rem, 1.4rem + 2.2vw, 2.6rem);      /* ~30px -> 42px */
  --fs-h3: clamp(1.35rem, 1.15rem + 0.9vw, 1.7rem);
  --fs-lead: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8rem;

  --lh-body: 1.65;
  --lh-tight: 1.15;
  --ls-eyebrow: 0.14em;

  /* ---- Spacing scale ---- */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --section-pad: clamp(3.5rem, 3rem + 2.5vw, 6.5rem);
  --container-w: 1220px;
  --container-pad: clamp(1.25rem, 0.9rem + 1.5vw, 2.5rem);

  /* ---- Radius & shadow ---- */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(1, 20, 47, 0.06);
  --shadow-md: 0 12px 32px rgba(1, 20, 47, 0.12);
  --shadow-lg: 0 24px 64px rgba(1, 20, 47, 0.22);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 50px rgba(1, 8, 24, 0.45);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.45s;
  --dur-slow: 0.9s;

  --header-h: 84px;
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }
}


/* ==========================================================================
   AQUASHIFT — Core Styles
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* overflow-x on html only, never body — overflow-x on body turns it into its
   own scroll container in some engines, which breaks position:sticky for
   any descendant (confirmed: broke the sticky header). */
html { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--aq-ink);
  background: var(--aq-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: var(--lh-tight); margin: 0; color: var(--aq-navy); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.icon { flex-shrink: 0; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.skip-link {
  position: fixed;
  top: -60px;
  left: var(--space-sm);
  z-index: 200;
  background: var(--aq-navy);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm);
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--space-sm); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform var(--dur-med) var(--ease-out);
}
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--aq-blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { box-shadow: var(--shadow-md); }

.btn--light { background: #fff; color: var(--aq-navy); }
.btn--light:hover { box-shadow: var(--shadow-md); }

.btn--outline { background: transparent; color: var(--aq-blue); border-color: var(--aq-blue); }
.btn--outline:hover { background: var(--aq-pale); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn--outline-light:hover { background: rgba(255,255,255,0.12); }

.btn--ghost { background: var(--aq-pale); color: var(--aq-navy); }

.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.85rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---- Liquid glass (used over the cinematic hero video / dark nav) ----
   Uses ::after (not ::before, already claimed by .btn's shine sweep) so it
   can be combined with .btn on the same element: class="btn liquid-glass". */
.liquid-glass {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px); /* fallback if the SVG distortion filter below isn't supported */
  backdrop-filter: blur(16px) url(#liquid-glass-filter); /* same-document ref: filter lives in assets/icons.svg, injected inline by main.js alongside the icon sprite */
  border: none;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.liquid-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.liquid-glass:hover { background: rgba(255, 255, 255, 0.14); }
a.liquid-glass:hover, button.liquid-glass:hover { color: #fff; }

/* ---- Eyebrow / section head ---- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--aq-blue);
  margin: 0 0 0.6rem;
}
.eyebrow--light { color: var(--aq-sky); }

.section { padding-block: var(--section-pad); }
.section--tint { background: var(--aq-pale); }
.section--dark { background: var(--aq-navy); }

.section__head { max-width: 640px; margin-bottom: var(--space-xl); }
.section__title { font-size: var(--fs-h2); font-weight: 700; }
.section__title--light { color: #fff; }
.section__sub { color: var(--aq-slate); margin-top: var(--space-sm); font-size: var(--fs-lead); }
.section__sub--light { color: rgba(255,255,255,0.72); }

/* ============ HEADER ============
   Sits in normal flow (sticky, whole-document containing block) but its
   negative bottom margin pulls the hero section up underneath it, so the
   transparent header floats directly over the hero video — without ever
   nesting the header inside the hero (which would break "sticky" once the
   hero scrolls past, since sticky is bounded by its containing block). */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  margin-bottom: calc(-1 * var(--header-h));
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.46);
  -webkit-backdrop-filter: blur(9px) saturate(220%) brightness(1.08);
  backdrop-filter: blur(9px) saturate(220%) brightness(1.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 24px rgba(1, 20, 47, 0.1);
  transition: background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.header.is-scrolled,
.header.header--solid {
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(14px) saturate(200%) brightness(1.05);
  backdrop-filter: blur(14px) saturate(200%) brightness(1.05);
  border-bottom-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    var(--shadow-sm);
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: 100%;
}
.header__logo img { height: 58px; width: auto; }

.nav__list {
  display: flex;
  gap: clamp(1rem, 1.5vw, 1.8rem);
}
.nav__list a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--aq-navy);
  position: relative;
  padding-block: 0.3rem;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--aq-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-out);
}
.nav__list a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: var(--space-sm); }
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--aq-navy);
  padding: 0.4rem;
}

@media (max-width: 1023px) {
  .nav { display: none; }
  .nav__toggle { display: inline-flex; }
  .header__actions .btn--sm { display: none; }
}
@media (max-width: 640px) {
  .header__logo img { height: 46px; }
}

/* ---- Mobile drawer ---- */
.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(85vw, 360px);
  height: 100dvh;
  background: var(--aq-navy);
  color: #fff;
  z-index: 210;
  padding: var(--space-lg) var(--space-md);
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-lg); }
.nav-drawer__head img { height: 48px; width: auto; }
.nav-drawer__close { background: none; border: none; color: #fff; }
.nav-drawer__list { display: flex; flex-direction: column; gap: var(--space-md); flex: 1; }
.nav-drawer__list a { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.nav-drawer__cta { display: flex; flex-direction: column; gap: var(--space-sm); }

.nav-drawer__backdrop {
  position: fixed; inset: 0;
  background: rgba(1,4,11,0.55);
  z-index: 205;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out);
}
.nav-drawer__backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ============ CINEMATIC VIDEO HERO ============
   Full-bleed autoplay video, a bottom-masked backdrop-blur (no darkening
   gradient — the blur alone lifts text legibility), content bottom-aligned.
   Video/overlay are position:absolute (scoped to this section), not fixed —
   this page scrolls to many sections below, unlike a single-hero page. */
.hero-cinematic {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--aq-gradient-soft); /* shows while the video loads, or if it fails */
  color: #fff;
}
.hero-cinematic__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero-cinematic__blur {
  position: absolute;
  inset: 0;
  z-index: 1;
  -webkit-backdrop-filter: blur(26px);
  backdrop-filter: blur(26px);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 60%);
  mask-image: linear-gradient(to top, black 0%, transparent 60%);
  pointer-events: none;
}
/* Permanent, subtle top scrim — independent of scroll state — so the
   transparent header stays legible over any frame of the video, not just
   the ones the blur mask happens to reach. */
.hero-cinematic__topscrim {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  height: clamp(140px, 12vw + 100px, 220px);
  background: linear-gradient(to bottom, rgba(1, 8, 20, 0.72) 0%, rgba(1, 8, 20, 0.4) 55%, transparent 100%);
  pointer-events: none;
}
.hero-cinematic__content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: clamp(6rem, 5rem + 3vw, 9rem);
  padding-bottom: clamp(3rem, 2.5rem + 2vw, 5.5rem);
}
.hero-cinematic__inner { max-width: 760px; }

.hero-cinematic__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
}
.hero-cinematic__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.hero-cinematic__meta .icon { color: var(--aq-sky); }

.hero-cinematic__title {
  font-size: var(--fs-h1);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.hero-cinematic__desc {
  margin-top: var(--space-md);
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.hero-cinematic__ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

@media (max-width: 480px) {
  .hero-cinematic__ctas { flex-direction: column; align-items: stretch; }
  .hero-cinematic__ctas .btn { width: 100%; }
}

/* ============ TRUST BAR ============ */
.trust-bar { background: var(--aq-navy); padding-block: var(--space-md); }
.trust-bar__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-xl);
  justify-content: center;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 600;
}
.trust-bar__item .icon { color: var(--aq-sky); }
.trust-bar__item a { color: #fff; }
.trust-bar__item a:hover { color: var(--aq-sky); }

/* ============ SERVICES ============ */
.services-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 2fr;
  gap: var(--space-2xl);
  align-items: center;
}

.eyebrow--boxed {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--aq-pale);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.services-intro .section__title { margin-bottom: var(--space-md); }
.services-intro__desc {
  color: var(--aq-slate);
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  margin-bottom: var(--space-lg);
}
.services-intro__ctas { display: flex; align-items: center; gap: var(--space-lg); flex-wrap: wrap; }
.services-intro__all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--aq-blue);
}
.services-intro__all:hover { text-decoration: underline; }
.pricing-cta .services-intro__all { margin-top: var(--space-md); }

.services-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: var(--aq-pale);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.feature-card p { color: var(--aq-slate); font-size: 0.9rem; line-height: var(--lh-body); }

.feature-card--active {
  background: var(--aq-blue);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.feature-card--active p { color: rgba(255, 255, 255, 0.82); }

.feature-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  background: var(--aq-blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-card--active .feature-card__icon { background: rgba(255, 255, 255, 0.2); }

.services-more {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--aq-pale);
}
.services-more li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--aq-pale);
  color: var(--aq-navy);
  font-size: 0.88rem;
  font-weight: 600;
}
.services-more .icon { color: var(--aq-blue); }

@media (max-width: 1023px) {
  .services-layout { grid-template-columns: 1fr; gap: var(--space-xl); }
}
@media (max-width: 640px) {
  .services-feature-grid { grid-template-columns: 1fr; }
}

/* ============ HOW IT WORKS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  counter-reset: step;
}
.steps__item { position: relative; padding-top: var(--space-sm); }
.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--aq-sky);
  cursor: pointer;
  background: #fff;
  color: var(--aq-blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.steps__num:hover { transform: scale(1.06); }
.steps__num:focus-visible { outline: 2px solid var(--aq-blue); outline-offset: 3px; }
.steps__num[data-state="completed"] { background: var(--aq-navy); border-color: transparent; color: #fff; }
.steps__num[data-state="active"] {
  background: var(--aq-gradient);
  border-color: transparent;
  color: #fff;
  transform: scale(1.14);
  box-shadow: 0 0 0 6px rgba(5, 74, 171, 0.16);
}
.steps__item h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.steps__item p { color: var(--aq-slate); font-size: 0.92rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* ============ USP ============ */
.usp__head { max-width: 640px; margin-bottom: var(--space-xl); }
.usp__lead { color: var(--aq-slate); margin-top: var(--space-sm); font-size: var(--fs-lead); }
.usp__list { display: flex; flex-direction: column; }
.usp__row {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding-block: var(--space-md);
  border-top: 1px solid var(--aq-pale);
}
.usp__row:last-child { border-bottom: 1px solid var(--aq-pale); }
.usp__row .icon { color: var(--aq-blue); margin-top: 0.2rem; }
.usp__row h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.usp__row p { color: var(--aq-slate); font-size: 0.95rem; max-width: 60ch; }

/* ============ GALLERY ============ */
.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-sm);
}
.gallery-card {
  scroll-snap-align: start;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.gallery-card__art {
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.9);
  position: relative;
  overflow: hidden;
}
.gallery-card__art svg { width: 34%; height: 34%; stroke: currentColor; }
.gallery-card__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.gallery-card:hover .gallery-card__photo { transform: scale(1.04); }
.gallery-card__art--wash { background: linear-gradient(135deg, #054AAB, #01142F); }
.gallery-card__art--interior { background: linear-gradient(135deg, #014498, #01142F); }
.gallery-card__art--wax { background: linear-gradient(135deg, #5c89c8, #054AAB); }
.gallery-card__art--foam { background: linear-gradient(135deg, #0a5cc9, #01142F); }
.gallery-card__art::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-15deg);
  transition: left var(--dur-slow) var(--ease-out);
}
.gallery-card:hover .gallery-card__art::after { left: 120%; }
.gallery-card figcaption {
  padding: var(--space-sm) var(--space-md);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ============ PRICING ============ */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--aq-pale);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.pricing-card--highlight { border-color: var(--aq-blue); box-shadow: var(--shadow-md); }
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: var(--space-md);
  background: var(--aq-blue);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}

.pricing-card__icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  background: var(--aq-pale);
  color: var(--aq-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-sm);
}

.pricing-card__name { font-size: 1rem; font-weight: 700; color: var(--aq-navy); margin-bottom: 0.25rem; }
.pricing-card__tagline {
  color: var(--aq-slate);
  font-size: 0.8rem;
  font-style: italic;
  margin-bottom: var(--space-sm);
}

/* Simpler single-price cards (used on the All Services page) */
.pricing-card--compact { padding: var(--space-md); }
.pricing-card__desc {
  color: var(--aq-slate);
  font-size: 0.82rem;
  line-height: var(--lh-body);
  margin-bottom: var(--space-sm);
}
.pricing-card__price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--aq-blue);
  margin-bottom: var(--space-sm);
}

.pricing-card__prices { list-style: none; display: flex; flex-direction: column; gap: 0.2rem; margin-bottom: 0.5rem; }
.pricing-card__prices li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
}
.pricing-card__prices li span:first-child { color: var(--aq-slate); }
.pricing-card__prices li span:last-child { color: var(--aq-blue); font-weight: 800; font-variant-numeric: tabular-nums; }

.pricing-card__time {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--aq-slate);
  font-size: 0.76rem;
  margin-bottom: var(--space-sm);
}
.pricing-card__time .icon { color: var(--aq-sky); flex-shrink: 0; }

.pricing-card__divider { display: block; height: 1px; background: var(--aq-pale); margin: 0 0 var(--space-sm); }

.pricing-card__details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--aq-blue);
  padding: 0.3rem 0;
}
.pricing-card__details summary::-webkit-details-marker { display: none; }
.pricing-card__details summary .icon { transition: transform var(--dur-fast) var(--ease-out); flex-shrink: 0; }
.pricing-card__details[open] summary .icon { transform: rotate(180deg); }

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.4rem;
  margin-bottom: var(--space-sm);
}
.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--aq-ink);
}
.pricing-card__features .icon { color: var(--aq-blue); flex-shrink: 0; margin-top: 0.2em; }

.pricing-card__exclusion {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  background: #fbe7e6;
  color: #b3261e;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}
.pricing-card__exclusion .icon { flex-shrink: 0; margin-top: 0.1em; }

.pricing-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: auto;
  background: var(--aq-navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-align: center;
  white-space: nowrap;
  padding: 0.75rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease-out);
}
.pricing-card__cta:hover { background: var(--aq-blue); }
.pricing-card__cta .icon { flex-shrink: 0; }

@media (max-width: 1023px) {
  .pricing-cards--packages { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .pricing-cards--packages { grid-template-columns: 1fr; }
}

.pricing-cards--deep-care { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1023px) {
  .pricing-cards--deep-care { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pricing-cards--deep-care { grid-template-columns: 1fr; }
}

.pricing-cards--bike { grid-template-columns: minmax(260px, 380px); justify-content: center; }

.category-section__note {
  text-align: center;
  color: var(--aq-slate);
  font-size: 0.88rem;
  max-width: 640px;
  margin: var(--space-lg) auto 0;
}

.pricing-cta {
  text-align: center;
  max-width: 640px;
  margin: var(--space-xl) auto 0;
}
.pricing-cta p { color: var(--aq-slate); font-size: var(--fs-lead); }

/* ============ MONTHLY PLANS ============ */
.pricing-cards--plans { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .pricing-cards--plans { grid-template-columns: 1fr; }
}

.plan-card__visits {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--aq-pale);
  color: var(--aq-navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}
.plan-card__visits .icon { color: var(--aq-blue); flex-shrink: 0; }

.plan-prices { list-style: none; display: flex; flex-direction: column; margin-bottom: var(--space-sm); }
.plan-prices li { padding-block: 0.55rem; border-top: 1px solid var(--aq-pale); }
.plan-prices li:first-child { border-top: none; padding-top: 0; }
.plan-prices__row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.plan-prices__vehicle { color: var(--aq-slate); font-size: 0.82rem; font-weight: 600; }
.plan-prices__amount { color: var(--aq-blue); font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.plan-prices__meta { color: var(--aq-slate); font-size: 0.72rem; margin-top: 0.15rem; }
.plan-prices__meta s { opacity: 0.7; }
.plan-prices__save { color: var(--aq-blue); font-weight: 700; }

.plan-schedule { display: flex; gap: 0.4rem; margin-bottom: var(--space-sm); }
.plan-schedule__week {
  flex: 1;
  text-align: center;
  background: var(--aq-pale);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.2rem;
}
.plan-schedule__week .week-num { display: block; font-size: 0.65rem; color: var(--aq-slate); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.plan-schedule__week .week-type { display: block; font-size: 0.72rem; color: var(--aq-navy); font-weight: 700; }

.plan-card__conditions { background: var(--aq-pale); border-radius: var(--radius-sm); padding: 0.6rem 0.7rem; margin-bottom: var(--space-sm); }
.plan-card__conditions summary { cursor: pointer; font-size: 0.78rem; font-weight: 700; color: var(--aq-navy); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.plan-card__conditions summary::-webkit-details-marker { display: none; }
.plan-card__conditions summary .icon { transition: transform var(--dur-fast) var(--ease-out); flex-shrink: 0; }
.plan-card__conditions[open] summary .icon { transform: rotate(180deg); }
.plan-card__conditions ul { list-style: disc; padding-left: 1.1rem; margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.3rem; }
.plan-card__conditions li { font-size: 0.74rem; color: var(--aq-slate); line-height: 1.5; }
.quote-panel__ctas { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; margin-top: var(--space-lg); }

/* ============ ALL SERVICES PAGE ============ */
.services-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--aq-navy); /* shows while the image loads, or if it fails */
  text-align: center;
  color: #fff;
}
.services-hero__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 68%;
}
.services-hero__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(1, 12, 30, 0.5);
  pointer-events: none;
}
.services-hero__blur {
  position: absolute;
  inset: 0;
  z-index: 2;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 70%);
  mask-image: linear-gradient(to top, black 0%, transparent 70%);
  pointer-events: none;
}
.services-hero__scrim {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  height: 75%;
  background: linear-gradient(to top, rgba(1, 8, 20, 0.94) 0%, rgba(1, 8, 20, 0.6) 55%, transparent 100%);
  pointer-events: none;
}
.services-hero__inner {
  position: relative;
  z-index: 4;
  max-width: 720px;
  margin-inline: auto;
  padding: var(--space-2xl) var(--container-pad) calc(var(--space-2xl) + 1rem);
}
.services-hero h1 { color: #fff; font-size: var(--fs-h1); }
.services-hero p { color: rgba(255, 255, 255, 0.8); margin-top: var(--space-md); font-size: var(--fs-lead); }
.services-hero__ctas { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; margin-top: var(--space-lg); }

@media (max-width: 640px) {
  /* Our real heading + CTAs are taller than the photo's own clear "floor"
     area, so cropping the photo to make room never quite works at this
     width (content simply doesn't fit inside a legible crop). Instead:
     show the portrait photo (see <picture> in the markup) at its own full
     natural size, uncropped, then stack the real content in a plain block
     right below it. Zero risk of text landing on top of busy photo detail. */
  .services-hero {
    min-height: 0;
    display: block;
  }
  .services-hero__img {
    display: block;
    position: static;
    width: 100%;
    height: auto;
    object-fit: initial;
  }
  .services-hero__tint,
  .services-hero__blur,
  .services-hero__scrim {
    display: none;
  }
  .services-hero__inner {
    background: var(--aq-navy);
    padding: var(--space-2xl) var(--container-pad);
  }
}

.category-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--aq-pale);
}
.category-nav__list {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-block: var(--space-sm);
  scrollbar-width: none;
}
.category-nav__list::-webkit-scrollbar { display: none; }
.category-nav__list a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--aq-pale);
  color: var(--aq-navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.category-nav__list a:hover { background: rgba(var(--aq-blue-rgb), 0.14); }
.category-nav__list a.is-active { background: var(--aq-blue); color: #fff; }

.category-section { scroll-margin-top: calc(var(--header-h) + 64px); }
.category-section__head {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.category-section__icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--aq-pale);
  color: var(--aq-blue);
  display: flex; align-items: center; justify-content: center;
}
.category-section__head h2 { font-size: var(--fs-h3); }
.category-section__head p { color: var(--aq-slate); margin-top: 0.25rem; font-size: 0.96rem; }

.pricing-cards--category {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.pricing-card__price--quote { font-size: 1.15rem; }

/* ============ SERVICE AREA ============ */
.area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.area__copy p { color: var(--aq-slate); margin-block: var(--space-md); font-size: var(--fs-lead); }
.area__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.area__map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) {
  .area { grid-template-columns: 1fr; }
}

/* ============ FAQ ============ */
.faq { max-width: 800px; }
.faq__item { border-bottom: 1px solid var(--aq-pale); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  background: none;
  border: none;
  text-align: left;
  padding-block: var(--space-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--aq-navy);
}
.faq__chev { color: var(--aq-blue); transition: transform var(--dur-fast) var(--ease-out); flex-shrink: 0; }
.faq__q[aria-expanded="true"] .faq__chev { transform: rotate(180deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-med) var(--ease-out);
}
.faq__a > p { overflow: hidden; color: var(--aq-slate); padding-bottom: 0; font-size: 0.96rem; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a > p { padding-bottom: var(--space-md); }
.faq__a { overflow: hidden; }
.faq__a > p { min-height: 0; }

/* ============ FINAL CTA BANNER ============ */
.cta-banner {
  background: var(--aq-gradient);
  padding-block: var(--space-2xl);
  text-align: center;
  color: #fff;
}
.cta-banner__inner h2 { color: #fff; font-size: var(--fs-h2); max-width: 20ch; margin-inline: auto; }
.cta-banner__inner p { color: rgba(255,255,255,0.8); margin-top: var(--space-sm); font-size: var(--fs-lead); }
.cta-banner__ctas { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; margin-top: var(--space-lg); }

/* ============ CONTACT ============ */
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-xl);
}
.contact__details { margin-top: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm); }
.contact__details li { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; }
.contact__details .icon { color: var(--aq-blue); }
.contact__details a:hover { color: var(--aq-blue); }

.contact__form {
  background: var(--aq-pale);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  display: grid;
  gap: var(--space-md);
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-weight: 700; font-size: 0.88rem; color: var(--aq-navy); }
.form-field__optional { font-weight: 500; color: var(--aq-slate); }
.form-field input, .form-field select, .form-field textarea {
  border: 1.5px solid #d3ddec;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  background: #fff;
  color: var(--aq-ink);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--aq-blue);
  box-shadow: 0 0 0 3px rgba(5,74,171,0.15);
}
.form-field__error {
  display: none;
  color: #b3261e;
  font-size: 0.8rem;
  font-weight: 600;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #b3261e; }
.form-field.has-error .form-field__error { display: block; }

.form-hint {
  color: var(--aq-slate);
  font-size: 0.82rem;
  text-align: center;
  margin-top: 0.6rem;
}

.form-status {
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: none;
}
.form-status.is-success { display: block; background: #e3f5e9; color: #1c6b3c; }
.form-status.is-error { display: block; background: #fbe7e6; color: #b3261e; }

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

/* ============ FOOTER ============ */
.footer { background: var(--aq-navy); color: rgba(255,255,255,0.75); padding-top: var(--space-2xl); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}
.footer__brand img { height: 40px; width: auto; margin-bottom: var(--space-sm); }
.footer__brand p { max-width: 32ch; font-size: 0.92rem; }
.footer__social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  margin-top: var(--space-md);
  transition: background var(--dur-fast) var(--ease-out);
}
.footer__social:hover { background: var(--aq-blue); }
.footer__col h3 { color: #fff; font-size: 0.95rem; margin-bottom: var(--space-sm); }
.footer__col ul { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.92rem; }
.footer__col a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.footer__legal { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.footer__legal a:hover { color: #fff; }

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

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: block;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.whatsapp-float img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.whatsapp-float.is-shown {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: opacity var(--dur-fast) linear; }
}

/* On mobile/tablet the floating button must always be reachable — don't
   gate it behind the hero-scroll JS toggle (CLAUDE.md: "floating sticky
   WhatsApp button, mobile especially"). Desktop keeps the fade-in-after-hero
   behavior so it doesn't compete with the hero's own WhatsApp CTA. */
@media (max-width: 1023px) {
  .whatsapp-float {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
}

/* ---- WhatsApp tooltip bubble (sits left of the float button) ---- */
.whatsapp-tip {
  position: fixed;
  right: calc(var(--space-md) + 58px + 10px);
  bottom: calc(var(--space-md) + 16px);
  z-index: 91;
  opacity: 0;
  transform: translateY(8px) scale(0.94);
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.whatsapp-tip.is-shown { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.whatsapp-tip__link {
  display: block;
  white-space: nowrap;
  background: #fff;
  color: var(--aq-navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  transition: background var(--dur-fast) var(--ease-out);
}
.whatsapp-tip__link:hover { background: var(--aq-pale); }
.whatsapp-tip__close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--aq-ink);
  color: #fff;
  border: 2px solid #fff;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-tip { transition: opacity var(--dur-fast) linear; }
}

/* ============ LEGAL PAGES ============ */
.legal {
  padding-block: var(--space-2xl) var(--space-xl);
}
.legal .container { max-width: 820px; }
.legal h1 { font-size: var(--fs-h1); margin-bottom: 0.5rem; }
.legal__updated { color: var(--aq-slate); font-size: 0.9rem; margin-bottom: var(--space-xl); }
.legal h2 { font-size: 1.3rem; margin-top: var(--space-xl); margin-bottom: 0.75rem; }
.legal p, .legal li { color: var(--aq-slate); font-size: 1rem; line-height: 1.75; }
.legal ul { list-style: disc; padding-left: 1.4rem; display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.5rem; }
.legal a { color: var(--aq-blue); text-decoration: underline; }
.legal mark {
  background: #fff3cd;
  color: #6b4e00;
  padding: 0.05em 0.35em;
  border-radius: 4px;
  font-weight: 600;
}
.legal__back { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: var(--space-lg); color: var(--aq-blue); font-weight: 600; }


/* ==========================================================================
   AQUASHIFT — Animations
   ========================================================================== */

/* ---- Scroll reveal ----
   Hidden-until-visible only applies when JS has confirmed it can reveal
   elements (html.js, set by an inline head script). Without JS, content
   stays visible by default so nothing is permanently hidden. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger direct children when parent carries .reveal-group */
.reveal-group.is-visible > * {
  animation: none;
}

/* ---- Cinematic hero: blur-fade-up entrance (fires on load, not on scroll) ---- */
@keyframes blurFadeUp {
  from { opacity: 0; filter: blur(20px); transform: translateY(40px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
.animate-blur-fade-up {
  opacity: 0;
  animation: blurFadeUp 1s var(--ease-out) forwards;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float.is-shown { animation: pulse-ring 2.6s ease-out infinite; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .animate-blur-fade-up {
    opacity: 1;
    animation: none;
    filter: none;
    transform: none;
  }
  .whatsapp-float {
    animation: none !important;
  }
  .btn::before { transition: none; }
}
