/*
Theme Name: Fuego en el Altar CCI — V7.2 Profesional
Theme URI: https://fuegoenelaltar.com/
Author: Fuego en el Altar CCI
Description: Tema institucional responsive, funcional y editable con WordPress/Elementor. Sin bloques gráficos tipo flyer.
Version: 7.3.1
Text Domain: fuego-en-el-altar
*/
:root{--bg:#030a12;--panel:#071522;--panel2:#0b1e2c;--gold:#ffc400;--gold2:#f29c00;--red:#f21d2f;--blue:#1598ff;--cyan:#16c8ff;--text:#fff;--muted:#c7d3dc;--line:#21485d;--shadow:0 18px 55px rgba(0,0,0,.42)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(180deg,#02070d,#06121d 45%,#02070d);color:var(--text);font-family:Inter,Arial,Helvetica,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.wrap{width:min(1180px,92%);margin:auto}.skip-link{position:absolute;left:-9999px;top:10px}.skip-link:focus{left:10px;z-index:999;background:#fff;color:#111;padding:10px;border-radius:6px}
.site-header{position:sticky;top:0;z-index:100;background:rgba(2,7,13,.90);backdrop-filter:blur(18px);border-bottom:1px solid rgba(56,119,145,.38);box-shadow:0 8px 30px rgba(0,0,0,.35);transition:background .25s,box-shadow .25s}.site-header.scrolled{background:rgba(2,7,13,.97);box-shadow:0 12px 38px rgba(0,0,0,.48)}.site-header:after{content:"";display:block;height:3px;background:linear-gradient(90deg,var(--red),var(--gold),var(--cyan),#fff,var(--gold),var(--red));background-size:300% 100%;animation:colorFlow 7s linear infinite;box-shadow:0 0 12px rgba(22,200,255,.35)}.nav{min-height:86px;display:flex;align-items:center;gap:25px}.brand{width:84px;height:74px;display:flex;align-items:center}.brand img{width:74px;height:74px;object-fit:contain;filter:drop-shadow(0 5px 12px rgba(0,0,0,.55))}.menu{margin-left:auto}.menu-list{display:flex;gap:20px;list-style:none;margin:0;padding:0;align-items:center}.menu-list li{margin:0}.menu-list a{font-size:12px;font-weight:800;color:#eef4f8;padding:30px 0 9px;border-bottom:2px solid transparent;transition:.2s}.menu-list a:hover,.menu-list .current-menu-item>a{color:var(--gold);border-color:var(--gold)}.header-actions{display:flex;align-items:center}.donate,.btn{display:inline-flex;align-items:center;justify-content:center;border:0;background:linear-gradient(135deg,#ffe45a,var(--gold) 55%,var(--gold2));color:#111;border-radius:999px;padding:11px 22px;font-size:12px;font-weight:900;box-shadow:0 8px 22px rgba(255,196,0,.18);transition:.2s}.donate:hover,.btn:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(255,196,0,.3)}.hamb{display:none;background:#091b29;color:#fff;border:1px solid #2d5d73;border-radius:8px;padding:8px 11px;font-size:20px}.mobile-menu{display:none}.mobile-menu.open{display:block;background:#03101b;border-top:1px solid #174761}.mobile-menu ul{list-style:none;margin:0;padding:8px 5%}.mobile-menu a{display:block;padding:12px 0;border-bottom:1px solid #12384d;font-weight:800}.mobile-menu>.donate{margin:12px 5% 16px;width:90%}

.hero{min-height:610px;display:flex;align-items:center;position:relative;background:url('assets/hero-cross-real.png') center/cover no-repeat;overflow:hidden}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,8,15,.18),rgba(2,8,15,.04) 38%,rgba(2,8,15,.42) 100%)}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,5,9,.94) 0%,rgba(1,5,9,.72) 29%,rgba(1,5,9,.24) 62%,rgba(1,5,9,.10) 100%)}.hero-content{position:relative;z-index:2;padding:90px 0 110px}.hero .eyebrow{display:inline-flex;align-items:center;gap:10px}.hero .eyebrow:before{content:"";width:34px;height:2px;background:var(--gold);box-shadow:0 0 12px rgba(255,196,0,.65)}.hero h1{max-width:1050px;letter-spacing:-3px}.hero-actions{display:flex;align-items:center;gap:22px;margin-top:4px}.hero-actions .btn span{font-size:17px;margin-left:9px;transition:transform .2s}.hero-actions .btn:hover span{transform:translateX(4px)}.hero-link{font-size:12px;font-weight:900;color:#fff;letter-spacing:.3px}.hero-link span{color:var(--gold);font-size:17px;margin-left:5px}.hero-scroll{position:absolute;z-index:3;right:5%;bottom:30px;display:flex;align-items:center;gap:10px;color:#dce8ef;font-size:9px;font-weight:900;letter-spacing:2px}.hero-scroll span{display:block;width:1px;height:34px;background:linear-gradient(var(--gold),transparent);animation:scrollPulse 1.8s ease-in-out infinite}.hero-light{position:absolute;z-index:1;pointer-events:none;filter:blur(18px);opacity:.38;transform:rotate(-20deg);background:linear-gradient(90deg,transparent,rgba(255,210,105,.45),transparent)}.hero-light-one{width:70%;height:160px;right:-10%;top:45%;animation:lightSweep 9s ease-in-out infinite}.hero-light-two{width:55%;height:90px;right:4%;top:57%;opacity:.22;animation:lightSweep 12s ease-in-out infinite reverse}.hero-stars{position:absolute;inset:0;z-index:1;pointer-events:none}.hero-stars i{position:absolute;width:3px;height:3px;border-radius:50%;background:#fff;opacity:.28;box-shadow:0 0 8px rgba(255,255,255,.7);animation:twinkle 3s ease-in-out infinite}.hero-stars i:nth-child(1){left:28%;top:22%}.hero-stars i:nth-child(2){left:47%;top:17%;animation-delay:.7s}.hero-stars i:nth-child(3){left:68%;top:31%;animation-delay:1.2s}.hero-stars i:nth-child(4){left:78%;top:18%;animation-delay:1.8s}.hero-stars i:nth-child(5){left:58%;top:49%;animation-delay:2.2s}.hero-stars i:nth-child(6){left:38%;top:40%;animation-delay:2.6s}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:900;color:var(--gold);text-transform:uppercase}.hero h1{font-size:clamp(42px,7vw,82px);line-height:.95;margin:14px 0;font-weight:950;text-shadow:0 8px 30px rgba(0,0,0,.45)}.hero h1 span{color:var(--gold)}.hero p{font-size:18px;max-width:470px;color:#eef4f8;margin:0 0 25px}
section{padding:78px 0}.ministries{background:#020a12}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:30px}.section-heading h2,.about-copy h2,.pastor-copy h2,.donation-box h2,.contact-box h2{font-size:clamp(28px,4vw,42px);line-height:1.1;margin:8px 0 0}.section-heading>p{max-width:410px;color:var(--muted);margin:0}.ministry-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.ministry-card{padding:25px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(160deg,#0a1c2a,#06111a);transition:.22s;min-height:190px}.ministry-card:hover{transform:translateY(-5px);border-color:var(--gold);box-shadow:0 15px 35px rgba(0,0,0,.3)}.icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,var(--blue),#5e2bff);font-size:22px;margin-bottom:18px}.ministry-card:nth-child(2) .icon{background:linear-gradient(135deg,#1598ff,#16c8ff)}.ministry-card:nth-child(3) .icon{background:linear-gradient(135deg,#f21d2f,#ff8c00)}.ministry-card:nth-child(4) .icon{background:linear-gradient(135deg,#a62cff,#e36bff)}.ministry-card:nth-child(5) .icon{background:linear-gradient(135deg,#39c878,#8ed52c)}.ministry-card h3{margin:0 0 7px;font-size:17px}.ministry-card p{margin:0;color:var(--muted);font-size:13px}
.about-events{background:linear-gradient(180deg,#07131e,#030a12)}.two-col{display:grid;grid-template-columns:1fr 1.05fr;gap:22px}.about-card,.events-panel{border:1px solid var(--line);border-radius:18px;background:rgba(7,21,34,.8);overflow:hidden;box-shadow:var(--shadow)}.about-image{height:250px;overflow:hidden}.about-image img{width:100%;height:100%;object-fit:cover;object-position:center top}.about-copy{padding:28px}.about-copy p{color:var(--muted);max-width:570px}.text-link{display:inline-block;color:var(--gold);font-weight:900;font-size:13px}.panel-heading{padding:26px 26px 18px;display:flex;justify-content:space-between;align-items:end;gap:15px}.outline-btn{border:1px solid var(--gold);color:var(--gold);padding:8px 14px;border-radius:999px;font-size:10px;font-weight:900}.event-grid{display:grid;gap:12px;padding:0 22px 22px}.event-card{display:grid;grid-template-columns:135px 1fr;border:1px solid #1c4359;border-radius:13px;overflow:hidden;background:#06111b}.event-image{min-height:120px;background:#0a1b28}.event-image img{width:100%;height:100%;object-fit:cover}.event-body{padding:16px}.event-date{color:var(--gold);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:1px}.event-body h3{margin:3px 0 5px;font-size:16px}.event-body p{margin:0 0 6px;color:var(--muted);font-size:12px}.empty-events{padding:20px;color:var(--muted);border-top:1px solid #153447;font-size:13px}
.pastor-section{background:radial-gradient(circle at 70% 30%,#12344a,#04101a 65%)}.pastor-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.pastor-copy p{font-size:22px;line-height:1.4;max-width:520px}.pastor-copy strong{display:block;color:var(--gold);margin-bottom:25px}.pastor-photo{border-radius:18px;overflow:hidden;border:1px solid #28566c;box-shadow:var(--shadow);background:#02070d}.pastor-photo img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.media-section{background:#02080f}.media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.media-card{display:flex;align-items:center;gap:15px;padding:22px;border:1px solid var(--line);border-radius:16px;background:#071622;transition:.2s}.media-card:hover{border-color:var(--gold);transform:translateY(-3px)}.media-card h3{margin:0;font-size:18px}.media-card p{margin:3px 0 0;color:var(--muted);font-size:12px}.media-card>span:last-child{margin-left:auto;color:var(--gold);font-size:20px}.media-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#0b2a3b;color:var(--gold);font-size:22px}
.donation-section{background:linear-gradient(135deg,#071a28,#04101a)}.donation-box{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:32px;border:1px solid #2a5266;border-radius:20px;background:linear-gradient(135deg,#0a2332,#06131e)}.donation-box p{color:var(--muted);margin-bottom:0}.payment-grid{display:grid;grid-template-columns:repeat(2,170px);gap:12px}.payment{border-radius:15px;padding:22px;background:#fff;color:#111;display:flex;flex-direction:column;gap:12px;align-items:center;font-weight:900;transition:.2s}.payment:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(0,0,0,.3)}.payment span{font-size:10px;padding:6px 12px;border-radius:999px;background:#111;color:#fff}.payment.paypal b{color:#003087;font-size:20px}.payment.mercado b{color:#009ee3;font-size:17px}
.contact-section{padding-top:40px;background:#02080f}.contact-box{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:30px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,#071b2b,#030d16);box-shadow:var(--shadow)}.contact-box strong{color:var(--gold)}.contact-form{display:grid;gap:9px}.contact-form label{font-size:11px;font-weight:900}.contact-form input,.contact-form textarea{width:100%;background:#020a12;color:#fff;border:1px solid #24566f;border-radius:8px;padding:11px;outline:0}.contact-form input:focus,.contact-form textarea:focus{border-color:var(--gold);box-shadow:0 0 0 2px rgba(255,196,0,.12)}.contact-form textarea{min-height:120px;resize:vertical}.success{background:#123f21;border:1px solid #48b568;padding:10px;border-radius:8px;margin-top:15px}
.page-shell{min-height:70vh;padding:70px 0;background:linear-gradient(180deg,#02080f,#071722)}.page-card{border:1px solid var(--line);border-radius:18px;background:#071522;padding:35px;box-shadow:var(--shadow)}.page-card h1{font-size:clamp(34px,5vw,58px);margin:5px 0 25px}.entry-content{color:#dbe5eb}.entry-content a{color:var(--gold)}.entry-content img{border-radius:12px}.single-featured{display:block;width:100%;max-height:520px;object-fit:cover;border-radius:14px;margin:0 0 25px}.post-meta{color:var(--muted);font-size:12px}
.site-footer{padding:28px 0;background:#01050a;border-top:1px solid #153b50}.footer-grid{display:grid;grid-template-columns:80px 1fr auto;gap:20px;align-items:center}.footer-logo{width:64px}.footer-grid strong,.footer-grid span,.footer-grid small{display:block}.footer-grid span{color:var(--gold);font-size:12px}.footer-grid small{color:#8193a0;font-size:10px;margin-top:5px}.footer-links{display:flex;gap:16px;font-size:12px;font-weight:800}.footer-links a:hover{color:var(--gold)}

@keyframes colorFlow{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
@keyframes scrollPulse{0%,100%{transform:scaleY(.65);opacity:.45}50%{transform:scaleY(1);opacity:1}}
@keyframes lightSweep{0%,100%{transform:translateX(-8%) rotate(-20deg);opacity:.16}50%{transform:translateX(8%) rotate(-20deg);opacity:.42}}
@keyframes twinkle{0%,100%{opacity:.12;transform:scale(.7)}50%{opacity:.65;transform:scale(1.5)}}
@keyframes riseIn{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
.ministry-card,.about-card,.events-panel,.pastor-copy,.pastor-photo,.media-card,.donation-box,.contact-box{opacity:0;transform:translateY(22px);transition:opacity .65s ease var(--reveal-delay,0ms),transform .65s cubic-bezier(.2,.8,.2,1) var(--reveal-delay,0ms)}
.is-visible{opacity:1!important;transform:none!important}
.ministry-card{position:relative;overflow:hidden}.ministry-card:after,.media-card:after{content:"";position:absolute;inset:auto -20% -65% 25%;height:130px;background:radial-gradient(circle,rgba(22,200,255,.18),transparent 65%);transition:transform .35s}.ministry-card:hover:after,.media-card:hover:after{transform:translateY(-30px)}
@media(max-width:1050px){.menu-list{gap:13px}.menu-list a{font-size:11px}.ministry-grid{grid-template-columns:repeat(3,1fr)}.two-col{grid-template-columns:1fr}.pastor-grid{grid-template-columns:1fr}.pastor-photo{max-width:760px}.media-grid{grid-template-columns:1fr}.donation-box{flex-direction:column;align-items:flex-start}.footer-grid{grid-template-columns:70px 1fr}}
@media(max-width:820px){.menu{display:none}.header-actions{margin-left:auto}.hamb{display:block}.hero{min-height:500px}.hero-content{padding:55px 0}.ministry-grid{grid-template-columns:1fr 1fr}.contact-box{grid-template-columns:1fr}}
@media(max-width:560px){section{padding:58px 0}.hero{background-position:61% center}.hero-content{padding:70px 0 90px}.hero-actions{align-items:flex-start;flex-direction:column;gap:15px}.hero h1{letter-spacing:-2px}.hero-scroll{display:none}.nav{min-height:75px}.brand{width:70px;height:65px}.brand img{width:62px;height:62px}.hero{min-height:450px}.hero h1{font-size:46px}.hero p{font-size:16px}.ministry-grid{grid-template-columns:1fr}.event-card{grid-template-columns:1fr}.event-image{height:150px}.payment-grid{width:100%;grid-template-columns:1fr 1fr}.payment{padding:18px 8px}.footer-grid{grid-template-columns:1fr;text-align:center}.footer-logo{margin:auto}.footer-links{justify-content:center;flex-wrap:wrap}}

/* V7.2 additions — keep the existing visual system intact */
.language-switch{display:flex;align-items:center;gap:5px;margin-right:12px;font-size:11px;font-weight:900;color:#7f95a3}.lang-link{color:#7f95a3;padding:4px 2px;border-bottom:2px solid transparent}.lang-link.active,.lang-link:hover{color:var(--gold);border-color:var(--gold)}
.mobile-language{display:flex;justify-content:center;gap:7px;padding:8px 0;color:#7f95a3;font-weight:900;font-size:12px}.mobile-language a:hover{color:var(--gold)}
.expedition-section{background:linear-gradient(180deg,#071622,#04101a)}.expedition-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.expedition-card{display:flex;align-items:center;gap:18px;padding:25px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,#0a2231,#06121c);box-shadow:var(--shadow);transition:.22s}.expedition-card:hover{transform:translateY(-4px);border-color:var(--gold)}.expedition-mark{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:15px;background:linear-gradient(135deg,var(--gold),#ff8a00);color:#111;font-size:24px}.expedition-card:nth-child(2) .expedition-mark{background:linear-gradient(135deg,#f21d2f,#ff8c00);color:#fff}.expedition-card h3{margin:0 0 5px;font-size:20px}.expedition-card p{margin:0;color:var(--muted);font-size:13px}
.book-section{background:#020a12}.book-box{display:grid;grid-template-columns:320px 1fr;gap:50px;align-items:center;padding:10px 0}.book-cover{border-radius:18px;overflow:hidden;border:1px solid #31586a;box-shadow:0 22px 55px rgba(0,0,0,.42);background:#0a151e}.book-cover img{display:block;width:100%;height:360px;object-fit:cover}.book-copy p{max-width:650px;color:var(--muted);font-size:16px}.book-copy h2{font-size:clamp(34px,5vw,56px);margin:8px 0 14px;line-height:1}.book-copy .btn{margin-top:10px}
.payment{min-width:170px}.payment img{display:block;width:auto;max-width:130px;height:34px;object-fit:contain}.payment.paypal img{height:30px}.payment.mercado img{height:38px}.payment strong{font-size:12px;text-transform:uppercase;letter-spacing:.8px;color:#334b59}.payment span{margin-top:1px}
.cookie-notice{position:fixed;left:20px;right:20px;bottom:18px;z-index:500;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:17px 20px;border:1px solid #2c5b70;border-radius:15px;background:rgba(3,13,22,.96);box-shadow:0 20px 50px rgba(0,0,0,.45);backdrop-filter:blur(14px);transform:translateY(130%);opacity:0;pointer-events:none;transition:.35s}.cookie-notice.show{transform:none;opacity:1;pointer-events:auto}.cookie-notice strong{color:var(--gold);font-size:13px}.cookie-notice p{margin:3px 0 0;color:var(--muted);font-size:11px}.cookie-accept{border:0;border-radius:999px;padding:10px 18px;background:var(--gold);color:#111;font-weight:900;cursor:pointer;white-space:nowrap}.cookie-accept:hover{background:#ffe45a}
@media(max-width:1050px){.language-switch{margin-right:5px}.book-box{grid-template-columns:260px 1fr}.book-cover img{height:310px}}
@media(max-width:820px){.expedition-grid{grid-template-columns:1fr}.book-box{grid-template-columns:1fr}.book-cover{max-width:360px}.language-switch{display:none}}
@media(max-width:560px){.cookie-notice{left:10px;right:10px;bottom:10px;align-items:flex-start;flex-direction:column;gap:10px}.cookie-accept{width:100%}.book-cover{max-width:none}.book-cover img{height:300px}.payment{min-width:0}.payment img{max-width:110px}}

/* Affiliations / ministry networks — footer */
.network-footer{padding:24px 0 26px;background:#020a12;border-top:1px solid #153b50}.network-footer-inner{text-align:center}.network-footer .eyebrow{margin-bottom:13px}.network-items{display:flex;align-items:stretch;justify-content:center;gap:0;border:1px solid #214b60;border-radius:15px;background:linear-gradient(135deg,#071a28,#04101a);overflow:hidden}.network-item{flex:1;min-width:0;padding:17px 20px;display:flex;flex-direction:column;justify-content:center;gap:5px}.network-item strong{font-size:14px;line-height:1.25;color:#fff}.network-item span{font-size:10px;color:#8193a0}.network-divider{width:1px;background:#214b60;margin:15px 0}.network-item:hover strong{color:var(--gold)}
@media(max-width:820px){.network-items{flex-direction:column}.network-divider{width:auto;height:1px;margin:0 20px}.network-item{padding:14px 18px}}


/* V7.2.2 — pastoral biography and multi-purpose church */
.multipro-section{background:linear-gradient(180deg,#06121c,#071a28);padding-top:58px;padding-bottom:58px}.multipro-home-card{display:grid;grid-template-columns:64px 1fr auto;align-items:center;gap:22px;padding:28px 32px;border:1px solid #28576d;border-radius:18px;background:linear-gradient(135deg,#0a2232,#06131e);box-shadow:var(--shadow);transition:.22s}.multipro-home-card:hover{transform:translateY(-4px);border-color:var(--gold)}.multipro-icon{display:grid;place-items:center;width:60px;height:60px;border-radius:17px;background:linear-gradient(135deg,var(--gold),#ff8a00);color:#111;font-size:27px}.multipro-home-copy h2{margin:7px 0 8px;font-size:clamp(25px,3vw,38px);line-height:1}.multipro-home-copy p{margin:0;color:var(--muted);max-width:780px}.multipro-arrow{font-size:28px;color:var(--gold);transition:.2s}.multipro-home-card:hover .multipro-arrow{transform:translateX(5px)}.page-card.biografia-pastoral{max-width:950px}.biography-page{max-width:820px;margin:0 auto}.biography-page h1{font-size:clamp(34px,5vw,58px);line-height:1.03;margin:0 0 10px}.biography-page>h3{font-size:clamp(18px,2.4vw,25px);color:var(--gold);font-weight:700;margin:0 0 42px}.biography-page h2{font-size:clamp(25px,3.2vw,36px);line-height:1.12;margin:48px 0 12px;color:#fff}.biography-page h3:not(:first-of-type){font-size:25px;color:var(--gold);margin:24px 0 12px}.biography-page h1:not(:first-child){font-size:clamp(30px,4vw,48px);color:var(--gold);margin-top:24px}.biography-page p,.biography-page li{color:#c7d3dc;font-size:16px;line-height:1.85}.biography-page ul{padding-left:24px}.multipro-page{max-width:820px;margin:0 auto}.multipro-page h1{font-size:clamp(34px,5vw,58px);line-height:1.03;margin:8px 0 20px}.multipro-page h2{font-size:32px;margin:42px 0 12px}.multipro-page p{color:#c7d3dc;font-size:17px;line-height:1.8}.multipro-highlight{margin:30px 0;padding:25px 28px;border-left:4px solid var(--gold);border-radius:0 14px 14px 0;background:linear-gradient(90deg,rgba(255,196,0,.12),rgba(255,196,0,.02));font-size:20px;line-height:1.5}.page-shell{padding-top:74px;padding-bottom:74px}.page-shell .page-content{display:block}@media(max-width:700px){.multipro-home-card{grid-template-columns:52px 1fr;gap:15px;padding:22px}.multipro-icon{width:50px;height:50px}.multipro-arrow{display:none}.biography-page p,.biography-page li,.multipro-page p{font-size:15px}.page-shell{padding-top:55px;padding-bottom:55px}}

/* V7.2.3 corrections: internal navigation and controlled imagery */
.pastor-photo{max-width:520px;width:100%;margin-left:auto;margin-right:auto}.pastor-photo img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.biography-page{max-width:820px}.biography-page h2{scroll-margin-top:110px}.biography-page p{margin:0 0 16px}.biography-page ul{margin:0 0 18px}.ministries-page{max-width:980px;margin:0 auto}.ministries-page>h1{font-size:clamp(36px,5vw,60px);line-height:1.05;margin:8px 0 12px}.ministries-page>p{color:var(--muted);font-size:18px}.ministries-page-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:32px}.ministries-page-grid article{padding:24px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#0a2231,#06121c)}.ministries-page-grid h2{margin:0 0 7px;font-size:21px}.ministries-page-grid p{margin:0 0 15px;color:var(--muted)}@media(max-width:700px){.ministries-page-grid{grid-template-columns:1fr}.pastor-photo{max-width:430px}}

/* V7.3 — Compacta, elegante y editorial */
html,body{overflow-x:hidden}
.wrap{width:min(1120px,92%)}
section{padding:48px 0}
.section-heading{gap:24px;margin-bottom:20px}
.section-heading h2,.about-copy h2,.pastor-copy h2,.donation-box h2,.contact-box h2{margin-top:5px}
.ministry-grid{gap:10px}
.ministry-card{padding:18px;min-height:148px;border-radius:13px}
.icon{width:40px;height:40px;font-size:18px;margin-bottom:12px}
.ministry-card h3{font-size:14px;margin-bottom:5px}
.ministry-card p{font-size:11px;line-height:1.45}
.about-events{padding:46px 0}
.two-col{gap:16px}
.about-card,.events-panel{border-radius:14px}
.about-image{height:175px}
.about-copy{padding:20px}
.about-copy h2{font-size:clamp(24px,3vw,34px)}
.about-copy p{font-size:12px;line-height:1.55;margin:8px 0 12px}
.text-link{font-size:11px}
.panel-heading{padding:20px 20px 14px}
.panel-heading h2{font-size:22px}
.event-grid{gap:9px;padding:0 16px 16px}
.empty-events{padding:15px;font-size:11px}
.expedition-section{padding:44px 0}
.expedition-grid{gap:10px}
.expedition-card{gap:12px;padding:17px;border-radius:13px}
.expedition-mark{flex-basis:38px;width:38px;height:38px;border-radius:11px;font-size:18px}
.expedition-card h3{font-size:15px;margin-bottom:3px}
.expedition-card p{font-size:10px;line-height:1.45}
.multipro-section{padding:40px 0}
.multipro-home-card{grid-template-columns:46px 1fr auto;gap:15px;padding:18px 20px;border-radius:14px}
.multipro-icon{width:44px;height:44px;border-radius:12px;font-size:20px}
.multipro-home-copy h2{font-size:clamp(22px,3vw,32px);margin:4px 0 5px}
.multipro-home-copy p{font-size:11px;line-height:1.5}
.multipro-arrow{font-size:22px}
.pastor-section{padding:48px 0}
.pastor-grid{gap:28px}
.pastor-copy p{font-size:18px;line-height:1.35;margin:10px 0 14px}
.pastor-copy strong{font-size:12px;margin-bottom:16px}
.pastor-photo{max-width:470px;border-radius:14px}
.media-section{padding:46px 0}
.media-grid{gap:10px}
.media-card{padding:15px;gap:11px;border-radius:13px}
.media-icon{width:40px;height:40px;border-radius:11px;font-size:18px}
.media-card h3{font-size:14px}
.media-card p{font-size:10px}
.donation-section{padding:46px 0}
.donation-box{gap:22px;padding:22px;border-radius:15px}
.payment-grid{grid-template-columns:repeat(2,145px);gap:9px}
.payment{min-width:145px;padding:16px;border-radius:12px}
.book-section{padding:46px 0}
.book-box{grid-template-columns:220px 1fr;gap:28px}
.book-cover{border-radius:14px}
.book-cover img{height:260px}
.book-copy p{font-size:13px;line-height:1.6}
.book-copy h2{font-size:42px}
.network-footer{padding:20px 0 22px}
.network-item{padding:13px 16px}
.network-item strong{font-size:12px}
.network-item span{font-size:9px}
.page-shell{padding-top:50px;padding-bottom:50px}
.biography-page{max-width:820px}
.biography-page>h3{margin-bottom:28px}
.biography-page h2{margin:34px 0 10px}
.biography-page p,.biography-page li{font-size:15px;line-height:1.72}
/* Keep the hero strong while reducing its vertical footprint */
.hero{min-height:560px}
.hero-content{padding:70px 0 85px}
.hero h1{font-size:clamp(40px,6.3vw,74px);margin:12px 0}
.hero p{font-size:16px;margin-bottom:20px}
@media(max-width:1050px){
 .nav{min-height:78px;gap:18px}.brand{width:72px;height:64px}.brand img{width:64px;height:64px}
 .menu-list{gap:12px}.menu-list a{font-size:10px;padding-top:27px}
 .two-col{grid-template-columns:1fr 1fr}
 .ministry-grid{grid-template-columns:repeat(5,1fr)}
 .section-heading>p{max-width:330px;font-size:11px}
}
@media(max-width:820px){
 section{padding:42px 0}.about-events{padding:42px 0}
 .two-col,.pastor-grid{grid-template-columns:1fr}.about-image{height:190px}
 .pastor-photo{max-width:600px}.book-box{grid-template-columns:210px 1fr}
 .ministry-grid{grid-template-columns:repeat(2,1fr)}
 .section-heading{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:18px}
 .section-heading>p{max-width:600px}
}
@media(max-width:560px){
 section{padding:36px 0}.wrap{width:min(100% - 28px,1120px)}
 .hero{min-height:470px;background-position:62% center}.hero-content{padding:58px 0 70px}
 .hero h1{font-size:46px;letter-spacing:-2px}.hero p{font-size:15px}
 .ministry-grid{grid-template-columns:1fr 1fr;gap:8px}.ministry-card{padding:14px;min-height:125px}
 .ministry-card h3{font-size:12px}.ministry-card p{font-size:10px}.icon{width:34px;height:34px;font-size:15px;margin-bottom:8px}
 .about-copy{padding:17px}.about-image{height:165px}
 .expedition-card{padding:14px}.multipro-home-card{grid-template-columns:40px 1fr;gap:12px;padding:16px}.multipro-arrow{display:none}
 .pastor-copy p{font-size:17px}.pastor-photo{max-width:none}
 .book-box{grid-template-columns:1fr;gap:20px}.book-cover{max-width:240px}.book-cover img{height:300px}
 .payment-grid{width:100%;grid-template-columns:1fr 1fr}.payment{min-width:0}
}

/* V7.3.2 — compact multi-photo carousel */
.photo-carousel-section{padding:28px 0;background:linear-gradient(180deg,#071622,#04111b)}
.photo-carousel{position:relative;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:8px}
.carousel-viewport{overflow:hidden;border:1px solid #28576d;border-radius:14px;background:#06121c;box-shadow:var(--shadow);padding:8px}
.carousel-track{display:flex;transition:transform .55s cubic-bezier(.2,.8,.2,1);will-change:transform;margin:0 -4px}
.carousel-slide{min-width:25%;flex:0 0 25%;height:155px;position:relative;overflow:hidden;padding:0 4px;box-sizing:border-box}
.carousel-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:10px;border:1px solid rgba(49,93,115,.7);transition:transform .35s cubic-bezier(.2,.8,.2,1),filter .35s ease;cursor:zoom-in}
.carousel-slide:hover img{transform:scale(1.08);filter:brightness(1.08);z-index:2}
.carousel-arrow{width:38px;height:38px;border:1px solid #315d73;border-radius:50%;background:#071722;color:#fff;font-size:27px;line-height:1;cursor:pointer;transition:.2s;z-index:2}
.carousel-arrow:hover{border-color:var(--gold);color:var(--gold);transform:scale(1.05)}
.carousel-dots{grid-column:2;display:flex;justify-content:center;gap:7px;margin-top:9px}
.carousel-dot{width:7px;height:7px;border:0;border-radius:50%;padding:0;background:#476778;cursor:pointer;transition:.2s}
.carousel-dot.active{background:var(--gold);transform:scale(1.3)}
@media(max-width:900px){.carousel-slide{min-width:50%;flex-basis:50%;height:145px}}
@media(max-width:700px){.photo-carousel-section{padding:24px 0}.photo-carousel{grid-template-columns:34px 1fr 34px;gap:5px}.carousel-viewport{padding:6px}.carousel-slide{min-width:50%;flex-basis:50%;height:125px}.carousel-arrow{width:32px;height:32px;font-size:23px}.carousel-dots{margin-top:7px}}
@media(max-width:480px){.carousel-slide{min-width:100%;flex-basis:100%;height:180px}}

/* V7.3.3 — Donation buttons: reliable yellow CTA without external logo dependencies */
.payment.payment-button{background:linear-gradient(135deg,#ffe45a,var(--gold) 55%,var(--gold2));color:#111;min-height:118px;justify-content:center;gap:8px;border:1px solid rgba(255,255,255,.16);text-decoration:none}.payment.payment-button strong{font-size:24px;letter-spacing:-.6px;color:#111}.payment.payment-button small{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#263d4b;text-align:center;font-weight:900}.payment.payment-button span{background:#111;color:#fff;font-size:9px;padding:7px 11px}.payment.payment-button:hover{transform:translateY(-4px) scale(1.01);box-shadow:0 16px 34px rgba(255,196,0,.25)}
@media(max-width:560px){.payment.payment-button{min-height:110px}.payment.payment-button strong{font-size:20px}.payment.payment-button small{font-size:9px}}

/* V7.3.4 — Refined pastor photo and internal footer links */
.pastor-photo{max-width:380px;justify-self:end;background:#02070d;border-radius:14px;overflow:hidden}
.pastor-photo img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center top}
.footer-links a{text-decoration:none}
@media(max-width:820px){.pastor-photo{justify-self:center;max-width:340px}}
@media(max-width:560px){.pastor-photo{max-width:300px}}

/* V7.3.5 — Gallery-only carousel, 20 configurable photos, internal pages */
.about-image{display:block;text-decoration:none}
.about-image img{transition:transform .35s ease,filter .35s ease}
.about-image:hover img{transform:scale(1.025);filter:brightness(1.06)}
.gallery-page{max-width:1120px;margin:0 auto}
.gallery-page h1{font-size:clamp(40px,6vw,70px);margin:6px 0 20px}
.gallery-page>p{color:var(--muted);font-size:16px;line-height:1.7}
.gallery-page-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:28px}
.gallery-page-item{display:block;aspect-ratio:4/3;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#06121c}
.gallery-page-item img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease}
.gallery-page-item:hover img{transform:scale(1.06)}
.contact-page{max-width:820px;margin:0 auto}
.contact-page h1{font-size:clamp(40px,6vw,64px);margin:8px 0 14px}
.contact-page>p{color:var(--muted);font-size:17px;line-height:1.7}
.contact-page-form{margin-top:24px;display:grid;gap:10px}
.contact-page-form label{font-weight:800;font-size:13px}
.contact-page-form input,.contact-page-form textarea{width:100%;box-sizing:border-box;background:#06121c;border:1px solid var(--line);border-radius:10px;color:#fff;padding:12px}
.contact-page-form textarea{min-height:160px}
@media(max-width:900px){.gallery-page-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.gallery-page-grid{grid-template-columns:repeat(2,1fr);gap:9px}}
@media(max-width:430px){.gallery-page-grid{grid-template-columns:1fr}}

.gallery-empty{width:100%;min-height:110px;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--muted);font-size:13px;padding:20px;box-sizing:border-box}
.pastor-photo img{object-position:center center}


/* V7.3.8 — About photo framing: keep the top of the original image visible so heads are not cut off */
.about-image img{object-position:center top}

/* V7.3.7 — Final polish: one title per page, compact editorial pages, no nested cards */
.page-card{overflow:hidden}
.page-simple{max-width:900px;margin:0 auto}
.page-simple h1{font-size:clamp(36px,5vw,62px);line-height:1.04;margin:8px 0 16px}
.page-simple p{color:var(--muted);font-size:17px;line-height:1.75;max-width:820px}
.simple-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.btn-outline{background:transparent;border:1px solid var(--line);color:#fff}
.btn-outline:hover{border-color:var(--gold);color:var(--gold)}
.page-card>.contact-page{max-width:900px}
.page-card>.gallery-page{max-width:100%}
.page-card>.biography-page,.page-card>.multipro-page,.page-card>.ministries-page{max-width:900px}
.page-card .page-simple + .page-simple{margin-top:0}
@media(max-width:700px){.page-card{padding:24px}.page-simple p{font-size:15px}.simple-actions{flex-direction:column;align-items:flex-start}}

/* V7.3.9 — Corrección definitiva del encuadre de la foto de Sobre Nosotros */
.about-image{position:relative;overflow:hidden;}
.about-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 0% !important;transform:none !important;}
