/* =========================================================
   ABNS · versión animada
   Escenas "sticky" cuyo video avanza cuadro a cuadro con el scroll
   (js/animado.js) y textos que aparecen según el avance.
   ========================================================= */
:root {
  --bg: #0b0907;
  --bg2: #120e0b;
  --ink: #1b1411;
  --ink-soft: #6b6058;
  --cream: #efe7da;
  --cream2: #e6dccb;
  --white: #fff;
  --red: #dc2626;
  --red2: #ef4444;
  --gold: #e0b15c;
  --tan: #d9b27a;
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(20, 14, 11, 0.52);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(18px, 4.5vw, 56px);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.container { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.container--bleed { padding-inline: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- tipografía ---------- */
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78); margin-bottom: 14px;
}
.eyebrow--red { color: var(--red); }
.eyebrow--small { font-size: 10px; letter-spacing: 0.24em; margin-bottom: 8px; }
.eyebrow--logo { display: flex; align-items: center; gap: 10px; }
.eyebrow--logo img { width: 34px; height: 34px; border-radius: 50%; background: #fff; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,.25), 0 0 18px rgba(239,68,68,.6); }
.eyebrow--logo b { font-weight: 800; color: #fff; }

.display {
  font-family: var(--serif); font-weight: 500; line-height: 0.98;
  font-size: clamp(52px, 8.4vw, 124px); letter-spacing: -0.015em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}
.display em { font-style: italic; color: var(--gold); }
.dot { color: var(--red2); }
.h2 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; font-size: clamp(34px, 4.6vw, 62px); color: var(--ink); }
.h2--light { color: #fff; text-shadow: 0 3px 30px rgba(0, 0, 0, 0.4); }
.h2--xl { font-size: clamp(54px, 9vw, 128px); line-height: 0.95; }
.lead { color: rgba(255, 255, 255, 0.82); font-size: clamp(14px, 1.15vw, 16px); max-width: 52ch; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 14px; text-decoration: none; letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: #fff; color: #17110e; box-shadow: 0 10px 30px -12px rgba(255, 255, 255, 0.5); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn--red { background: linear-gradient(150deg, #ef4444, #b91c1c); color: #fff; box-shadow: 0 14px 30px -12px rgba(220, 38, 38, 0.8); }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ico { width: 18px; height: 18px; }

/* ---------- encabezado ---------- */
.hdr { position: fixed; z-index: 50; top: calc(12px + env(safe-area-inset-top)); left: 0; right: 0; padding-inline: 12px; pointer-events: none; }
.hdr__pill {
  pointer-events: auto; position: relative;
  width: min(1240px, 100%); margin-inline: auto; padding: 8px 10px 8px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(14, 10, 8, 0.38); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transition: background 0.4s, box-shadow 0.4s;
}
.hdr.is-solid .hdr__pill { background: rgba(14, 10, 8, 0.78); box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.8); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.45)); }
.brand__text { display: flex; flex-direction: column; font-weight: 800; letter-spacing: 0.12em; font-size: 15px; line-height: 1.05; }
.brand__text small { font-size: 8px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a { text-decoration: none; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.82); transition: color 0.25s; }
.nav a:hover { color: #fff; }
.nav .nav__live { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #17110e; padding: 9px 16px; border-radius: 999px; font-weight: 700; }
.nav__live i, .pill-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--red2); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.1); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 24px; }
.burger.is-active span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.is-active span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px; border-radius: 24px; border: 1px solid var(--line);
    background: rgba(14, 10, 8, 0.94); backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.is-active { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 16px; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .nav a:last-child { border: 0; }
  .nav .nav__live { justify-content: center; margin-top: 8px; padding: 14px; }
}

/* ---------- ESCENAS (scroll → cuadros de video) ---------- */
.scene { position: relative; height: calc(var(--k, 3) * 100vh); height: calc(var(--k, 3) * 100svh); background: var(--bg); }
.scene__stick {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background-color: #0b0907; background-position: center; background-size: cover; background-repeat: no-repeat;
}
.scene__canvas { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; transform-origin: 50% 55%; }
.scene__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 6, 5, 0.55) 0%, rgba(8, 6, 5, 0) 24%, rgba(8, 6, 5, 0) 38%, rgba(8, 6, 5, 0.86) 100%);
}
.scene--cultos .scene__shade { background: linear-gradient(180deg, rgba(8,6,5,.5) 0%, rgba(8,6,5,.1) 25%, rgba(8,6,5,.45) 55%, rgba(8,6,5,.92) 100%); }
.scene--campus .scene__shade { background: linear-gradient(180deg, rgba(8,6,5,.7) 0%, rgba(8,6,5,.4) 35%, rgba(8,6,5,.8) 100%); }
.scene--retiros .scene__shade { background: linear-gradient(180deg, rgba(8,6,5,.65) 0%, rgba(8,6,5,.2) 40%, rgba(8,6,5,.88) 100%); }
@media (min-width: 900px) {
  .scene--cultos .scene__shade { background: linear-gradient(90deg, rgba(8,6,5,.05) 0%, rgba(8,6,5,.15) 38%, rgba(8,6,5,.82) 78%, rgba(8,6,5,.92) 100%); }
  .scene--hero .scene__shade { background: linear-gradient(180deg, rgba(8,6,5,.5) 0%, rgba(8,6,5,0) 22%, rgba(8,6,5,0) 45%, rgba(8,6,5,.82) 100%); }
}
.scene__content {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 92px 0 calc(34px + env(safe-area-inset-bottom));
}
.scene__content--split { justify-content: space-between; }
.scene__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.1); }
.scene__bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--red), var(--gold)); }

/* elementos que aparecen según el avance del scroll */
[data-show] { will-change: opacity, transform; }
html.js-scenes [data-show] { opacity: 0; }

/* hero */
.stack { display: grid; }
.stack > * { grid-area: 1 / 1; align-self: end; }
.hero-a { display: grid; gap: 26px; align-items: end; }
.hero-a__side { max-width: 420px; }
.hero-a__side .lead { margin-top: 4px; }
.pill-live {
  position: absolute; z-index: 3; left: var(--gut); top: calc(86px + env(safe-area-inset-top));
  display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 14px;
  background: rgba(30, 22, 17, 0.55); border: 1px solid var(--line); backdrop-filter: blur(12px);
}
.pill-live span { display: flex; flex-direction: column; line-height: 1.25; font-size: 12px; }
.pill-live small { color: rgba(255, 255, 255, 0.7); font-size: 11px; }
@media (min-width: 900px) {
  .pill-live { left: auto; right: max(var(--gut), calc((100vw - 1240px) / 2 + var(--gut))); top: 108px; }
  .hero-a { grid-template-columns: 1fr minmax(300px, 400px); gap: 60px; }
}
.hero-b .stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 6vw, 80px); margin: 6px 0 26px; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--serif); font-size: clamp(54px, 8vw, 104px); line-height: 1; color: var(--gold); }
.stat__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); max-width: 14ch; }
.scroll-hint { position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 2; display: none; flex-direction: column; align-items: center; gap: 8px; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.scroll-hint i { width: 1px; height: 34px; background: linear-gradient(#fff, transparent); animation: drip 1.8s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: 0 0; } 50% { transform: scaleY(1); transform-origin: 0 0; } 51% { transform-origin: 0 100%; } 100% { transform: scaleY(0); transform-origin: 0 100%; } }
@media (min-width: 900px) { .scroll-hint { display: flex; } }

/* redes sociales */
.social-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.social-row__label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); font-weight: 700; }
.social-row__icons { display: flex; gap: 10px; }
.soc {
  position: relative; isolation: isolate; overflow: hidden; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, 0.28);
  transition: transform 0.35s var(--ease), filter 0.35s;
}
.soc::before { content: ''; position: absolute; inset: 0; background: linear-gradient(165deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 52%); pointer-events: none; }
.soc svg { width: 22px; height: 22px; position: relative; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35)); }
.soc:hover { transform: translateY(-4px) scale(1.08); filter: brightness(1.1) saturate(1.1); }
.soc--fb { background: linear-gradient(150deg, #4c9bff, #1877f2 55%, #0f56c4); box-shadow: 0 10px 22px -8px rgba(24, 119, 242, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.soc--ig { background: linear-gradient(40deg, #fdb94a, #f2523f 38%, #d62976 62%, #7c3aed); box-shadow: 0 10px 22px -8px rgba(214, 41, 118, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.soc--yt { background: linear-gradient(150deg, #ff4b4b, #e11d1d 55%, #a60f0f); box-shadow: 0 10px 22px -8px rgba(225, 29, 29, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.soc--wa { background: linear-gradient(150deg, #4df08a, #25d366 55%, #12a24c); box-shadow: 0 10px 22px -8px rgba(37, 211, 102, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.4); }

/* cultos */
@media (min-width: 900px) { .scene--cultos .panel { margin-left: auto; width: min(500px, 100%); } .scene--cultos .scene__content { justify-content: center; padding-top: 110px; } }
.scene--cultos .h2 { max-width: 12ch; margin-bottom: 14px; }
.timetable { margin-top: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--glass); backdrop-filter: blur(14px); padding: 4px 18px; }
.timetable li { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; }
.timetable li:last-child { border: 0; }
.timetable b { font-family: var(--serif); font-weight: 500; font-size: 17px; }
.tt__what { color: rgba(255, 255, 255, 0.62); font-size: 12px; }
.tt__time { font-weight: 700; white-space: nowrap; }
.verse { margin-top: 18px; font-family: var(--serif); font-style: italic; color: rgba(255, 255, 255, 0.78); font-size: 15px; }
.verse span { font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; margin-left: 8px; color: var(--gold); }

/* campus */
.scene--campus .scene__content, .scene--retiros .scene__content { padding-top: 104px; }
.campus-head .h2 { max-width: 13ch; margin-bottom: 14px; }
.campus-stats { margin-top: 14px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.courses {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px var(--gut) 8px; scroll-padding-inline: var(--gut);
}
.courses::-webkit-scrollbar { display: none; }
@media (min-width: 1280px) { .courses { padding-inline: calc((100vw - 1240px) / 2 + var(--gut)); scroll-padding-inline: calc((100vw - 1240px) / 2 + var(--gut)); } }
.course {
  flex: 0 0 min(68vw, 270px); scroll-snap-align: start; position: relative;
  display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 20px;
  border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.course:hover { border-color: rgba(239, 68, 68, 0.6); }
.course__n { font-family: var(--serif); font-size: 20px; color: var(--gold); letter-spacing: 0.1em; }
.course h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.15; }
.course p { font-size: 13px; color: rgba(255, 255, 255, 0.68); }
.course__meta { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin-top: auto; padding-top: 8px; }
.course__cta { margin-top: auto; padding: 10px 0 0; background: none; border: 0; border-top: 1px solid rgba(255,255,255,.12); color: #fff; text-align: left; font-weight: 700; font-size: 13px; text-decoration: none; }
.course__cta:hover { color: var(--gold); }
.course--feat { flex-basis: min(74vw, 330px); background: linear-gradient(155deg, #dcb887, #c99f68); color: #1c130d; border-color: transparent; box-shadow: 0 24px 50px -22px rgba(217, 178, 122, 0.6); }
.course--feat p, .course--feat .course__meta { color: rgba(28, 19, 13, 0.75); }
.course--feat .course__cta { color: #1c130d; border-color: rgba(28,19,13,.25); }
.course--feat h3 { font-size: 28px; }
.course__tag { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 800; opacity: 0.75; }
.course__bar { height: 3px; border-radius: 3px; background: rgba(28, 19, 13, 0.18); margin-top: 6px; }
.course__bar i { display: block; height: 100%; width: 40%; background: #1c130d; border-radius: 3px; }
@media (min-width: 1100px) { .course { flex-basis: 250px; } .course--feat { flex-basis: 330px; } }
/* tarjetas ordenadas: misma altura, texto acotado y botón siempre abajo */
.courses { align-items: stretch; }
.course { min-height: 210px; }
.course p:not(.course__meta):not(.course__tag) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.course__meta { margin-top: auto; }
.course__cta { margin-top: 0; }
.campus-head .actions { margin-top: 16px; }
/* pantallas bajas: compactar el encabezado y las tarjetas para que todo quepa */
@media (max-height: 820px) {
  .scene--campus .scene__content { padding-top: 84px; padding-bottom: 22px; gap: 14px; }
  .campus-head .lead { display: none; }
  .campus-head .h2 { margin-bottom: 8px; font-size: clamp(28px, 4.4vw, 46px); }
  .campus-stats { margin-top: 6px; }
  .campus-head .actions { margin-top: 12px; }
  .campus-head .btn { padding: 11px 20px; font-size: 14px; }
  .course { min-height: 0; padding: 16px; gap: 6px; }
  .course h3 { font-size: 20px; } .course--feat h3 { font-size: 24px; }
  .course p { -webkit-line-clamp: 2 !important; }
}
.dots { display: none; }

/* retiros */
.retiros-head .lead { margin-top: 16px; }
.retiros { display: grid; gap: 14px; }
@media (min-width: 800px) { .retiros { grid-template-columns: 1fr 1fr; gap: 20px; } }
.retiro {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start; padding: 20px; border-radius: 22px;
  border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(14px);
}
.retiro > .btn { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.retiro__badge { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; align-content: center; background: linear-gradient(150deg, rgba(239,68,68,.34), rgba(127,29,29,.3) 55%, rgba(12,15,22,.95)); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 16px 28px -14px rgba(220,38,38,.65); line-height: 1; }
.retiro__badge b { font-size: 24px; font-weight: 500; color: #fecaca; }
.retiro__badge small { font-size: 8px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 3px; }
.retiro__label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.retiro h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; margin: 2px 0 6px; }
.retiro p:last-child { font-size: 13px; color: rgba(255, 255, 255, 0.72); }

/* ---------- SECCIONES CLARAS (papel) ---------- */
.paper { background: var(--cream); color: var(--ink); padding: clamp(64px, 9vw, 120px) 0; position: relative; z-index: 1; }
.paper--tight { padding-top: 0; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(26px, 4vw, 48px); }
.head__sub { max-width: 40ch; font-size: 14px; color: var(--ink-soft); }
.dark .head__sub { color: rgba(255, 255, 255, 0.65); }

.community { display: grid; gap: 22px; }
@media (min-width: 900px) { .community { grid-template-columns: 300px 1fr; gap: 28px; align-items: start; } }
.pastors { background: #fff; border-radius: 26px; padding: 12px; box-shadow: 0 30px 60px -34px rgba(60, 35, 20, 0.5); }
.pastors__img { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 4.2; }
.pastors__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.pastors figcaption { padding: 16px 10px 8px; }
.pastors h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; }
.pastors blockquote { font-size: 13px; color: var(--ink-soft); font-style: italic; margin-top: 6px; }
.pastors cite { font-style: normal; display: block; margin-top: 2px; }
@media (max-width: 899px) { .pastors { order: 2; } .pastors__img { aspect-ratio: 4 / 3.4; } }

.gal__viewport { position: relative; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -30px rgba(40, 20, 10, 0.6); }
.gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 16 / 10; }
.gal__slide img { width: 100%; height: 100%; object-fit: cover; }
.gal__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: #17110e; font-size: 18px; box-shadow: 0 8px 20px -6px rgba(0,0,0,.5); transition: transform .3s var(--ease); }
.gal__arrow:hover { transform: translateY(-50%) scale(1.08); }
.gal__arrow--prev { left: 12px; } .gal__arrow--next { right: 12px; }
.gal__meta { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 40px 18px 14px; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); pointer-events: none; }
.gal__meta b { font-size: 18px; font-family: var(--serif); font-weight: 500; }
.gal__thumbs { display: none; gap: 10px; margin-top: 12px; }
.gal__thumbs button { flex: 1; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: #000; opacity: 0.6; transition: opacity .3s, border-color .3s; }
.gal__thumbs button.is-active { opacity: 1; border-color: var(--red); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gal__dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.gal__dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(27, 20, 17, 0.25); transition: width .35s var(--ease), background .35s; }
.gal__dots i.is-active { width: 24px; background: var(--red); }
@media (min-width: 900px) { .gal__thumbs { display: flex; } .gal__dots { display: none; } .gal__slide { aspect-ratio: 16 / 9; } }

.who { display: flex; gap: 24px; align-items: flex-start; padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: #fff; box-shadow: 0 30px 60px -38px rgba(60, 35, 20, 0.5); margin-top: clamp(40px, 6vw, 80px); }
.who__mark { font-family: var(--serif); font-size: 90px; line-height: 0.7; color: var(--red); }
.who__text { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 30px); line-height: 1.35; color: var(--ink); }
.mv { display: grid; gap: 18px; margin-top: 22px; }
@media (min-width: 860px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv__card { background: linear-gradient(160deg, #1d1410, #0f0b09); color: #fff; border-radius: 26px; padding: clamp(24px, 3vw, 38px); border: 1px solid rgba(255,255,255,.06); box-shadow: 0 30px 60px -34px rgba(0,0,0,.7); }
.mv__card h3 { font-family: var(--serif); font-weight: 500; font-size: 32px; margin: 18px 0 10px; }
.mv__card p { color: rgba(255, 255, 255, 0.74); font-size: 14.5px; }
.values { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.values li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 13px; box-shadow: 0 10px 24px -16px rgba(60,35,20,.5); }
.values svg { width: 18px; height: 18px; stroke: var(--red); }

/* íconos premium */
.icon-chip {
  position: relative; isolation: isolate; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px;
  background: radial-gradient(110% 90% at 22% 8%, rgba(255,255,255,.2), transparent 46%), linear-gradient(150deg, rgba(239,68,68,.34), rgba(127,29,29,.3) 52%, rgba(12,15,22,.95));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -12px 18px -12px rgba(0,0,0,.7), 0 16px 28px -14px rgba(220,38,38,.65);
}
.icon-chip::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(145deg, rgba(254,202,202,.9), rgba(239,68,68,.12) 46%, rgba(239,68,68,.6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
.icon-chip svg { width: 26px; height: 26px; stroke: url(#iconGrad); stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(248,113,113,.55)); }
.icon-chip svg [fill='currentColor'] { fill: #fecaca; }
.duo { fill: rgba(248, 113, 113, 0.2); }
.icon-chip--sm { width: 48px; height: 48px; border-radius: 16px; flex: none; }

/* ---------- SECCIONES OSCURAS ---------- */
.dark { background: radial-gradient(80% 60% at 85% 0%, rgba(185, 28, 28, 0.16), transparent 60%), var(--bg); padding: clamp(64px, 9vw, 110px) 0; position: relative; z-index: 1; }
.dark--alt { background: radial-gradient(70% 60% at 10% 100%, rgba(185, 28, 28, 0.14), transparent 60%), var(--bg2); }
.dark .eyebrow { color: var(--gold); }
.testis { display: grid; gap: 16px; }
@media (min-width: 860px) { .testis { grid-template-columns: repeat(3, 1fr); } }
.testi { padding: 28px; border-radius: 24px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); display: flex; flex-direction: column; gap: 18px; }
.testi__mark { font-family: var(--serif); font-size: 64px; line-height: .6; color: var(--red2); }
.testi blockquote { font-family: var(--serif); font-size: 19px; line-height: 1.4; }
.testi figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi figcaption span:last-child { display: flex; flex-direction: column; font-size: 14px; }
.testi small { color: rgba(255, 255, 255, 0.55); font-size: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: linear-gradient(150deg, #ef4444, #7f1d1d); }
.video-box { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.video-box video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.donate { display: grid; gap: 26px; align-items: center; padding: clamp(22px, 4vw, 40px); border-radius: 28px; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
@media (min-width: 760px) { .donate { grid-template-columns: 260px 1fr; gap: 48px; } }
.donate__qr { background: #fff; border-radius: 22px; padding: 14px; max-width: 260px; }
.donate__key { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); margin: 2px 0 10px; }
.donate .btn { margin-top: 20px; }
.donate .btn.is-copied { background: #25d366; color: #05210f; }
.note { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.6); text-align: center; }
.note a { color: var(--gold); }

.contact { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.contact__info .lead { margin: 12px 0 24px; }
.contact__list { display: grid; gap: 12px; margin-bottom: 22px; }
.contact__list li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.contact__list strong { display: block; font-size: 13px; letter-spacing: .06em; }
.contact__list a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 14px; word-break: break-word; }
.contact__list a:hover { color: var(--gold); }
.social-block { margin-top: 28px; }
.social-block .social-row__label { display: block; margin-bottom: 12px; }
.form { display: grid; gap: 14px; padding: clamp(22px, 3vw, 34px); border-radius: 28px; border: 1px solid var(--line); background: rgba(255,255,255,.05); backdrop-filter: blur(10px); }
.form--plain { padding: 0; border: 0; background: none; backdrop-filter: none; }
.form h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; }
.form label { display: grid; gap: 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); font-weight: 600; }
.form input, .form textarea { width: 100%; padding: 13px 15px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.35); color: #fff; font: inherit; font-size: 15px; text-transform: none; letter-spacing: 0; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--red2); box-shadow: 0 0 0 3px rgba(239,68,68,.25); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.2em; font-size: 14px; }
.form-status--ok { color: #6ee7a0; } .form-status--error { color: #fca5a5; }

/* ---------- PIE ---------- */
.footer { background: #070504; padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.08); }
.footer__inner { display: grid; gap: 30px; }
.footer__logo { height: 80px; width: auto; border-radius: 10px; background: #fff; justify-self: start; }
.footer__links { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.footer__links h4 { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.footer__links a { display: block; padding: 4px 0; font-size: 14px; color: rgba(255,255,255,.7); text-decoration: none; }
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: 12px; color: rgba(255,255,255,.45); }
@media (min-width: 860px) { .footer__inner { grid-template-columns: auto 1fr auto; align-items: start; gap: 60px; } .footer__copy { grid-column: 1 / -1; } }

.fab-wa { position: fixed; z-index: 40; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, #4df08a, #25d366 55%, #12a24c); box-shadow: 0 14px 30px -10px rgba(37,211,102,.8), inset 0 1px 0 rgba(255,255,255,.45); transition: transform .3s var(--ease); }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 28px; height: 28px; }

/* ---------- MODAL ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(5, 3, 2, 0.74); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.is-active { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: min(460px, 100%); max-height: 92svh; overflow: auto; padding: 30px 26px 26px; border-radius: 26px; border: 1px solid var(--line); background: #15100d; transform: translateY(14px) scale(.98); transition: transform .4s var(--ease); }
.modal.is-active .modal__box { transform: none; }
.modal__box h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin-bottom: 16px; }
.modal__close { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: #fff; font-size: 22px; line-height: 1; }

/* ---------- aparición genérica al hacer scroll ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- pantallas bajas ---------- */
@media (max-height: 720px) {
  .display { font-size: clamp(44px, 12vw, 64px); }
  .timetable li { padding: 7px 0; font-size: 13px; }
  .scene--cultos .h2, .campus-head .h2 { font-size: clamp(28px, 8vw, 38px); }
  .lead { font-size: 13px; }
  .actions { margin-top: 14px; }
  .course { padding: 14px; } .course p { font-size: 12px; }
  .stat__num { font-size: 48px; }
}

/* ---------- movimiento reducido / sin JS: escenas como bloques normales ---------- */
html.static-scenes .scene { height: auto; }
html.static-scenes .scene__stick { position: relative; height: auto; min-height: 100svh; }
html.static-scenes [data-show] { opacity: 1 !important; transform: none !important; visibility: visible !important; }
html.static-scenes .scene__content { position: relative; min-height: 100svh; }
html.static-scenes .stack { display: block; } html.static-scenes .hero-b { margin-top: 36px; }
html.static-scenes .pill-live, html.static-scenes .scroll-hint, html.static-scenes .scene__bar { display: none; }
html.static-scenes html { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .nav__live i, .pill-live i, .scroll-hint i { animation: none; } }


/* móvil: cifras en 3 columnas y botón de WhatsApp fuera de las escenas (no tapa botones) */
@media (max-width: 899px) {
  .hero-b .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat__num { font-size: clamp(44px, 14vw, 64px); }
  .stat__label { font-size: 10px; letter-spacing: 0.1em; }
  html.in-scene .fab-wa { opacity: 0; pointer-events: none; transform: scale(0.8); }
}
.fab-wa { transition: transform .3s var(--ease), opacity .3s; }
/* rendimiento: sin desenfoques sobre el canvas animado (muy costosos al hacer scroll) */
.hdr__pill, .pill-live, .timetable, .course, .retiro, .btn--ghost { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.hdr__pill { background: rgba(14, 10, 8, 0.62); }
.retiro { background: rgba(18, 13, 10, 0.78); }
.pill-live { background: rgba(30, 22, 17, 0.78); }
.timetable { background: rgba(18, 13, 10, 0.78); }
.course:not(.course--feat) { background: rgba(18, 13, 10, 0.82); }
.scene__content, .scene__stick { contain: layout paint; }
/* campus y retiros: video más protagonista (menos sombra) */
.scene--campus .scene__shade { background: linear-gradient(180deg, rgba(8,6,5,.6) 0%, rgba(8,6,5,.12) 38%, rgba(8,6,5,.72) 100%); }
.scene--retiros .scene__shade { background: linear-gradient(180deg, rgba(8,6,5,.55) 0%, rgba(8,6,5,.05) 40%, rgba(8,6,5,.78) 100%); }
/* retiros: tarjetas completas en cualquier pantalla */
@media (max-width: 799px), (max-height: 820px) {
  .scene--retiros .scene__content { padding-top: 84px; padding-bottom: 20px; gap: 12px; }
  .retiros-head .lead { display: none; }
  .retiros { gap: 10px; }
  .retiro { padding: 14px; gap: 4px 14px; border-radius: 18px; }
  .retiro__badge { width: 46px; height: 46px; border-radius: 14px; }
  .retiro__badge b { font-size: 18px; } .retiro__badge small { font-size: 6.5px; }
  .retiro h3 { font-size: 22px; margin: 0 0 3px; }
  .retiro p:last-child { font-size: 12px; line-height: 1.4; }
  .retiro > .btn { margin-top: 4px; padding: 10px 18px; font-size: 13px; }
}