/* =====================================================================
   HIDRATACCIÓN — Brand-accurate scroll-driven website styles
   Colors: #0EA4CF (cyan) · #065F75 (dark teal) · #EEF7F8 (bg-light)
   Fonts: Barlow Condensed (display) · DM Sans (body)
   ===================================================================== */

/* ── CSS Custom Properties ────────────────────────────────────────── */
:root {
  --bg-light:       #EEF7F8;
  --bg-dark:        #065F75;
  --bg-mid:         #297786;
  --brand-primary:  #0EA4CF;
  --brand-dark:     #065F75;
  --brand-mid:      #297786;
  --brand-light:    #78B4BC;
  --text-on-light:  #0D2B33;
  --text-on-dark:   #EEF7F8;
  --text-muted:     #2A5F70;
  --font-display:   'Barlow Condensed', sans-serif;
  --font-body:      'DM Sans', sans-serif;

  --section-label-size: 0.68rem;
  --body-text-size:     clamp(0.9rem, 1.1vw, 1.05rem);
  --transition-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: auto;
  overflow-x: hidden; /* on html (not body) — prevents horizontal scroll at viewport level without affecting position:fixed elements */
}

body {
  background: var(--bg-light);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden; /* trust bar is self-contained; body hidden prevents layout shift */
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Grain overlay ────────────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── LOADER ───────────────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
}

.loader-bar-track {
  width: min(320px, 70vw);
  height: 2px;
  background: rgba(238, 247, 248, 0.15);
  border-radius: 1px;
  overflow: hidden;
}

#loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-primary), #78B4BC);
  border-radius: 1px;
  transition: width 0.1s linear;
}

#loader-percent {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(238, 247, 248, 0.5);
}

/* ── HEADER ───────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  height: 64px;
  display: flex;
  align-items: center;
  mix-blend-mode: normal;
  transition: background 0.4s ease;
}

.site-header.scrolled {
  background: rgba(238, 247, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 95, 117, 0.08);
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 38px;
  width: auto;
  transition: opacity 0.2s ease;
}

.nav-logo:hover img { opacity: 0.8; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-light);
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-link:hover { opacity: 1; color: var(--brand-dark); }

.nav-cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  background: var(--brand-dark);
  padding: 0.55rem 1.4rem;
  border-radius: 2rem;
  transition: background 0.25s ease, transform 0.2s var(--transition-spring);
}

.nav-cta:hover {
  background: var(--brand-primary);
  transform: translateY(-1px);
}

.nav-cta:active { transform: translateY(0); }

/* ── HERO STANDALONE ──────────────────────────────────────────────── */
/* Los tonos salen de muestrear el cielo de la propia foto, así el degradado
   de la izquierda y la foto de la derecha son el mismo cielo. */
:root {
  --cielo-alto:  #3C70AC;
  --cielo-medio: #6D9FD0;
  --cielo-bajo:  #8BB7D2;
  --cielo-pie:   #ACC2D0;
}

.hero-standalone {
  position: relative;
  z-index: 20;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  /* Continuación del cielo hacia la izquierda: la foto no llega a cubrir
     todo el ancho en pantallas anchas y este degradado la prolonga. */
  /* El cielo llega hasta abajo sin blanquearse: la disolución a blanco la
     hace una sola capa por encima de todo (.hero-velo). Antes cada capa
     tenía su propio desvanecido y los tres blancos se sumaban formando
     una mancha clara en el medio. */
  background: linear-gradient(
    to bottom,
    var(--cielo-medio) 0%,
    var(--cielo-bajo)  38%,
    var(--cielo-pie)   68%,
    #C9D8DF            100%
  );
}

/* Foto de fondo, anclada a la derecha para que el trekker quede en la esquina */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Alto completo y ancho automático: así entra la figura entera con la cresta
   rocosa bajo los pies, que es lo que pide la referencia. Anclada a la
   derecha para que el trekker quede en la esquina y el cielo se lleve
   la mayor parte de la pantalla. */
/* Selector acotado a la foto: si se apunta a `.hero-bg img` también alcanza
   a las sierras y las saca del flujo, dejándolas sin alto. */
.hero-foto img {
  position: absolute;
  right: -2%;   /* sangra por el borde para que no quede una franja al costado */
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
  /* Dos disoluciones: el borde izquierdo se funde con el degradado del cielo
     y la base se funde con el blanco que entrega la página. */
  /* Solo se disuelve el borde izquierdo, contra el cielo. La base la
     resuelve el velo único, así el trekker se ve entero y no se corta. */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 48%);
  mask-image: linear-gradient(to right, transparent 0%, #000 48%);
}

/* Sierras de fondo: la foto sola no llega a cubrir el ancho del hero
   (le faltan unos 900px de escena). Estas capas la continúan hacia la
   izquierda, muy desaturadas para que lean como cordón lejano y no
   compitan con el trekker. */
/* Cordón lejano. Va por encima de la capa que disuelve la costura, si no
   queda tapado, y se apoya en la base del hero donde nace la bruma.
   Enfriado y desaturado: a esa distancia la atmósfera lava el color. */
.hero-cordon {
  position: absolute;
  left: -3%;
  bottom: 0;
  width: 76%;
  z-index: 3;
  display: block;
  pointer-events: none;
  opacity: 0.62;
  filter: saturate(0.26) brightness(1.16) contrast(0.94) hue-rotate(-10deg);
  /* Se funde solo por arriba y por la derecha; abajo lo toma el velo. */
  -webkit-mask-image:
    linear-gradient(to right,  #000 52%, transparent 94%),
    linear-gradient(to bottom, transparent 2%, #000 34%);
  mask-image:
    linear-gradient(to right,  #000 52%, transparent 94%),
    linear-gradient(to bottom, transparent 2%, #000 34%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* Velo único: es lo ÚNICO que blanquea el hero. Una sola rampa pareja de
   arriba abajo, por encima de foto y cordón, para que el degradado se lea
   natural y no como una mancha. */
.hero-velo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52%;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0)    0%,
    rgba(255, 255, 255, 0.16) 34%,
    rgba(255, 255, 255, 0.52) 62%,
    rgba(255, 255, 255, 0.88) 84%,
    #FFFFFF                   100%
  );
}

.hero-cordon img {
  position: static;
  width: 100%;
  height: auto;
  display: block;
}

/* El cielo de la foto y el degradado de CSS no son idénticos, así que
   sin esto queda una costura vertical donde arranca la imagen. Esta capa
   pinta el mismo cielo por encima y se retira hacia la derecha,
   disolviendo el empalme. */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    var(--cielo-medio) 0%,
    var(--cielo-bajo)  34%,
    var(--cielo-pie)   58%,
    #DDE7EC            72%,
    #FFFFFF            88%
  );
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 78%);
  mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 78%);
}

.hero-inner {
  position: relative;
  z-index: 10;   /* por encima del velo */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 6vw, 5rem);
  padding-top: 64px; /* alto del nav */
}

.hero-text-col {
  flex: 0 0 auto;
  max-width: min(52vw, 46rem);
}

.hero-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
  color: #0A1A2B;
  margin-bottom: 1.5rem;
}

.hero-heading .word { display: block; }

.hero-heading .word--accent { color: var(--brand-primary); }

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  font-weight: 400;
  color: #14384F;
  line-height: 1.55;
  margin-bottom: 2.5rem;
}

/* Botón y sello */
.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--brand-primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(6, 95, 117, 0.28);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.25s ease,
              box-shadow 0.25s ease;
}

.hero-cta svg {
  width: 1.05em;
  height: 1.05em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-cta:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(6, 95, 117, 0.34);
}

.hero-cta:hover svg { transform: translateX(4px); }
.hero-cta:active { transform: translateY(0); }

.hero-cta:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.hero-seal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #14384F;
}

.hero-seal svg {
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: var(--brand-dark);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

/* Hero image slot (se sigue usando en otras secciones) */
.hero-image-col {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  max-width: 40vw;
}

.hero-image-col .img-slot {
  width: 100%;
  max-width: 380px;
  position: relative;
}

.hero-image-col .img-slot img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow:
    0 8px 32px rgba(6, 95, 117, 0.12),
    0 2px 8px rgba(6, 95, 117, 0.08);
}

/* ── CANVAS WRAP ──────────────────────────────────────────────────── */
.canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 0s; /* JS handles smoothness via scrub */
  will-change: clip-path, opacity;
  transform: translateZ(0); /* force own compositing layer — prevents repaint on first mobile scroll */
  pointer-events: none; /* canvas is purely visual — never intercept clicks */
}

/* Canvas display — receives WebP frames, carries the mask/diffusion */
/* El tamaño lo fija updateCanvasSize() en JS, respetando la proporción del
   frame (720x1287) para que no queden franjas vacías a los costados.
   La máscara ahora muerde el borde real de la imagen y lo disuelve. */
/* El sobre queda quieto y centrado. La separación con el texto la da el
   propio texto, corriéndose hacia su borde (ver .align-left/.align-right). */
#product-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 74% 76% at 50% 50%, black 42%, transparent 88%);
  mask-image: radial-gradient(ellipse 74% 76% at 50% 50%, black 42%, transparent 88%);
}

/* Edge diffusion — linear gradients fade video into the page background.
   Top/bottom are the main cuts on portrait mobile; left/right cover landscape. */
.canvas-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      var(--bg-light)           0%,
      rgba(238,247,248,0.85)   8%,
      transparent              20%,
      transparent              80%,
      rgba(238,247,248,0.85)   92%,
      var(--bg-light)          100%),
    linear-gradient(to right,
      var(--bg-light)           0%,
      rgba(238,247,248,0.85)   10%,
      transparent              24%,
      transparent              76%,
      rgba(238,247,248,0.85)   90%,
      var(--bg-light)          100%);
}

/* ── DARK OVERLAY ─────────────────────────────────────────────────── */
#dark-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--bg-dark);
  opacity: 0;
  pointer-events: none;
}

/* ── MARQUEE ──────────────────────────────────────────────────────── */
.marquee-wrap {
  position: fixed;
  bottom: 8vh;
  left: 0;
  width: 100%;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
}

.marquee-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(8vw, 12vw, 14vw);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(238, 247, 248, 0.08);
  will-change: transform;
}

/* ── SCROLL CONTAINER ─────────────────────────────────────────────── */
#scroll-container {
  position: relative;
  height: 700vh;
  width: 100%;
  overflow: visible;
}

/* ── SCROLL SECTIONS ──────────────────────────────────────────────── */
.scroll-section {
  position: absolute;
  width: 100%;
  left: 0;
  z-index: 5;
  pointer-events: none;
  padding: 3rem 0;
}

/* Side-aligned text zones */
/* El sobre queda fijo y centrado, ocupando ~378px (proporción del frame).
   O sea que a cada lado sobran unos 530px. El texto se va contra su borde
   para despegarse del sobre: antes arrancaba a 55vw y se le montaba encima.
   Con estos valores queda un aire de ~70px entre el texto y el sobre. */
.align-left {
  padding-left: 6vw;
  padding-right: 68vw;
}

.align-right {
  padding-left: 68vw;
  padding-right: 6vw;
}

.align-left .section-inner,
.align-right .section-inner {
  max-width: 30vw;
  background: radial-gradient(ellipse at center, rgba(238, 247, 248, 0.55) 0%, transparent 75%);
  padding: 2rem 0;
}

.section-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 5vw;
}

.section-cta .section-inner {
  text-align: left;
  max-width: 40ch;
}

/* ── SECTION TYPOGRAPHY ───────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--section-label-size);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--text-on-light);
  margin-bottom: 1.25rem;
  text-shadow:
    0 1px 0 rgba(238, 247, 248, 0.5),
    0 4px 24px rgba(238, 247, 248, 0.6),
    0 8px 48px rgba(238, 247, 248, 0.3);
}

.section-body {
  font-family: var(--font-body);
  font-size: var(--body-text-size);
  font-weight: 500;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 34ch;
  text-shadow: 0 1px 12px rgba(238, 247, 248, 0.8);
}

/* ── SECTION IMAGE SLOTS (inside scroll sections) ─────────────────── */
.section-image {
  margin-top: 1.5rem;
}

.section-image img {
  width: 100%;
  max-width: 360px;
  border-radius: 3px;
  box-shadow: 0 4px 24px rgba(6, 95, 117, 0.15);
}

/* ── STATS SECTION ────────────────────────────────────────────────── */
.section-stats {
  text-align: center;
  padding: 4rem 5vw;
  pointer-events: none;
}

.stats-label {
  display: block;
  margin-bottom: 2rem;
  color: rgba(238, 247, 248, 0.6);
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(2rem, 6vw, 6rem);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number-wrap {
  display: flex;
  align-items: flex-start;
  line-height: 1;
}

.stat-number {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(4rem, 8vw, 6.5rem);
  color: var(--text-on-dark);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-suffix {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--brand-primary);
  margin-top: 0.5rem;
  margin-left: 0.1em;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(238, 247, 248, 0.55);
  margin-top: 0.6rem;
  display: block;
}

/* ── CTA BUTTON ───────────────────────────────────────────────────── */
.cta-heading {
  font-size: clamp(3.5rem, 7vw, 5.5rem) !important;
  color: var(--text-on-light);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding: 0.85rem 2.2rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2rem;
  pointer-events: all;
  box-shadow: 0 4px 20px rgba(14, 164, 207, 0.3);
  transition: transform 0.25s var(--transition-spring), box-shadow 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(14, 164, 207, 0.4);
}

.cta-button:active {
  transform: translateY(0) scale(0.99);
}

.cta-button:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 4px;
}

/* ── POST-SCROLL LIFESTYLE GALLERY ───────────────────────────────── */
.lifestyle-gallery {
  position: relative;
  z-index: 10;
  background: var(--bg-light);
  padding: clamp(4rem, 8vh, 7rem) clamp(1.5rem, 6vw, 5rem);
}

.gallery-header {
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.gallery-header .section-label {
  display: block;
  margin-bottom: 0.75rem;
}

.gallery-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--text-on-light);
  margin-bottom: 0.75rem;
}

.gallery-sub {
  font-family: var(--font-body);
  font-size: var(--body-text-size);
  color: var(--text-muted);
  max-width: 42ch;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  align-items: end;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
}

.gallery-item--tall {
  transform: translateY(-2rem);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 95, 117, 0.55) 0%, transparent 50%);
  transition: opacity 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover::after { opacity: 0.7; }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  z-index: 2;
  transform: translateY(4px);
  transition: transform 0.35s ease;
}

.gallery-item:hover .gallery-caption { transform: translateY(0); }

.gallery-caption-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(238, 247, 248, 0.85);
  font-weight: 500;
}

/* ── FINAL CTA SECTION ────────────────────────────────────────────── */
.final-cta {
  position: relative;
  z-index: 10;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.final-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(6, 95, 117, 0.88) 0%,
    rgba(6, 95, 117, 0.75) 50%,
    rgba(14, 164, 207, 0.6) 100%
  );
}

.final-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 5rem);
}

.final-cta-eyebrow {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: rgba(238, 247, 248, 0.7);
  margin-bottom: 0.75rem;
}

.final-cta-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
  margin-bottom: 2.5rem;
}

.cta-button--large {
  font-size: 0.85rem;
  padding: 1rem 2.8rem;
}

/* ── FOOTER ───────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 10;
  background: var(--bg-dark);
  padding: 2.5rem clamp(1.5rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo {
  height: 30px;
  width: auto;
  opacity: 0.9;
}

.footer-copy {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(238, 247, 248, 0.45);
}

/* ── IMAGE SLOT BADGES (dev-only helper) ──────────────────────────── */
.slot-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(14, 164, 207, 0.9);
  color: white;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 10;
  pointer-events: none;
}

.img-slot { position: relative; }

/* ── MOBILE RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Header */
  .nav-links { display: none; }

  /* Hero */
  .hero-inner { flex-direction: column; padding-top: 80px; }
  .hero-text-col { max-width: 100%; }
  .hero-image-col { display: none; }
  .hero-heading { font-size: clamp(4rem, 15vw, 6rem); }

  /* Scroll container */
  #scroll-container { height: 600vh; }

  /* Side sections → centered with dark backdrop */
  .align-left,
  .align-right {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    display: flex;
    justify-content: center;
  }

  .align-left .section-inner,
  .align-right .section-inner {
    max-width: 100%;
    background: rgba(6, 95, 117, 0.95); /* increased opacity — no blur needed */
    border-radius: 4px;
    padding: 1.5rem;
  }

  .align-left .section-heading,
  .align-right .section-heading { color: var(--text-on-dark); }

  .align-left .section-body,
  .align-right .section-body { color: rgba(238, 247, 248, 0.8); max-width: none; }

  .align-left .section-label,
  .align-right .section-label { color: var(--brand-light); }

  /* Stats */
  .stats-grid { gap: 2rem; }
  .stat-number { font-size: clamp(3rem, 15vw, 5rem); }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; gap: 1rem; }
  .gallery-item--tall { transform: none; }

  /* Marquee */
  .marquee-text { font-size: 20vw; }

  /* Show mobile controls, hide desktop nav-links (already display:none above) */
  .nav-mobile-controls { display: flex; }

  /* Mobile menu visible (off-screen until .is-open) */
  .mobile-menu { display: flex; }
}

/* ── Hamburger button ────────────────────────────────────────────────── */
/* Hide on desktop — must use min-width here because the mobile media query
   above sets display:flex, and a global display:none after it would override. */
@media (min-width: 769px) {
  .nav-mobile-controls { display: none; }
}

.nav-mobile-controls {
  align-items: center;
  gap: 0.75rem;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.nav-hamburger:hover  { background: rgba(6, 95, 117, 0.08); }
.nav-hamburger:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-on-light);
  border-radius: 2px;
  transition: transform 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity  0.20s ease;
  transform-origin: center;
}

.nav-hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu overlay ─────────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99; /* below header (100) so header stays on top */
  background: var(--bg-light);
  padding: 80px 2.5rem 3rem;
  flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
}

.mobile-menu.is-open { transform: translateY(0); }

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
}

.mobile-menu-link,
.mobile-menu-cta {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.4rem, 10vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-on-light);
  border-bottom: 1px solid rgba(6, 95, 117, 0.12);
  transition: color 0.2s ease;
}
.mobile-menu-link:hover   { color: var(--brand-primary); }

.mobile-menu-cta {
  color: var(--brand-primary);
  border-bottom: none;
  margin-top: 1.5rem;
}
.mobile-menu-cta:hover    { opacity: 0.75; }
.mobile-menu-cta:active   { opacity: 0.5; }

/* Prevent body scroll while menu is open */
body.menu-open { overflow: hidden; }

@media (max-width: 480px) {
  .hero-heading { font-size: clamp(3.5rem, 18vw, 5rem); }
  .section-heading { font-size: clamp(2.2rem, 9vw, 3rem) !important; }
}

/* ══════════════════════════════════════════════════════════════════════
   STORE — Product listing + cart
   ══════════════════════════════════════════════════════════════════════ */

/* ── Nav cart icon ───────────────────────────────────────────────────── */
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text-on-light);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.nav-cart:hover { opacity: 1; }
.nav-cart svg   { display: block; }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  pointer-events: none;
}

/* ── Store section ───────────────────────────────────────────────────── */
.store-section {
  position: relative;
  z-index: 10;
  background: var(--bg-light);
  padding: clamp(4rem, 8vh, 7rem) 0;
}

.store-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 5rem);
}

.store-header {
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.store-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--text-on-light);
  margin-bottom: 0.75rem;
}

.store-sub {
  font-family: var(--font-body);
  font-size: var(--body-text-size);
  color: var(--text-muted);
}

/* ── Product grid ────────────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

/* ── Product card ────────────────────────────────────────────────────── */
.product-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 2px 12px rgba(6, 95, 117, 0.06),
    0 1px 3px rgba(6, 95, 117, 0.04);
  transition: transform 0.3s var(--transition-spring), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 32px rgba(6, 95, 117, 0.12),
    0 2px 8px rgba(6, 95, 117, 0.06);
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-light);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-card__image { transform: scale(1.04); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  pointer-events: none;
}
.product-badge--low  { background: #F59E0B; color: #fff; }
.product-badge--out  { background: rgba(6, 95, 117, 0.15); color: var(--brand-dark); }

.product-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.product-card__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-on-light);
}

.product-card__desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.product-card__price {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--brand-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.product-card__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ── Quantity control ────────────────────────────────────────────────── */
.qty-control {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-light);
  border-radius: 2rem;
  padding: 0.2rem 0.5rem;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s ease, color 0.15s ease;
}
.qty-btn:hover  { background: var(--brand-primary); color: #fff; }
.qty-btn:active { transform: scale(0.9); }

.qty-display {
  min-width: 1.5rem;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-on-light);
}

/* ── Add to cart button ──────────────────────────────────────────────── */
.product-add-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.2rem;
  background: var(--brand-dark);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.2s var(--transition-spring);
}
.product-add-btn:hover:not(:disabled) {
  background: var(--brand-primary);
  transform: translateY(-1px);
}
.product-add-btn:active:not(:disabled) { transform: translateY(0); }
.product-add-btn:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}
.product-add-btn.added      { background: #16A34A; }
.product-add-btn--disabled  { opacity: 0.45; cursor: not-allowed; }

/* ── Checkout CTA bar ────────────────────────────────────────────────── */
.store-checkout-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.75rem;
  background: var(--brand-dark);
  border-radius: 6px;
  flex-wrap: wrap;
}

.store-cta-summary {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(238, 247, 248, 0.8);
}

.store-cta-btn {
  background: var(--brand-primary);
  margin-top: 0;
  white-space: nowrap;
}
.store-cta-btn:hover {
  background: #fff;
  color: var(--brand-dark);
}

/* ── Skeleton loader ─────────────────────────────────────────────────── */
.product-skeleton {
  border-radius: 6px;
  min-height: 480px;
  background: linear-gradient(
    90deg,
    rgba(6, 95, 117, 0.05) 25%,
    rgba(6, 95, 117, 0.10) 50%,
    rgba(6, 95, 117, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.store-empty {
  color: var(--text-muted);
  font-style: italic;
  padding: 2rem 0;
}

/* ── Mobile ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .store-checkout-cta {
    flex-direction: column;
    text-align: center;
  }
}

/* =====================================================================
   EXTENDED COMPONENTS — Trust bar, Sections 009-012, PDP, Nosotros
   ===================================================================== */

/* ── Trust bar ────────────────────────────────────────────────────────── */
.trust-bar {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--brand-primary);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
  pointer-events: none;
}
.trust-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ── Desktop: centered static flex ──────────────────────────────────── */
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.5rem 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.trust-bar-inner::-webkit-scrollbar { display: none; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  padding: 0 1rem;
  flex-shrink: 0;
}
.trust-icon {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
}
.trust-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.trust-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

/* ── Mobile: CSS auto-scroll ticker ─────────────────────────────────── */
/*
   Approach: overflow: hidden on the trust bar itself (not body/html) clips
   content cleanly. A CSS @keyframes animation on .trust-bar-inner scrolls
   items via transform: translateX — no overflow-x scrolling dependency.
   JS duplicates the item list once so the loop is seamless at -50%.
*/
@media (max-width: 768px) {
  .trust-bar {
    overflow: hidden; /* clips ticker to bar width — self-contained, no body dep */
  }

  /* Edge fade-out for a polished tape-reader look */
  .trust-bar::before,
  .trust-bar::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2.5rem;
    z-index: 1;
    pointer-events: none;
  }
  .trust-bar::before {
    left: 0;
    background: linear-gradient(to right, var(--brand-primary) 20%, transparent);
  }
  .trust-bar::after {
    right: 0;
    background: linear-gradient(to left, var(--brand-primary) 20%, transparent);
  }

  .trust-bar-inner {
    /* Override desktop centered layout */
    display: inline-flex;   /* shrink-wraps to content width */
    justify-content: flex-start;
    width: max-content;
    padding: 0.5rem 0;
    overflow: visible;      /* inner doesn't clip — bar does */
    animation: trust-ticker 22s linear infinite;
    will-change: transform;
  }

  /* Pause on touch so user can read if needed */
  .trust-bar-inner:active { animation-play-state: paused; }

  /* Items slightly larger on mobile for readability */
  .trust-text { font-size: 0.75rem; }
  .trust-item  { padding: 0 1.2rem; }
}

@keyframes trust-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* -50% = one full set; JS doubled the content */
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .trust-bar-inner { animation: none !important; overflow-x: auto; }
}

/* ── Section layout utilities ────────────────────────────────────────── */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.section-container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.section-heading-static {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: inherit;
  margin-bottom: 1rem;
}
.section-body-static {
  font-family: var(--font-body);
  font-size: var(--body-text-size);
  line-height: 1.7;
  color: inherit;
  opacity: 0.85;
}
.section-header-center {
  text-align: center;
  margin-bottom: 3.5rem;
}
.nav-link--active {
  color: var(--brand-primary) !important;
}

/* ── 009 / Cómo usarlo ───────────────────────────────────────────────── */
.como-usarlo {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 7rem 0;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.step-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: background 0.3s ease, transform 0.3s var(--transition-spring);
}
.step-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-3px);
}
.step-number {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--brand-primary);
  letter-spacing: -0.04em;
}
.step-visual {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(14,164,207,0.1);
}
.step-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.step-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-on-dark);
}
.step-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(238,247,248,0.7);
}
.steps-cta {
  text-align: center;
  margin-top: 3rem;
}
.steps-tip {
  font-size: 0.8rem;
  color: rgba(238,247,248,0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 1rem;
}

/* ── 010 / Transparencia / Ingredientes ─────────────────────────────── */
.transparencia {
  background: var(--bg-light);
  color: var(--text-on-light);
  padding: 7rem 0;
}
.transparencia-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.transparencia-header {
  position: sticky;
  top: 120px;
}
.transparencia-nota {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  font-style: italic;
}
.ingredientes-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(6,95,117,0.12);
}
.ingrediente-item {
  border-bottom: 1px solid rgba(6,95,117,0.12);
}
.ingrediente-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.25rem 0;
  text-align: left;
  gap: 1rem;
}
.ingrediente-trigger:hover .ing-name { color: var(--brand-primary); }
.ingrediente-trigger:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  border-radius: 2px;
}
.ing-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-on-light);
  transition: color 0.2s ease;
}
.ing-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.ing-toggle {
  font-size: 1.2rem;
  color: var(--brand-primary);
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.ingrediente-item[data-expanded="true"] .ing-toggle {
  transform: rotate(45deg);
}
.ingrediente-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.35s ease;
  padding: 0;
}
.ingrediente-item[data-expanded="true"] .ingrediente-panel {
  max-height: 200px;
  padding-bottom: 1.25rem;
}
.ingrediente-panel p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── 011 / Testimonios ───────────────────────────────────────────────── */
.testimonios {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 7rem 0;
}
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonio-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.3s ease, transform 0.3s var(--transition-spring);
}
.testimonio-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-3px);
}
.testimonio-card--featured {
  background: var(--brand-primary);
  border-color: transparent;
}
.testimonio-card--featured:hover {
  background: #0d94bc;
}
.testimonio-stars {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: #F59E0B;
}
.testimonio-card--featured .testimonio-stars { color: rgba(255,255,255,0.9); }
.testimonio-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(238,247,248,0.85);
  flex: 1;
  font-style: italic;
}
.testimonio-card--featured .testimonio-text { color: rgba(255,255,255,0.95); }
.testimonio-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.testimonio-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.testimonio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonio-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-on-dark);
}
.testimonio-detail {
  font-size: 0.75rem;
  color: rgba(238,247,248,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.testimonio-card--featured .testimonio-name { color: #fff; }
.testimonio-card--featured .testimonio-detail { color: rgba(255,255,255,0.7); }

/* ── 012 / FAQ ───────────────────────────────────────────────────────── */
.faq-section {
  background: var(--bg-light);
  color: var(--text-on-light);
  padding: 7rem 0;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(6,95,117,0.12);
  margin-top: 3rem;
}
.faq-item {
  border-bottom: 1px solid rgba(6,95,117,0.12);
}
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.5rem 0;
  text-align: left;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-on-light);
  transition: color 0.2s ease;
}
.faq-trigger:hover { color: var(--brand-primary); }
.faq-trigger:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  border-radius: 2px;
}
.faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--brand-primary);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s ease;
}
.faq-item[data-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}
.faq-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.35s ease;
  padding: 0;
}
.faq-item[data-expanded="true"] .faq-panel {
  max-height: 400px;
  padding-bottom: 1.5rem;
}
.faq-panel p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
}
.faq-cta {
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(6,95,117,0.12);
}
.faq-cta p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.faq-contact-link {
  color: var(--brand-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-contact-link:hover { color: var(--brand-dark); }

/* ── PDP — producto.html ─────────────────────────────────────────────── */
.pdp-hero {
  background: var(--bg-light);
  padding: 5rem 0 6rem;
}
.pdp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.pdp-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pdp-main-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #e8f4f6;
}
.pdp-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}
.pdp-thumbnails {
  display: flex;
  gap: 0.75rem;
}
.pdp-thumb {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s var(--transition-spring);
  background: #e8f4f6;
  flex-shrink: 0;
}
.pdp-thumb:hover { transform: translateY(-2px); }
.pdp-thumb.active { border-color: var(--brand-primary); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info { display: flex; flex-direction: column; gap: 1.25rem; padding-top: 1rem; }
.pdp-breadcrumb {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pdp-breadcrumb a { color: var(--brand-primary); }
.pdp-breadcrumb a:hover { text-decoration: underline; }
.pdp-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-on-light);
}
.pdp-stars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.pdp-stars-icons { color: #F59E0B; letter-spacing: 0.05em; }
.pdp-stars-count { color: var(--text-muted); }
.pdp-price {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  color: var(--brand-dark);
  line-height: 1;
}
.pdp-price-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.pdp-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pdp-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.8rem;
  background: rgba(14,164,207,0.1);
  border: 1px solid rgba(14,164,207,0.2);
  border-radius: 2rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--brand-dark);
  letter-spacing: 0.04em;
}
.pdp-desc {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
}
.pdp-purchase {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(6,95,117,0.04);
  border: 1px solid rgba(6,95,117,0.1);
  border-radius: 8px;
  margin-top: 0.5rem;
}
.pdp-qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.pdp-qty-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pdp-add-btn {
  width: 100%;
  padding: 1rem;
  background: var(--brand-dark);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s var(--transition-spring);
}
.pdp-add-btn:hover { background: var(--brand-primary); transform: translateY(-1px); }
.pdp-add-btn:active { transform: translateY(0); }
.pdp-add-btn:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 3px; }
.pdp-checkout-btn {
  width: 100%;
  padding: 1rem;
  background: none;
  color: var(--brand-dark);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--brand-dark);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s var(--transition-spring);
  text-align: center;
  display: block;
  text-decoration: none;
}
.pdp-checkout-btn:hover { background: var(--brand-dark); color: var(--text-on-dark); transform: translateY(-1px); }
.pdp-checkout-btn:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 3px; }
.pdp-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(6,95,117,0.1);
}
.pdp-assurance-item {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* PDP — Diferenciadores */
.pdp-diferenciadores {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 6rem 0;
}
.dif-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.dif-card {
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.dif-icon { font-size: 1.75rem; }
.dif-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-on-dark);
  line-height: 1.1;
}
.dif-text { font-size: 0.85rem; line-height: 1.65; color: rgba(238,247,248,0.7); }

/* PDP — Reviews */
.pdp-reviews {
  background: var(--bg-light);
  padding: 6rem 0;
}
.pdp-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.pdp-rating-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.pdp-rating-big {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--brand-dark);
}
.pdp-rating-stars { color: #F59E0B; font-size: 1.1rem; }
.pdp-rating-count { font-size: 0.8rem; color: var(--text-muted); }
.pdp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.pdp-review-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.75rem;
  border: 1px solid rgba(6,95,117,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pdp-review-stars { color: #F59E0B; font-size: 0.8rem; }
.pdp-review-text { font-size: 0.9rem; line-height: 1.7; color: var(--text-on-light); }
.pdp-review-author {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* PDP — Upsell */
.pdp-upsell {
  background: var(--bg-dark);
  padding: 6rem 0;
}
.pdp-upsell-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ── Nosotros ─────────────────────────────────────────────────────────── */
.nosotros-hero {
  position: relative;
  height: 60vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.nosotros-hero-bg {
  position: absolute;
  inset: 0;
}
.nosotros-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nosotros-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,95,117,0.92) 0%, rgba(6,95,117,0.4) 60%, transparent 100%);
}
.nosotros-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.nosotros-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}
.nosotros-story {
  background: var(--bg-light);
  padding: 7rem 0;
}
.nosotros-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.nosotros-story-img {
  border-radius: 10px;
  overflow: hidden;
  background: #e8f4f6;
  aspect-ratio: 4/5;
}
.nosotros-story-img img { width: 100%; height: 100%; object-fit: cover; }
.nosotros-story-text { display: flex; flex-direction: column; gap: 1.25rem; }
.nosotros-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
}
.nosotros-mision {
  background: var(--bg-dark);
  padding: 7rem 0;
  text-align: center;
}
.mision-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.mision-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
}
.mision-quote::before { content: '"'; color: var(--brand-primary); }
.mision-quote::after  { content: '"'; color: var(--brand-primary); }
.nosotros-valores {
  background: var(--bg-light);
  padding: 7rem 0;
}
.valores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.valor-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(6,95,117,0.12);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.3s ease, transform 0.3s var(--transition-spring);
}
.valor-card:hover {
  box-shadow: 0 8px 32px rgba(6,95,117,0.08);
  transform: translateY(-3px);
}
.valor-icon { font-size: 2rem; }
.valor-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-on-light);
}
.valor-text { font-size: 0.88rem; line-height: 1.7; color: var(--text-muted); }
.nosotros-equipo {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 7rem 0;
}
.equipo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
}
.equipo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 260px;
  text-align: center;
}
.equipo-avatar {
  width: 160px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}
.equipo-avatar img { width: 100%; height: 100%; object-fit: cover; }
.equipo-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-on-dark);
}
.equipo-role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
}
.equipo-bio { font-size: 0.85rem; line-height: 1.65; color: rgba(238,247,248,0.7); }

/* ── Footer — full version ───────────────────────────────────────────── */
.site-footer--full {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 0;
  display: block;
}
.site-footer--full .footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2.5rem 3.5rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo-full { height: 36px; }
.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(238,247,248,0.6);
  max-width: 240px;
}
.footer-nav-col { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(238,247,248,0.5);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.footer-nav-col a {
  font-size: 0.875rem;
  color: rgba(238,247,248,0.75);
  transition: color 0.2s ease;
  display: block;
}
.footer-nav-col a:hover { color: var(--brand-primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(238,247,248,0.4);
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.72rem;
  color: rgba(238,247,248,0.4);
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: rgba(238,247,248,0.8); }

/* ── Responsive — extended components ───────────────────────────────── */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .transparencia-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .transparencia-header { position: static; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .dif-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .pdp-reviews-grid { grid-template-columns: 1fr; }
  .nosotros-story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .valores-grid { grid-template-columns: 1fr; }
  .site-footer--full .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 1.5rem 2rem; }
}
@media (max-width: 600px) {
  /* .trust-bar-inner handled by 768px ticker block */
  .como-usarlo, .transparencia, .testimonios, .faq-section,
  .pdp-hero, .pdp-diferenciadores, .pdp-reviews, .pdp-upsell,
  .nosotros-story, .nosotros-mision, .nosotros-valores, .nosotros-equipo { padding: 4rem 0; }
  .section-container, .section-container--narrow { padding: 0 1.25rem; }
  .dif-grid { grid-template-columns: 1fr; }
  .site-footer--full .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   BENEFICIOS — sellos debajo del hero, ya sobre blanco
   ===================================================================== */
.beneficios {
  position: relative;
  z-index: 20;
  background: #FFFFFF;
  /* El botón del hero ancla acá. Sin esto el título queda detrás del
     header fijo y la barra de sellos. */
  scroll-margin-top: 104px;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem);
}

.beneficios-inner {
  max-width: 68rem;
  margin: 0 auto;
  text-align: center;
}

.beneficios-eyebrow {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 1.1rem;
}

.beneficios-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text-on-light);
  margin-bottom: 1rem;
}

.beneficios-sub {
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  list-style: none;
}

.beneficio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.beneficio-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 0.7rem;
  fill: none;
  stroke: var(--brand-dark);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.beneficio-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-on-light);
}

.beneficio-desc {
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .beneficios-grid { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .beneficio:nth-child(4) { grid-column: 1 / 2; }
  .beneficio:nth-child(5) { grid-column: 2 / 4; }
}

@media (max-width: 560px) {
  .beneficios-grid { grid-template-columns: repeat(2, 1fr); }
  .beneficio:nth-child(4),
  .beneficio:nth-child(5) { grid-column: auto; }
  .beneficio:nth-child(5) { grid-column: 1 / -1; }
}

/* =====================================================================
   AJUSTES DE LA DEVOLUCIÓN
   ===================================================================== */

/* La barra de sellos repite lo que muestra la sección de números.
   Se retira a partir de ahí en vez de convivir con ella. */
.trust-bar.is-muted {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

.trust-bar {
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Contraste del menú sobre los fondos turquesa.
   Reportado por el cliente: "al ser turquesa el fondo, se pierden".
   Se le da al header una capa propia y peso a los links cuando hay
   una sección oscura detrás. */
.site-header.over-dark .nav-link,
.site-header.over-dark .nav-logo {
  color: #FFFFFF;
}

/* El logo es celeste y también se perdía sobre el fondo oscuro.
   Se intercambia por la versión blanca. */
.nav-logo { position: relative; display: inline-flex; }
.nav-logo__blanco {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.nav-logo__color { transition: opacity 0.3s ease; }

.site-header.over-dark .nav-logo__color  { opacity: 0; }
.site-header.over-dark .nav-logo__blanco { opacity: 1; }

.site-header.over-dark .nav-link::after { background: #FFFFFF; }

.site-header.over-dark .nav-link:hover,
.site-header.over-dark .nav-link:focus-visible {
  color: #FFFFFF;
  opacity: 1;
}

/* Doble clase a propósito: la regla de `.site-header.scrolled` que pinta el
   header de blanco vive más abajo en el archivo y con igual especificidad le
   ganaba a esta, dejando el logo blanco sobre fondo blanco. */
.site-header.over-dark,
.site-header.scrolled.over-dark {
  background: linear-gradient(to bottom, rgba(7, 18, 26, 0.55), rgba(7, 18, 26, 0.12));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom-color: transparent;
}

/* Respeta a quien pidió menos movimiento en su sistema */
@media (prefers-reduced-motion: reduce) {
  .trust-bar { transition: none; }
  .hero-cta, .hero-cta svg { transition: none; }
}

/* (Acá había un cambio de aspecto del header y la barra de sellos que
   se revirtió el 2026-08-14: se hizo por una lectura equivocada del
   pedido. El header y la barra quedan como estaban.) */

/* =====================================================================
   HERO EN CELULAR
   En pantalla angosta la foto ya cubre todo el ancho, así que las capas
   que existen para extender la escena a lo ancho sobran y solo lavan la
   imagen: el trekker quedaba casi borrado.
   ===================================================================== */
@media (max-width: 768px) {
  /* No hay costura que disolver: la foto llega a los dos bordes */
  .hero-bg::after { display: none; }

  /* El cordón está para rellenar el vacío de la izquierda, que en celular
     no existe. Encima compite con la figura en poco espacio. */
  .hero-cordon { display: none; }

  /* El velo cubría más de media pantalla y se comía al trekker entero */
  .hero-velo {
    height: 30%;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0)    0%,
      rgba(255, 255, 255, 0.30) 42%,
      rgba(255, 255, 255, 0.86) 80%,
      #FFFFFF                   100%
    );
  }

  /* Un poco más baja para que la figura no toque el sello de arriba.
     Se difumina también por arriba: al no llegar al tope, se veía el
     canto de la foto contra el degradado del cielo. */
  .hero-bg img {
    right: -12%;
    height: 86%;
    -webkit-mask-image:
      linear-gradient(to right,  transparent 0%, #000 26%),
      linear-gradient(to bottom, transparent 0%, #000 16%);
    mask-image:
      linear-gradient(to right,  transparent 0%, #000 26%),
      linear-gradient(to bottom, transparent 0%, #000 16%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }

  .hero-text-col { max-width: 100%; }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* =====================================================================
   FÓRMULA — cantidades por ingrediente
   Los mg cuentan desde cero al entrar en pantalla y una barra se llena
   en proporción, para poder comparar de un vistazo cuánto hay de cada uno.
   ===================================================================== */
.ing-cantidad {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-dark);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  margin-left: auto;
  padding-left: 1.25rem;
}

.ing-mg { font-size: 1.35rem; }

/* Barra proporcional: se llena junto con el número */
.ingrediente-barra {
  height: 3px;
  background: rgba(6, 95, 117, 0.10);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 0 0.15rem;
}

.ingrediente-barra > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(to right, var(--brand-primary), var(--brand-dark));
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.ingredientes-list.contando .ingrediente-barra > span { width: var(--pct); }

/* Escalonado: cada barra arranca un poco después que la anterior */
.ingrediente-item:nth-child(1) .ingrediente-barra > span { transition-delay: 0.00s; }
.ingrediente-item:nth-child(2) .ingrediente-barra > span { transition-delay: 0.10s; }
.ingrediente-item:nth-child(3) .ingrediente-barra > span { transition-delay: 0.20s; }
.ingrediente-item:nth-child(4) .ingrediente-barra > span { transition-delay: 0.30s; }
.ingrediente-item:nth-child(5) .ingrediente-barra > span { transition-delay: 0.40s; }

@media (max-width: 768px) {
  .ing-cantidad { font-size: 0.9rem; padding-left: 0.6rem; }
  .ing-mg { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ingrediente-barra > span { transition: none; }
}

/* Viñetas de la sección 002 */
.section-puntos {
  list-style: none;
  margin-top: 1.1rem;
  display: grid;
  gap: 0.55rem;
}

.section-puntos li {
  position: relative;
  padding-left: 1.1rem;
  font-size: clamp(0.85rem, 1.05vw, 0.95rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.section-puntos li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-primary);
}

/* =====================================================================
   SELLOS DE APTITUD (sección 001)
   ===================================================================== */
.sellos-aptos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
  list-style: none;
}

.sellos-aptos li {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
  border: 1px solid rgba(6, 95, 117, 0.22);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  white-space: nowrap;
}

/* =====================================================================
   DÓNDE ENCONTRARNOS — reemplaza el bloque grande de cierre
   ===================================================================== */
.donde {
  position: relative;
  z-index: 20;
  background: var(--bg-light);
  padding: clamp(4rem, 9vw, 7rem) 0;
  scroll-margin-top: 104px;
}

.donde-canales {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  list-style: none;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.donde-canal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid rgba(6, 95, 117, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
}

.donde-canal__rotulo {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.donde-canal__valor {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--brand-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.donde-canal__valor:hover        { color: var(--brand-primary); }
.donde-canal__valor:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

.donde-nota {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
}

@media (max-width: 700px) {
  .donde-canales { grid-template-columns: 1fr; }
}



/* =====================================================================
   PIE DE PÁGINA — escena patagónica sobre fondo oscuro de marca
   Base en #065F75, el tono más profundo del manual, con la ilustración
   por encima: lo lejano se aclara por la bruma y lo cercano se oscurece
   hasta quedar en silueta. Los cordones van quietos.
   ===================================================================== */
.site-footer--full {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #297786 0%, #0A5468 42%, #065F75 72%, #043A48 100%);
  padding-top: clamp(4rem, 7vw, 6rem);
  color: #EEF7F8;
}

.footer-escena {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 3.6rem;   /* si llega abajo, la línea divisoria corta los pinos */
  width: 100%;
  pointer-events: none;
  opacity: 0.62;
}

/* Lo único que se mueve son las nubes, a 240s: se percibe recién si te
   quedás mirando. Para dejarlo totalmente quieto, borrar esta regla. */
.escena-nubes { animation: nubes-deriva 240s linear infinite; }

@keyframes nubes-deriva {
  from { transform: translateX(-3%); }
  50%  { transform: translateX(3%); }
  to   { transform: translateX(-3%); }
}

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

/* ── Contenido encima de la escena ─────────────────────────────────── */
.site-footer--full .footer-inner,
.site-footer--full .footer-bottom {
  position: relative;
  z-index: 2;
}

.site-footer--full .footer-nav-title { color: #96BEC2; }

.site-footer--full .footer-nav-col a {
  color: #EEF7F8;
  opacity: 0.82;
}

.site-footer--full .footer-nav-col a:hover,
.site-footer--full .footer-nav-col a:focus-visible {
  color: #FFFFFF;
  opacity: 1;
}

.site-footer--full .footer-tagline { color: rgba(238, 247, 248, 0.68); }
.site-footer--full .footer-copy    { color: rgba(238, 247, 248, 0.55); }
.site-footer--full .footer-legal a { color: rgba(238, 247, 248, 0.55); }
.site-footer--full .footer-legal a:hover { color: #FFFFFF; }

.site-footer--full .footer-bottom {
  border-top: 1px solid rgba(238, 247, 248, 0.16);
}

/* Sobre fondo oscuro manda el logo blanco */
.footer-logo-full {
  width: auto;
  align-self: flex-start;
  height: 44px;
  opacity: 0.95;
}

/* El logo iba a la izquierda pero el eslogan salía centrado */
.footer-brand {
  text-align: left;
  align-items: flex-start;
}

.footer-origen {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(238, 247, 248, 0.6);
}

/* En celular los enlaces se apilan y el pie queda muy alto: si la escena
   ocupa todo ese alto, el recorte la deja como una franja rara arriba. */
@media (max-width: 768px) {
  .footer-escena {
    top: auto;
    height: 180px;
    bottom: 3.2rem;
    opacity: 0.55;
  }
}

/* Cordón dentro de la sección oscura: mismos cerros, colores dados vuelta.
   Va acá adentro y no en el fondo fijo, así el fondo oscuro de la sección
   sigue tapando y no hay que sincronizar nada al entrar y salir. */
.testimonios { position: relative; overflow: hidden; }

.testimonios-sierra {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  pointer-events: none;
  z-index: 0;
}

.testimonios-sierra .viento-perfil { height: 100%; }
.testimonios-sierra .viento-perfil.visible { opacity: 0.85; }

.testimonios .section-container { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .viento-perfil { transition: none; }
}

/* =====================================================================
   PAISAJE DEL FONDO
   Marca de agua detrás de toda la página posterior al hero. Los cerros
   van quietos y cambian según la sección; lo que se mueve son los
   árboles, los pastos, las nubes y las hojas.

   Regla de oro: acá solo se anima transform. Cualquier otra propiedad
   obligaría a recalcular la página en cada cuadro y competiría con el
   dibujo del sobre.
   ===================================================================== */
.viento {
  position: fixed;
  inset: 0;
  z-index: -1;            /* detrás del contenido, delante del fondo del body */
  pointer-events: none;
  overflow: hidden;
  opacity: 0;             /* lo enciende el JS al pasar el hero */
  transition: opacity 1.2s ease;
}

.viento.encendido { opacity: 1; }

/* ── Cerros ─────────────────────────────────────────────────────────── */
/* Dos capas en el mismo lugar que se turnan por opacidad al cambiar de cerro */
.viento-perfil {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 58%;
  opacity: 0;
  transition: opacity 2.2s ease;
}

.viento-perfil.visible { opacity: 0.34; }

.viento-perfil svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Cielo ──────────────────────────────────────────────────────────── */
.viento-cielo { position: absolute; inset: 0; }

.pieza-cielo {
  position: absolute;
  left: 0;
  display: block;
  will-change: transform;
}

.pieza-cielo svg { width: 100%; height: auto; display: block; }

/* ── Árboles y arbustos ─────────────────────────────────────────────── */
.viento-arboles { position: absolute; inset: 0; }

/* Dos piezas anidadas a propósito: la de afuera toma el empuje del
   viento (una variable que el JS escribe una vez para todo el grupo) y la
   de adentro hace el vaivén en reposo con una animación de CSS, que corre
   en el compositor y no cuesta nada por cuadro. */
.planta {
  position: absolute;
  display: block;
  transform-origin: bottom center;
  transform: rotate(calc(var(--empuje, 0) * var(--hondo, 1) * 1deg));
}

.planta svg { width: auto; height: 100%; display: block; }

.mece {
  display: block;
  height: 100%;
  transform-origin: bottom center;
  animation-name: mecerse;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  will-change: transform;
}

@keyframes mecerse {
  from { transform: rotate(-1.6deg); }
  to   { transform: rotate(1.6deg); }
}

.mece--rapido { animation-name: mecerse-rapido; }

@keyframes mecerse-rapido {
  from { transform: rotate(-5deg); }
  to   { transform: rotate(5deg); }
}

/* ── Pastos ─────────────────────────────────────────────────────────── */
.viento-pastos {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
}

.pasto {
  position: absolute;
  bottom: 0;
  display: block;
  transform-origin: bottom center;
  transform: rotate(calc(var(--empuje, 0) * var(--hondo, 1) * 1deg));
}

.pasto svg { width: auto; height: 100%; display: block; }

/* ── Hojas ──────────────────────────────────────────────────────────── */
.viento-hojas { position: absolute; inset: 0; }

/* El tamaño, el color y la opacidad los pone el JS, para que cada hoja
   sea distinta de la de al lado. */
.hoja {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  will-change: transform;
}

.hoja svg { width: 100%; height: 100%; display: block; }

/* Las secciones claras se vuelven transparentes para que el fondo se vea.
   El color de base lo sigue poniendo el body. */
.lifestyle-gallery,
.store-section,
.transparencia,
.faq-section,
.donde {
  background: transparent;
}

/* Quien pidió menos movimiento en su sistema, ve el paisaje quieto */
@media (prefers-reduced-motion: reduce) {
  .viento { opacity: 0.55; }
  .viento-perfil { transition: none; }
  .hoja, .pieza-cielo { display: none; }
  .mece { animation: none; }
}

@media (max-width: 768px) {
  .viento.encendido { opacity: 0.85; }
  .viento-pastos { height: 44px; }
}
