/* =============================================================
   Álbum Digital — styles.css
   1. Tokens · 2. Reset · 3. Utilities · 4. Typography
   5. Components · 6. Sections · 7. Effects · 8. Responsive
   9. Reduced motion
   ============================================================= */

/* ---------- 1. Tokens ---------- */
@property --mesh-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --mesh-y { syntax: "<percentage>"; inherits: false; initial-value: 50%; }

:root {
  --bg:        #fdf5f3;   /* crema blush */
  --bg-2:      #ffffff;
  --bg-tint:   #fbe9ec;   /* rosa suave */
  --ink:       #221019;   /* casi negro cálido */
  --ink-soft:  #5f4753;
  --ink-mute:  #9a8089;
  --accent:    #c2185b;   /* frambuesa · color de marca Tu Invitación */
  --accent-deep: #9c1247;
  --gold:      #c69a4c;   /* oro / champán */
  --accent-2:  #a83a6a;   /* frambuesa apagada (malla) */
  --accent-3:  #efb9c9;   /* rosa claro (malla) */
  --line:      rgba(38,20,28,0.12);
  --glass:     rgba(255,255,255,0.60);
  --glass-line: rgba(255,255,255,0.8);

  --serif:  "Playfair Display", Georgia, "Times New Roman", serif;
  --script: "Dancing Script", "Playfair Display", cursive;
  --sans:   "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --wrap: 1180px;
  --pad: clamp(1.15rem, 5vw, 3rem);
  --radius: 20px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.06; letter-spacing: -0.02em; font-weight: 600; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. Utilities ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { max-width: 820px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 10001;
  padding: .6rem 1rem; background: var(--ink); color: #fff;
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.kicker {
  font-size: .74rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent-deep);
}

.glass {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -30px rgba(178,58,114,.35);
}

/* ---------- 4. Typography ---------- */
.hero-title,
.section-title,
.band-lead { font-family: var(--serif); font-weight: 600; }

.hero-title {
  font-size: clamp(2.3rem, 6.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 15ch;
  font-weight: 700;
  color: var(--ink);
}
.hero-title em,
.section-title em,
.band-lead em {
  display: inline-block;
  font-family: var(--script);
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0;
  line-height: 1;
}
.hero-title em { font-size: 1.15em; margin-top: .08em; }

.section-title {
  font-size: clamp(1.75rem, 3.6vw, 2.9rem);
  max-width: 22ch;
}
.section-head { margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.section-head .kicker { display: block; margin-bottom: .9rem; }

/* ---------- 5. Components ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: -0.01em;
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft),
              background-color .3s var(--ease-out), color .3s var(--ease-out);
  will-change: transform;
}
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(178,58,114,.55);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -14px rgba(178,58,114,.6), 0 0 0 1px var(--gold);
}
.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent-deep); }

.btn-wa {
  background: #1f7a52; color: #fff;
  box-shadow: 0 12px 28px -12px rgba(31,122,82,.7);
}
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -14px rgba(31,122,82,.7); }
.wa-ico {
  display: inline-grid; place-items: center; flex: none;
  width: 1.5em; height: 1.5em; border-radius: 50%;
  background: rgba(255,255,255,.22); font-size: .82em; line-height: 1;
}
.btn-wa .wa-ico { background: rgba(255,255,255,.25); }

.magnetic-inner { display: inline-flex; align-items: center; gap: inherit; will-change: transform; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 74px; }
.nav.is-scrolled {
  background: #fdf5f3;
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(178,58,114,.3);
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 800; font-size: 1.06rem; letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-name { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-name small {
  font-family: var(--script); font-weight: 700; font-size: .7rem;
  color: var(--accent); letter-spacing: .01em; margin-top: 1px;
}
/* el nombre principal en la marca usa el script para el toque romántico */
.brand-name { font-family: var(--script); font-weight: 700; font-size: 1.35rem; }
.brand-name small { font-family: var(--sans); font-weight: 800; font-size: .58rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--ink-mute); }
.brand-dot, .splash-dot {
  width: 11px; height: 11px; border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  box-shadow: 0 0 0 4px rgba(216,77,139,.16);
}

/* Corazones y separadores */
.heart { color: var(--accent); }
.hb { color: var(--gold); margin: 0 .15em; }
.nav-links { display: none; gap: 1.35rem; margin-left: auto; font-weight: 600; font-size: .88rem; }
.nav-links a { position: relative; padding: .3rem 0; color: var(--ink-soft); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-soft);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }

/* Separador sutil antes de Álbum Premium / Para Socios — mismas
   entradas del menú, solo distinguidas de las anclas internas. */
.nav-links-divider { display: inline-block; width: 1px; height: 1.1em; background: var(--line); }
.nav-mobile-divider { display: inline-block; width: 40%; max-width: 160px; height: 1px; background: var(--line); margin-inline: auto; }

.nav-toggle {
  margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .55s var(--ease-soft);
}
.nav-mobile[aria-hidden="false"] { clip-path: inset(0); }
.nav-mobile nav { display: grid; gap: 1.4rem; text-align: center; font-family: var(--serif); font-size: 1.7rem; }
.nav-mobile nav .btn { font-family: var(--sans); font-size: 1rem; margin-top: .8rem; }

/* ---------- 6. Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 5.75rem); position: relative; }
.section-alt { background: var(--bg-tint); }

/* Mesh + grain */
.mesh {
  position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 36% at var(--mesh-x) var(--mesh-y), rgba(240,184,198,.24), transparent 66%),
    radial-gradient(46% 42% at 88% 4%, rgba(216,77,139,.16), transparent 62%),
    radial-gradient(52% 48% at 4% 96%, rgba(198,154,76,.16), transparent 64%);
  filter: blur(70px) saturate(115%);
  opacity: .5;
  animation: meshShift 30s linear infinite;
}
@keyframes meshShift {
  0%   { --mesh-a: 0deg;   --mesh-x: 28%; --mesh-y: 32%; }
  50%  { --mesh-a: 180deg; --mesh-x: 72%; --mesh-y: 64%; }
  100% { --mesh-a: 360deg; --mesh-x: 28%; --mesh-y: 32%; }
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .16;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  mix-blend-mode: multiply;
}

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .8s var(--ease-out), clip-path 1s var(--ease-soft);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-mark {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--ink);
}
.splash-dot { animation: splashPulse 1.2s var(--ease-soft) infinite; }
@keyframes splashPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.5); } }

/* Hero · Álbum en Vivo — una sola columna, jerarquía clara:
   nombre → título → ver el mockup → entender cómo funciona */
.hero { padding-top: clamp(5.25rem, 8vw, 6.5rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.hero-live { max-width: 40rem; margin-inline: auto; text-align: center; }
.hero-note { font-size: .84rem; color: var(--ink-mute); letter-spacing: .01em; }

/* "Álbum en vivo" = protagonista del inicio */
.hero-eyebrow {
  font-family: var(--serif); font-style: normal; font-weight: 700;
  font-size: clamp(2.6rem, 11vw, 4.8rem); line-height: .98;
  letter-spacing: -.02em; color: var(--ink); margin: 0 0 .7rem;
}
.hero-eyebrow em {
  font-family: var(--script); font-style: normal; font-weight: 700;
  color: var(--accent); font-size: 1.1em; letter-spacing: 0;
}
.hero-live .hero-title {
  font-size: clamp(1.3rem, 3.3vw, 1.95rem); line-height: 1.22;
  font-weight: 600; color: var(--ink-soft); letter-spacing: -.01em;
  margin: 0 auto .5rem; max-width: 22ch;
}
.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.14rem); color: var(--ink-mute);
  max-width: 27rem; margin: 0 auto;
}

/* el mockup: protagonista, grande, centrado, sin cortarse entre secciones */
.hero-stage {
  position: relative; width: 100%; max-width: 340px;
  margin: clamp(2.2rem, 6vw, 3rem) auto clamp(1.9rem, 5vw, 2.6rem);
}
.hero-stage-phone {
  display: block; width: 100%; height: auto; position: relative; z-index: 2;
  filter:
    drop-shadow(0 40px 54px rgba(38,20,28,.28))
    drop-shadow(0 12px 20px rgba(38,20,28,.16));
}
/* mini-fotos "recién subidas" alrededor del celular */
.hero-stage .hero-fly {
  position: absolute; z-index: 3; width: 27%; aspect-ratio: 4/5;
  border-radius: 13px; border: 3px solid #fff;
  box-shadow: 0 18px 34px -12px rgba(38,20,28,.42);
}
.hero-stage .hero-fly-1 { top: 4%; left: -4%; rotate: -8deg; }
.hero-stage .hero-fly-2 { top: 40%; right: -6%; rotate: 7deg; width: 29%; }
.hero-stage .hero-fly-3 { bottom: 5%; left: -3%; rotate: 6deg; width: 24%; }

.hero-explain { max-width: 30rem; margin: 0 auto; }
.hero-explain-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.35rem, 3.4vw, 2rem); line-height: 1.16;
  color: var(--ink); margin-bottom: .7rem; letter-spacing: -.015em;
}
.hero-explain-title em {
  font-family: var(--script); font-style: normal; font-weight: 700;
  color: var(--accent); font-size: 1.08em;
}
.hero-explain p { font-size: clamp(.98rem, 1.6vw, 1.1rem); color: var(--ink-soft); }

.hero-actions {
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center;
  margin: clamp(1.6rem, 4vw, 2.1rem) 0 0;
}
.hero-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem .7rem;
  margin: clamp(1.3rem, 3.5vw, 1.8rem) 0 0; padding: 0; list-style: none;
}
.hero-tags li {
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  padding: .34rem .82rem; border-radius: 999px;
  background: rgba(255,255,255,.72); box-shadow: inset 0 0 0 1px var(--glass-line);
}
.hero-tags li::before { content: "✓ "; color: var(--accent); font-weight: 800; }

@media (min-width: 900px) {
  .hero-live { max-width: 46rem; }
  .hero-stage { max-width: 420px; }
  .hero-stage .hero-fly-1 { top: 2%; left: -22%; width: 24%; }
  .hero-stage .hero-fly-2 { top: 30%; right: -24%; width: 25%; }
  .hero-stage .hero-fly-3 { bottom: 0%; left: -18%; width: 21%; }
}

/* Phone mockup */
.phone {
  position: relative;
  width: clamp(216px, 56vw, 246px);
  aspect-ratio: 9 / 17.6;
  background: #14110e;
  border-radius: 40px;
  padding: 11px;
  box-shadow:
    0 40px 80px -24px rgba(23,18,14,.45),
    0 12px 30px -12px rgba(23,18,14,.35),
    inset 0 0 0 2px rgba(255,255,255,.06);
  animation: floatY 7s var(--ease-soft) infinite;
}
.phone-sm { width: clamp(196px, 56vw, 234px); aspect-ratio: 9 / 14.6; animation-duration: 8s; }
.phone-sm .phone-screen { justify-content: flex-start; }
.phone-sm .app-grid, .phone-sm .app-grid-dense { flex: 1 1 auto; align-content: stretch; grid-auto-rows: 1fr; }
.phone-sm .app-grid .pslot { aspect-ratio: auto; }
.phone-sm .app-upload { margin-top: auto; }
.phone-sm .cover { min-height: 0; }
.phone-notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 36%; height: 19px; background: #14110e; border-radius: 0 0 13px 13px; z-index: 3;
}
.phone-screen {
  height: 100%; border-radius: 30px; overflow: hidden;
  background: var(--bg-2); display: flex; flex-direction: column;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.app-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem .9rem .6rem; font-size: .72rem; font-weight: 700;
}
.app-title { color: var(--ink); letter-spacing: -0.01em; }
.app-count {
  background: var(--accent); color: #fff; border-radius: 999px;
  padding: .1rem .5rem; font-size: .66rem;
}
.app-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px;
  padding: 0 .7rem; align-content: start; flex: 1;
}
.app-grid-dense { grid-template-columns: repeat(3, 1fr); gap: 4px; }
.app-grid .pslot { aspect-ratio: 1; border-radius: 7px; }
.app-upload {
  margin: .7rem; padding: .6rem; text-align: center;
  border: 1.5px dashed var(--line); border-radius: 12px;
  font-size: .72rem; font-weight: 700; color: var(--accent);
}
.cover.pslot {
  flex: 1; display: grid; place-items: end center; padding: 1.6rem 1.2rem;
}
.cover.pslot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(38,20,28,.05) 35%, rgba(38,20,28,.78) 100%);
}
.cover-txt {
  position: relative; z-index: 1;
  font-family: var(--script); color: #fff; font-size: 1.5rem; font-weight: 700;
  text-align: center; text-shadow: 0 2px 16px rgba(0,0,0,.4); line-height: 1.15;
}
.cover-txt small { font-style: normal; font-family: var(--sans); font-size: .68rem; letter-spacing: .12em; }

.admin { padding: 1rem .8rem; display: grid; gap: .55rem; flex: 1; align-content: start; }
.admin-row { font-size: .72rem; font-weight: 700; color: var(--ink); }
.admin-item {
  position: relative; height: 62px; border-radius: 10px;
  display: flex; align-items: flex-start; justify-content: flex-end; padding: .35rem;
}
.admin-item button {
  background: rgba(255,255,255,.9); border-radius: 8px; width: 26px; height: 26px;
  font-size: .8rem; line-height: 1; display: grid; place-content: center;
}

.qr-card {
  position: absolute; right: -6px; bottom: 8%;
  display: grid; gap: .5rem; justify-items: center;
  padding: .85rem; border-radius: 16px;
  background: #fff; box-shadow: 0 20px 44px -16px rgba(23,18,14,.4);
  font-size: .7rem; font-weight: 700; text-align: center; color: var(--ink-soft);
  animation: floatY 6s var(--ease-soft) infinite reverse;
}
.qr-card img { width: 96px; height: 96px; }

/* Band (problema) */
.band { padding-block: clamp(3rem, 6vw, 4.5rem); text-align: center; }
.band-inner { max-width: 46rem; margin-inline: auto; display: grid; gap: 1.2rem; }
.band-lead { font-size: clamp(1.4rem, 3vw, 2.05rem); font-style: italic; line-height: 1.25; }
.band-line { font-size: 1.05rem; color: var(--ink-soft); }

.featurebar {
  display: grid; grid-template-columns: 1fr; gap: .1rem;
  max-width: 62rem; margin: clamp(2rem, 4vw, 2.75rem) auto 0;
  padding: 1rem var(--pad);
}
.featurebar li {
  display: flex; align-items: center; gap: .6rem; justify-content: center;
  padding: .7rem 1rem; font-weight: 700; font-size: .92rem; color: var(--ink-soft);
}
.featurebar li span { font-size: 1.15rem; color: var(--accent); }
@media (min-width: 720px) {
  .featurebar {
    grid-template-columns: repeat(4, 1fr);
    background: var(--bg-2); border: 1px solid var(--line);
    border-radius: 999px; box-shadow: 0 20px 44px -26px rgba(178,58,114,.35);
  }
  .featurebar li + li { box-shadow: inset 1px 0 0 var(--line); }
}

/* Flow (cómo funciona · timeline compacto) */
.flow {
  display: grid; gap: 0;
  max-width: 30rem; margin-inline: auto;
}
.flow-step {
  display: grid; grid-template-columns: auto 1fr; column-gap: 1rem;
  padding-bottom: 1.35rem; position: relative;
}
.flow-step:last-child { padding-bottom: 0; }
.flow-num {
  grid-row: 1 / -1;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 1rem;
  color: var(--accent-deep);
  background: var(--bg-2); box-shadow: inset 0 0 0 1.5px var(--accent);
  position: relative; z-index: 1;
}
/* línea conectora vertical entre pasos */
.flow-step:not(:last-child)::before {
  content: ""; position: absolute; left: 19.5px; top: 40px; bottom: 4px;
  width: 1.5px; background: linear-gradient(var(--accent), var(--accent-3));
}
.flow-body { padding-top: .35rem; }
.flow-body h3 { font-size: 1.08rem; margin-bottom: .15rem; letter-spacing: -0.01em; }
.flow-body p { color: var(--ink-soft); font-size: .92rem; line-height: 1.45; }

/* Benefits */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.benefit {
  display: flex; align-items: center; gap: .7rem;
  padding: .95rem 1rem; font-weight: 700; font-size: .9rem; line-height: 1.25;
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft);
}
.benefit-ico { font-size: 1.25rem; flex: none; }
.benefit:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(23,18,14,.3); }

/* Showcase */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; justify-items: center; }
.showcase-item { display: grid; justify-items: center; gap: .9rem; text-align: center; }
.showcase-item figcaption { font-weight: 600; color: var(--ink-soft); max-width: 20ch; }
.showcase .phone-sm { width: min(42vw, 190px); }

/* Events */
.events { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.event {
  position: relative; min-height: 190px; border-radius: var(--radius);
  display: flex; align-items: flex-end; padding: 1.3rem;
  overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft);
}
.event::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(23,18,14,.72));
}
.event h3 { position: relative; z-index: 1; color: #fff; font-size: 1.3rem; }
.event:hover { transform: translateY(-4px); box-shadow: 0 30px 55px -22px rgba(23,18,14,.45); }

.sample figcaption strong { font-size: 1.02rem; }
.sample figcaption span { font-size: .84rem; color: var(--ink-mute); }

/* FAQ */
.faq { display: grid; gap: .6rem; }
.faq details {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 0 1.2rem;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 0;
  font-weight: 700; font-size: 1.02rem; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; color: var(--accent); font-weight: 700; transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.15rem; color: var(--ink-soft); }

/* Footer */
.footer { padding-block: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); background: var(--bg-tint); }
.footer-inner { display: grid; gap: 1.6rem; }
.footer-brand { font-weight: 800; display: grid; gap: .5rem; }
.footer-brand p { font-weight: 500; color: var(--ink-mute); font-size: .9rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
.footer-nav a:hover { color: var(--ink); }
.footer-legal { font-size: .82rem; color: var(--ink-mute); }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 95;
  width: 54px; height: 54px; border-radius: 50%;
  background: #1f7a52; color: #fff;
  display: grid; place-items: center; font-size: 1.5rem;
  box-shadow: 0 14px 30px -10px rgba(31,122,82,.7);
  transition: transform .35s var(--ease-bounce);
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Photo slots (placeholder elegante hasta cargar fotos reales) ---------- */
.pslot {
  --slot-a: var(--accent);
  --slot-b: var(--accent-2);
  position: relative;
  display: block;
  background-color: var(--accent-2);
  background-image:
    var(--img, none),
    linear-gradient(145deg, var(--slot-a), var(--slot-b));
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.pslot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.14), transparent 45%);
}
.pslot:nth-child(3n)   { --slot-a: var(--gold);     --slot-b: var(--accent);   }
.pslot:nth-child(3n+1) { --slot-a: var(--accent-2); --slot-b: var(--accent-deep); }
.pslot:nth-child(4n)   { --slot-a: var(--accent-deep); --slot-b: var(--gold);  }
.pslot.has-photo::after {
  background: linear-gradient(180deg, transparent 55%, rgba(38,20,28,.28));
}

/* ---------- 7. Effects ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
/* Sin JavaScript: mostrar todo el contenido igualmente */
@media (scripting: none) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

[data-tilt] {
  --rx: 0deg; --ry: 0deg;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease-soft);
}
[data-tilt]:hover { transition-duration: .18s; }

/* ---------- 8. Responsive ---------- */
@media (min-width: 560px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .events { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-legal { grid-column: 1 / -1; }
}
/* Flow: horizontal 01 → 02 → 03 en pantallas medianas y grandes */
@media (min-width: 760px) {
  .flow {
    grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: none;
    align-items: start;
  }
  .flow-step {
    grid-template-columns: 1fr; row-gap: .8rem; text-align: center;
    padding-bottom: 0; justify-items: center;
  }
  .flow-num { grid-row: auto; }
  .flow-step:not(:last-child)::before {
    left: auto; right: -.9rem; top: 20px; bottom: auto;
    width: auto; height: auto; background: none;
    content: "→"; color: var(--accent); font-weight: 800; font-size: 1.1rem;
  }
  .flow-body { padding-top: 0; }
  .flow-body p { max-width: 24ch; margin-inline: auto; }
}
@media (min-width: 800px) {
  .showcase { align-items: start; gap: 2rem 1.5rem; }
  .showcase .phone-sm { width: clamp(180px, 22vw, 220px); }
  .social-quotes { grid-template-columns: repeat(3, 1fr); }
  .social-shots { grid-template-columns: repeat(3, 1fr); }
  .dual-exp { grid-template-columns: 1fr 1fr; }
  .stage-phone { width: clamp(110px, 13vw, 150px); left: -3%; bottom: -42px; }
  .stage-fly.pslot { width: clamp(46px, 6vw, 64px); }
}
@media (min-width: 960px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .events { grid-template-columns: repeat(3, 1fr); }
  .showcase { grid-template-columns: repeat(4, 1fr); }
  .showcase .phone-sm { width: clamp(180px, 18vw, 210px); }
  .live-steps {
    grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: 760px;
    align-items: stretch;
  }
  .live-steps li { flex-direction: column; text-align: center; gap: .7rem; padding: 1.4rem 1rem; }
  .live-steps li:not(:last-child)::after {
    content: "→"; left: auto; right: -.9rem; top: 50%; bottom: auto; translate: 0 -50%;
  }
}
@media (min-width: 1120px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-inner { gap: 1.4rem; }
}

/* =============================================================
   10. Componentes v2 (hero claro, problema, producto, proyección)
   ============================================================= */

/* Encabezados centrados */
.section-head.center { text-align: center; }
.section-head.center .kicker { display: block; margin-bottom: .9rem; }
/* corazón junto a los títulos de sección (motivo de marca) */
.section-title::after {
  content: " \2661";
  color: var(--accent); font-weight: 400;
  -webkit-text-stroke: 0;
}
.section-sub {
  margin: .9rem auto 0; max-width: 42ch;
  color: var(--ink-soft); font-size: 1.02rem;
}
.section-cta { text-align: center; margin-top: clamp(2rem, 5vw, 3rem); }

/* Hero: teléfono protagonista */
.phone-hero { width: clamp(244px, 66vw, 300px); aspect-ratio: 9 / 16.4; }
.phone-hero .app-upload { margin-top: auto; }
.cover-mini.pslot {
  flex: none; aspect-ratio: 4 / 3;
  display: grid; place-items: end center; padding: .8rem .9rem;
  /* La portada (retrato) se ve COMPLETA dentro del área: la foto se ajusta
     con "contain" (sin recortar la cara) y un degradado suave blush
     rellena los lados de forma elegante. */
  --slot-a: #f6e3e7;
  --slot-b: #ecd0d1;
  background-size: contain, cover;
  background-position: center, center;
}
.cover-mini .cover-txt { font-size: 1.2rem; }
.phone-hero .app-grid .pslot { border-radius: 6px; }

@media (min-width: 1060px) {
  .phone-hero { width: clamp(280px, 30vw, 340px); }
}

/* ---- Crea tu Álbum Digital (CTA + configurador incrustado) ----
   Reemplaza a la antigua sección "Problema" (kicker/scatter/pasos
   numerados) — retirada por completo, igual que su CSS. */
.config-cta-frame-wrap {
  position: relative;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 30px 60px -30px rgba(28, 16, 25, 0.25);
}
.config-cta-frame {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
}
.config-cta-frame[hidden] {
  display: none;
}
.config-cta-skeleton {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 640px;
  background: linear-gradient(135deg, var(--bg-2), var(--bg));
}
.config-cta-skeleton[hidden] {
  display: none;
}
.config-cta-skeleton-pulse {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  border-top-color: transparent;
  animation: config-cta-spin 0.9s linear infinite;
}
@keyframes config-cta-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- Cómo funciona ---- */
.step { position: relative; }
.step .step-num {
  display: block; margin-bottom: .7rem;
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 1.9rem; color: var(--accent);
}

/* ---- Producto: figcaption con título ---- */
.showcase-item figcaption {
  font-weight: 500; color: var(--ink-soft); max-width: 24ch;
  display: grid; gap: .25rem; font-size: .92rem;
}
.showcase-item figcaption strong {
  font-size: 1.02rem; color: var(--ink); font-weight: 700;
}

/* Upload mock */
.upload-mock {
  flex: 1; display: grid; gap: .7rem; place-content: center; padding: 1.2rem;
  text-align: center;
}
.upload-preview {
  width: 100%; aspect-ratio: 4/3; border-radius: 12px;
}
.upload-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.upload-bar span {
  display: block; height: 100%; width: 68%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}
.upload-txt { font-size: .78rem; color: var(--ink-mute); font-weight: 600; }
.upload-btn {
  padding: .6rem; border-radius: 10px; font-size: .78rem; font-weight: 800;
  background: var(--accent); color: #fff;
}

/* ---- Álbum en vivo (la experiencia PROTAGONISTA · sala oscura) ---- */
.envivo {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(4.5rem, 12vw, 8.5rem);
  background: radial-gradient(130% 100% at 50% 0%, #2a1620 0%, #17100d 52%, #0d0908 100%);
  color: #f6ece6;
}
.envivo::before {
  content: ""; position: absolute; inset: -30%; z-index: -1;
  background:
    radial-gradient(40% 34% at 16% 10%, rgba(212,58,107,.55), transparent 62%),
    radial-gradient(46% 42% at 88% 78%, rgba(217,173,92,.4), transparent 62%),
    radial-gradient(34% 30% at 62% 46%, rgba(155,80,229,.28), transparent 62%),
    radial-gradient(70% 30% at 50% 108%, rgba(233,120,150,.35), transparent 70%);
  filter: blur(80px);
}
.envivo::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background:
    radial-gradient(3px 3px at 8% 16%, rgba(233,196,124,.85), transparent 60%),
    radial-gradient(2px 2px at 20% 8%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(3px 3px at 40% 13%, rgba(233,196,124,.6), transparent 60%),
    radial-gradient(3px 3px at 78% 10%, rgba(233,196,124,.75), transparent 60%),
    radial-gradient(2px 2px at 92% 22%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(3px 3px at 10% 86%, rgba(233,196,124,.6), transparent 60%),
    radial-gradient(2px 2px at 66% 92%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(3px 3px at 88% 88%, rgba(233,196,124,.5), transparent 60%);
  animation: bokehDrift 14s ease-in-out infinite alternate;
}
@keyframes bokehDrift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-14px, 10px, 0); } }
.envivo .kicker { color: var(--gold); display: inline-flex; align-items: center; gap: .5rem; }
.envivo .section-title { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
.envivo .section-title em { color: var(--gold); }
.envivo .section-sub { color: rgba(246,236,230,.82); }
.rec-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #ff3b57;
  box-shadow: 0 0 0 4px rgba(255,59,87,.25);
  animation: livePulse 1.4s ease-in-out infinite;
}

/* Escenario a todo lo ancho: la pantalla domina */
.envivo-stage {
  position: relative; width: 100%;
  margin: clamp(2.8rem, 7vw, 4rem) 0 0;
  padding-bottom: clamp(2.6rem, 7vw, 3.4rem);
}
.stage-inner {
  position: relative; width: min(92vw, 900px); margin-inline: auto;
}
/* haz de proyector desde el celular hacia la pantalla */
.stage-beam {
  position: absolute; left: 4%; bottom: 2%; z-index: 1;
  width: 62%; height: 78%;
  background: linear-gradient(200deg, rgba(255,240,214,.16), rgba(255,240,214,0) 62%);
  clip-path: polygon(0% 100%, 12% 100%, 78% 0%, 96% 0%);
  filter: blur(3px); pointer-events: none;
}
.live-screen {
  position: relative; z-index: 2;
  background: #0b0807; border-radius: 22px; padding: clamp(12px, 2.6vw, 20px);
  box-shadow:
    0 70px 140px -34px rgba(0,0,0,.85),
    0 0 160px -14px rgba(212,58,107,.5),
    0 0 90px -20px rgba(217,173,92,.35),
    inset 0 0 0 1px rgba(255,255,255,.09);
}
.live-screen::after {
  content: ""; position: absolute; left: 50%; bottom: -22px; translate: -50% 0;
  width: 30%; height: 20px; border-radius: 0 0 12px 12px;
  background: #0b0807; box-shadow: 0 26px 34px -12px rgba(0,0,0,.65);
}
.live-screen-frame {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(5px, 1.4vw, 9px);
  border-radius: 12px; overflow: hidden;
}
.live-screen-frame .pslot { aspect-ratio: 4/3; }
.pslot-new { animation: newPhoto 4.5s ease-in-out infinite; z-index: 2; }
@keyframes newPhoto {
  0%, 66%, 100% { box-shadow: 0 0 0 2px rgba(233,196,124,0); }
  30% { transform: scale(.82); opacity: .4; }
  40%, 58% { box-shadow: 0 0 0 2px var(--gold), 0 0 28px -2px rgba(233,196,124,.85); transform: scale(1); opacity: 1; }
}
.pslot-pop { animation: popIn 5s ease-in-out var(--d, 0s) infinite; }
@keyframes popIn {
  0%, 84%, 100% { opacity: 1; transform: scale(1); }
  88% { opacity: .35; transform: scale(.86); }
  94% { opacity: 1; transform: scale(1.02); }
}
/* barrido de luz sobre la pantalla */
.live-sheen {
  position: absolute; inset: 0; z-index: 6; pointer-events: none; overflow: hidden; border-radius: 12px;
}
.live-sheen::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -50%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.14), transparent);
  transform: skewX(-14deg);
  animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen { 0%, 55% { left: -55%; } 78%, 100% { left: 115%; } }
.live-badge {
  position: absolute; top: clamp(20px, 3.5vw, 34px); right: clamp(20px, 3.5vw, 36px); z-index: 4;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(11,8,7,.9); color: #fff;
  font-size: clamp(.66rem, 1.6vw, .82rem); font-weight: 800; letter-spacing: .16em;
  padding: .42rem .8rem; border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255,59,87,.5), 0 0 22px -4px rgba(255,59,87,.6), 0 8px 20px -8px rgba(0,0,0,.5);
}
.live-count {
  position: absolute; top: clamp(20px, 3.5vw, 34px); left: clamp(20px, 3.5vw, 36px); z-index: 4;
  font-size: clamp(.62rem, 1.5vw, .76rem); font-weight: 700; letter-spacing: .1em;
  color: rgba(246,236,230,.9); background: rgba(11,8,7,.7);
  padding: .38rem .7rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.live-count b { color: var(--gold); }
.live-toast {
  position: absolute; left: clamp(18px, 4vw, 40px); bottom: clamp(18px, 4vw, 34px); z-index: 5;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.96); color: #1a1013;
  font-size: clamp(.7rem, 1.7vw, .82rem); font-weight: 800;
  padding: .55rem .9rem; border-radius: 13px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.6);
  animation: toastIn 4.5s ease-in-out infinite;
}
@keyframes toastIn {
  0%, 40%, 92%, 100% { opacity: 0; transform: translateY(12px) scale(.95); }
  50%, 82% { opacity: 1; transform: translateY(0) scale(1); }
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #ff4d6d;
  animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* foto que "viaja" del celular a la pantalla */
.stage-fly.pslot {
  position: absolute; z-index: 5; width: clamp(34px, 8vw, 52px); aspect-ratio: 4/3;
  border-radius: 6px;
  box-shadow: 0 12px 26px -6px rgba(0,0,0,.55), 0 0 0 2px rgba(255,255,255,.4);
  left: 8%; bottom: 6%; opacity: 0;
  animation: flyUp 4.5s cubic-bezier(.5,0,.2,1) infinite;
}
@keyframes flyUp {
  0%, 30% { left: 6%; bottom: 4%; opacity: 0; transform: scale(.5) rotate(-10deg); }
  38% { opacity: 1; transform: scale(.85) rotate(-4deg); }
  60% { left: 44%; bottom: 46%; opacity: 1; transform: scale(1) rotate(2deg); }
  70%, 100% { left: 44%; bottom: 46%; opacity: 0; transform: scale(1.05) rotate(3deg); }
}

.stage-phone {
  position: absolute; left: clamp(-6px, -1vw, 0px); bottom: -30px; z-index: 4;
  width: clamp(86px, 22vw, 128px); aspect-ratio: 9 / 18;
  background: #0b0807; border-radius: 20px; padding: 6px;
  box-shadow: 0 34px 66px -16px rgba(0,0,0,.75), 0 0 44px -12px rgba(212,58,107,.5), inset 0 0 0 1px rgba(255,255,255,.1);
  rotate: -9deg;
}
.stage-phone-screen {
  height: 100%; border-radius: 14px; overflow: hidden; background: #1c1512;
  display: grid; grid-template-rows: 1fr auto; gap: 5px; padding: 6px;
}
.stage-phone-screen .pslot { border-radius: 8px; }
.stage-phone-btn {
  text-align: center; font-size: clamp(.5rem, 1.4vw, .62rem); font-weight: 800;
  background: var(--accent); color: #fff; border-radius: 8px; padding: .42rem .1rem;
}

/* Los 3 momentos de la experiencia */
.live-steps {
  display: grid; gap: 1rem;
  margin: clamp(3.4rem, 7vw, 4.6rem) auto 0;
  max-width: 27rem;
}
.live-steps li {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1.1rem; border-radius: 14px;
  background: rgba(255,255,255,.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  font-weight: 700; font-size: .96rem; color: #f6ece6;
  position: relative;
}
.live-ico {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem;
  background: rgba(198,154,76,.16); box-shadow: inset 0 0 0 1px rgba(198,154,76,.4);
}
.live-steps li:not(:last-child)::after {
  content: "↓"; position: absolute; left: 30px; bottom: -.85rem;
  color: var(--gold); font-size: .9rem; font-weight: 800;
  translate: -50% 0;
}

/* Muro de fotos "en vivo": las fotos de los invitados en la pantalla */
.live-wall {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
  margin: clamp(2.6rem, 6vw, 3.6rem) auto 0; max-width: 30rem;
  border-radius: 18px; overflow: hidden; padding: 8px;
  background: #0b0807;
  box-shadow:
    0 46px 100px -34px rgba(0,0,0,.75),
    0 0 80px -22px rgba(212,58,107,.4),
    inset 0 0 0 1px rgba(255,255,255,.08);
}
.live-wall .pslot { aspect-ratio: 1/1; border-radius: 8px; }
.live-wall-cap {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin: 1rem auto 0; max-width: 26rem; text-align: center;
  font-size: .84rem; font-weight: 600; color: rgba(246,236,230,.82);
}
.live-wall-gif {
  margin: clamp(1.6rem, 4vw, 2.2rem) auto 0; max-width: 30rem;
  border-radius: 18px; overflow: hidden;
  box-shadow:
    0 30px 70px -28px rgba(0,0,0,.7),
    inset 0 0 0 1px rgba(255,255,255,.08);
}
.live-wall-gif img { display: block; width: 100%; height: auto; }
@media (min-width: 720px) {
  .live-wall { grid-template-columns: repeat(4, 1fr); max-width: 46rem; }
  .live-wall-gif { max-width: 46rem; }
}

/* Durante / Después: el producto son dos experiencias */
.dual-exp {
  display: grid; gap: 1rem;
  margin: clamp(2.4rem, 5vw, 3rem) auto 0; max-width: 40rem;
}
.dual-card {
  padding: 1.3rem 1.4rem; border-radius: 18px; text-align: left;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
}
.dual-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: .5rem;
}
.dual-durante .dual-tag { color: #ff9db1; }
.dual-despues .dual-tag { color: var(--gold); }
.dual-card p { font-size: .92rem; color: rgba(246,236,230,.82); line-height: 1.5; }

.envivo .section-cta { margin-top: clamp(2.8rem, 6vw, 3.6rem); }
.envivo .section-cta .btn-primary { box-shadow: 0 16px 44px -12px rgba(212,58,107,.7); }

/* versión compacta (el escenario grande vive ahora en el hero) */
.envivo-slim { padding-block: clamp(3.4rem, 8vw, 5.5rem); }
.envivo-slim::before { opacity: .6; }
.envivo-slim::after { display: none; }
.envivo-slim .section-head { margin-bottom: 0; }
.envivo-slim .live-steps { margin-top: clamp(2.4rem, 6vw, 3.4rem); }
.envivo-slim .section-title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }

/*
 * #como-funciona: mismo contenido y mismo tamaño de texto, mucho menos
 * aire — para que el usuario llegue antes a "Crea tu Álbum Digital".
 * Solo en móvil (donde se ve "de dos pantallas"); desktop no cambia.
 * Todo scoped a esta sección: .section/.section-head/.flow los usan
 * varias otras secciones de la landing y no deben cambiar ahí.
 */
@media (max-width: 759px) {
  #como-funciona { padding-block: 1.15rem; }
  #como-funciona .section-head { margin-bottom: .5rem; }
  #como-funciona .section-head .kicker { margin-bottom: .2rem; }
  #como-funciona .section-sub { margin-top: .4rem; }
  #como-funciona .section-cta { margin-top: .45rem; }
  #como-funciona .flow-step { padding-bottom: .2rem; }
  #como-funciona .flow-num { width: 30px; height: 30px; font-size: .85rem; }
  #como-funciona .flow-step:not(:last-child)::before { left: 14.5px; top: 30px; }
  #como-funciona .flow-body { padding-top: 0; }
}

/*
 * #beneficios ("Qué incluye") y #opiniones ("Testimonios"): mismo
 * contenido y mismo tamaño de texto, menos aire — solo en móvil.
 * Desktop no cambia.
 */
@media (max-width: 759px) {
  #beneficios { padding-block: 1.6rem; }
  #beneficios .section-head { margin-bottom: .7rem; }
  #beneficios .benefits { gap: .5rem; }
  #beneficios .benefit { padding: .75rem .85rem; }

  #opiniones { padding-block: 1.6rem; }
  #opiniones .section-head { margin-bottom: .8rem; }
  #opiniones .social-metrics { gap: 1rem; margin-bottom: 1rem; }
  #opiniones .social-quotes { gap: .6rem; margin-bottom: .8rem; }
  #opiniones .quote { padding: 1rem; }
}


/* ---- Eventos: tarjetas listas para imagen ---- */
.event {
  position: relative; min-height: 190px; border-radius: var(--radius);
  display: flex; align-items: flex-end; padding: 1.3rem;
  overflow: hidden; isolation: isolate;
  background-color: var(--accent-2);
  background-image: var(--card-img, linear-gradient(150deg, var(--accent), var(--gold)));
  background-size: cover; background-position: center;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft);
}
.event:nth-child(3n)   { background-image: var(--card-img, linear-gradient(150deg, var(--accent-2), var(--accent-deep))); }
.event:nth-child(3n+1) { background-image: var(--card-img, linear-gradient(150deg, var(--accent-deep), var(--gold))); }
.event::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(38,20,28,.12) 25%, rgba(38,20,28,.82));
  transition: background .4s var(--ease-out);
}
.event h3 { position: relative; z-index: 1; color: #fff; font-size: 1.28rem; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.event:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -24px rgba(38,20,28,.5); }
.event:hover::before { background: linear-gradient(180deg, rgba(194,24,91,.28) 15%, rgba(38,20,28,.85)); }
.event.has-photo { background-color: #2a1620; }

/* ---- Prueba social ---- */
.social-metrics {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.5rem, 6vw, 3.5rem);
  margin-bottom: clamp(2rem, 5vw, 3rem); text-align: center;
}
.social-metrics li { display: grid; gap: .2rem; }
.social-metrics strong { font-family: var(--serif); font-size: 2.2rem; color: var(--accent-deep); }
.social-metrics span { font-size: .82rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .08em; }

.social-quotes { display: grid; gap: 1rem; margin-bottom: 1.4rem; }
.quote {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.4rem;
}
.quote p { font-size: 1rem; line-height: 1.5; color: var(--ink); }
.quote figcaption { margin-top: .8rem; font-size: .84rem; font-weight: 700; color: var(--accent-deep); }

.social-shots { display: grid; gap: 1rem; }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.shot img { width: 100%; height: auto; display: block; }

@media (prefers-reduced-motion: reduce) {
  .live-dot, .rec-dot, .pslot-new, .pslot-pop, .live-sheen::before,
  .envivo::after, .stage-fly { animation: none; }
  .live-toast { animation: none; opacity: 1; transform: none; }
  .pslot-new { box-shadow: 0 0 0 2px var(--gold), 0 0 20px -4px rgba(233,196,124,.6); }
  .stage-fly { opacity: 0; }
}

/* =============================================================
   12. Ver ejemplo + Solicitar información (v4)
   ============================================================= */

/* Ver ejemplo */
.ver-ejemplo-cta { margin-top: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: clamp(2.5rem, 6vw, 3.5rem); }
.ver-ejemplo-url {
  margin-top: .8rem; font-size: .82rem; color: var(--ink-mute);
  letter-spacing: .02em;
}
.showcase-item figcaption {
  font-weight: 700; color: var(--ink); font-size: .92rem; text-align: center;
  max-width: none;
}

/* Foto / Video en el mockup de subir */
.upload-choices { display: flex; gap: .5rem; }
.upload-choice {
  flex: 1; text-align: center; font-size: .64rem; font-weight: 700; line-height: 1.5;
  padding: .55rem .3rem; border-radius: 10px;
  background: rgba(0,0,0,.04); color: var(--ink-soft);
}
.upload-choice:first-child { background: var(--accent); color: #fff; }

/* Badge EN VIVO dentro del app-top */
.app-live {
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(255,77,109,.14); color: #d43a6b;
  font-size: .58rem; font-weight: 800; letter-spacing: .08em;
  padding: .15rem .45rem; border-radius: 999px;
}

/* =============================================================
   12. Invitaciones Web (venta cruzada) — mockups de teléfono reales
   ============================================================= */
.invitaciones-panel {
  background: linear-gradient(165deg, #ffffff 0%, var(--bg-tint) 100%);
  border: 1px solid var(--glass-line);
  border-radius: 28px;
  padding: clamp(1.6rem, 5vw, 3.4rem);
  box-shadow: 0 40px 80px -40px rgba(38,20,28,.28);
  overflow: hidden;
}
.invitaciones-grid { display: grid; gap: clamp(1.4rem, 4vw, 2.2rem); }
.invitaciones-copy .kicker { display: block; margin-bottom: .9rem; }
.invitaciones-copy .section-title { max-width: 15ch; }
.invitaciones-sub { margin-inline: 0; }
.invitaciones-cta { margin-top: clamp(1.6rem, 4vw, 2.2rem); }

/* Foto real de 3 invitaciones web en celular (assets/img/invitaciones-phones.jpg) */
.invitaciones-cards {
  position: relative; width: 100%;
  border-radius: 22px; overflow: hidden;
  box-shadow:
    0 40px 80px -34px rgba(38,20,28,.4),
    0 12px 28px -14px rgba(38,20,28,.26),
    inset 0 0 0 1px rgba(255,255,255,.5);
}
.invitaciones-cards img { display: block; width: 100%; height: auto; }

@media (min-width: 1000px) {
  .invitaciones-grid {
    grid-template-columns: .78fr 1.22fr; align-items: center;
    gap: clamp(2.5rem, 5vw, 4rem);
  }
}

/* =============================================================
   11. Reduced motion (solo lo intrusivo)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mesh { animation-duration: 80s; }
  .phone, .qr-card { animation: none; }
  .splash-dot { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
