@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500;1,9..144,600&family=Figtree:wght@300;400&display=swap');

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TOKENS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  --bg:            #F4EEE1;
  --ink:           #2C2A20;
  --terracota:     #8B6F5E;
  --mostaza:       #c09636;
  --verde:         #525B38;
  --azul:          #7890a0;
  --rosa:          #c09090;
  --crema-detalle: #e8d4a0;
  --cta:           #A0563F;
  --ink-soft:      #53593D;
  --azul-noche:    #1c3d63;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Figtree', system-ui, sans-serif;

  --text-hero:  clamp(1.4rem, 2.5vw, 2.6rem);
  --text-h2:    clamp(1.8rem, 4vw, 3.2rem);
  --text-h3:    clamp(1.2rem, 2.2vw, 1.6rem);
  --text-body:  clamp(1rem, 1.4vw, 1.1rem);
  --text-sm:    0.875rem;

  --container-w: 760px;
  --gap-section: clamp(3rem, 8vh, 6rem);
  --ease-bloom:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESET
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TIPOGRAFÍA
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
}
p { max-width: 65ch; }

.voz {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15em;
  font-weight: 500;
}

.cita-protagonista {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.2;
  margin-top: 2rem;
  white-space: nowrap;
}
@media (max-width: 860px) {
  .cita-protagonista { white-space: normal; font-size: clamp(1.1rem, 4vw, 1.4rem); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ÉNFASIS TIPOGRÁFICO — subrayado pintado
   Uso: <span class="enfasis enfasis--terracota">frase</span>
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.enfasis {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.32em;
  padding-bottom: 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
mark.enfasis { background-color: transparent; color: inherit; }

.enfasis--terracota {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M0,8 C35,3 70,9 110,6 C150,3 178,8 200,7' stroke='%238B6F5E' stroke-width='3.5' fill='none' stroke-linecap='round'/></svg>");
}
.enfasis--mostaza {
  color: var(--mostaza);
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M0,7 C40,2 85,9 130,5 C165,2 185,8 200,7' stroke='%23c09636' stroke-width='3.5' fill='none' stroke-linecap='round'/></svg>");
}
.enfasis--verde {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M0,7 C45,3 90,9 140,5 C172,2 190,8 200,7' stroke='%23525B38' stroke-width='3.5' fill='none' stroke-linecap='round'/></svg>");
}
.enfasis--rosa {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M0,8 C30,3 65,9 100,6 C140,3 172,8 200,6' stroke='%23c09090' stroke-width='3.5' fill='none' stroke-linecap='round'/></svg>");
}
.enfasis--azul {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M0,8 C30,4 65,9 105,5 C148,2 178,8 200,6' stroke='%237890a0' stroke-width='3.5' fill='none' stroke-linecap='round'/></svg>");
}
/* Color de acento sin subrayado */
.color-mostaza   { color: var(--mostaza);   font-style: italic; }
.color-terracota { color: var(--terracota); font-style: italic; }
.color-verde     { color: var(--verde);     font-style: italic; }

/* Variantes de énfasis: colores sin subrayado pintado */
.enfasis--no-sub { background-image: none !important; }
.enfasis--azul   { color: var(--azul); }
.enfasis--verde  { color: var(--verde); }
.enfasis--rosa   { color: var(--rosa); }
.enfasis--terracota { color: var(--terracota); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LAYOUT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
main { position: relative; z-index: 2; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 6vw, 3rem);
}
section { padding-block: var(--gap-section); position: relative; overflow: visible; }

/* Secciones principales como pantallas completas */
.section-problema,
.section-producto,
.section-video,
.section-como,
.section-precio,
.section-cta {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TINTES DE SECCIÓN — acento rotativo sutil
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#hero          { background: color-mix(in srgb, var(--bg) 95%, var(--terracota) 5%); }
#problema      { background: color-mix(in srgb, var(--bg) 96%, var(--rosa)      4%); }
#producto      { background: color-mix(in srgb, var(--bg) 95%, var(--mostaza)   5%); }
#video         { background: color-mix(in srgb, var(--bg) 95%, var(--verde)     5%); }
#como-funciona { background: color-mix(in srgb, var(--bg) 93%, var(--azul) 7%); }
#precio        { background: color-mix(in srgb, var(--bg) 95%, var(--terracota) 5%); }
#hannah        { background: color-mix(in srgb, var(--bg) 96%, var(--rosa)      4%); }
#cta           { background: color-mix(in srgb, var(--bg) 95%, var(--mostaza)   5%); }
.site-footer   { background: color-mix(in srgb, var(--bg) 95%, var(--verde)     5%); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BOTÓN CTA
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  background-color: var(--cta);
  background-image: url('../assets/decor/boton-deco.png');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  padding: 0.9em 2.4em;
  border-radius: 100px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  position: relative;
  min-width: 200px;
  transition: transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft), filter 0.35s var(--ease-soft);
}
.btn-cta:hover, .btn-cta:focus-visible {
  transform: translateY(-3px);
  filter: brightness(0.88);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--cta) 32%, transparent), 0 2px 8px color-mix(in srgb, var(--cta) 18%, transparent);
}

.btn-cta:focus-visible { outline: 3px solid var(--mostaza); outline-offset: 4px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Botón hero con puntas florales
   Solo se aplica al CTA principal del hero.
   ::before / ::after para que las flores queden
   DETRÁS del texto (.btn-cta-label z-index:1).
   overflow:visible → el ramillete sobresale del
   pill arriba/abajo sin recortarse.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn-cta-label {
  position: relative;
  z-index: 1;
}
.btn-cta--hero {
  overflow: visible;
  background-image: none;
  padding-inline: clamp(5.5rem, 9vw, 7rem);
  min-width: 200px;
}
.btn-cta--hero::before,
.btn-cta--hero::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 592.97%;
  aspect-ratio: 1 / 2;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}
.btn-cta--hero::before {
  left: -68px;
  background-image: url('../assets/decor/boton-punta-izq.png');
}
.btn-cta--hero::after {
  right: -68px;
  background-image: url('../assets/decor/boton-punta-der.png');
}
@media (max-width: 480px) {
  .btn-cta--hero {
    min-width: 170px;
    padding-inline: clamp(1.5rem, 6vw, 2.5rem);
  }
  .section-hero .btn-cta--hero {
    padding-inline: clamp(1.5rem, 6vw, 2.5rem);
  }
  .btn-cta--hero::before,
  .btn-cta--hero::after { height: 280%; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PLACEHOLDER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.placeholder {
  background: color-mix(in srgb, var(--bg) 96%, var(--ink) 4%);
  border: 1px solid color-mix(in srgb, var(--ink-soft) 25%, transparent);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem 2rem;
  min-height: 220px;
}
.placeholder img { width: 54px; opacity: .45; }
.placeholder-label {
  font-size: var(--text-sm);
  opacity: .45;
  letter-spacing: .05em;
  text-align: center;
}
.placeholder--video { aspect-ratio: 16/9; min-height: unset; padding: 0; }
.placeholder--portrait { aspect-ratio: 3/4; min-height: unset; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HEADER (logo flotante en scroll)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  pointer-events: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem clamp(1.5rem, 5vw, 3rem);
  opacity: 0;
  transition: opacity .4s;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 92%, transparent) 0%, transparent 100%);
}
.site-header.is-visible { opacity: 1; pointer-events: auto; }
.header-logo { width: 100px; height: auto; }

/* ─ Navegación del header ─ */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--ink);
  opacity: 0.65;
  position: relative;
  letter-spacing: 0.02em;
  transition: opacity 0.25s var(--ease-soft), color 0.25s var(--ease-soft);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--terracota);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease-soft);
  pointer-events: none;
}
.nav-link--cta::after { display: none; }
.nav-link:hover,
.nav-link:focus-visible { opacity: 1; color: var(--terracota); }
.nav-link--cta:hover,
.nav-link--cta:focus-visible { color: #fff; }
.nav-link:not(.nav-link--cta):hover::after,
.nav-link:not(.nav-link--cta):focus-visible::after { transform: scaleX(1); }

.nav-link--cta {
  background: var(--cta);
  color: #fff;
  opacity: 1;
  padding: 0.45em 1.1em;
  border-radius: 100px;
  font-weight: 400;
  transition: background 0.25s, opacity 0.2s;
}
.nav-link--cta:hover,
.nav-link--cta:focus-visible {
  background: color-mix(in srgb, var(--cta) 80%, #000 20%);
  opacity: 1;
}
.nav-link--cta:focus-visible { outline: 2px solid var(--mostaza); outline-offset: 3px; }

/* ─ Hamburger ─ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  line-height: 0;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-soft), opacity 0.2s;
}
.site-header.nav-is-open .nav-hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.nav-is-open .nav-hamburger span:nth-child(2) {
  opacity: 0;
}
.site-header.nav-is-open .nav-hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-hamburger { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: color-mix(in srgb, var(--bg) 98%, var(--ink) 2%);
    border-bottom: 1px solid color-mix(in srgb, var(--ink-soft) 12%, transparent);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--ink) 8%, transparent);
    padding: 0.5rem 0 1rem;
  }
  .site-header.nav-is-open .site-nav { display: flex; }
  .nav-link {
    padding: 0.85rem clamp(1.5rem, 5vw, 3rem);
    display: block;
    border-bottom: 1px solid color-mix(in srgb, var(--ink-soft) 8%, transparent);
    opacity: 0.75;
  }
  .nav-link--cta {
    margin: 0.75rem clamp(1.5rem, 5vw, 3rem);
    text-align: center;
    border-bottom: none;
    padding: 0.7em 1.2em;
    border-radius: 100px;
    display: block;
    opacity: 1;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7.1 HERO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: clamp(0.75rem, 1.5vh, 1.5rem) clamp(1.5rem, 3vh, 3rem);
  overflow: visible;
}

/* Cenefa sobre el logo — más pequeña y pegada */
.cenefa-logo {
  width: min(28px, 5.5vw);
  margin-bottom: 0.15rem;
}

/* Logo con flancos decorativos */
.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-inline: auto;
  margin-bottom: clamp(0.75rem, 1.5vh, 1.5rem);
}
.hero-logo {
  width: auto;
  max-width: clamp(300px, 40vw, 480px);
  max-height: clamp(130px, 20vh, 240px);
  opacity: 0;
}
.hero-logo-decor {
  opacity: 0;
  pointer-events: none;
  flex-shrink: 0;
}
.hero-logo-decor--l { width: 28px; transform: rotate(-20deg); }
.hero-logo-decor--r { width: 24px; transform: rotate(25deg) scaleX(-1); }

/* Scroll offset global para compensar el header fijo */
section { scroll-margin-top: 96px; }

.section-hero .container { max-width: min(1100px, 94vw); }

/* Hero 2 columnas en desktop: texto izquierda, foto derecha */
@media (min-width: 1100px) {
  .section-hero { text-align: left; align-items: stretch; }
  .section-hero .container {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    grid-template-rows: auto auto auto auto auto;
    align-content: center;
    column-gap: clamp(2rem, 5vw, 5rem);
    text-align: left;
  }
  .cenefa-logo    { grid-column: 1; grid-row: 1; margin-inline: 0; }
  .hero-logo-wrap { grid-column: 1; grid-row: 2; justify-content: flex-start; }
  .hero-title     { grid-column: 1; grid-row: 3; }
  .hero-subtitle  { grid-column: 1; grid-row: 4; margin-inline: 0; max-width: 52ch; }
  .section-hero .btn-cta { grid-column: 1; grid-row: 5; margin-top: 0; }
  .hero-img       { grid-column: 2; grid-row: 1 / span 5; align-self: center; margin: 0; width: 100%; }
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}
.hero-title-line-1 { margin-bottom: 0.85em; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: block; transform: translateY(105%); opacity: 0; }
.hero-title .line:last-child > span { font-size: 1.08em; }
.hero-title em { font-style: italic; }
@media (min-width: 700px) {
  .hero-title .line:last-child > span { white-space: nowrap; }
  .hero-title-line-1 > span { white-space: nowrap; font-size: 0.88em; }
}

/* CTA del hero: píldora larga, proporcional para alojar las puntas */
.section-hero .btn-cta {
  font-size: var(--text-body);
  padding: 1.1em 3em;
  letter-spacing: 0.04em;
}
/* Especificidad superior: sobreescribe font, padding y min-width del hero
   frente a .section-hero .btn-cta { padding: 1.1em 3em } */
.section-hero .btn-cta--hero {
  font-size: var(--text-body);
  padding-block: 0.65em;
  padding-inline: clamp(4rem, 7vw, 5rem);
}
.hero-line-rosa { color: var(--rosa); }
.hero-presencia { font-weight: 600; font-style: normal; }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  max-width: 54ch;
  margin-inline: auto;
  margin-bottom: clamp(0.75rem, 1.5vh, 1.5rem);
  opacity: 0;
  transform: translateY(20px);
}

.hero-img {
  width: min(380px, 82%);
  margin-inline: auto;
  margin-top: clamp(2.5rem, 5vh, 4rem);
}
.hero-img .placeholder {
  aspect-ratio: 4/3;
  min-height: unset;
  width: 100%;
}

.hero-corner {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero-corner--tl {
  top: clamp(2rem, 3vh, 3rem); left: 0;
  width: clamp(140px, 20vw, 280px);
  transform-origin: top left;
}
.hero-corner--br {
  bottom: 0; right: 0;
  width: clamp(130px, 18vw, 260px);
  transform: scale(-1);
  transform-origin: bottom right;
}

/* Flores extra del hero */
.hero-flor-tr {
  position: absolute;
  top: 4%; right: 0%;
  width: clamp(55px, 7vw, 100px);
  transform: rotate(8deg);
  pointer-events: none; z-index: 0;
}
.hero-flor-bl {
  position: absolute;
  bottom: 8%; left: 0%;
  width: clamp(50px, 7vw, 110px);
  transform: rotate(-15deg);
  pointer-events: none; z-index: 0;
}
.hero-flor-mid {
  position: absolute;
  top: 38%; right: 2%;
  width: clamp(35px, 4vw, 65px);
  transform: rotate(5deg);
  pointer-events: none; z-index: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7.2 EL PROBLEMA
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-problema { text-align: center; align-items: center; }
.problema-vignette { width: 40px; margin-inline: auto; margin-bottom: 1.5rem; opacity: 0; }
.problema-title { font-size: var(--text-h2); margin-bottom: clamp(2.5rem, 5vh, 4.5rem); }
/* overflow visible para que el subrayado no se corte en la última línea */
.problema-title .line { display: block; overflow: visible; }
.problema-title .line > span { display: block; }

/* Línea "recuerdos grandes" — verde muy sutil */
.problema-linea-grande {
  color: color-mix(in srgb, var(--ink) 68%, var(--verde) 32%);
  display: block;
  margin-bottom: 0.45em;
}
/* Línea "los pequeños" — una sola línea en desktop */
.problema-linea-pequenos { display: block; white-space: nowrap; font-size: clamp(1.1rem, 2.3vw, 2.0rem); }
@media (max-width: 700px) { .problema-linea-pequenos { white-space: normal; font-size: inherit; } }

/* Racimo de Problema — bajado para no quedar pegado al header */
#problema .racimo-esquina--tr { top: clamp(3rem, 7vh, 6rem); }
/* Racimo de Precio — bajado para no solapar con logo del header */
#precio .racimo-esquina--tl { top: clamp(2.5rem, 5vh, 4rem); }

/* Vines laterales del Problema — tamaño natural, color visible */
.problema-vine {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  max-height: 82%;
  width: auto;
  max-width: clamp(90px, 10vw, 150px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s var(--ease-soft);
}
.problema-vine--left  { left: 0; }
.problema-vine--right { right: 0; transform: translateY(-50%) scaleX(-1); }
.problema-vine.is-visible { opacity: 0.72; }
.problema-body { margin-top: 0.75rem; }
.problema-body p { margin-inline: auto; margin-bottom: 1.2em; }
/* Frases que se atenúan al scrollear — opacity controlada por JS */
.olvido-frase { display: inline; font-weight: 400; }
.problema-highlight {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 500;
  margin-top: 1.5rem;
  margin-inline: auto;
  color: color-mix(in srgb, var(--ink) 75%, var(--rosa) 25%);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7.3 QUÉ ES EL PRODUCTO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-producto { text-align: center; align-items: center; }
.producto-title { font-size: clamp(1.5rem, 2.8vw, 2.5rem); margin-bottom: 2rem; }
.producto-body { margin-inline: auto; max-width: 60ch; margin-bottom: .5rem; }
.producto-body .enfasis { font-size: 1.12em; }
.producto-enfasis { font-weight: 500; font-style: italic; }

/* Asimetría — desktop: texto izquierda, showcase derecha */
.producto-container { max-width: min(1100px, 94vw); }
@media (min-width: 860px) {
  .producto-container {
    display: grid;
    grid-template-columns: 1fr 0.65fr;
    gap: clamp(3rem, 8vw, 6rem);
    align-items: center;
  }
  .section-producto { text-align: left; }
  .producto-text { text-align: left; }
  .producto-text .cenefa-titulo { margin-left: 0; }
  .producto-body { margin-inline: 0; }
  .plaquita-showcase { margin-inline: 0; }
}

.plaquita-showcase {
  position: relative;
  width: min(380px, 90%);
  margin-inline: auto;
  margin-top: 3rem;
  padding: 1.5rem;
}
.corner-frame { position: absolute; pointer-events: none; }
.corner-frame--tl { top: -10px; left: -10px; width: 72px; }
.corner-frame--tr { top: -10px; right: -10px; width: 72px; transform: scaleX(-1); }
.corner-frame--bl { bottom: -10px; left: -10px; width: 72px; transform: scaleY(-1); }
.corner-frame--br { bottom: -10px; right: -10px; width: 72px; transform: scale(-1); }

/* Flores decorativas laterales de sección */
.decor-flor {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transform: scale(.82);
  z-index: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7.4 VIDEO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-video { text-align: center; align-items: center; padding-block: clamp(2.5rem, 5vh, 4rem); }
.section-video .container { max-width: min(900px, 90vw); }
.video-title { font-size: clamp(1.5rem, 2.8vw, 2.6rem); margin-bottom: 2rem; }
.video-card { position: relative; margin-inline: auto; max-width: 640px; }
.video-divisor { display: block; margin-inline: auto; width: 100%; margin-top: 1.2rem; opacity: .85; }
.video-caption { max-width: 52ch; margin-inline: auto; margin-top: 1rem; font-style: italic; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7.5 CÓMO FUNCIONA — TIMELINE VERTICAL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-como {
  overflow: visible;
  align-items: center;
  padding-block: clamp(2rem, 5vh, 3.5rem);
}
.section-como .container { max-width: min(920px, 90vw); }
.como-title { font-size: var(--text-h2); text-align: center; margin-bottom: 3rem; }

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 600px;
  margin-inline: auto;
}

/* 2×2 grid en desktop */
@media (min-width: 860px) {
  .timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 4.5rem;
    max-width: 820px;
  }
  .timeline-vine-wrap { display: none; }
  .timeline-step { grid-template-columns: 72px 1fr; gap: 0.8rem; }
  .step-marker { min-height: 160px; }
}

/* Enredadera como pieza continua — img escala a todo el alto sin repetir ni recortar */
.timeline-vine-wrap {
  position: absolute;
  left: -4px; top: 0; bottom: 0; width: 72px;
  pointer-events: none;
  opacity: 0;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.timeline-vine-wrap img {
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
}

.timeline-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.step-marker {
  display: flex; align-items: flex-start; justify-content: center;
  width: 72px; height: auto; flex-shrink: 0;
}
.step-marker img { width: 72px; height: 150px; object-fit: cover; object-position: top center; transform: scale(.82); opacity: 0; }
.step-content h3 { font-size: var(--text-h3); margin-bottom: .4em; color: color-mix(in srgb, var(--ink) 88%, var(--verde) 12%); }
.step-content p { max-width: 50ch; opacity: .85; }

.como-lateral { display: none; }

/* Guirnaldas largas del timeline — 2 imágenes absolutas que flanquean los pasos */
.timeline-garland {
  position: absolute;
  top: 0;
  height: 100%;
  width: 72px;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  opacity: 0.88;
}
.timeline-garland--izq { left: -4px; }
.timeline-garland--der { display: none; }
@media (min-width: 860px) {
  .timeline-garland--der {
    display: block;
    left: calc(50% + 2.25rem);
  }
}

/* Línea de cierre §Cómo funciona */
.como-cierre {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: var(--verde);
  text-align: center;
  margin: clamp(2rem, 4vh, 3rem) auto 0;
  max-width: 54ch;
  opacity: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7.6 LOS TRES ESTILOS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-estilos { padding-block: 0; overflow: visible; background: var(--azul-noche); }

.estilos-sticky {
  position: relative;
  height: 100svh;
  overflow: hidden;
  background: var(--azul-noche);
  display: flex; align-items: center; justify-content: center;
}

.estilo-panel {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding-inline: clamp(1.5rem, 10vw, 6rem);
  text-align: center;
  opacity: 0;
  z-index: 1;
  background: var(--azul-noche);
  color: color-mix(in srgb, white 92%, transparent);
}
.estilo-panel:first-of-type { opacity: 1; z-index: 2; }

.estilo-num {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.2em;
  opacity: 0.6;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}
.estilo-pronto {
  font-size: var(--text-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.35;
  margin-top: 0.5rem;
}

/* Móvil: secciones apiladas, sin pin */
@media (max-width: 1099px) {
  .estilos-sticky { height: auto; flex-direction: column; overflow: visible; }
  .estilo-panel {
    position: relative; inset: unset;
    opacity: 1;
    padding-block: clamp(5rem, 12vh, 8rem);
    min-height: 100svh;
  }
  .estilo-panel:first-of-type { z-index: 1; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7.7 PRECIO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-precio { text-align: center; align-items: center; }
.precio-card {
  position: relative;
  max-width: 506px;
  margin-inline: auto;
  padding: clamp(3rem,7vw,4.5rem) clamp(2.5rem,6vw,4rem);
  background: color-mix(in srgb, var(--bg) 97%, var(--ink) 3%);
  border: 1px solid color-mix(in srgb, var(--ink-soft) 15%, transparent);
  border-radius: 12px;
}
.precio-card .corner-frame { width: 62px; }
.precio-medida {
  font-size: 0.97rem; letter-spacing: .1em;
  text-transform: uppercase; opacity: .6; margin-bottom: .85rem;
}
.precio-valor {
  font-family: var(--font-display);
  font-size: clamp(2.5rem,6vw,4rem);
  font-weight: 600;
  margin-bottom: .3rem;
}
.precio-pendiente { font-size: 0.93rem; opacity: .45; font-style: italic; }
.precio-incluye { font-size: 0.95rem; margin-block: 1.7rem; opacity: .75; line-height: 1.6; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7.8 HANNAH — dos columnas en desktop
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-hannah {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#hannah .container { max-width: min(1100px, 92vw); }

.hannah-cols {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
  margin-inline: auto;
}
@media (max-width: 860px) {
  .hannah-cols {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hannah-text { text-align: left; }
@media (max-width: 860px) {
  .hannah-text { text-align: center; }
}

.medallion-wrap {
  position: relative;
  width: min(420px, 88vw);
  margin-inline: auto;
}
.medallion-photo {
  position: absolute;
  inset: 10% 16%;
  z-index: 0;
  overflow: hidden;
  border-radius: 50% / 50%;
}
.medallion-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  clip-path: ellipse(48% 46% at 50% 50%);
}
.medallion-frame { position: relative; z-index: 1; width: 100%; }

.hannah-title { font-size: var(--text-h2); margin-bottom: 2rem; }
.hannah-body { max-width: 54ch; margin-bottom: 2rem; }
.enfasis-corazon {
  color: var(--terracota);
  font-style: italic;
  font-weight: 500;
}

.hannah-link {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--terracota);
  text-decoration-color: color-mix(in srgb, var(--terracota) 50%, transparent);
  font-weight: 400;
  transition: text-decoration-color .3s;
}
.hannah-link:hover { text-decoration-color: var(--terracota); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7.9 CTA FINAL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-cta { text-align: center; align-items: center; }
.section-cta .container { max-width: min(1100px, 92vw); }
.cta-divisor-top {
  width: min(500px, 90%);
  margin-inline: auto;
  margin-bottom: 3rem;
  opacity: 0;
}
.cta-title {
  font-size: clamp(1.7rem, 3.2vw, 3.0rem);
  margin-bottom: 2rem;
  max-width: none;
  margin-inline: auto;
}
.cta-frase-uno { white-space: nowrap; }
@media (max-width: 700px) { .cta-frase-uno { white-space: normal; } }
.section-cta .btn-cta {
  margin-top: 2.5rem;
  font-size: var(--text-sm);
  padding: 0.65em 2em;
  letter-spacing: 0.06em;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7.10 FOOTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-footer { padding-block: clamp(3rem,8vh,5rem); position: relative; }
.footer-divisor {
  width: min(440px, 90%);
  margin-inline: auto;
  margin-bottom: 2.5rem;
  opacity: .6;
}
.footer-content {
  text-align: center;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1.5rem,6vw,3rem);
}
.footer-brand { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; margin-bottom: .6rem; }
.footer-links {
  font-size: var(--text-sm); opacity: .55; margin-bottom: 1.25rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .75rem;
}
.footer-links a:hover { text-decoration: underline; }
.footer-legal { font-size: .78rem; opacity: .4; line-height: 1.65; max-width: 58ch; margin-inline: auto; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SISTEMA: PÉTALOS CAYENDO (capa fija)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.petal-canvas {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9;
  overflow: hidden;
}
.petal {
  position: absolute;
  will-change: transform, opacity;
  pointer-events: none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SISTEMA: ENREDADERAS LATERALES (solo desktop)
   Sin clip-path — fade in vía JS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (min-width: 1100px) {
  .vine-left, .vine-right {
    position: fixed; top: 0;
    height: 100svh;
    width: auto;
    pointer-events: none;
    z-index: 0;  /* detrás del contenido y flores de borde */
    opacity: 0;
  }
  .vine-left  { left: 0; }
  .vine-right { right: 0; transform: scaleX(-1); }
  .vine-left img, .vine-right img { height: 100%; width: auto; max-width: none; }
  /* Sub-páginas: enredaderas 30% más pequeñas y centradas */
  .page-body .vine-left,
  .page-body .vine-right { top: 15svh; height: 70svh; }
}
@media (max-width: 1099px) { .vine-left, .vine-right { display: none; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   REVEALS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.reveal-item { opacity: 0; transform: translateY(28px); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   REDUCED MOTION — innegociable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .petal-canvas { display: none; }
  .vine-left, .vine-right { opacity: 1 !important; }
  .timeline-vine-wrap { opacity: 1 !important; }
  .reveal-item { opacity: 1 !important; transform: none !important; }
  .decor-flor  { opacity: 1 !important; transform: scale(1) !important; }
  .hero-flor-tr, .hero-flor-bl, .hero-flor-mid { opacity: 1 !important; }
  /* overflow visible en reduced para que subrayados sean visibles desde el inicio */
  .hero-title .line,
  .problema-title .line { overflow: visible !important; }
  .hero-title .line > span { transform: none !important; opacity: 1 !important; }
  .hero-subtitle, .hero-logo, .hero-logo-decor,
  .cta-divisor-top { opacity: 1 !important; transform: none !important; }
  .step-marker img { opacity: 1 !important; transform: scale(1) !important; }
  .como-lateral { opacity: 1 !important; }
  .estilo-panel { position: relative !important; inset: unset !important; opacity: 1 !important; min-height: 100svh; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE FINO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 600px) {
  .hero-corner--tl { width: clamp(90px, 30vw, 160px); }
  .hero-corner--br { width: clamp(80px, 28vw, 140px); }
  .hero-flor-tr, .hero-flor-bl, .hero-flor-mid { display: none; }
  .hero-logo-decor { display: none; }
  .timeline-step { grid-template-columns: 72px 1fr; gap: 1rem; }
  .medallion-wrap { width: min(280px, 84vw); }
  .precio-card { padding: 2rem 1.25rem; }
  .corner-frame--tl, .corner-frame--tr,
  .corner-frame--bl, .corner-frame--br { width: 40px; }
  .vine-left, .vine-right { display: none !important; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TEXTURAS SUAVES — SVG feTurbulence grain
   Cada sección tiene su propio grano, variando baseFrequency.
   mix-blend-mode:multiply al 3-4% — papel artesanal sutil.
   Estilos (azul plano) excluido deliberadamente.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#hero::after,
#como-funciona::after,
#precio::after,
#cta::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  background-repeat: repeat;
}
#problema::after,
#producto::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.60' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  background-repeat: repeat;
}
#video::after,
.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.70' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  background-repeat: repeat;
}
#hannah::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.63' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  background-repeat: repeat;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CENEFAS — coronan los h2 de sección
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cenefa-titulo {
  display: block;
  width: min(380px, 72vw);
  height: auto;
  margin: 0 auto clamp(0.5rem, 1.4vh, 1rem);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft);
}
.cenefa-titulo.is-visible {
  opacity: 1;
  transform: translateY(0);
}
#cta .cenefa-titulo { width: min(480px, 86vw); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RACIMOS — clústeres decorativos de esquina
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.racimo-esquina {
  position: absolute;
  pointer-events: none;
  width: clamp(110px, 16vw, 200px);
  opacity: 0;
  transition: opacity 1s var(--ease-soft);
}
.racimo-esquina.is-visible { opacity: 0.85; }
.racimo-esquina--tl { top: 0; left: 0; transform-origin: top left; }
.racimo-esquina--tr { top: 0; right: 0; transform-origin: top right; transform: scaleX(-1); }
.racimo-esquina--bl { bottom: 0; left: 0; transform-origin: bottom left; transform: scaleY(-1); }
.racimo-esquina--br { bottom: 0; right: 0; transform-origin: bottom right; transform: scale(-1); }

@media (max-width: 600px) {
  .racimo-esquina { width: clamp(70px, 22vw, 120px); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   VARIANTES DE ÉNFASIS — nuevas
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.enfasis--bold { font-weight: 600; }

/* Tipografía alternativa para énfasis (Figtree italic) */
.enfasis--display-alt {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BOTONES DE NAVEGACIÓN ENTRE SECCIONES
   Estilo de marca: flecha botánica discreta.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-nav-btn {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.5rem, 3.5vw, 3.5rem);
  width: 44px;
  height: 60px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3;
  overflow: visible;
  opacity: 0.7;
  padding: 4px;
  transition: opacity 0.35s var(--ease-soft), transform 0.4s var(--ease-soft), filter 0.35s var(--ease-soft);
}
.section-nav-btn:hover,
.section-nav-btn:focus-visible {
  opacity: 1;
  transform: translateY(5px);
  filter: drop-shadow(0 3px 6px color-mix(in srgb, var(--cta) 40%, transparent));
  outline: none;
}
/* Versión clara para paneles azules de Estilos */
.estilo-panel .section-nav-btn {
  color: color-mix(in srgb, white 90%, transparent);
  opacity: 0.50;
  z-index: 10;
}
.estilo-panel .section-nav-btn:hover {
  opacity: 0.92;
}
@media (max-width: 600px) {
  .section-nav-btn { right: 1rem; bottom: 1.5rem; width: 28px; height: 40px; }
}
