/* ==========================================================================
   Ministerios Palabra de Gloria · Portal del movimiento (v1.3.0)
   Se carga después de app.css (tokens, botones, tarjetas y formularios).
   Estética: marfil cálido como base, azul noche para profundidad, dorado como luz
   y la llama roja solo para los llamados principales. Motivo visual: el arco
   (la puerta de casa) y la línea del camino que une los pasos.
   Ejes: --axis-conocer (dorado) · --axis-restaurar (llama) · --axis-discipular (verde brote)
   ========================================================================== */

:root {
  --ivory: #FFFDF9;
  --sand: #F7F1E5;
  --axis-conocer: #C5A059;
  --axis-restaurar: #BC2020;
  --axis-discipular: #2F7A57;
}

/* El menú móvil cerrado espera fuera de la pantalla: sin esto el teléfono permite desplazar la página de lado */
html:has(body.site), body.site { overflow-x: clip; }
body.site { background: var(--ivory); }
body.nav-locked { overflow: hidden; }
.site h1, .site h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.015em; }
.site h1 em, .site h2 em { font-style: italic; color: var(--cyan-600); }
.site .eyebrow { display: inline-flex; align-items: center; gap: .45rem; color: var(--cyan-600); font-weight: 750; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.public-main { min-height: 50vh; padding: 2rem 0 3.5rem; }
.page-body { padding-top: 2rem; padding-bottom: 3.5rem; }
.live-dot { display: inline-block; flex: none; }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 253, 249, .96); backdrop-filter: saturate(160%) blur(10px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 25, 47, .08); }
.topbar { background: var(--navy-900); color: #dfe5ee; font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar-info { display: flex; gap: .5rem 1.1rem; align-items: center; flex-wrap: wrap; }
.topbar-info a { display: inline-flex; align-items: center; gap: .4rem; color: #dfe5ee; }
.topbar-info a:hover { color: var(--gold); text-decoration: none; }
.topbar-info svg { width: 15px; height: 15px; color: var(--gold); }
.live-pill { padding: .15rem .6rem; border-radius: 999px; background: var(--flame); color: #fff !important; font-weight: 750; }
.live-pill .live-dot { width: 8px; height: 8px; background: #fff; }
.radio-pill { padding: .15rem .65rem; border-radius: 999px; border: 1px solid rgba(212, 175, 55, .45); font-weight: 650; }
.radio-pill:hover { background: rgba(212, 175, 55, .12); }
.topbar-socials { display: flex; gap: .35rem; }
.topbar-socials a { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: .78rem; transition: background .18s, transform .18s; }
.topbar-socials a:hover { background: var(--cyan); color: var(--navy-900); transform: translateY(-2px); text-decoration: none; }
@media (max-width: 640px) { .topbar-tel span, .topbar-socials { display: none; } .topbar-tel svg { width: 17px; height: 17px; } }

.mainbar { border-bottom: 1px solid var(--border); }
.mainbar-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }
.site-brand img { height: 54px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.site-nav > ul { list-style: none; display: flex; gap: .1rem; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.site-nav > ul > li { display: flex; align-items: center; }
.site-nav > ul > li > a { display: inline-flex; align-items: center; padding: .6rem .7rem; border-radius: 10px; font-weight: 650; font-size: .92rem; color: var(--navy-900); white-space: nowrap; }
.site-nav > ul > li > a:hover { background: var(--cyan-50); text-decoration: none; }
.site-nav > ul > li > a.is-active { color: var(--navy); box-shadow: inset 0 -2px 0 var(--cyan); border-radius: 10px 10px 0 0; }
.sub-toggle { display: grid; place-items: center; width: 22px; height: 30px; margin-left: -.45rem; padding: 0; border: 0; background: none; color: var(--navy); cursor: pointer; border-radius: 6px; }
.sub-toggle svg { width: 15px; height: 15px; transition: transform .2s; }
.site-nav .sub { list-style: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; margin: 0; padding: .45rem; background: #fff; border-radius: 14px; box-shadow: 0 18px 44px rgba(10, 25, 47, .18), 0 0 0 1px rgba(10, 25, 47, .05); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 5; }
.site-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
@media (min-width: 1121px) {
  .site-nav .has-sub:hover .sub, .site-nav .has-sub:focus-within .sub, .site-nav .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
  .site-nav .has-sub:hover .sub-toggle svg, .site-nav .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
}
.site-nav .sub a { display: flex; align-items: center; gap: .55rem; padding: .6rem .8rem; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .9rem; transition: background .15s, padding .15s; }
.site-nav .sub a svg { width: 18px; height: 18px; color: var(--cyan-600); }
.site-nav .sub a:hover { background: var(--cyan-50); color: var(--navy); text-decoration: none; padding-left: 1rem; }
.site-nav-actions { display: flex; gap: .5rem; }
.btn-give { background: transparent; color: var(--navy); border: 1.5px solid var(--cyan); }
.btn-give:hover { background: var(--cyan-50); color: var(--navy); }
.btn-give svg { color: var(--flame); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--border-strong); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1120px) {
  /* backdrop-filter crearía un bloque contenedor y el menú fijo quedaría atrapado en el encabezado */
  .site-header { backdrop-filter: none; background: var(--ivory); }
  .mainbar-inner { min-height: 66px; }
  .site-brand img { height: 46px; }
  .nav-toggle { display: flex; }
  .site-nav { position: fixed; inset: 104px 0 0 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem 16px 2rem; background: var(--ivory); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .site-nav.is-open { transform: none; visibility: visible; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li { flex-wrap: wrap; border-bottom: 1px solid var(--border); }
  .site-nav > ul > li > a { flex: 1; padding: .9rem .4rem; font-size: 1.05rem; }
  .site-nav > ul > li > a.is-active { box-shadow: none; color: var(--cyan-600); }
  .sub-toggle { width: 46px; height: 46px; margin: 0; }
  .site-nav .sub { position: static; display: none; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 .6rem .5rem; background: none; min-width: 0; }
  .site-nav .has-sub.is-open .sub { display: block; }
  .site-nav .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
  .site-nav-actions { flex-direction: column; }
  .site-nav-actions .btn { width: 100%; min-height: 48px; }
}
@media (max-width: 640px) { .site-nav { inset: 104px 0 0 0; } }

/* ---------- Secciones comunes ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-ivory { background: linear-gradient(180deg, var(--sand) 0%, var(--ivory) 100%); }
.section-head { max-width: 740px; margin: 0 auto 2.25rem; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--navy-900); margin: .35rem 0 .6rem; }
.section-head .lead { color: var(--muted); }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; max-width: none; text-align: left; }
.section-head-row .lead { max-width: 620px; margin: 0; }
.section-cta { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; text-align: center; margin: 2rem 0 0; }
.section-dark { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 100% 0%, rgba(197, 160, 89, .2), transparent 55%), linear-gradient(135deg, var(--navy-900), #0F2547); color: #e3e9f2; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark h2 em { color: var(--gold); }
.section-dark .eyebrow { color: var(--gold); }
.section-dark .lead, .section-dark p { color: #cdd6e3; }
.section-dark a:not(.btn) { color: var(--gold); }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
.split-form { align-items: start; }
.split .prose h2, .prose h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); color: var(--navy-900); margin: .35rem 0 .9rem; }
.section-dark .prose h2 { color: #fff; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding: 1.75rem 2rem; border-radius: 24px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); border-left: 6px solid var(--gold); }
.cta-band h2 { margin: 0 0 .25rem; font-size: 1.55rem; color: var(--navy-900); }
.cta-band p { margin: 0; }
.legal-note { margin: 2.5rem auto 0; max-width: 760px; text-align: center; font-size: .86rem; color: var(--muted); }

/* Encabezado de páginas internas: la línea del camino cruza el fondo */
.page-hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.75rem, 6vw, 4.25rem); color: #fff; background: radial-gradient(60% 120% at 100% 0%, rgba(197, 160, 89, .32), transparent 55%), linear-gradient(135deg, var(--navy-900), var(--navy)); }
.page-hero::after { content: ""; position: absolute; right: -6%; bottom: -40%; width: 52%; aspect-ratio: 1; border: 2px dashed rgba(212, 175, 55, .28); border-radius: 50%; pointer-events: none; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-inner > h1, .page-hero-inner > .lead { max-width: 860px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; margin: .5rem 0 .8rem; }
.page-hero h1 em { color: var(--gold); }
.page-hero .lead { color: #d9e1ec; max-width: 680px; margin: 0; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero.axis-restaurar { background: radial-gradient(60% 120% at 100% 0%, rgba(188, 32, 32, .38), transparent 55%), linear-gradient(135deg, var(--navy-900), #1d2547); }
.page-hero.axis-conocer { background: radial-gradient(70% 130% at 100% 0%, rgba(212, 175, 55, .42), transparent 55%), linear-gradient(135deg, var(--navy-900), var(--navy)); }
.page-hero.axis-discipular { background: radial-gradient(60% 120% at 100% 0%, rgba(47, 122, 87, .45), transparent 55%), linear-gradient(135deg, var(--navy-900), var(--navy)); }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: #b9c3d3; }
.crumbs { display: flex; gap: .45rem; font-size: .85rem; margin-bottom: .6rem; color: #b9c3d3; }
.crumbs a { color: #dfe5ee; }

/* ---------- Inicio: héroe con arco ---------- */
.home-hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); background:
  radial-gradient(55% 70% at 95% 10%, rgba(212, 175, 55, .2), transparent 60%),
  radial-gradient(45% 60% at 0% 100%, rgba(188, 32, 32, .07), transparent 60%), var(--ivory); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.home-hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.04; color: var(--navy-900); margin: .9rem 0 1.1rem; }
.home-hero .lead { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-axes { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 0; padding: 0; }
.hero-axes li { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .85rem .45rem .45rem; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-weight: 650; font-size: .88rem; color: var(--navy); box-shadow: var(--shadow-sm); }
.hero-axes span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: .72rem; font-weight: 800; color: #fff; background: var(--axis-conocer); }
.hero-axes li:nth-child(2) span { background: var(--axis-restaurar); }
.hero-axes li:nth-child(3) span { background: var(--axis-discipular); }
.home-hero-media { position: relative; margin: 0; justify-self: center; width: min(100%, 470px); }
.arch { position: relative; border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 4 / 4.8; box-shadow: var(--shadow-lg); outline: 10px solid #fff; }
.arch img { width: 100%; height: 100%; object-fit: cover; animation: mpg-zoom 18s ease-out both; }
.home-hero-media::before { content: ""; position: absolute; inset: -18px -18px 26px 26px; border-radius: 999px 999px 32px 32px; border: 2px dashed var(--cyan); opacity: .7; }
.hero-note { position: absolute; left: -22px; bottom: 34px; display: flex; gap: .65rem; align-items: center; padding: .75rem 1rem; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); max-width: 270px; font-size: .84rem; color: var(--muted); }
.hero-note svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #FCEBEA; color: var(--flame); flex: none; }
.hero-note strong { display: block; color: var(--navy); font-size: .95rem; }
@keyframes mpg-zoom { from { transform: scale(1.08); } to { transform: none; } }
@media (max-width: 900px) {
  .home-hero-grid { grid-template-columns: 1fr; }
  .home-hero-media { width: min(86%, 380px); margin-top: .5rem; }
  .hero-note { left: -6px; }
}

/* Tres ejes */
.axes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.axis-card { --ax: var(--axis-conocer); position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 2rem 1.6rem 1.6rem; border-radius: 26px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.axis-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--ax); }
.axis-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.axis-restaurar { --ax: var(--axis-restaurar); }
.axis-discipular { --ax: var(--axis-discipular); }
.axis-num { position: absolute; right: 1.2rem; top: .6rem; font: 700 3.4rem/1 var(--font-display); color: var(--ax); opacity: .13; }
.axis-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: color-mix(in srgb, var(--ax) 12%, #fff); color: var(--ax); }
.axis-icon svg { width: 27px; height: 27px; }
.axis-card h3 { margin: .6rem 0 0; font: 700 1.35rem/1.25 var(--font-display); color: var(--navy-900); }
.axis-tag { margin: 0; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ax); }
.axis-card p { color: var(--muted); }
.axis-link { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 750; color: var(--navy); }
.axis-link svg { width: 17px; height: 17px; transition: transform .2s; }
.axis-card:hover .axis-link svg { transform: translateX(5px); }
@media (max-width: 900px) { .axes-grid { grid-template-columns: 1fr; } }

/* El camino (Encuentro → Restauración → Formación → Envío) */
.journey-section { background: var(--navy-900); color: #dfe5ee; }
.mission-quote { max-width: 880px; margin: 0 auto 3rem; text-align: center; }
.mission-quote p { margin: 0; font: italic 600 clamp(1.4rem, 3vw, 2.1rem)/1.35 var(--font-display); color: #fff; }
.mission-quote em { color: var(--gold); }
.mission-quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.path-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; position: relative; }
.path-steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 31px; border-top: 2px dashed rgba(212, 175, 55, .55); }
.path-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .45rem; }
.path-dot { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy-900); border: 2px solid var(--gold); color: var(--gold); z-index: 1; transition: transform .25s, background .25s; }
.path-dot svg { width: 26px; height: 26px; }
.path-steps li:hover .path-dot { transform: scale(1.08); background: var(--gold); color: var(--navy-900); }
.path-steps strong { color: #fff; font-size: 1.08rem; }
.path-steps span:not(.path-dot) { color: #b9c3d3; font-size: .9rem; max-width: 240px; }
.path-light .path-dot { background: #fff; }
.path-light::before { border-color: var(--cyan); }
.path-light strong { color: var(--navy-900); }
.path-light span:not(.path-dot) { color: var(--muted); }
.path-light li:hover .path-dot { color: #fff; background: var(--navy); }
@media (max-width: 860px) {
  .path-steps { grid-template-columns: 1fr; gap: 1.1rem; }
  .path-steps::before { left: 31px; right: auto; top: 10px; bottom: 10px; border-top: 0; border-left: 2px dashed rgba(212, 175, 55, .55); }
  .path-steps li { display: grid; grid-template-columns: 64px 1fr; text-align: left; align-items: center; column-gap: 1rem; }
  .path-steps li .path-dot { grid-row: span 2; }
  .path-steps span:not(.path-dot) { max-width: none; }
}

/* Ruta de crecimiento (discipulado) */
.growth-route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; position: relative; }
.growth-route::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--axis-conocer), var(--axis-restaurar) 45%, var(--axis-discipular)); opacity: .55; }
.growth-route li > a, .growth-route li > div { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .45rem; padding: 0 .4rem 1.1rem; height: 100%; color: var(--text); border-radius: 18px; transition: transform .2s; }
.growth-route li > a:hover { transform: translateY(-4px); text-decoration: none; }
.growth-num { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); color: var(--navy); font: 700 1.6rem/1 var(--font-display); box-shadow: 0 10px 24px rgba(197, 160, 89, .25); transition: background .2s, color .2s; }
.growth-route li > a:hover .growth-num { background: var(--navy); color: #fff; }
.growth-route strong { color: var(--navy-900); font-size: 1rem; }
.growth-text { font-size: .84rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px) {
  .growth-route { grid-template-columns: 1fr; gap: .25rem; }
  .growth-route::before { left: 33px; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; background: linear-gradient(180deg, var(--axis-conocer), var(--axis-restaurar), var(--axis-discipular)); }
  .growth-route li > a, .growth-route li > div { flex-direction: row; text-align: left; align-items: center; padding: .5rem 0; flex-wrap: wrap; }
  .growth-num { width: 56px; height: 56px; font-size: 1.3rem; flex: none; }
  .growth-text { flex-basis: calc(100% - 70px); margin-left: 70px; margin-top: -.6rem; }
  .growth-route .badge { margin-left: 70px; margin-top: -.2rem; }
}

/* Medios en el inicio */
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.media-card { display: flex; flex-direction: column; gap: .7rem; padding: 1.6rem; border-radius: 24px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.media-card h3 { margin: 0; font: 700 1.35rem/1.25 var(--font-display); }
.media-card p { margin: 0; }
.media-card .btn { align-self: flex-start; margin-top: auto; }
.media-kicker { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.media-kicker svg { width: 17px; height: 17px; }
.media-more { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .9rem; }
.media-more svg { width: 15px; height: 15px; }
@media (max-width: 960px) { .media-grid { grid-template-columns: 1fr; } }

/* Reproductor de la radio */
.radio-player { display: flex; align-items: center; gap: .9rem; padding: .7rem .9rem .7rem .7rem; border-radius: 999px; background: #fff; color: var(--navy-900); box-shadow: 0 14px 34px rgba(0, 0, 0, .18); max-width: 520px; }
.radio-btn { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border: 0; border-radius: 50%; background: linear-gradient(135deg, #C9361F, var(--flame)); color: #fff; cursor: pointer; box-shadow: 0 8px 18px rgba(188, 32, 32, .35); transition: transform .15s; }
.radio-btn:hover { transform: scale(1.06); }
.radio-btn svg { width: 30px; height: 30px; }
.radio-btn svg circle { stroke: none; }
.radio-ico-pause { display: none; }
.radio-player.is-playing .radio-ico-play { display: none; }
.radio-player.is-playing .radio-ico-pause { display: block; }
.radio-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.radio-meta strong { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--navy-900); }
.radio-status { display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 700; color: var(--muted); }
.radio-status .live-dot { width: 8px; height: 8px; }
.radio-eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; }
.radio-eq i { width: 4px; height: 6px; border-radius: 2px; background: var(--cyan); }
.radio-player.is-playing .radio-eq i { animation: mpg-eq 1s ease-in-out infinite; }
.radio-player.is-playing .radio-eq i:nth-child(2) { animation-delay: .2s; }
.radio-player.is-playing .radio-eq i:nth-child(3) { animation-delay: .45s; }
.radio-player.is-playing .radio-eq i:nth-child(4) { animation-delay: .1s; }
@keyframes mpg-eq { 0%, 100% { height: 5px; } 50% { height: 22px; } }
.radio-vol input { width: 90px; accent-color: var(--flame); }
.radio-compact { box-shadow: none; }
.radio-player.is-error .radio-status { color: var(--danger); }
@media (prefers-reduced-motion: reduce) { .radio-player.is-playing .radio-eq i { animation: none; height: 14px; } }
@media (max-width: 480px) { .radio-vol { display: none; } }

.radio-hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5rem) 0; color: #fff; background: radial-gradient(60% 100% at 90% 30%, rgba(188, 32, 32, .35), transparent 60%), radial-gradient(50% 80% at 0% 100%, rgba(212, 175, 55, .22), transparent 60%), var(--navy-900); }
.radio-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; align-items: center; }
.radio-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); margin: .5rem 0 .6rem; }
.radio-hero .eyebrow { color: var(--gold); }
.radio-hero .lead { color: #d9e1ec; max-width: 560px; margin-bottom: 1.6rem; }
.radio-tip { color: #b9c3d3; margin-top: 1rem; }
.radio-visual { position: relative; justify-self: center; width: min(100%, 320px); aspect-ratio: 1; display: grid; place-items: center; }
.radio-visual .rv-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(212, 175, 55, .45); animation: mpg-ring 3.6s ease-out infinite; }
.radio-visual .r2 { animation-delay: 1.2s; }
.radio-visual .r3 { animation-delay: 2.4s; }
.radio-visual-core { display: grid; place-items: center; width: 44%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--cyan)); color: var(--navy-900); box-shadow: 0 20px 50px rgba(212, 175, 55, .35); }
.radio-visual-core svg { width: 46%; height: 46%; }
@keyframes mpg-ring { from { transform: scale(.45); opacity: 1; } to { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .radio-visual .rv-ring { animation: none; opacity: .3; } }
@media (max-width: 820px) { .radio-hero-grid { grid-template-columns: 1fr; } .radio-visual { display: none; } }
.show-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.show { padding: 1.4rem; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.show h3 { margin: .8rem 0 .3rem; font-size: 1.05rem; color: var(--navy-900); }
.show p { margin: 0; color: var(--muted); font-size: .92rem; }
.show-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--cyan-50); color: var(--cyan-600); }
.show-icon svg { width: 23px; height: 23px; }
@media (max-width: 900px) { .show-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .show-grid { grid-template-columns: 1fr; } }

/* Ventana de la radio */
.popup-body { background: var(--navy-900); }
.popup-radio { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: 1.5rem 16px; text-align: center; color: #d9e1ec; background: radial-gradient(80% 60% at 50% 30%, rgba(188, 32, 32, .3), transparent 70%), var(--navy-900); }
.popup-radio img { height: 46px; width: auto; }
.popup-radio h1 { color: #fff; font-size: 1.6rem; margin: .3rem 0 0; }
.popup-radio p { margin: 0 0 .6rem; }
.radio-visual-sm { width: 150px; }
.popup-link { margin-top: .8rem; color: var(--gold); font-weight: 700; font-size: .9rem; }

/* Video de YouTube con carga diferida */
.yt { position: relative; border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.yt-facade, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-facade { display: block; cursor: pointer; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s, transform .4s; }
.yt-facade:hover img { opacity: 1; transform: scale(1.03); }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform .2s; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .4)); }
.yt-facade:hover .yt-play { transform: translate(-50%, -50%) scale(1.1); }
.video-band { max-width: 860px; margin: 2.5rem auto 0; }
.split .yt { margin-top: 1.5rem; }

/* Testimonios */
.testimony-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.testimony { position: relative; margin: 0; padding: 2rem 1.6rem 1.5rem; border-radius: 24px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testimony-mark { position: absolute; top: -18px; left: 1.4rem; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--flame); color: #fff; }
.testimony-mark svg { width: 20px; height: 20px; }
.testimony blockquote { margin: 0 0 1.2rem; font: italic 500 1.08rem/1.6 var(--font-display); color: var(--navy-900); }
.testimony figcaption { margin-top: auto; display: flex; gap: .75rem; align-items: center; }
.testimony figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimony figcaption strong { display: block; color: var(--navy); }
.testimony figcaption small { color: var(--muted); }
.avatar-initials { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--cyan-50); color: var(--cyan-600); font-weight: 800; flex: none; }
.avatar-lg { width: 96px; height: 96px; font-size: 1.6rem; }

/* Bienvenida pastoral */
.welcome-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.welcome-media { margin: 0; }
.welcome-media img { width: 100%; aspect-ratio: 650 / 440; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.welcome-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--navy-900); }
.welcome-copy p { color: var(--muted); font-size: 1.05rem; }
.signature { font: italic 600 1.1rem var(--font-display); color: var(--navy) !important; }
@media (max-width: 900px) { .welcome-grid { grid-template-columns: 1fr; } }

/* Oración */
.prayer-section { padding-top: 0; }
.prayer-band { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: 30px; color: #fff; background: radial-gradient(70% 120% at 100% 0%, rgba(188, 32, 32, .45), transparent 60%), linear-gradient(135deg, var(--navy-900), var(--navy)); box-shadow: var(--shadow-lg); }
.prayer-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: .3rem 0 .4rem; }
.prayer-band p { color: #d9e1ec; margin: 0; max-width: 560px; }
.prayer-band .eyebrow { color: var(--gold); }
.prayer-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Fuentes externas (blog y podcast) */
.feed-skeleton { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feed-skeleton span { height: 240px; border-radius: 20px; background: linear-gradient(90deg, #efe9dd 25%, #f7f2e8 50%, #efe9dd 75%); background-size: 200% 100%; animation: mpg-shimmer 1.4s infinite; }
.feed-skeleton-list { grid-template-columns: 1fr; }
.feed-skeleton-list span { height: 86px; }
@keyframes mpg-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.feed-empty { text-align: center; color: var(--muted); padding: 1.5rem; border: 1px dashed var(--border-strong); border-radius: 16px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.post-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); color: var(--text); transition: transform .22s, box-shadow .22s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); text-decoration: none; color: var(--text); }
.post-media { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--sand); color: var(--cyan-600); overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-media svg { width: 40px; height: 40px; }
.post-body { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.25rem 1.3rem; flex: 1; }
.post-body strong { color: var(--navy-900); font-size: 1.08rem; line-height: 1.35; }
.post-date { font-size: .78rem; font-weight: 700; color: var(--cyan-600); text-transform: uppercase; letter-spacing: .06em; }
.post-summary { color: var(--muted); font-size: .9rem; }
.post-more { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 750; color: var(--navy); font-size: .9rem; }
.post-more svg { width: 15px; height: 15px; }
.episodes { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.episode { display: flex; gap: 1rem; align-items: center; padding: .9rem; border-radius: 18px; background: #fff; border: 1px solid var(--border); }
.episode-cover { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; flex: none; }
.episode-body { display: flex; flex-direction: column; gap: .3rem; min-width: 0; flex: 1; }
.episode-title { color: var(--navy-900); }
.episode-meta { font-size: .8rem; color: var(--muted); }
.episode audio { width: 100%; height: 38px; }
@media (max-width: 520px) { .episode-cover { width: 56px; height: 56px; } .feed-skeleton { grid-template-columns: 1fr; } }
.inline-verse { margin: 2rem auto 0; max-width: 720px; text-align: center; color: var(--muted); }
.inline-verse p { font: italic 500 1.1rem/1.6 var(--font-display); margin: 0; }
.inline-verse cite { display: block; margin-top: .4rem; font-style: normal; font-weight: 700; font-size: .85rem; color: var(--cyan-600); }

/* Versículo / tarjetas de apoyo */
.verse-card { position: relative; padding: 2.2rem 2rem; border-radius: 28px; background: linear-gradient(160deg, var(--navy-900), var(--navy)); color: #fff; box-shadow: var(--shadow-lg); }
.verse-card::before { content: "“"; position: absolute; top: -.3rem; left: 1.2rem; font: 700 6rem/1 var(--font-display); color: var(--gold); opacity: .55; }
.verse-card p { position: relative; margin: 0; font: italic 500 clamp(1.15rem, 2vw, 1.4rem)/1.55 var(--font-display); }
.verse-card cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.verse-warm { background: linear-gradient(160deg, #3a1218, var(--flame-600)); }
.prayer-card { margin: 1.25rem 0 0; padding: 1.2rem 1.4rem; border-left: 4px solid var(--gold); border-radius: 0 16px 16px 0; background: var(--cyan-50); }
.prayer-card p { margin: 0; font: italic 500 1.08rem/1.6 var(--font-display); color: var(--navy-900); }
.photo-card { margin: 0; }
.photo-card img { width: 100%; border-radius: 28px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }

/* Pasos (Comienza aquí) */
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.step-card { position: relative; padding: 2rem 1.5rem 1.5rem; border-radius: 24px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.step-card h3 { margin: .9rem 0 .4rem; font-size: 1.15rem; color: var(--navy-900); }
.step-card p { margin: 0; color: var(--muted); }
.step-badge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--axis-conocer); color: #fff; font: 700 1.25rem/1 var(--font-display); }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }
.next-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.next-card { display: flex; gap: 1rem; align-items: center; padding: 1.2rem 1.25rem; border-radius: 20px; background: #fff; border: 1px solid var(--border); color: var(--muted); font-size: .9rem; transition: border-color .2s, transform .2s, box-shadow .2s; }
.next-card:hover { border-color: var(--cyan); transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; color: var(--muted); }
.next-card > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.next-card small { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-600); }
.next-card strong { color: var(--navy-900); font-size: 1.02rem; }
.next-card > svg { width: 20px; height: 20px; color: var(--navy); flex: none; }
.next-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: var(--gold); flex: none; }
.next-icon svg { width: 24px; height: 24px; }
@media (max-width: 960px) { .next-steps { grid-template-columns: 1fr; } }

/* Formularios del portal */
.form-card { padding: clamp(1.4rem, 3vw, 2rem); border-radius: 26px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); color: var(--text); }
.form-card h2 { font-size: 1.5rem; color: var(--navy-900); margin-bottom: 1rem; }
.section-dark .form-card p, .section-dark .form-card label { color: var(--text); }
.section-dark .form-card a { color: var(--cyan-600); }
.section-dark .form-card .hint { color: var(--muted); }
.site-form .form-grid { margin-bottom: 1.25rem; }
.site-form .btn { width: 100%; justify-content: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error-summary { display: flex; gap: .5rem; align-items: center; padding: .7rem .9rem; border-radius: 12px; background: var(--danger-50); color: var(--danger) !important; font-weight: 650; }
.form-error-summary svg { width: 18px; height: 18px; }
.form-thanks { text-align: center; padding: 1.5rem .5rem; outline: none; }
.form-thanks-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--success-50); color: var(--success); animation: mpg-pop .5s ease both; }
.form-thanks-icon svg { width: 32px; height: 32px; }
.form-thanks h3 { margin: 1rem 0 .4rem; font: 700 1.5rem var(--font-display); color: var(--navy-900) !important; }
.form-thanks p { color: var(--muted) !important; }
@keyframes mpg-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 560px) { .site-form .form-grid { grid-template-columns: 1fr; } }

/* Restauración: pilares desplegables y grupos */
.pillar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.pillar, .belief { border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.pillar[open], .belief[open] { border-color: var(--cyan); box-shadow: var(--shadow); }
.pillar summary, .belief summary { display: flex; gap: 1rem; align-items: center; padding: 1.2rem 1.25rem; cursor: pointer; list-style: none; }
.pillar summary::-webkit-details-marker, .belief summary::-webkit-details-marker { display: none; }
.pillar-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: #FCEBEA; color: var(--flame); flex: none; }
.pillar-icon svg { width: 25px; height: 25px; }
.pillar-head { display: flex; flex-direction: column; flex: 1; color: var(--muted); font-size: .9rem; }
.pillar-head small { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--flame); }
.pillar-head strong { font: 700 1.2rem var(--font-display); color: var(--navy-900); }
.pillar-chev svg { width: 20px; height: 20px; color: var(--navy); transition: transform .25s; }
details[open] > summary .pillar-chev svg { transform: rotate(180deg); }
.pillar-body, .belief-body { padding: 0 1.4rem 1.3rem; color: var(--text); }
.pillar-body p:last-child, .belief-body p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .pillar-grid { grid-template-columns: 1fr; } }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.support-card { padding: 1.5rem; border-radius: 20px; background: var(--sand); border-top: 4px solid var(--flame); }
.support-card h3 { margin: 0 0 .35rem; color: var(--navy-900); font-size: 1.1rem; }
.support-card p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }

/* Nosotros */
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.mv-card { padding: 2rem; border-radius: 26px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.mv-card h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: .5rem 0 .7rem; }
@media (max-width: 860px) { .mv-grid { grid-template-columns: 1fr; } }
.values-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.value { padding: 1.2rem; border-radius: 18px; background: #fff; border: 1px solid var(--border); transition: transform .2s, border-color .2s; }
.value:hover { transform: translateY(-3px); border-color: var(--cyan); }
.value strong { display: block; font: 700 1.1rem var(--font-display); color: var(--navy-900); margin-bottom: .25rem; }
.value span { font-size: .88rem; color: var(--muted); }
@media (max-width: 960px) { .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values-grid { grid-template-columns: 1fr; } }
.more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.more-card { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem 1.4rem 1.3rem; border-radius: 20px; background: #fff; border: 1px solid var(--border); color: var(--muted); font-size: .9rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.more-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--cyan); text-decoration: none; color: var(--muted); }
.more-card strong { color: var(--navy-900); font-size: 1.05rem; }
.more-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--navy); color: var(--gold); margin-bottom: .4rem; }
.more-icon svg { width: 22px; height: 22px; }
.more-arrow { position: absolute; right: 1.2rem; top: 1.4rem; color: var(--cyan-600); }
.more-arrow svg { width: 18px; height: 18px; }

/* Creencias */
.beliefs-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.beliefs-index { position: sticky; top: 130px; padding: 1.25rem; border-radius: 20px; background: var(--sand); }
.beliefs-index ol { margin: .6rem 0 1rem; padding-left: 1.2rem; display: grid; gap: .4rem; }
.beliefs-index a { color: var(--navy); font-weight: 650; font-size: .92rem; }
.belief-group { scroll-margin-top: 130px; margin-bottom: 2.25rem; }
.belief-group h2 { font-size: 1.6rem; color: var(--navy-900); margin-bottom: .9rem; }
.belief { margin-bottom: .7rem; }
.belief summary { padding: 1rem 1.1rem; }
.belief-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; font-size: .85rem; flex: none; }
.belief-t { flex: 1; font-weight: 700; color: var(--navy-900); }
.belief-refs { font-size: .88rem; color: var(--muted); padding-top: .6rem; border-top: 1px solid var(--border); }
@media (max-width: 900px) { .beliefs-layout { grid-template-columns: 1fr; } .beliefs-index { position: static; } }

/* Pastores */
.pastors-photo { margin: 0 auto 2.5rem; max-width: 860px; text-align: center; }
.pastors-photo img { width: 100%; border-radius: 30px; box-shadow: var(--shadow-lg); }
.pastors-photo figcaption { margin-top: 1rem; color: var(--muted); font-style: italic; }
.pastor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.pastor-card { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 26px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.pastor-card h2 { font-size: 1.8rem; color: var(--navy-900); margin: .4rem 0 .9rem; }
.pastor-card h3 { margin-top: 1.4rem; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan-600); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.check-list li { position: relative; padding-left: 1.5rem; font-size: .93rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
@media (max-width: 900px) { .pastor-grid { grid-template-columns: 1fr; } }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 1rem; }
@media (max-width: 520px) { .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; } .person-card { padding: 1.1rem .7rem; } .avatar-lg, .person-card img { width: 72px; height: 72px; font-size: 1.2rem; } }
.person-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.5rem 1.2rem; border-radius: 22px; background: #fff; border: 1px solid var(--border); }
.person-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.person-card h3 { margin: .9rem 0 .2rem; font-size: 1.05rem; color: var(--navy-900); }
.person-card p { margin: 0; font-size: .88rem; color: var(--muted); }
.person-role { color: var(--cyan-600) !important; font-weight: 700; }
.person-bio { margin-top: .5rem !important; }

/* Historia */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 920px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 118px; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--gold), var(--flame) 75%, var(--axis-discipular)); opacity: .5; }
.tl-item { position: relative; display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 2.5rem; padding-bottom: 1.75rem; }
.tl-item::before { content: ""; position: absolute; left: 111px; top: 22px; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); }
.tl-year { padding-top: 1rem; text-align: right; font: 700 1.05rem/1.3 var(--font-display); color: var(--navy); }
.tl-card { padding: 1.4rem 1.6rem; border-radius: 22px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.tl-card h2 { font-size: 1.4rem; color: var(--navy-900); margin: .35rem 0 .6rem; }
.tl-card p:last-child { margin-bottom: 0; }
.tl-turn::before { border-color: var(--flame); background: var(--flame); box-shadow: 0 0 0 6px rgba(188, 32, 32, .15); }
.tl-turn .tl-card { border: 2px solid var(--flame); background: linear-gradient(180deg, #FFF6F5, #fff); }
.tl-turn .eyebrow { color: var(--flame); }
.tl-today::before { border-color: var(--axis-discipular); }
.tl-verse { margin: 1rem 0 0; padding: 1rem 1.2rem; border-radius: 14px; background: var(--sand); }
.tl-verse p { margin: 0; font: italic 500 1.1rem/1.5 var(--font-display); color: var(--navy-900); }
.tl-verse cite { display: block; margin-top: .3rem; font-style: normal; font-weight: 700; font-size: .85rem; color: var(--cyan-600); }
@media (max-width: 700px) {
  .timeline::before { left: 8px; }
  .tl-item { grid-template-columns: 1fr; gap: .4rem; padding-left: 2rem; }
  .tl-item::before { left: 1px; top: 4px; }
  .tl-year { text-align: left; padding-top: 0; }
}

/* Iglesias asociadas */
.church-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.church-card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.church-media { display: grid; place-items: center; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy), var(--navy-900)); color: var(--gold); }
.church-media img { width: 100%; height: 100%; object-fit: cover; }
.church-media svg { width: 52px; height: 52px; opacity: .8; }
.church-body { display: flex; flex-direction: column; gap: .35rem; padding: 1.3rem 1.4rem 1.4rem; flex: 1; }
.church-body h2 { font-size: 1.3rem; color: var(--navy-900); margin: 0; }
.church-city { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan-600); }
.church-city svg { width: 14px; height: 14px; }
.church-pastors { margin: 0; font-weight: 650; color: var(--navy); }
.church-body p { margin: 0; color: var(--muted); font-size: .92rem; }
.church-contact { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .35rem; font-size: .9rem; }
.church-contact li { display: flex; gap: .5rem; align-items: flex-start; }
.church-contact svg { width: 16px; height: 16px; color: var(--cyan-600); flex: none; margin-top: 3px; }
.church-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: auto; padding-top: .9rem; }
.empty-state { max-width: 620px; margin: 0 auto; text-align: center; padding: 2.5rem 1.5rem; border-radius: 26px; background: var(--sand); }
.empty-state > svg { width: 52px; height: 52px; color: var(--cyan-600); }
.empty-state h2 { font-size: 1.6rem; color: var(--navy-900); margin: .8rem 0 .5rem; }
.empty-state p { color: var(--muted); }

/* Red y alianzas */
.section-tabs { position: sticky; top: 114px; z-index: 20; background: rgba(255, 253, 249, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.section-tabs .container { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; }
.section-tabs a { padding: .9rem .9rem; font-weight: 700; font-size: .9rem; color: var(--navy); white-space: nowrap; border-bottom: 2px solid transparent; }
.section-tabs a:hover { border-color: var(--cyan); text-decoration: none; }
#red-apostolica, #asociacion, #fundacion, #fraternos { scroll-margin-top: 170px; }
@media (max-width: 1120px) { .section-tabs { top: 104px; } }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.principle { padding: 1.5rem; border-radius: 20px; background: var(--navy-900); color: #d9e1ec; }
.principle strong { display: block; color: var(--gold); font: 700 1.25rem var(--font-display); margin-bottom: .4rem; }
.principle p { margin: 0; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.benefit { padding: 1.4rem; border-radius: 20px; background: #fff; border: 1px solid var(--border); }
.benefit h3 { margin: .8rem 0 .35rem; font-size: 1.05rem; color: var(--navy-900); }
.benefit p { margin: 0; font-size: .9rem; color: var(--muted); }
.benefit-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--cyan-50); color: var(--cyan-600); }
.benefit-icon svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .principles { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .benefit-grid { grid-template-columns: 1fr; } }
.mini-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.mini-grid li { padding: .9rem 1.1rem; border-radius: 16px; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--gold); }
.mini-grid strong { display: block; color: var(--navy-900); }
.mini-grid span { font-size: .88rem; color: var(--muted); }

/* En vivo */
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem; align-items: start; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder { display: grid; place-items: center; text-align: center; gap: .3rem; aspect-ratio: 16 / 9; padding: 1.5rem; border-radius: 22px; background: linear-gradient(135deg, var(--navy-900), var(--navy)); color: #d9e1ec; }
.video-placeholder svg { width: 54px; height: 54px; color: var(--gold); }
.video-placeholder h2 { color: #fff; font-size: 1.5rem; margin: .4rem 0 0; }
.video-placeholder p { margin: 0; }
.live-note { display: flex; gap: .4rem; align-items: center; margin-top: .8rem; }
.live-note svg { width: 16px; height: 16px; flex: none; }
.platforms { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1rem; }
.platforms > span { font-weight: 700; color: var(--muted); font-size: .9rem; }
.platform { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--navy); font-weight: 700; font-size: .88rem; }
.platform:hover { border-color: var(--cyan); text-decoration: none; }
.live-aside, .contact-aside { display: grid; gap: 1rem; }
.aside-card { padding: 1.4rem; border-radius: 22px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.aside-card h2 { font-size: 1.2rem; color: var(--navy-900); margin: .7rem 0 .35rem; }
.aside-card p { color: var(--muted); font-size: .92rem; }
.aside-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #FCEBEA; color: var(--flame); }
.aside-icon svg { width: 22px; height: 22px; }
@media (max-width: 960px) { .live-grid { grid-template-columns: 1fr; } }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: 1.5rem; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 1.4rem; border-radius: 22px; background: var(--navy-900); display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: center; color: #fff; }
.contact-list small { display: block; color: var(--gold); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { color: #fff; font-weight: 650; }
.contact-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--gold); flex: none; font-size: 1.2rem; }
.contact-icon svg { width: 20px; height: 20px; }
.map-section iframe { display: block; width: 100%; height: 380px; border: 0; filter: saturate(.9); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Dar */
.give-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.give-card { padding: 1.75rem; border-radius: 26px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.give-card h2 { font-size: 1.4rem; color: var(--navy-900); margin: .8rem 0 .4rem; }
.give-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--gold), var(--cyan)); color: var(--navy-900); }
.give-icon svg { width: 26px; height: 26px; }
.give-data { margin: 0 0 .8rem; display: grid; gap: .45rem; }
.give-data div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--border); }
.give-data dt { color: var(--muted); font-size: .9rem; }
.give-data dd { min-width: 0; overflow-wrap: anywhere; margin: 0; font-weight: 700; color: var(--navy-900); text-align: right; display: inline-flex; align-items: center; gap: .4rem; }
.give-key { display: flex; align-items: center; gap: .6rem; font-size: 1.6rem; font-weight: 800; color: var(--navy-900); }
.copy-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--border-strong); background: #fff; color: var(--navy); cursor: pointer; }
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn.is-copied { background: var(--success-50); color: var(--success); border-color: var(--success); }

/* Documentos legales */
.legal-doc { max-width: 820px; }
.legal-doc h2 { font-size: 1.35rem; color: var(--navy-900); margin: 2rem 0 .6rem; }
.legal-doc h2 span { color: var(--cyan-600); }
.legal-doc li { margin-bottom: .45rem; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-900); color: #b9c3d3; font-size: .92rem; border-top: 4px solid; border-image: linear-gradient(90deg, var(--axis-conocer), var(--axis-restaurar), var(--axis-discipular)) 1; }
.footer-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 2.5rem; padding-top: 3.25rem; padding-bottom: 2.5rem; }
.footer-brand img { height: 62px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: #b9c3d3; max-width: 360px; }
.footer-axes { color: var(--gold) !important; font-weight: 700; font-size: .85rem; letter-spacing: .04em; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.site-footer h3 { color: #fff; font-family: var(--font); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .9rem; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: #e8edf4; }
.site-footer a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: .55rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 2px; }
.footer-socials { display: flex; gap: .5rem; margin-top: 1rem; }
.footer-socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .18s, transform .18s; }
.footer-socials a:hover { background: var(--gold); color: var(--navy-900); transform: translateY(-2px); text-decoration: none; }
.footer-verse { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-verse p { margin: 0; padding: 1.1rem 0; text-align: center; font: italic 500 1rem var(--font-display); color: #d9e1ec; }
.footer-verse cite { font-style: normal; font-family: var(--font); font-weight: 700; font-size: .82rem; color: var(--gold); margin-left: .3rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: .6rem 1.5rem; flex-wrap: wrap; padding-top: 1rem; padding-bottom: 1.1rem; font-size: .8rem; }
.footer-legal { display: flex; gap: 1rem; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Botón flotante de WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.05rem .7rem .85rem; border-radius: 999px; background: #1FA855; color: #fff; font-weight: 700; box-shadow: 0 12px 28px rgba(31, 168, 85, .35); transition: transform .2s, box-shadow .2s; }
.wa-float i { font-size: 1.4rem; }
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 32px rgba(31, 168, 85, .45); text-decoration: none; }
@media (max-width: 640px) { .wa-float-txt { display: none; } .wa-float { padding: .85rem; } }

/* Apariciones suaves */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .arch img { animation: none; } }

/* Contenido del portal dentro de main con contenedor (catálogo, ficha del nivel, verificación) */
.site .public-main .course-hero { margin-bottom: 0; }
.site .verify-card { max-width: 640px; margin: 0 auto; text-align: center; }
