/* ==========================================================================
   Su luz brilla más de un día · Bustamante Casa Funeraria
   Mobile first. Solo se animan transform y opacity.
   ========================================================================== */

:root {
  --verde:          #1C331F;
  --verde-profundo: #14261A;
  --cafe:           #3D2F26;
  --taupe:          #977B65;
  --taupe-cta:      #7A6450;
  --taupe-cta-hover:#6E5A47;
  --crema:          #F2EEE5;
  --crema-claro:    #FAF6ED;
  --cempasuchil:    #F08A1C;
  --luz-atardecer:  #F5B25A;
  --texto:          #2A2420;

  --texto-suave:    #574A40;
  --verde-medio:    #24402A;
  --linea:          rgba(151, 123, 101, .35);
  --vivo:           #A8431A;
  --sombra:         0 18px 40px -18px rgba(20, 38, 26, .45);
  --radio:          14px;
  --header-h:       64px;
  --fuente-titulo:  'Josefin Sans', 'Trebuchet MS', sans-serif;
  --fuente:         'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease:           cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--crema-claro);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--verde); text-underline-offset: .18em; }
a:hover { color: var(--cafe); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
abbr[title] { text-decoration: none; cursor: help; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--luz-atardecer);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(20, 38, 26, .85);
  border-radius: 6px;
}

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 8px;
  background: var(--verde); color: #fff; font-weight: 700;
  transition: transform .2s;
}
.saltar:focus { transform: translateY(72px); color: #fff; }

.contenedor { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; position: relative; z-index: 2; }
.contenedor--angosto { max-width: 820px; }
@media (min-width: 768px) { .contenedor { padding: 0 32px; } }

/* Modo activo / cierre del seminario */
.is-cerrado .solo-activo { display: none !important; }
html:not(.is-cerrado) .solo-cierre { display: none !important; }

/* ---------- Tipografía de campaña ---------- */
.eyebrow {
  margin: 0 0 .6rem;
  font-family: var(--fuente);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--taupe-cta);
}
.eyebrow--claro { color: var(--crema); }
.titulo {
  font-family: var(--fuente-titulo);
  font-weight: 300;
  font-size: clamp(1.65rem, 6.4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--verde);
}
.titulo strong { font-weight: 600; }
.titulo--claro { color: #fff; }
.lead { font-size: 1.08rem; color: var(--texto-suave); }
@media (min-width: 768px) { .lead { font-size: 1.18rem; } }

/* Línea corta bajo los títulos */
.barra {
  display: block;
  width: 84px; height: 3px;
  margin: .9rem 0 1.3rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--taupe), rgba(151, 123, 101, .25));
  transform-origin: left center;
}
.barra--centro { margin-left: auto; margin-right: auto; transform-origin: center; }
.titulo--claro + .barra, .seccion--verde .barra, .seccion--cafe .barra, .registro .barra { background: linear-gradient(90deg, var(--crema), rgba(242, 238, 229, .3)); }
.reveal .barra, .reveal.barra { transform: scaleX(.001); transition: transform .9s var(--ease) .25s; }
.reveal.is-visible .barra, .reveal.is-visible.barra, .no-js .reveal .barra { transform: none; }

/* ---------- Botones ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px;
  padding: .7em 1.4em;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-family: var(--fuente);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .icono { width: 1.15em; height: 1.15em; flex: none; }
.btn--cta {
  background: var(--taupe-cta);
  color: #fff;
  border-color: rgba(250, 246, 237, .85);
  font-weight: 400;
  font-size: 1.06rem;
  box-shadow: 0 10px 24px -12px rgba(20, 38, 26, .7);
}
.btn--cta strong { font-weight: 700; }
.btn--cta:hover { background: var(--taupe-cta-hover); color: #fff; transform: translateY(-2px); }
.btn--lg { min-height: 56px; padding: .8em 1.8em; font-size: 1.18rem; }
.btn--sm { min-height: 44px; padding: .45em 1em; font-size: .88rem; border-radius: 10px; }
.btn--sec {
  background: #fff;
  color: var(--verde);
  border-color: rgba(28, 51, 31, .3);
}
.btn--sec:hover { border-color: var(--verde); color: var(--verde); transform: translateY(-2px); }
.btn--link {
  min-height: 44px; padding: .4em .2em;
  color: var(--verde); font-weight: 700;
  text-decoration: underline; text-decoration-color: rgba(28, 51, 31, .35);
}
.btn--link .icono { transition: transform .2s var(--ease); }
.btn--link:hover .icono { transform: translateX(4px); }
.btn--claro { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(250, 246, 237, .55); }
.btn--claro:hover { background: rgba(255, 255, 255, .16); color: #fff; transform: translateY(-2px); }
.btn--wa { background: #1F6E43; color: #fff; border-color: rgba(250, 246, 237, .7); }
.btn--wa:hover { background: #185A36; color: #fff; transform: translateY(-2px); }
.btn--bloque { width: 100%; }

/* Pulso suave del CTA (escala + halo cálido en un pseudo-elemento) */
.btn--pulso { animation: pulso 2.4s ease-in-out infinite; }
.btn--pulso::after {
  content: "";
  position: absolute; inset: -3px;
  border-radius: inherit;
  box-shadow: 0 0 22px 6px rgba(245, 178, 90, .6);
  opacity: 0;
  pointer-events: none;
  animation: pulso-halo 2.4s ease-in-out infinite;
}
.btn--pulso:hover { animation-play-state: paused; }
@keyframes pulso { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes pulso-halo { 0%, 100% { opacity: 0; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.02); } }

/* ---------- Pills y badges ---------- */
.pill {
  display: inline-flex; align-items: center;
  min-height: 30px;
  padding: .2em .95em;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.2;
  white-space: nowrap;
}
.pill--fecha { background: var(--verde); color: #fff; }
.pill--hora { background: var(--taupe-cta); color: #fff; }
.pill--verde-sm { background: var(--verde); color: #fff; font-weight: 600; font-size: .82rem; min-height: 26px; }

.badge {
  display: inline-flex; align-items: center; gap: .45em;
  min-height: 26px;
  padding: .15em .75em;
  border-radius: 999px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.badge--proxima { background: #E8E1D3; color: var(--verde); }
.badge--hoy { background: var(--luz-atardecer); color: var(--texto); }
.badge--envivo { background: var(--vivo); color: #fff; }
.badge--envivo::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  animation: latido 1.6s ease-in-out infinite;
}
.badge--finalizada { background: #E4DED3; color: var(--texto-suave); }
@keyframes latido { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

/* ---------- Íconos ---------- */
.icono { width: 24px; height: 24px; flex: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  color: #fff;
}
.header__fondo {
  position: absolute; inset: 0;
  background: var(--crema-claro);
  box-shadow: 0 6px 24px -14px rgba(20, 38, 26, .5);
  opacity: 0;
  transition: opacity .35s ease;
}
.header.is-solido .header__fondo, .header.is-abierto .header__fondo { opacity: 1; }
.header__in { display: flex; align-items: center; gap: 10px; height: 100%; }
.header__logo { position: relative; display: block; width: 104px; flex: none; margin-right: auto; }
.header__logo picture { display: block; transition: opacity .35s ease; }
.header__logo-color { position: absolute; inset: 0; opacity: 0; }
.header.is-solido .header__logo-blanco, .header.is-abierto .header__logo-blanco { opacity: 0; }
.header.is-solido .header__logo-color, .header.is-abierto .header__logo-color { opacity: 1; }
.header__cta { transition: opacity .3s ease, transform .3s var(--ease), background-color .2s; }
.header__cta.btn--sm { padding: .4em .8em; font-size: .82rem; white-space: nowrap; }
@media (max-width: 399px) {
  .header__logo { width: 88px; }
  .header__in { gap: 6px; }
  .header__cta.btn--sm { padding: .4em .6em; font-size: .74rem; }
}
body.flotante-visible .header__cta { opacity: 0; pointer-events: none; transform: translateY(-8px); }
@media (min-width: 768px) { body.flotante-visible .header__cta { opacity: 1; pointer-events: auto; transform: none; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  padding: 0; border: 0; border-radius: 10px;
  background: transparent; color: inherit; cursor: pointer;
}
.header.is-solido .nav-toggle, .header.is-abierto .nav-toggle { color: var(--verde); }
.nav-toggle__barras { position: relative; display: block; width: 22px; height: 16px; }
.nav-toggle__barras i {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle__barras i:nth-child(1) { top: 0; }
.nav-toggle__barras i:nth-child(2) { top: 7px; }
.nav-toggle__barras i:nth-child(3) { top: 14px; }
.header.is-abierto .nav-toggle__barras i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-abierto .nav-toggle__barras i:nth-child(2) { opacity: 0; }
.header.is-abierto .nav-toggle__barras i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--crema-claro);
  border-top: 1px solid var(--linea);
  box-shadow: 0 18px 30px -20px rgba(20, 38, 26, .5);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s var(--ease), visibility 0s linear .25s;
}
.header.is-abierto .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__lista { list-style: none; padding: 8px 16px 16px; }
.nav__link {
  display: flex; align-items: center; min-height: 48px;
  color: var(--verde); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--linea);
}
.no-js .nav { position: static; opacity: 1; visibility: visible; transform: none; display: none; }

@media (min-width: 1024px) {
  :root { --header-h: 76px; }
  .header__logo { width: 124px; }
  .nav-toggle { display: none; }
  .nav, .no-js .nav {
    position: static; display: block;
    background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav__lista { display: flex; gap: 4px; padding: 0; margin-right: 12px; }
  .nav__link {
    min-height: 44px; padding: 0 12px; border: 0;
    color: #fff; font-size: .92rem; border-radius: 8px;
    transition: color .3s;
  }
  .nav__link:hover { color: var(--luz-atardecer); }
  .header.is-solido .nav__link { color: var(--verde); }
  .header.is-solido .nav__link:hover { color: var(--taupe-cta); }
  .header__cta.btn--sm { padding: .45em 1.1em; font-size: .9rem; }
}

/* ---------- Bandas diagonales (firma de la campaña) ---------- */
.bandas { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.banda {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 320%; height: var(--h);
  transform: translate(-50%, -50%) rotate(-35deg);
}
.banda > i {
  position: absolute; inset: 0;
  background: var(--c);
  opacity: var(--op, 1);
  transition: transform 1.5s var(--ease) var(--del, 0s), opacity 1.2s ease var(--del, 0s);
}
.js .bandas:not(.is-visible) .banda > i { transform: translateY(var(--desde)); opacity: 0; }
.banda--linea { --h: 2px; }

/* Hero */
.bandas--hero .banda--cafe  { --x: 0%;   --y: 0%;   --h: clamp(300px, 62vw, 760px); --c: var(--cafe); --op: .78; --desde: -60%; }
.bandas--hero .banda--verde { --x: 100%; --y: 96%;  --h: clamp(120px, 20vw, 230px); --c: var(--verde); --op: .92; --desde: 70%; --del: .15s; }
.bandas--hero .banda--l1    { --x: 100%; --y: 72%;  --c: var(--crema); --op: .55; --desde: 900%; --del: .3s; }
.bandas--hero .banda--l2    { --x: 70%;  --y: 100%; --c: var(--taupe); --op: .8; --desde: 900%; --del: .4s; }
@media (min-width: 900px) {
  .bandas--hero .banda--cafe { --x: 4%; --y: 0%; --h: 760px; }
  .bandas--hero .banda--verde { --x: 100%; --y: 100%; --h: 260px; }
  .bandas--hero .banda--l1 { --x: 100%; --y: 70%; }
  .bandas--hero .banda--l2 { --x: 78%; --y: 100%; }
}
/* Secciones oscuras */
.bandas--seccion .banda--cafe  { --x: 0%;   --y: 0%;   --h: clamp(140px, 30vw, 360px); --c: var(--cafe); --op: .5; --desde: -70%; }
.bandas--seccion .banda--verde { --x: 100%; --y: 100%; --h: clamp(100px, 18vw, 220px); --c: #2A4A30; --op: .8; --desde: 70%; --del: .15s; }
.bandas--seccion .banda--l1    { --x: 100%; --y: 78%;  --c: var(--taupe); --op: .7; --desde: 900%; --del: .3s; }
.bandas--seccion .banda--l2    { --x: 0%;   --y: 18%;  --c: var(--crema); --op: .25; --desde: -900%; --del: .4s; }
.seccion--cafe .bandas--seccion .banda--cafe { --c: var(--verde); --op: .55; }
/* Divisor entre secciones claras */
.divisor { position: relative; height: 110px; overflow: hidden; background: var(--crema-claro); }
.bandas--divisor .banda--cafe  { --x: 0%;   --y: 100%; --h: 70px; --c: var(--cafe); --op: .9; --desde: 140%; }
.bandas--divisor .banda--verde { --x: 100%; --y: 0%;   --h: 80px; --c: var(--verde); --desde: -140%; --del: .1s; }
.bandas--divisor .banda--l1    { --x: 100%; --y: 62%;  --c: var(--taupe); --desde: -900%; --del: .25s; }
.bandas--divisor .banda--l2    { --x: 0%;   --y: 46%;  --c: var(--taupe); --op: .6; --desde: 900%; --del: .3s; }
/* Footer y sala */
.bandas--footer .banda--cafe  { --x: 100%; --y: 0%;   --h: 180px; --c: var(--verde); --op: .55; --desde: -70%; }
.bandas--footer .banda--verde { --x: 0%;   --y: 100%; --h: 120px; --c: var(--cafe); --op: .45; --desde: 70%; }
.bandas--footer .banda--l1    { --x: 100%; --y: 40%;  --c: var(--taupe); --op: .45; --desde: -900%; }
.bandas--footer .banda--l2    { display: none; }
.bandas--sala .banda--cafe  { --x: 0%;   --y: 0%;   --h: clamp(200px, 44vw, 520px); --c: var(--cafe); --op: .45; --desde: -60%; }
.bandas--sala .banda--verde { --x: 100%; --y: 100%; --h: clamp(120px, 22vw, 260px); --c: var(--verde); --op: .85; --desde: 60%; --del: .15s; }
.bandas--sala .banda--l1    { --x: 100%; --y: 76%;  --c: var(--taupe); --op: .6; --desde: 900%; --del: .3s; }
.bandas--sala .banda--l2    { --x: 0%;   --y: 22%;  --c: var(--crema); --op: .18; --desde: -900%; --del: .4s; }

/* ---------- Pétalos ---------- */
.petalos { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.petalo {
  position: absolute; top: -40px; left: var(--x);
  width: var(--s); height: calc(var(--s) * 1.4);
  color: var(--c);
  opacity: 0;
  animation: caer var(--d) linear var(--del) infinite;
  will-change: transform;
}
.petalo__in { display: block; width: 100%; height: 100%; animation: vaiven var(--sd) ease-in-out infinite alternate; }
.petalo svg { width: 100%; height: 100%; animation: girar var(--d) linear var(--del) infinite; }
.petalo--luz svg { filter: drop-shadow(0 0 6px rgba(245, 178, 90, .85)); }
@keyframes caer {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  8% { opacity: .9; }
  85% { opacity: .85; }
  100% { transform: translate3d(0, var(--caida, 900px), 0); opacity: 0; }
}
@keyframes vaiven { from { transform: translateX(calc(var(--sw) * -1)); } to { transform: translateX(var(--sw)); } }
@keyframes girar { from { transform: rotate(0deg); } to { transform: rotate(var(--r)); } }

/* Pausas: fuera de pantalla y pestaña oculta */
.is-paused .petalo, .is-paused .petalo__in, .is-paused .petalo svg,
.is-paused .veladora__flama, .is-paused .veladora__nucleo, .is-paused .veladora__halo,
.tab-hidden .petalo, .tab-hidden .petalo__in, .tab-hidden .petalo svg,
.tab-hidden .veladora *, .tab-hidden .btn--pulso, .tab-hidden .btn--pulso::after,
.tab-hidden .badge--envivo::before, .tab-hidden .cta-flotante .btn--pulso { animation-play-state: paused !important; }
.veladora.is-paused .veladora__flama, .veladora.is-paused .veladora__nucleo, .veladora.is-paused .veladora__halo { animation-play-state: paused; }
.cta-flotante:not(.is-on) .btn--pulso, .cta-flotante:not(.is-on) .btn--pulso::after { animation-play-state: paused; }
.hero__cta.is-paused .btn--pulso, .hero__cta.is-paused .btn--pulso::after { animation-play-state: paused; }

/* ---------- Flores en esquinas ---------- */
.flor {
  position: absolute; bottom: -6px; z-index: 1;
  width: clamp(120px, 26vw, 250px); height: auto;
  pointer-events: none;
}
.flor--izq { left: -18px; }
.flor--der { right: -18px; transform: scaleX(-1); }
.flor--sm { width: clamp(90px, 18vw, 170px); }

/* ---------- Veladora ---------- */
.veladora { position: relative; width: 64px; height: 96px; flex: none; }
.veladora svg { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.veladora__halo {
  position: absolute; left: 50%; top: 22%;
  width: 150%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 178, 90, .55) 0%, rgba(245, 178, 90, .18) 40%, rgba(245, 178, 90, 0) 70%);
  transform: translate(-50%, -50%);
  animation: halo 3.6s ease-in-out infinite;
}
.veladora__flama { transform-origin: 40px 52px; transform-box: view-box; animation: flama 2.3s ease-in-out infinite; }
.veladora__nucleo { transform-origin: 40px 50px; transform-box: view-box; animation: nucleo 1.7s ease-in-out infinite; }
@keyframes flama {
  0%   { transform: scale(1, 1) rotate(0deg); opacity: 1; }
  12%  { transform: scale(.94, 1.06) rotate(-2deg); opacity: .92; }
  27%  { transform: scale(1.03, .95) rotate(1.5deg); opacity: 1; }
  41%  { transform: scale(.97, 1.09) rotate(-1deg); opacity: .88; }
  58%  { transform: scale(1.02, .97) rotate(2deg); opacity: .97; }
  73%  { transform: scale(.95, 1.04) rotate(-1.5deg); opacity: .9; }
  88%  { transform: scale(1.01, 1.02) rotate(.5deg); opacity: 1; }
  100% { transform: scale(1, 1) rotate(0deg); opacity: 1; }
}
@keyframes nucleo { 0%, 100% { transform: scale(1); opacity: .95; } 35% { transform: scale(.9, 1.08); opacity: .8; } 70% { transform: scale(1.05, .95); opacity: 1; } }
@keyframes halo { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .9; } 30% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; } 60% { transform: translate(-50%, -50%) scale(.96); opacity: .75; } }

/* ---------- Reveal (entra y sale) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (min-width: 900px) {
  .js .reveal--col { transform: translateX(-26px); transition-delay: calc(var(--i, 0) * 140ms); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  padding: calc(var(--header-h) + 34px) 0 150px;
  overflow: hidden;
  color: #fff;
  background: var(--cafe);
  isolation: isolate;
}
.hero__foto { position: absolute; inset: 0; z-index: 0; }
.hero__foto picture, .hero__foto img { width: 100%; height: 100%; }
.hero__foto img { object-fit: cover; object-position: 28% 40%; transform-origin: 30% 40%; animation: hero-zoom 8s cubic-bezier(.2, .6, .2, 1) both; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
/* Móvil: la foto va arriba casi a su proporción (la provisional es de 700x300) */
.hero__foto { bottom: auto; height: clamp(300px, 92vw, 460px); }
.hero__velo {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(40, 31, 25, .55) 0, rgba(61, 47, 38, .5) 120px, rgba(61, 47, 38, .82) clamp(220px, 70vw, 360px), var(--cafe) clamp(300px, 92vw, 460px), #2E3A28 78%, var(--verde) 100%);
}
.hero__titulo, .hero__pregunta, .hero .eyebrow { text-shadow: 0 2px 18px rgba(30, 22, 16, .45); }
.hero__in { z-index: 3; }
.hero .eyebrow { color: #fff; font-size: .82rem; max-width: 22em; line-height: 1.45; }
.hero__titulo {
  margin: .2rem 0 1.1rem;
  font-family: var(--fuente-titulo);
  font-weight: 300;
  font-size: clamp(2.05rem, 9.6vw, 5.1rem);
  line-height: 1.22;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero__linea { display: block; }
.hero__luz { position: relative; display: inline-block; }
.barra--hero {
  position: absolute; left: .02em; right: .2em; bottom: -.04em;
  width: auto; height: 3px; margin: 0;
  background: linear-gradient(90deg, var(--crema), rgba(151, 123, 101, .9));
  transform: scaleX(0);
  animation: barra-crece 1.1s var(--ease) 1.1s forwards;
}
@keyframes barra-crece { to { transform: scaleX(1); } }
.hero__gracias { font-family: var(--fuente-titulo); font-weight: 600; font-size: 1.35rem; letter-spacing: .06em; color: var(--luz-atardecer); }
.hero__pregunta { max-width: 30em; font-size: 1.12rem; line-height: 1.5; }
.hero__pregunta strong { color: #fff; }
.hero__apoyo { max-width: 32em; font-size: .98rem; color: rgba(255, 255, 255, .9); }
.hero__datos { list-style: none; display: grid; gap: 10px; margin: 1.3rem 0 1.6rem; }
.hero__datos li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; }
.hero__datos .icono { width: 34px; height: 34px; color: #fff; }
.hero__cta .btn { width: 100%; max-width: 380px; }
.js .hero__anim { opacity: 0; transform: translateY(16px); animation: entra .9s var(--ease) calc(.12s + var(--i, 0) * .13s) forwards; }
@keyframes entra { to { opacity: 1; transform: none; } }

@media (min-width: 600px) {
  .hero__cta .btn { width: auto; }
  .hero__datos { grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 28px; }
  .hero__datos li { max-width: 15em; line-height: 1.35; }
}
@media (min-width: 900px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 56px); padding-bottom: 180px; }
  .hero__titulo { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
  /* Desktop: la foto cubre el lado derecho y la familia queda visible */
  .hero__foto { left: 30%; bottom: 0; height: auto; }
  .hero__foto img { object-position: 22% 35%; }
  .hero__velo {
    background:
      linear-gradient(90deg, var(--cafe) 0%, var(--cafe) 30%, rgba(61, 47, 38, .82) 40%, rgba(61, 47, 38, .35) 58%, rgba(61, 47, 38, .05) 78%),
      linear-gradient(180deg, rgba(30, 22, 16, .35) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 55%, rgba(28, 51, 31, .92) 100%);
  }
  .hero__in > * { max-width: 760px; }
  /* Solo con la foto provisional (700x300): se suaviza para disimular la baja resolución */
  .hero__foto--provisional img { filter: blur(1.2px) saturate(1.05); }
}

/* ---------- Próxima charla ---------- */
.proxima-wrap { position: relative; z-index: 5; margin-top: -110px; }
@media (min-width: 900px) { .proxima-wrap { margin-top: -140px; } }
.proxima {
  position: relative;
  display: grid; gap: 14px;
  padding: 22px 18px;
  border-radius: var(--radio);
  background: var(--crema);
  border: 1px solid rgba(151, 123, 101, .3);
  box-shadow: var(--sombra);
}
.proxima__veladora { position: absolute; right: 14px; top: -42px; width: 56px; height: 84px; }
.proxima__ordinal { margin: 0; font-family: var(--fuente-titulo); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--taupe-cta); font-size: .9rem; }
.proxima__pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 10px; }
.proxima__titulo { font-family: var(--fuente-titulo); font-weight: 600; font-size: clamp(1.3rem, 4.6vw, 1.85rem); color: var(--verde); line-height: 1.25; margin-bottom: 14px; }
.proxima__envivo { padding: 12px 14px; border-left: 3px solid var(--vivo); background: #fff; border-radius: 8px; font-weight: 600; }
.proxima__texto { color: var(--texto-suave); }
.proxima__acciones { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 16px; }
.proxima__grabaciones { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
@media (min-width: 768px) {
  .proxima { grid-template-columns: 96px 1fr; gap: 26px; padding: 30px 34px; align-items: center; }
  .proxima__veladora { position: relative; right: auto; top: auto; width: 84px; height: 126px; justify-self: center; }
}

/* ---------- Cuenta regresiva ---------- */
.cuenta__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 420px; }
.cuenta__u {
  display: grid; justify-items: center;
  padding: 10px 4px 8px;
  border-radius: 10px;
  background: var(--verde);
  color: #fff;
}
.cuenta__n { font-family: var(--fuente-titulo); font-weight: 300; font-size: clamp(1.6rem, 7vw, 2.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.cuenta__l { margin-top: 4px; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--crema); }

/* ---------- Agregar al calendario ---------- */
.agregar { position: relative; display: inline-block; }
.agregar > summary { list-style: none; }
.agregar > summary::-webkit-details-marker { display: none; }
.agregar__menu {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 20;
  display: grid; min-width: 250px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--linea);
  box-shadow: var(--sombra);
}
.agregar__menu a {
  display: flex; align-items: center; min-height: 44px;
  padding: 0 12px; border-radius: 8px;
  color: var(--verde); font-weight: 600; text-decoration: none;
}
.agregar__menu a:hover { background: var(--crema); }
.agregar[open] > summary { border-color: var(--verde); }

/* ---------- Secciones ---------- */
.seccion { position: relative; padding: 72px 0; overflow: hidden; }
@media (min-width: 900px) { .seccion { padding: 104px 0; } }
.seccion--claro { background: var(--crema-claro); }
.seccion--crema { background: var(--crema); }
.seccion--verde { background: var(--verde); color: #fff; }
.seccion--cafe { background: var(--cafe); color: #fff; }
.seccion__cabeza { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.seccion__intro { color: var(--texto-suave); }
.seccion--verde .seccion__intro, .seccion--cafe .seccion__intro { color: rgba(255, 255, 255, .88); }

/* Concepto */
.concepto { padding-top: 64px; }
.concepto__in { display: grid; gap: 36px; }
.concepto__datos { list-style: none; display: grid; gap: 12px; }
.concepto__datos li {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--linea);
  font-weight: 600; color: var(--verde);
}
.concepto__num { flex: none; min-width: 3.2rem; font-family: var(--fuente-titulo); font-weight: 300; font-size: 2.4rem; line-height: 1; color: var(--taupe-cta); text-align: center; }
.concepto__num--txt { font-size: 1.15rem; font-weight: 600; }
@media (min-width: 900px) {
  .concepto { padding-top: 96px; }
  .concepto__in { grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
}

/* ---------- Programa ---------- */
.programa-sec { padding-bottom: 96px; }
.programa {
  position: relative;
  margin-top: 30px;
  padding: 26px 16px 18px;
  border-radius: 18px;
  background: var(--crema);
  color: var(--texto);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6);
}
.programa__tab {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -100%);
  padding: 6px 28px 5px;
  border-radius: 12px 12px 0 0;
  background: var(--taupe-cta);
  color: #fff;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .92rem;
}
.programa__cols { list-style: none; display: grid; position: relative; }
/* Móvil: línea de tiempo vertical */
.programa__col { position: relative; padding: 4px 0 22px 30px; }
.programa__col::before {
  content: ""; position: absolute; left: 7px; top: 10px; bottom: -6px;
  width: 2px; background: var(--linea);
}
.programa__col:last-child::before { display: none; }
.programa__col::after {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--crema); border: 3px solid var(--verde);
}
.programa__col.es-finalizada::after { background: var(--taupe); border-color: var(--taupe); }
.programa__col.es-envivo::after { border-color: var(--vivo); background: var(--vivo); }
.programa__link { display: grid; justify-items: start; gap: 8px; text-decoration: none; color: inherit; border-radius: 10px; }
.programa__dia { font-size: .82rem; font-weight: 700; color: var(--texto-suave); text-transform: uppercase; letter-spacing: .06em; }
.programa__titulo { font-weight: 700; font-size: 1.08rem; line-height: 1.35; color: var(--verde); }
.programa__link:hover .programa__titulo { text-decoration: underline; text-underline-offset: .2em; }
.programa__badge { margin-top: 10px; }
.programa__aqui { display: inline-block; margin: 10px 0 0 8px; font-size: .78rem; font-weight: 700; color: var(--taupe-cta); }
.programa__col.is-actual .programa__titulo { color: var(--cafe); }
.programa__col.es-finalizada .programa__titulo { color: var(--texto-suave); }
.programa__ponente {
  display: flex; align-items: center; gap: 14px;
  margin-top: 6px; padding-top: 16px;
  border-top: 1px solid var(--linea);
}
.programa__ponente-nombre { margin: 4px 0 0; font-weight: 700; color: var(--verde); line-height: 1.3; }
.programa__ponente-titulo { margin: 0; font-size: .85rem; font-weight: 600; color: var(--texto-suave); }
@media (min-width: 600px) and (max-width: 899px) {
  .programa__cols { grid-template-columns: 1fr 1fr; gap: 6px 22px; }
  .programa__col::before { display: none; }
}
@media (min-width: 900px) {
  .programa { padding: 34px 18px 26px; }
  .programa__cols { grid-template-columns: repeat(4, 1fr); }
  .programa__col { padding: 6px 18px; text-align: center; }
  .programa__col::after { display: none; }
  .programa__col::before { left: auto; right: 0; top: 8%; bottom: 8%; width: 1px; display: block; background: rgba(61, 47, 38, .35); }
  .programa__col:last-child::before { display: none; }
  .programa__link { justify-items: center; gap: 10px; padding: 4px; }
  .programa__titulo { font-size: 1.1rem; min-height: 4.1em; display: flex; align-items: center; }
  .programa__aqui { display: block; margin: 8px 0 0; }
  .programa__ponente { justify-content: center; margin-top: 20px; padding-top: 20px; }
}

/* ---------- Foto circular de la ponente (CSS sobre la foto original) ---------- */
.foto-circulo {
  aspect-ratio: 1;
  width: 64px; height: auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 26%;
  border: 3px solid #C9A57E;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .7);
  background: #fff;
}
.foto-circulo--xs { width: 46px; border-width: 2px; box-shadow: none; }
.foto-circulo--sm { width: 72px; }
.foto-circulo--lg { width: min(280px, 72vw); border-width: 4px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .8), var(--sombra); }

/* ---------- Pestañas de charlas ---------- */
.tabs__lista {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px;
  margin-bottom: 18px;
}
.tabs__tab {
  display: grid; justify-items: center; align-content: center; gap: 2px;
  min-height: 64px; padding: 8px 4px;
  border: 1.5px solid var(--linea);
  border-radius: 12px;
  background: #fff;
  color: var(--verde);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.tabs__num { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--texto-suave); }
.tabs__fecha { font-weight: 700; font-size: .8rem; white-space: nowrap; }
@media (min-width: 420px) { .tabs__fecha { font-size: .9rem; } }
.tabs__tab:hover { border-color: var(--verde); }
.tabs__tab[aria-selected="true"] { background: var(--verde); border-color: var(--verde); color: #fff; }
.tabs__tab[aria-selected="true"] .tabs__num { color: var(--crema); }
.tabs__tab.es-finalizada .tabs__fecha::after { content: " ✓"; }
.tabs__panel { border-radius: 18px; }
.js .tabs__panel:not([hidden]) { animation: panel-in .45s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.no-js .tabs__panel[hidden] { display: block !important; margin-top: 20px; }

.charla-det {
  padding: 22px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--linea);
  box-shadow: 0 18px 40px -30px rgba(20, 38, 26, .5);
}
.charla-det__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 10px; }
.charla-det__num { font-family: var(--fuente-titulo); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--taupe-cta); font-size: .9rem; }
.charla-det__titulo { font-family: var(--fuente-titulo); font-weight: 600; font-size: clamp(1.35rem, 4.8vw, 2rem); color: var(--verde); margin-bottom: 10px; }
.charla-det__cuando { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--texto-suave); }
.charla-det__cuando .icono { width: 26px; height: 26px; color: var(--verde); margin-top: 1px; }
.charla-det__desc { margin: 18px 0 22px; font-size: 1.04rem; }
.charla-det__cols { display: grid; gap: 14px; }
.charla-det__bloque { padding: 18px; border-radius: 14px; border: 1px solid var(--linea); }
.charla-det__bloque--crema { background: var(--crema); border-color: transparent; }
.charla-det__bloque h4 { margin-bottom: 12px; font-family: var(--fuente-titulo); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--verde); }
.lista-check { list-style: none; display: grid; gap: 10px; }
.lista-check li { display: flex; gap: 10px; align-items: flex-start; }
.lista-check .icono { width: 22px; height: 22px; flex: none; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--verde); color: #fff; }
.lista-punto { list-style: none; display: grid; gap: 10px; }
.lista-punto li { position: relative; padding-left: 22px; }
.lista-punto li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--cempasuchil); }
.charla-det__pie { display: grid; gap: 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--linea); }
.mini-ponente { display: flex; align-items: center; gap: 12px; font-size: .92rem; line-height: 1.4; }
.mini-ponente p { margin: 0; }
.mini-ponente span { display: block; color: var(--texto-suave); font-size: .82rem; }
.charla-det__acciones { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
@media (min-width: 768px) {
  .tabs__lista { gap: 12px; }
  .tabs__tab { min-height: 72px; }
  .tabs__fecha { font-size: 1.02rem; }
  .charla-det { padding: 34px 38px; }
  .charla-det__cols { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (min-width: 1024px) {
  .charla-det__pie { grid-template-columns: auto 1fr; align-items: center; }
  .charla-det__acciones { justify-content: flex-end; }
}

/* ---------- Calendario guía ---------- */
.cal { display: grid; gap: 20px; }
.cal__mes {
  padding: 18px 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--linea);
}
.cal__titulo { margin: 0 0 10px; text-align: center; font-family: var(--fuente-titulo); font-weight: 600; font-size: 1.2rem; letter-spacing: .14em; text-transform: uppercase; color: var(--verde); }
.cal__tabla { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal__tabla th { padding: 6px 0; font-size: .78rem; font-weight: 700; color: var(--texto-suave); }
.cal__tabla td { padding: 2px; text-align: center; vertical-align: top; }
.cal__dia {
  position: relative;
  display: grid; justify-items: center; align-content: start;
  width: 100%; min-height: 48px;
  padding: 6px 0 2px;
  border: 0; border-radius: 12px;
  background: transparent;
  font-size: .92rem;
  color: var(--texto);
}
.cal__num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; line-height: 1; }
.cal__dia.is-hoy .cal__num { box-shadow: inset 0 0 0 1.5px var(--cafe); font-weight: 700; }
.cal__dia--charla { cursor: pointer; transition: transform .2s var(--ease); }
.cal__dia--charla .cal__num { background: var(--verde); color: #fff; font-weight: 700; }
.cal__dia--charla:hover { transform: translateY(-2px); }
.cal__dia--charla.is-sel .cal__num { box-shadow: 0 0 0 3px #fff, 0 0 0 5.5px var(--cempasuchil); }
.cal__dia--charla.is-hoy .cal__num { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--cafe); }
.cal__dia--charla.is-sel.is-hoy .cal__num { box-shadow: 0 0 0 3px #fff, 0 0 0 5.5px var(--cempasuchil); }
.cal__palomita { display: none; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: #fff; color: var(--texto-suave); }
.cal__dia--charla.es-finalizada .cal__num { background: #CFC8BB; color: var(--texto); }
.cal__dia--charla.es-finalizada .cal__palomita { display: block; }
.cal__dia--muertos .cal__num { color: var(--cafe); font-weight: 700; }
.cal__flor { width: 22px; height: auto; margin-top: -4px; }
.cal__etiqueta { display: block; font-size: .56rem; font-weight: 700; line-height: 1.1; color: var(--cafe); text-transform: uppercase; letter-spacing: .02em; }
.cal__vacio { opacity: 0; }
.cal__leyenda { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 14px; font-size: .8rem; color: var(--texto-suave); }
.cal__leyenda li { display: flex; align-items: center; gap: 6px; }
.cal__muestra { width: 14px; height: 14px; border-radius: 50%; }
.cal__muestra--charla { background: var(--verde); }
.cal__muestra--fin { background: #CFC8BB; }
.cal__muestra--hoy { box-shadow: inset 0 0 0 1.5px var(--cafe); }
.cal__panel {
  padding: 22px 20px;
  border-radius: 18px;
  background: var(--verde);
  color: #fff;
  box-shadow: var(--sombra);
}
.js .cal__panel:not([hidden]) { animation: panel-in .45s ease; }
.cal__panel-num { margin-bottom: 4px; font-family: var(--fuente-titulo); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--luz-atardecer); font-size: .88rem; }
.cal__panel-fecha { margin-bottom: 2px; font-size: 1.15rem; font-weight: 700; }
.cal__panel-hora { display: flex; align-items: center; gap: 8px; color: var(--crema); font-size: .92rem; }
.cal__panel-hora .icono { width: 20px; height: 20px; }
.cal__panel-titulo { margin: 12px 0 10px; font-family: var(--fuente-titulo); font-weight: 600; font-size: 1.35rem; line-height: 1.25; }
.cal__panel-desc { color: rgba(255, 255, 255, .88); font-size: .96rem; }
.cal__panel-acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cal__panel .btn--sec { background: var(--crema); border-color: var(--crema); }
.calendario__todas { margin-top: 22px; text-align: center; }
@media (min-width: 900px) {
  .cal { grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
  .cal__mes { padding: 24px 22px; }
  .cal__dia { min-height: 64px; }
  .cal__num { width: 42px; height: 42px; font-size: 1rem; }
  .cal__etiqueta { font-size: .62rem; }
  .cal__panel { padding: 30px 30px; position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ---------- Cómo funciona ---------- */
.pasos__lista { list-style: none; display: grid; gap: 14px; counter-reset: paso; }
.paso {
  position: relative;
  display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; align-items: start;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(242, 238, 229, .22);
}
.paso__icono { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(242, 238, 229, .5); }
.paso__icono .icono { width: 30px; height: 30px; color: #fff; }
.paso__num { font-family: var(--fuente-titulo); font-weight: 600; color: var(--luz-atardecer); letter-spacing: .1em; font-size: .9rem; }
.paso p { margin: 0; color: rgba(255, 255, 255, .9); }
.paso strong { color: #fff; }
@media (min-width: 768px) { .pasos__lista { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1100px) {
  .pasos__lista { grid-template-columns: repeat(4, 1fr); }
  .paso { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 26px 20px; }
  .paso__icono { grid-row: auto; width: 72px; height: 72px; }
  .paso__icono .icono { width: 36px; height: 36px; }
}

/* ---------- Ponente ---------- */
.ponente__in { display: grid; gap: 28px; justify-items: center; text-align: center; }
.ponente__nombre { margin: 12px 0 2px; font-family: var(--fuente); font-weight: 700; font-size: clamp(1.4rem, 5vw, 2rem); color: var(--verde); }
.ponente__titulo { margin: 0; font-weight: 600; color: var(--texto-suave); font-size: 1.05rem; }
.ponente .barra { margin-left: auto; margin-right: auto; transform-origin: center; }
.ponente__semblanza { max-width: 38em; }
.ponente__semblanza p { margin: 0 0 .9em; }
.ponente__frase {
  position: relative;
  max-width: 34em;
  margin: 0 auto 1.4rem;
  padding: 16px 20px;
  border-left: 3px solid var(--taupe);
  border-radius: 0 12px 12px 0;
  background: var(--crema-claro);
  font-family: var(--fuente-titulo);
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--verde);
  text-align: left;
}
.ponente__frase p { margin: 0; }
.ponente__nota { color: var(--texto-suave); }
@media (min-width: 900px) {
  .ponente__in { grid-template-columns: auto 1fr; gap: 56px; text-align: left; justify-items: start; align-items: center; max-width: 960px; }
  .ponente .barra { margin-left: 0; transform-origin: left center; }
  .ponente__frase { margin-left: 0; }
  .ponente__in { align-items: start; }
  .ponente__foto { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- FAQ ---------- */
.faq__lista { display: grid; gap: 10px; }
.faq__item {
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--linea);
}
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 56px;
  padding: 14px 18px;
  font-weight: 700; color: var(--verde);
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__resp { padding: 0 18px 18px; color: var(--texto-suave); }
.faq__item[open] .faq__resp { animation: panel-in .35s ease; }

/* ---------- Registro ---------- */
.registro { background: var(--verde); color: #fff; padding-bottom: 120px; }
.registro__in { display: grid; gap: 28px; justify-items: center; text-align: center; }
.registro__texto { max-width: 640px; }
.registro__intro { color: rgba(255, 255, 255, .9); font-size: 1.05rem; }
.registro__tarjeta {
  width: 100%; max-width: 640px;
  padding: 16px 12px 14px;
  border-radius: 18px;
  background: var(--crema);
  color: var(--texto);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.registro__aviso { margin: 10px 0 0; font-size: .85rem; color: var(--texto-suave); }
.registro__aviso a { color: var(--verde); font-weight: 600; }
@media (min-width: 900px) {
  .registro { padding-bottom: 150px; }
  .registro__tarjeta { padding: 22px 20px 18px; }
}

/* Iframe de Sales24x7: el formulario se pinta al 90% del ancho del iframe,
   por eso el iframe se dibuja 111% y se recorta el sobrante transparente. */
.form-embed {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
}
.form-embed__iframe {
  display: block;
  width: 111%; max-width: none;
  height: 320px;
  border: 0;
  background: transparent;
  transition: opacity .4s ease;
}
@media (min-width: 768px) { .form-embed__iframe { height: 300px; } }
.js .form-embed__iframe { opacity: 0; }
.form-embed.is-loaded .form-embed__iframe { opacity: 1; }
.form-embed__esqueleto {
  position: absolute; inset: 0; z-index: 1;
  display: grid; align-content: start; gap: 8px;
  padding: 16px 14px;
  border-radius: 10px;
  background: #fff;
  transition: opacity .4s ease, visibility 0s linear .4s;
}
.form-embed.is-loaded .form-embed__esqueleto { opacity: 0; visibility: hidden; }
.no-js .form-embed__esqueleto { display: none; }
.esq { display: block; border-radius: 6px; background: linear-gradient(90deg, #EEE8DC 0%, #F8F4EC 50%, #EEE8DC 100%); background-size: 200% 100%; }
.js .esq { animation: brillo 1.4s ease-in-out infinite; }
.esq--label { width: 30%; height: 12px; margin-top: 6px; }
.esq--campo { width: 100%; height: 34px; }
.esq--boton { width: 120px; height: 38px; margin: 18px auto 0; }
@keyframes brillo { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* ---------- Bloque cruzado ---------- */
.cruzado { padding: 34px 0; background: var(--crema); }
.cruzado__in { display: grid; gap: 14px; justify-items: center; text-align: center; }
.cruzado__flor { width: 72px; }
.cruzado p { margin: 0; max-width: 34em; }
@media (min-width: 768px) {
  .cruzado__in { grid-template-columns: auto 1fr auto; text-align: left; gap: 24px; }
}

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding: 56px 0 calc(110px + env(safe-area-inset-bottom)); background: var(--verde-profundo); color: rgba(255, 255, 255, .85); font-size: .92rem; }
.footer__in { display: grid; gap: 22px; justify-items: center; text-align: center; }
.footer__logo { width: 150px; }
.footer__nombre { margin: 0; font-weight: 700; color: #fff; font-size: 1rem; }
.footer__seminario { margin: 4px 0 0; }
.footer__ciudad { margin: 4px 0 0; }
.footer__wa { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; color: #fff; font-weight: 600; }
.footer__wa .icono { width: 20px; height: 20px; }
.footer__links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; }
.footer__credito { margin: 0; font-size: .82rem; color: rgba(255, 255, 255, .75); }
.footer__credito a { color: #fff; }
@media (min-width: 768px) { .footer { padding-bottom: 56px; } }

/* ---------- CTA flotante ---------- */
.cta-flotante {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(20, 38, 26, .94);
  box-shadow: 0 -10px 30px -16px rgba(0, 0, 0, .6);
  transform: translateY(110%);
  opacity: 0;
  transition: transform .45s var(--ease), opacity .3s ease;
}
.cta-flotante.is-on { transform: none; opacity: 1; }
.cta-flotante .btn { width: 100%; }
@media (min-width: 768px) {
  .cta-flotante { left: auto; right: 24px; bottom: 24px; padding: 0; background: none; box-shadow: none; }
  .cta-flotante .btn { width: auto; }
}

/* ==========================================================================
   Página de cada charla
   ========================================================================== */
.charla-hero { min-height: 0; padding-bottom: 56px; }
.migas { margin-bottom: 18px; font-size: .85rem; }
.migas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.migas li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .6); }
.migas a { color: #fff; }
.charla-hero__titulo {
  margin: .4rem 0 1rem;
  font-family: var(--fuente-titulo); font-weight: 300;
  font-size: clamp(1.75rem, 7vw, 3.4rem);
  line-height: 1.15; letter-spacing: .1em; text-transform: uppercase;
}
.charla-hero__pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.charla-hero .pill--fecha { background: var(--crema); color: var(--verde); }
.charla-hero__estado { display: grid; gap: 14px; margin: 18px 0 22px; max-width: 460px; }
.charla-hero .cuenta__u { background: rgba(255, 255, 255, .1); border: 1px solid rgba(242, 238, 229, .3); }
.charla-hero__acciones { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.charla-hero__acciones .agregar .btn--sec { background: transparent; color: #fff; border-color: rgba(250, 246, 237, .6); }
.charla-hero__veladora { display: none; }
@media (min-width: 900px) {
  .charla-hero { padding-bottom: 90px; }
  .charla-hero .hero__in { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
  .charla-hero .hero__in > * { max-width: none; }
  .charla-hero__veladora { display: block; width: 110px; height: 165px; margin-bottom: 20px; }
}
.charla-cuerpo__in { display: grid; gap: 28px; }
.charla-cuerpo .charla-det__desc { font-size: 1.12rem; margin-top: 0; }
.charla-foto { border-radius: 18px; overflow: hidden; box-shadow: var(--sombra); }
.charla-foto img { width: 100%; height: auto; }
.otras { list-style: none; display: grid; gap: 14px; }
.otra {
  display: grid; gap: 8px; height: 100%;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--linea);
  text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), border-color .2s;
}
.otra:hover { transform: translateY(-4px); border-color: var(--verde); color: inherit; }
.otra__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.otra__titulo { font-weight: 700; color: var(--verde); font-size: 1.05rem; line-height: 1.35; }
.otra__ir { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--taupe-cta); font-size: .9rem; }
.otra__ir .icono { width: 18px; height: 18px; }
@media (min-width: 768px) { .otras { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   Gracias y 404
   ========================================================================== */
.pagina-simple { background: var(--verde); }
.simple {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 36px) 0 64px;
  overflow: hidden;
  color: #fff;
  background: var(--verde);
}
.simple__in { display: grid; justify-items: center; }
.simple__tarjeta {
  width: 100%; max-width: 680px;
  padding: 28px 20px;
  border-radius: 20px;
  background: var(--crema);
  color: var(--texto);
  text-align: center;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.simple__tarjeta .veladora { margin: -70px auto 6px; width: 64px; height: 96px; }
.simple__titulo { font-family: var(--fuente-titulo); font-weight: 300; text-transform: uppercase; letter-spacing: .1em; color: var(--verde); font-size: clamp(1.55rem, 6vw, 2.3rem); line-height: 1.2; }
.simple__tarjeta .barra { margin-left: auto; margin-right: auto; }
.simple__principal { display: grid; justify-items: center; gap: 8px; margin: 22px 0; }
.simple__principal .btn { width: 100%; max-width: 360px; }
.simple__nota { font-size: .92rem; color: var(--texto-suave); }
.siguientes { margin: 24px 0; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--linea); text-align: left; }
.siguientes h2 { margin-bottom: 10px; font-family: var(--fuente-titulo); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--verde); }
.siguientes ol { padding-left: 1.2em; display: grid; gap: 8px; }
.prog-compacto { list-style: none; display: grid; gap: 8px; margin: 18px 0; text-align: left; }
.prog-compacto li { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--linea); }
.prog-compacto .pill { grid-row: span 2; }
.prog-compacto strong { color: var(--verde); line-height: 1.3; font-size: .95rem; }
.prog-compacto small { color: var(--texto-suave); font-size: .82rem; }
.simple__acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.compartir-ok { min-height: 1.4em; margin: 8px 0 0; font-size: .88rem; font-weight: 600; color: var(--verde); }
@media (min-width: 768px) { .simple__tarjeta { padding: 40px 48px; } }

/* ==========================================================================
   Transmisión (sala)
   ========================================================================== */
.pagina-sala { background: var(--verde-profundo); color: #fff; }
.sala { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; padding: 22px 0 60px; isolation: isolate; }
.sala__top { position: relative; z-index: 3; display: flex; justify-content: center; margin-bottom: 18px; }
.sala__logo { width: 120px; }
.sala__in { display: grid; gap: 22px; justify-items: center; text-align: center; }
.sala__eyebrow { color: var(--crema); }
.sala__estado { width: 100%; max-width: 760px; display: grid; justify-items: center; gap: 14px; }
.sala__aviso { font-family: var(--fuente-titulo); font-weight: 300; text-transform: uppercase; letter-spacing: .1em; font-size: clamp(1.35rem, 5.4vw, 2.2rem); line-height: 1.2; margin: 0; }
.sala__titulo { font-family: var(--fuente-titulo); font-weight: 600; font-size: clamp(1.25rem, 4.6vw, 1.9rem); line-height: 1.25; color: var(--luz-atardecer); }
.sala__detalle { color: rgba(255, 255, 255, .88); max-width: 34em; }
.sala .veladora { width: 76px; height: 114px; }
.sala .cuenta__grid { max-width: 520px; width: 100%; }
.sala .cuenta__u { background: rgba(255, 255, 255, .08); border: 1px solid rgba(242, 238, 229, .28); padding: 14px 4px 10px; }
.sala .cuenta__n { font-size: clamp(2rem, 9vw, 3.2rem); }
.sala__video { width: 100%; max-width: 1040px; }
.video-16x9 { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.video-16x9 iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.sala__espera {
  display: grid; place-items: center; gap: 12px;
  width: 100%; aspect-ratio: 16 / 9;
  padding: 20px;
  border-radius: 14px;
  border: 1px dashed rgba(242, 238, 229, .35);
  background: rgba(255, 255, 255, .04);
}
.sala__respaldo { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.sala__grupo {
  width: 100%; max-width: 560px;
  display: grid; justify-items: center; gap: 8px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(242, 238, 229, .2);
}
.sala__grupo p { margin: 0; color: rgba(255, 255, 255, .85); font-size: .92rem; }
.sala__grupo .btn { width: 100%; max-width: 380px; }
.sala__agregar .agregar .btn--sec { background: transparent; color: #fff; border-color: rgba(250, 246, 237, .55); }
.sala__agregar .agregar__menu { left: 50%; transform: translateX(-50%); }
.sala__grabaciones { list-style: none; display: grid; gap: 10px; justify-items: center; }
.sala__pie { position: relative; z-index: 3; margin-top: 36px; text-align: center; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.sala__pie a { color: #fff; }
.sala__tuhora { font-size: .85rem; color: rgba(255, 255, 255, .7); margin: 0; }
.prueba-aviso { position: fixed; left: 8px; bottom: 8px; z-index: 300; padding: 6px 10px; border-radius: 8px; background: #B00020; color: #fff; font: 700 12px/1.3 var(--fuente); }

/* ==========================================================================
   Movimiento reducido: todo quieto y visible
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero__anim { opacity: 1 !important; transform: none !important; }
  .js .bandas:not(.is-visible) .banda > i { transform: none; opacity: var(--op, 1); }
  .reveal .barra, .reveal.barra, .barra--hero { transform: none !important; }
  .petalos { display: none; }
  .hero__foto img { transform: none; }
  .js .form-embed__iframe { opacity: 1; }
}

/* ---------- Ajustes de páginas internas ---------- */
.h-bloque { margin-bottom: 12px; font-family: var(--fuente-titulo); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--verde); }
.icono--inline { display: inline-block; width: 22px; height: 22px; vertical-align: -5px; margin-right: 4px; }
.sala__gracias { margin: 0; font-weight: 600; color: var(--crema); }
.sala__bloque { display: grid; justify-items: center; gap: 12px; width: 100%; }
.sala__bloque > p { margin: 0; }
.sala__cuenta { width: 100%; display: grid; justify-items: center; }
.programa { margin-top: 44px; }
/* gracias.php abierta dentro del iframe (si el navegador no dejó romper el marco) */
.en-iframe .header, .en-iframe .footer, .en-iframe .bandas, .en-iframe .petalos { display: none; }
.en-iframe .simple { min-height: 0; padding: 12px 0; }
