/* =========================================================
   POPChurch — Iglesia Príncipe de Paz
   v2 — Cinematic / photo-driven
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
    --ink:        #0c1322;
    --ink-2:      #16233f;
    --ink-soft:   #334155;
    --text:       #1f2a44;
    --muted:      #64748b;
    --cream:      #ffffff;
    --panel:      #ffffff;
    --panel-alt:  #f6f4ee;
    --gold:       #e3b54a;
    --gold-dark:  #b88824;
    --gold-soft:  #f4e4b5;
    --border:     #e6e1d3;
    --shadow-sm:  0 1px 2px rgba(12,19,34,.06), 0 1px 1px rgba(12,19,34,.04);
    --shadow-md:  0 10px 30px rgba(12,19,34,.10);
    --shadow-lg:  0 25px 50px rgba(12,19,34,.18);
    --radius-sm:  8px;
    --radius-md:  16px;
    --radius-lg:  26px;
    --container:  1240px;

    --font-display: 'Archivo', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--ink-2);
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin: 0 0 .6em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw + .5rem, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3vw + .5rem, 3rem); }
h3 { font-size: clamp(1.3rem, 1.2vw + 1rem, 1.7rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p  { margin: 0 0 1em; }

strong { font-weight: 700; color: var(--ink); }

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 3rem 0;
}

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: 4.5rem 0;
}
@media (min-width: 768px) {
    .section { padding: 6.5rem 0; }
}

.section-alt   { background: var(--panel-alt); }
.section-dark  { background: var(--ink); color: #e9ecf2; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #ffffff; }
.section-dark a { color: var(--gold-soft); }
.section-dark a:hover { color: #ffffff; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: .76rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}
.section-dark .eyebrow { color: var(--gold-soft); }

.lead {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 60ch;
}

.section-dark .lead { color: rgba(255,255,255,.78); }

.section-head { margin-bottom: 3rem; max-width: 70ch; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.centered .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 1rem 1.8rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.btn-primary:hover { background: #050a17; color: #fff; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-gold {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); color: #fff; border-color: var(--gold-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.7);
}
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.45);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; transform: translateY(-2px); }
.btn-sm { padding: .6rem 1.2rem; font-size: .8rem; }

/* ---------- Nav ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    background: rgba(12,19,34,0);
    transition: background .25s ease, backdrop-filter .25s ease, box-shadow .25s ease;
}
.site-header.scrolled,
.site-header.solid {
    background: rgba(12,19,34, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: .02em;
}
.brand img { height: 40px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text > span:first-child { letter-spacing: .04em; }
.brand-text small {
    font-family: var(--font-sans);
    font-size: .65rem;
    letter-spacing: .22em;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 2px;
}

.nav-links {
    display: none;
    gap: .1rem;
    align-items: center;
    list-style: none;
    margin: 0; padding: 0;
}
.nav-links a {
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
    padding: .6rem .95rem;
    border-radius: 6px;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active {
    color: #fff;
    position: relative;
}
.nav-links a.active::after {
    content: "";
    display: block;
    width: 22px; height: 2px;
    background: var(--gold);
    margin: 4px auto 0;
    border-radius: 2px;
}
.nav-cta { margin-left: .6rem; }

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 10px;
    cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: "";
    display: block;
    width: 18px; height: 2px;
    background: #fff;
    border-radius: 2px;
    position: relative;
    transition: transform .2s ease, top .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top:  6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.open span::after  { transform: rotate(-45deg); top: 0; }

.mobile-menu {
    display: none;
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: .5rem 0 1.25rem;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a {
    display: block;
    padding: 1rem 1.25rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu a:hover { background: rgba(255,255,255,.04); }
.mobile-menu .cta-row { padding: 1rem 1.25rem 0; display: flex; gap: .6rem; }
.mobile-menu .cta-row .btn { flex: 1; }

@media (min-width: 980px) {
    .nav-links { display: flex; }
    .nav-toggle { display: none; }
    .mobile-menu { display: none !important; }
}

/* ---------- Cinematic Hero (full-viewport) ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background-color: #0c1322;
}
.hero .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    filter: saturate(105%);
}
.hero .hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12,19,34,.45) 0%, rgba(12,19,34,.65) 60%, rgba(12,19,34,.92) 100%),
        radial-gradient(800px 400px at 80% 30%, rgba(227,181,74,.18), transparent 60%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 8rem 0 5rem;
}
.hero h1 {
    color: #fff;
    font-size: clamp(2.8rem, 6.5vw, 6rem);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: .4em;
    text-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.hero h1 .accent { color: var(--gold); }
.hero .hero-eyebrow {
    display: inline-block;
    font-size: .8rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--gold-soft);
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: .8rem;
    border-bottom: 2px solid var(--gold);
}
.hero .hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.6vw + .5rem, 1.8rem);
    font-weight: 600;
    color: rgba(255,255,255,.92);
    max-width: 32ch;
    margin-bottom: 2rem;
    line-height: 1.3;
}
.hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2rem;
}
.hero-meta {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.15);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    color: rgba(255,255,255,.85);
    font-size: .92rem;
}
.hero-meta strong { color: #fff; display: block; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .04em; }
.hero-meta .services strong + strong { margin-top: .75rem; }

/* ---------- Pillars (Conoce / Crece / Comparte) ---------- */
.pillars {
    display: grid;
    gap: 1.25rem;
}
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.pillar {
    background: var(--panel);
    border-radius: var(--radius-md);
    padding: 0;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar-visual {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--ink-2), var(--ink));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}
.pillar-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(227,181,74,.25), transparent 60%);
}
.pillar-visual span { position: relative; z-index: 2; }
.pillar-visual.conoce { background: linear-gradient(135deg, #1a2b54, #0c1322); }
.pillar-visual.crece  { background: linear-gradient(135deg, #2a4a3a, #0c1322); }
.pillar-visual.comparte { background: linear-gradient(135deg, #5a3624, #0c1322); }

.pillar-body {
    padding: 1.75rem 1.75rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pillar-num {
    font-family: var(--font-display);
    font-size: .8rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 700;
    margin-bottom: .6rem;
}
.pillar h3 { margin-bottom: .6rem; }
.pillar p  { color: var(--ink-soft); margin: 0; }

/* ---------- Two-column split ---------- */
.split {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split.flip > :first-child { order: 2; }
@media (max-width: 899px) { .split.flip > :first-child { order: 0; } }

/* ---------- YouTube embed ---------- */
.video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
}
.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- Info cards (times + location) ---------- */
.info-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) { .info-grid { grid-template-columns: 1fr 1fr; } }

.info-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.info-card h3 { margin-bottom: 1rem; }
.info-card p  { color: var(--ink-soft); margin: 0 0 .6rem; }
.info-card .label {
    font-family: var(--font-display);
    font-size: .72rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 700;
    margin-bottom: .35rem;
}
.info-card .big {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.info-card .map-link { display: inline-block; margin-top: .8rem; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.info-card .map-link:hover { color: var(--gold-dark); }

/* Embedded map iframe */
.map-embed {
    width: 100%;
    height: 280px;
    border: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-top: 1rem;
}

/* ---------- Give cards ---------- */
.give-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) { .give-grid { grid-template-columns: 1fr 1fr; } }

.give-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.give-card h3 { margin: 0; }
.give-card p  { color: var(--ink-soft); margin: 0; }
.give-card .method-detail {
    font-family: var(--font-sans);
    background: var(--panel-alt);
    border: 1px dashed var(--border);
    border-radius: 10px;
    padding: .9rem 1.1rem;
    font-size: 1rem;
    color: var(--ink);
    word-break: break-all;
    font-weight: 600;
}

/* ---------- Scripture pull-quote ---------- */
.scripture {
    position: relative;
    max-width: 70ch;
    margin: 0 auto;
    text-align: center;
    padding: 1rem 1.5rem;
}
.scripture blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.2rem, 1.5vw + 1rem, 1.8rem);
    line-height: 1.4;
    color: var(--ink);
}
.scripture cite {
    display: block;
    margin-top: 1.3rem;
    font-family: var(--font-display);
    font-size: .78rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-style: normal;
    font-weight: 700;
}
.section-dark .scripture blockquote { color: #fff; }
.section-dark .scripture cite { color: var(--gold-soft); }

/* ---------- Pastors bio ---------- */
.pastors-card {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 900px) {
    .pastors-card { grid-template-columns: 1fr 1.4fr; gap: 4rem; }
}
.pastors-card .portrait {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
}
.pastors-card .portrait img { width: 100%; height: 100%; object-fit: cover; }
.pastors-card h2 { margin-bottom: .5rem; }
.pastors-card .role {
    font-family: var(--font-display);
    font-size: .78rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 700;
    margin-bottom: 1.4rem;
}

/* ---------- Beliefs accordion ---------- */
.beliefs-toc {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem 2.25rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
}
.beliefs-toc h4 { margin-top: 0; }
.beliefs-toc ul {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    gap: .5rem;
}
@media (min-width: 700px) { .beliefs-toc ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .beliefs-toc ul { grid-template-columns: repeat(3, 1fr); } }
.beliefs-toc a {
    display: block;
    padding: .55rem .8rem;
    border-left: 3px solid var(--gold);
    color: var(--ink);
    font-weight: 600;
    font-size: .95rem;
}
.beliefs-toc a:hover { background: var(--panel-alt); }

.belief {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem 2.25rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}
.belief h3 {
    margin: 0 0 1rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid var(--border);
}
.belief h4 { color: var(--gold-dark); margin: 1.4rem 0 .5rem; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.belief p:last-child { margin-bottom: 0; }
.belief .refs {
    display: block;
    margin-top: 1rem;
    font-size: .82rem;
    color: var(--muted);
    font-style: italic;
}

.belief-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--ink-soft);
}
.belief-list li { margin-bottom: .3rem; }

/* ---------- CTA banner ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 300px at 80% 0%, rgba(227,181,74,.2), transparent 60%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: .8rem; text-transform: uppercase; }
.cta-band p  { color: rgba(255,255,255,.85); max-width: 56ch; margin: 0 auto 1.8rem; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,.75);
    padding: 4rem 0 2rem;
}
.footer-inner {
    display: grid;
    gap: 2.5rem;
}
@media (min-width: 768px) {
    .footer-inner { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
}
.site-footer h4 {
    color: #fff;
    font-family: var(--font-display);
    font-size: .78rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: .55rem; }

.footer-brand {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1rem;
}
.footer-brand img { height: 48px; width: auto; display: block; }
.footer-brand strong {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: .03em;
}

.socials {
    display: flex;
    gap: .6rem;
    margin-top: 1.2rem;
}
.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    transition: background .2s ease, transform .2s ease;
}
.socials a:hover { background: var(--gold); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.socials a:hover svg { fill: var(--ink); }

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem;
    font-size: .85rem;
    color: rgba(255,255,255,.6);
}

/* ---------- Subpage hero (cinematic, shorter than home hero) ---------- */
.page-hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    padding: 9rem 0 5rem;
    background: var(--ink);
}
.page-hero .page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .35;
    filter: saturate(110%);
}
.page-hero .page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12,19,34,.6) 0%, rgba(12,19,34,.95) 100%),
        radial-gradient(700px 300px at 80% 20%, rgba(227,181,74,.15), transparent 60%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
    color: #fff;
    text-transform: uppercase;
    margin-bottom: .8rem;
    text-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.page-hero .lead { color: rgba(255,255,255,.85); max-width: 60ch; }
.page-hero .eyebrow { color: var(--gold-soft); }

/* Humble variant — quieter hero for pages where the name shouldn't dominate */
.page-hero.humble h1 {
    text-transform: none;
    font-weight: 600;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    letter-spacing: -.01em;
    text-shadow: none;
    color: rgba(255,255,255,.96);
}

/* ---------- Schedule cards (weekly services) ---------- */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.schedule-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.schedule-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}
.schedule-card .day {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
    color: var(--gold-dark);
    margin-bottom: .5rem;
}
.schedule-card .time {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--ink);
    line-height: 1;
    margin-bottom: .75rem;
}
.schedule-card h3 {
    font-size: 1.35rem;
    margin: 0 0 .5rem;
    color: var(--ink);
}
.schedule-card p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.55;
}

/* ---------- Ministry cards (poster-driven) ---------- */
.ministry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.ministry-card {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    overflow: hidden;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 1.75rem;
    background-color: var(--ink);
    background-size: cover;
    background-position: center;
    isolation: isolate;
    box-shadow: var(--shadow-md);
    transition: transform .35s ease, box-shadow .35s ease;
}
.ministry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ministry-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.85) 100%);
    z-index: -1;
}
.ministry-card .ministry-meta {
    position: relative;
    z-index: 2;
}
.ministry-card .ministry-eyebrow {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .72rem;
    color: var(--gold-soft);
    margin-bottom: .5rem;
    display: block;
}
.ministry-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1;
    margin: 0 0 .75rem;
    color: #fff;
}
.ministry-card p {
    margin: 0 0 .25rem;
    font-size: .95rem;
    color: rgba(255,255,255,.88);
}
.ministry-card .when {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .85rem;
    margin-top: .75rem;
}

/* Ministry-specific gradient fallbacks (visible until poster image is added) */
.ministry-card.hombres { background-image: linear-gradient(135deg, #1a2c4f 0%, #0c1322 60%, #2a4870 100%); }
.ministry-card.mujeres { background-image: linear-gradient(135deg, #6b3a52 0%, #2d1729 60%, #c08aa0 100%); }
.ministry-card.jovenes { background-image: linear-gradient(135deg, #4a3a8c 0%, #1a1240 50%, #e3b54a 100%); }

/* ---------- Poster cards (full-image ministry cards) ---------- */
.poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}
.poster-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    display: flex;
    flex-direction: column;
}
.poster-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}
.poster-card .poster-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    background: var(--ink);
}
.poster-card .caption {
    padding: 1.4rem 1.5rem 1.6rem;
    border-top: 3px solid var(--gold);
}
.poster-card .caption h3 {
    margin: 0 0 .35rem;
    font-size: 1.2rem;
    color: var(--ink);
}
.poster-card .caption p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.5;
}
.poster-card .caption .when {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .78rem;
    color: var(--gold-dark);
    margin-bottom: .4rem;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.uppercase { text-transform: uppercase; letter-spacing: .04em; }

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible, .btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .hero .hero-bg { transform: none; }
}
