/* ============================================================
   ZASSPA — CAPA ABISAL «El Descenso»
   La página es una piscina: superficie (hero), solárium (catálogo)
   y fondo (footer). Se carga después de showcase.css.
   Todo decorativo, todo degradable, todo generado por código.
   ============================================================ */

:root {
  --sol: #f4a259;            /* acento cálido: sol de solárium */
  --depth: 0;                /* 0 superficie → 1 fondo (lo fija abyss.js) */
}

/* ============================================================
   1) SPLASH DE INMERSIÓN
   ============================================================ */
.dive-splash {
  position: fixed;
  inset: 0;
  z-index: 2147483200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 80% at 70% -10%, rgba(44, 192, 240, 0.22) 0%, transparent 55%),
    linear-gradient(178deg, #02141c 0%, #04222d 55%, #06303e 100%);
  transform: translateY(0);
  will-change: transform;
}
.dive-splash.dive-rise {
  transition: transform 1s cubic-bezier(0.7, 0, 0.2, 1);
  transform: translateY(-104%);
}
/* Borde de salida ondulado: cuelga por debajo del contenedor */
.dive-wave {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: clamp(40px, 6vw, 90px);
  display: block;
}
.dive-wave path { fill: #06303e; }
.dive-inner { text-align: center; }
/* La gota: flota, brilla y respira sobre sus propias ondas */
.dive-figure {
  position: relative;
  display: inline-block;
  padding-bottom: 30px; /* sitio para las ondas */
}
.dive-drop {
  display: block;
  width: clamp(52px, 7vw, 74px);
  height: auto;
  filter:
    drop-shadow(0 0 26px rgba(62, 230, 214, 0.55))
    drop-shadow(0 0 70px rgba(44, 192, 240, 0.3));
  animation: diveBob 2.6s ease-in-out infinite;
  transform-origin: 50% 100%;
}
@keyframes diveBob {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  50% { transform: translateY(-12px) scale(0.97, 1.04); }
}
/* Ondas concéntricas bajo la gota, en perspectiva */
.dive-ripples {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 0;
}
.dive-ripples i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 110px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(62, 230, 214, 0.55);
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
  animation: rippleGrow 2.6s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
}
.dive-ripples i:nth-child(2) { animation-delay: 0.85s; }
.dive-ripples i:nth-child(3) { animation-delay: 1.7s; }
@keyframes rippleGrow {
  0% { transform: translate(-50%, -50%) scale(0.18); opacity: 0; }
  18% { opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}
.dive-title {
  margin: 1.4rem 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  color: var(--foam);
  overflow: hidden;
  line-height: 1.08;
}
.dive-title > span {
  display: inline-block;
  transform: translateY(110%);
  animation: diveRise 0.9s var(--ease-out-soft) 0.25s both;
}
.dive-sub {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  color: var(--aqua);
  opacity: 0;
  animation: diveFade 0.8s ease 0.75s both;
}
@keyframes diveRise { to { transform: translateY(0); } }
@keyframes diveFade { to { opacity: 1; } }
/* burbujas del splash */
.dive-bubbles span {
  position: absolute;
  bottom: -20px;
  width: var(--s, 10px);
  height: var(--s, 10px);
  left: var(--x, 50%);
  border-radius: 50%;
  border: 1px solid rgba(62, 230, 214, 0.5);
  background: radial-gradient(circle at 32% 30%, rgba(238, 250, 247, 0.35), rgba(62, 230, 214, 0.06) 60%);
  animation: diveBubble var(--t, 3s) linear var(--d, 0s) infinite;
}
@keyframes diveBubble {
  from { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: 0.9; }
  to { transform: translateY(-105vh) translateX(14px); opacity: 0; }
}
.dive-seen .dive-splash { display: none; }
body.dive-lock { overflow: hidden; }

/* ============================================================
   2) CURSOR LÍQUIDO (solo puntero fino)
   ============================================================ */
html.lq-on, html.lq-on body, html.lq-on a, html.lq-on button,
html.lq-on [role="button"], html.lq-on summary, html.lq-on label,
html.lq-on .product-card, html.lq-on .guide-card { cursor: none; }
.lq-dot, .lq-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483100;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-100px, -100px);
}
.lq-dot {
  width: 8px;
  height: 8px;
  background: var(--aqua);
  box-shadow: 0 0 14px rgba(62, 230, 214, 0.9);
  mix-blend-mode: screen;
}
.lq-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(62, 230, 214, 0.55);
  transition: width 0.28s var(--ease-out-soft), height 0.28s var(--ease-out-soft),
              border-color 0.28s ease, background 0.28s ease;
}
.lq-ring.lq-hover {
  width: 58px;
  height: 58px;
  border-color: rgba(62, 230, 214, 0.9);
  background: rgba(62, 230, 214, 0.08);
}
.lq-ring.lq-down { width: 26px; height: 26px; }

/* ============================================================
   3) PROFUNDÍMETRO
   ============================================================ */
.depth-gauge {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  height: min(58vh, 520px);
  width: 44px;
  /* por debajo de teasers (85), pop-up (90) y modales (120):
     cuando algo emerge, el medidor se hunde con el resto del mundo */
  z-index: 70;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  font-family: var(--font-display);
}
.depth-gauge.dg-show { opacity: 1; }
.dg-scale {
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  width: 10px;
  background:
    repeating-linear-gradient(to bottom,
      rgba(10, 34, 41, 0.45) 0 1px, transparent 1px calc(100% / 24));
  border-right: 1.5px solid rgba(10, 34, 41, 0.45);
}
/* En zonas oscuras la regla pasa a espuma */
.dg-dark .dg-scale {
  background:
    repeating-linear-gradient(to bottom,
      rgba(238, 250, 247, 0.5) 0 1px, transparent 1px calc(100% / 24));
  border-right-color: rgba(238, 250, 247, 0.5);
}
.dg-cursor {
  position: absolute;
  right: 6px;
  top: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: top 0.18s linear;
}
.dg-cursor::after {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--sol);
  box-shadow: 0 0 10px rgba(244, 162, 89, 0.8);
}
.dg-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(10, 34, 41, 0.75);
  background: rgba(246, 243, 234, 0.82);
  border: 1px solid rgba(10, 34, 41, 0.14);
  border-radius: 6px;
  padding: 2px 7px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.dg-dark .dg-num {
  color: var(--foam);
  background: rgba(2, 20, 28, 0.55);
  border-color: rgba(238, 250, 247, 0.2);
}
.dg-top, .dg-bottom {
  position: absolute;
  right: 4px;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(10, 34, 41, 0.5);
  writing-mode: vertical-rl;
}
.dg-dark .dg-top, .dg-dark .dg-bottom { color: rgba(238, 250, 247, 0.55); }
.dg-top { top: -14px; transform: translateY(-100%); }
.dg-bottom { bottom: -14px; transform: translateY(100%); }
/* En móvil el profundímetro se queda, pero discreto: más fino y sin rótulos */
@media (max-width: 900px) {
  .depth-gauge { right: 5px; width: 26px; height: 42vh; }
  .dg-top, .dg-bottom { display: none; }
  .dg-scale { right: 5px; width: 7px; }
  .dg-num { font-size: 0.58rem; padding: 1px 5px; letter-spacing: 0.02em; }
  .dg-cursor { right: 2px; gap: 4px; }
  .dg-cursor::after { width: 12px; }
  .dg-dot { right: 7px; width: 3px; height: 3px; }
}

/* ============================================================
   4) FRANJA DE STATS — bajo la orilla
   ============================================================ */
.stats-strip {
  max-width: 1240px;
  margin: clamp(0.6rem, 2vw, 1.6rem) auto 0;
  padding: 0 clamp(1.2rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.8rem, 2vw, 2rem);
}
.stat {
  position: relative;
  padding: 0.4rem 0 0.4rem 1rem;
}
.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 8%;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--aqua), transparent);
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--ink-90);
  font-variant-numeric: tabular-nums;
}
.stat-num .stat-suffix {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 0.62em;
  color: #0e98a8;
  margin-left: 0.08em;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(10, 34, 41, 0.6);
}
@media (max-width: 720px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   5) MARQUESINA GIGANTE
   ============================================================ */
.mq {
  overflow: hidden;
  padding: clamp(1.4rem, 3.5vw, 3rem) 0;
  user-select: none;
}
.mq-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: mqScroll var(--mq-t, 38s) linear infinite;
}
.mq span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(10, 34, 41, 0.32);
  padding-right: 1.2rem;
}
.mq span em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  -webkit-text-stroke: 0;
  color: var(--aqua-2);
}
.mq span strong {
  font-weight: 800;
  -webkit-text-stroke: 0;
  color: var(--sol);
}
@keyframes mqScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   6) SEGUNDA ORILLA — bajada al abismo antes del footer
   ============================================================ */
.abyss-divider {
  line-height: 0;
  margin-bottom: -1px;
}
.abyss-divider svg {
  display: block;
  width: 100%;
  height: clamp(46px, 7vw, 100px);
}
.abyss-divider .aw-back { fill: rgba(4, 34, 45, 0.25); }
.abyss-divider .aw-front { fill: #04222d; }

/* ============================================================
   7) SPLIT-TEXT en titulares
   ============================================================ */
.has-split[data-reveal] { opacity: 1; transform: none; }
.has-split .sw {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.has-split .swi {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.7s var(--ease-out-soft) var(--swd, 0s);
  will-change: transform;
}
.has-split.is-in .swi { transform: translateY(0); }

/* ============================================================
   8) CARDS 3D — tilt + barrido especular + resplandor
   ============================================================ */
.product-card, .pack-card, .guide-card {
  position: relative;
  transform-style: preserve-3d;
}
.product-card::after, .pack-card::after, .guide-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    360px circle at calc(var(--mx, 0.5) * 100%) calc(var(--my, 0.5) * 100%),
    rgba(255, 255, 255, 0.22), transparent 46%
  );
  z-index: 3;
}
.pack-card::after {
  background: radial-gradient(
    420px circle at calc(var(--mx, 0.5) * 100%) calc(var(--my, 0.5) * 100%),
    rgba(62, 230, 214, 0.16), transparent 48%
  );
}
.product-card:hover::after, .pack-card:hover::after, .guide-card:hover::after { opacity: 1; }
html.lq-on .product-card:hover,
html.lq-on .guide-card:hover {
  transform: perspective(950px)
    rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg))
    translateY(-6px);
  box-shadow: 0 26px 60px rgba(4, 28, 37, 0.18), 0 0 44px rgba(62, 230, 214, 0.12);
}
html.lq-on .pack-card:hover {
  transform: perspective(950px)
    rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg))
    translateY(-6px);
}

/* ============================================================
   9) FONDO DE LA PISCINA — footer
   ============================================================ */
.site-footer { position: relative; overflow: hidden; }
.floor-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}
/* retícula de azulejos */
.floor-tiles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(62, 230, 214, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 230, 214, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 45%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%);
}
.floor-drain {
  position: absolute;
  right: clamp(1rem, 6vw, 5rem);
  bottom: 1.1rem;
  width: 44px;
  height: 44px;
  z-index: 1;
  opacity: 0.5;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.8s var(--ease-spring), opacity 0.3s ease;
}
.floor-drain:hover { opacity: 0.9; }
.floor-drain.spin { transform: rotate(360deg); }

/* ============================================================
   10) AMBIENTE POR PROFUNDIDAD + varios
   ============================================================ */
/* La zona de packs y el footer se hunden un poco más según bajas */
.packs-section, .site-footer, .newsletter {
  filter: brightness(calc(1 - var(--depth) * 0.06));
}
/* La marquesina se inclina con la velocidad del scroll (JS fija --mq-skew) */
.mq-track { transform: skewY(var(--mq-skew, 0deg)); }

/* ============================================================
   11) ITERACIÓN 1 — materia viva en secciones tranquilas
   ============================================================ */
/* Iconos de ventajas: línea con halo aqua */
.perk-icon-svg {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border-radius: 50%;
  color: #0e98a8;
  background: radial-gradient(circle at 35% 30%, rgba(62, 230, 214, 0.22), rgba(44, 192, 240, 0.08));
  border: 1px solid rgba(14, 152, 168, 0.3);
  box-shadow: 0 6px 22px rgba(14, 152, 168, 0.14), inset 0 0 14px rgba(62, 230, 214, 0.1);
  font-size: 0; /* anula el tamaño de emoji heredado */
}
.perk-icon-svg svg { width: 26px; height: 26px; }
.perk:hover .perk-icon-svg {
  color: #0b7a87;
  box-shadow: 0 10px 30px rgba(14, 152, 168, 0.28), inset 0 0 20px rgba(62, 230, 214, 0.2);
  transition: box-shadow 0.4s ease;
}

/* Testimonios: flotación de cuerpos en el agua + comilla serif gigante */
@keyframes floatBob {
  0%, 100% { transform: translateY(0) rotate(var(--bob-r, 0deg)); }
  50% { transform: translateY(-9px) rotate(calc(var(--bob-r, 0deg) * -1)); }
}
.testimonial.is-in { animation: floatBob var(--bob-t, 7s) ease-in-out var(--bob-d, 0s) infinite; }
.testimonial:nth-child(1) { --bob-r: 0.5deg; --bob-t: 7.5s; --bob-d: 0.2s; }
.testimonial:nth-child(2) { --bob-r: -0.4deg; --bob-t: 6.4s; --bob-d: 1.1s; }
.testimonial:nth-child(3) { --bob-r: 0.6deg; --bob-t: 8.2s; --bob-d: 0.6s; }
.testimonial:hover { animation-play-state: paused; }
.testimonial { position: relative; }
.testimonial::before {
  content: "“";
  position: absolute;
  top: -0.18em;
  left: 0.12em;
  font-family: var(--font-accent);
  font-size: 5.2rem;
  line-height: 1;
  color: rgba(62, 230, 214, 0.28);
  pointer-events: none;
}
.testimonial.featured::before { color: rgba(62, 230, 214, 0.35); }

/* Nosotros: anillos de onda emanando del círculo Z */
.about-circle { position: relative; }
.about-circle::before, .about-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(62, 230, 214, 0.4);
  animation: ringOut 4.2s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
  pointer-events: none;
}
.about-circle::after { animation-delay: 2.1s; }
@keyframes ringOut {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(1.65); opacity: 0; }
}

/* Guía: zoom lento + viraje al aqua en hover */
.guide-img { overflow: hidden; }
.guide-img img { transition: transform 1.1s var(--ease-out-soft), filter 0.6s ease; }
.guide-card:hover .guide-img img {
  transform: scale(1.07) rotate(0.4deg);
  filter: saturate(1.15) hue-rotate(-6deg);
}

/* Newsletter: burbujas que suben desde el fondo */
.newsletter { position: relative; overflow: hidden; }
.nl-bubbles span {
  position: absolute;
  bottom: -24px;
  left: var(--x, 50%);
  width: var(--s, 8px);
  height: var(--s, 8px);
  border-radius: 50%;
  border: 1px solid rgba(62, 230, 214, 0.4);
  background: radial-gradient(circle at 32% 30%, rgba(238, 250, 247, 0.28), rgba(62, 230, 214, 0.05) 60%);
  animation: nlBubble var(--t, 9s) linear var(--d, 0s) infinite;
  pointer-events: none;
}
@keyframes nlBubble {
  from { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.75; }
  to { transform: translateY(-460px) translateX(18px); opacity: 0; }
}
.newsletter > :not(.nl-bubbles) { position: relative; z-index: 1; }

/* Hero: el eslogan acento respira con un brillo que lo recorre */
.hero-tagline-accent {
  background: linear-gradient(100deg, var(--aqua) 0%, #bffff5 26%, var(--aqua) 52%, var(--aqua-2) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: taglineSheen 5.5s ease-in-out infinite;
}
@keyframes taglineSheen {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

/* Marquesina: aire respecto al banner claim */
.claim-banner + .mq { margin-top: clamp(0.6rem, 2vw, 1.6rem); }

/* ============================================================
   12) ITERACIÓN 2 — overlays de agua profunda y detalle fino
   ============================================================ */
/* Al abrir cualquier overlay, el mundo se hunde: tinte agua + blur */
.modal-overlay, .cart-overlay, .popup-overlay {
  background: rgba(2, 20, 28, 0.55);
  backdrop-filter: blur(7px) saturate(1.1);
  -webkit-backdrop-filter: blur(7px) saturate(1.1);
}

/* FAQ: el «+» hereda el aqua profundo y el item abierto se ilumina */
.faq-item summary::after { color: #0e98a8; }
.faq-item {
  border: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item[open] {
  border-color: rgba(62, 230, 214, 0.45);
  box-shadow: 0 10px 34px rgba(14, 152, 168, 0.16), 0 0 0 4px rgba(62, 230, 214, 0.07);
}
.faq-item[open] summary { color: #0b7a87; }
.faq-item p {
  border-left: 2px solid rgba(62, 230, 214, 0.5);
  margin-left: 1.5rem;
  padding-left: 1rem;
}

/* Profundímetro: puntos de capítulo */
.dg-dot {
  position: absolute;
  right: 13px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(14, 152, 168, 0.85);
  transform: translateY(-50%);
  box-shadow: 0 0 6px rgba(62, 230, 214, 0.7);
}
.dg-dark .dg-dot { background: var(--aqua); }

/* ============================================================
   12b) TEASERS EN MÓVIL — hoja que emerge del fondo del agua
   (en escritorio siguen anclados al menú con su flecha)
   ============================================================ */
@media (max-width: 900px) {
  .feature-teaser.is-mobile {
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0;
    width: 100%;
    max-width: none;
    border: none;
    border-top: 1px solid rgba(62, 230, 214, 0.4);
    border-radius: 22px 22px 0 0;
    background:
      radial-gradient(120% 100% at 50% 0%, rgba(62, 230, 214, 0.1) 0%, transparent 55%),
      linear-gradient(180deg, #06303e 0%, #02141c 100%);
    box-shadow: 0 -18px 50px rgba(2, 20, 28, 0.5), 0 0 44px rgba(62, 230, 214, 0.1);
    padding: 1.5rem 1.3rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
    opacity: 1;
    transform: translateY(105%);
    /* salida ágil; la entrada lenta la define .is-visible */
    transition: transform 0.4s cubic-bezier(0.5, 0, 0.75, 0.4), opacity 0.3s ease;
  }
  .feature-teaser.is-mobile.is-visible {
    transform: translateY(0);
    transition: transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  }
  /* el contenido entra por olas, detrás de la hoja */
  .feature-teaser.is-mobile .feature-teaser-eyebrow,
  .feature-teaser.is-mobile .feature-teaser-title,
  .feature-teaser.is-mobile .feature-teaser-text,
  .feature-teaser.is-mobile .feature-teaser-cta {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.6s var(--ease-out-soft);
  }
  .feature-teaser.is-mobile.is-visible .feature-teaser-eyebrow,
  .feature-teaser.is-mobile.is-visible .feature-teaser-title,
  .feature-teaser.is-mobile.is-visible .feature-teaser-text,
  .feature-teaser.is-mobile.is-visible .feature-teaser-cta {
    opacity: 1;
    transform: translateY(0);
  }
  .feature-teaser.is-mobile.is-visible .feature-teaser-eyebrow { transition-delay: 0.4s; }
  .feature-teaser.is-mobile.is-visible .feature-teaser-title { transition-delay: 0.5s; }
  .feature-teaser.is-mobile.is-visible .feature-teaser-text { transition-delay: 0.6s; }
  .feature-teaser.is-mobile.is-visible .feature-teaser-cta { transition-delay: 0.72s; }
  .feature-teaser.is-mobile::before { display: none; } /* fuera la flecha huérfana */
  /* asa de arrastre */
  .feature-teaser.is-mobile::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 4px;
    border-radius: 4px;
    background: rgba(238, 250, 247, 0.28);
  }
  .feature-teaser.is-mobile .feature-teaser-eyebrow { color: var(--aqua); }
  .feature-teaser.is-mobile .feature-teaser-title {
    color: var(--foam);
    font-size: 1.2rem;
  }
  .feature-teaser.is-mobile .feature-teaser-text { color: rgba(238, 250, 247, 0.72); }
  .feature-teaser.is-mobile .feature-teaser-close {
    color: rgba(238, 250, 247, 0.65);
    top: 0.85rem;
    right: 0.85rem;
    font-size: 1rem;
    padding: 0.4rem;
  }
}

/* ============================================================
   12d) NAVEGACIÓN Y QUIZ — fluidez y toques sin resaca
   ============================================================ */
/* Los saltos a #packs, #productos, etc. ahora nadan, no saltan */
html { scroll-behavior: smooth; }

/* En pantallas táctiles el «hover» se queda pegado al botón que cae
   bajo el dedo cuando el quiz pinta la siguiente pregunta. Fuera. */
@media (hover: none) {
  .quiz-option:hover {
    border-color: var(--purple-200);
    background: var(--white);
    transform: none;
  }
}

/* Al elegir una opción del test: que se VEA lo elegido antes de avanzar */
.quiz-option { position: relative; }
.quiz-option.is-picked {
  border-color: #0e98a8;
  background: rgba(62, 230, 214, 0.14);
  transform: none;
}
.quiz-option.is-picked::after {
  content: "✓";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #0b7a87;
  font-weight: 800;
  font-size: 1.05rem;
  animation: qCheckPop 0.35s var(--ease-spring);
}
@keyframes qCheckPop {
  from { transform: translateY(-50%) scale(0); }
}
/* mientras tanto, las descartadas se apagan */
.quiz-options:has(.is-picked) .quiz-option:not(.is-picked) { opacity: 0.4; }

/* Y la siguiente pregunta entra nadando, no de golpe */
.quiz-question { animation: qFadeUp 0.5s var(--ease-out-soft) both; }
.quiz-option {
  animation: qFadeUp 0.55s var(--ease-out-soft) both;
  animation-delay: calc(var(--qi, 0) * 70ms + 80ms);
}
.quiz-result-card { animation: qFadeUp 0.55s var(--ease-out-soft) both; }
.quiz-result-card:nth-child(2) { animation-delay: 90ms; }
.quiz-result-card:nth-child(3) { animation-delay: 180ms; }
.quiz-result-card:nth-child(4) { animation-delay: 270ms; }
@keyframes qFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* La barra final del quiz (Repetir test / Añadir todo): de franja blanca
   suelta a muelle acristalado anclado al borde del modal */
@media (max-width: 720px) {
  .quiz-modal .quiz-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin: 1rem -1.4rem 0;
    padding: 0.8rem 1.4rem calc(0.8rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 253, 248, 0.88);
    backdrop-filter: blur(9px) saturate(1.05);
    -webkit-backdrop-filter: blur(9px) saturate(1.05);
    border-top: 1px solid rgba(14, 152, 168, 0.28);
    box-shadow: 0 -12px 30px rgba(4, 28, 37, 0.1);
  }
}
@media (max-width: 560px) {
  .quiz-modal .quiz-actions {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ============================================================
   12c) SUAVIDAD DE ENTRADA — cards y fotos sin golpe
   ============================================================ */
/* Arregla el «pop»: la regla anti-conflicto de hover de showcase.css
   quitaba la opacidad de la transición y las cards aparecían de golpe.
   Aquí la reincorporamos (con su escalonado) manteniendo el hover ágil. */
[data-reveal].is-in.product-card,
[data-reveal].is-in.pack-card,
[data-reveal].is-in.guide-card,
[data-reveal].is-in.testimonial,
[data-reveal].is-in.perk {
  transition:
    opacity 0.9s var(--ease-out-soft) var(--rv-delay, 0s),
    transform 0.55s var(--ease-out-soft),
    box-shadow 0.45s var(--ease-out-soft),
    border-color 0.3s ease;
}

/* Las fotos emergen del agua: borrosas y tenues hasta que cargan */
html.js-imgfx .product-card img:not(.img-in),
html.js-imgfx .pack-thumb img:not(.img-in),
html.js-imgfx .guide-img img:not(.img-in),
html.js-imgfx .quiz-visual img:not(.img-in) { opacity: 0; }
html.js-imgfx .product-card img.img-in,
html.js-imgfx .pack-thumb img.img-in,
html.js-imgfx .guide-img img.img-in,
html.js-imgfx .quiz-visual img.img-in {
  animation: imgSurface 0.85s var(--ease-out-soft);
}
@keyframes imgSurface {
  from { opacity: 0; filter: blur(9px) brightness(1.15); transform: scale(1.035); }
  to { opacity: 1; filter: blur(0) brightness(1); transform: scale(1); }
}

/* ============================================================
   13) ITERACIÓN 3 — cascada de letras del hero
   ============================================================ */
.hl-w { display: inline-block; white-space: nowrap; }
.hl-c {
  display: inline-block;
  animation: hlRise 0.62s var(--ease-out-soft) both;
}
@keyframes hlRise {
  from { opacity: 0; transform: translateY(0.5em) rotate(4deg); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0) rotate(0deg); filter: blur(0); }
}

/* ============================================================
   REDUCED MOTION — todo quieto, todo visible
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .quiz-question, .quiz-option, .quiz-result-card { animation: none; }
  .feature-teaser.is-mobile .feature-teaser-eyebrow,
  .feature-teaser.is-mobile .feature-teaser-title,
  .feature-teaser.is-mobile .feature-teaser-text,
  .feature-teaser.is-mobile .feature-teaser-cta {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .dive-splash { display: none; }
  .lq-dot, .lq-ring { display: none; }
  html.lq-on, html.lq-on * { cursor: auto; }
  .depth-gauge { display: none; }
  .mq-track { animation: none; transform: none; }
  .has-split .swi { transform: none; transition: none; }
  .floor-canvas { display: none; }
  .stat-num { transition: none; }
  .testimonial.is-in { animation: none; }
  .about-circle::before, .about-circle::after { animation: none; display: none; }
  .nl-bubbles { display: none; }
  .hero-tagline-accent { animation: none; }
  .hero-visual, .hero-copy { transform: none !important; }
}
