/* ═══════════════════════════════════════════════════════
   MINISTERIO APOSENTO ALTO – Estilos oficiales
   Primario: #00173b | Secundario: #ffffff | Acentos: dorado
═══════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Lato:wght@300;400;700;900&display=swap');

:root {
    --primary:   #00173b;
    --primary-d: #000d24;
    --primary-l: #112a55;
    --white:     #ffffff;
    --gold:      #c9a84c;
    --gold-lt:   #e8d5a3;
    --gold-dk:   #9a6f28;
    --white-dim: rgba(255,255,255,0.08);
    --white-mid: rgba(255,255,255,0.15);
    --border:    rgba(255,255,255,0.15);
    --radius:    0px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; background: var(--primary); color: var(--white); overflow-x: hidden; }

/* ── NAVBAR ── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 68px; padding: 0 2.5rem;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(0,23,59,0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border); transition: all .3s;
}
.nav-logo {
    font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700;
    color: var(--gold); letter-spacing: 2px; text-decoration: none;
    display: flex; align-items: center; gap: .6rem;
}
.nav-logo span { color: var(--white); font-weight: 400; font-style: italic; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    color: var(--white); text-decoration: none; font-size: .77rem;
    font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
    transition: color .3s; position: relative; padding-bottom: 4px;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px; background: var(--gold); transition: width .3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-ham { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; border: none; background: none; }
.nav-ham span { display: block; width: 24px; height: 2px; background: var(--gold); transition: .3s; }
.mobile-nav {
    display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 999;
    background: rgba(0,23,59,0.98); padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
    display: block; padding: .8rem 0; color: var(--white); text-decoration: none;
    font-size: .85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    border-bottom: 1px solid var(--white-dim); transition: color .2s;
}
.mobile-nav a:hover { color: var(--gold); }

/* ── PAGE HERO ── */
.page-hero {
    padding-top: 68px; height: 320px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #00122e 50%, var(--primary) 100%);
    position: relative; overflow: hidden; text-align: center;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(201,168,76,0.08) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero .sec-label { margin-bottom: .8rem; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem,5vw,3.5rem); font-weight: 700; color: var(--white); }
.page-hero h1 em { color: var(--gold); font-style: italic; }

/* ── HELPERS ── */
section { padding: 5.5rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.sec-label { font-size: .67rem; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: .9rem; }
.sec-title { font-family: 'Playfair Display', serif; font-size: clamp(1.9rem,4vw,3.2rem); font-weight: 700; color: var(--white); line-height: 1.18; margin-bottom: 1.8rem; }
.sec-title em { color: var(--gold); font-style: italic; }
.sec-line { width: 55px; height: 2px; background: var(--gold); margin-bottom: 2.5rem; }
.text-center { text-align: center; }
.text-center .sec-line { margin-left: auto; margin-right: auto; }

/* ── SLIDER ── */
.slider { position: relative; width: 100%; height: 100vh; overflow: hidden; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 1.3s ease;
    display: flex; align-items: center; justify-content: center;
}
.slide.active { opacity: 1; }
.slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    background-repeat: no-repeat;
}
.slide-overlay { position: absolute; inset: 0; background: rgba(0,23,59,0.65); }
.slide-glow {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at 50% 60%, rgba(201,168,76,0.08) 0%, transparent 60%);
}
.slide-content { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 2rem; }
.slide-tag {
    font-size: .7rem; font-weight: 700; letter-spacing: 5px; text-transform: uppercase;
    color: var(--gold); display: block; margin-bottom: 1.5rem;
    opacity: 0; animation: fadeUp .7s ease .1s forwards;
}
.slide-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem,6.5vw,5.2rem); font-weight: 700; color: var(--white);
    line-height: 1.08; margin-bottom: 1.4rem;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
    opacity: 0; animation: fadeUp .7s ease .3s forwards;
}
.slide-title em { color: var(--gold); font-style: italic; }
.slide-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.05rem,2.2vw,1.35rem); color: var(--white); line-height: 1.85;
    max-width: 640px; margin: 0 auto 2.5rem; font-style: italic;
    opacity: 0; animation: fadeUp .7s ease .5s forwards;
}
.slide-btn {
    display: inline-block; padding: .9rem 2.5rem;
    border: 1px solid var(--gold); color: var(--gold);
    font-size: .75rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    text-decoration: none; transition: all .3s;
    opacity: 0; animation: fadeUp .7s ease .65s forwards;
}
.slide-btn:hover { background: var(--gold); color: var(--primary); }
@keyframes fadeUp { from { opacity:0; transform:translateY(25px); } to { opacity:1; transform:translateY(0); } }

.slider-arrows {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 100%; display: flex; justify-content: space-between;
    padding: 0 1.5rem; z-index: 10; pointer-events: none;
}
.s-arrow {
    pointer-events: all; width: 48px; height: 48px;
    border: 1px solid rgba(201,168,76,0.45); background: rgba(0,23,59,0.55);
    backdrop-filter: blur(4px); color: var(--gold); font-size: 1.1rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .3s;
}
.s-arrow:hover { background: var(--gold); color: var(--primary); }
.slider-dots { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: .7rem; z-index: 10; }
.s-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(201,168,76,0.3); border: none; cursor: pointer; transition: all .35s; }
.s-dot.active { background: var(--gold); width: 28px; border-radius: 4px; }

/* ── VERSE BANNER ── */
.verse-banner {
    background: rgba(255,255,255,0.03); padding: 3.5rem 2rem; text-align: center;
    position: relative; overflow: hidden;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.verse-banner::before {
    content: '\201C'; position: absolute; top: -2rem; left: 1.5rem;
    font-size: 10rem; color: rgba(201,168,76,0.06); font-family: Georgia, serif;
}
.verse-text { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.1rem,2.4vw,1.5rem); font-style: italic; color: var(--white); max-width: 820px; margin: 0 auto 1rem; line-height: 1.85; position: relative; }
.verse-ref { font-size: .68rem; letter-spacing: 4px; color: var(--gold); text-transform: uppercase; }

/* ── HOR CARDS ── */
.hor-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1.8rem; margin-top: 3rem; }
.hor-card { border: 1px solid var(--border); padding: 2.5rem 2rem; text-align: center; transition: all .35s; position: relative; overflow: hidden; }
.hor-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: var(--gold); transition: width .4s; }
.hor-card:hover::before { width: 100%; }
.hor-card:hover { background: var(--white-dim); transform: translateY(-6px); }
.hor-icon { font-size: 1.8rem; display: block; margin-bottom: 1rem; }
.hor-day { font-family: 'Playfair Display', serif; font-size: 1.55rem; color: var(--gold); margin-bottom: .8rem; }
.hor-time { font-size: 1.05rem; color: var(--white); font-weight: 300; letter-spacing: 2px; margin-bottom: .4rem; }
.hor-dur { font-size: .8rem; color: rgba(255,255,255,0.6); letter-spacing: 1px; }

/* ── NOSOTROS GRID ── */
.nos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.nos-visual { position: relative; height: 480px; }
.nos-main { position: absolute; top: 0; right: 0; width: 80%; height: 390px; background: var(--primary-l); display: flex; align-items: center; justify-content: center; }
.nos-main-inner { text-align: center; }
.nos-main-cross { font-size: 6rem; color: rgba(201,168,76,0.15); }
.nos-main-label { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--gold-lt); letter-spacing: 3px; margin-top: .5rem; }
.nos-accent { position: absolute; bottom: 0; left: 0; width: 52%; height: 210px; border: 2px solid var(--gold); background: rgba(0,23,59,0.9); display: flex; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.nos-accent p { font-family: 'Playfair Display', serif; font-size: .95rem; color: var(--gold); font-style: italic; line-height: 1.6; }
.nos-text p { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: rgba(255,255,255,0.9); line-height: 1.95; margin-bottom: 1.4rem; }
.pastores-box { margin-top: 2rem; padding: 1.4rem 1.6rem; background: var(--white-dim); border: 1px solid var(--border); }
.pastores-box .pl { font-size: .67rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.pastores-box .pn { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--white); }

/* ── ORACIÓN ── */
.or-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.or-inner p { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-style: italic; color: rgba(255,255,255,0.9); line-height: 1.95; margin-bottom: 1.4rem; }
.or-verse { border-left: 2px solid var(--gold); padding-left: 1.5rem; text-align: left; max-width: 560px; margin: 2rem auto; }
.or-verse p { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--white); font-style: italic; }
.or-verse cite { display: block; margin-top: .5rem; font-size: .68rem; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; font-style: normal; }

/* ── CONTACTO ── */
.con-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.con-item { display: flex; gap: 1.4rem; margin-bottom: 1.8rem; }
.con-ico { width: 44px; height: 44px; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.05rem; }
.con-info h4 { font-size: .67rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.con-info p, .con-info a { font-family: 'Cormorant Garamond', serif; font-size: 1.08rem; color: var(--white); text-decoration: none; line-height: 1.6; }
.con-info a:hover { color: var(--gold); }
.map-box { width: 100%; height: 230px; margin-top: 2rem; border: 1px solid var(--border); overflow: hidden; }
.map-box iframe { width: 100%; height: 100%; border: none; filter: grayscale(30%) contrast(1.1); }

/* ── FORMULARIOS ── */
.f-group { margin-bottom: 1.3rem; }
.f-group label { display: block; font-size: .67rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.f-group input, .f-group textarea { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: .85rem 1rem; color: var(--white); font-family: 'Lato', sans-serif; font-size: .9rem; transition: border-color .3s; outline: none; }
.f-group input:focus, .f-group textarea:focus { border-color: var(--gold); }
.f-group textarea { height: 120px; resize: vertical; }
.f-group .error { font-size: .75rem; color: #ff8888; margin-top: .3rem; }
.btn-gold { background: var(--gold); color: var(--primary); border: none; padding: .9rem 2.5rem; font-family: 'Lato', sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; cursor: pointer; transition: all .3s; display: inline-block; text-decoration: none; }
.btn-gold:hover { background: var(--gold-lt); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); padding: .9rem 2.5rem; font-family: 'Lato', sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; cursor: pointer; transition: all .3s; display: inline-block; text-decoration: none; }
.btn-outline:hover { background: var(--gold); color: var(--primary); }

/* ── SOCIAL ── */
.social-sec { background: rgba(255,255,255,0.03); padding: 4rem 2rem; text-align: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.social-sec h3 { font-family: 'Playfair Display', serif; font-size: 1.45rem; color: var(--white); margin-bottom: .5rem; }
.social-sec p { font-family: 'Cormorant Garamond', serif; font-style: italic; color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.05rem; }
.social-row { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.s-link { display: flex; flex-direction: column; align-items: center; gap: .65rem; text-decoration: none; transition: transform .3s; }
.s-link:hover { transform: translateY(-6px); }
.s-ico { width: 60px; height: 60px; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; transition: all .3s; color: var(--white); font-weight: 900; }
.s-link:hover .s-ico { background: var(--gold); border-color: var(--gold); color: var(--primary); }
.s-label { font-size: .67rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }

/* ── FOOTER ── */
footer { background: #000d24; padding: 3rem 2rem; text-align: center; border-top: 1px solid var(--border); }
.f-logo { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--gold); letter-spacing: 4px; margin-bottom: .4rem; }
.f-sub { font-size: .67rem; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1.5rem; }
.f-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.f-links a { font-size: .75rem; color: rgba(255,255,255,0.6); text-decoration: none; letter-spacing: 1px; transition: color .2s; }
.f-links a:hover { color: var(--gold); }
.f-copy { font-size: .72rem; color: rgba(255,255,255,0.4); }
.f-dev { font-size: .68rem; color: rgba(255,255,255,0.25); margin-top: .6rem; letter-spacing: 1px; }
.f-dev a { color: rgba(201,168,76,0.5); text-decoration: none; transition: color .2s; }
.f-dev a:hover { color: var(--gold); }

/* ── ALERTS ── */
.alert { padding: 1rem 1.5rem; margin-bottom: 1.5rem; border-left: 3px solid var(--gold); background: rgba(201,168,76,0.08); font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--gold-lt); }
.alert-error { border-left-color: #ff8888; background: rgba(255,136,136,0.08); color: #ffaaaa; }

/* ── SECCIONES BLANCAS ── */
.section-white {
    background: #ffffff;
    color: #1a2340;
    padding: 5.5rem 2rem;
}
.section-white .sec-label { color: #9a6f28; }
.section-white .sec-title { color: #00173b; }
.section-white .sec-line  { background: #c9a84c; }
.section-white p { color: #3a4a6b; }
.section-white .card-white {
    border: 1px solid rgba(0,23,59,0.1);
    background: #f8f9ff;
    padding: 2rem;
    transition: all .3s;
}
.section-white .card-white:hover {
    box-shadow: 0 8px 30px rgba(0,23,59,0.12);
    transform: translateY(-4px);
}

/* ── PARALLAX GENÉRICO ── */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
@media (max-width: 768px) {
    .parallax-section { background-attachment: scroll; }
}
.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,23,59,0.72);
}
.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
}
.parallax-content .sec-label { color: var(--gold); margin-bottom: 1rem; }
.parallax-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem,4vw,3.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}
.parallax-content h2 em { color: var(--gold); font-style: italic; }
.parallax-content p {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem,2.2vw,1.4rem);
    color: rgba(255,255,255,0.85);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ── GRUPOS ── */
.grupos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.grupo-card {
    position: relative;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}
.grupo-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    transition: transform .5s ease;
}
.grupo-card:hover .grupo-card-img { transform: scale(1.06); }
.grupo-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,23,59,0.92) 0%, rgba(0,23,59,0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.8rem 1.6rem;
    transition: background .3s;
}
.grupo-card:hover .grupo-card-overlay {
    background: linear-gradient(to top, rgba(0,23,59,0.96) 0%, rgba(0,23,59,0.6) 100%);
}
.grupo-card-tag {
    font-size: .65rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold); margin-bottom: .4rem; font-weight: 700;
}
.grupo-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem; color: #fff; font-weight: 700; margin-bottom: .6rem;
}
.grupo-card-desc {
    font-family: 'Cormorant Garamond', serif;
    font-size: .95rem; color: rgba(255,255,255,0.75);
    line-height: 1.5; font-style: italic;
    max-height: 0; overflow: hidden;
    transition: max-height .4s ease;
}
.grupo-card:hover .grupo-card-desc { max-height: 80px; }

/* ── PASTORES ── */
.pastores-section { background: #fff; padding: 5.5rem 2rem; }
.pastores-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}
.pastor-card { text-align: center; }
.pastor-photo-wrap {
    width: 220px; height: 260px; margin: 0 auto 1.8rem;
    overflow: hidden; border: 3px solid var(--gold);
    position: relative;
}
.pastor-photo-wrap img,
.pastor-photo-wrap .pastor-placeholder {
    width: 100%; height: 100%;
    object-fit: cover; background-size: cover; background-position: top;
}
.pastor-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; color: #00173b; font-weight: 700; margin-bottom: .3rem;
}
.pastor-rol {
    font-size: .68rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold-dk); margin-bottom: 1rem; font-weight: 700;
}
.pastor-bio {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem; color: #3a4a6b; line-height: 1.8; font-style: italic;
    max-width: 340px; margin: 0 auto;
}

/* ── MAPA FULL-WIDTH ── */
.map-fullwidth {
    width: 100%; height: 420px;
    border-top: 3px solid var(--gold);
}
.map-fullwidth iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── FORMULARIO PETICIÓN DE ORACIÓN ── */
.prayer-form-section { background: #f7f8ff; padding: 5.5rem 2rem; }
.prayer-form-section .sec-title { color: #00173b; }
.prayer-form-section .sec-label { color: #9a6f28; }
.prayer-form-section .sec-line  { background: var(--gold); }
.prayer-form-section .f-group label { color: #9a6f28; }
.prayer-form-section .f-group input,
.prayer-form-section .f-group textarea {
    background: #fff;
    border: 1px solid rgba(0,23,59,0.15);
    color: #1a2340;
}
.prayer-form-section .f-group input::placeholder,
.prayer-form-section .f-group textarea::placeholder { color: #999; }
.prayer-form-section .f-group input:focus,
.prayer-form-section .f-group textarea:focus { border-color: var(--gold); }
.prayer-form-section .f-group textarea { height: 140px; }
.prayer-privacy {
    font-size: .78rem; color: #666; margin-top: .8rem; line-height: 1.6;
    font-style: italic;
}

/* ── CTA SECTION ── */
.cta-section {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}
@media (max-width:768px) { .cta-section { background-attachment:scroll; } }
.cta-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,23,59,0.85) 0%, rgba(0,13,36,0.78) 100%);
}
.cta-content {
    position: relative; z-index: 2;
    max-width: 740px; padding: 3rem 2rem;
}
.cta-content .sec-label { margin-bottom: 1rem; }
.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem,4vw,3rem);
    font-weight: 700; color: #fff;
    line-height: 1.15; margin-bottom: 1rem;
}
.cta-content h2 em { color: var(--gold); font-style: italic; }
.cta-content p {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem,2.2vw,1.25rem);
    color: rgba(255,255,255,0.82);
    font-style: italic; line-height: 1.8;
    margin-bottom: 2rem;
}
.cta-btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════
   NOTICIAS – LISTADO
═══════════════════════════════════════════════════════ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}
.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.news-content {
    padding: 1.5rem;
    background: #fff;
}
.news-date {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-dk);
    display: block;
    margin-bottom: 0.65rem;
}
.news-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}
.news-card h3 a {
    color: #00173b;
    text-decoration: none;
    transition: color 0.2s;
}
.news-card h3 a:hover {
    color: var(--gold);
}
.news-content p {
    color: #3a4a6b;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.2rem;
    font-family: 'Cormorant Garamond', serif;
}
.btn-link {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(201,168,76,0.4);
    padding-bottom: 3px;
    transition: all 0.2s;
}
.btn-link:hover {
    color: var(--gold-dk);
    border-bottom-color: var(--gold-dk);
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.pagination .page-item .page-link,
.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--white);
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.2s;
}
.pagination .active span,
.pagination a:hover {
    background: var(--gold);
    color: var(--primary);
    border-color: var(--gold);
}
.pagination .disabled span {
    opacity: 0.4;
    cursor: default;
}

/* ═══════════════════════════════════════════════════════
   NOTICIAS – DETALLE (con sidebar y galería lateral)
═══════════════════════════════════════════════════════ */
/* Hero parallax para noticias */
.page-hero-parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}
@media (max-width: 768px) {
    .page-hero-parallax {
        background-attachment: scroll;
    }
}

/* Layout dos columnas */
.blog-post-section {
    background: white;
    padding: 3rem 1.5rem 5rem;
}
.blog-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 75% 25%;
    gap: 2.5rem;
    align-items: start;
}
.blog-main {
    min-width: 0;
}
.blog-content {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #1a2340;
}
.blog-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
}
/* Sidebar galería */
.blog-sidebar {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}
.sidebar-title h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #00173b;
    margin: 0 0 1rem 0;
    border-left: 3px solid var(--gold);
    padding-left: 0.8rem;
}
.sidebar-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.gallery-thumb {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}
.gallery-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.thumb-caption {
    display: block;
    font-size: 0.7rem;
    text-align: center;
    color: #6a7a9a;
    padding: 0.4rem;
    background: white;
    border-top: 1px solid #eee;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.lightbox.active {
    display: flex;
}
.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

/* Más noticias – tarjetas con imagen */
.related-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #eaeef5;
}
.related-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.related-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #00173b;
    margin-top: 0.5rem;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.related-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}
.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.1);
}
.related-img {
    height: 180px;
    overflow: hidden;
}
.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.related-card:hover .related-img img {
    transform: scale(1.05);
}
.fallback-img {
    background: linear-gradient(135deg, #00173b, #112a55);
    display: flex;
    align-items: center;
    justify-content: center;
}
.fallback-img span {
    font-size: 3rem;
    opacity: 0.7;
}
.related-info {
    padding: 1.2rem;
}
.related-date {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #9a6f28;
    font-weight: 700;
    display: block;
    margin-bottom: 0.4rem;
}
.related-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin: 0.4rem 0 0.5rem;
    color: #00173b;
}
.related-info p {
    font-size: 0.85rem;
    color: #4a5a7a;
    line-height: 1.5;
    margin: 0;
}

/* responsive para detalle de noticias */
@media (max-width: 900px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .blog-sidebar {
        position: static;
    }
}
@media (max-width: 680px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
    .blog-content {
        font-size: 1rem;
    }
}

/* ── RESPONSIVE GENERAL ── */
@media (max-width: 900px) {
    .pastores-grid { grid-template-columns: 1fr; gap: 3rem; }
    .grupos-grid   { grid-template-columns: 1fr; }
    .map-fullwidth { height: 300px; }
}
@media (max-width: 700px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== BLOG DETALLE – LAYOUT DOS COLUMNAS (estilo Bootstrap) ===== */
.blog-section {
    background: white;
    padding: 3rem 1.5rem;
}
.blog-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.blog-main {
    flex: 1;
    min-width: 0;
}
.blog-sidebar {
    width: 300px;
    flex-shrink: 0;
}
@media (min-width: 992px) {
    .blog-main {
        flex: 0 0 calc(66.666% - 1rem); /* 8/12 */
    }
    .blog-sidebar {
        width: calc(33.333% - 1rem); /* 4/12 */
    }
}
@media (max-width: 991px) {
    .blog-row {
        flex-direction: column;
    }
    .blog-sidebar {
        width: 100%;
    }
}

/* Imagen destacada */
.featured-img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 1.8rem;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

/* Contenido principal */
.blog-content {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    line-height: 1.75;
    color: #1a2340;
}
.blog-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
}

/* Widgets del sidebar */
.sidebar-widget {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 1.2rem;
    margin-bottom: 2rem;
}
.widget-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #00173b;
    margin: 0 0 1rem 0;
    border-left: 3px solid var(--gold);
    padding-left: 0.7rem;
}

/* Galería lateral (vertical) */
.sidebar-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.gallery-thumb {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}
.gallery-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.thumb-caption {
    display: block;
    font-size: 0.7rem;
    text-align: center;
    color: #6a7a9a;
    padding: 0.4rem;
    background: white;
    border-top: 1px solid #eee;
}

/* Noticias recientes */
.recent-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.recent-news-list li {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #e2e8f0;
}
.recent-news-list li:last-child {
    border-bottom: none;
}
.recent-news-list a {
    text-decoration: none;
    display: block;
}
.recent-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #00173b;
    display: block;
    margin-bottom: 0.2rem;
    transition: color 0.2s;
}
.recent-title:hover {
    color: var(--gold);
}
.recent-date {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9a6f28;
}

/* Lightbox simple */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.lightbox.active {
    display: flex;
}
.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

/* Responsive ajustes */
@media (max-width: 768px) {
    .blog-content {
        font-size: 1rem;
    }
    .sidebar-widget {
        padding: 1rem;
    }
}

/* ===== LAYOUT DOS COLUMNAS (estilo Bootstrap) ===== */
.blog-section {
    background: white;
    padding: 3rem 1.5rem;
}
.blog-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.blog-main {
    flex: 1;
    min-width: 0;
}
.blog-sidebar {
    width: 300px;
    flex-shrink: 0;
}
@media (min-width: 992px) {
    .blog-main {
        flex: 0 0 calc(66.666% - 1rem);
    }
    .blog-sidebar {
        width: calc(33.333% - 1rem);
    }
}
@media (max-width: 991px) {
    .blog-row {
        flex-direction: column;
    }
    .blog-sidebar {
        width: 100%;
    }
}

/* Imagen destacada */
.featured-img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 1.8rem;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

/* Contenido principal */
.blog-content {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    line-height: 1.75;
    color: #1a2340;
}
.blog-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
}

/* Sidebar widgets */
.sidebar-widget {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 1.2rem;
    margin-bottom: 2rem;
}
.widget-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #00173b;
    margin: 0 0 1rem 0;
    border-left: 3px solid var(--gold);
    padding-left: 0.7rem;
}

/* Galería lateral */
.sidebar-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.gallery-thumb {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}
.gallery-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.thumb-caption {
    display: block;
    font-size: 0.7rem;
    text-align: center;
    color: #6a7a9a;
    padding: 0.4rem;
    background: white;
    border-top: 1px solid #eee;
}

/* Noticias recientes (lista) */
.recent-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.recent-news-list li {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #e2e8f0;
}
.recent-news-list li:last-child {
    border-bottom: none;
}
.recent-news-list a {
    text-decoration: none;
    display: block;
}
.recent-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #00173b;
    display: block;
    margin-bottom: 0.2rem;
    transition: color 0.2s;
}
.recent-title:hover {
    color: var(--gold);
}
.recent-date {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9a6f28;
}

/* Sección "Más noticias" (tarjetas debajo) */
.related-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #eaeef5;
}
.related-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.related-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #00173b;
    margin-top: 0.5rem;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.related-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}
.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.1);
}
.related-img {
    height: 180px;
    overflow: hidden;
}
.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.related-card:hover .related-img img {
    transform: scale(1.05);
}
.fallback-img {
    background: linear-gradient(135deg, #00173b, #112a55);
    display: flex;
    align-items: center;
    justify-content: center;
}
.fallback-img span {
    font-size: 3rem;
    opacity: 0.7;
}
.related-info {
    padding: 1.2rem;
}
.related-date {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #9a6f28;
    font-weight: 700;
    display: block;
    margin-bottom: 0.4rem;
}
.related-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin: 0.4rem 0 0.5rem;
    color: #00173b;
}
.related-info p {
    font-size: 0.85rem;
    color: #4a5a7a;
    line-height: 1.5;
    margin: 0;
}

/* LIGHTBOX CON BOTONES DE NAVEGACIÓN */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox.active {
    display: flex;
}
.lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.8rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
}
.lightbox-prev {
    left: 1rem;
}
.lightbox-next {
    right: 1rem;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gold);
}
.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    font-weight: bold;
    z-index: 2001;
}
.lightbox-counter {
    margin-top: 1rem;
    color: white;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.6);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

/* Responsive ajustes */
@media (max-width: 768px) {
    .blog-content {
        font-size: 1rem;
    }
    .sidebar-widget {
        padding: 1rem;
    }
    .lightbox-img {
        max-width: 95vw;
        max-height: 80vh;
    }
    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
        padding: 0.5rem;
    }
}

/* Logo en navbar */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-logo-img {
    height: 35px;
    width: auto;
}

/* Logo en footer */
.f-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}
.footer-logo-img {
    height: 120px;
    width: auto;
    margin-bottom: 0.5rem;
}