/* The Stream Church: site design (from the HTML site of November 2026: nav.css, the home page styles, footer.css). */

/* ===== NAV: ISLAS DE COLOR (2026-11-14) =====
   A floating pill; each menu opens as a card in its section color (the home page's band colors).
   On phones: a small pill on top, a bottom bar (tabbar) and a menu sheet. Markup: header.php, inc/nav.php. */
:root { --nav-safe: 78px; }
@media (min-width: 960px) { :root { --nav-safe: 96px; } }
html { scroll-padding-top: calc(var(--nav-safe) + 8px); }

.tint-sky  { --tbg: #f0f7fc; --tchip: #e0f2fe; --tink: #0369a1; --tline: rgba(3, 105, 161, 0.16); }
.tint-gold { --tbg: #fbf6ec; --tchip: #fef3c7; --tink: #8a5607; --tline: rgba(138, 86, 7, 0.16); }
.tint-mint { --tbg: #f2f8f5; --tchip: #dcfce7; --tink: #166534; --tline: rgba(22, 101, 52, 0.16); }
.tint-lav  { --tbg: #f7f4fc; --tchip: #f3e8ff; --tink: #6b21a8; --tline: rgba(107, 33, 168, 0.16); }

.isle { position: fixed; top: 12px; left: 12px; right: 12px; z-index: 60; pointer-events: none; }
.isle-pill {
    pointer-events: auto; position: relative; isolation: isolate; display: flex; align-items: center; gap: 8px;
    max-width: 1180px; height: 58px; margin: 0 auto; padding: 0 8px 0 9px;
    border-radius: 9999px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10); transition: box-shadow 0.3s ease;
}
/* The frosted glass sits on its own layer: a backdrop-filter on the pill itself made some browsers
   paint the open card (a child that hangs below the pill) see-through. */
.isle-pill::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.isle.scrolled .isle-pill, .isle.mega-open .isle-pill { box-shadow: 0 14px 40px rgba(15, 23, 42, 0.16); }
.isle-logo { display: flex; flex: none; border-radius: 50%; }
.isle-logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.isle-links { display: none; }
.isle a:focus-visible, .isle button:focus-visible, .tabbar-link:focus-visible, .sheet a:focus-visible { outline: 3px solid var(--stream-500); outline-offset: 2px; }

.isle-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
    padding: 11px 20px; border-radius: 9999px; font-weight: 850; color: #2a1a02;
    background: linear-gradient(180deg, #f8c457, var(--gold-500));
    box-shadow: 0 8px 20px rgba(217, 155, 38, 0.30); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.isle-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(217, 155, 38, 0.40); }
.isle-cta { margin-left: auto; padding: 9px 16px; font-size: 0.92rem; }
.isle-cta-arrow { display: none; }

.isle-link {
    display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; cursor: pointer;
    padding: 11px 16px; border: 0; border-radius: 9999px; background: none;
    font: inherit; font-size: 0.98rem; font-weight: 800; color: var(--ink-700);
    transition: background 0.2s ease, color 0.2s ease;
}
.isle-link:hover { background: var(--surface-ivory); color: var(--ink-900); }
a.isle-link.active, .isle-item.has-current > .isle-toggle { color: var(--stream-700); }
.isle-item.has-current > .isle-toggle { color: var(--tink); }
.isle-item.open > .isle-toggle { background: var(--tchip); color: var(--tink); }
.isle-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tink); flex: none; }
.isle-chev { opacity: 0.55; transition: transform 0.25s ease; }
.isle-item.open .isle-chev { transform: rotate(180deg); }

.isle-mega {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 12px);
    grid-template-columns: 220px minmax(0, 1fr) 270px; gap: 24px; padding: 26px;
    background: var(--tbg); border: 1px solid var(--tline); border-radius: 30px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
}
.isle-item.open .isle-mega { display: grid; animation: isleIn 0.22s ease; }
html:not(.isle-js) .isle-item:focus-within .isle-mega { display: grid; }
@keyframes isleIn { from { opacity: 0; transform: translateY(-6px); } }
.isle-kicker {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 9999px;
    background: var(--tchip); color: var(--tink); border: 1px solid var(--tline); font-weight: 850; font-size: 0.82rem;
}
.isle-mega-head p { margin-top: 14px; font-size: 1.45rem; font-weight: 850; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink-900); }
.isle-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; align-content: start; }
.isle-tile {
    display: flex; gap: 13px; align-items: flex-start; padding: 15px; border-radius: 20px;
    background: #ffffff; border: 1px solid rgba(20, 27, 41, 0.06); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.isle-tile:hover, .isle-tile:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08); }
.isle-tile.active { border-color: var(--tink); }
.isle-chip { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 14px; background: var(--tchip); color: var(--tink); }
.isle-tile-title { display: block; font-weight: 850; font-size: 0.98rem; line-height: 1.25; color: var(--ink-900); }
.isle-tile-desc { display: block; margin-top: 3px; font-size: 0.86rem; line-height: 1.35; color: var(--ink-600); }
.isle-feature { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 250px; border-radius: 22px; overflow: hidden; color: #ffffff; }
.isle-feature img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 0.5s ease; }
.isle-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 15, 30, 0.96) 0%, rgba(10, 15, 30, 0.88) 34%, rgba(10, 15, 30, 0) 72%); }
.isle-feature:hover img { transform: scale(1.04); }
.isle-feature-text { display: block; padding: 18px; }
.isle-feature-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 9999px; background: rgba(255, 255, 255, 0.2); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.isle-feature-title { display: block; margin-top: 10px; font-size: 1.22rem; font-weight: 850; line-height: 1.2; }
.isle-feature-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 0.88rem; font-weight: 800; color: var(--gold-400); }
.isle-visit { padding: 20px; border-radius: 22px; background: #ffffff; border: 1px solid var(--tline); align-self: start; }
.isle-visit-k { font-size: 0.74rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tink); }
.isle-visit p { display: flex; gap: 9px; margin-top: 12px; font-weight: 700; font-size: 0.94rem; line-height: 1.4; color: var(--ink-700); }
.isle-visit p svg { color: var(--tink); margin-top: 1px; }
.isle-visit .isle-btn { margin-top: 16px; padding: 9px 16px; font-size: 0.88rem; }

@media (min-width: 960px) {
    .isle { top: 18px; left: 16px; right: 16px; }
    .isle-pill { height: 70px; padding: 0 12px 0 13px; }
    .isle-logo img { width: 44px; height: 44px; }
    .isle-links { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
    .isle-cta { margin-left: 0; padding: 12px 22px; font-size: 1rem; }
    .isle-cta-arrow { display: inline-block; }
}
@media (min-width: 960px) and (max-width: 1199px) {
    .isle-link { padding: 10px 12px; font-size: 0.94rem; }
    .isle-mega { grid-template-columns: minmax(0, 1fr) 240px; }
    .isle-mega-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
    .isle-mega-head p { margin-top: 0; font-size: 1.15rem; }
}

/* Phone: bottom bar and menu sheet */
.tabbar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 70;
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); height: 66px; padding: 5px;
    background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light); border-radius: 24px; box-shadow: 0 -2px 30px rgba(15, 23, 42, 0.14);
}
.tabbar-link {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0;
    border: 0; border-radius: 18px; background: none; cursor: pointer;
    font: inherit; font-size: 0.72rem; font-weight: 800; line-height: 1.1; color: var(--ink-600);
}
.tabbar-link span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabbar-link.active, .tabbar-menu.active { background: var(--surface-sky); color: var(--stream-700); }
.tabbar-close, .tabbar-menu.active .tabbar-open { display: none; }
.tabbar-menu.active .tabbar-close { display: inline-block; }

.sheet { position: fixed; inset: 0; z-index: 65; }
.sheet[hidden] { display: none; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(20, 27, 41, 0.38); opacity: 0; transition: opacity 0.25s ease; }
.sheet-panel {
    position: absolute; left: 0; right: 0; bottom: 0; max-height: calc(100% - 84px); overflow: auto; overscroll-behavior: contain;
    padding: 10px 14px calc(96px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0;
    background: var(--surface-ivory); box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.18);
    transform: translateY(100%); transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sheet.is-open .sheet-scrim { opacity: 1; }
.sheet.is-open .sheet-panel { transform: none; }
.sheet-handle { width: 44px; height: 5px; margin: 0 auto 12px; border-radius: 5px; background: #d6d0c4; }
.sheet-sec { margin-bottom: 10px; padding: 14px; border-radius: 22px; background: var(--tbg); border: 1px solid var(--tline); }
.sheet-title { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 0.8rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; color: var(--tink); }
.sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sheet-link {
    display: flex; flex-direction: column; gap: 7px; min-height: 44px; padding: 11px; border-radius: 16px;
    background: #ffffff; border: 1px solid rgba(20, 27, 41, 0.05); font-weight: 800; font-size: 0.9rem; line-height: 1.2; color: var(--ink-900);
}
.sheet-link .isle-chip { width: 32px; height: 32px; border-radius: 10px; }
.sheet-link.active { border-color: var(--tink); }
.sheet-solo-link { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 12px 14px; border-radius: 18px; background: #ffffff; border: 1px solid var(--border-light); font-weight: 850; color: var(--ink-900); }
.sheet-solo-link .isle-chip { width: 34px; height: 34px; border-radius: 11px; }
.sheet-arrow { margin-left: auto; color: var(--ink-600); }
.sheet-cta { display: flex; width: 100%; margin-top: 6px; padding: 14px; }
html.sheet-open { overflow: hidden; }
.sheet-panel:focus { outline: none; }

@media (max-width: 959px) {
    body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
    .floating-cta { display: none; }
}
@media (min-width: 960px) { .tabbar, .sheet { display: none !important; } }

/* WordPress admin bar: keep the menu below it. */
.admin-bar .isle { top: 44px; }
@media (min-width: 960px) { .admin-bar .isle { top: 50px; } }
@media (max-width: 782px) { .admin-bar .isle { top: 58px; } }

.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.22); flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
    .isle-pill, .isle-link, .isle-chev, .isle-tile, .isle-feature img, .isle-btn, .sheet-scrim, .sheet-panel { transition: none !important; }
    .isle-item.open .isle-mega { animation: none; }
}

/* ---- Home page and shared design ---- */
@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url('../fonts/nunito-sans-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Nunito Sans';
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
    src: url('../fonts/nunito-sans-latin-italic.woff2') format('woff2');
}

:root {
    --surface-white: #ffffff;
    --surface-ivory: #fcfaf6;
    --surface-cream: #f7f3eb;
    --surface-stone: #efe8dc;
    --surface-sky: #f0f7fc;
    --surface-lavender: #f7f4fc;
    --surface-mint: #f2f8f5;
    --ink-900: #141b29;
    --ink-700: #334155;
    --ink-600: #475569;
    --gold-400: #f5b942;
    --gold-500: #d99b26;
    --gold-700: #8a5607;
    --stream-400: #38bdf8;
    --stream-500: #0ea5e9;
    --stream-700: #0369a1;
    --terracotta: #b44b32;
    --plum-700: #6d28d9;
    --border-light: rgba(20, 27, 41, 0.09);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow-soft: 0 16px 44px rgba(15, 23, 42, 0.07);
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.05);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background-color: var(--surface-ivory);
    color: var(--ink-900);
    line-height: 1.65;
    overflow-x: hidden;
    width: 100%;
    min-width: 320px;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    color: var(--ink-900);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    position: relative;
    width: 100%;
    overflow-x: clip;
}

.container {
    width: 100%;
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 18px;
}

@media (min-width: 640px) { .container { padding: 0 28px; } }
@media (min-width: 1024px) { .container { padding: 0 36px; } }

.band { padding: 72px 0; }
@media (min-width: 768px) { .band { padding: 100px 0; } }

.band-white { background-color: var(--surface-white); }
.band-ivory { background-color: var(--surface-ivory); }
.band-cream { background-color: var(--surface-cream); }
.band-sky { background: linear-gradient(180deg, #eff7fd 0%, #f8fbfe 100%); }
.band-mint { background: linear-gradient(180deg, #f3f9f6 0%, #fcfaf6 100%); }

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 10000;
    padding: 12px 20px;
    background: var(--ink-900);
    color: #ffffff;
    border-radius: 10px;
    transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid var(--stream-700);
    outline-offset: 3px;
}

/* ===== BUTTONS & TYPOGRAPHY ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 26px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.96rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
    background: linear-gradient(135deg, #f5b942, #d99b26);
    color: #141b29;
    box-shadow: 0 10px 26px rgba(217, 155, 38, 0.28);
}
.btn-gold:hover { box-shadow: 0 14px 32px rgba(217, 155, 38, 0.4); }

.btn-stream {
    background: linear-gradient(135deg, #0ea5e9, #0369a1);
    color: #ffffff;
    box-shadow: 0 10px 26px rgba(3, 105, 161, 0.24);
}
.btn-stream:hover { box-shadow: 0 14px 32px rgba(3, 105, 161, 0.36); }

.btn-outline {
    background: #ffffff;
    border-color: rgba(20, 27, 41, 0.16);
    color: var(--ink-900);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}
.btn-outline:hover {
    border-color: var(--stream-700);
    color: var(--stream-700);
    background: #f8fcff;
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.kicker-gold {
    background: #fef3c7;
    color: var(--gold-700);
    border: 1px solid rgba(138, 86, 7, 0.2);
}

.kicker-stream {
    background: #e0f2fe;
    color: var(--stream-700);
    border: 1px solid rgba(3, 105, 161, 0.2);
}

.kicker-live {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid rgba(185, 28, 28, 0.24);
}

.kicker-plum {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid rgba(107, 33, 168, 0.2);
}

.kicker-mint {
    background: #dcfce7;
    color: #166534;
    border: 1px solid rgba(22, 101, 52, 0.2);
}

.section-title {
    font-size: clamp(2rem, 4.8vw, 3.15rem);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    color: var(--ink-900);
}

.accent-stream { color: var(--stream-700); }
.accent-gold { color: var(--gold-700); }
.accent-plum { color: var(--plum-700); }

.section-subtitle {
    font-size: 1.08rem;
    color: var(--ink-600);
    line-height: 1.65;
}

/* ===== SUNLIT HERO SECTION (100% LIGHT) ===== */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 112px 0 84px;
    background:
        radial-gradient(ellipse at 12% 18%, rgba(14, 165, 233, 0.14) 0%, transparent 48%),
        radial-gradient(ellipse at 86% 24%, rgba(245, 185, 66, 0.22) 0%, transparent 46%),
        radial-gradient(ellipse at 55% 88%, rgba(180, 75, 50, 0.08) 0%, transparent 45%),
        var(--surface-ivory);
    overflow: hidden;
}

.hero-bg-soft {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.07;
    filter: saturate(1.1);
    z-index: 0;
}

.hero-svg-streams {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 10;
    display: grid;
    gap: 44px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.12fr 0.88fr;
        gap: 56px;
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid rgba(3, 105, 161, 0.18);
    color: var(--stream-700);
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(3, 105, 161, 0.08);
}

.hero-eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-500);
}

.hero h1 {
    font-size: clamp(2.35rem, 5.2vw, 4.25rem);
    letter-spacing: -0.025em;
    color: var(--ink-900);
    margin-bottom: 6px;
}

.hero-stream-name {
    font-size: clamp(2.1rem, 4.5vw, 3.6rem);
    font-weight: 900;
    letter-spacing: 0.01em;
    background: linear-gradient(120deg, #0369a1 0%, #0ea5e9 48%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 18px;
}

.hero-tagline {
    font-size: clamp(1.15rem, 2.1vw, 1.42rem);
    font-style: italic;
    font-weight: 500;
    color: var(--ink-700);
    margin-bottom: 28px;
    padding-left: 16px;
    border-left: 4px solid var(--gold-500);
}

.hero-intro {
    max-width: 34rem;
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--ink-700);
    margin: -10px 0 28px;
}

/* Silent loop over the hero photo (front-page.php, initHeroVideo). Hidden until it plays. */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero-video-bg { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-video-bg.is-playing { opacity: 0.07; }
@media (prefers-reduced-motion: reduce) {
    .hero-video, .hero-video-bg { display: none; }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

@media (max-width: 540px) {
    .hero-actions .btn { width: 100%; }
}

.hero-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--ink-900);
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-contact-pill:hover {
    transform: translateY(-2px);
    border-color: var(--stream-500);
}

.hero-visual-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-arch-frame {
    position: relative;
    border-radius: 190px 190px 28px 28px;
    overflow: hidden;
    border: 6px solid #ffffff;
    background: #ffffff;
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(217, 155, 38, 0.28);
    aspect-ratio: 16 / 11;
}

.hero-arch-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-arch-caption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(20, 27, 41, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.86rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.hero-feature-cards {
    display: grid;
    gap: 12px;
}

.hero-mini-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-mini-card:hover {
    transform: translateY(-2px);
    border-color: var(--stream-500);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.hero-mini-card.tribute {
    background: linear-gradient(135deg, #fffdf8 0%, #fef7e6 100%);
    border-color: rgba(217, 155, 38, 0.35);
}

.hero-mini-thumb {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #e0f2fe;
}

.hero-mini-thumb.round {
    border-radius: 50%;
    object-position: center 18%;
    border-color: var(--gold-400);
}

.hero-mini-text { flex: 1; min-width: 0; }

.hero-mini-kicker {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-700);
    margin-bottom: 2px;
}

.hero-mini-title {
    display: block;
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--ink-900);
}

.hero-mini-sub {
    display: block;
    font-size: 0.82rem;
    color: var(--ink-600);
}

.hero-wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 54px;
    z-index: 10;
    pointer-events: none;
}

/* ===== SERVICIOS SECTION ===== */
.servicios-showcase {
    display: grid;
    gap: 28px;
    margin-bottom: 36px;
    align-items: stretch;
}

@media (min-width: 960px) {
    .servicios-showcase { grid-template-columns: 1.05fr 1.95fr; }
}

.servicios-photo-panel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 260px;
    border: 5px solid var(--surface-ivory);
    box-shadow: var(--shadow-soft);
}

.servicios-photo-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.servicios-photo-caption {
    position: absolute;
    inset: auto 14px 14px 14px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    color: var(--ink-900);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.servicios-cards {
    display: grid;
    gap: 18px;
}

@media (min-width: 640px) { .servicios-cards { grid-template-columns: repeat(3, 1fr); } }

.servicio-card {
    background: var(--surface-ivory);
    border: 1px solid var(--border-light);
    border-top: 4px solid #0ea5e9;
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.servicio-card.sat { border-top-color: var(--gold-500); }
.servicio-card.sun { border-top-color: #9333ea; }

.servicio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
}

.servicio-badge-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.servicio-badge-icon.thu { background: #e0f2fe; color: var(--stream-700); }
.servicio-badge-icon.sat { background: #fef3c7; color: var(--gold-700); }
.servicio-badge-icon.sun { background: #f3e8ff; color: #6b21a8; }

.servicio-card h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.servicio-card .servicio-desc {
    color: var(--ink-600);
    font-size: 1.02rem;
    margin-bottom: 20px;
}

.servicio-time-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 8px 16px;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--ink-900);
    font-weight: 800;
    font-size: 0.95rem;
}

.servicios-transport-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 28px;
    border-radius: 9999px;
    background: var(--surface-sky);
    border: 1px solid rgba(3, 105, 161, 0.18);
    max-width: max-content;
    margin: 0 auto;
    color: var(--ink-900);
    text-align: center;
}

.servicios-transport-bar a {
    color: var(--stream-700);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===== ANUNCIOS / CALENDARIO ===== */
.calendar-shell {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.calendar-topbar {
    height: 5px;
    background: linear-gradient(90deg, #0ea5e9, #f5b942, #b44b32);
}

.calendar-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-light);
}

.calendar-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.calendar-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0ea5e9, #0369a1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.calendar-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: #dcfce7;
    color: #166534;
    font-size: 0.85rem;
    font-weight: 800;
    margin-top: 16px;
}

.calendar-status-pill .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
}

.lazy-embed {
    display: grid;
    place-items: center;
    min-height: 320px;
    border-radius: 16px;
    margin: 24px;
    background: var(--surface-ivory);
    border: 1.5px dashed rgba(20, 27, 41, 0.16);
    color: var(--ink-600);
}

.band-sky .lazy-embed {
    min-height: 440px;
    background: linear-gradient(135deg, #f8fbff 0%, #eff6ff 100%);
    border-color: rgba(3, 105, 161, 0.24);
}

.lazy-embed-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 480px;
    padding: 32px 20px;
    text-align: center;
}

.whatsapp-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
    color: var(--ink-600);
    font-weight: 600;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 20px;
    border-radius: 9999px;
    background: #15803d;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    background: #166534;
}

/* ===== EN VIVO (BRIGHT SKY STUDIO) ===== */
.studio-frame {
    position: relative;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(3, 105, 161, 0.14);
    box-shadow: var(--shadow-soft);
    overflow: visible;
    padding: 4px;
}

#boxcast-widget-fgejutg1ypf8iy0eejtk,
#boxcast-widget-fgejutg1ypf8iy0eejtk * {
    color: #000000 !important;
}

.envivo-features {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

@media (min-width: 768px) { .envivo-features { grid-template-columns: repeat(3, 1fr); } }

.envivo-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 22px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.envivo-card .label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--ink-600);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.envivo-card .value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink-900);
}

.social-pill-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 18px;
    border-radius: 9999px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    transition: transform 0.2s ease;
}
.social-pill:hover { transform: translateY(-2px); }
.social-pill.fb { background: #1877f2; }
.social-pill.yt { background: #cc0000; }

/* ===== PASTORES ===== */
.pastores-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 640px) { .pastores-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pastores-grid { grid-template-columns: repeat(4, 1fr); } }

.pastor-card {
    background: var(--surface-ivory);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pastor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

.pastor-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #ebe4d8;
}

.pastor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.pastor-card:hover .pastor-photo img { transform: scale(1.05); }

.pastor-role-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.pastor-role-chip.general { background: #fef3c7; color: var(--gold-700); }
.pastor-role-chip.local { background: #e0f2fe; color: var(--stream-700); }

.pastor-body { padding: 20px; text-align: center; }

.pastor-body h3 {
    font-size: 1.22rem;
    margin-bottom: 8px;
}

.pastor-ig {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 6px 12px;
    border-radius: 9999px;
    color: var(--ink-600);
    font-size: 0.86rem;
    font-weight: 600;
    transition: color 0.2s ease, background-color 0.2s ease;
}
.pastor-ig:hover {
    color: var(--ink-900);
    background: #ffffff;
}

.pastores-cta-row {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ===== MINISTERIO DE ARTES (SUNLIT PEARL & LAVENDER) ===== */
.artes-band {
    background: linear-gradient(135deg, #fbf7ff 0%, #fcfaf6 55%, #fff8ec 100%);
}

.artes-bg-soft {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.06;
    z-index: 0;
}

.artes-grid {
    position: relative;
    z-index: 10;
    display: grid;
    gap: 44px;
    align-items: center;
}

@media (min-width: 1024px) { .artes-grid { grid-template-columns: 1.08fr 0.92fr; } }

.pillar-list {
    display: grid;
    gap: 14px;
    margin: 26px 0;
}

.pillar-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
}

.pillar-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pillar-icon.mision { background: #f3e8ff; color: #6b21a8; }
.pillar-icon.pasion { background: #fce7f3; color: #9d174d; }
.pillar-icon.entrega { background: #fef3c7; color: var(--gold-700); }

.pillar-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b21a8;
    margin-bottom: 2px;
}

.pillar-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink-900);
}

.artes-verse {
    padding: 22px 24px;
    border-radius: 16px;
    background: #ffffff;
    border-left: 4px solid #7e22ce;
    box-shadow: var(--shadow-card);
}

.artes-verse p {
    font-style: italic;
    font-size: 1.08rem;
    color: var(--ink-900);
    margin-bottom: 8px;
}

.artes-verse cite {
    font-style: normal;
    font-weight: 800;
    color: #6b21a8;
}

.artes-frame {
    position: relative;
    border-radius: 24px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid rgba(107, 33, 168, 0.14);
    box-shadow: var(--shadow-soft);
}

.artes-frame img {
    border-radius: 16px;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.artes-caption-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-light);
    color: var(--ink-900);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}

/* ===== EVENTOS / FACEBOOK (LIGHT PANEL) ===== */
.eventos-panel {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 32px;
    align-items: center;
}

@media (min-width: 820px) {
    .eventos-panel {
        padding: 44px;
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.fb-preview-card {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    border: 1px solid rgba(24, 119, 242, 0.18);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 14px 32px rgba(24, 119, 242, 0.08);
}

.fb-preview-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(24, 119, 242, 0.14);
}

.fb-preview-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1877f2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fb-activity-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.fb-activity-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-900);
    font-weight: 700;
}

.fb-activity-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1877f2;
    flex-shrink: 0;
}

/* ===== VERSICULO (GOLDEN-HOUR PARCHMENT) ===== */
.versiculo-band {
    background: linear-gradient(135deg, #fdf8ec 0%, #f5efe2 55%, #eef7fc 100%);
}

.versiculo-bg-soft {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.08;
    z-index: 0;
}

.versiculo-card {
    position: relative;
    z-index: 10;
    max-width: 840px;
    margin: 0 auto;
    padding: 48px 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(217, 155, 38, 0.34);
    backdrop-filter: blur(14px);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) { .versiculo-card { padding: 56px 52px; } }

.versiculo-card blockquote {
    font-size: clamp(1.22rem, 2.8vw, 1.85rem);
    font-weight: 700;
    font-style: italic;
    line-height: 1.65;
    color: var(--ink-900);
    margin: 18px 0 28px;
}

.versiculo-cite {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--gold-700);
    font-weight: 800;
    font-size: 1.05rem;
}

.versiculo-cite::before,
.versiculo-cite::after {
    content: '';
    width: 36px;
    height: 2px;
    background: var(--gold-500);
}

/* ===== COMUNIDAD (LIGHT MINT & IVORY) ===== */
.comunidad-grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) { .comunidad-grid { grid-template-columns: 1fr 1.05fr; } }

.comunidad-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--terracotta);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.comunidad-photo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #ffffff;
    border: 1px solid var(--border-light);
    padding: 10px;
}

.comunidad-photo-card img {
    border-radius: 16px;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.comunidad-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
    padding: 14px;
    border-radius: 14px;
    background: var(--surface-ivory);
    border: 1px solid var(--border-light);
    text-align: center;
}

.comunidad-stat-num {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--stream-700);
}

.comunidad-stat-lbl {
    display: block;
    font-size: 0.82rem;
    color: var(--ink-600);
    font-weight: 600;
}

.comunidad-love-tag {
    position: absolute;
    top: 22px;
    right: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 9999px;
    background: #ffffff;
    color: var(--ink-900);
    font-weight: 800;
    font-size: 0.88rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

/* Gallery Marquee */
.gallery-box { margin-top: 64px; }

.gallery-track-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}

.gallery-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: gallery-marquee 55s linear infinite;
}

.gallery-track:hover { animation-play-state: paused; }

@keyframes gallery-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.gallery-item {
    width: 240px;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

@media (max-width: 640px) {
    .gallery-item { width: 185px; height: 140px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .gallery-track-wrap { overflow-x: auto; }
    .gallery-track { animation: none; }
    .gallery-item[data-duplicate="true"] { display: none; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Lightbox (warm light frame) */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(250, 247, 242, 0.94);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox-modal.active { display: flex; }
.lightbox-content { position: relative; max-width: 900px; width: 100%; text-align: center; }
.lightbox-content img {
    max-height: 78vh;
    margin: 0 auto;
    border-radius: 16px;
    border: 6px solid #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}
.lightbox-caption { margin-top: 14px; color: var(--ink-900); font-weight: 700; }
.lightbox-close {
    position: absolute;
    top: -54px;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(20, 27, 41, 0.16);
    background: #ffffff;
    color: var(--ink-900);
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
    display: grid;
    gap: 14px;
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    min-height: 56px;
    cursor: pointer;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--ink-900);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-toggle-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface-cream);
    color: var(--gold-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 800;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq-item[open] .faq-toggle-icon {
    transform: rotate(45deg);
    background: var(--gold-400);
    color: var(--ink-900);
}

.faq-answer {
    padding: 14px 24px 22px;
    color: var(--ink-600);
    line-height: 1.7;
    border-top: 1px solid rgba(20, 27, 41, 0.06);
}

/* ===== LIGHT FOOTER OVERRIDES (index.html only) ===== */
footer.footer {
    background: linear-gradient(180deg, var(--surface-stone) 0%, #e7dfd0 100%) !important;
    color: var(--ink-900) !important;
    border-top: 1px solid rgba(20, 27, 41, 0.09);
}

footer.footer h3,
footer.footer h4 {
    color: var(--ink-900);
}

footer.footer .gradient-text {
    background: linear-gradient(120deg, #0369a1, #b45309);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

footer.footer p.tagline {
    color: var(--ink-700) !important;
}

footer.footer .footer-contact a,
footer.footer .footer-contact div {
    color: var(--ink-700) !important;
}

footer.footer .footer-contact a:hover {
    color: var(--stream-700) !important;
}

footer.footer .footer-pastores p:first-child {
    color: var(--ink-600) !important;
}

footer.footer .footer-pastores p:last-child {
    color: var(--ink-900) !important;
    font-weight: 700;
}

footer.footer .footer-map {
    background: #ffffff !important;
    border-color: var(--border-light) !important;
    color: var(--ink-900) !important;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

footer.footer .footer-map i {
    color: var(--gold-700) !important;
}

footer.footer .footer-divider {
    background: linear-gradient(to right, transparent, rgba(20, 27, 41, 0.16), transparent) !important;
}

footer.footer .footer-bottom,
footer.footer .footer-bottom p {
    color: var(--ink-600) !important;
}

/* ===== FLOATING CTA ===== */
.floating-cta {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 100;
}

.floating-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #f5b942, #d99b26);
    color: var(--ink-900);
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(217, 155, 38, 0.36), 0 0 0 4px rgba(255, 255, 255, 0.8);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(217, 155, 38, 0.48), 0 0 0 4px #ffffff;
}


/* ---- footer.css ---- */
/* Externalized Footer and Carousel Styles */
.footer {
            position: relative;
            padding: 80px 0 32px;
            overflow: hidden;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.5), transparent);
        }

        .footer-grid {
            display: grid;
            gap: 40px;
            margin-bottom: 64px;
        }

        @media (max-width: 767px) {
            .footer-grid {
                display: block;
            }

            .footer-grid>div {
                display: block;
                margin-bottom: 32px;
            }
        }

        @media (min-width: 768px) {
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .footer-grid {
                grid-template-columns: 2fr 1fr 1fr;
            }
        }

        .footer-brand h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .footer-brand p.gradient-text {
            font-size: 1.25rem;
            margin-bottom: 16px;
        }

        .footer-brand p.tagline {
            font-size: 1.125rem;
            font-style: italic;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 24px;
            font-family: 'Nunito Sans', sans-serif;
        }

        .footer-contact {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .footer-contact a {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            color: rgba(255, 255, 255, 0.7);
            transition: color 0.3s ease;
        }

        .footer-contact a:hover {
            color: #60a5fa;
        }

        .footer-contact a i {
            flex-shrink: 0;
            margin-top: 2px;
        }

        /* ===== SLIDESHOW ===== */
        .slideshow-container {
            width: 100%;
        }

        .slideshow-wrapper {
            position: relative;
            overflow: hidden;
        }

        .slideshow-track {
            display: flex;
            gap: 16px;
            animation: slideshow-scroll 60s linear infinite;
            width: max-content;
        }

        .slideshow-track:hover {
            animation-play-state: paused;
        }

        .slideshow-item {
            flex-shrink: 0;
            width: 280px;
            height: 200px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .slideshow-item:hover {
            transform: scale(1.05);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
        }

        .slideshow-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .slideshow-item:hover img {
            transform: scale(1.1);
        }

        @keyframes slideshow-scroll {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        @media (max-width: 768px) {
            .slideshow-item {
                width: 220px;
                height: 160px;
            }
        }

        /* Make slideshow images clickable */
        .slideshow-item {
            cursor: pointer;
        }

        /* Lightbox Modal */
        .lightbox-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .lightbox-modal.active {
            display: flex;
        }

        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
        }

        .lightbox-content img {
            max-width: 100%;
            max-height: 85vh;
            border-radius: 8px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        .lightbox-close {
            position: absolute;
            top: -40px;
            right: 0;
            background: none;
            border: none;
            color: white;
            font-size: 32px;
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.3s ease;
        }

        .lightbox-close:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .lightbox-caption {
            color: white;
            text-align: center;
            margin-top: 16px;
            font-size: 16px;
            opacity: 0.9;
        }

        .footer-contact a .external {
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .footer-contact a:hover .external {
            opacity: 1;
        }

        .footer h4 {
            font-family: 'Nunito Sans', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 16px;
        }

        .footer-pastores {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .footer-pastores p:first-child {
            color: rgba(255, 255, 255, 0.6);
            font-size: 14px;
        }

        .footer-pastores p:last-child {
            color: white;
        }

        .footer-social {
            display: flex;
            gap: 12px;
            margin-bottom: 24px;
        }

        .footer-social a {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
        }

        .footer-social a:hover {
            transform: scale(1.1);
        }

        .footer-social a.instagram {
            background: linear-gradient(135deg, #a855f7, #ec4899);
        }

        .footer-social a.facebook {
            background: linear-gradient(135deg, #3b82f6, #2563eb);
        }

        .footer-social a.youtube {
            background: linear-gradient(135deg, #ef4444, #dc2626);
        }

        @media (max-width: 768px) {
            .footer .scroll-reveal {
                opacity: 1 !important;
                transform: translateY(0) !important;
            }

            .footer-social {
                display: flex !important;
                gap: 16px !important;
                margin-bottom: 24px !important;
                opacity: 1 !important;
                visibility: visible !important;
            }

            .footer-social a {
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                width: 52px !important;
                height: 52px !important;
                min-width: 52px !important;
                min-height: 52px !important;
                border-radius: 50% !important;
                opacity: 1 !important;
                visibility: visible !important;
            }

            .footer-social a.instagram {
                background: linear-gradient(135deg, #a855f7, #ec4899) !important;
            }

            .footer-social a.facebook {
                background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
            }

            .footer-social a.youtube {
                background: linear-gradient(135deg, #ef4444, #dc2626) !important;
            }

            .footer-social a svg {
                width: 22px !important;
                height: 22px !important;
                display: block !important;
                opacity: 1 !important;
                visibility: visible !important;
            }

            .footer-social a svg * {
                stroke: white !important;
            }
        }

        .footer-map {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 16px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            color: rgba(255, 255, 255, 0.8);
            transition: all 0.3s ease;
        }

        .footer-map:hover {
            color: white;
            background: rgba(255, 255, 255, 0.1);
        }

        .footer-map i {
            color: #fbbf24;
        }

        .footer-divider {
            height: 1px;
            background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
            margin-bottom: 32px;
        }

        .footer-bottom {
            text-align: center;
        }

        .footer-bottom p {
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
            margin-bottom: 16px;
        }

        .footer-bottom p:last-child {
            color: rgba(255, 255, 255, 0.3);
            font-size: 12px;
            margin-bottom: 0;
        }
/* Scrollbar: the site's dark and lime colors. Firefox and newer Chrome read scrollbar-color;
   Safari reads the ::-webkit-scrollbar rules. */
html { scrollbar-color: #C8FF2E #0E0E0D; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0E0E0D; }
::-webkit-scrollbar-thumb { background: #C8FF2E; border: 2px solid #0E0E0D; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #d8ff6a; }


/* ---- WordPress theme additions ---- */
/* Footer credits (inline styles on the HTML site). */
.footer-credit { text-align: center; padding: 28px 0 16px; }
.footer-credit-pill { display: inline-flex; align-items: center; gap: 12px; padding: 12px 24px; background: #ffffff; border: 1px solid rgba(21, 128, 61, 0.25); border-radius: 50px; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05); }
.footer-credit-label { color: var(--ink-600); font-size: 13px; }
.footer-credit-name { color: #15803d; font-size: 14px; }
.footer-credit-links { display: flex; gap: 8px; }
.footer-credit-links a { width: 28px; height: 28px; border-radius: 50%; background: #dcfce7; display: flex; align-items: center; justify-content: center; }
.footer-host { text-align: center; padding: 8px 0 20px; }
.footer-host a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: #ffffff; border: 1px solid var(--border-light); border-radius: 20px; }
.footer-host-label { color: var(--ink-600); font-size: 11px; }
.footer-host-name { color: var(--stream-700); font-size: 11px; font-weight: 700; }
/* Icons are inline SVG here (the HTML site swapped <i data-lucide> for the same SVG at load). */
svg.lucide { flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ===== INNER PAGES (same palette, shapes and type as the home page) ===== */
.page-hero {
    position: relative;
    padding: 136px 0 104px;
    text-align: center;
    background:
        radial-gradient(ellipse at 12% 18%, rgba(14, 165, 233, 0.14) 0%, transparent 48%),
        radial-gradient(ellipse at 86% 24%, rgba(245, 185, 66, 0.22) 0%, transparent 46%),
        radial-gradient(ellipse at 55% 88%, rgba(180, 75, 50, 0.08) 0%, transparent 45%),
        var(--surface-ivory);
    overflow: hidden;
}
@media (min-width: 768px) { .page-hero { padding: 168px 0 132px; } }
.page-hero-inner { position: relative; z-index: 10; max-width: 860px; }
.page-hero h1 {
    font-size: clamp(2.35rem, 5.6vw, 4.25rem);
    letter-spacing: -0.025em;
    margin-bottom: 18px;
}
.page-hero-subtitle {
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    font-style: italic;
    font-weight: 500;
    color: var(--ink-700);
    max-width: 640px;
    margin: 0 auto;
}
.page-hero .hero-bg-soft { opacity: 0.09; }

.leader-grid {
    display: grid;
    gap: 40px;
    align-items: start;
}
@media (min-width: 1024px) {
    .leader-grid { grid-template-columns: 0.82fr 1.18fr; gap: 56px; }
    .leader-people { position: sticky; top: 104px; }
}
.leader-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
@media (max-width: 420px) { .leader-cards { gap: 12px; } .leader-cards .pastor-body { padding: 16px 14px 18px; } }
.leader-note {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: var(--surface-cream);
    border: 1px solid var(--border-light);
    color: var(--ink-700);
    font-size: 0.98rem;
    text-align: center;
}
.leader-note em { color: var(--gold-700); font-weight: 700; }
.band-sky .leader-note { background: #ffffff; }

.leader-intro {
    font-size: clamp(1.12rem, 1.9vw, 1.3rem);
    line-height: 1.7;
    color: var(--ink-900);
    font-weight: 600;
    padding: 28px 30px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #fffaf0 0%, #f0f7fc 100%);
    border: 1px solid rgba(217, 155, 38, 0.22);
    box-shadow: var(--shadow-card);
    margin-bottom: 40px;
}
.band-sky .leader-intro { background: #ffffff; }

.story-block { margin-bottom: 44px; }
.story-block:last-child { margin-bottom: 0; }
.story-block .section-kicker { margin-bottom: 12px; }
.story-block h3 {
    font-size: clamp(1.45rem, 2.6vw, 1.85rem);
    letter-spacing: -0.015em;
    margin-bottom: 14px;
}
.story-block p {
    color: var(--ink-700);
    font-size: 1.06rem;
    line-height: 1.78;
    margin-bottom: 14px;
}
.story-block p a { color: var(--stream-700); font-weight: 700; text-decoration: underline; }
.story-block .pillar-list { margin: 22px 0; }
.story-block .pillar-value { margin-bottom: 2px; }
.story-block .story-item-text { font-size: 0.95rem; color: var(--ink-600); margin: 0; line-height: 1.55; }

.story-cards {
    display: grid;
    gap: 14px;
    margin: 22px 0;
}
@media (min-width: 640px) { .story-cards { grid-template-columns: repeat(3, 1fr); } }
.story-card {
    padding: 22px 20px;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
}
.story-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0f2fe;
    color: var(--stream-700);
    margin-bottom: 14px;
}
.story-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.story-card p { font-size: 0.94rem; line-height: 1.55; margin: 0; color: var(--ink-600); }

.doc-card {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 22px 0;
    padding: 18px;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid rgba(217, 155, 38, 0.24);
    box-shadow: var(--shadow-card);
}
.doc-thumb {
    flex-shrink: 0;
    width: 120px;
    padding: 0;
    border: 0;
    background: none;
    border-radius: 10px;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
    transition: transform 0.25s ease;
}
.doc-thumb:hover { transform: scale(1.03); }
.doc-thumb img { width: 100%; height: auto; }
.doc-card .doc-caption { font-weight: 700; color: var(--ink-900); margin-bottom: 6px; font-size: 1rem; line-height: 1.5; }
.doc-card .doc-date { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--gold-700); font-weight: 800; font-size: 0.92rem; }

.cta-panel {
    margin-top: 48px;
    padding: 34px 32px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse at 90% 10%, rgba(245, 185, 66, 0.22) 0%, transparent 55%),
        linear-gradient(135deg, #eff7fd 0%, #ffffff 100%);
    border: 1px solid rgba(3, 105, 161, 0.14);
    box-shadow: var(--shadow-soft);
}
.cta-panel h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 12px; }
.cta-panel p { color: var(--ink-700); font-size: 1.05rem; line-height: 1.75; margin-bottom: 22px; }
.cta-panel-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 540px) { .cta-panel-actions .btn { width: 100%; } }

.story-video { margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(3, 105, 161, 0.14); }
.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #0f172a;
    border: 4px solid #ffffff;
    box-shadow: var(--shadow-soft);
    margin-top: 22px;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #0f172a;
}
.video-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; opacity: 0.82; transition: opacity 0.3s ease, transform 0.5s ease; }
.video-cover:hover img { opacity: 0.95; transform: scale(1.03); }
.video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 26px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #f5b942, #d99b26);
    color: #141b29;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}
.video-fallback { margin-top: 10px; font-size: 0.9rem; }
.video-fallback a { display: inline-flex; align-items: center; gap: 6px; color: var(--stream-700); font-weight: 700; }

.page-hero-cite { margin-top: 12px; font-weight: 800; color: var(--gold-700); letter-spacing: 0.02em; }
.lead-text { font-size: 1.12rem; color: var(--ink-700); line-height: 1.8; margin-bottom: 24px; }
.verse-gold { border-left-color: var(--gold-500); }
.verse-gold cite { color: var(--gold-700); }
.mision-frame { border-color: rgba(3, 105, 161, 0.14); }
.mision-frame img { aspect-ratio: 4 / 5; object-position: center top; }
@media (min-width: 1024px) { .mision-frame { max-width: 480px; } }

.vision-lead { text-align: center; max-width: 760px; margin: -16px auto 40px; }
.vision-lead h3 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); color: var(--stream-700); margin-bottom: 10px; }
.vision-lead p { color: var(--ink-700); font-size: 1.08rem; line-height: 1.7; }
.icon-cards { display: grid; gap: 18px; }
@media (min-width: 640px) { .icon-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .icon-cards { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.icon-card { padding: 28px 26px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.icon-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.icon-card p { font-size: 0.98rem; line-height: 1.65; }

.valores-band { overflow: hidden; }
.valores-band .versiculo-bg-soft { opacity: 0.045; filter: grayscale(0.4); }
.list-title { font-size: clamp(1.35rem, 2.4vw, 1.6rem); margin-bottom: 4px; }
.pillar-item h4.pillar-value { font-size: 1.05rem; }
.grace-card {
    position: relative;
    text-align: center;
    padding: 44px 36px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid rgba(217, 155, 38, 0.24);
    box-shadow: var(--shadow-soft);
    max-width: 440px;
    margin: 0 auto;
}
.grace-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    background: linear-gradient(135deg, #f5b942, #d99b26);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(217, 155, 38, 0.32);
}
.grace-card-title { font-size: 1.5rem; font-weight: 800; color: var(--ink-900); margin-bottom: 14px; }
.grace-card p:last-child { color: var(--ink-700); font-style: italic; font-size: 1.08rem; line-height: 1.7; }

.cta-panel-center { text-align: center; margin-top: 0; padding: 48px 32px; }
.cta-panel-center p { max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-panel-center .cta-panel-actions { justify-content: center; }

/* Qué esperar */
.welcome-band { padding-top: 56px; }
.welcome-video { max-width: 960px; margin: 0 auto; }
.welcome-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0f172a; }
.welcome-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    max-width: 820px;
    margin: 28px auto 0;
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #fffaf0 0%, #f0f7fc 100%);
    border: 1px solid rgba(217, 155, 38, 0.22);
    box-shadow: var(--shadow-card);
    color: var(--ink-900);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.7;
}
.welcome-note svg { margin-top: 4px; }
.schedule-cards { max-width: 1100px; margin: 0 auto; grid-template-columns: 1fr; }
@media (min-width: 900px) { .schedule-cards { grid-template-columns: repeat(3, 1fr); } }
.schedule-cards .servicio-card h3 { font-size: 1.2rem; }
.schedule-text { color: var(--ink-600); font-size: 0.98rem; line-height: 1.65; margin-top: 8px; }
.schedule-notes { text-align: center; margin-top: 36px; }
.schedule-notes .calendar-status-pill { display: inline-flex; gap: 8px; align-items: center; margin: 0 auto 14px; }
.spirit-line { font-size: clamp(1.12rem, 2vw, 1.3rem); font-style: italic; font-weight: 600; color: var(--stream-700); }

.steps { list-style: none; max-width: 760px; margin: 0 auto; position: relative; }
.steps::before { content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(180deg, #0ea5e9, #d99b26); opacity: 0.35; }
.step { position: relative; display: flex; gap: 22px; align-items: flex-start; margin-bottom: 22px; }
.step:last-child { margin-bottom: 0; }
.step-icon {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--stream-700);
    border: 2px solid rgba(3, 105, 161, 0.2);
    box-shadow: var(--shadow-card);
}
.step:nth-child(2) .step-icon { color: var(--gold-700); border-color: rgba(217, 155, 38, 0.3); }
.step:nth-child(3) .step-icon { color: #6b21a8; border-color: rgba(107, 33, 168, 0.22); }
.step:nth-child(4) .step-icon { color: #166534; border-color: rgba(22, 101, 52, 0.22); }
.step-body {
    flex: 1;
    padding: 22px 24px;
    border-radius: var(--radius-md);
    background: var(--surface-ivory);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
}
.step-body h3 { font-size: 1.18rem; margin-bottom: 6px; }
.step-body p { color: var(--ink-700); line-height: 1.65; }

@media (min-width: 1100px) { .icon-cards-4 { grid-template-columns: repeat(4, 1fr); } }
.transport-panel { max-width: 860px; margin: 0 auto; }
.transport-icon { background: linear-gradient(135deg, #0ea5e9, #0369a1); box-shadow: 0 12px 28px rgba(3, 105, 161, 0.3); }

/* Historia */
.page-hero-place { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--stream-700); font-weight: 700; }
.page-hero-verse { max-width: 720px; margin: 26px auto 0; padding: 22px 26px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(217, 155, 38, 0.24); box-shadow: var(--shadow-card); }
.page-hero-verse blockquote { font-style: italic; color: var(--ink-900); font-size: 1.05rem; line-height: 1.7; }
.page-hero-verse cite { display: block; margin-top: 10px; font-style: normal; font-weight: 800; color: var(--gold-700); font-size: 0.92rem; }
.page-hero-actions { justify-content: center; margin: 28px 0 0; }

.stat-cards { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); max-width: 1000px; margin: 0 auto; }
@media (min-width: 900px) { .stat-cards { grid-template-columns: repeat(4, 1fr); } }
.stat-card { text-align: center; padding: 28px 18px; border-radius: var(--radius-md); background: var(--surface-ivory); border: 1px solid var(--border-light); box-shadow: var(--shadow-card); }
.stat-card .story-card-icon { margin: 0 auto 12px; }
.stat-card-number { font-size: clamp(2.2rem, 4.5vw, 3rem); font-weight: 900; line-height: 1.1; background: linear-gradient(120deg, #0369a1 0%, #0ea5e9 50%, #b45309 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card-label { color: var(--ink-700); font-weight: 700; margin-top: 4px; }

.history-video { max-width: 960px; margin: 0 auto 56px; }

.chapters { list-style: none; position: relative; max-width: 900px; margin: 0 auto; }
.chapters::before { content: ''; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, #0ea5e9, #d99b26); opacity: 0.35; }
.chapter { position: relative; display: flex; gap: 22px; align-items: flex-start; margin-bottom: 32px; }
.chapter:last-child { margin-bottom: 0; }
.chapter-marker { position: relative; z-index: 1; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0ea5e9, #0369a1); color: #ffffff; box-shadow: 0 10px 24px rgba(3, 105, 161, 0.28); }
.chapter:nth-child(even) .chapter-marker { background: linear-gradient(135deg, #f5b942, #d99b26); box-shadow: 0 10px 24px rgba(217, 155, 38, 0.3); }
.chapter-card { flex: 1; min-width: 0; padding: 30px 32px; border-radius: var(--radius-lg); background: #ffffff; border: 1px solid var(--border-light); box-shadow: var(--shadow-soft); }
@media (max-width: 640px) {
    .chapters::before { left: 19px; }
    .chapter { gap: 12px; }
    .chapter-marker { width: 40px; height: 40px; }
    .chapter-marker svg { width: 18px !important; height: 18px !important; }
    .chapter-card { padding: 22px 18px; }
}
.chapter-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 800; color: var(--gold-700); font-size: 0.9rem; }
.chapter-year { display: inline-block; padding: 4px 14px; border-radius: 9999px; background: #e0f2fe; color: var(--stream-700); font-size: 1rem; font-weight: 900; }
.chapter-card h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); letter-spacing: -0.015em; margin-bottom: 14px; }
.chapter-card p { color: var(--ink-700); font-size: 1.04rem; line-height: 1.78; margin-bottom: 14px; }
.chapter-card strong { color: var(--ink-900); }
.chapter-card a:not(.moment-link) { color: var(--stream-700); font-weight: 700; text-decoration: underline; }
.chapter-list { list-style: none; display: grid; gap: 10px; margin: 6px 0 18px; }
.chapter-list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--surface-sky); color: var(--ink-700); line-height: 1.6; }
.chapter-list li svg { color: var(--stream-500); margin-top: 4px; }
.moment { display: flex; gap: 14px; align-items: flex-start; margin: 16px 0; padding: 18px 20px; border-radius: var(--radius-md); background: var(--surface-ivory); border: 1px solid rgba(217, 155, 38, 0.2); }
.moment p { margin-bottom: 0; }
.moment-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #fef3c7; color: var(--gold-700); }
.moment-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.moment-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px; border-radius: 9999px; background: #ffffff; border: 1px solid rgba(3, 105, 161, 0.2); color: var(--stream-700); font-weight: 700; font-size: 0.9rem; transition: background-color 0.2s ease; }
.moment-link:hover { background: #f0f7fc; }
.insta-links { margin: 16px 0; }
.insta-link { color: #be185d; border-color: rgba(190, 24, 93, 0.22); }
.album { margin: 22px 0; padding: 20px; border-radius: var(--radius-md); background: var(--surface-sky); border: 1px solid rgba(3, 105, 161, 0.12); }
.album-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 8px; }
.album-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink-900); margin: 0 !important; }
.album-date { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 700; color: var(--gold-700); }
.album-text { font-size: 0.96rem !important; }
.album-grid { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 640px) { .album-grid { grid-template-columns: repeat(5, 1fr); } }
.album-item { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; background: #e2e8f0; }
.album-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.album-item:hover img { transform: scale(1.06); }
.chapter-verse { margin-top: 20px; }

.invite-panel p { color: var(--ink-700); }
.invite-quote { max-width: 620px; margin: 6px auto 26px; font-style: italic; font-size: 1.12rem; color: var(--ink-900); line-height: 1.7; }
.invite-quote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 800; color: var(--gold-700); font-size: 0.92rem; }
.album-video { cursor: default; }
.album-video video { width: 100%; height: 100%; object-fit: cover; background: #0f172a; }

/* Tributo */
.tribute-page .page-hero h1 .accent-stream { color: var(--gold-700); }
.memory-card { display: flex; align-items: center; gap: 16px; max-width: 520px; margin: 30px auto 0; padding: 14px 16px; border-radius: var(--radius-md); background: #ffffff; border: 1px solid rgba(217, 155, 38, 0.28); box-shadow: var(--shadow-card); text-align: left; }
.memory-card-face { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-400); flex-shrink: 0; }
.memory-card-text { flex: 1; display: grid; gap: 1px; line-height: 1.35; }
.memory-card-kicker { font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-700); }
.memory-card-text strong { font-size: 1.15rem; color: var(--ink-900); }
.memory-card-text span:last-child { font-size: 0.9rem; color: var(--ink-600); }
.memory-card-poster { flex-shrink: 0; width: 72px; height: 72px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15); }
.memory-card-poster img { width: 100%; height: 100%; object-fit: cover; }

.bio-grid { align-items: start; }
.bio-portrait { max-width: 460px; margin: 0 auto; width: 100%; }
@media (min-width: 1024px) { .bio-portrait { position: sticky; top: 104px; } }
.bio-portrait .artes-frame { border-color: rgba(217, 155, 38, 0.24); }
.bio-portrait .artes-frame img { aspect-ratio: 1; object-position: center top; }
.bio-float { top: 24px; bottom: auto; }
.bio-name { text-align: center; margin-top: 18px; }
.bio-name h3 { font-size: 1.3rem; }
.bio-name p { color: var(--gold-700); font-weight: 700; }
.bio-text .section-title { text-align: left; }
.bio-text .btn { margin-top: 8px; }
.step-date { font-size: 0.82rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-700) !important; margin-bottom: 4px; }
.gold-card .story-card-icon { background: #fef3c7; color: var(--gold-700); }

.memorial { max-width: 760px; margin: 0 auto; text-align: center; }
.memorial-photo-btn { width: 200px; height: 200px; margin: 0 auto 26px; padding: 0; border: 6px solid #ffffff; border-radius: 50%; overflow: hidden; display: block; cursor: zoom-in; box-shadow: 0 0 0 2px rgba(217, 155, 38, 0.4), var(--shadow-soft); }
.memorial-photo-btn img { width: 100%; height: 100%; object-fit: cover; }
.memorial-dates { display: flex; justify-content: center; align-items: center; gap: 24px; margin: 26px 0; flex-wrap: wrap; }
.memorial-dates div { display: grid; gap: 2px; }
.memorial-dates span { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-600); }
.memorial-dates strong { font-size: 1.35rem; color: var(--gold-700); }
.memorial-divider { color: var(--gold-500) !important; font-size: 1.4rem !important; }
.audio-card { display: flex; gap: 16px; align-items: center; text-align: left; padding: 22px; border-radius: var(--radius-md); background: var(--surface-ivory); border: 1px solid rgba(217, 155, 38, 0.24); box-shadow: var(--shadow-card); }
.audio-card-body { flex: 1; min-width: 0; }
.audio-card h3 { font-size: 1.15rem; }
.audio-card p { color: var(--ink-600); font-size: 0.9rem; margin-bottom: 10px; }
.audio-card audio { width: 100%; }

.companion { align-items: start; }
.companion-frame { border-color: rgba(190, 24, 93, 0.16); }
.companion-frame img { aspect-ratio: 4 / 3; }
.companion-caption { text-align: center; margin-top: 16px; display: grid; }
.companion-caption strong { font-size: 1.1rem; }
.companion-caption span { color: var(--ink-600); font-style: italic; }
.companion-life { margin: 0 0 12px !important; background: #fce7f3 !important; color: #9d174d !important; }
.companion-roles { color: var(--gold-700) !important; font-weight: 800; font-size: 0.95rem !important; }

/* Ofrendas */
.give-panel { max-width: 720px; margin: 0 auto; }
.give-panel .grace-card-icon { margin-top: 6px; }
.give-secure { margin: 0 auto 18px !important; }
.pay-logos { list-style: none; margin: 4px auto 22px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pay-logos .pay-logo { width: 54px; height: 36px; display: grid; place-items: center; background: #fff; border-radius: 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.pay-logos svg { width: 40px; height: 22px; display: block; overflow: visible; }
@media (max-width: 479px) { .pay-logos { max-width: 178px; } } /* two even rows of three */
.give-button { min-height: 56px; padding: 14px 34px; font-size: 1.05rem; }
.give-methods { display: grid; gap: 20px; }
@media (min-width: 820px) { .give-methods { grid-template-columns: repeat(2, 1fr); } }
.give-method { display: flex; flex-direction: column; padding: 28px 26px; }
.give-method h3 { font-size: 1.3rem; margin-bottom: 8px; }
.give-method p { font-size: 1rem; line-height: 1.65; margin-bottom: 16px; }
.give-method-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.give-box { margin-top: auto; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface-sky); border: 1px solid rgba(3, 105, 161, 0.14); }
.give-box-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--stream-700) !important; margin-bottom: 6px !important; }
.give-box address { font-style: normal; display: grid; color: var(--ink-900); line-height: 1.6; }
.give-copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.give-copy code { font-family: inherit; font-weight: 800; font-size: 1.02rem; color: var(--ink-900); word-break: break-all; }
.give-copy button { cursor: pointer; font-family: inherit; }
.zelle-icon { background: #f3e8ff; color: #6d1ed4; }
.tax-note { text-align: center; margin-top: 36px; }

/* Obras y misiones */
.obra { display: grid; gap: 28px; align-items: start; margin-bottom: 64px; }
@media (min-width: 1024px) {
    .obra { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
    .obra-reverse .obra-media { order: 2; }
    .obra-media { position: sticky; top: 104px; }
}
.obra-video { margin-top: 0; }
.obra-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0f172a; }
.obra-photo { display: block; width: 100%; padding: 0; border: 4px solid #ffffff; border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow-soft); background: #e2e8f0; }
.obra-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s ease; }
.obra-photo:hover img { transform: scale(1.03); }
.obra-thumbs { margin-top: 10px; }
.obra-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 9999px; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.02em; margin-bottom: 14px; }
.obra-status.is-new { background: #e0f2fe; color: var(--stream-700); }
.obra-status.is-done { background: #dcfce7; color: #166534; }
.obra-status.is-upcoming { background: #fef3c7; color: var(--gold-700); }
.obra-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 12px; padding: 0; color: var(--ink-600); font-size: 0.92rem; font-weight: 700; }
.obra-meta li { display: inline-flex; align-items: center; gap: 6px; }
.obra-meta svg { color: var(--gold-700); flex-shrink: 0; }
.obra-body h3, .obra-card h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 14px; }
.obra-body p { color: var(--ink-700); font-size: 1.04rem; line-height: 1.78; margin-bottom: 14px; }
.obra-body strong { color: var(--ink-900); }
.obra-quote { position: relative; margin: 20px 0; padding-left: 58px; }
.obra-quote-icon { position: absolute; left: 18px; top: 22px; color: var(--gold-500); }
.obra-quote p { font-size: 1rem !important; line-height: 1.7 !important; margin: 0 !important; color: var(--ink-900) !important; }
.obra-quote em { color: var(--gold-700); font-weight: 700; }
.obra-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.obra-stats li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 9999px; background: var(--surface-sky); border: 1px solid rgba(3, 105, 161, 0.14); color: var(--ink-900); font-size: 0.88rem; font-weight: 700; line-height: 1.35; }
.obra-stats svg { color: var(--stream-700); flex-shrink: 0; }
.obra-cards { display: grid; gap: 24px; margin-top: 8px; }
@media (min-width: 820px) { .obra-cards { grid-template-columns: repeat(2, 1fr); } }
.obra-card { padding: 0 0 26px; overflow: hidden; display: flex; flex-direction: column; }
.obra-card > :not(.obra-placeholder) { margin-left: 26px; margin-right: 26px; }
.obra-card p { font-size: 1rem; line-height: 1.7; color: var(--ink-700); margin-bottom: 0; }
.obra-card .obra-stats { margin-top: auto; padding-top: 18px; }
.obra-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; aspect-ratio: 16 / 7; margin-bottom: 22px; background: radial-gradient(ellipse at 80% 10%, rgba(245, 185, 66, 0.25) 0%, transparent 55%), linear-gradient(135deg, #e0f2fe 0%, #f8fbfe 100%); border-bottom: 1px solid var(--border-light); }
.obra-placeholder-icon { width: 64px; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: #ffffff; color: var(--stream-700); box-shadow: var(--shadow-card); }
.obra-placeholder-text { font-weight: 800; color: var(--ink-700); font-size: 0.95rem; text-align: center; padding: 0 16px; }
.obra-cta .grace-card-icon { margin: 0 auto 14px; }
.obra-cta .btn svg:last-child { margin-left: 2px; }
.obra-card .obra-status, .obra-card .obra-stats li { align-self: flex-start; }

/* Fundación Gracia */
.sponsors-band { padding: 40px 0 !important; }
.sponsors-title { text-align: center; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-600); margin-bottom: 20px; }
.sponsors-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 48px; }
.sponsors-logos img { height: 44px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.3s ease, opacity 0.3s ease; }
.sponsors-logos li:hover img { filter: none; opacity: 1; }
.sponsors-logos span { font-weight: 800; color: var(--ink-700); font-size: 1.1rem; }
.gracia-post { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .gracia-post { grid-template-columns: 1fr 1fr; gap: 56px; } }
.gracia-post-text .section-title { text-align: left; margin-bottom: 16px; }
.gracia-post-text p:not(.obra-status) { color: var(--ink-700); font-size: 1.08rem; line-height: 1.8; margin-bottom: 14px; }
.gracia-gallery { margin-top: 36px; }
@media (min-width: 1024px) { .gracia-gallery { grid-template-columns: repeat(6, 1fr); } }

/* Confesión y Catecismo */
.doc-intro { max-width: 820px; margin: 0 auto; padding: 36px 34px; border-radius: var(--radius-lg); text-align: center; background: radial-gradient(ellipse at 90% 0%, rgba(245, 185, 66, 0.2) 0%, transparent 55%), linear-gradient(135deg, #fffaf0 0%, #f0f7fc 100%); border: 1px solid rgba(217, 155, 38, 0.22); box-shadow: var(--shadow-soft); }
.doc-intro-title { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 800; color: var(--ink-900); margin-bottom: 14px; }
.doc-intro-title svg { color: var(--gold-700); }
.doc-intro-text { color: var(--ink-700); font-size: 1.08rem; line-height: 1.8; margin-bottom: 20px; }
.doc-verses { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.doc-verses li { display: flex; gap: 10px; justify-content: center; align-items: flex-start; font-style: italic; color: var(--ink-900); font-weight: 600; }
.doc-verses svg { color: var(--gold-500); flex-shrink: 0; margin-top: 4px; }
.doc-chapters { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.doc-chapter { background: #ffffff; border: 1px solid var(--border-light); border-radius: var(--radius-md); box-shadow: var(--shadow-card); overflow: hidden; }
.doc-chapter summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 16px 20px; cursor: pointer; }
.doc-chapter summary::-webkit-details-marker { display: none; }
.doc-chapter-number { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #e0f2fe; color: var(--stream-700); font-weight: 800; }
.doc-chapter-title { flex: 1; font-weight: 800; font-size: 1.08rem; color: var(--ink-900); line-height: 1.35; }
.doc-chapter-icon { color: var(--ink-600); transition: transform 0.25s ease; }
.doc-chapter[open] .doc-chapter-icon { transform: rotate(180deg); }
.doc-chapter[open] .doc-chapter-number { background: var(--gold-500); color: #ffffff; }
.doc-chapter-body { padding: 0 22px 22px 78px; }
.doc-chapter-body p { color: var(--ink-700); font-size: 1.02rem; line-height: 1.8; margin-bottom: 12px; }
.doc-refs { font-size: 0.9rem !important; line-height: 1.6 !important; color: var(--stream-700) !important; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--surface-sky); margin: 0 !important; }
.doc-refs strong { color: var(--ink-900); }
@media (max-width: 600px) { .doc-chapter-body { padding: 0 18px 18px; } .doc-intro { padding: 28px 20px; } }
.doc-person { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .doc-person { grid-template-columns: 360px 1fr; gap: 60px; } .doc-person-reverse .doc-portrait { order: 2; } .doc-person-reverse { grid-template-columns: 1fr 360px; } }
.doc-portrait { max-width: 360px; width: 100%; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; border: 6px solid #ffffff; box-shadow: var(--shadow-soft); }
.doc-portrait img { width: 100%; height: auto; display: block; }
.doc-person-text .section-title { text-align: left; margin-bottom: 16px; }
.doc-person-text .section-kicker { margin-bottom: 12px; }
.doc-person-text p { color: var(--ink-700); font-size: 1.04rem; line-height: 1.8; margin-bottom: 14px; }
.doc-person-text .btn { margin-top: 6px; }
.doc-audio { margin-top: 24px; }
.doc-audio .story-card-icon { margin: 0; flex-shrink: 0; }
.qa-list { list-style: none; max-width: 900px; margin: 0 auto; padding: 0; display: grid; gap: 14px; }
.qa-item { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius-md); background: #ffffff; border: 1px solid var(--border-light); box-shadow: var(--shadow-card); }
.qa-number { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fef3c7; color: var(--gold-700); font-weight: 800; font-size: 0.95rem; }
.qa-item > div { flex: 1; min-width: 0; }
.qa-q { font-weight: 800; color: var(--ink-900); font-size: 1.05rem; line-height: 1.5; margin-bottom: 8px; }
.qa-a { color: var(--ink-700); line-height: 1.75; margin-bottom: 10px; }
.qa-a:last-child { margin-bottom: 0; }
.qa-mark { color: var(--stream-700); font-weight: 800; }
@media (max-width: 600px) { .qa-item { padding: 16px; gap: 12px; } .qa-number { width: 34px; height: 34px; } }

/* Nuestros líderes */
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.hero-stat { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 9999px; background: #ffffff; border: 1px solid var(--border-light); box-shadow: var(--shadow-card); color: var(--ink-700); font-weight: 700; }
.hero-stat svg { color: var(--stream-700); }
.hero-stat strong { color: var(--ink-900); font-size: 1.15rem; }
.team-groups { display: grid; gap: 22px; }
@media (min-width: 760px) { .team-groups { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .team-groups { grid-template-columns: repeat(3, 1fr); } }
.team-group { padding: 24px; border-radius: var(--radius-lg); background: #ffffff; border: 1px solid var(--border-light); box-shadow: var(--shadow-card); border-top: 4px solid var(--team, var(--stream-500)); }
.team-group-title { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 16px; }
.team-icon { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--team-bg, #e0f2fe); color: var(--team, var(--stream-700)); }
.team-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.team-member { display: flex; align-items: center; gap: 14px; }
.team-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.team-photo-empty { display: flex; align-items: center; justify-content: center; background: var(--surface-sky); color: var(--ink-600); }
.team-name { font-weight: 800; color: var(--ink-900); margin: 0; line-height: 1.3; }
.team-role { color: var(--ink-600); font-size: 0.92rem; margin: 0; }
.area-stream { --team: #0369a1; --team-bg: #e0f2fe; }
.area-purple { --team: #7e22ce; --team-bg: #f3e8ff; }
.area-gold { --team: #b45309; --team-bg: #fef3c7; }
.area-green { --team: #15803d; --team-bg: #dcfce7; }
.area-pink { --team: #be185d; --team-bg: #fce7f3; }
.area-ink { --team: #334155; --team-bg: #e2e8f0; }
.team-verse { max-width: 820px; margin: 0 auto; text-align: center; border-left: 0; border-top: 4px solid var(--gold-500); }
.team-verse p { font-size: 1.15rem; line-height: 1.75; }

/* Podcast */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.podcast-logo { margin: 24px auto 0; width: 120px; height: 120px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-soft); border: 4px solid #ffffff; }
.podcast-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.podcast-featured { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .podcast-featured { grid-template-columns: 1.3fr 0.7fr; gap: 48px; } }
.podcast-featured .video-frame { margin-top: 0; }
.podcast-featured-text h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.25; margin: 12px 0; }
.podcast-featured-text p { color: var(--ink-700); font-size: 1.08rem; line-height: 1.7; }
.podcast-grid { display: grid; gap: 22px; }
@media (min-width: 1024px) { .podcast-grid { grid-template-columns: repeat(3, 1fr); } }
.podcast-card { padding: 28px 26px; display: flex; flex-direction: column; }
.podcast-card .section-kicker { align-self: flex-start; margin-bottom: 12px; }
.podcast-card-title { font-size: 1.6rem; margin-bottom: 8px; }
.podcast-card p { font-size: 1rem; line-height: 1.65; margin-bottom: 18px; color: var(--ink-700); }
.podcast-links { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 10px; }
.podcast-links a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--surface-sky); border: 1px solid rgba(3, 105, 161, 0.12); color: var(--ink-900); font-weight: 800; transition: background-color 0.2s ease, transform 0.2s ease; }
.podcast-links a:hover { background: #e0f2fe; transform: translateX(2px); }
.podcast-links a > span:nth-child(2) { flex: 1; display: grid; line-height: 1.3; }
.podcast-links small { font-weight: 600; color: var(--ink-600); font-size: 0.85rem; }
.podcast-links a > svg:last-child { color: var(--ink-600); }
.podcast-link-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #ffffff; color: var(--stream-700); flex-shrink: 0; }
.podcast-host { margin-top: auto; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius-sm); background: var(--surface-ivory); border: 1px solid rgba(217, 155, 38, 0.2); }
.podcast-host img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.podcast-host div { display: grid; line-height: 1.35; }
.podcast-host span { color: var(--ink-600); font-size: 0.9rem; }
.episode-grid { display: grid; gap: 22px; }
@media (min-width: 700px) { .episode-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .episode-grid { grid-template-columns: repeat(3, 1fr); } }
.episode-card { border-radius: var(--radius-md); background: #ffffff; border: 1px solid var(--border-light); box-shadow: var(--shadow-card); overflow: hidden; }
.episode-card .video-frame { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.episode-card .video-play { padding: 12px; }
.episode-body { padding: 16px 18px 20px; }
.episode-num { display: inline-block; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-700); margin-bottom: 6px; }
.episode-body h3 { font-size: 1.02rem; line-height: 1.4; margin: 0; }

/* Escuela de Discipulado */
.disc-page { --lvl1: #0369a1; --lvl1-bg: #e0f2fe; --lvl2: #7e22ce; --lvl2-bg: #f3e8ff; }
.disc-nav { position: sticky; top: var(--nav-safe); z-index: 40; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-light); }
.disc-nav-inner { display: flex; gap: 6px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; }
.disc-nav-inner::-webkit-scrollbar { display: none; }
.disc-nav a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; min-height: 40px; padding: 8px 14px; border-radius: 9999px; color: var(--ink-700); font-weight: 700; font-size: 0.92rem; }
.disc-nav a:hover { background: var(--surface-sky); }
.disc-nav a.is-current { background: var(--ink-900); color: #ffffff; }
.disc-nav-out { margin-left: auto; }
.lesson-head { padding: 48px 0 36px; background: radial-gradient(ellipse at 85% 0%, rgba(245, 185, 66, 0.18) 0%, transparent 55%), linear-gradient(180deg, #f0f7fc 0%, #ffffff 100%); border-bottom: 1px solid var(--border-light); }
.lesson-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; letter-spacing: -0.02em; margin: 6px 0 12px; }
.lesson-head.has-photo .container { display: grid; gap: 0 48px; }
.lesson-head-photo { margin: 0 0 24px; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.45); }
.lesson-head-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 1024px) {
	.lesson-head.has-photo .container { grid-template-columns: minmax(0, 1fr) 440px; align-items: center; }
	.lesson-head.has-photo .container > * { grid-column: 1; }
	.lesson-head.has-photo .lesson-head-photo { grid-column: 2; grid-row: 1 / span 4; margin: 0; }
}
.lesson-crumbs { font-size: 0.88rem; font-weight: 700; color: var(--ink-600); margin: 0; }
.lesson-crumbs a { color: var(--stream-700); }
.lesson-num { display: inline-block; padding: 4px 12px; border-radius: 9999px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; margin: 12px 0 0; background: var(--lvl1-bg); color: var(--lvl1); }
.lesson-num.level-2 { background: var(--lvl2-bg); color: var(--lvl2); }
.lesson-theme { max-width: 760px; font-size: 1.12rem; line-height: 1.65; color: var(--ink-700); margin: 0 0 16px; }
.lesson-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; }
.lesson-facts li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 9999px; background: #ffffff; border: 1px solid var(--border-light); font-size: 0.9rem; font-weight: 700; color: var(--ink-900); }
.lesson-facts svg { color: var(--gold-700); flex-shrink: 0; }
.lesson-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lesson-layout { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 72px; }
@media (min-width: 1024px) { .lesson-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; } }
.lesson-toc { align-self: start; }
@media (min-width: 1024px) { .lesson-toc { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; } }
.lesson-toc-title { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-600); margin-bottom: 8px; }
.lesson-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lesson-toc a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; color: var(--ink-700); font-size: 0.92rem; font-weight: 600; line-height: 1.35; }
.lesson-toc a:hover { background: var(--surface-sky); color: var(--ink-900); }
.lesson-toc small { color: var(--ink-600); font-weight: 700; white-space: nowrap; }
.lesson-toc li.done a span::after { content: " ✓"; color: #15803d; font-weight: 800; }
@media (max-width: 1023px) { .lesson-toc { padding: 14px; border-radius: var(--radius-md); background: var(--surface-sky); } .lesson-toc ol { max-height: 260px; overflow-y: auto; } }
.lesson-body { min-width: 0; max-width: 760px; }
.lesson-section { scroll-margin-top: 140px; padding: 28px 0; border-bottom: 1px solid var(--border-light); }
.lesson-section:first-child { padding-top: 0; }
.lesson-section > h2 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); line-height: 1.3; margin-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lesson-min { font-size: 0.78rem; font-weight: 800; padding: 3px 10px; border-radius: 9999px; background: #fef3c7; color: var(--gold-700); }
.doc-sec-icon { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-sky); color: var(--stream-700); }
.md { color: var(--ink-700); font-size: 1.06rem; line-height: 1.8; }
.md p { margin: 0 0 14px; }
.md h3 { font-size: 1.18rem; color: var(--ink-900); margin: 24px 0 10px; }
.md h4, .md h5 { font-size: 1.04rem; color: var(--ink-900); margin: 18px 0 8px; }
.md strong { color: var(--ink-900); }
.md a { color: var(--stream-700); font-weight: 700; text-decoration: underline; }
.md ul, .md ol { margin: 0 0 16px; padding-left: 1.4em; }
.md li { margin-bottom: 8px; }
.md li > ul, .md li > ol { margin: 8px 0 0; }
.md-verse { margin: 18px 0; padding: 18px 20px; border-radius: var(--radius-md); background: var(--surface-ivory); border-left: 4px solid var(--gold-500); }
.md-verse p { margin-bottom: 10px; }
.md-verse p:last-child { margin-bottom: 0; }
.md-verse p:first-child strong { color: var(--gold-700); }
.md-answer { margin: 10px 0 4px; border-radius: 12px; background: #eff7fd; border: 1px solid rgba(3, 105, 161, 0.16); }
.md-answer summary { cursor: pointer; padding: 9px 14px; font-size: 0.9rem; font-weight: 800; color: var(--stream-700); list-style: none; }
.md-answer summary::-webkit-details-marker { display: none; }
.md-answer summary::before { content: "＋ "; }
.md-answer[open] summary::before { content: "－ "; }
.md-answer > div { padding: 0 14px 4px; font-size: 0.98rem; }
.gloss { display: inline; padding: 0; border: 0; background: none; font: inherit; color: inherit; border-bottom: 2px dotted var(--gold-500); cursor: help; }
.gloss-pop { position: absolute; z-index: 300; max-width: 320px; padding: 12px 14px; border-radius: 12px; background: var(--ink-900); color: #ffffff; font-size: 0.92rem; line-height: 1.5; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.3); display: grid; gap: 4px; }
.gloss-pop strong { color: #fde68a; }
.lesson-task { margin-top: 12px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface-sky); border: 1px solid rgba(3, 105, 161, 0.14); }
.lesson-task-note { font-size: 0.9rem; color: var(--ink-600); margin-bottom: 14px; }
.lesson-pager { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 640px) { .lesson-pager { grid-template-columns: 1fr 1fr; } }
.lesson-pager a { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--radius-md); border: 1px solid var(--border-light); background: #ffffff; box-shadow: var(--shadow-card); color: var(--ink-900); font-weight: 800; }
.lesson-pager small { color: var(--ink-600); font-weight: 700; }
.lesson-pager-next { text-align: right; grid-column: -2; }
.class-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 200; width: min(640px, calc(100% - 24px)); display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 18px; background: var(--ink-900); color: #ffffff; box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35); }
.class-bar[hidden] { display: none; }
.class-bar-btn { width: 44px; height: 44px; flex-shrink: 0; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.1); color: #ffffff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.class-bar-now { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.class-bar-now small { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: #cbd5e1; }
.class-bar-now strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.class-bar-time { min-width: 86px; height: 44px; border: 0; border-radius: 12px; background: var(--gold-500); color: var(--ink-900); font: inherit; font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; cursor: pointer; }
.class-bar.is-over .class-bar-time { background: #ef4444; color: #ffffff; }
.class-bar.is-paused .class-bar-time { opacity: 0.6; }
body.class-mode .lesson-section:not(.is-current) { opacity: 0.35; }
body.class-mode .lesson-section.is-current { opacity: 1; }
body.class-mode .floating-cta { display: none; }
body.class-mode .lesson-body { padding-bottom: 90px; }
.teacher-head h1 { margin-bottom: 8px; }
.teacher-search { display: flex; align-items: center; gap: 10px; max-width: 720px; margin-top: 18px; padding: 6px 6px 6px 16px; border-radius: 9999px; background: #ffffff; border: 1px solid var(--border-light); box-shadow: var(--shadow-card); }
.teacher-search > svg { color: var(--ink-600); flex-shrink: 0; }
.teacher-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 1rem; padding: 10px 0; outline: none; }
.teacher-search .btn { min-height: 44px; padding: 10px 20px; }
@media (max-width: 520px) { .teacher-search .btn { padding: 10px 14px; } }
.teacher-h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 16px; }
.search-hits { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.search-hits a { display: grid; gap: 3px; padding: 14px 16px; border-radius: var(--radius-md); border: 1px solid var(--border-light); background: #ffffff; color: var(--ink-700); }
.search-hits a:hover { border-color: var(--stream-500); }
.search-hits small { font-weight: 800; color: var(--stream-700); }
.search-hits strong { color: var(--ink-900); }
.search-hits span { font-size: 0.94rem; line-height: 1.55; }
.week-card { display: grid; gap: 6px; justify-items: start; padding: 28px; border-radius: var(--radius-lg); color: var(--ink-900); background: radial-gradient(ellipse at 90% 10%, rgba(245, 185, 66, 0.25) 0%, transparent 55%), linear-gradient(135deg, var(--lvl1-bg) 0%, #ffffff 100%); border: 1px solid rgba(3, 105, 161, 0.18); box-shadow: var(--shadow-soft); }
.week-card.level-2 { background: radial-gradient(ellipse at 90% 10%, rgba(245, 185, 66, 0.25) 0%, transparent 55%), linear-gradient(135deg, var(--lvl2-bg) 0%, #ffffff 100%); border-color: rgba(126, 34, 206, 0.18); }
.week-card-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; font-weight: 800; color: var(--gold-700); }
.week-card-num { font-weight: 800; color: var(--ink-600); }
.week-card strong { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; }
.week-card-theme { color: var(--ink-700); max-width: 680px; margin-bottom: 8px; }
.level-block + .level-block { margin-top: 40px; }
.level-part { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-600); margin: 18px 0 10px; }
.lesson-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .lesson-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lesson-grid { grid-template-columns: repeat(3, 1fr); } }
.lesson-card { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border-radius: var(--radius-md); background: #ffffff; border: 1px solid var(--border-light); box-shadow: var(--shadow-card); color: var(--ink-900); transition: transform 0.2s ease, border-color 0.2s ease; }
.lesson-card:hover { transform: translateY(-2px); border-color: var(--lvl1); }
.lesson-card-num { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; background: var(--lvl1-bg); color: var(--lvl1); }
.level-2 .lesson-card-num { background: var(--lvl2-bg); color: var(--lvl2); }
.level-2 .lesson-card:hover { border-color: var(--lvl2); }
.lesson-card-body { display: grid; gap: 2px; line-height: 1.3; }
.lesson-card-body small { color: var(--ink-600); font-weight: 600; }
.lesson-card.is-week { border: 2px solid var(--gold-500); }
.teacher-columns { display: grid; gap: 36px; }
@media (min-width: 1024px) { .teacher-columns { grid-template-columns: 1.3fr 1fr; gap: 48px; } }
.guide-list { display: grid; gap: 10px; }
.guide-item { border-radius: var(--radius-md); border: 1px solid var(--border-light); background: #ffffff; box-shadow: var(--shadow-card); }
.guide-item summary, .guide-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; font-weight: 800; color: var(--ink-900); }
.guide-item summary::-webkit-details-marker { display: none; }
.guide-item summary > span:nth-child(2), .guide-link > span:nth-child(2) { flex: 1; }
.guide-item[open] summary > svg:last-child { transform: rotate(180deg); }
.guide-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--surface-sky); color: var(--stream-700); flex-shrink: 0; }
.guide-item > .md { padding: 0 18px 16px; font-size: 1rem; }
.file-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.file-list a { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-md); background: var(--surface-ivory); border: 1px solid rgba(217, 155, 38, 0.24); color: var(--ink-900); }
.file-list a > svg { color: var(--gold-700); flex-shrink: 0; margin-top: 2px; }
.file-list span { display: grid; gap: 2px; }
.file-list small { color: var(--ink-600); }
.glossary-list { margin: 0; padding: 0 18px 16px; display: grid; gap: 4px; }
.glossary-list dt { font-weight: 800; color: var(--ink-900); margin-top: 8px; }
.glossary-list dd { margin: 0; color: var(--ink-700); font-size: 0.95rem; line-height: 1.55; }
.disc-gate-band { padding: 72px 0 96px; }
.disc-gate { max-width: 520px; margin: 0 auto; text-align: center; padding: 36px 28px; border-radius: var(--radius-lg); background: #ffffff; border: 1px solid var(--border-light); box-shadow: var(--shadow-soft); }
.disc-gate .grace-card-icon { margin: 0 auto 14px; }
.disc-gate h1 { font-size: 1.9rem; margin-bottom: 8px; }
.disc-gate p { color: var(--ink-700); }
.disc-gate-row { display: flex; gap: 8px; margin-top: 18px; }
.disc-gate-row input { flex: 1; min-width: 0; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border-light); font: inherit; font-size: 1rem; }
.disc-gate-error { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: #fef2f2; color: #991b1b !important; font-weight: 700; font-size: 0.94rem; }
.disc-gate-back { margin-top: 20px; font-size: 0.92rem; }
.disc-gate-back a { display: inline-flex; align-items: center; gap: 6px; color: var(--stream-700); font-weight: 700; }
.door-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .door-grid { grid-template-columns: 1fr 1fr; } }
.door-card { display: grid; gap: 8px; justify-items: start; padding: 28px 26px; border-radius: var(--radius-lg); background: #ffffff; border: 1px solid var(--border-light); box-shadow: var(--shadow-soft); color: var(--ink-700); transition: transform 0.2s ease, border-color 0.2s ease; }
.door-card:hover { transform: translateY(-3px); border-color: var(--stream-500); }
.door-card strong { font-size: 1.5rem; color: var(--ink-900); }
.door-teacher .story-card-icon { background: var(--lvl2-bg); color: var(--lvl2); }
.door-teacher:hover { border-color: var(--lvl2); }
.door-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.door-links span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 9999px; background: var(--surface-sky); font-size: 0.85rem; font-weight: 700; color: var(--ink-700); }
.week-strip { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px 20px; border-radius: var(--radius-md); background: var(--surface-ivory); border: 1px solid rgba(217, 155, 38, 0.3); color: var(--ink-900); }
.week-strip > svg { color: var(--gold-700); flex-shrink: 0; }
.week-strip > span:nth-child(2) { flex: 1; display: grid; line-height: 1.35; }
.week-strip small { color: var(--gold-700); font-weight: 800; }
.week-strip-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--stream-700); white-space: nowrap; }
@media (max-width: 560px) { .week-strip { flex-wrap: wrap; } .week-strip-go { width: 100%; } }
.form-shell { max-width: 720px; margin: 0 auto; text-align: center; }
.form-shell-alt { margin-top: 14px; font-size: 0.92rem; color: var(--ink-600); }
.form-shell-alt a { color: var(--stream-700); font-weight: 700; text-decoration: underline; }
.form-frame { width: 100%; height: 1100px; border: 0; border-radius: var(--radius-md); background: #ffffff; box-shadow: var(--shadow-card); }
.program-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .program-grid { grid-template-columns: 1fr 1fr; } }
.program-level { padding: 26px; border-radius: var(--radius-lg); background: #ffffff; border: 1px solid var(--border-light); border-top: 4px solid var(--lvl1); box-shadow: var(--shadow-card); }
.program-level.level-2 { border-top-color: var(--lvl2); }
.program-level h3 { font-size: 1.2rem; margin-bottom: 12px; }
.program-dates { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.program-dates li { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-700); font-weight: 600; }
.program-dates svg { color: var(--gold-700); flex-shrink: 0; margin-top: 4px; }
.program-lessons { margin: 0; padding-left: 1.6em; color: var(--ink-700); display: grid; gap: 4px; }
.tasks-verse { font-style: italic; color: var(--ink-700); margin-bottom: 16px; }
.tasks-progress { max-width: 420px; margin: 0 0 18px; }
.tasks-progress p { margin-bottom: 6px; color: var(--ink-700); }
.tasks-progress progress { width: 100%; height: 12px; border-radius: 9999px; overflow: hidden; appearance: none; background: #e2e8f0; border: 0; }
.tasks-progress progress::-webkit-progress-bar { background: #e2e8f0; }
.tasks-progress progress::-webkit-progress-value { background: #16a34a; }
.tasks-progress progress::-moz-progress-bar { background: #16a34a; }
.tasks-howto { display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--surface-ivory); color: var(--ink-700); margin-bottom: 8px; }
.tasks-howto svg { color: var(--gold-700); flex-shrink: 0; margin-top: 3px; }
.tasks-level { margin: 24px 0 0; font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-600); }
.task-card.is-week { padding: 24px; margin: 12px 0; border: 2px solid var(--gold-500); border-radius: var(--radius-lg); background: #fffdf7; }
.task-card.done > h2::after { content: " ✓"; color: #15803d; }
.task-check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; padding: 10px 18px; border-radius: 9999px; border: 2px solid #16a34a; background: #ffffff; color: #166534; font: inherit; font-weight: 800; cursor: pointer; }
.task-card.done .task-check { background: #16a34a; color: #ffffff; }
.tasks-groups-sub { color: var(--ink-600); margin-bottom: 16px; }
.group-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .group-grid { grid-template-columns: 1fr 1fr; } }
.group-card { border-radius: var(--radius-md); border: 1px solid var(--border-light); background: #ffffff; }
.group-card summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; }
.group-card summary::-webkit-details-marker { display: none; }
.group-card summary strong { flex: 1; }
.group-card summary small { color: var(--ink-600); font-weight: 700; }
.group-emoji { font-size: 1.3rem; }
.group-card ul { margin: 0; padding: 0 16px 14px 44px; color: var(--ink-700); display: grid; gap: 3px; }
@media print {
	.isle, .tabbar, .sheet, .site-footer, footer, .disc-nav, .lesson-toc, .lesson-actions, .class-bar, .floating-cta, .lesson-pager, #wpadminbar, .task-check { display: none !important; }
	.lesson-layout { display: block; padding: 0; }
	.lesson-head { padding: 0 0 12px; background: none; }
	.lesson-head-photo { display: none; }
	.lesson-body { max-width: none; }
	.md { font-size: 11.5pt; line-height: 1.55; }
	.md-answer { border: 1px solid #cbd5e1; }
	.lesson-section { break-inside: auto; padding: 14px 0; }
	a { color: inherit !important; text-decoration: none !important; }
}
.disc-page > .disc-nav:first-child { margin-top: var(--nav-safe); }

/* ==========================================================================
   Reto Centinela30 (templates/reto.php)
   ========================================================================== */
.reto-hero-logo { margin: 24px auto 0; width: 96px; height: 96px; }
.reto-hero-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.18)); }
.reto-chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: #fef3c7; color: var(--gold-700); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.02em; vertical-align: middle; }
.reto-notice { display: grid; gap: 16px; align-items: center; padding: 22px 24px; margin-bottom: 40px; border-radius: var(--radius-md); background: linear-gradient(120deg, #fff7e6 0%, #f0f7fc 100%); border: 1px solid rgba(217, 155, 38, 0.3); box-shadow: var(--shadow-card); }
@media (min-width: 900px) { .reto-notice { grid-template-columns: auto 1fr auto; gap: 24px; } }
.reto-notice-badge { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 6px 14px; border-radius: 999px; background: var(--gold-500); color: #ffffff; font-weight: 800; font-size: 0.85rem; white-space: nowrap; }
.reto-notice-text p { color: var(--ink-700); line-height: 1.6; margin: 0; }
.reto-notice-text .reto-notice-action { margin-top: 6px; font-weight: 700; color: var(--ink-900); }
.reto-notice .btn { justify-self: start; }
.reto-intro { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .reto-intro { grid-template-columns: 1.15fr 0.85fr; gap: 40px; } }
.reto-poster { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18); aspect-ratio: 16 / 9; background: #1f2937; }
.reto-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reto-stats { margin: 0; }
@media (min-width: 900px) { .reto-stats { grid-template-columns: repeat(2, 1fr); } }
.reto-stats .stat-card-number { font-size: clamp(1.9rem, 3.6vw, 2.5rem); }

.reto-vision { display: grid; gap: 28px; align-items: start; max-width: 1080px; margin: 0 auto; }
@media (min-width: 960px) { .reto-vision { grid-template-columns: 0.9fr 1.1fr; gap: 44px; } }
.reto-scripture { margin: 0; padding: 34px 30px; border-radius: var(--radius-lg); background: #ffffff; border: 1px solid rgba(217, 155, 38, 0.28); box-shadow: var(--shadow-card); color: var(--gold-500); }
.reto-scripture blockquote { margin: 12px 0 16px; font-size: clamp(1.15rem, 2vw, 1.35rem); font-style: italic; line-height: 1.6; color: var(--ink-900); }
.reto-scripture figcaption { font-weight: 800; color: var(--gold-700); }
.reto-vision-text { margin: 0; }
.reto-date-btn { display: inline-flex; align-items: center; gap: 14px; margin-top: 10px; padding: 14px 18px; border-radius: var(--radius-md); background: #ffffff; border: 1px solid rgba(3, 105, 161, 0.2); box-shadow: var(--shadow-card); color: var(--ink-900); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.reto-date-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1); }
.reto-date-btn small { display: block; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--stream-700); }
.reto-date-btn strong { display: block; font-size: 1rem; }
.reto-date-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--surface-sky); color: var(--stream-700); flex-shrink: 0; }

@media (min-width: 1200px) { .reto-rules { grid-template-columns: repeat(5, 1fr); gap: 18px; } }
@media (min-width: 1024px) and (max-width: 1199px) { .reto-rules { grid-template-columns: repeat(2, 1fr); } }
.reto-rules .story-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.reto-pair { display: grid; gap: 22px; margin-top: 48px; }
@media (min-width: 900px) { .reto-pair { grid-template-columns: 1fr 1fr; } }
.reto-panel { padding: 30px 28px; border-radius: var(--radius-lg); background: var(--surface-sky); border: 1px solid rgba(3, 105, 161, 0.14); }
.reto-panel-gold { background: #fff8eb; border-color: rgba(217, 155, 38, 0.3); }
.reto-panel .section-kicker { margin-bottom: 12px; }
.reto-panel h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 12px; }
.reto-panel p { color: var(--ink-700); line-height: 1.7; margin-bottom: 12px; }
.reto-time, .reto-note { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--gold-700) !important; }
.reto-note { font-weight: 700; font-style: italic; }
.reto-small { font-size: 0.85rem; color: var(--ink-600) !important; margin: 0 !important; }
.reto-ranks-head { text-align: center; margin: 60px 0 26px; }
.reto-ranks-head .section-kicker { justify-content: center; margin-bottom: 10px; }
.reto-ranks { display: grid; gap: 20px; }
@media (min-width: 900px) { .reto-ranks { grid-template-columns: repeat(3, 1fr); } }
.reto-rank { position: relative; text-align: center; padding: 30px 24px; border-radius: var(--radius-lg); background: #ffffff; border: 2px solid; box-shadow: var(--shadow-card); }
.reto-rank-0 { border-color: rgba(180, 83, 9, 0.35); --rank: #b45309; }
.reto-rank-1 { border-color: rgba(100, 116, 139, 0.4); --rank: #475569; }
.reto-rank-2 { border-color: rgba(217, 155, 38, 0.6); --rank: var(--gold-700); background: #fffaf0; }
.reto-rank-icon { display: inline-flex; width: 52px; height: 52px; border-radius: 50%; align-items: center; justify-content: center; background: color-mix(in srgb, var(--rank) 12%, #ffffff); color: var(--rank); }
.reto-rank-days { font-size: 3rem; font-weight: 900; line-height: 1; margin: 12px 0 2px; color: var(--rank); }
.reto-rank-unit { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-600); }
.reto-rank h4 { font-size: 1.5rem; margin: 10px 0; }
.reto-rank p { color: var(--ink-700); line-height: 1.6; margin-bottom: 16px; }

.reto-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -8px auto 34px; }
.reto-tab { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(217, 155, 38, 0.4); background: #ffffff; color: var(--ink-900); font: inherit; font-weight: 700; font-size: 0.92rem; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.reto-tab[aria-pressed="true"] { background: var(--gold-500); border-color: var(--gold-500); color: #ffffff; }
.reto-slot-time strong { font-size: 0.95rem; font-weight: 900; color: inherit; }
.reto-slot-meta { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 700; color: var(--ink-600) !important; margin-bottom: 6px; }
.reto-timeline .step-body { flex: 1; }
.reto-checks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.reto-checks li { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-700); line-height: 1.5; }
.reto-checks svg { flex-shrink: 0; margin-top: 3px; color: #15803d; }

.reto-phases { display: grid; gap: 22px; }
@media (min-width: 1024px) { .reto-phases { grid-template-columns: repeat(3, 1fr); } }
.reto-phase { padding: 26px 22px; border-radius: var(--radius-lg); background: var(--surface-ivory); border: 1px solid var(--border-light); box-shadow: var(--shadow-card); }
.reto-phase-range { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--stream-700); margin-bottom: 4px; }
.reto-phase h3 { font-size: 1.3rem; margin-bottom: 8px; }
.reto-phase-focus { font-size: 0.92rem; color: var(--ink-600); line-height: 1.5; margin-bottom: 16px; }
.reto-days { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reto-days li { padding: 12px 14px; border-radius: var(--radius-sm); background: #ffffff; border: 1px solid var(--border-light); }
.reto-day-head { display: flex; justify-content: space-between; gap: 10px; font-size: 0.8rem; font-weight: 800; color: var(--gold-700); margin-bottom: 2px; }
.reto-day-theme { font-weight: 800; color: var(--ink-900); }
.reto-day-focus { font-size: 0.9rem; color: var(--ink-600); line-height: 1.5; }
.reto-final { margin-top: 32px; }
.reto-final .section-kicker { justify-content: center; margin-bottom: 10px; }

.reto-banner { display: flex; gap: 14px; align-items: flex-start; max-width: 900px; margin: 0 auto 44px; padding: 18px 22px; border-radius: var(--radius-md); background: #ffffff; border: 1px solid rgba(217, 155, 38, 0.3); box-shadow: var(--shadow-card); color: var(--ink-700); line-height: 1.6; }
.reto-banner svg { flex-shrink: 0; color: var(--gold-500); margin-top: 2px; }
.reto-lead { text-align: center; font-weight: 700; color: var(--stream-700); margin: -12px auto 28px; max-width: 720px; }
.reto-routines { display: grid; gap: 22px; }
@media (min-width: 900px) { .reto-routines { grid-template-columns: 1fr 1fr; } }
.reto-routine { padding: 26px 24px; border-radius: var(--radius-lg); background: #ffffff; border: 1px solid var(--border-light); box-shadow: var(--shadow-card); }
.reto-routine h3 { font-size: 1.3rem; margin-bottom: 4px; }
.reto-routine-sub { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gold-700); font-size: 0.9rem; margin-bottom: 14px; }
.reto-intervals { margin: 0; padding: 0 0 0 1.4em; display: grid; gap: 4px; }
.reto-intervals li { padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.reto-intervals li::marker { font-weight: 800; color: var(--stream-700); }
.reto-intervals li:last-child { border-bottom: 0; }
.reto-intervals li > span { vertical-align: top; }
.reto-iv-name { display: inline-block; width: calc(100% - 11.5em); }
.reto-iv-name strong { display: block; color: var(--ink-900); }
.reto-iv-name small { display: block; color: var(--ink-600); font-size: 0.85rem; }
.reto-iv-time { display: inline-block; width: 11.2em; text-align: right; font-size: 0.82rem; font-weight: 800; color: var(--stream-700); }
.reto-videos-head { text-align: center; margin: 56px 0 24px; }
.reto-videos-head .section-kicker { justify-content: center; margin-bottom: 8px; }
.reto-videos { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .reto-videos { grid-template-columns: repeat(3, 1fr); } .reto-video.is-main { grid-column: 1 / -1; max-width: 900px; width: 100%; justify-self: center; } }
.reto-video { margin: 0; }
.reto-video .video-frame { margin: 0; }
.reto-video figcaption { margin-top: 10px; text-align: center; font-weight: 800; color: var(--ink-900); }

.reto-plate-row { display: grid; gap: 34px; align-items: center; }
@media (min-width: 960px) { .reto-plate-row { grid-template-columns: 0.8fr 1.2fr; gap: 48px; } }
.reto-plate { margin: 0; display: grid; justify-items: center; gap: 20px; }
.reto-plate-disc { width: min(300px, 78vw); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#f59e0b 0 37.5%, #22c55e 37.5% 75%, #0ea5e9 75% 100%); border: 12px solid #ffffff; box-shadow: 0 0 0 1px var(--border-light), 0 20px 40px rgba(15, 23, 42, 0.12); }
.reto-plate-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.reto-plate-legend li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-700); font-size: 0.92rem; }
.reto-plate-legend li::before { content: ''; width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
.reto-plate-legend .p::before { background: #f59e0b; }
.reto-plate-legend .v::before { background: #22c55e; }
.reto-plate-legend .c::before { background: #0ea5e9; }
.reto-mark { font-weight: 900; font-size: 0.95rem; }
.reto-water { padding: 22px; border-radius: var(--radius-md); background: var(--surface-sky); border: 1px solid rgba(3, 105, 161, 0.14); }
.reto-water-head { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink-900) !important; margin-bottom: 10px !important; }
.reto-water-head svg { color: var(--stream-700); }
.reto-water-head small { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--stream-700); }
.reto-formula { font-size: 1.15rem; font-weight: 900; color: var(--stream-700) !important; margin-bottom: 8px !important; }
.reto-water p:last-child { margin-bottom: 0; }
.reto-meals-head { text-align: center; margin: 56px auto 24px; }
.reto-meals { display: grid; gap: 18px; }
@media (min-width: 640px) { .reto-meals { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reto-meals { grid-template-columns: repeat(3, 1fr); } }
.reto-meal { border-radius: var(--radius-md); background: #ffffff; border: 1px solid var(--border-light); box-shadow: var(--shadow-card); overflow: hidden; }
.reto-meal header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 18px; background: var(--surface-cream); border-bottom: 1px solid var(--border-light); }
.reto-meal h4 { font-size: 1.1rem; margin: 0; }
.reto-meal header span { font-size: 0.8rem; font-weight: 700; color: var(--gold-700); text-align: right; }
.reto-triplet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 18px 0; }
.reto-triplet span { text-align: center; padding: 8px 4px; border-radius: 10px; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; color: var(--ink-600); }
.reto-triplet strong { display: block; font-size: 1.2rem; color: var(--ink-900); text-transform: none; }
.reto-triplet .p { background: #fef3c7; }
.reto-triplet .v { background: #dcfce7; }
.reto-triplet .c { background: #e0f2fe; }
.reto-meal-label { padding: 14px 18px 0; font-weight: 800; color: var(--ink-900); font-size: 0.92rem; }
.reto-meal .reto-checks { padding: 0 18px 18px; margin-top: 8px; font-size: 0.92rem; }
.reto-tips { margin-top: 44px; padding: 30px 28px; border-radius: var(--radius-lg); background: var(--surface-cream); border: 1px solid var(--border-light); }
.reto-tips h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 18px; }
.reto-tips ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 768px) { .reto-tips ul { grid-template-columns: repeat(3, 1fr); } }
.reto-tips li { color: var(--ink-700); line-height: 1.5; font-size: 0.94rem; }
.reto-tips li strong { display: block; color: var(--ink-900); margin-bottom: 2px; }
.reto-grounding { display: grid; gap: 18px; margin-top: 28px; padding: 30px 28px; border-radius: var(--radius-lg); background: var(--surface-mint); border: 1px solid rgba(22, 101, 52, 0.15); }
@media (min-width: 768px) { .reto-grounding { grid-template-columns: auto 1fr; gap: 26px; } }
.reto-grounding .grace-card-icon { background: #dcfce7; color: #166534; margin: 0; }
.reto-grounding .section-kicker { margin-bottom: 10px; }
.reto-grounding h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 10px; }
.reto-grounding > div > p { color: var(--ink-700); line-height: 1.7; }
.reto-ground-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .reto-ground-list { grid-template-columns: repeat(2, 1fr); } }
.reto-ground-list li { padding: 14px 16px; border-radius: var(--radius-sm); background: #ffffff; border: 1px solid var(--border-light); }
.reto-ground-list strong { display: block; color: var(--ink-900); }
.reto-ground-list span { font-size: 0.92rem; color: var(--ink-600); line-height: 1.5; }

.reto-wa { display: grid; gap: 30px; align-items: start; }
@media (min-width: 1024px) { .reto-wa { grid-template-columns: 1.4fr 0.6fr; gap: 40px; } }
@media (min-width: 640px) and (max-width: 1023px) { .reto-wa-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reto-wa-list { grid-template-columns: repeat(2, 1fr); } }
.reto-wa-side { display: grid; gap: 18px; justify-items: center; }
.reto-phone { width: 100%; max-width: 320px; border-radius: 34px; padding: 10px; background: #141b29; box-shadow: 0 24px 50px rgba(15, 23, 42, 0.25); }
.reto-phone-top { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; border-radius: 26px 26px 0 0; background: #075e54; color: #ffffff; }
.reto-phone-top strong { display: block; font-size: 0.9rem; }
.reto-phone-top small { display: block; font-size: 0.72rem; opacity: 0.85; }
.reto-phone-av { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gold-500); font-size: 0.72rem; font-weight: 900; flex-shrink: 0; }
.reto-phone-msgs { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 18px; border-radius: 0 0 26px 26px; background: #ece5dd; }
.reto-msg { max-width: 86%; margin: 0; padding: 8px 10px 6px; border-radius: 10px; background: #ffffff; font-size: 0.82rem; line-height: 1.4; color: var(--ink-900); align-self: flex-start; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); }
.reto-msg.is-mine { background: #dcf8c6; align-self: flex-end; }
.reto-msg b { display: block; font-size: 0.74rem; color: #075e54; }
.reto-msg small { display: block; text-align: right; font-size: 0.66rem; color: var(--ink-600); margin-top: 2px; }
.reto-wa-btn { width: 100%; max-width: 320px; justify-content: center; }
.reto-cta-text { color: var(--ink-700); line-height: 1.7; max-width: 640px; margin: 0 auto 22px; }
#velar .section-title { margin-bottom: 14px; }

/* ===== Citas bíblicas con enlace a Bible Gateway (RVR1960), 2026-11-14 ===== */
a.bible-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
a.bible-link:hover, a.bible-link:focus-visible { text-decoration-color: currentColor; }

/* =================================================================================================
   HOME V2 (2026-11-15): dark design with lime accents, a copy of the reference the owner chose
   (disenos/2026-11-15-inicio-replica.html, havenchurchpa.org). Home content uses .home-v2; the shared dark menu now lives in dark.css.
   The shared footer uses .hv-foot. Fonts: Rammetto
   One (titles) and Onest (text), both OFL, in assets/fonts.
   ================================================================================================= */
@font-face { font-family: 'Rammetto One'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/rammetto-one-latin.woff2') format('woff2'); }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/onest-latin.woff2') format('woff2'); }

.home-v2 .hv-disp, .hv-foot .hv-disp, .home-v2 .section-title, .home-v2 h1, .home-v2 h2 {
    font-family: 'Rammetto One', 'Nunito Sans', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.95;
}
.home-v2 h3, .home-v2 h4 { font-family: 'Onest', sans-serif; }
.hv-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.hv-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv-kick { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.hv-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hv-lime); flex: none; }
.hv-muted { color: var(--hv-muted); }
.hv-lime { color: var(--hv-lime); }
.hv-hl { position: relative; display: inline-block; isolation: isolate; }
.hv-hl::after { content: ""; position: absolute; left: -1%; right: -1%; bottom: 0.04em; height: 0.2em; z-index: -1; background: var(--hv-lime); border-radius: 3px; transform: skewX(-12deg) rotate(-0.8deg); }

/* Buttons with the arrow in a circle */
.hv-btn { display: inline-flex; align-items: center; gap: 12px; padding: 6px 6px 6px 20px; border-radius: 9999px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; transition: transform 0.2s ease; }
.hv-btn:hover { transform: translateY(-2px); }
.hv-btn i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.hv-btn-lime { background: var(--hv-lime); color: #111111; }
.hv-btn-lime i { background: #111111; color: var(--hv-lime); }
.hv-btn-dark { background: #111111; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.16); }
.hv-btn-dark i, .hv-btn-ghost i { background: var(--hv-lime); color: #111111; }
.hv-btn-ghost { background: rgba(0, 0, 0, 0.45); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.32); }
.hv-go { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--hv-lime); color: #111111; flex: none; }
.home-v2 a:focus-visible, .hv-foot a:focus-visible { outline: 3px solid var(--hv-lime); outline-offset: 3px; }

/* Hero */
.hv-hero { padding: var(--nav-safe) 10px 0; }
.hv-hero-frame { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(560px, 78vh, 760px); border-radius: 28px; background: var(--hv-dark); }
.hv-hero-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 38%, rgba(0, 0, 0, 0.08) 72%), linear-gradient(0deg, rgba(0, 0, 0, 0.45), transparent 40%); }
.hv-hero-frame > img, .hv-hero-frame > video { z-index: -2; }
.hv-hero-frame .hero-video { opacity: 0; transition: opacity 0.8s ease; }
.hv-hero-frame .hero-video.is-playing { opacity: 1; }
.hv-hero-txt { max-width: 760px; padding: 56px clamp(24px, 6vw, 80px); color: #ffffff; }
.hv-hero-txt .hv-kick { color: #ffffff; }
.home-v2 .hv-hero h1 { font-size: clamp(3.2rem, 8.4vw, 7.4rem); color: #ffffff; margin: 16px 0 20px; }
.hv-hero-intro { max-width: 24rem; font-size: 1rem; line-height: 1.6; color: #ebebeb; }
.hv-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hv-seal { position: absolute; right: clamp(24px, 6vw, 90px); bottom: clamp(30px, 8vw, 90px); display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: #111111; }
.hv-seal-ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); fill: #ffffff; font: 800 8.6px 'Onest', sans-serif; letter-spacing: 1.7px; animation: hv-spin 20s linear infinite; }
.hv-seal-core { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--hv-lime); color: #111111; }
@keyframes hv-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hv-seal-ring { animation: none; } .hv-hero-frame .hero-video { display: none; } }
@media (max-width: 700px) {
    .hv-hero-frame { align-items: flex-end; min-height: 600px; border-radius: 22px; }
    .hv-hero-txt { padding: 40px 22px 34px; }
    .hv-seal { top: 22px; right: 18px; bottom: auto; width: 86px; height: 86px; }
    .hv-seal-core { width: 36px; height: 36px; }
}

/* Welcome and what to expect */
.hv-welcome { padding: 96px 0 110px; background: #ffffff; }
.hv-welcome-grid { display: grid; gap: 44px; }
@media (min-width: 900px) { .hv-welcome-grid { grid-template-columns: 330px 1fr; gap: 66px; align-items: start; } }
.hv-belong { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 500px; padding: 22px; border: 3px solid #111111; border-radius: 22px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18); }
.hv-belong::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.78)); }
.hv-belong > img { z-index: -2; }
.hv-chip { position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 9999px; background: #111111; color: #ffffff; font-size: 0.6rem; }
.hv-belong-title { max-width: 70%; margin: 0; font-size: 2rem; color: #ffffff; }
.hv-come { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 72px; height: 72px; padding: 8px; border-radius: 50%; background: var(--hv-lime); color: #111111; text-align: center; font-size: 0.56rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1.2; text-transform: uppercase; }
.home-v2 .hv-welcome-h { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin: 12px 0 18px; color: #000000; }
.hv-welcome-row { display: flex; flex-wrap: wrap; gap: 22px; justify-content: space-between; align-items: flex-end; padding-bottom: 28px; border-bottom: 1px solid #e3e3e3; }
.hv-welcome-row p { max-width: 32rem; margin: 0; color: var(--hv-muted); }
.hv-expect-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin: 30px 0 16px; }
.hv-expect-head h3 { margin: 6px 0 0; font-size: 1.5rem; color: #000000; }
.hv-expect-head > p { max-width: 26rem; margin: 0; color: var(--hv-muted); font-size: 0.88rem; text-align: right; }
@media (max-width: 700px) { .hv-expect-head > p { text-align: left; } }
.hv-expect { display: grid; border-radius: 18px; background: var(--hv-dark); color: #ffffff; }
@media (min-width: 720px) { .hv-expect { grid-template-columns: repeat(3, 1fr); } .hv-expect > div + div { border-left: 1px solid var(--hv-line); } }
@media (max-width: 719px) { .hv-expect > div + div { border-top: 1px solid var(--hv-line); } }
.hv-expect > div { padding: 24px 24px 28px; }
.hv-ic { display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 14px; border-radius: 50%; background: var(--hv-lime); color: #111111; }
.home-v2 .hv-expect h4 { margin: 0 0 8px; font-family: 'Rammetto One', sans-serif; font-weight: 400; font-size: 1rem; line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; color: #ffffff; }
.hv-expect p { margin: 0; color: var(--hv-muted-d); font-size: 0.86rem; line-height: 1.55; }

/* Services and events cards */
.hv-events { position: relative; isolation: isolate; overflow: hidden; padding: 80px 0 90px; background: var(--hv-dark); }
.hv-events > img { z-index: -2; filter: grayscale(1) brightness(0.42) contrast(1.1); }
.hv-events::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 26, 24, 0.88), rgba(27, 26, 24, 0.35) 35%, rgba(27, 26, 24, 0.35) 75%, rgba(27, 26, 24, 0.92)); }
.hv-events-inner { width: min(980px, 100% - 40px); margin: 0 auto; }
.home-v2 .hv-line-h { display: flex; align-items: center; gap: 18px; margin: 0 0 26px; font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: #ffffff; }
.hv-line-h::after { content: ""; flex: 1; height: 1px; background: var(--hv-lime); opacity: 0.7; }
.hv-egrid { display: grid; gap: 12px; }
@media (min-width: 700px) { .hv-egrid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; } .hv-ecard.is-big { grid-column: span 2; } }
.hv-ecard { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; padding: 16px; border-radius: 14px; color: #ffffff; }
.hv-ecard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 20, 40, 0.12), rgba(5, 10, 20, 0.86)); }
.hv-ecard > img { z-index: -2; transition: transform 0.5s ease; }
.hv-ecard:hover > img { transform: scale(1.05); }
.hv-ecard.is-big { outline: 2px solid var(--hv-lime); outline-offset: -2px; }
.hv-date { position: absolute; top: 0; left: 14px; min-width: 42px; padding: 8px 9px 7px; border-radius: 0 0 6px 6px; background: var(--hv-lime); color: #111111; text-align: center; line-height: 1; }
.hv-ecard.is-big .hv-date { top: 12px; border: 3px solid #111111; border-radius: 8px; box-shadow: 0 0 0 2px var(--hv-lime); }
.hv-date small { display: block; font-size: 0.55rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.hv-date b { font-family: 'Rammetto One', sans-serif; font-weight: 400; font-size: 1.1rem; text-transform: uppercase; }
.hv-tag { align-self: flex-start; margin-bottom: 8px; padding: 3px 10px; border-radius: 9999px; background: var(--hv-lime); color: #111111; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.hv-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.hv-ecard-title { display: block; font-family: 'Rammetto One', sans-serif; font-size: 1.02rem; line-height: 1.08; letter-spacing: -0.02em; }
.hv-ecard.is-big .hv-ecard-title { font-size: 1.6rem; }
.hv-time { display: inline-block; margin-top: 5px; font-size: 0.74rem; color: #d4d4d4; }
.hv-ecard.is-big .hv-time { padding: 3px 10px; border-radius: 9999px; background: rgba(255, 255, 255, 0.14); }
.hv-ecard .hv-go { width: 28px; height: 28px; }
.hv-more { display: flex; justify-content: flex-end; margin-top: 16px; }

/* Next step */
.hv-next { padding: 90px 0 80px; text-align: center; background: #ffffff; }
.home-v2 .hv-next h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); color: #000000; }
.hv-next-lead { max-width: 38rem; margin: 16px auto 36px; color: var(--hv-muted); }
.hv-nbox { display: grid; gap: 12px; width: min(1150px, 100% - 40px); margin: 0 auto; padding: 12px; border-radius: 22px; background: var(--hv-cream); text-align: left; }
@media (min-width: 900px) { .hv-nbox { grid-template-columns: 1.05fr 1fr; align-items: center; } }
.hv-nphoto { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; padding: 24px; border-radius: 16px; }
.hv-nphoto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.8)); }
.hv-nphoto > img { z-index: -2; }
.hv-nphoto .hv-disp { max-width: 16ch; margin: 0; font-size: 2rem; color: #ffffff; }
.hv-nlist { display: grid; gap: 10px; }
@media (min-width: 900px) { .hv-nlist { position: relative; z-index: 2; margin-left: -46px; } .hv-nitem:nth-child(even) { margin: 0 -8px 0 16px; } }
.hv-nitem { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px 14px 18px; border-radius: 12px; background: #ffffff; color: #111111; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06); transition: transform 0.2s ease; }
.hv-nitem:hover { transform: translateX(4px); }
.hv-nitem small { display: block; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #5f5f5f; }
.hv-nitem b { display: block; margin: 2px 0; font-family: 'Rammetto One', sans-serif; font-weight: 400; font-size: 0.98rem; line-height: 1.1; text-transform: uppercase; }
.hv-nitem em { display: block; font-style: normal; font-size: 0.78rem; color: #666666; }
.hv-nitem .hv-go { background: #111111; color: #ffffff; }
.hv-nitem.is-lime { background: var(--hv-lime); }
.hv-nitem.is-lime small { color: #3f4d0a; }
.hv-nitem.is-lime em { color: #2f3a07; }
.hv-nitem.is-dark { background: var(--hv-dark); color: #ffffff; }
.hv-nitem.is-dark small, .hv-nitem.is-dark em { color: #aaaaaa; }
.hv-nitem.is-dark .hv-go { background: var(--hv-lime); color: #111111; }

/* Closing: there is room for your story */
.hv-room { padding: 80px 0 90px; background: var(--hv-dark); color: #ffffff; text-align: center; }
.home-v2 .hv-room h2 { max-width: 14ch; margin: 14px auto 20px; font-size: clamp(2.5rem, 6.2vw, 4.8rem); line-height: 0.9; color: #f2ede4; }
.hv-room-lead { max-width: 32rem; margin: 0 auto 38px; color: #cfcfcf; }
.hv-rpill { position: relative; display: grid; gap: 14px; align-items: center; width: min(820px, 100%); margin: 0 auto; padding: 18px 150px 18px 36px; border-radius: 9999px; background: var(--hv-cream); color: #111111; text-align: left; }
@media (min-width: 760px) { .hv-rpill { grid-template-columns: auto 1fr auto; } }
.hv-rpill-t small { display: block; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.hv-rpill-t b { font-family: 'Rammetto One', sans-serif; font-weight: 400; font-size: 2.5rem; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.hv-rpill > p { max-width: 16rem; margin: 0; padding-left: 14px; border-left: 1px solid #cfc6b5; color: #555555; font-size: 0.8rem; }
.hv-rpill-ph { position: absolute; top: 50%; right: -14px; width: 150px; height: 150px; overflow: hidden; border: 6px solid var(--hv-dark); border-radius: 50%; transform: translateY(-50%); }
.hv-rpill-ph img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 759px) { .hv-rpill { padding: 24px; border-radius: 26px; } .hv-rpill > p { padding-left: 0; border-left: 0; } .hv-rpill-ph { display: none; } }
.hv-rrow { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-end; width: min(820px, 100%); margin: 42px auto 0; text-align: left; }
.hv-rrow-lbl { margin: 0; font-family: 'Rammetto One', sans-serif; font-size: 0.9rem; text-transform: uppercase; }
.hv-times { display: flex; gap: 30px; }
.hv-times small { display: block; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hv-lime); }
.hv-times b { display: block; font-family: 'Rammetto One', sans-serif; font-weight: 400; font-size: 1.7rem; line-height: 1; }
.hv-times span { display: block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #bbbbbb; }

/* The sections kept from the earlier home page, in the same look */
.home-v2 .band { padding-top: 90px; padding-bottom: 90px; }
.home-v2 #eventos { background: var(--hv-cream); }
.home-v2 #pastores { background: var(--hv-ivory); }
.home-v2 #comunidad { background: #ffffff; }
.home-v2 #preguntas { background: var(--hv-ivory); }
.home-v2 #en-vivo, .home-v2 #ministerio-artes { background: var(--hv-dark); color: #ffffff; }
.home-v2 .section-kicker { gap: 8px; padding: 0; border: 0; background: none; box-shadow: none; color: var(--hv-muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.home-v2 .section-kicker svg { width: 14px !important; height: 14px !important; padding: 3px; box-sizing: content-box; border-radius: 50%; background: var(--hv-lime); color: #111111; }
.home-v2 .section-title { font-size: clamp(2rem, 4.2vw, 3.2rem); color: #000000; }
.home-v2 .section-title span { position: relative; display: inline-block; isolation: isolate; color: inherit; background: none; -webkit-text-fill-color: currentColor; }
.home-v2 .section-title span::after { content: ""; position: absolute; left: -1%; right: -1%; bottom: 0.04em; height: 0.2em; z-index: -1; background: var(--hv-lime); border-radius: 3px; transform: skewX(-12deg) rotate(-0.8deg); }
.home-v2 .section-subtitle { color: var(--hv-muted); }
.home-v2 #en-vivo .section-title, .home-v2 #ministerio-artes .section-title { color: #ffffff; }
.home-v2 #en-vivo .section-title span::after, .home-v2 #ministerio-artes .section-title span::after { opacity: 0.85; }
.home-v2 #en-vivo .section-title span, .home-v2 #ministerio-artes .section-title span { color: #ffffff; }
.home-v2 #en-vivo .section-kicker, .home-v2 #en-vivo .section-subtitle, .home-v2 #ministerio-artes .section-kicker { color: var(--hv-muted-d); }
.home-v2 .btn { border-radius: 9999px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; box-shadow: none; }
.home-v2 .btn-gold { background: var(--hv-lime); color: #111111; border-color: var(--hv-lime); }
.home-v2 .btn-stream { background: #111111; color: #ffffff; border-color: #111111; }
.home-v2 .btn-outline { background: transparent; color: #111111; border: 2px solid #111111; }
.home-v2 .btn:hover { transform: translateY(-2px); }

/* Calendar */
.home-v2 .calendar-shell { border-radius: 22px; border: 0; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08); }
.home-v2 .calendar-topbar { background: var(--hv-lime); }
.home-v2 #eventos .lazy-embed { background: #ffffff; border: 0; }
.home-v2 .calendar-icon-box { background: #111111; color: var(--hv-lime); }
.home-v2 .calendar-status-pill { background: #111111; color: #ffffff; border: 0; }
.home-v2 .live-dot { background: var(--hv-lime); }
.home-v2 .whatsapp-strip { border-radius: 9999px; }

/* Live stream */
.home-v2 #en-vivo .studio-frame { border-radius: 22px; border: 1px solid var(--hv-line); background: #111111; box-shadow: none; }
.home-v2 #en-vivo .lazy-embed { background: #111111; border: 0; }
.home-v2 #en-vivo .lazy-embed-placeholder { background: transparent; }
.home-v2 #en-vivo .lazy-embed-placeholder svg circle:first-child { fill: rgba(200, 255, 46, 0.08); stroke: var(--hv-lime); stroke-opacity: 0.35; }
.home-v2 #en-vivo .lazy-embed-placeholder svg circle:nth-child(2) { fill: #1B1A18; stroke: var(--hv-lime); stroke-opacity: 0.6; }
.home-v2 #en-vivo .lazy-embed-placeholder svg path { fill: var(--hv-lime); }
.home-v2 #en-vivo .lazy-embed-placeholder p { color: #e5e5e5 !important; }
.home-v2 #en-vivo .envivo-card { border-radius: 18px; border: 1px solid var(--hv-line); background: rgba(255, 255, 255, 0.04); box-shadow: none; }
.home-v2 #en-vivo .envivo-card .label { color: var(--hv-muted-d); }
.home-v2 #en-vivo .envivo-card .label svg { color: var(--hv-lime) !important; }
.home-v2 #en-vivo .envivo-card .value { color: #ffffff; font-family: 'Rammetto One', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: -0.02em; }

/* The YouTube and Facebook pills need darker shades for white text */
.home-v2 #en-vivo .social-pill.yt { background: #b00000; }
.home-v2 #en-vivo .social-pill.fb { background: #1464d8; }

/* Pastors */
.home-v2 .pastor-card { border-radius: 22px; border: 0; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08); overflow: hidden; }
.home-v2 .pastor-card h3 { font-family: 'Rammetto One', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: -0.02em; font-size: 1.05rem; }
.home-v2 .pastor-role-chip, .home-v2 .pastor-role-chip.general, .home-v2 .pastor-role-chip.local { background: #111111; color: var(--hv-lime); border: 0; }
.home-v2 .pastor-ig { color: #333333; }
.home-v2 .pastor-ig svg { color: #111111 !important; }

/* Arts ministry */
.home-v2 #ministerio-artes .artes-bg-soft { opacity: 0.16; filter: grayscale(1); }
.home-v2 #ministerio-artes p { color: #d9d9d9 !important; }
.home-v2 #ministerio-artes strong { color: var(--hv-lime) !important; }
.home-v2 #ministerio-artes .pillar-item { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--hv-line); border-radius: 16px; box-shadow: none; }
.home-v2 #ministerio-artes .pillar-icon { background: var(--hv-lime); color: #111111; }
.home-v2 #ministerio-artes .pillar-label { color: var(--hv-lime) !important; }
.home-v2 #ministerio-artes .pillar-value { color: #ffffff !important; }
.home-v2 #ministerio-artes .artes-verse { background: rgba(255, 255, 255, 0.05); border-left-color: var(--hv-lime); border-radius: 0 16px 16px 0; }
.home-v2 #ministerio-artes .artes-verse cite, .home-v2 #ministerio-artes .artes-verse cite a { color: var(--hv-lime); }
.home-v2 #ministerio-artes .artes-frame { border-radius: 22px; border: 3px solid var(--hv-lime); }
.home-v2 #ministerio-artes .artes-caption-badge { background: #111111; border: 0; }
.home-v2 #ministerio-artes .artes-caption-badge strong { color: #ffffff !important; }
.home-v2 #ministerio-artes .artes-caption-badge span { color: #bbbbbb !important; }
.home-v2 #ministerio-artes .artes-caption-badge svg { color: var(--hv-lime) !important; }

/* Community */
.home-v2 .comunidad-location { background: #111111; color: #ffffff; border: 0; }
.home-v2 .comunidad-location svg { color: var(--hv-lime); }
.home-v2 .comunidad-photo-card { border-radius: 22px; border: 3px solid #111111; }
.home-v2 .comunidad-love-tag { background: var(--hv-lime); color: #111111; }
.home-v2 .comunidad-stats-bar { background: var(--hv-dark); color: #ffffff; }
.home-v2 .comunidad-stat-num { color: var(--hv-lime); font-family: 'Rammetto One', sans-serif; font-weight: 400; }
.home-v2 .comunidad-stat-lbl { color: #cccccc; }
.home-v2 .gallery-box { border-radius: 22px; background: var(--hv-cream); border: 0; }
.home-v2 .gallery-item { border-radius: 14px; }

/* FAQ */
.home-v2 .faq-item { border-radius: 16px; border: 1px solid #e6e0d4; background: #ffffff; box-shadow: none; }
.home-v2 .faq-item[open] { border-color: #111111; }
.home-v2 .faq-item summary { font-weight: 700; }
.home-v2 .faq-toggle-icon { background: var(--hv-lime); color: #111111; border: 0; }
.home-v2 .faq-answer a { color: #111111; text-decoration-color: var(--hv-lime); text-decoration-thickness: 3px; }

/* Dark footer with a curved stream-bank edge */
/* The color behind the wave is painted by the footer itself (not by the SVG): an SVG background
   left thin gray seams above and below the wave on phones, where the footer starts at a fraction
   of a pixel. The switch to black sits below the lowest point of the wave. */
.hv-foot { --hv-bank-h: 90px; --hv-bank-top: var(--hv-dark); position: relative; padding: 0 0 calc(30px + env(safe-area-inset-bottom)); background: linear-gradient(to bottom, var(--hv-bank-top) 0 calc(var(--hv-bank-h) - 8px), var(--hv-black) 0); color: #ffffff; text-align: center; }
.hv-bank { display: block; width: 100%; height: var(--hv-bank-h); background: transparent; overflow: visible; } /* the black fill runs a few px past the bottom so no seam shows */
@media (max-width: 700px) { .hv-foot { --hv-bank-h: 56px; } }
.hv-foot-inner { width: min(900px, 100% - 40px); margin: 0 auto; }
.hv-foot-logo { display: grid; place-items: center; width: 82px; height: 82px; margin: 34px auto 12px; border-radius: 20px; background: var(--hv-lime); }
.hv-foot-logo img { width: 66px; height: 66px; border-radius: 50%; }
.hv-foot-name { margin: 0; font-size: 1.4rem; color: #ffffff; }
.hv-foot-company { margin: 6px 0 0; color: #9a9a9a; font-size: 0.82rem; }
.hv-foot-cols { display: grid; gap: 22px; margin: 44px auto 30px; }
@media (min-width: 700px) { .hv-foot-cols { grid-template-columns: repeat(3, 1fr); } }
.hv-foot-label { margin: 0 0 6px; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hv-lime); }
.hv-foot-cols a { color: #e5e5e5; font-size: 0.9rem; }
.hv-foot-cols a:hover, .hv-foot-legal a:hover { color: var(--hv-lime); }
.hv-foot-social { display: flex; justify-content: center; gap: 10px; margin-bottom: 26px; }
.hv-foot-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); color: #ffffff; }
.hv-foot-social a:hover { background: var(--hv-lime); color: #111111; border-color: var(--hv-lime); }
.hv-foot-legal { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.hv-foot-legal p { margin: 0 0 6px; color: #8a8a8a; font-size: 0.74rem; }
.hv-foot-legal a { color: #cfcfcf; text-decoration: underline; text-underline-offset: 3px; }
.hv-foot-legal .hv-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-bottom: 10px; }
.hv-foot-legal .hv-foot-links a { color: #a8a8a8; font-size: 0.72rem; text-decoration: none; }
.hv-foot-legal .hv-foot-links a:hover { color: var(--hv-lime); text-decoration: underline; }

/* =================================================================================================
   MEGA MENÚ CON FOTOS (2026-11-15): bigger dark cards in the home page's look (lime accents, Rammetto
   One titles). Every link is a photo card (field "Foto de la tarjeta", or tsc_nav_photo_file() by its
   path). Overrides the "Islas de color" card styles above, on every page.
   ================================================================================================= */
@media (min-width: 960px) {
    .isle-mega {
        left: -8px; right: -8px; grid-template-columns: 220px minmax(0, 1fr) 270px; gap: 22px; padding: 28px;
        background: #1B1A18; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 30px;
        box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45); color: #ffffff;
    }
    .isle-mega-head { display: flex; flex-direction: column; gap: 14px; padding: 6px 4px; }
    .isle-kicker { width: 46px; height: 46px; padding: 0; justify-content: center; border: 0; border-radius: 14px; background: #C8FF2E; color: #111111; }
    .isle-mega-title { font-family: 'Rammetto One', 'Nunito Sans', sans-serif; font-size: 1.75rem; line-height: 0.95; letter-spacing: -0.04em; text-transform: uppercase; color: #ffffff; }
    .isle-mega-head p { margin: 0; font-family: 'Onest', 'Nunito Sans', sans-serif; font-size: 1rem; font-weight: 500; line-height: 1.5; letter-spacing: 0; color: #bdbdbd; }
    .isle-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .isle-tiles:has(> :nth-child(4):last-child), .isle-tiles:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .isle-tiles:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
    .isle-tile {
        position: relative; isolation: isolate; overflow: hidden; flex-direction: column; justify-content: flex-end; gap: 0;
        min-height: 190px; padding: 14px; border: 0; border-radius: 18px; background: #111111; color: #ffffff;
    }
    .isle-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.86) 100%); }
    .isle-tile-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
    .isle-tile:hover, .isle-tile:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45); }
    .isle-tile:hover .isle-tile-img, .isle-tile:focus-visible .isle-tile-img { transform: scale(1.06); }
    .isle-tile.active { outline: 2px solid #C8FF2E; outline-offset: -2px; }
    .isle-tile .isle-chip { position: absolute; top: 12px; left: 12px; width: 32px; height: 32px; border-radius: 10px; background: rgba(17, 17, 17, 0.72); color: #C8FF2E; backdrop-filter: blur(6px); }
    .isle-tile-text { padding-right: 34px; overflow-wrap: anywhere; }
    .isle-tile-title { font-family: 'Rammetto One', 'Nunito Sans', sans-serif; font-weight: 400; font-size: 0.98rem; line-height: 1.08; letter-spacing: -0.02em; text-transform: uppercase; color: #ffffff; }
    .isle-tile-desc { margin-top: 4px; font-family: 'Onest', 'Nunito Sans', sans-serif; font-size: 0.8rem; line-height: 1.35; color: #d6d6d6; }
    .isle-tile-go { position: absolute; right: 12px; bottom: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #C8FF2E; color: #111111; }
    .isle-feature { min-height: 100%; border-radius: 20px; outline: 2px solid #C8FF2E; outline-offset: -2px; }
    .isle-feature-tag { background: #C8FF2E; color: #111111; }
    .isle-feature-title { font-family: 'Rammetto One', 'Nunito Sans', sans-serif; font-weight: 400; font-size: 1.3rem; line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; }
    .isle-feature-cta { color: #C8FF2E; }
    .isle-visit { align-self: stretch; display: flex; flex-direction: column; padding: 22px; border: 0; border-radius: 20px; background: #F3EBDD; color: #111111; }
    .isle-visit-k { font-family: 'Rammetto One', 'Nunito Sans', sans-serif; font-size: 1.3rem; letter-spacing: -0.02em; color: #111111; }
    .isle-visit p { color: #333333; }
    .isle-visit p svg { color: #111111; }
    .isle-visit .isle-btn { align-self: flex-start; margin-top: auto; background: #111111; color: #ffffff; box-shadow: none; }
    .isle-item.open > .isle-toggle { background: rgba(200, 255, 46, 0.2); color: #111111; }
}
@media (min-width: 960px) and (max-width: 1199px) {
    .isle-mega { grid-template-columns: minmax(0, 1fr) 230px; }
    .isle-mega-head { grid-column: 1 / -1; flex-direction: row; align-items: center; }
    .isle-mega-title { font-size: 1.5rem; }
    .isle-mega-head p { font-size: 0.95rem; }
}

/* =================================================================================================
   HOJA DEL MENÚ (CELULAR) OSCURA (2026-11-15): the phone menu sheet in the desktop mega menus' colors
   (near black, lime, Rammetto One titles). The bottom bar itself is unchanged.
   ================================================================================================= */
.sheet-scrim { background: rgba(0, 0, 0, 0.6); }
.sheet-panel { background: #1B1A18; color: #ffffff; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5); }
.sheet-handle { background: rgba(255, 255, 255, 0.25); }
.sheet-sec { background: #111111; border: 1px solid rgba(255, 255, 255, 0.08); }
.sheet-title { gap: 10px; font-family: 'Rammetto One', 'Nunito Sans', sans-serif; font-weight: 400; font-size: 1.05rem; letter-spacing: -0.02em; color: #ffffff; }
.sheet-title svg { width: 28px !important; height: 28px !important; padding: 6px; box-sizing: border-box; border-radius: 9px; background: #C8FF2E; color: #111111; }
.sheet-link { background: #232220; border-color: rgba(255, 255, 255, 0.06); color: #ffffff; font-family: 'Onest', 'Nunito Sans', sans-serif; font-weight: 700; }
.sheet-link .isle-chip, .sheet-solo-link .isle-chip { background: rgba(200, 255, 46, 0.14); color: #C8FF2E; }
.sheet-link.active { border-color: #C8FF2E; box-shadow: inset 0 0 0 1px #C8FF2E; }
.sheet-solo-link { background: #111111; border-color: rgba(255, 255, 255, 0.08); color: #ffffff; font-family: 'Rammetto One', 'Nunito Sans', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: -0.02em; }
.sheet-arrow { width: 30px !important; height: 30px !important; padding: 7px; box-sizing: border-box; border-radius: 50%; background: #C8FF2E; color: #111111; }
.sheet-cta { background: #C8FF2E; color: #111111; box-shadow: none; font-family: 'Onest', 'Nunito Sans', sans-serif; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.sheet a:focus-visible { outline-color: #C8FF2E; }
/* The sheet's scroll bar in the same colors: a thin lime thumb on the dark panel. */
.sheet-panel { scrollbar-width: thin; scrollbar-color: #C8FF2E #1B1A18; }
.sheet-panel::-webkit-scrollbar { width: 6px; }
.sheet-panel::-webkit-scrollbar-track { background: #1B1A18; border-radius: 28px; }
.sheet-panel::-webkit-scrollbar-thumb { background: #C8FF2E; border-radius: 6px; }

/* Home hero with the church's vertical video (2026-11-16): on computers the frame fills the screen and
   the video covers it (centered a little above the middle, where the faces are); on phones the frame
   takes the video's own shape (9:16), so nothing is cropped, with the text over its lower part. */
.hv-hero-frame > .hv-cover { object-position: center 35%; }
@media (min-width: 760px) {
    .hv-hero-frame { min-height: calc(100svh - var(--nav-safe) - 10px); }
}
@media (max-width: 759px) {
    .hv-hero-frame { min-height: 0; aspect-ratio: 9 / 16; }
    .hv-hero-frame > .hv-cover { object-position: center; }
    .hv-hero-frame::before { background: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.05) 75%); }
}

/* ---- Temporary notice bar (Site Settings > Aviso temporal, inc/alert.php) ----
   It sits in the page flow above everything; the floating menu starts below it and slides up to its
   usual place as the bar scrolls away (--tsc-alert-h and --tsc-alert-y are set by the bar's script). */
.tsc-alert {
    position: relative; z-index: 61; display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 10px 52px 10px 16px; background: #C8FF2E; color: #111111;
    font-family: "Onest", system-ui, sans-serif; font-size: 0.92rem; line-height: 1.4; text-align: center;
}
.tsc-alert-text { margin: 0; display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; }
.tsc-alert-icon { flex-shrink: 0; }
.tsc-alert strong { font-weight: 700; }
.tsc-alert a { color: #111111; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.tsc-alert-close {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center;
    width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #111111; cursor: pointer;
}
.tsc-alert-close:hover, .tsc-alert-close:focus-visible { background: rgba(0, 0, 0, 0.1); }
.has-alert .isle { margin-top: calc(var(--tsc-alert-h, 44px) - var(--tsc-alert-y, 0px)); }
@media (max-width: 600px) { .tsc-alert { font-size: 0.84rem; padding-left: 14px; text-align: left; justify-content: flex-start; } .tsc-alert-text { justify-content: flex-start; } .tsc-alert-icon { display: none; } }

/* ==========================================================================
   Hero parallax (2026-11-22): initParallax() in site.js adds .is-parallax and moves the photo.
   24% taller than its frame, so moving it by up to 12% never shows an edge.
   ========================================================================== */
.is-parallax { inset: -12% 0 auto !important; height: 124% !important; will-change: transform; }

