/* =========================================================
   CDR Huánuco — IACyM Perú
   Paleta: #004690 (azul) · #f29100 (naranja) · #e9ecef (gris claro)
   Tipografía: Cinzel (títulos) · Montserrat (texto)
   ========================================================= */
:root {
  --blue: #004690;
  --blue-700: #003a78;
  --blue-900: #00244d;
  --ink: #0d1b36;
  --orange: #f29100;
  --orange-600: #d97f00;
  --light: #e9ecef;
  --paper: #f6f7f9;
  --white: #fff;
  --text: #1b2537;
  --muted: #5b6577;
  --line: #d5dae1;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(0, 36, 77, .35);
  --serif: 'Cinzel', Georgia, serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) - 6px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Tipografía ---------- */
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); margin: 0 0 .7rem; display: inline-flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); line-height: 1.12; margin: 0 0 .9rem; color: var(--blue-900); letter-spacing: .01em; }
.lead { font-size: 1.06rem; color: var(--muted); margin: 0; max-width: 60ch; }
.head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.head--light .h2 { color: #fff; }
.head--light .lead { color: rgba(255, 255, 255, .78); }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; overflow-x: clip; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .9rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .92rem; letter-spacing: .02em; text-decoration: none; border: 2px solid transparent; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(242, 145, 0, .8); }
.btn--accent:hover { background: var(--orange-600); transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-700); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--blue); }
.btn--line { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--line:hover { background: var(--blue); color: #fff; }
.btn--line-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--line-light:hover { background: #fff; color: var(--blue); }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 700; display: inline-flex; gap: .4rem; align-items: center; font-size: .9rem; }
.link:hover .ic { transform: translateX(4px); }
.link .ic { transition: transform .25s var(--ease); }

/* ---------- Navegación ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background .35s, box-shadow .35s, height .35s; }
.nav__in { height: 100%; width: min(1240px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 1rem; }
.nav__brand { display: block; position: relative; height: 46px; margin-right: auto; flex: none; }
.nav__brand img { height: 100%; width: auto; transition: opacity .35s; }
.nav__brand .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav__links { display: flex; align-items: center; gap: .3rem; }
.nav__links a { white-space: nowrap; text-decoration: none; color: #fff; font-weight: 600; font-size: .9rem; padding: .55rem .85rem; border-radius: 999px; position: relative; transition: color .25s, background .25s; }
.nav__links a:not(.nav__cta)::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { background: var(--orange); margin-left: .4rem; }
.nav__cta:hover { background: var(--orange-600); }
.nav.is-solid { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 24px -12px rgba(0, 36, 77, .3); --nav-h: 66px; }
.nav.is-solid .logo-light { opacity: 0; }
.nav.is-solid .logo-dark { opacity: 1; }
.nav.is-solid .nav__links a:not(.nav__cta) { color: var(--blue-900); }
.nav.is-solid .nav__cta { color: #fff; }
.install-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: .45rem; border: 1.5px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; padding: .45rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 700; transition: background .25s, color .25s; }
.install-btn[hidden] { display: none; }
.install-btn:hover { background: #fff; color: var(--blue); }
.nav.is-solid .install-btn { color: var(--blue); border-color: var(--blue); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; border-radius: 10px; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s, background .3s; }
.nav__toggle span:nth-child(1) { top: 15px; } .nav__toggle span:nth-child(2) { top: 21px; } .nav__toggle span:nth-child(3) { top: 27px; }
.nav.is-solid .nav__toggle span { background: var(--blue-900); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Portada ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; padding: calc(var(--nav-h) + 1rem) 0 8rem; }
.hero__bg { position: absolute; inset: -4%; background-size: cover; background-position: center; z-index: -3; animation: kenburns 28s ease-in-out infinite alternate; }
.hero__veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(105deg, rgba(0, 36, 77, .96) 0%, rgba(0, 70, 144, .88) 45%, rgba(0, 70, 144, .55) 100%), radial-gradient(ellipse at 85% 110%, rgba(242, 145, 0, .35), transparent 55%); }
.hero__rings { position: absolute; right: -180px; top: 50%; width: 760px; height: 760px; transform: translateY(-50%); z-index: -1; fill: none; stroke: rgba(242, 145, 0, .35); stroke-width: 1; animation: spin 90s linear infinite; }
.hero__rings circle { stroke-dasharray: 4 10; }
.hero__rings circle:nth-child(2) { stroke: rgba(255, 255, 255, .15); stroke-dasharray: 1 7; }
.hero__in { display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 3rem; }
.hero__eyebrow { color: #ffc266; opacity: 0; animation: fadeUp .9s .15s var(--ease) forwards; }
.hero__title { font-family: var(--serif); font-weight: 700; font-size: clamp(2.3rem, 1.2rem + 4.6vw, 4.6rem); line-height: 1.04; margin: .2rem 0 1.4rem; letter-spacing: .01em; }
.hero__title .w { display: inline-block; opacity: 0; transform: translateY(40px) rotate(2deg); filter: blur(6px); animation: wordIn .9s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * .12s); }
.hero__text { font-size: clamp(1rem, .95rem + .3vw, 1.18rem); max-width: 56ch; color: rgba(255, 255, 255, .86); margin: 0 0 2rem; opacity: 0; animation: fadeUp .9s .95s var(--ease) forwards; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; opacity: 0; animation: fadeUp .9s 1.15s var(--ease) forwards; }
.hero__mark { justify-self: center; width: min(200px, 100%); opacity: 0; animation: markIn 1.4s .5s var(--ease) forwards; }
.hero__mark img { filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); animation: float 7s ease-in-out 2s infinite; }
.hero__ticker { position: absolute; left: 50%; bottom: 5.4rem; transform: translateX(-50%); display: flex; align-items: center; gap: .6rem; max-width: calc(100% - 32px); padding: .7rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-decoration: none; font-size: .88rem; opacity: 0; animation: fadeUpX 1s 1.5s var(--ease) forwards; transition: background .3s; }
.hero__ticker:hover { background: rgba(255, 255, 255, .22); }
.hero__ticker span:not(.pulse) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__ticker strong { color: #ffc266; white-space: nowrap; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex: none; box-shadow: 0 0 0 0 rgba(242, 145, 0, .7); animation: pulse 1.8s infinite; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.6rem; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scrollDot 1.8s infinite; }

/* ---------- Nosotros ---------- */
.about { background: #fff; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about__media { position: relative; }
.about__img { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__media:hover .about__img img { transform: scale(1.05); }
.about__media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 2px solid var(--orange); border-radius: 22px; z-index: -1; }
.about__badge { position: absolute; right: -14px; bottom: 34px; background: var(--blue); color: #fff; border-radius: 18px; padding: 1rem 1.3rem; display: flex; align-items: center; gap: .8rem; box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; line-height: 1.2; text-transform: uppercase; letter-spacing: .06em; }
.about__badge-n { font-family: var(--serif); font-size: 2.6rem; font-weight: 800; color: var(--orange); line-height: 1; }
.about__text p { margin: 0 0 1rem; color: var(--muted); font-size: 1.04rem; }
.about__text p:first-child { font-size: 1.14rem; color: var(--text); border-left: 3px solid var(--orange); padding-left: 1.1rem; font-style: italic; }
.about__sign { margin: 1.4rem 0 0; color: var(--muted); font-size: .92rem; }
.about__sign strong { color: var(--blue); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); }
.stat { background: var(--paper); border: 1px solid var(--light); border-radius: var(--radius); padding: 1.5rem 1.3rem; position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.stat::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--orange)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat:hover::after, .stat.is-in::after { transform: scaleX(1); }
.stat.is-in::after { transition-delay: .4s; }
.stat__n { display: block; font-family: var(--serif); font-weight: 800; font-size: clamp(2rem, 1.5rem + 1.8vw, 2.8rem); color: var(--blue); line-height: 1.1; }
.stat__l { display: block; color: var(--muted); font-size: .88rem; font-weight: 500; margin-top: .3rem; }

/* ---------- Mensaje (tarjetas) ---------- */
.gospel { background: var(--blue-900); color: #fff; overflow: hidden; }
.gospel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 10%, rgba(0, 70, 144, .9), transparent 50%), radial-gradient(circle at 90% 90%, rgba(242, 145, 0, .18), transparent 45%); }
.gospel .wrap { position: relative; }
.gospel__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.gcard { border: 0; padding: 0; background: none; perspective: 1200px; aspect-ratio: 1 / 1.08; text-align: center; }
.gcard__inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.gcard[aria-pressed="true"] .gcard__inner { transform: rotateY(180deg); }
@media (hover: hover) { .gcard:hover .gcard__inner { transform: rotateY(180deg); } }
.gcard__face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; padding: 1.6rem; border-radius: 6px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.gcard__front { background: #161e3f; border: 1px solid rgba(255, 255, 255, .08); }
.gcard__back { background: linear-gradient(160deg, var(--blue), var(--blue-900)); transform: rotateY(180deg); border: 1px solid rgba(242, 145, 0, .5); }
.gcard__icon { width: clamp(64px, 7vw, 92px); height: auto; color: #fff; transition: color .4s; }
.gcard__icon path { stroke-dasharray: 400; stroke-dashoffset: 400; }
.gcard.is-in .gcard__icon path { animation: draw 1.8s var(--ease) forwards; animation-delay: calc(var(--d, 0ms) + .3s); }
.gcard__title { font-family: var(--sans); font-weight: 700; font-size: clamp(1rem, .9rem + .5vw, 1.35rem); line-height: 1.25; max-width: 12ch; }
.gcard__hint { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.gcard__verse { font-family: var(--serif); font-size: clamp(.86rem, .8rem + .25vw, 1rem); line-height: 1.55; }
.gcard__ref { color: var(--orange); font-weight: 700; font-size: .85rem; letter-spacing: .08em; }

/* ---------- Eventos ---------- */
.events { background: var(--paper); }
.feat { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); background: #fff; border-radius: 24px; padding: clamp(1rem, 2.5vw, 2rem); box-shadow: var(--shadow); margin-bottom: 3.5rem; align-items: center; position: relative; overflow: hidden; }
.feat::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 145, 0, .14), transparent 70%); }
.feat__poster { border: 0; padding: 0; border-radius: 16px; overflow: hidden; background: var(--light); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .45); transform: rotate(-1.5deg); transition: transform .5s var(--ease); }
.feat__poster:hover { transform: rotate(0) scale(1.02); }
.feat__poster img { width: 100%; height: auto; }
.feat__body { position: relative; }
.feat__title { font-family: var(--serif); font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); line-height: 1.15; color: var(--blue-900); margin: .9rem 0 .5rem; }
.feat__tema { font-size: 1.2rem; font-weight: 700; color: var(--orange-600); margin: 0; font-style: italic; }
.feat__sub { color: var(--muted); margin: .2rem 0 0; }
.feat__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.facts { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.4rem; }
.facts li { display: flex; gap: .75rem; align-items: flex-start; font-size: .94rem; }
.facts .ic { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: rgba(0, 70, 144, .08); color: var(--blue); }
.facts b { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--light); color: var(--muted); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--en-curso { background: #fff1db; color: #b56a00; }
.chip--en-curso .dot { animation: blink 1.2s infinite; }
.chip--proximo { background: #dde9f8; color: var(--blue); }
.chip--realizado { background: var(--light); color: #6a7385; }
.countdown { display: flex; gap: .6rem; margin-top: 1.2rem; flex-wrap: wrap; }
.countdown:empty { display: none; }
.cd { min-width: 70px; text-align: center; background: var(--blue); color: #fff; border-radius: 12px; padding: .55rem .4rem; }
.cd b { display: block; font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; }
.cd span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.cd-live { display: flex; align-items: center; gap: .7rem; background: linear-gradient(90deg, var(--orange), #ffb240); color: #fff; padding: .7rem 1.1rem; border-radius: 12px; font-weight: 700; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.filter { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .55rem 1.1rem; font-size: .86rem; font-weight: 600; color: var(--muted); transition: all .25s; }
.filter:hover { border-color: var(--blue); color: var(--blue); }
.filter.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.egrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ecard { background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 0 var(--light); transition: transform .4s var(--ease), box-shadow .4s, opacity .4s; }
.ecard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ecard.is-hidden { display: none; }
.ecard__media { border: 0; padding: 0; position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--light); }
.ecard__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.ecard:hover .ecard__media img { transform: scale(1.06); }
.ecard__date { position: absolute; left: 14px; top: 14px; background: #fff; border-radius: 12px; padding: .35rem .7rem; text-align: center; font-size: .68rem; font-weight: 800; letter-spacing: .12em; color: var(--orange-600); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35); line-height: 1.1; }
.ecard__date b { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--blue-900); letter-spacing: 0; }
.ecard__media .chip { position: absolute; right: 12px; top: 14px; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35); }
.ecard__body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.ecard h3 { margin: 0 0 .2rem; font-size: 1.12rem; line-height: 1.3; color: var(--blue-900); }
.ecard__tema { margin: 0 0 .4rem; color: var(--orange-600); font-weight: 600; font-style: italic; font-size: .95rem; }
.ecard__meta { display: flex; gap: .5rem; align-items: flex-start; margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.ecard__meta .ic { margin-top: .12em; color: var(--blue); }
.ecard__foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--light); }
.ecard__ph { display: inline-flex; gap: .35rem; align-items: center; font-size: .8rem; color: var(--muted); }
.empty { color: var(--muted); }

/* ---------- Cita de oración ---------- */
.pray { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.pray__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, var(--orange) 0%, #e07000 100%); }
.pray__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .35) 1.5px, transparent 1.5px); background-size: 22px 22px; opacity: .25; animation: rain 12s linear infinite; }
.pray__q { width: 56px; height: 56px; margin: 0 auto 1rem; opacity: .9; }
.pray blockquote { margin: 0 auto; max-width: 900px; }
.pray p { font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1.5vw, 2.15rem); line-height: 1.4; margin: 0 0 1.2rem; font-weight: 600; }
.pray footer { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; opacity: .92; }

/* ---------- Región / mapa ---------- */
.region { background: #fff; }
.region__totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.region__totals > div { background: var(--paper); border-radius: var(--radius); padding: 1.1rem 1.3rem; border: 1px solid var(--light); }
.rt__n { display: block; font-family: var(--serif); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); color: var(--blue); line-height: 1.15; }
.rt__l { font-size: .84rem; color: var(--muted); font-weight: 500; }
.region__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 1.6rem; align-items: start; }
.map { position: relative; background: linear-gradient(160deg, #f1f5fb, #e4ecf6); border-radius: 22px; padding: clamp(.6rem, 2vw, 1.6rem); overflow: hidden; }
.map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 70, 144, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 70, 144, .05) 1px, transparent 1px); background-size: 28px 28px; }
.map__svg { position: relative; width: 100%; height: auto; overflow: visible; }
.prov { fill: var(--c, #9db8dc); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; cursor: pointer; transition: fill .35s, transform .35s var(--ease), filter .35s; transform-box: fill-box; transform-origin: center; outline: none; }
.prov { stroke-dasharray: 2600; stroke-dashoffset: 2600; fill-opacity: 0; }
.map.is-in:not(.is-drawn) .prov { animation: mapDraw 1.6s var(--ease) forwards; animation-delay: calc(var(--k, 0) * 90ms); }
.map.is-drawn .prov { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; fill-opacity: 1; }
.prov:hover, .prov:focus-visible { fill: #3d7cc9; transform: scale(1.025); filter: drop-shadow(0 6px 10px rgba(0, 36, 77, .35)); }
.prov.is-sel { fill: var(--orange) !important; transform: scale(1.035); filter: drop-shadow(0 8px 14px rgba(150, 80, 0, .4)); }
.map__labels text { font-family: var(--sans); font-size: 10.5px; font-weight: 700; fill: #fff; text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: rgba(0, 36, 77, .55); stroke-width: 2.5px; opacity: 0; transition: opacity .6s; }
.map.is-in .map__labels text { opacity: 1; transition-delay: 1.4s; }
.map__tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: .8rem; padding: .45rem .7rem; border-radius: 8px; transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity .2s; white-space: nowrap; z-index: 3; }
.map__tip.on { opacity: 1; }
.map__tip b { color: #ffc266; }
.map__legend { position: relative; display: flex; align-items: center; gap: .6rem; font-size: .74rem; color: var(--muted); margin-top: .6rem; justify-content: flex-end; }
.map__legend i { width: 110px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #c9daf0, #004690); }
.pinfo { background: var(--blue-900); color: #fff; border-radius: 22px; padding: 1.6rem; position: relative; overflow: hidden; }
.pinfo::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 30px solid rgba(242, 145, 0, .12); }
.pinfo__k { margin: 0; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.pinfo__name { font-family: var(--serif); font-size: 2rem; margin: .1rem 0 0; line-height: 1.15; }
.pinfo__cap { margin: .2rem 0 1rem; color: rgba(255, 255, 255, .7); font-size: .9rem; }
.pinfo__stats { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pinfo__stats > div { background: rgba(255, 255, 255, .07); border-radius: 12px; padding: .8rem .9rem; }
.pinfo__n { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 800; line-height: 1.15; }
.pinfo__n--accent { color: var(--orange); }
.pinfo__l { font-size: .74rem; color: rgba(255, 255, 255, .7); }
.pinfo__bar { height: 6px; background: rgba(255, 255, 255, .12); border-radius: 3px; margin: 1rem 0 .4rem; overflow: hidden; }
.pinfo__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), #ffc266); border-radius: 3px; transition: width .8s var(--ease); }
.pinfo__meta { font-size: .8rem; color: rgba(255, 255, 255, .72); margin: 0; }
.pinfo__note { font-size: .86rem; margin: .5rem 0 0; color: rgba(255, 255, 255, .85); }
.pinfo__note:empty { display: none; }
.plist { margin-top: 1.1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; max-height: 260px; overflow: auto; padding-right: 4px; position: relative; z-index: 1; }
.plist button { display: flex; justify-content: space-between; gap: .5rem; text-align: left; border: 0; background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .85); border-radius: 8px; padding: .45rem .6rem; font-size: .78rem; transition: background .2s; }
.plist button small { color: rgba(255, 255, 255, .5); }
.plist button:hover { background: rgba(255, 255, 255, .14); }
.plist button.is-sel { background: var(--orange); color: #fff; }
.plist button.is-sel small { color: #fff; }
.source { font-size: .75rem; color: var(--muted); margin: 1.2rem 0 0; }

/* ---------- Liderazgo ---------- */
.leaders { background: var(--paper); }
.lgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); gap: 1.6rem; justify-content: center; }
.leader { background: #fff; border-radius: 20px; padding: 2rem 1.4rem 1.6rem; text-align: center; transition: transform .4s var(--ease), box-shadow .4s; }
.leader:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.leader__ph { width: 128px; height: 128px; margin: 0 auto 1.1rem; border-radius: 50%; padding: 5px; background: conic-gradient(var(--orange), var(--blue), var(--orange)); }
.leader__ph img, .leader__ph span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; }
.leader__ph span { display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--serif); font-size: 2.2rem; font-weight: 700; }
.leader h3 { margin: 0; font-size: 1.1rem; color: var(--blue-900); }
.leader p { margin: .2rem 0 0; color: var(--orange-600); font-weight: 600; font-size: .88rem; }

/* ---------- Contacto ---------- */
.contact { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-900) 100%); color: #fff; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: -200px; bottom: -200px; width: 500px; height: 500px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .04); }
.contact__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); position: relative; }
.cform { background: #fff; color: var(--text); border-radius: 22px; padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); display: flex; flex-direction: column; gap: 1rem; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field span { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .03em; }
.field input, .field select, .field textarea { font: inherit; font-size: .95rem; padding: .8rem .95rem; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 70, 144, .12); }
.field.is-err input, .field.is-err textarea { border-color: #d33; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__msg { margin: 0; font-size: .9rem; font-weight: 600; min-height: 1.3em; }
.cform__msg.ok { color: #138a4b; }
.cform__msg.err { color: #c62828; }
.cform.is-sending .btn { opacity: .7; pointer-events: none; }
.cinfo { display: flex; flex-direction: column; gap: 1rem; }
.cinfo__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .9rem; }
.cinfo__list li { display: flex; gap: .9rem; align-items: flex-start; }
.cinfo__ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; flex: none; color: var(--orange); }
.cinfo__ic .ic { width: 22px; height: 22px; }
.cinfo__list b { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.cinfo__list a, .cinfo__list span { color: #fff; text-decoration: none; font-weight: 600; }
.cinfo__list small { display: block; color: rgba(255, 255, 255, .6); }
.cmap { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); }
.cmap iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9); }

/* ---------- Pie ---------- */
.foot { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 3.5rem 0 1.5rem; font-size: .9rem; }
.foot__in { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.foot__brand img { height: 56px; width: auto; margin-bottom: .8rem; }
.foot__brand p { margin: 0; line-height: 1.5; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.foot__nav a { text-decoration: none; transition: color .2s; }
.foot__nav a:hover { color: var(--orange); }
.foot__social { display: flex; gap: .6rem; }
.foot__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .25s, transform .25s; }
.foot__social a:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; padding-top: 1.4rem; font-size: .8rem; }
.foot__verses { color: var(--orange); font-family: var(--serif); letter-spacing: .04em; }
.foot__admin { color: rgba(255, 255, 255, .45); text-decoration: none; }
.foot__admin:hover { color: #fff; }

.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; z-index: 40; box-shadow: 0 12px 26px -8px rgba(37, 211, 102, .8); animation: popIn .6s 2s var(--ease) both; }
.wa-float .ic { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ripple 2.2s infinite; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5, 15, 35, .72); backdrop-filter: blur(4px); animation: fade .3s ease; }
.modal__panel { position: relative; width: min(1040px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: #fff; border-radius: 22px; animation: modalIn .5s var(--ease); overscroll-behavior: contain; }
.modal__close { position: sticky; top: 12px; margin: 12px 12px -56px auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 14px rgba(0, 0, 0, .2); z-index: 2; transition: transform .25s; }
.modal__close:hover { transform: rotate(90deg); }
.modal__close .ic { width: 20px; height: 20px; }
.md { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.md__poster { background: var(--ink); padding: 1.4rem; display: flex; flex-direction: column; gap: .8rem; }
.md__poster img { border-radius: 12px; width: 100%; height: auto; cursor: zoom-in; }
.md__poster .btn { font-size: .82rem; padding: .7rem 1rem; }
.md__body { padding: clamp(1.4rem, 3vw, 2.4rem); }
.md__body h2 { font-family: var(--serif); color: var(--blue-900); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.15; margin: .8rem 0 .4rem; padding-right: 2.5rem; }
.md__tema { color: var(--orange-600); font-weight: 700; font-style: italic; font-size: 1.15rem; margin: 0; }
.md__sub { color: var(--muted); margin: .1rem 0 0; }
.md__verse { margin: 1rem 0 0; padding: .8rem 1rem; background: var(--paper); border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; font-family: var(--serif); font-size: .95rem; }
.md__desc { color: var(--muted); margin: 1rem 0 0; }
.md .facts { grid-template-columns: 1fr 1fr; }
.md__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.md__actions .btn { font-size: .84rem; padding: .7rem 1.1rem; }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1eb457; transform: translateY(-2px); }
.gal { padding: 0 clamp(1.4rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2.4rem); }
.gal h3 { font-family: var(--serif); color: var(--blue-900); margin: 0 0 1rem; font-size: 1.3rem; display: flex; align-items: center; gap: .6rem; }
.gal__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.gal__grid button { border: 0; padding: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--light); opacity: 0; transform: scale(.9); animation: galIn .5s var(--ease) forwards; animation-delay: calc(var(--n) * 35ms); }
.gal__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gal__grid button:hover img { transform: scale(1.1); }

/* ---------- Visor ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(3, 8, 20, .95); display: flex; align-items: center; justify-content: center; animation: fade .25s; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lb__fig { margin: 0; max-width: min(1200px, 92vw); text-align: center; }
.lb__fig img { max-height: 84svh; width: auto; margin: 0 auto; border-radius: 8px; animation: lbIn .35s var(--ease); }
.lb__fig figcaption { color: rgba(255, 255, 255, .7); font-size: .85rem; margin-top: .7rem; }
.lb__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; transition: background .2s; }
.lb__btn:hover { background: var(--orange); }
.lb__btn .ic { width: 24px; height: 24px; }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%); }

.ios-tip { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(420px, calc(100% - 32px)); background: var(--ink); color: #fff; border-radius: 16px; padding: 1rem 2.8rem 1rem 1rem; display: flex; gap: .8rem; align-items: center; z-index: 70; font-size: .88rem; box-shadow: var(--shadow); animation: fadeUpX .5s var(--ease); }
.ios-tip[hidden] { display: none; }
.ios-tip > .ic { width: 28px; height: 28px; color: var(--orange); }
.ios-tip p { margin: 0; }
.ios-tip button { position: absolute; right: 8px; top: 8px; border: 0; background: none; color: #fff; padding: 6px; }

/* ---------- En vivo ---------- */
.nav__live { display: inline-flex !important; align-items: center; gap: .45rem; border: 1.5px solid rgba(255, 255, 255, .45); }
.nav__live::after { display: none; }
.nav__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.nav__live.is-on { background: #e0262f; border-color: #e0262f; color: #fff !important; }
.nav__live.is-on i { background: #fff; animation: blink 1.1s infinite; }
.nav.is-solid .nav__live:not(.is-on) { border-color: var(--blue); }
.hero__ticker--live strong { color: #fff; }
.hero__ticker--live .pulse { background: #ff3b45; box-shadow: 0 0 0 0 rgba(255, 59, 69, .7); animation: pulseRed 1.6s infinite; }
.live { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--blue-900), var(--blue) 70%); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; isolation: isolate; }
.live__glow { position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(242, 145, 0, .35), transparent); z-index: -1; animation: glow 8s ease-in-out infinite alternate; }
.live__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.live__badge { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .95rem; border-radius: 999px; background: rgba(242, 145, 0, .18); color: #ffc266; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.live__badge i { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.live__badge.is-on { background: #e0262f; color: #fff; }
.live__badge.is-on i { background: #fff; animation: blink 1.1s infinite; }
.live__title { font-family: var(--serif); font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem); line-height: 1.15; margin: 1rem 0 .7rem; }
.live__text { color: rgba(255, 255, 255, .8); margin: 0 0 .6rem; max-width: 46ch; }
.live__count { color: #ffc266; font-weight: 700; margin: 0 0 1.4rem; min-height: 1.6em; font-variant-numeric: tabular-nums; }
.live__ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.live__player { position: relative; border-radius: 20px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .15); }
.live__player.is-page { aspect-ratio: auto; height: 560px; background: #fff; display: flex; justify-content: center; }
.live__player iframe { width: 100%; height: 100%; border: 0; display: block; animation: fade .6s; }
.live__player.is-page iframe { width: 500px; max-width: 100%; }
.live__poster { position: absolute; inset: 0; border: 0; padding: 0; background: radial-gradient(circle at 50% 40%, var(--blue), var(--blue-900)); display: grid; place-items: center; align-content: center; gap: .8rem; color: rgba(255, 255, 255, .75); }
.live__poster img { position: absolute; height: 78%; width: auto; opacity: .12; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.live__poster small { position: relative; font-size: .78rem; }
.live__playbtn { position: relative; width: 84px; height: 84px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(242, 145, 0, .6); animation: pulseBig 2.2s infinite; transition: transform .3s var(--ease); }
.live__playbtn .ic { width: 34px; height: 34px; margin-left: 5px; }
.live__poster:hover .live__playbtn { transform: scale(1.08); }
.live.is-over { display: none; }

/* ---------- Declaración de fe ---------- */
.faith { background: #fff; }
.faith::before { content: ""; position: absolute; right: -120px; top: 80px; width: 420px; height: 420px; border-radius: 50%; border: 1px dashed rgba(0, 70, 144, .15); animation: spin 120s linear infinite; }
.faith__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faith__aside { position: sticky; top: calc(var(--nav-h) + 2rem); }
.faith__count { display: flex; align-items: center; gap: .9rem; margin: 2rem 0 1.6rem; }
.faith__count b { font-family: var(--serif); font-size: 3.6rem; line-height: 1; color: var(--orange); }
.faith__count span { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.faith__list { display: grid; gap: .7rem; counter-reset: f; }
.fitem { background: var(--paper); border: 1px solid transparent; border-radius: 16px; transition: background .3s, border-color .3s, box-shadow .3s; }
.fitem[open] { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.fitem summary { list-style: none; display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.2rem; cursor: pointer; border-radius: 16px; }
.fitem summary::-webkit-details-marker { display: none; }
.fitem summary:hover .fitem__t { color: var(--blue); }
.fitem__n { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--orange); width: 2.2rem; flex: none; }
.fitem__t { flex: 1; font-weight: 700; color: var(--blue-900); transition: color .25s; }
.fitem__ic { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--light); flex: none; transition: background .3s, transform .4s var(--ease); }
.fitem__ic::before, .fitem__ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--blue); border-radius: 2px; transition: transform .4s var(--ease), background .3s; }
.fitem__ic::after { transform: rotate(90deg); }
.fitem[open] .fitem__ic { background: var(--orange); transform: rotate(180deg); }
.fitem[open] .fitem__ic::before, .fitem[open] .fitem__ic::after { background: #fff; }
.fitem[open] .fitem__ic::after { transform: rotate(0); }
.fitem__b { padding: 0 1.4rem 1.3rem calc(1.2rem + 2.2rem + 1rem); color: var(--text); }
.fitem__b p { margin: 0; }
.fitem[open] .fitem__b { animation: fdown .45s var(--ease); }

/* ---------- Programa ---------- */
.prog { background: linear-gradient(180deg, var(--light), var(--paper)); }
.prog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.prog__ev { flex: none; }
.prog__now { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; background: var(--blue-900); color: #fff; border-radius: 16px; padding: 1rem 1.3rem; margin-bottom: 1.4rem; box-shadow: var(--shadow); animation: fadeUp .6s var(--ease); }
.prog__now[hidden] { display: none; }
.prog__now > div { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.prog__now small { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ffc266; flex: none; }
.prog__now b { font-weight: 700; }
.prog__now span.t { color: rgba(255, 255, 255, .7); font-size: .88rem; }
.prog__now .pulse { background: #ff3b45; animation: pulseRed 1.6s infinite; }
.prog__tabs { display: flex; gap: .7rem; overflow-x: auto; padding: .3rem .1rem 1rem; scrollbar-width: none; }
.prog__tabs::-webkit-scrollbar { display: none; }
.ptab { position: relative; flex: 0 0 auto; min-width: 104px; display: grid; justify-items: center; gap: .1rem; padding: .85rem 1.1rem; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; color: var(--blue-900); transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s; }
.ptab:hover { transform: translateY(-3px); border-color: var(--blue); }
.ptab__w { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); }
.ptab__d { font-family: var(--serif); font-size: 1.9rem; line-height: 1.05; }
.ptab__n { font-size: .74rem; color: var(--muted); font-weight: 600; }
.ptab.is-on { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 14px 30px -14px rgba(0, 70, 144, .7); }
.ptab.is-on .ptab__w { color: #ffc266; } .ptab.is-on .ptab__n { color: rgba(255, 255, 255, .75); }
.ptab.is-today::after { content: "Hoy"; position: absolute; top: -9px; right: 10px; background: var(--orange); color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 999px; }
.pday { background: #fff; border-radius: 22px; padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: 0 20px 50px -30px rgba(0, 36, 77, .35); }
.pday__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: .6rem; }
.pday__head h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); color: var(--blue-900); }
.pday__head span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.pday__nota { margin: .2rem 0 .8rem; color: var(--muted); font-style: italic; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl__i { display: grid; grid-template-columns: 112px 22px 1fr; gap: 0 1rem; position: relative; }
.pday.is-anim .tl__i { opacity: 0; animation: tlIn .55s var(--ease) forwards; animation-delay: calc(min(var(--i), 14) * 45ms); }
.tl__i::before { content: ""; position: absolute; left: calc(112px + 1rem + 10px); top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl__i:first-child::before { top: 1.6rem; } .tl__i:last-child::before { bottom: calc(100% - 1.6rem); }
.tl__h { text-align: right; padding: 1rem 0; line-height: 1.15; }
.tl__h b { font-size: 1.12rem; color: var(--blue-900); font-variant-numeric: tabular-nums; }
.tl__h small { display: inline-block; margin-left: .25rem; font-size: .72rem; font-weight: 700; color: var(--muted); }
.tl__f { display: block; font-size: .74rem; color: var(--muted); margin-top: .2rem; }
.tl__dot { position: relative; z-index: 1; width: 14px; height: 14px; margin: 1.25rem auto 0; border-radius: 50%; background: #fff; border: 3px solid var(--blue); transition: background .3s, border-color .3s, transform .3s; }
.tl__c { padding: .85rem 1rem; margin: .25rem 0; border-radius: 14px; transition: background .3s, box-shadow .3s; display: flex; flex-direction: column; gap: .15rem; }
.tl__i:hover .tl__c { background: var(--paper); }
.tl__a { font-weight: 700; color: var(--text); font-size: 1rem; }
.tl__d { color: var(--muted); font-size: .9rem; }
.tl__tag { display: none; align-self: flex-start; font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .18rem .55rem; border-radius: 999px; margin-bottom: .2rem; }
.tl__i.is-past .tl__h, .tl__i.is-past .tl__c { opacity: .5; }
.tl__i.is-past .tl__dot { background: var(--line); border-color: var(--line); }
.tl__i.is-now .tl__c { background: #fff6e8; box-shadow: inset 3px 0 0 var(--orange); }
.tl__i.is-now .tl__dot { background: var(--orange); border-color: var(--orange); transform: scale(1.25); box-shadow: 0 0 0 0 rgba(242, 145, 0, .6); animation: pulse 1.8s infinite; }
.tl__i.is-now .tl__tag { display: inline-block; background: var(--orange); color: #fff; }
.tl__i.is-next .tl__tag { display: inline-block; background: #dde9f8; color: var(--blue); }
.prog__foot { display: flex; align-items: center; gap: .5rem; justify-content: center; color: var(--muted); font-size: .84rem; margin: 1.4rem 0 0; }
@keyframes tlIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes fdown { from { opacity: 0; transform: translateY(-8px); } }
@keyframes glow { to { transform: translate(-12%, -10%) scale(1.1); } }
@keyframes pulseRed { 70% { box-shadow: 0 0 0 10px rgba(255, 59, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 69, 0); } }
@keyframes pulseBig { 70% { box-shadow: 0 0 0 22px rgba(242, 145, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 145, 0, 0); } }


/* ---------- Subir arriba ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.totop { position: fixed; left: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: var(--blue); display: grid; place-items: center; z-index: 39; box-shadow: 0 10px 26px -10px rgba(0, 36, 77, .55); transition: transform .3s var(--ease), background .3s, color .3s, opacity .3s; animation: popIn .45s var(--ease); }
.totop[hidden] { display: none; }
.totop:hover { background: var(--blue); color: #fff; transform: translateY(-4px); }
.totop .ic { width: 22px; height: 22px; position: relative; }
.totop svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 3; }
.totop__track { stroke: var(--light); }
.totop__ring { stroke: var(--orange); stroke-linecap: round; stroke-dasharray: 125.7; stroke-dashoffset: 125.7; transition: stroke-dashoffset .15s linear; }
.totop:hover .totop__track { stroke: rgba(255, 255, 255, .25); }

/* ---------- Asistente virtual ---------- */
body:has(.cb) .wa-float { bottom: calc(92px + env(safe-area-inset-bottom)); width: 52px; height: 52px; }
.cb { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; font-size: .92rem; }
.cb__launch { position: relative; width: 62px; height: 62px; border-radius: 50%; border: 0; background: linear-gradient(140deg, var(--blue), var(--blue-900)); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 36, 77, .8); transition: transform .35s var(--ease), background .3s; animation: popIn .6s 1.6s var(--ease) both; }
.cb__launch:hover { transform: scale(1.07) rotate(-4deg); }
.cb__launch-ic { position: absolute; display: grid; place-items: center; transition: transform .4s var(--ease), opacity .3s; }
.cb__launch-ic .ic { width: 28px; height: 28px; }
.cb__launch-ic--close { opacity: 0; transform: rotate(-90deg) scale(.5); }
.cb.is-open .cb__launch-ic--chat { opacity: 0; transform: rotate(90deg) scale(.5); }
.cb.is-open .cb__launch-ic--close { opacity: 1; transform: none; }
.cb__dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 2.5px solid #fff; animation: pulse 2s infinite; }
.cb.is-open .cb__dot { display: none; }
.cb__hint { position: absolute; right: 0; bottom: 76px; width: 250px; background: #fff; color: var(--text); border-radius: 16px 16px 4px 16px; padding: .9rem 2rem .9rem 1rem; box-shadow: var(--shadow); cursor: pointer; display: flex; flex-direction: column; gap: .2rem; animation: hintIn .5s var(--ease); }
.cb__hint[hidden] { display: none; }
.cb__hint b { color: var(--blue-900); }
.cb__hint span { font-size: .82rem; color: var(--muted); line-height: 1.45; }
.cb__hint-x { position: absolute; top: 6px; right: 6px; border: 0; background: none; color: var(--muted); padding: 4px; display: grid; }
.cb__hint-x .ic { width: 14px; height: 14px; }
.cb__panel { position: absolute; right: 0; bottom: 76px; width: min(390px, calc(100vw - 36px)); height: min(600px, calc(100svh - 120px)); background: #fff; border-radius: 22px; box-shadow: 0 30px 70px -20px rgba(0, 36, 77, .55), 0 0 0 1px rgba(0, 36, 77, .06); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: cbIn .4s var(--ease); }
.cb__panel[hidden] { display: none; }
.cb__head { display: flex; align-items: center; gap: .7rem; padding: .85rem .8rem .85rem 1rem; background: linear-gradient(120deg, var(--blue-900), var(--blue)); color: #fff; }
.cb__av { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }
.cb__av img { width: 100%; height: 100%; object-fit: cover; }
.cb__who { flex: 1; min-width: 0; line-height: 1.25; }
.cb__who b { display: block; font-family: var(--serif); font-size: 1.02rem; letter-spacing: .02em; }
.cb__who small { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; opacity: .85; }
.cb__who small i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; }
.cb__hbtn { width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: #fff; display: grid; place-items: center; transition: background .2s; }
.cb__hbtn:hover { background: rgba(255, 255, 255, .15); }
.cb__hbtn .ic { width: 19px; height: 19px; }
.cb__log { position: relative; flex: 1; overflow-y: auto; padding: 1rem .9rem .5rem; background: linear-gradient(180deg, var(--paper), #fff 70%); display: flex; flex-direction: column; gap: .55rem; overscroll-behavior: contain; }
.cb-msg { display: flex; }
.cb-msg--me { justify-content: flex-end; }
.cb-msg.is-new { animation: msgIn .35s var(--ease); }
.cb-bub { max-width: 86%; padding: .65rem .85rem; border-radius: 16px; line-height: 1.5; word-wrap: break-word; }
.cb-msg--bot .cb-bub { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--text); box-shadow: 0 6px 16px -12px rgba(0, 36, 77, .4); }
.cb-msg--me .cb-bub { background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.cb-bub ul { margin: .35rem 0 .2rem; padding-left: 1.1rem; }
.cb-bub li { margin: .15rem 0; }
.cb-bub li::marker { color: var(--orange); }
.cb-bub small { color: var(--muted); }
.cb-bub a { color: var(--blue); }
.cb-acts { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .6rem; }
.cb-act { display: inline-flex; align-items: center; gap: .35rem; padding: .42rem .75rem; border-radius: 999px; border: 1.5px solid var(--blue); background: #fff; color: var(--blue) !important; font-size: .8rem; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.cb-act:hover { background: var(--blue); color: #fff !important; }
.cb-act .ic { width: 15px; height: 15px; }
.cb-live { color: #e0262f; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.cb-st { display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .12rem .5rem; border-radius: 999px; background: var(--light); color: #6a7385; margin-bottom: .2rem; }
.cb-st--en-curso { background: #fff1db; color: #b56a00; } .cb-st--proximo { background: #dde9f8; color: var(--blue); }
.cb-typing { display: inline-flex; gap: 4px; padding: .25rem 0; }
.cb-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .4; animation: typing 1s infinite; }
.cb-typing i:nth-child(2) { animation-delay: .15s; } .cb-typing i:nth-child(3) { animation-delay: .3s; }
.cb__chips { display: flex; gap: .4rem; overflow-x: auto; padding: .5rem .9rem; scrollbar-width: none; border-top: 1px solid var(--light); }
.cb__chips:empty { display: none; }
.cb__chips::-webkit-scrollbar { display: none; }
.cb-chip { flex: none; border: 1.5px solid #f5c77a; background: #fff8ec; color: #8a5100; border-radius: 999px; padding: .4rem .8rem; font-size: .8rem; font-weight: 600; white-space: nowrap; transition: background .2s, transform .2s; animation: msgIn .3s var(--ease) both; }
.cb-chip:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-1px); }
.cb__form { display: flex; gap: .5rem; padding: .65rem .8rem calc(.75rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--light); background: #fff; }
.cb__form input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: .7rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; outline: none; transition: border-color .2s, box-shadow .2s; }
.cb__form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 70, 144, .12); }
.cb__form button { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: var(--orange); color: #fff; display: grid; place-items: center; transition: background .2s, transform .2s; }
.cb__form button:hover { background: var(--orange-600); transform: scale(1.05); }
.cb__form button .ic { width: 20px; height: 20px; }
@keyframes cbIn { from { opacity: 0; transform: translateY(16px) scale(.94); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes hintIn { from { opacity: 0; transform: translateY(10px) scale(.95); } }
@keyframes typing { 30% { opacity: 1; transform: translateY(-3px); } 60% { opacity: .4; transform: none; } }
@media (max-width: 640px) {
  .cb { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .totop { left: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }
  body:has(.cb) .wa-float { bottom: calc(86px + env(safe-area-inset-bottom)); right: 16px; }
  .cb.is-open { inset: 0; right: 0; bottom: 0; }
  .cb.is-open .cb__launch { display: none; }
  .cb__panel { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; animation: cbUp .35s var(--ease); }
  .cb__hint { bottom: 72px; }
  body.cb-lock { overflow: hidden; }
  body.cb-lock .wa-float, body.cb-lock .totop { display: none; }
}
@keyframes cbUp { from { transform: translateY(100%); } }

/* ---------- Animaciones de entrada ---------- */
[data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
[data-reveal="up"] { transform: translateY(36px); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -2%); } }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
@keyframes wordIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fadeUpX { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes markIn { from { opacity: 0; transform: scale(.85) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(242, 145, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 145, 0, 0); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes blink { 50% { opacity: .2; } }
@keyframes rain { to { background-position: 0 220px; } }
@keyframes mapDraw { 0% { stroke-dashoffset: 2600; fill-opacity: 0; } 60% { fill-opacity: 0; } 100% { stroke-dashoffset: 0; fill-opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(40px) scale(.97); } }
@keyframes galIn { to { opacity: 1; transform: none; } }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .gospel__grid { grid-template-columns: repeat(2, 1fr); }
  .gcard { aspect-ratio: 1 / .85; }
  .egrid { grid-template-columns: repeat(2, 1fr); }
  .region__grid { grid-template-columns: 1fr; }
  .live__in { grid-template-columns: 1fr; }
  .faith__grid { grid-template-columns: 1fr; }
  .faith__aside { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 0 0 auto; top: 0; height: 100svh; flex-direction: column; justify-content: center; gap: .4rem; background: var(--blue-900); transform: translateY(-100%); transition: transform .5s var(--ease); z-index: -1; }
  .nav__links a { color: #fff !important; font-size: 1.25rem; font-family: var(--serif); opacity: 0; transform: translateY(-10px); transition: opacity .4s, transform .4s; }
  .nav.is-open .nav__links { transform: none; }
  .nav.is-open .nav__links a { opacity: 1; transform: none; }
  .nav.is-open .nav__links a:nth-child(2) { transition-delay: .05s; } .nav.is-open .nav__links a:nth-child(3) { transition-delay: .1s; } .nav.is-open .nav__links a:nth-child(4) { transition-delay: .15s; } .nav.is-open .nav__links a:nth-child(5) { transition-delay: .2s; } .nav.is-open .nav__links a:nth-child(6) { transition-delay: .25s; }
  .nav__cta { margin: .6rem 0 0 !important; padding: .7rem 1.6rem !important; }
  .nav.is-open .nav__toggle span { background: #fff; }
  .nav.is-open .install-btn { color: #fff; border-color: rgba(255, 255, 255, .5); }
  .nav.is-open .logo-light { opacity: 1 !important; } .nav.is-open .logo-dark { opacity: 0 !important; }
  .nav.is-open.is-solid { background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav.is-open .nav__links a:nth-child(7) { transition-delay: .3s; } .nav.is-open .nav__links a:nth-child(8) { transition-delay: .35s; }
}
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; text-align: left; }
  .hero__mark { display: none; }
  .about__grid, .contact__grid, .feat, .md { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .feat__poster { max-width: 420px; margin-inline: auto; transform: none; }
  .md__poster { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .md__poster img { max-height: 60svh; width: auto; max-width: 100%; margin-inline: auto; }
  .md__poster .btn { flex: 1; }
}
@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  .nav__brand { height: 38px; }
  .install-btn span { display: none; }
  .install-btn { padding: .5rem; }
  .hero { padding-bottom: 6.5rem; }
  .hero__scroll { display: none; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__ticker { bottom: 1.6rem; font-size: .8rem; flex-wrap: nowrap; }
  .hero__rings { width: 520px; height: 520px; right: -260px; }
  .gospel__grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .gcard { aspect-ratio: 1 / 1.25; }
  .gcard__face { padding: .9rem; gap: .7rem; }
  .gcard__verse { font-size: .74rem; line-height: 1.45; }
  .egrid { grid-template-columns: 1fr; }
  .facts, .md .facts { grid-template-columns: 1fr; }
  .stats { gap: .7rem; }
  .stat { padding: 1.1rem 1rem; }
  .region__totals { grid-template-columns: 1fr 1fr; }
  .region__totals > div:first-child { grid-column: 1 / -1; }
  .cform__row { grid-template-columns: 1fr; }
  .about__badge { right: 8px; }
  .about__media::before { inset: 16px -10px -14px 16px; }
  .map__labels text { font-size: 13px; }
  .plist { max-height: none; }
  .lb__prev, .lb__next { top: auto; bottom: 20px; transform: none; }
  .foot__in { flex-direction: column; align-items: flex-start; }
  .live__ctas .btn { flex: 1 1 auto; }
  .live__player.is-page { height: 520px; }
  .faith__count { margin: 1.2rem 0 1rem; }
  .fitem summary { padding: .95rem 1rem; gap: .7rem; }
  .fitem__n { width: 1.8rem; }
  .fitem__b { padding: 0 1.1rem 1.2rem 1.1rem; }
  .ptab { min-width: 86px; padding: .7rem .8rem; }
  .ptab__d { font-size: 1.6rem; }
  .tl__i { grid-template-columns: 70px 18px 1fr; gap: 0 .6rem; }
  .tl__i::before { left: calc(70px + .6rem + 8px); }
  .tl__h b { font-size: 1rem; }
  .tl__h small { display: block; margin: 0; }
  .tl__f { font-size: .64rem; white-space: nowrap; }
  .tl__dot { width: 12px; height: 12px; }
  .tl__c { padding: .75rem .8rem; }
  .pday { border-radius: 18px; padding: 1.1rem .9rem; }
  .prog__ev { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__title .w, .hero__eyebrow, .hero__text, .hero__ctas, .hero__mark, .hero__ticker, .tl__i, .cb__launch { opacity: 1; }
}
