/* ==========================================================================
   Iglesia La Roca — sistema de diseño
   ========================================================================== */

:root {
    /* Marca (del logo) */
    --orange: #ff6a13;
    --orange-600: #f05a0a;
    --orange-300: #ffa24d;
    --orange-100: #fff0e4;
    --grad: linear-gradient(135deg, #ff4d0f 0%, #ff7a12 55%, #ffa30b 100%);
    --navy-950: #071820;
    --navy-900: #0b222d;
    --navy-800: #12313f;
    --navy-700: #1d4456;
    --navy-100: #e6eef1;

    /* Neutros cálidos */
    --sand-50: #fbf8f3;
    --sand-100: #f5efe6;
    --sand-200: #e9e0d2;
    --ink: #13232b;
    --muted: #5d6a70;
    --line: rgba(19, 35, 43, .1);
    --white: #fff;

    --font-display: "Outfit", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 32px;
    --shadow-sm: 0 2px 8px rgba(11, 34, 45, .06);
    --shadow: 0 18px 40px -18px rgba(11, 34, 45, .28);
    --shadow-lg: 0 40px 80px -30px rgba(11, 34, 45, .45);

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(72px, 10vw, 136px);
    --header-h: 80px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--sand-50);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.02em; margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.icon { flex: none; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--dark { background: var(--navy-900); color: #fff; }
.section--sand { background: var(--sand-100); }

/* ---------- Tipografía ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-size: 14px; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600);
    margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--orange-300); }
.h-display { font-size: clamp(44px, 7.4vw, 104px); font-weight: 600; letter-spacing: -.035em; line-height: .98; }
.h-1 { font-size: clamp(36px, 5vw, 64px); }
.h-2 { font-size: clamp(30px, 3.6vw, 48px); }
.h-3 { font-size: clamp(22px, 2vw, 28px); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--muted); }
.section--dark .lead, .on-dark .lead { color: rgba(255, 255, 255, .72); }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > div { max-width: 640px; }
.section-head .lead { margin-top: 16px; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding: 0 26px; border-radius: 999px;
    font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: .01em;
    transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 90, 10, .7); }
.btn-primary:hover { box-shadow: 0 16px 30px -12px rgba(255, 90, 10, .8); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }
.btn-ghost { border: 1.5px solid currentColor; }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--orange-600); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 0 rgba(255, 59, 48, .6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, .55); } 70% { box-shadow: 0 0 0 9px rgba(255, 59, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); } }

/* ---------- Aviso superior ---------- */
.notice-bar { background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 15px; text-align: center; padding: 9px 0; position: relative; z-index: 60; }
.notice-bar a { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    background: rgba(251, 248, 243, .86);
    backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
    border-bottom: 1px solid var(--line);
    transition: background .35s, border-color .35s, color .35s;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { position: relative; display: block; flex: none; width: 150px; }
.brand-logo { width: 150px; height: auto; transition: opacity .3s; }
.brand-logo--white { position: absolute; inset: 0; opacity: 0; filter: brightness(0) invert(1); }

.main-nav { margin-inline: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
    position: relative; display: block; padding: 10px 14px; border-radius: 999px;
    font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--ink);
    transition: color .2s, background .2s;
}
.main-nav a:hover { background: rgba(19, 35, 43, .06); }
.main-nav a[aria-current="page"] { color: var(--orange-600); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); transform: translateX(-50%); }
.main-nav-footer { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.btn-radio { height: 44px; padding: 0 18px; font-size: 15px; background: var(--navy-900); color: #fff; }
.btn-radio:hover { background: var(--navy-700); }
.btn-radio.is-playing { background: var(--grad); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; }

/* Header transparente sobre el hero */
body.hero-top .site-header { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.hero-top .brand-logo--color { opacity: 0; }
body.hero-top .brand-logo--white { opacity: 1; }
body.hero-top .main-nav a { color: #fff; }
body.hero-top .main-nav a:hover { background: rgba(255, 255, 255, .12); }
body.hero-top .main-nav a[aria-current="page"] { color: #fff; }
body.hero-top .btn-radio { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); }
body.hero-top .menu-toggle { color: #fff; }
main.has-hero { margin-top: calc(var(--header-h) * -1); }

@media (max-width: 1080px) {
    .menu-toggle { display: inline-flex; }
    .main-nav {
        position: fixed; inset: 0; z-index: -1; margin: 0;
        background: var(--navy-950); color: #fff;
        padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
        display: flex; flex-direction: column; justify-content: space-between;
        opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
        overflow-y: auto;
    }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a, body.hero-top .main-nav a { color: #fff; font-size: clamp(30px, 8vw, 44px); font-weight: 500; padding: 8px 0; border-radius: 0; letter-spacing: -.02em; }
    .main-nav a:hover { background: none; color: var(--orange-300); }
    .main-nav a[aria-current="page"] { color: var(--orange-300); }
    .main-nav a[aria-current="page"]::after { display: none; }
    .main-nav-footer { display: grid; gap: 14px; margin-top: 32px; color: rgba(255, 255, 255, .7); font-size: 15px; }
    .main-nav-footer a:not(.btn) { display: flex; gap: 10px; align-items: center; font-family: var(--font-body); font-size: 15px !important; padding: 0 !important; color: rgba(255, 255, 255, .75) !important; }
    .main-nav .main-nav-footer .btn { justify-self: start; font-size: 16px; padding: 0 26px; color: #fff; margin-bottom: 8px; }
    body.menu-open { overflow: hidden; }
    body.menu-open .main-nav { opacity: 1; visibility: visible; }
    body.menu-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; }
    body.menu-open .brand-logo--color { opacity: 0; }
    body.menu-open .brand-logo--white { opacity: 1; }
    body.menu-open .menu-toggle { color: #fff; }
    body.menu-open .btn-radio { background: rgba(255, 255, 255, .14); }
}
@media (max-width: 560px) {
    :root { --header-h: 68px; }
    .brand, .brand-logo { width: 124px; }
    .btn-radio span:not(.live-dot) { display: none; }
    .btn-radio { width: 44px; padding: 0; }
    .header-actions .btn-primary { display: none; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100svh; display: flex; align-items: flex-end;
    color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* Trama de puntitos negros sobre el video/foto para oscurecer y dar textura */
.hero-media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-color: rgba(7, 24, 32, .28);
    background-image: radial-gradient(rgba(0, 0, 0, .78) 1.1px, transparent 1.5px);
    background-size: 4px 4px;
}
.hero-video { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.2s; pointer-events: none; }
.hero-video.is-ready { opacity: 1; }
.hero-video iframe {
    position: absolute; top: 50%; left: 50%; border: 0;
    width: max(100vw, 177.78svh); height: max(56.25vw, 100svh);
    transform: translate(-50%, -50%) scale(1.3);
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(7, 24, 32, .55) 0%, rgba(7, 24, 32, .05) 30%, rgba(7, 24, 32, .25) 55%, rgba(7, 24, 32, .92) 100%),
        linear-gradient(90deg, rgba(7, 24, 32, .55) 0%, rgba(7, 24, 32, 0) 70%);
}
.hero-content { padding-top: calc(var(--header-h) + 80px); padding-bottom: 40px; width: 100%; }
.hero h1 { max-width: 11ch; }
.hero .lead { color: rgba(255, 255, 255, .82); max-width: 560px; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-sound {
    position: absolute; right: var(--gutter); top: calc(var(--header-h) + 24px);
    display: none;
}

.hero-info {
    margin-top: clamp(48px, 8vw, 96px);
    display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: stretch;
    border-top: 1px solid rgba(255, 255, 255, .2);
}
.hero-info > * { padding: 22px 24px 4px 0; display: flex; gap: 14px; align-items: flex-start; }
.hero-info > * + * { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.hero-info .icon { color: var(--orange-300); margin-top: 3px; }
.hero-info small { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .6); font-weight: 500; }
.hero-info strong { font-family: var(--font-display); font-weight: 500; font-size: 18px; line-height: 1.35; }
.hero-info a:hover strong { color: var(--orange-300); }

@media (max-width: 900px) {
    .hero-info { grid-template-columns: 1fr 1fr; }
    .hero-info > :nth-child(3) { padding-left: 0; border-left: 0; }
    .hero-info > :nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 18px; }
    .hero-info > :last-child { display: none; }
}
@media (max-width: 560px) {
    .hero-info { grid-template-columns: 1fr; }
    .hero-info > * + * { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 0; padding-top: 16px; padding-bottom: 16px; }
    .hero-info > *:first-child { padding-bottom: 16px; }
    .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- Carrusel de banners ---------- */
.carousel { position: relative; }
.carousel-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 880px); gap: 20px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    padding-inline: var(--gutter); padding-bottom: 8px;
    scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
@media (min-width: 1320px) {
    .carousel-track { padding-inline: calc((100vw - var(--container)) / 2); scroll-padding-inline: calc((100vw - var(--container)) / 2); }
}
.carousel-slide {
    scroll-snap-align: start; position: relative; border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 16 / 9; background: var(--navy-800); box-shadow: var(--shadow);
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.carousel-slide:hover img { transform: scale(1.03); }
.carousel-controls { display: flex; gap: 10px; }
.carousel-btn {
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.carousel-btn:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.carousel-btn:disabled { opacity: .35; pointer-events: none; }
.carousel-progress { height: 3px; background: var(--sand-200); border-radius: 3px; margin-top: 28px; overflow: hidden; }
.carousel-progress span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width .3s var(--ease); }
@media (max-width: 640px) {
    .carousel-track { grid-auto-columns: 88%; gap: 12px; }
    .carousel-slide { border-radius: var(--radius-sm); }
}

/* ---------- Horarios ---------- */
.times-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.times-list { list-style: none; margin: 0; padding: 0; }
.times-list li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.times-list li:first-child { border-top: 1px solid var(--line); }
.times-day { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.times-day small { display: block; color: var(--muted); font-weight: 400; font-size: 15px; font-family: var(--font-body); }
.times-title { color: var(--muted); }
.service-cards { display: grid; gap: 16px; }
.service-card {
    position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px 28px 26px;
    background: var(--navy-900); color: #fff; isolation: isolate;
}
.service-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--grad); opacity: .9; filter: blur(4px); z-index: -1; }
.service-card .time { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 5vw, 64px); letter-spacing: -.03em; line-height: 1; }
.service-card .time span { font-size: .45em; font-weight: 500; margin-left: 4px; }
.service-card p { margin: 12px 0 0; color: rgba(255, 255, 255, .78); }
.service-card .tag { display: inline-block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-300); font-weight: 600; margin-bottom: 14px; }
@media (max-width: 860px) {
    .times-grid { grid-template-columns: 1fr; }
    .times-list li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Tarjetas "Conectate" ---------- */
.connect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.connect-card {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 460px; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate;
    padding: 28px;
}
.connect-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.connect-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 24, 32, 0) 30%, rgba(7, 24, 32, .9) 100%); }
.connect-card:hover img { transform: scale(1.06); }
.connect-card .num { position: absolute; top: 24px; left: 28px; font-family: var(--font-display); font-weight: 500; font-size: 14px; letter-spacing: .1em; opacity: .8; }
.connect-card h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; margin-bottom: 10px; }
.connect-card p { color: rgba(255, 255, 255, .78); font-size: 16px; }
.connect-card .go {
    position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center; background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: background .3s, transform .3s var(--ease);
}
.connect-card:hover .go { background: var(--orange); transform: rotate(-45deg); }
@media (max-width: 900px) {
    .connect-grid { grid-template-columns: 1fr; }
    .connect-card { min-height: 340px; }
}

/* ---------- Nuestra fe ---------- */
.faith { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.faith-media { position: relative; }
.faith-media .main { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 85%; box-shadow: var(--shadow-lg); }
.faith-media .float {
    position: absolute; right: 0; bottom: -40px; width: 52%; aspect-ratio: 1; object-fit: cover;
    border-radius: var(--radius); border: 8px solid var(--sand-50); box-shadow: var(--shadow);
}
.faith-media .badge {
    position: absolute; left: -14px; top: 40px; background: #fff; border-radius: var(--radius); padding: 18px 22px;
    box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center;
}
.faith-media .badge strong { font-family: var(--font-display); font-size: 40px; line-height: 1; font-weight: 700; }
.faith-media .badge span { font-size: 14px; line-height: 1.35; color: var(--muted); }
.faith blockquote {
    margin: 32px 0; padding: 24px 0 24px 28px; border-left: 3px solid var(--orange);
    font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); line-height: 1.4; font-weight: 400; letter-spacing: -.01em;
}
.faith blockquote cite { display: block; margin-top: 12px; font-size: 15px; font-style: normal; color: var(--muted); font-family: var(--font-body); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 36px; }
.step { background: #fff; border-radius: var(--radius-sm); padding: 18px; border: 1px solid var(--line); }
.step b { display: block; font-family: var(--font-display); font-size: 13px; color: var(--orange-600); letter-spacing: .1em; margin-bottom: 6px; }
.step span { font-family: var(--font-display); font-weight: 500; font-size: 17px; line-height: 1.25; display: block; }
@media (max-width: 900px) {
    .faith { grid-template-columns: 1fr; }
    .faith-media { max-width: 560px; margin-bottom: 40px; }
    .faith-media .badge { left: 0; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Eventos ---------- */
.event-feature {
    display: grid; grid-template-columns: 1.25fr 1fr; border-radius: var(--radius-lg); overflow: hidden;
    background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg);
}
.event-feature-media { position: relative; min-height: 420px; }
.event-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-feature-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.event-date-chip { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-family: var(--font-display); font-weight: 500; }
.event-date-chip .icon { color: var(--orange-300); }
.event-meta { display: grid; gap: 10px; color: rgba(255, 255, 255, .75); font-size: 16px; }
.event-meta div { display: flex; gap: 10px; align-items: flex-start; }
.event-meta .icon { color: var(--orange-300); margin-top: 3px; }
.price-tag { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; background: var(--grad); color: #fff; padding: 6px 12px; border-radius: 999px; }
.countdown { display: flex; gap: 10px; }
.countdown div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-sm); padding: 12px 8px; min-width: 70px; text-align: center; }
.countdown strong { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1; }
.countdown span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .55); }
.event-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.empty-state { padding: 48px; border-radius: var(--radius); border: 1.5px dashed var(--sand-200); text-align: center; color: var(--muted); }
@media (max-width: 900px) {
    .event-feature { grid-template-columns: 1fr; }
    .event-feature-media { min-height: 0; aspect-ratio: 16 / 9; }
}

/* ---------- Último mensaje (YouTube) ---------- */
.sermon { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-lite { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; }
.video-lite img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .3s, transform .8s var(--ease); }
.video-lite:hover img { opacity: .85; transform: scale(1.03); }
.video-lite .play {
    position: relative; width: 88px; height: 88px; border-radius: 50%; background: var(--grad); color: #fff;
    display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(255, 106, 19, .25); transition: transform .3s var(--ease);
}
.video-lite:hover .play { transform: scale(1.08); }
@media (max-width: 900px) { .sermon { grid-template-columns: 1fr; } }

/* ---------- Banda de radio ---------- */
.radio-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--grad); color: #fff; padding: clamp(32px, 5vw, 64px); isolation: isolate; }
.radio-band::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18;
    background: repeating-radial-gradient(circle at 85% 50%, transparent 0 22px, rgba(255, 255, 255, .9) 22px 24px);
}
.radio-band-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.radio-band .eyebrow { color: #fff; }
.radio-band .eyebrow::before { background: #fff; }
.radio-band h2 { margin-bottom: 14px; }
.radio-band p { color: rgba(255, 255, 255, .88); max-width: 520px; }
.radio-band-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.radio-big-play {
    display: inline-flex; align-items: center; gap: 16px; padding: 10px 26px 10px 10px; border-radius: 999px;
    background: #fff; color: var(--navy-900); font-family: var(--font-display); font-weight: 600; font-size: 18px;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); transition: transform .25s var(--ease);
}
.radio-big-play:hover { transform: translateY(-2px); }
.radio-big-play .circle { width: 56px; height: 56px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; }
.radio-big-play small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.radio-big-play .icon-pause { display: none; }
.radio-big-play.is-playing .icon-play { display: none; }
.radio-big-play.is-playing .icon-pause { display: block; }
@media (max-width: 860px) { .radio-band-grid { grid-template-columns: 1fr; } }

.app-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.app-badge {
    display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 14px; border-radius: 14px;
    background: var(--navy-950); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.1;
    transition: transform .25s var(--ease);
}
.app-badge:hover { transform: translateY(-2px); }
.app-badge small { display: block; font-size: 11px; font-weight: 400; opacity: .75; }
.app-badges--sm { margin-top: 24px; }
.app-badges--sm .app-badge { height: 46px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }

/* ---------- Artículos ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; gap: 16px; }
.post-card-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand-200); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card time { font-size: 14px; color: var(--muted); }
.post-card h3 { font-size: 24px; font-weight: 600; transition: color .2s; }
.post-card:hover h3 { color: var(--orange-600); }
.post-card p { color: var(--muted); font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- CTA final ---------- */
.cta { text-align: center; max-width: 820px; margin-inline: auto; }
.cta .lead { margin: 20px auto 36px; max-width: 600px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); padding-top: clamp(64px, 8vw, 104px); font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 48px; padding-bottom: 64px; }
.footer-brand img { width: 160px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-brand p { max-width: 340px; }
.footer-title { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-list a { display: flex; gap: 10px; align-items: flex-start; transition: color .2s; }
.footer-list a:hover { color: var(--orange-300); }
.footer-list .icon { color: var(--orange-300); margin-top: 4px; }
.footer-list--plain li { display: grid; }
.footer-list--plain strong { color: #fff; font-weight: 500; font-family: var(--font-display); }
.footer-list--links { gap: 10px; }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .2s; }
.social a:hover { background: var(--orange); transform: translateY(-2px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: rgba(255, 255, 255, .5); }
.footer-bottom span { display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom .icon { color: var(--orange); }
.footer-bottom a:hover { color: #fff; }
body.radio-open .site-footer { padding-bottom: 88px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Reproductor de radio ---------- */
.radio-player {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 0 0 12px;
    transform: translateY(110%); transition: transform .45s var(--ease);
}
.radio-player[hidden] { display: block; visibility: hidden; }
body.radio-open .radio-player { transform: none; visibility: visible; }
.radio-inner {
    display: flex; align-items: center; gap: 16px; max-width: 720px;
    background: rgba(7, 24, 32, .92); color: #fff; border-radius: 999px; padding: 8px 12px 8px 8px;
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .08);
}
.radio-play { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }
.radio-icon-pause, .radio-spinner { display: none; }
.radio-player.is-playing .radio-icon-play { display: none; }
.radio-player.is-playing .radio-icon-pause { display: block; }
.radio-player.is-loading .radio-icon-play, .radio-player.is-loading .radio-icon-pause { display: none; }
.radio-player.is-loading .radio-spinner { display: block; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.radio-meta { min-width: 0; flex: 1; line-height: 1.25; }
.radio-label { display: flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .6); }
.radio-title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-eq { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.radio-eq i { width: 3px; height: 30%; background: var(--orange-300); border-radius: 2px; }
.radio-player.is-playing .radio-eq i { animation: eq 1s ease-in-out infinite; }
.radio-eq i:nth-child(2) { animation-delay: -.3s !important; }
.radio-eq i:nth-child(3) { animation-delay: -.6s !important; }
.radio-eq i:nth-child(4) { animation-delay: -.15s !important; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.radio-volume { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .7); }
.radio-volume input { width: 90px; accent-color: var(--orange); }
.radio-close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: rgba(255, 255, 255, .7); }
.radio-close:hover { background: rgba(255, 255, 255, .1); color: #fff; }
@media (max-width: 560px) {
    .radio-volume, .radio-eq { display: none; }
    .radio-player { padding: 0 0 8px; }
}

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
main { transition: opacity .25s; }
body.is-navigating main { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Video en modal ---------- */
.video-modal { width: min(1100px, 92vw); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.video-modal::backdrop { background: rgba(7, 24, 32, .88); backdrop-filter: blur(6px); }
.video-modal .video-frame { box-shadow: none; }
.video-modal-close { position: absolute; right: 0; top: -52px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 18px; }
.video-modal-close:hover { background: var(--orange); }
@media (max-width: 767px) { .hero-media img { object-position: 78% center; } }

/* ==========================================================================
   Páginas internas
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(56px, 8vw, 104px); background: var(--navy-950); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero h1 { max-width: 14ch; }
.page-hero .lead { color: rgba(255, 255, 255, .78); max-width: 620px; margin-top: 24px; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero--image::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-color: rgba(7, 24, 32, .5);
    background-image: radial-gradient(rgba(0, 0, 0, .7) 1.1px, transparent 1.5px), linear-gradient(90deg, rgba(7, 24, 32, .85), rgba(7, 24, 32, .2));
    background-size: 4px 4px, auto;
}
.page-hero:not(.page-hero--image)::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: var(--grad); opacity: .16; filter: blur(80px); z-index: -1; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); font-family: var(--font-display); font-weight: 500; font-size: 15px; }
.chip .icon { color: var(--orange-300); }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose-lg { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; color: var(--muted); }
.prose-lg strong { color: var(--ink); font-weight: 600; }
.prose-dark { color: rgba(255, 255, 255, .72); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.stats > div { padding: 28px 24px 0 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--font-display); font-size: clamp(44px, 5vw, 72px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.stats span { color: var(--muted); }
@media (max-width: 720px) {
    .stats { grid-template-columns: 1fr 1fr; }
    .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
}

/* Pastor */
.pastor-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.pastor-photo { position: relative; }
.pastor-photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius-lg); background: var(--grad); z-index: 0; }
.pastor-photo img { position: relative; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .pastor-grid { grid-template-columns: 1fr; } .pastor-photo { max-width: 460px; margin-right: 24px; } }

/* Línea de tiempo */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 56px); }
.timeline-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--sand-200); transform: translateX(-50%); border-radius: 2px; }
.timeline-line span { display: block; width: 100%; height: 0; background: var(--grad); border-radius: inherit; }
.timeline-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(48px, 7vw, 112px); align-items: start; }
.timeline-item::before { content: ""; position: absolute; left: 50%; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: var(--sand-50); border: 3px solid var(--orange); transform: translateX(-50%); z-index: 1; }
.timeline-date { text-align: right; padding-top: 2px; }
.timeline-date strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 4.4vw, 60px); line-height: .95; letter-spacing: -.03em; }
.timeline-date span { font-family: var(--font-display); font-weight: 500; color: var(--orange-600); text-transform: uppercase; letter-spacing: .12em; font-size: 14px; }
.timeline-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); }
.timeline-card img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 18px; filter: grayscale(1) contrast(1.05); transition: filter .6s; }
.timeline-card:hover img { filter: none; }
.timeline-card h3 { font-size: 22px; margin-bottom: 8px; }
.timeline-card p { color: var(--muted); font-size: 16px; }
.timeline-item:nth-child(odd) .timeline-date { order: 2; text-align: left; }
.timeline-item:nth-child(odd) .timeline-card { order: 1; }
.timeline-item--now .timeline-card { background: var(--navy-900); color: #fff; border-color: transparent; }
.timeline-item--now .timeline-card p { color: rgba(255, 255, 255, .72); }
.timeline-item--now .link-arrow { color: var(--orange-300); }
.timeline-item--now::before { background: var(--orange); box-shadow: 0 0 0 6px rgba(255, 106, 19, .2); }
@media (max-width: 760px) {
    .timeline-line, .timeline-item::before { left: 7px; }
    .timeline-item { grid-template-columns: 1fr; padding-left: 36px; gap: 10px; }
    .timeline-item .timeline-date, .timeline-item:nth-child(odd) .timeline-date { order: 0; text-align: left; display: flex; align-items: baseline; gap: 10px; }
    .timeline-item:nth-child(odd) .timeline-card { order: 1; }
    .timeline-item::before { top: 10px; }
}

/* Iglesias hijas */
.daughters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.daughter { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 22px 24px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; transition: transform .3s var(--ease), box-shadow .3s; }
.daughter:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.daughter img { margin-bottom: 18px; }
.daughter strong { font-family: var(--font-display); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.daughter > span:last-child { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.15; }
.daughter-num { position: absolute; right: 20px; top: 20px; font-family: var(--font-display); color: var(--sand-200); font-weight: 700; font-size: 28px; }
@media (max-width: 1000px) { .daughters { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .daughters { grid-template-columns: 1fr 1fr; } }

/* Equipo */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px 20px; }
.team-card { margin: 0; }
.team-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand-100); margin-bottom: 14px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-card strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.team-card span { color: var(--muted); font-size: 15px; }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; } .team-card strong { font-size: 16px; } }

/* Ministerios */
.ministries { display: grid; gap: clamp(64px, 9vw, 120px); }
.ministry { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ministry:nth-child(even) .ministry-media { order: 2; }
.ministry-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); background: var(--sand-200); }
.ministry-media img { width: 100%; height: 100%; object-fit: cover; }
.ministry-sub { font-family: var(--font-display); font-size: 20px; color: var(--orange-600); margin: 12px 0 20px; }
.ministry-body > p:not(.eyebrow):not(.ministry-sub) { color: var(--muted); font-size: 18px; }
.ministry-note { margin-top: 20px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--orange-100); color: var(--ink) !important; font-size: 16px !important; }
@media (max-width: 860px) { .ministry { grid-template-columns: 1fr; } .ministry:nth-child(even) .ministry-media { order: 0; } }

.flyer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flyer { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); }
.flyer img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.flyer figcaption { padding: 18px 20px 22px; }
.flyer strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.flyer span { color: rgba(255, 255, 255, .65); font-size: 15px; }
@media (max-width: 1000px) { .flyer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flyer-grid { grid-template-columns: 1fr; } }

.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.course { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .3s var(--ease), box-shadow .3s; }
.course:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-600); margin-bottom: 22px; }
.course h3 { font-size: 22px; }
.course-sub { font-family: var(--font-display); color: var(--orange-600); margin: 6px 0 12px; }
.course p:last-child { color: var(--muted); font-size: 16px; }
@media (max-width: 1000px) { .course-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .course-grid { grid-template-columns: 1fr; } }

.schedule-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.schedule-col { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.schedule-col h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 12px; }
.schedule-col ul { list-style: none; margin: 0; padding: 0; }
.schedule-col li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.schedule-col li:last-child { border-bottom: 0; }
.schedule-col li strong { font-family: var(--font-display); font-weight: 600; }
.schedule-col li .t { font-family: var(--font-display); font-weight: 500; color: var(--ink); }
.schedule-col li span:last-child { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .schedule-board { grid-template-columns: 1fr; } }

/* Eventos */
.event-rows { display: grid; gap: 16px; }
.event-row { display: grid; grid-template-columns: 96px 220px 1fr auto; gap: 28px; align-items: center; padding: 16px 24px 16px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s; }
.event-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.event-row-date { text-align: center; padding: 14px 0; border-radius: var(--radius-sm); background: var(--navy-900); color: #fff; }
.event-row-date strong { display: block; font-family: var(--font-display); font-size: 36px; font-weight: 600; line-height: 1; }
.event-row-date span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-300); }
.event-row-media { aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand-100); }
.event-row-media img { width: 100%; height: 100%; object-fit: cover; }
.event-row h3 { font-size: clamp(20px, 2vw, 26px); margin-bottom: 10px; transition: color .2s; }
.event-row:hover h3 { color: var(--orange-600); }
.event-row-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 15px; }
.event-row-meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-row-meta .icon { color: var(--orange); }
.event-row-end { display: flex; align-items: center; gap: 16px; }
.go-circle { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); transition: background .25s, color .25s, border-color .25s; }
.event-row:hover .go-circle { background: var(--orange); border-color: var(--orange); color: #fff; }
.event-rows--past .event-row { opacity: .75; }
.event-rows--past .event-row-date { background: var(--sand-200); color: var(--ink); }
@media (max-width: 900px) {
    .event-row { grid-template-columns: 76px 1fr; gap: 16px; padding: 14px; }
    .event-row-media { grid-column: 1 / -1; grid-row: 1; }
    .event-row-end { grid-column: 1 / -1; justify-content: space-between; }
    .event-row-date strong { font-size: 28px; }
}

.back-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .75); margin-bottom: 28px; font-family: var(--font-display); font-weight: 500; }
.back-link:hover { color: #fff; }
.event-hero-bg { filter: blur(28px) brightness(.45); transform: scale(1.2); }
.event-detail { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.event-detail-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); margin-bottom: 40px; }
.event-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.aside-label { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.countdown--light div { background: var(--sand-100); border-color: transparent; flex: 1; }
.countdown--light span { color: var(--muted); }
.aside-list { margin: 24px 0; display: grid; gap: 16px; }
.aside-list dt { display: flex; align-items: center; gap: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.aside-list dt .icon { color: var(--orange); }
.aside-list dd { margin: 4px 0 0 26px; font-family: var(--font-display); font-weight: 500; font-size: 17px; }
.muted { color: var(--muted); font-family: var(--font-body); font-size: 15px; font-weight: 400; }
.aside-actions { display: grid; gap: 10px; }
.aside-actions .btn { width: 100%; }
@media (max-width: 960px) { .event-detail { grid-template-columns: 1fr; } .event-aside { position: static; } }

/* Texto enriquecido (artículos y eventos) */
.prose { font-size: 18px; line-height: 1.8; color: #2c3b42; max-width: 72ch; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin: 1.8em 0 .6em; line-height: 1.2; }
.prose h2 { font-size: 32px; } .prose h3 { font-size: 26px; } .prose h4 { font-size: 21px; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.2em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; width: 100%; }
.prose a { color: var(--orange-600); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--orange); font-family: var(--font-display); font-size: 22px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--ink); }

/* Grupos */
.verse { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.4; letter-spacing: -.01em; padding-left: 28px; border-left: 3px solid var(--orange); }
.verse cite { display: block; margin-top: 18px; font-family: var(--font-body); font-style: normal; font-size: 15px; color: var(--muted); }
.stats--stack { grid-template-columns: 1fr; margin-top: 0; border-top: 0; }
.stats--stack > div, .stats--stack > div + div { padding: 0 0 24px; border-left: 0; border-bottom: 1px solid var(--line); margin-top: 0 !important; border-top: 0 !important; }
.stats--stack > div + div { padding-top: 24px; }
.stats--stack > div:last-child { border-bottom: 0; padding-bottom: 0; }
.stats--stack > div { display: flex; align-items: baseline; gap: 18px; }

/* Localizador */
.locator { position: relative; display: grid; grid-template-columns: 440px 1fr; height: min(720px, 80vh); min-height: 520px; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.locator-panel { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); }
.locator-search { display: flex; gap: 8px; padding: 20px 20px 12px; }
.search-field { flex: 1; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--sand-100); color: var(--muted); }
.search-field:focus-within { outline: 2px solid var(--orange); }
.search-field input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.locate-btn { padding: 0 16px; }
.locate-btn.is-loading { opacity: .6; pointer-events: none; }
.locate-btn.is-on { background: var(--grad); }
.day-filter { display: flex; gap: 6px; padding: 0 20px 12px; overflow-x: auto; scrollbar-width: none; }
.day-filter::-webkit-scrollbar { display: none; }
.day-filter button { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.day-filter button:hover { border-color: var(--ink); }
.day-filter button.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.locator-count { margin: 0; padding: 4px 20px 10px; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
.locator-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.locator-item { display: block; width: 100%; text-align: left; padding: 14px 14px; border-radius: var(--radius-sm); transition: background .2s; }
.locator-item:hover { background: var(--sand-50); }
.locator-item.is-active { background: var(--orange-100); }
.locator-item-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.locator-item strong { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.locator-item .dist { font-size: 13px; font-weight: 600; color: var(--orange-600); white-space: nowrap; }
.locator-item-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; font-size: 14px; color: var(--muted); }
.locator-item-meta span + span::before { content: "·"; margin-right: 12px; color: var(--sand-200); }
.locator-map-wrap { position: relative; min-height: 0; }
.locator-map { position: absolute; inset: 0; background: #e9e5dc; }
.locator-toggle { display: none; }
.locator-privacy { display: flex; align-items: center; gap: 8px; margin: 16px 4px 0; font-size: 14px; color: var(--muted); }
.locator-privacy .icon { color: var(--orange); }

@media (max-width: 860px) {
    .locator { grid-template-columns: minmax(0, 1fr); height: 640px; }
    .locator-panel { min-width: 0; }
    .locator-panel { border-right: 0; }
    .locator[data-view="list"] .locator-map-wrap { visibility: hidden; position: absolute; inset: 0; }
    .locator[data-view="map"] .locator-panel { display: none; }
    .locator-search { padding: 16px 16px 10px; }
    .locate-btn span { display: none; }
    .locate-btn { width: 44px; padding: 0; }
    .day-filter { padding: 0 16px 10px; }
    .locator-count { padding: 4px 16px 10px; }
    .locator-toggle { display: flex; position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 500; background: var(--navy-900); border-radius: 999px; padding: 4px; box-shadow: var(--shadow); }
    .locator-toggle button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; color: rgba(255, 255, 255, .7); font-weight: 500; font-size: 15px; }
    .locator-toggle button.is-active { background: #fff; color: var(--navy-900); }
    .locator-list { padding-bottom: 72px; }
}

/* Pines y popups del mapa */
.lr-pin span { position: absolute; left: 3px; top: 0; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad); border: 3px solid #fff; box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .45); }
.lr-pin span::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.lr-pin--church span { background: var(--navy-900); width: 34px; height: 34px; left: 0; top: -6px; }
.lr-pin--church span::after { background: var(--orange); }
.lr-cluster { display: grid; place-items: center; border-radius: 50%; background: rgba(255, 106, 19, .25); }
.lr-cluster span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .35); }
.leaflet-container { font-family: var(--font-body); }
.leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: var(--shadow); }
.leaflet-popup-content { margin: 16px 18px; }
.lr-pop { display: grid; gap: 3px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.lr-pop small { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-600); font-weight: 600; }
.lr-pop strong { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.lr-pop em { font-size: 13px; }
.lr-pop-actions { display: flex; gap: 6px; margin-top: 10px; }
.lr-btn { flex: 1; text-align: center; padding: 8px 10px; border-radius: 999px; background: var(--navy-900); color: #fff !important; font-weight: 600; font-size: 13px; }
.lr-btn--wa { background: #25d366; }
.leaflet-control-zoom a { border-radius: 10px !important; }
.leaflet-bar { border: 0 !important; box-shadow: var(--shadow-sm) !important; border-radius: 12px !important; }

/* Camino de discipulado */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: p; }
.path-step { position: relative; padding: 32px 26px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.path-step::after { content: ""; position: absolute; top: 52px; right: -22px; width: 24px; height: 2px; background: var(--grad); }
.path-step:last-child::after { display: none; }
.path-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 700; margin-bottom: 20px; }
.path-step h3 { font-size: 26px; margin-bottom: 10px; }
.path-step p { color: var(--muted); font-size: 16px; }
@media (max-width: 1000px) { .path { grid-template-columns: 1fr 1fr; } .path-step:nth-child(2)::after { display: none; } }
@media (max-width: 560px) { .path { grid-template-columns: 1fr; } .path-step::after { display: none; } }

.volunteer { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--navy-900); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.volunteer::before { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: var(--grad); opacity: .85; filter: blur(10px); z-index: -1; }
.volunteer .eyebrow { color: var(--orange-300); }
.volunteer p:not(.eyebrow) { color: rgba(255, 255, 255, .75); margin-top: 16px; max-width: 520px; }
.volunteer-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
@media (max-width: 860px) { .volunteer { grid-template-columns: 1fr; } }

.locator-map .leaflet-tile-pane { filter: grayscale(1) sepia(.12) brightness(1.04) contrast(.92); }

/* Recursos: videos */
.video-feature { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: 40px; }
.badge-new { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--orange-100); color: var(--orange-600); font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.video-card { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.video-card-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy-900); margin-bottom: 8px; }
.video-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.video-card:hover .video-card-thumb img { transform: scale(1.05); }
.play-sm { position: absolute; left: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--navy-900); transition: background .25s, color .25s; }
.video-card:hover .play-sm { background: var(--orange); color: #fff; }
.video-card strong { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; }
.playlist { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .video-feature, .playlist { grid-template-columns: 1fr; } .video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }

/* Libros */
.books { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.book-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.book-cover { aspect-ratio: 2 / 3; border-radius: 6px 14px 14px 6px; overflow: hidden; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .7), inset 4px 0 8px rgba(0, 0, 0, .2); margin-bottom: 20px; transition: transform .5s var(--ease); background: var(--navy-800); }
.book:hover .book-cover { transform: translateY(-8px) rotate(-1deg); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book h3 { font-size: 22px; }
.book .muted { color: rgba(255, 255, 255, .6); }
.book-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (max-width: 900px) { .books { grid-template-columns: 1fr; } }
.book-modal .video-frame { aspect-ratio: auto; height: min(80vh, 760px); background: #fff; }

/* Oración y formularios */
.prayer { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .prayer { grid-template-columns: 1fr; } }
.contact-form { display: grid; gap: 16px; background: #fff; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-form-wrap .contact-form { padding: 0; border: 0; box-shadow: none; background: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field span { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
    width: 100%; font: inherit; font-size: 16px; color: var(--ink);
    padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--sand-200); background: var(--sand-50);
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(255, 106, 19, .12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--orange); flex: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { margin: 0; font-size: 15px; font-weight: 500; }
.form-status.is-ok { color: #1f8a4c; }
.form-status.is-error { color: #c4361b; }
.contact-form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-info { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-600); flex: none; }
.contact-card small { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-card strong { font-family: var(--font-display); font-weight: 500; font-size: 18px; line-height: 1.3; }
.contact-hours { margin-top: 20px; padding: 24px; border-radius: var(--radius); background: var(--sand-100); }
.contact-hours ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-hours li { display: grid; }
.contact-hours strong { font-family: var(--font-display); font-weight: 600; }
.contact-hours span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact-map { position: relative; height: 480px; }
.contact-map .locator-map { position: absolute; inset: 0; }
.contact-map .leaflet-tile-pane { filter: grayscale(1) sepia(.12) brightness(1.04) contrast(.92); }
.contact-map-card-wrap { position: relative; height: 100%; display: flex; align-items: center; pointer-events: none; z-index: 500; }
.contact-map-card { pointer-events: auto; display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 460px; }
.contact-map-card div { flex: 1; display: grid; }
.contact-map-card strong { font-family: var(--font-display); font-size: 18px; }
.contact-map-card span { color: var(--muted); font-size: 15px; }
@media (max-width: 640px) {
    .contact-map-card-wrap { align-items: flex-end; padding-bottom: 16px; }
    .contact-map-card { flex-wrap: wrap; }
    .contact-map-card .btn { width: 100%; }
}

/* Radio */
.radio-page { position: relative; min-height: 100svh; display: flex; align-items: center; text-align: center; color: #fff; background: radial-gradient(circle at 50% 60%, #ff6a13 0%, #e2400b 30%, var(--navy-950) 75%); overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 48px) 0 64px; }
.radio-page::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(0, 0, 0, .55) 1.1px, transparent 1.5px); background-size: 4px 4px; }
.radio-page-inner { display: flex; flex-direction: column; align-items: center; }
.radio-page h1 { max-width: none; }
.radio-page .eyebrow::before { display: none; }
.radio-page .lead { color: rgba(255, 255, 255, .85); max-width: 560px; margin-top: 20px; }
.radio-hero-play { margin: 48px 0; width: 132px; height: 132px; border-radius: 50%; background: #fff; color: var(--orange-600); display: grid; place-items: center; box-shadow: 0 0 0 16px rgba(255, 255, 255, .14), 0 0 0 32px rgba(255, 255, 255, .06), 0 30px 60px -20px rgba(0, 0, 0, .6); transition: transform .3s var(--ease); }
.radio-hero-play:hover { transform: scale(1.06); }
.radio-hero-play .icon-pause { display: none; }
.radio-hero-play.is-playing .icon-play { display: none; }
.radio-hero-play.is-playing .icon-pause { display: block; }
.radio-hero-play .icon-play .icon { margin-left: 6px; }
.radio-page-rings { position: absolute; left: 50%; top: 50%; z-index: -1; }
.radio-page-rings i { position: absolute; left: 0; top: 0; width: 200px; height: 200px; margin: -100px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); animation: ring 4s linear infinite; }
.radio-page-rings i:nth-child(2) { animation-delay: -1s; }
.radio-page-rings i:nth-child(3) { animation-delay: -2s; }
.radio-page-rings i:nth-child(4) { animation-delay: -3s; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(5); opacity: 0; } }
.radio-page-apps p { font-family: var(--font-display); font-weight: 500; margin-bottom: 14px; color: rgba(255, 255, 255, .8); }
.radio-page-apps .app-badges { justify-content: center; }

/* Artículo */
.article-hero { padding-bottom: clamp(120px, 14vw, 180px); }
.article-head { max-width: 900px; }
.article-head h1 { max-width: none; }
.article-body { max-width: 860px; margin-top: calc(clamp(120px, 14vw, 180px) * -1 + 40px); padding-bottom: var(--section); position: relative; }
.article-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); margin-bottom: clamp(36px, 5vw, 56px); }
.article-body .prose { margin-inline: auto; }
.article-share { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 48px; padding: 20px 24px; border-radius: var(--radius); background: var(--sand-100); font-family: var(--font-display); font-weight: 500; }
