/* ==========================================================================
   Clear Sea — Deep Ocean / Glassmorphism redesign
   Author: redesign build (2026)
   No frameworks. Pure CSS. All animations are progressive enhancements.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Red depths */
  --ink-900: #2a0308;
  --ink-800: #35040b;
  --ink-700: #42050e;
  --ink-600: #520714;
  --ink-500: #660a1b;

  /* Brand red (matches the Clear Sea label) */
  --indigo: #a30f2a;
  --indigo-400: #d11b3a;
  --indigo-300: #f04a63;

  /* White / pale-rose accents */
  --aqua: #ffffff;
  --aqua-600: #ffd9e0;
  --aqua-300: #ffe9ee;
  --foam: #fff0f2;

  /* Label red — used sparingly, matches the bottle artwork */
  --coral: #e63946;

  /* Text */
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.8);
  --text-faint: rgba(255, 255, 255, 0.6);

  /* Glass */
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --glass-line: rgba(255, 255, 255, 0.16);
  --glass-line-lit: rgba(255, 255, 255, 0.5);

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --shell: min(1240px, 100% - 3rem);
  --radius: 22px;
  --radius-lg: 30px;
  --section-y: clamp(5rem, 11vw, 9.5rem);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Elevation */
  --shadow-soft: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
  --shadow-glow: 0 0 60px -12px rgba(255, 255, 255, 0.35);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* Lenis takes over scrolling once loaded; disable native smooth to avoid fighting */
html.lenis { scroll-behavior: auto; }
html.lenis body { min-height: 100%; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

body {
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 0.35vw + 0.9rem, 1.06rem);
  line-height: 1.75;
  color: var(--text);
  background: var(--ink-900);
  /* `clip` (not `hidden`): keeps horizontal overflow contained without turning
     body into a scroll container, which would fight Lenis and cause jank. */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

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

img { height: auto; }

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button { background: none; border: 0; cursor: pointer; }

ul { list-style: none; }

::selection {
  background: var(--aqua);
  color: var(--ink-900);
}

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

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink-900); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--indigo), var(--aqua-600));
  border-radius: 99px;
  border: 2px solid var(--ink-900);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0; left: 50%;
  transform: translate(-50%, -120%);
  z-index: 9999;
  padding: 0.85rem 1.6rem;
  background: var(--aqua);
  color: var(--ink-900);
  font-weight: 700;
  border-radius: 0 0 14px 14px;
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: var(--shell);
  margin-inline: auto;
}

/* Reveal animations translate elements sideways before they land, which would
   otherwise make the page scrollable horizontally. `clip` contains that without
   creating a scroll container (so nothing inside loses sticky/fixed behaviour). */
main,
.site-footer { overflow-x: clip; }

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section-head {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.section-head.is-left {
  margin-inline: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 1.05rem 0.42rem 0.5rem;
  border: 1px solid var(--glass-line);
  border-radius: 99px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua-300);
  margin-bottom: 1.35rem;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 0.5rem;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulseDot 2.4s var(--ease-out) infinite;
}

@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
  70%  { box-shadow: 0 0 0 11px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-bottom: 1.15rem;
  text-wrap: balance;
}

.section-sub {
  color: var(--text-dim);
  font-size: clamp(0.98rem, 0.4vw + 0.9rem, 1.1rem);
  text-wrap: pretty;
}

.gradient-text {
  background: linear-gradient(102deg, var(--foam) 6%, var(--aqua) 46%, var(--indigo-300) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   4. Ambient background — the "ocean"
   -------------------------------------------------------------------------- */
.ocean-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 12% -10%, rgba(163, 15, 42, 0.55) 0%, transparent 58%),
    radial-gradient(90% 65% at 92% 8%, rgba(255, 255, 255, 0.2) 0%, transparent 55%),
    radial-gradient(120% 90% at 50% 108%, rgba(255, 217, 224, 0.18) 0%, transparent 60%),
    linear-gradient(178deg, var(--ink-800) 0%, var(--ink-900) 55%, #1d0206 100%);
}

.ocean-bg::after {
  /* Fine grain so the big gradients never band */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

.ocean-orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
  will-change: transform;
}

.ocean-orb--1 {
  width: 34vw; height: 34vw;
  top: -8vw; left: -6vw;
  background: radial-gradient(circle, rgba(163, 15, 42, 0.9), transparent 68%);
  animation: drift1 26s var(--ease-in-out) infinite;
}

.ocean-orb--2 {
  width: 28vw; height: 28vw;
  top: 45%; right: -8vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 68%);
  animation: drift2 32s var(--ease-in-out) infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(6vw, 8vh, 0) scale(1.15); }
}
@keyframes drift2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.1); }
  50%      { transform: translate3d(-7vw, -9vh, 0) scale(0.92); }
}

/* Caustic light rays sliding across the page.
   The pattern is drawn on a pseudo-element and animated with `transform` so the
   compositor handles it — animating `background-position` repaints every frame
   and makes scrolling visibly stuttery. */
.caustics {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  overflow: hidden;
  mask-image: radial-gradient(70% 55% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 0%, #000 0%, transparent 75%);
}

.caustics::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  right: -100%;
  background: repeating-linear-gradient(
    104deg,
    transparent 0 60px,
    rgba(255, 233, 238, 0.14) 60px 62px,
    transparent 62px 140px
  );
  animation: caustics 18s linear infinite;
  will-change: transform;
}

@keyframes caustics {
  /* 420px is a whole multiple of the 140px gradient period → seamless loop */
  from { transform: translateX(0); }
  to   { transform: translateX(-420px); }
}

/* --------------------------------------------------------------------------
   5. Preloader
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  background: var(--ink-900);
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  display: grid;
  justify-items: center;
  gap: 1.6rem;
}

.preloader__drop {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50% 50% 50% 6px;
  transform: rotate(45deg);
  background: linear-gradient(150deg, var(--aqua), var(--indigo));
  box-shadow: 0 0 46px rgba(255, 255, 255, 0.45);
  animation: dropPulse 1.7s var(--ease-in-out) infinite;
}

.preloader__drop::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: inherit;
  background: var(--ink-900);
}

@keyframes dropPulse {
  0%, 100% { transform: rotate(45deg) scale(1); }
  50%      { transform: rotate(45deg) scale(0.86); }
}

.preloader__bar {
  width: 190px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.preloader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--indigo), var(--aqua));
  transition: width 0.35s var(--ease-out);
}

.preloader__label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* --------------------------------------------------------------------------
   6. Custom cursor (pointer-fine devices only)
   -------------------------------------------------------------------------- */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  z-index: 8000;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
  will-change: transform;
}

.cursor {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(255, 233, 238, 0.65);
  backdrop-filter: invert(4%);
  -webkit-backdrop-filter: invert(4%);
  transition: opacity 0.3s, width 0.35s var(--ease-spring),
              height 0.35s var(--ease-spring), margin 0.35s var(--ease-spring),
              background-color 0.35s;
}

.cursor-dot {
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  background: var(--aqua);
}

body.cursor-ready .cursor,
body.cursor-ready .cursor-dot { opacity: 1; }

body.cursor-hover .cursor {
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  background: rgba(255, 255, 255, 0.12);
}

@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none !important; }
}

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  padding-block: 1.1rem;
  transition: padding 0.45s var(--ease-out), background-color 0.45s,
              backdrop-filter 0.45s, border-color 0.45s;
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  padding-block: 0.6rem;
  background: rgba(5, 11, 30, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--glass-line);
}

.site-header.is-hidden { transform: translateY(-100%); }
.site-header { transition-property: padding, background-color, backdrop-filter, border-color, transform; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: clamp(104px, 11vw, 132px);
  filter: brightness(0) invert(1) drop-shadow(0 0 18px rgba(255, 255, 255, 0.45));
  transition: filter 0.4s, transform 0.5s var(--ease-spring);
}

.brand:hover img { transform: scale(1.05); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid var(--glass-line);
  border-radius: 99px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-links a {
  position: relative;
  display: block;
  padding: 0.55rem 1.1rem;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.3s;
  z-index: 1;
}

.nav-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(163, 15, 42, 0.9), rgba(255, 255, 255, 0.28));
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.35s var(--ease-out), transform 0.4s var(--ease-spring);
  z-index: -1;
}

.nav-links a:hover,
.nav-links a.is-active { color: #fff; }

.nav-links a:hover::before,
.nav-links a.is-active::before {
  opacity: 1;
  transform: scale(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--glass-line);
  border-radius: 14px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transform: translateX(-50%);
  transition: transform 0.4s var(--ease-spring), opacity 0.25s, top 0.3s var(--ease-out);
}

.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-toggle.is-open span:nth-child(1) { top: 22px; transform: translateX(-50%) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: translateX(-50%) scaleX(0.2); }
.nav-toggle.is-open span:nth-child(3) { top: 22px; transform: translateX(-50%) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 890;
  display: grid;
  align-content: center;
  padding: 6rem 2rem 3rem;
  background: rgba(3, 6, 15, 0.94);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  clip-path: circle(0% at calc(100% - 46px) 46px);
  transition: clip-path 0.7s var(--ease-in-out);
  pointer-events: none;
}

.mobile-menu.is-open {
  clip-path: circle(150% at calc(100% - 46px) 46px);
  pointer-events: auto;
}

.mobile-menu ul {
  display: grid;
  gap: 0.3rem;
}

.mobile-menu a {
  display: block;
  padding: 0.6rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out), color 0.3s;
}

.mobile-menu.is-open a {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i) * 60ms + 180ms);
}

.mobile-menu a:hover { color: var(--aqua); }

.mobile-menu__foot {
  margin-top: 2.6rem;
  display: grid;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.mobile-menu__foot a { font-family: var(--font-body); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   8. Buttons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 99px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s, color 0.35s, border-color 0.35s;
  will-change: transform;
}

.btn i, .btn svg { font-size: 0.95em; }

.btn--primary {
  color: var(--ink-900);
  background: linear-gradient(115deg, var(--aqua-300), var(--aqua) 42%, var(--indigo-400));
  box-shadow: 0 14px 40px -14px rgba(255, 255, 255, 0.75);
}

/* Liquid wipe on hover */
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, #fff, var(--aqua-300));
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
  border-radius: 50% 50% 0 0 / 22% 22% 0 0;
}

.btn--primary:hover::before { transform: translateY(0); border-radius: 0; }

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px -16px rgba(255, 255, 255, 0.9);
}

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--glass-line);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(163, 15, 42, 0.8), rgba(255, 255, 255, 0.25));
  opacity: 0;
  transition: opacity 0.4s;
}

.btn--ghost:hover {
  transform: translateY(-3px);
  border-color: var(--glass-line-lit);
}
.btn--ghost:hover::before { opacity: 1; }

.btn--sm { padding: 0.72rem 1.4rem; font-size: 0.86rem; }

.btn--block { width: 100%; }

/* Arrow that slides on hover */
.btn .arrow { transition: transform 0.4s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(8rem, 16vh, 11rem) clamp(4rem, 8vh, 6rem);
  overflow: hidden;
}

.hero__bubbles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero__title {
  font-size: clamp(2.8rem, 7.2vw, 5.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin-bottom: 1.6rem;
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line > span {
  display: block;
  transform: translateY(115%);
  animation: lineUp 1.05s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 1ms + 250ms);
  animation-play-state: paused;
}

/* Play the entrance once the preloader has handed over the screen. */
body.is-loaded .hero__title .line > span {
  animation-play-state: running;
}

/* If JS never runs, never leave the title hidden. */
html:not(.js) .hero__title .line > span {
  animation: none;
  transform: none;
}

@keyframes lineUp {
  to { transform: translateY(0); }
}

.hero__lede {
  max-width: 34rem;
  color: var(--text-dim);
  font-size: clamp(1rem, 0.45vw + 0.92rem, 1.14rem);
  margin-bottom: 2.2rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 4vw, 3rem);
  padding-top: 2rem;
  border-top: 1px solid var(--glass-line);
}

.hero__stats .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero__stats .stat span {
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* --- Hero bottle stage --- */
.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(72vh, 640px);
}

.hero__halo {
  position: absolute;
  width: min(78%, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.32) 0%, rgba(163, 15, 42, 0.24) 42%, transparent 70%);
  filter: blur(28px);
  animation: haloBreathe 7s var(--ease-in-out) infinite;
}

@keyframes haloBreathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(1.13); opacity: 1; }
}

/* Concentric ripple rings behind the bottle */
.hero__rings {
  position: absolute;
  width: min(90%, 540px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero__rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 233, 238, 0.22);
  border-radius: 50%;
  transform: scale(0.35);
  opacity: 0;
  animation: ripple 5s var(--ease-out) infinite;
  animation-delay: calc(var(--r) * 1.25s);
}

@keyframes ripple {
  0%   { transform: scale(0.35); opacity: 0; }
  18%  { opacity: 0.75; }
  100% { transform: scale(1.15); opacity: 0; }
}

.hero__bottle {
  position: relative;
  z-index: 2;
  height: min(70vh, 620px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 44px 60px rgba(0, 0, 0, 0.7))
          drop-shadow(0 0 42px rgba(255, 255, 255, 0.28));
  animation: floaty 6.5s var(--ease-in-out) infinite;
  will-change: transform;
}

@keyframes floaty {
  0%, 100% { transform: translateY(-12px) rotate(-1.2deg); }
  50%      { transform: translateY(14px) rotate(1.2deg); }
}

/* Floating spec chips around the bottle */
.hero__chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--glass-line);
  border-radius: 99px;
  background: rgba(42, 3, 8, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
  animation: chipFloat 5.5s var(--ease-in-out) infinite;
}

.hero__chip i { color: var(--aqua); }
.hero__chip--a { top: 26%; left: -2%; animation-delay: 0.4s; }
.hero__chip--b { bottom: 24%; right: -4%; animation-delay: 1.6s; }
.hero__chip--c { bottom: 8%; left: 6%; animation-delay: 2.6s; }

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.scroll-cue__track {
  width: 22px;
  height: 36px;
  border: 1px solid var(--glass-line);
  border-radius: 99px;
  position: relative;
}

.scroll-cue__track::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 99px;
  background: var(--aqua);
  animation: cueDrop 1.9s var(--ease-in-out) infinite;
}

@keyframes cueDrop {
  0%   { transform: translateY(0); opacity: 0; }
  30%  { opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* --------------------------------------------------------------------------
   10. Marquee ticker
   -------------------------------------------------------------------------- */
.ticker {
  position: relative;
  padding-block: 1.15rem;
  border-block: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker__row {
  display: flex;
  width: max-content;
  animation: tickerScroll 34s linear infinite;
}

.ticker:hover .ticker__row { animation-play-state: paused; }

.ticker__row > span {
  display: inline-flex;
  align-items: center;
  gap: 2.4rem;
  padding-right: 2.4rem;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-dim);
  white-space: nowrap;
}

.ticker__row b {
  color: #fff;
  font-weight: 600;
}

.ticker__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--aqua);
  flex-shrink: 0;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   11. Glass cards (features grid)
   -------------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 1.8vw, 1.6rem);
}

.g-card {
  position: relative;
  padding: clamp(1.7rem, 2.6vw, 2.3rem);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease-out), border-color 0.45s, background-color 0.45s;
  will-change: transform;
}

/* Cursor-tracking spotlight (x/y set from JS) */
.g-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.16),
    transparent 62%
  );
}

.g-card:hover::before { opacity: 1; }

.g-card:hover {
  transform: translateY(-7px);
  border-color: var(--glass-line-lit);
  background: var(--glass-strong);
}

.g-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.4rem;
  border-radius: 17px;
  font-size: 1.35rem;
  color: var(--aqua);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.16), rgba(163, 15, 42, 0.3));
  border: 1px solid var(--glass-line);
  transition: transform 0.55s var(--ease-spring), color 0.4s, background 0.4s;
}

.g-card:hover .g-card__icon {
  transform: translateY(-4px) rotate(-8deg) scale(1.06);
  color: #fff;
  background: linear-gradient(140deg, var(--aqua-600), var(--indigo));
}

.g-card__title {
  font-size: 1.16rem;
  margin-bottom: 0.6rem;
}

.g-card__text {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.g-card__num {
  position: absolute;
  top: 1.1rem;
  right: 1.4rem;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
  transition: color 0.45s;
}

.g-card:hover .g-card__num { color: rgba(255, 255, 255, 0.12); }

/* --------------------------------------------------------------------------
   12. Purification process timeline
   -------------------------------------------------------------------------- */
.process {
  position: relative;
}

/* 7 steps: one row on wide screens, then 4+3, then 2 columns.
   auto-fit is avoided here — it leaves orphan steps on the last row. */
.process__track {
  position: relative;
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 620px)  { .process__track { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1080px) { .process__track { grid-template-columns: repeat(7, 1fr); } }

/* Animated connector line behind the steps (desktop) */
.process__track::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--indigo), var(--aqua), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease-out);
}

.process__track.is-visible::before { transform: scaleX(1); }

@media (max-width: 900px) {
  .process__track::before { display: none; }
}

.step {
  position: relative;
  text-align: center;
  padding: 0 0.6rem;
}

.step__bubble {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--aqua);
  background: rgba(42, 3, 8, 0.9);
  border: 1px solid var(--glass-line);
  transition: transform 0.5s var(--ease-spring), color 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.step__bubble::after {
  content: attr(data-step);
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-900);
  background: var(--aqua);
}

.step:hover .step__bubble {
  transform: translateY(-6px) scale(1.06);
  color: #fff;
  border-color: var(--glass-line-lit);
  box-shadow: 0 0 34px -6px rgba(255, 255, 255, 0.55);
}

.step h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.87rem;
  line-height: 1.65;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   13. Products
   -------------------------------------------------------------------------- */
/* 5 products: 2 → 3 → 5 across, so the last row is never a lone orphan. */
.products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

@media (min-width: 520px)  { .products__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px)  { .products__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .products__grid { grid-template-columns: repeat(5, 1fr); } }

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.4rem 1.5rem;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
  will-change: transform;
}

.product:hover {
  border-color: var(--glass-line-lit);
  box-shadow: 0 30px 70px -34px rgba(255, 255, 255, 0.55);
}

.product__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  padding: 0.28rem 0.7rem;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, var(--coral), #ff7a6b);
}

.product__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 230px;
  margin-bottom: 1.2rem;
  overflow: hidden;
}

.product__media::before {
  content: "";
  position: absolute;
  bottom: 6%;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.26), transparent 68%);
  filter: blur(18px);
  transition: transform 0.6s var(--ease-out), opacity 0.5s;
}

.product:hover .product__media::before { transform: scale(1.18); }

.product__media img {
  position: relative;
  display: block;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.6));
  transition: transform 0.6s var(--ease-out);
}

.product:hover .product__media img { transform: translateY(-10px) scale(1.06); }

.product__stars {
  display: flex;
  gap: 0.18rem;
  font-size: 0.78rem;
  color: #ffc94d;
  margin-bottom: 0.55rem;
}

.product__name {
  font-size: 1.12rem;
  margin-bottom: 0.15rem;
}

.product__vol {
  font-size: 0.8rem;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.product__price {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
  margin-top: auto;
}

.product__price b {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.product__price del {
  font-size: 0.92rem;
  color: var(--text-faint);
}

.product__price .save {
  margin-left: auto;
  padding: 0.16rem 0.55rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #6ef0b8;
  background: rgba(110, 240, 184, 0.12);
  border: 1px solid rgba(110, 240, 184, 0.3);
}

/* --------------------------------------------------------------------------
   14. Split feature (Why best)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.split__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.split__media::before {
  content: "";
  position: absolute;
  width: min(90%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 15, 42, 0.5), transparent 68%);
  filter: blur(30px);
  animation: haloBreathe 8s var(--ease-in-out) infinite;
}

.split__media img {
  position: relative;
  max-height: 460px;
  width: auto;
  filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.65));
  animation: floaty 7.5s var(--ease-in-out) infinite;
}

.feature-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.feature-list li {
  display: flex;
  gap: 1.1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 18px;
  transition: background-color 0.4s, border-color 0.4s, transform 0.4s var(--ease-out);
}

.feature-list li:hover {
  background: var(--glass);
  border-color: var(--glass-line);
  transform: translateX(6px);
}

.feature-list .ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 1.05rem;
  color: var(--aqua);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(163, 15, 42, 0.3));
  border: 1px solid var(--glass-line);
  transition: transform 0.5s var(--ease-spring);
}

.feature-list li:hover .ico { transform: rotate(-8deg) scale(1.07); }

.feature-list h4 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.feature-list p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.65; }

/* --------------------------------------------------------------------------
   15. Stats counters
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1px;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-lg);
  background: var(--glass-line);
  overflow: hidden;
}

.stats__cell {
  position: relative;
  padding: clamp(2rem, 3.4vw, 3rem) 1.5rem;
  text-align: center;
  background: rgba(42, 3, 8, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background-color 0.45s;
}

.stats__cell:hover { background: rgba(66, 5, 14, 0.85); }

.stats__cell b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.55rem;
  background: linear-gradient(120deg, #fff, var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats__cell span {
  font-size: 1.05rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   16. Certifications
   -------------------------------------------------------------------------- */
.certs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(1rem, 1.8vw, 1.4rem);
}

.cert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--glass-line);
  border-radius: 18px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.45s var(--ease-out), border-color 0.4s;
}

.cert:hover { transform: translateY(-5px); border-color: var(--glass-line-lit); }

.cert .ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 14px;
  font-size: 1.15rem;
  color: var(--aqua);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-line);
}

.cert b { display: block; font-family: var(--font-display); font-size: 0.98rem; }
.cert span { font-size: 0.8rem; color: var(--text-faint); }

/* --------------------------------------------------------------------------
   17. Testimonials
   -------------------------------------------------------------------------- */
.testi__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.testi__row {
  display: flex;
  gap: 1.3rem;
  width: max-content;
  animation: tickerScroll 46s linear infinite;
}

.testi__viewport:hover .testi__row,
.testi__row.is-paused { animation-play-state: paused; }

.testi {
  width: min(88vw, 360px);
  flex-shrink: 0;
  padding: 1.9rem 1.7rem;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.45s var(--ease-out), border-color 0.4s;
}

.testi:hover { transform: translateY(-6px); border-color: var(--glass-line-lit); }

.testi__quote {
  font-size: 2.6rem;
  line-height: 1;
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 0.4rem;
}

.testi__stars { color: #ffc94d; font-size: 0.78rem; margin-bottom: 0.8rem; }

.testi__text {
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--text);
  margin-bottom: 1.4rem;
  text-wrap: pretty;
}

.testi__person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--glass-line);
}

.testi__person img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--glass-line-lit);
}

.testi__person b { display: block; font-family: var(--font-display); font-size: 0.96rem; }
.testi__person span { font-size: 0.82rem; color: var(--text-faint); }

/* --------------------------------------------------------------------------
   18. FAQ accordion
   -------------------------------------------------------------------------- */
.faq__layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.acc { display: grid; gap: 0.8rem; }

.acc__item {
  border: 1px solid var(--glass-line);
  border-radius: 18px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: border-color 0.4s, background-color 0.4s;
}

.acc__item.is-open {
  border-color: var(--glass-line-lit);
  background: var(--glass-strong);
}

.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  transition: color 0.3s;
}

.acc__item.is-open .acc__btn { color: var(--aqua-300); }

.acc__sign {
  position: relative;
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--glass-line);
  transition: transform 0.45s var(--ease-spring), background-color 0.4s, border-color 0.4s;
}

.acc__sign::before,
.acc__sign::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.45s var(--ease-spring), opacity 0.3s;
}

.acc__sign::after { transform: translate(-50%, -50%) rotate(90deg); }

.acc__item.is-open .acc__sign {
  transform: rotate(180deg);
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--glass-line-lit);
}
.acc__item.is-open .acc__sign::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}

.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }

.acc__panel > div { overflow: hidden; }

.acc__panel p {
  padding: 0 1.4rem 1.4rem;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--text-dim);
}

.acc__panel a { color: var(--aqua); text-decoration: underline; text-underline-offset: 3px; }

.faq__aside {
  position: relative;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.faq__aside::before {
  content: "";
  position: absolute;
  width: min(88%, 330px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
  filter: blur(26px);
  animation: haloBreathe 9s var(--ease-in-out) infinite;
}

.faq__aside img {
  position: relative;
  max-height: 430px;
  width: auto;
  filter: drop-shadow(0 32px 44px rgba(0, 0, 0, 0.65));
  animation: floaty 8s var(--ease-in-out) infinite;
}

/* --------------------------------------------------------------------------
   19. Newsletter / CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: clamp(2.4rem, 5vw, 4rem);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 140% at 12% 0%, rgba(163, 15, 42, 0.55), transparent 60%),
    radial-gradient(70% 120% at 92% 100%, rgba(255, 255, 255, 0.22), transparent 58%),
    rgba(42, 3, 8, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  text-align: center;
}

.cta-band__wave {
  position: absolute;
  left: 0; bottom: -1px;
  width: 200%;
  opacity: 0.25;
  animation: waveSlide 14s linear infinite;
}

@keyframes waveSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.newsletter {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0.6rem;
  max-width: 34rem;
  margin: 2rem auto 0;
  padding: 0.45rem;
  border: 1px solid var(--glass-line);
  border-radius: 99px;
  background: rgba(42, 3, 8, 0.6);
  transition: border-color 0.4s, box-shadow 0.4s;
}

.newsletter:focus-within {
  border-color: var(--glass-line-lit);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1.2rem;
  border: 0;
  background: none;
  font-size: 0.95rem;
  outline: none;
}

.newsletter input::placeholder { color: var(--text-faint); }

.app-links {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.app-links .label {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.app-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--glass-line);
  border-radius: 14px;
  background: var(--glass);
  font-size: 0.88rem;
  font-weight: 500;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, background-color 0.4s;
}

.app-links a:hover {
  transform: translateY(-3px);
  border-color: var(--glass-line-lit);
  background: var(--glass-strong);
}

.form-note {
  position: relative;
  z-index: 2;
  min-height: 1.4rem;
  margin-top: 0.9rem;
  font-size: 0.87rem;
  color: var(--aqua-300);
}

.form-note.is-error { color: #ff8b93; }

/* --------------------------------------------------------------------------
   20. Contact
   -------------------------------------------------------------------------- */
.contact__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(1rem, 1.8vw, 1.4rem);
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.5rem;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.45s var(--ease-out), border-color 0.4s;
}

.contact-card:hover { transform: translateY(-5px); border-color: var(--glass-line-lit); }

.contact-card .ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 16px;
  font-size: 1.15rem;
  color: var(--aqua);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(163, 15, 42, 0.3));
  border: 1px solid var(--glass-line);
  transition: transform 0.5s var(--ease-spring);
}

.contact-card:hover .ico { transform: rotate(-8deg) scale(1.06); }

.contact-card span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.contact-card b { font-family: var(--font-display); font-size: 1rem; font-weight: 600; }

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 2.4vw, 2rem);
}

.form-card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-lg);
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.field { position: relative; margin-bottom: 1rem; }

.field input,
.field textarea {
  width: 100%;
  padding: 1.15rem 1.2rem 0.55rem;
  border: 1px solid var(--glass-line);
  border-radius: 15px;
  background: rgba(3, 6, 15, 0.45);
  font-size: 0.95rem;
  outline: none;
  resize: vertical;
  transition: border-color 0.35s, box-shadow 0.35s, background-color 0.35s;
}

.field textarea { min-height: 132px; padding-top: 1.5rem; }

.field label {
  position: absolute;
  top: 0.95rem;
  left: 1.2rem;
  font-size: 0.95rem;
  color: var(--text-faint);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.3s var(--ease-out), color 0.3s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--glass-line-lit);
  background: rgba(3, 6, 15, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.09);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-0.62rem) scale(0.76);
  color: var(--aqua-300);
}

.map-card {
  position: relative;
  min-height: 380px;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--glass);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) saturate(0.75) contrast(0.9);
  transition: filter 0.6s;
}

.map-card:hover iframe { filter: invert(88%) hue-rotate(180deg) saturate(1) contrast(0.95); }

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: var(--section-y);
  padding-top: clamp(4rem, 8vw, 6rem);
  border-top: 1px solid var(--glass-line);
  background: linear-gradient(180deg, transparent, rgba(163, 15, 42, 0.16));
  overflow: hidden;
}

.footer__waves {
  position: absolute;
  top: 0; left: 0;
  width: 200%;
  opacity: 0.2;
  pointer-events: none;
  animation: waveSlide 18s linear infinite;
}

.footer__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.8rem, 3.5vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer__brand img {
  width: 148px;
  margin-bottom: 1.2rem;
  filter: brightness(0) invert(1) drop-shadow(0 0 18px rgba(255, 255, 255, 0.4));
}

.footer__brand p {
  color: var(--text-dim);
  font-size: 0.94rem;
  max-width: 26rem;
}

.footer h5 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua-300);
  margin-bottom: 1.1rem;
}

.footer__col ul { display: grid; gap: 0.6rem; }

.footer__col a,
.footer__col li {
  font-size: 0.93rem;
  color: var(--text-dim);
  transition: color 0.3s, transform 0.3s var(--ease-out);
}

.footer__col a { display: inline-block; }
.footer__col a:hover { color: var(--aqua); transform: translateX(4px); }

.socials {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  font-size: 0.95rem;
  color: var(--text-dim);
  border: 1px solid var(--glass-line);
  background: var(--glass);
  transition: transform 0.45s var(--ease-spring), color 0.35s, background-color 0.35s, border-color 0.35s;
}

.socials a:hover {
  transform: translateY(-4px);
  color: #fff;
  border-color: var(--glass-line-lit);
  background: linear-gradient(140deg, var(--indigo), var(--aqua-600));
}

.footer__bar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--glass-line);
  font-size: 0.86rem;
  color: var(--text-faint);
}

.footer__bar a { color: var(--text-dim); }
.footer__bar a:hover { color: var(--aqua); }

/* --------------------------------------------------------------------------
   22. Floating actions
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 800;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text);
  background: rgba(42, 3, 8, 0.85);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.85);
  transition: opacity 0.45s, visibility 0.45s, transform 0.5s var(--ease-spring), border-color 0.35s;
}

.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--glass-line-lit); }

.to-top svg { position: absolute; inset: -1px; transform: rotate(-90deg); }
.to-top circle {
  fill: none;
  stroke: var(--aqua);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: var(--circ, 163);
  stroke-dashoffset: var(--dash, 163);
  transition: stroke-dashoffset 0.15s linear;
}

.to-top i { position: relative; z-index: 2; font-size: 0.9rem; }

.whatsapp-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 5.4rem;
  z-index: 800;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(140deg, #25d366, #0f9d58);
  box-shadow: 0 14px 34px -12px rgba(37, 211, 102, 0.85);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.4s;
}

.whatsapp-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: fabPing 2.6s var(--ease-out) infinite;
}

@keyframes fabPing {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}

.whatsapp-fab:hover { transform: scale(1.1); }

/* Scroll progress bar under the header */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 950;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--indigo), var(--aqua), var(--foam));
  will-change: transform;
}

/* --------------------------------------------------------------------------
   23. Reveal-on-scroll system
   -------------------------------------------------------------------------- */
/* NOTE: no `filter: blur()` here — animating a blur on large containers during
   scroll is the #1 cause of janky page scrolling. Reveals use only opacity +
   transform, which the compositor animates cheaply. */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.85s var(--ease-out) var(--delay, 0ms),
    transform 0.95s var(--ease-out) var(--delay, 0ms);
}

[data-reveal="left"]  { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="zoom"]  { transform: scale(0.9); }
[data-reveal="flip"]  { transform: perspective(900px) rotateX(-14deg) translateY(30px); }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* If JS never runs (blocked/errored), never hide the content behind reveals. */
html:not(.js) [data-reveal] {
  opacity: 1;
  transform: none;
}

/* When GSAP is available it drives these transforms (idle bob + scroll scrub
   composed together). Drop the CSS ambient animations so the two never fight
   over the same `transform` property. */
html.gsap-active .hero__bottle,
html.gsap-active .ocean-orb--1,
html.gsap-active .ocean-orb--2,
html.gsap-active .split__media img,
html.gsap-active .faq__aside img {
  animation: none;
}

/* --------------------------------------------------------------------------
   24. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --shell: min(1240px, 100% - 2.4rem); }

  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-actions .btn--desktop { display: none; }

  .hero { min-height: auto; text-align: center; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__grid > .hero__copy { order: 2; }
  .hero__stage { order: 1; min-height: 54vh; }
  .hero__bottle { height: min(52vh, 430px); }
  .hero__lede { margin-inline: auto; }
  .hero__cta, .hero__stats { justify-content: center; }
  .hero__chip--a { left: 0; }
  .hero__chip--b { right: 0; }
  .hero__chip--c { display: none; }
  .scroll-cue { display: none; }

  .split { grid-template-columns: 1fr; }
  .split__media { min-height: 320px; order: 2; }
  .split__media img { max-height: 320px; }

  .faq__layout { grid-template-columns: 1fr; }
  .faq__aside { display: none; }

  .contact__layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --shell: min(1240px, 100% - 2rem); --radius: 18px; --radius-lg: 24px; }

  .section-head { margin-bottom: 2.4rem; }
  .hero__chip { font-size: 0.72rem; padding: 0.5rem 0.85rem; }
  .newsletter { flex-direction: column; border-radius: 22px; }
  .newsletter .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { justify-content: center; text-align: center; }
  .to-top, .whatsapp-fab { right: 1rem; }
  .whatsapp-fab { bottom: 4.9rem; }
}

/* --------------------------------------------------------------------------
   25. Reduced motion — respect the OS setting
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .hero__title .line > span { transform: none; }
  .ticker__row, .testi__row { animation: none; }
  .cursor, .cursor-dot { display: none; }
}
