@charset "UTF-8";
/* ==========================================================
   Clase 11/11 · Yeimy González
   Paleta crema, ciruela y rosa empolvado. Sin dependencias.
   ========================================================== */

@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --cream: #f8f2eb;
  --paper: #fffbf6;
  --blush: #f1dcd4;
  --rose: #d9a5a0;
  --plum: #8e4d6f;        /* malva del hero: color principal de la marca */
  --plum-deep: #74395a;   /* malva más oscuro: hover y detalles */
  --rosa-claro: #ffd7e0;  /* acentos sobre fondo malva */
  --ink: #2e1f26;
  --muted: #6e5f63;
  --sage: #8e9b7e;
  --gold: #c8a15a;
  --line: rgba(74, 38, 54, 0.14);
  --radius: 22px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: min(1120px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden; /* para navegadores sin clip */
  overflow-x: clip; /* clip y no hidden: hidden rompe el apilado (sticky) de las claves en móvil */
}
img { max-width: 100%; display: block; }
a { color: var(--plum); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: var(--wrap); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--plum); font-weight: 500;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }

.sparkle { color: var(--gold); display: inline-block; animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1) rotate(0); } 50% { opacity: .45; transform: scale(.8) rotate(12deg); } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 30px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--plum); color: var(--paper);
  font: 500 16px/1 var(--sans); text-decoration: none;
  box-shadow: 0 10px 30px -12px rgba(74, 38, 54, .55);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn:hover { background: var(--plum-deep); transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(74, 38, 54, .6); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--plum); border: 1px solid var(--plum); box-shadow: none; }
.btn--ghost:hover { background: var(--plum); color: var(--paper); }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }

/* ---------- Cabecera ---------- */
.top {
  position: absolute; inset: 0 0 auto; z-index: 5;
  padding: 22px 0;
}
.top .wrap { display: flex; justify-content: space-between; align-items: center; }
.brand { font-family: var(--serif); font-size: 21px; color: var(--ink); text-decoration: none; }
.brand em { font-style: italic; color: var(--plum); }
.top a.link { font-size: 15px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 130px 0 90px;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(217, 165, 160, .45), transparent 70%),
    radial-gradient(45% 45% at 10% 90%, rgba(142, 155, 126, .22), transparent 70%),
    var(--cream);
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.2vw, 78px); margin: 22px 0 26px; }
.hero h1 em { display: block; font-style: italic; color: var(--plum); font-size: .44em; line-height: 1.3; margin-top: 16px; max-width: 30em; }
.hero .lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 33em; }
.hero .lead strong { color: var(--ink); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 34px; }
.hero-meta { font-size: 14px; color: var(--muted); }
.hero-meta span + span::before { content: "\00b7"; margin: 0 8px; opacity: .6; }

.hero-visual { position: relative; }
.photo {
  position: relative; margin: 0;
  aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 50% 15%, rgba(255, 251, 246, .75), transparent 70%),
    linear-gradient(160deg, var(--blush), var(--rose) 70%, #c98f8c);
  box-shadow: 0 40px 80px -40px rgba(74, 38, 54, .45);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo:empty::after {
  content: attr(data-label);
  position: absolute; inset: auto 0 28px; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 16px; color: rgba(46, 31, 38, .55);
}
.photo--wide { aspect-ratio: 5 / 6; border-radius: var(--radius) var(--radius) 999px 999px; }

.date-card {
  position: absolute; left: -44px; bottom: 34px;
  background: var(--paper); border-radius: 18px; padding: 18px 22px;
  box-shadow: 0 24px 50px -24px rgba(74, 38, 54, .45);
  min-width: 230px;
}
.date-card .day { font-family: var(--serif); font-size: 30px; line-height: 1; }
.date-card .day em { color: var(--plum); }
.date-card .hour { font-size: 14px; color: var(--muted); margin-top: 6px; }
.countdown { display: flex; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.countdown div { text-align: center; }
.countdown b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.petal {
  position: absolute; pointer-events: none; opacity: .55;
  width: 18px; height: 26px; border-radius: 80% 0 80% 0; background: var(--rose);
  animation: drift 14s ease-in-out infinite;
}
.petal.p1 { top: 18%; left: 52%; animation-delay: -2s; }
.petal.p2 { top: 70%; left: 4%; width: 12px; height: 18px; background: var(--sage); animation-delay: -7s; }
.petal.p3 { top: 12%; right: 6%; width: 14px; height: 20px; animation-delay: -10s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(18px, 26px) rotate(40deg); }
}

/* ---------- Secciones ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.section--paper { background: var(--paper); }
.section--plum { background: var(--plum); color: var(--paper); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 54px); margin-top: 16px; }
.section-head h2 em { color: var(--plum); }
.section--plum .eyebrow, .section--plum h2 em { color: var(--rosa-claro); }

/* Vídeo tras el hero: mismo malva, horizontal en escritorio y vertical en móvil */
.video-sec { background: var(--plum); padding: 10px 0 100px; margin-top: -1px; position: relative; }
.video-sec[hidden] { display: none; }
.video-box {
  position: relative; margin: 0 auto; max-width: 980px;
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: rgba(255, 251, 246, .08); border: 1px solid rgba(255, 251, 246, .2);
  box-shadow: 0 40px 90px -45px rgba(46, 31, 38, .7);
}
.video-box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #2e1f26; display: none; }
.video-box .video-h.on, .video-box .video-v.on { display: block; }
.video-empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: rgba(255, 251, 246, .85); font-family: var(--serif); font-style: italic; font-size: 18px;
}
.video-box.has-video .video-empty { display: none; }
.video-play {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); color: var(--plum); font-style: normal; font-size: 24px; padding-left: 5px;
}

/* Reproductor propio */
.video-box.is-vertical { aspect-ratio: 9 / 16; max-width: 420px; }
.video-box video { cursor: pointer; }
.vp-start, .vp-bar, .vp-end { display: none; }
.video-box.has-video .vp-start { display: flex; }
.video-box.has-video.started .vp-start { display: none; }
.vp-start {
  position: absolute; inset: 0; z-index: 2; border: 0; cursor: pointer; color: var(--paper);
  flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: linear-gradient(to top, rgba(46, 31, 38, .7), rgba(46, 31, 38, 0) 35%);
  font: inherit;
}
.vp-start-btn {
  position: relative; width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--plum);
  box-shadow: 0 18px 40px -14px rgba(46, 31, 38, .7);
  transition: transform .3s ease;
}
.vp-start-btn svg { width: 34px; height: 34px; fill: currentColor; margin-left: 5px; }
.vp-start-btn::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid rgba(255, 251, 246, .6); animation: vp-pulse 2.2s ease-out infinite;
}
@keyframes vp-pulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.vp-start:hover .vp-start-btn { transform: scale(1.06); }
.vp-start-label {
  position: absolute; left: 0; right: 0; bottom: 26px; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 19px; text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
.vp-start-label span:not(:empty)::before { content: "\00b7"; margin: 0 6px; }

.video-box.started .vp-bar { display: flex; }
.vp-bar {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3;
  align-items: center; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(46, 31, 38, .45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--paper); opacity: 1; transform: none; transition: opacity .35s ease, transform .35s ease;
}
.video-box.is-playing.ui-hidden .vp-bar { opacity: 0; transform: translateY(8px); pointer-events: none; }
.video-box.is-playing.ui-hidden { cursor: none; }
.vp-btn {
  flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; padding: 0;
  display: grid; place-items: center; background: transparent; color: inherit; cursor: pointer;
  transition: background .2s ease;
}
.vp-btn:hover, .vp-btn:focus-visible { background: rgba(255, 251, 246, .16); outline: none; }
.vp-btn svg { width: 20px; height: 20px; fill: currentColor; }
.vp-btn .i-play, .video-box.is-paused .vp-btn .i-pause, .vp-btn .i-mute, .video-box.is-muted .vp-btn .i-vol { display: none; }
.video-box.is-paused .vp-btn .i-play, .video-box.is-muted .vp-btn .i-mute { display: block; }
.vp-progress {
  flex: 1; position: relative; height: 6px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 251, 246, .28); margin: 0 6px; touch-action: none;
}
.vp-progress::after { content: ""; position: absolute; inset: -12px 0; } /* zona táctil más grande */
.vp-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--rosa-claro), var(--paper));
}
.vp-fill::after {
  content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  border-radius: 50%; background: var(--paper); box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.vp-time { flex: none; font-size: 12px; font-variant-numeric: tabular-nums; opacity: .9; min-width: 34px; }

.video-box.ended .vp-end { display: flex; }
.video-box.ended .vp-bar { display: none; }
.vp-end {
  position: absolute; inset: 0; z-index: 4; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 24px; text-align: center; color: var(--paper);
  background: rgba(142, 77, 111, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.vp-end p { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.2; max-width: 14em; }
.vp-end p em { color: var(--rosa-claro); }
.vp-end .btn { background: var(--paper); color: var(--plum-deep); }
.vp-replay { border: 0; background: none; color: var(--paper); font: 500 15px var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; opacity: .9; }

.video-box:fullscreen { max-width: none; border-radius: 0; border: 0; }
.video-box:fullscreen video { object-fit: contain !important; }

/* ¿Te suena? */
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pains li {
  list-style: none; padding: 30px 30px 30px 0; border-bottom: 1px solid var(--line);
  font-size: 19px; display: flex; gap: 18px;
}
.pains li:nth-child(odd) { padding-right: 40px; border-right: 1px solid var(--line); }
.pains li:nth-child(even) { padding-left: 40px; }
.pains .n { font-family: var(--serif); font-style: italic; color: var(--rose); font-size: 22px; line-height: 1.2; flex: none; }
.pains { padding: 0; margin: 0; }

.quote {
  margin: 70px auto 0; max-width: 820px; text-align: center;
}
.quote blockquote {
  margin: 0; font-family: var(--serif); font-style: italic;
  font-size: clamp(26px, 3.2vw, 38px); line-height: 1.25; color: var(--plum);
}
.quote figcaption { margin-top: 18px; font-size: 14px; color: var(--muted); }
.quote-after { text-align: center; margin-top: 34px; font-size: 19px; }

/* Tres claves */
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.key {
  background: rgba(255, 251, 246, .06); border: 1px solid rgba(241, 220, 212, .18);
  border-radius: var(--radius); padding: 34px 30px 36px;
  transition: transform .35s ease, background .35s ease;
}
.key:hover { transform: translateY(-6px); background: rgba(255, 251, 246, .1); }
.key .icon { font-size: 30px; }
.key .num { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--rosa-claro); margin: 22px 0 8px; }
.key h3 { font-size: 30px; margin-bottom: 14px; }
.key p { color: rgba(255, 251, 246, .88); margin: 0; }
.live {
  margin-top: 46px; display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center;
}
.live > span:first-child { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--rosa-claro); margin-right: 8px; }
.chip { border: 1px solid rgba(241, 220, 212, .3); border-radius: 999px; padding: 9px 18px; font-size: 15px; }

/* Sobre Yeimy */
.about .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.about h2 { font-size: clamp(36px, 4.4vw, 56px); margin: 16px 0 28px; }
.about p { color: var(--muted); font-size: 18px; }
.about p strong { color: var(--ink); font-weight: 500; }
.signature { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--plum); margin-top: 10px; }

/* Detalles + formulario */
.signup .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.details h2 { font-size: clamp(34px, 4vw, 50px); margin: 16px 0 30px; }
.facts { margin: 0; padding: 0; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; }
.zones { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 4px 22px; justify-content: start; font-size: 15px; }
.zones b { font-weight: 500; font-variant-numeric: tabular-nums; }
.local-time { margin-top: 10px; font-size: 15px; color: var(--plum); }
.local-time:empty { display: none; }

.form-card {
  background: var(--paper); border-radius: 28px; padding: 44px 40px;
  box-shadow: 0 40px 90px -50px rgba(74, 38, 54, .5);
  border: 1px solid var(--line);
}
.form-card h3 { font-size: 32px; }
.form-card .sub { color: var(--muted); margin: 10px 0 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input {
  width: 100%; padding: 15px 18px; border-radius: 14px;
  border: 1px solid rgba(74, 38, 54, .22); background: #fff;
  font: 400 16px var(--sans); color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgba(142, 77, 111, .15); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 14px 0; line-height: 1.45; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--plum); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 16px; font-size: 15px; min-height: 1.4em; }
.form-msg.error { color: #a1323f; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 26px 40px 26px 0; position: relative;
  font-family: var(--serif); font-size: 22px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 26px; color: var(--plum); transition: transform .3s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 24px; max-width: 40em; margin: 0; }

/* Cierre */
.closing { text-align: center; padding: 120px 0; }
.closing h2 { font-size: clamp(36px, 5vw, 64px); max-width: 14em; margin: 18px auto 34px; }
.closing h2 em { color: var(--plum); }

footer { padding: 40px 0 110px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Barra fija en móvil */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20;
  display: none; transform: translateY(140%); transition: transform .35s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; border: 1px solid rgba(255, 251, 246, .45); box-shadow: 0 14px 34px -10px rgba(46, 31, 38, .55); }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.hero .reveal { transition-delay: calc(var(--d, 0) * 120ms); }

/* ---------- Páginas interiores ---------- */
.page { padding: 130px 0 90px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); margin: 18px 0 30px; }
.page h2 { font-size: 26px; margin: 40px 0 12px; }
.page p, .page li { color: var(--muted); }
.pending { background: #fff3c4; color: #6b5200; padding: 1px 6px; border-radius: 6px; font-size: .95em; }

.thanks { min-height: 100vh; padding: 140px 0 90px; }
.thanks .wrap { max-width: 760px; display: block; }
.thanks h1 { font-size: clamp(40px, 6vw, 70px); margin: 18px 0 18px; }
.thanks h1 em { display: inline-block; font-size: .6em; margin: 0 0 0 8px; vertical-align: middle; color: var(--gold); }
.thanks .lead { font-size: 19px; color: var(--muted); margin-bottom: 44px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 30px; display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start;
}
.steps .n { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--rose); line-height: 1; }
.steps h2 { font-size: 24px; margin-bottom: 6px; }
.steps p { color: var(--muted); margin-bottom: 16px; }
.steps .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.steps .btn { padding: 14px 22px; font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 110px 0 70px; }
  .hero .wrap, .about .wrap, .signup .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 420px; margin-inline: auto; width: 100%; }
  .date-card { left: -10px; }
  .keys { grid-template-columns: 1fr; }
  .about .photo { max-width: 380px; margin-inline: auto; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .section { padding: 80px 0; }
  .pains { grid-template-columns: 1fr; }
  .pains li, .pains li:nth-child(odd), .pains li:nth-child(even) { padding: 24px 0; border-right: 0; font-size: 18px; }
  .hero-cta .btn { width: 100%; }
  .date-card { position: relative; left: auto; bottom: auto; margin: -70px 16px 0; }
  .form-card { padding: 32px 22px; border-radius: 22px; }
  .facts div { grid-template-columns: 1fr; gap: 6px; }
  .sticky-cta { display: block; }
  .video-sec { padding: 8px 0 70px; }
  .video-box { aspect-ratio: 9 / 16; max-width: 420px; }
  .steps li { grid-template-columns: 1fr; gap: 6px; padding: 24px 22px; }
  .steps .btn { width: 100%; }
  .top a.link { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .petal { animation: none; }
}

/* Mensaje de la seguidora con aspecto de mensaje directo de Instagram */
.ig-dm {
  margin: 64px auto 0; max-width: 400px; background: #fff; color: #000;
  border-radius: 28px; overflow: hidden; border: 1px solid #ececec;
  box-shadow: 0 40px 80px -40px rgba(74, 38, 54, .45);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  transform: rotate(-1.2deg);
}
.ig-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #efefef; }
.ig-ico { width: 24px; height: 24px; flex: none; color: #000; }
.ig-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none; padding: 2px;
  background: conic-gradient(from 210deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
}
.ig-avatar span, .ig-mini {
  display: block; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #fff;
  background: radial-gradient(circle at 50% 38%, #e9c9c1 0 22%, transparent 23%),
              radial-gradient(circle at 50% 100%, #e9c9c1 0 42%, transparent 43%), #f3e3de;
}
.ig-who { flex: 1; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ig-who b { font-size: 15px; font-weight: 600; }
.ig-who small { font-size: 12px; color: #737373; }
.ig-body { padding: 26px 16px 18px; }
.ig-msg { display: flex; align-items: flex-end; gap: 8px; }
.ig-mini { width: 28px; height: 28px; flex: none; border: 0; }
.ig-bubble {
  margin: 0; padding: 11px 15px; background: #efefef; border-radius: 22px 22px 22px 6px;
  font-size: 15px; line-height: 1.38; max-width: 80%;
}
.ig-react {
  display: inline-block; margin: -6px 0 0 44px; position: relative;
  background: #fff; border: 1px solid #efefef; border-radius: 999px; padding: 1px 6px; font-size: 12px;
}
.ig-foot { display: flex; align-items: center; gap: 10px; margin: 0 12px 14px; padding: 6px 14px 6px 6px; border: 1px solid #dbdbdb; border-radius: 999px; }
.ig-cam { width: 32px; height: 32px; border-radius: 50%; background: #3797f0; display: grid; place-items: center; flex: none; }
.ig-cam svg { width: 18px; height: 18px; }
.ig-input { color: #8e8e8e; font-size: 14px; }

/* Claves: aparecen una detrás de otra en escritorio */
.keys .key:nth-child(2) { transition-delay: .12s; }
.keys .key:nth-child(3) { transition-delay: .24s; }

/* Móvil: menos espacio entre secciones y claves compactas apiladas */
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .pains li, .pains li:nth-child(odd), .pains li:nth-child(even) { padding: 16px 0; font-size: 16px; gap: 14px; }
  .pains .n { font-size: 18px; }
  .ig-dm { margin-top: 40px; transform: none; }
  .quote-after { margin-top: 24px; font-size: 17px; }

  .keys { gap: 14px; }
  .key {
    position: sticky; top: 76px;
    display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
    padding: 20px 20px 22px; background: #99597b; border-color: rgba(255, 251, 246, .22);
    box-shadow: 0 -14px 30px -18px rgba(46, 31, 38, .55);
    transform-origin: 50% 0; transition: none; will-change: transform;
  }
  .key:hover { transform: none; background: #99597b; }
  .key:nth-child(2) { top: 90px; }
  .key:nth-child(3) { top: 104px; }
  .key .icon { grid-row: 1 / 3; font-size: 28px; line-height: 1; }
  .key .num { margin: 0 0 2px; font-size: 11px; }
  .key h3 { font-size: 23px; margin: 0; }
  .key p { grid-column: 1 / -1; margin-top: 12px; font-size: 15px; }
  .keys .key.reveal { opacity: 1; transform: none; transition: none; }
  .live { margin-top: 28px; }

  .about .photo { max-width: 240px; }
  .about h2 { margin: 12px 0 18px; }
  .about p { font-size: 16px; }
}


/* Móvil: el formulario va antes que los detalles, para llegar antes a apuntarse */
@media (max-width: 720px) {
  .signup .wrap { display: flex; flex-direction: column; gap: 40px; }
  .signup .form-card { order: -1; }
  .live { gap: 8px; }
  .live > span:first-child { width: 100%; margin-bottom: 2px; }
  .chip { font-size: 13px; padding: 7px 12px; }
}

/* Texto de entrada debajo del vídeo */
.video-lead {
  max-width: 640px; margin: 40px auto 0; text-align: center;
  color: rgba(255, 251, 246, .88); font-size: 18px; line-height: 1.65;
}
.video-lead strong { color: var(--paper); font-weight: 500; }
@media (max-width: 720px) {
  .video-lead { margin-top: 28px; font-size: 16px; text-align: left; }
}

/* Vídeo: arranque automático sin sonido y botón para activarlo */
.vp-sound { display: none; }
.video-box.needs-sound.started .vp-sound {
  display: inline-flex; position: absolute; z-index: 3; top: 16px; left: 50%; transform: translateX(-50%);
  align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--paper); color: var(--plum-deep); font: 500 14px var(--sans);
  box-shadow: 0 12px 30px -10px rgba(46, 31, 38, .6);
  animation: vp-bounce 1.8s ease-in-out infinite;
}
.vp-sound svg { width: 18px; height: 18px; fill: currentColor; }
@keyframes vp-bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-4px); } }
.vp-progress { cursor: default; }
.vp-fill { transition: width .25s linear; }
.vp-fill::after { display: none; }
.video-box.needs-sound .vp-bar { opacity: 1 !important; transform: none !important; }

/* Pantalla completa del vídeo (también en iPhone, sin salir de nuestro reproductor) */
.vp-btn .i-fs-exit, .video-box.is-fs .vp-btn .i-fs { display: none; }
.video-box.is-fs .vp-btn .i-fs-exit { display: block; }
.video-box.pseudo-fs {
  position: fixed; inset: 0; z-index: 1000; margin: 0;
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; aspect-ratio: auto;
  border-radius: 0; border: 0; background: #000;
}
.video-box.pseudo-fs video, .video-box:fullscreen video, .video-box:-webkit-full-screen video { object-fit: contain !important; background: #000; }
.video-box.pseudo-fs .vp-bar { bottom: max(16px, env(safe-area-inset-bottom)); }
html.vp-locked, html.vp-locked body { overflow: hidden; }
html.vp-locked .sticky-cta { display: none; }

/* Prefijo del país + número de WhatsApp */
.tel-group {
  display: flex; align-items: stretch; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(74, 38, 54, .22); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.tel-group:focus-within { border-color: var(--plum); box-shadow: 0 0 0 4px rgba(142, 77, 111, .15); }
.tel-group select {
  flex: none; width: 104px; border: 0; border-right: 1px solid rgba(74, 38, 54, .14);
  background: #f7f1f4; color: var(--ink); font: 500 15px var(--sans); padding: 0 8px 0 12px; cursor: pointer;
}
.tel-group select:focus { outline: none; }
.field .tel-group input, .tel-group input {
  flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; border-radius: 0; background: transparent;
}

/* Formulario dentro del hero */
.hero-form { display: block; margin-top: 4px; max-width: 520px; }
.hero-form-title { font-family: var(--serif); font-size: 22px; color: var(--paper); margin: 0 0 14px; }
.hero-form-title em { color: var(--rosa-claro); }
.hero-form input[type="text"], .hero-form input[type="email"], .hero-form .tel-group {
  width: 100%; height: 52px; border-radius: 14px; border: 1px solid transparent;
  background: rgba(255, 251, 246, .96); color: var(--ink); font: 400 16px var(--sans); padding: 0 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hero-form .tel-group { padding: 0; margin-top: 10px; }
.hero-form .tel-group input { height: 100%; padding: 0 16px; font: 400 16px var(--sans); }
.hero-form input:focus, .hero-form .tel-group:focus-within { outline: none; border-color: var(--rosa-claro); box-shadow: 0 0 0 4px rgba(255, 215, 224, .25); }
.hero-form .tel-group input:focus { box-shadow: none; }
.hf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check--light { color: rgba(255, 251, 246, .82); font-size: 13px; margin: 12px 0 14px; }
.check--light a { color: var(--paper); }
.check--light input { accent-color: var(--rosa-claro); }
.hero-form .btn { width: 100%; }
.hero-form .form-msg { min-height: 0; margin: 10px 0 0; color: var(--paper); }
.hero-form .form-msg.error { color: var(--rosa-claro); font-weight: 500; }
.hero-form .hero-meta { margin-top: 12px; }
@media (max-width: 340px) {
  .hf-row { grid-template-columns: 1fr; }
}


/* ==========================================================
   Animaciones al hacer scroll
   Solo se animan transform y opacidad (las que el navegador mueve sin esfuerzo),
   y cada elemento se anima una sola vez, al entrar en pantalla.
   ========================================================== */
html { overflow-x: clip; } /* que nada asome por los lados mientras entra */
.reveal { transition: opacity .9s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }

/* Dolores: los de la izquierda entran desde la izquierda; los de la derecha, desde la derecha */
.pains li.reveal:nth-child(odd):not(.in) { transform: translateX(-90px); }
.pains li.reveal:nth-child(even):not(.in) { transform: translateX(90px); }
.pains li.reveal:nth-child(n+3) { transition-delay: .12s; }

/* Mensaje de Instagram: llega girando un poco */
.ig-dm.reveal:not(.in) { transform: translateY(40px) rotate(-6deg) scale(.95); }

/* Vídeo: crece suave */
.video-box.reveal:not(.in) { transform: scale(.94); }

/* Sobre Yeimy: foto desde la izquierda, texto desde la derecha */
.about .photo.reveal:not(.in) { transform: translateX(-70px) rotate(-3deg); }
.about .wrap > div.reveal:not(.in) { transform: translateX(70px); }

/* Registro: detalles desde la izquierda, formulario desde la derecha */
.signup .details.reveal:not(.in) { transform: translateX(-70px); }
.signup .form-card.reveal:not(.in) { transform: translateX(70px); transition-delay: .1s; }

/* «En directo»: las etiquetas aparecen una detrás de otra */
.live .chip { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.live.in .chip { opacity: 1; transform: none; }
.live.in .chip:nth-child(3) { transition-delay: .12s; }
.live.in .chip:nth-child(4) { transition-delay: .24s; }

/* Escritorio: las 3 claves llegan arriba-abajo-arriba */
@media (min-width: 721px) {
  .keys .key.reveal:nth-child(1):not(.in), .keys .key.reveal:nth-child(3):not(.in) { transform: translateY(-90px); }
  .keys .key.reveal:nth-child(2):not(.in) { transform: translateY(90px); }
  /* Más pausada y escalonada para que se vea bien */
  .keys .key.reveal { transition: opacity 1s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
  .keys .key.reveal:nth-child(2) { transition-delay: .25s; }
  .keys .key.reveal:nth-child(3) { transition-delay: .5s; }
  .ig-dm.reveal.in { transform: rotate(-1.2deg); }
}
