@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Outfit:wght@400;500;600;650;700;750;800&display=swap');
:root{--orange:#ab4f41;--ink:#5d1f1e;--muted:#79544c;--paper:#faf7eb;--line:#e6d7c5}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:15px;line-height:1.65}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}img{display:block;max-width:100%}button{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Outfit,sans-serif}h1,h2{font-weight:550;letter-spacing:-2.8px;line-height:1.13}h2{font-size:clamp(34px,4vw,49px)}h3{line-height:1.35;font-size:20px;font-weight:650;letter-spacing:-.6px}em{font-style:normal;color:var(--orange)}.wrap{max-width:1180px;margin-inline:auto;padding-inline:40px}.section{padding-block:110px}.header{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:25px}.brand{font-family:Outfit,sans-serif;font-weight:800;display:flex;align-items:center;font-size:22px;letter-spacing:-1px;line-height:1}.brand svg{width:27px;height:36px;color:var(--orange);margin-right:8px}.brand-cbo{font-weight:500}.header nav{display:flex;gap:25px;font-size:12px}.header nav a:hover,.text-link:hover{color:var(--orange)}.button{display:inline-flex;gap:25px;align-items:center;justify-content:center;background:var(--ink);color:white;border:1px solid var(--ink);border-radius:40px;padding:15px 25px;font-size:13px;font-weight:600;transition:transform .2s,background .2s}.button:hover{background:#ab4f41;transform:translateY(-2px)}.button.small{font-size:11px;padding:11px 17px;white-space:nowrap}.text-link{font-size:13px;font-weight:600;display:inline-flex;gap:12px;align-items:center;background:none;border:0;padding:0}.menu{display:none}.skip{position:absolute;top:-100px;left:15px;background:white;padding:10px;z-index:10}.skip:focus{top:10px}.hero{text-align:center;padding-top:54px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:650;display:flex;align-items:center;gap:8px}.hero>.eyebrow{justify-content:center}.orange{color:#ab4f41}.live-dot{background:var(--orange);width:7px;height:7px;border-radius:50%;box-shadow:0 0 0 4px #f3652714}h1{font-size:clamp(45px,5.8vw,72px);margin-top:24px;letter-spacing:-3.7px}.hero-copy{margin-top:23px;color:var(--muted);font-size:14px}.hero-actions{margin-top:27px;display:flex;gap:27px;justify-content:center;align-items:center}.hero-world{position:relative;height:400px;margin-top:32px;background:radial-gradient(ellipse at center,#f3e7cf,transparent 68%);overflow:hidden}.paths{position:absolute;inset:0;width:100%;height:100%}.paths path{fill:none;stroke:#e1c8ab;stroke-width:1.3;stroke-dasharray:5 6}.hero-photo{position:absolute;left:50%;transform:translateX(-50%) rotate(-3deg);top:35px;width:445px;padding:9px 9px 0;background:white;border-radius:17px;box-shadow:0 18px 40px #25282212;text-align:left}.hero-photo>img{height:218px;width:100%;object-fit:cover;border-radius:11px}.photo-caption{display:flex;align-items:center;justify-content:space-between;padding:14px 7px 19px}.photo-caption span{font-size:8px;letter-spacing:1.3px;color:var(--muted)}.photo-caption h2{font-size:19px;letter-spacing:-.7px;margin-top:6px}.photo-caption a{border:1px solid var(--line);border-radius:50%;width:32px;height:32px;display:grid;place-items:center}.orbit-photo{position:absolute;object-fit:cover;width:74px;height:74px;border-radius:50%;border:6px solid white;box-shadow:0 5px 15px #24262010}.orbit-one{left:9%;top:145px}.orbit-two{right:9%;top:105px}.place-tag{position:absolute;left:6%;top:25px;text-align:left;font-size:10px;color:var(--muted);line-height:1.6}.place-tag>span{color:var(--orange);font-size:25px;display:block}.place-tag b{color:var(--ink);font-weight:500}.floating-note{position:absolute;right:4%;bottom:64px;display:flex;gap:10px;background:#ffffffed;border:1px solid white;border-radius:12px;padding:15px 19px;text-align:left;font-size:10px;line-height:1.7;box-shadow:0 8px 25px #22222208}.orange-icon{color:var(--orange);font-size:26px}.world-label{position:absolute;bottom:10px;font-size:9px;letter-spacing:2px;left:0;right:0;color:#88645b}.weekly-strip{text-align:left;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-block:28px;display:grid;grid-template-columns:repeat(3,1fr) .75fr;gap:30px}.weekly-strip>a>span{font-size:9px;letter-spacing:1.3px;color:var(--muted)}.weekly-strip strong{display:block;font-family:Outfit;font-size:35px;font-weight:500;letter-spacing:-1.4px;line-height:1.6}.weekly-strip strong small{font-size:14px;letter-spacing:0}.weekly-strip p{font-size:11px}.weekly-strip p span{color:var(--orange);margin-left:10px}.strip-note{font-size:11px;display:flex;flex-direction:column;justify-content:center;border-left:1px solid var(--line);padding-left:28px;gap:4px}.strip-note span{color:var(--muted)}.intro{display:grid;grid-template-columns:1fr 1fr;gap:100px}.intro h2{margin-top:25px}.lead{font-size:20px;line-height:1.6;letter-spacing:-.3px}.intro-right>p+p{color:var(--muted);margin-top:20px;font-size:14px}.intro-right>.text-link{margin-top:22px}.principles{display:flex;gap:15px;flex-wrap:wrap;margin-top:30px}.principles span{font-size:10px;border-bottom:1px solid var(--line);padding-bottom:8px}.agenda-section{background:#f3e7cf}.section-top{display:flex;justify-content:space-between;align-items:flex-end;gap:35px;margin-bottom:42px}.section-top h2{margin-top:20px}.section-top>p{color:var(--muted);font-size:13px;line-height:1.7;max-width:350px}.tabs{display:flex;gap:8px;margin-bottom:24px}.tabs button{border:1px solid #dfc6af;background:transparent;border-radius:30px;padding:10px 19px;font-size:12px}.tabs button[aria-selected=true]{background:var(--ink);color:white;border-color:var(--ink)}.events{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.events>article{padding:28px;background:var(--paper);border-radius:15px}.event-day{font-size:10px;letter-spacing:1.3px}.event-time{font-size:45px;letter-spacing:-2px;font-family:Outfit;margin:14px 0 17px;line-height:1.2}.event-time small{font-size:15px;letter-spacing:0}.events h3{font-size:19px}.events p{font-size:12px;color:var(--muted);margin-top:12px;min-height:65px}.event-foot{border-top:1px solid #e3cdb6;margin-top:20px;padding-top:18px;display:flex;gap:8px;align-items:center;justify-content:space-between}.event-foot>span{font-size:10px;max-width:160px}.event-foot a{font-size:22px}.events .orange-event{background:var(--orange);color:#5d1f1e}.orange-event p{color:#5d1f1e}.orange-event .event-foot{border-color:#ab4f4140}.micro{font-size:10px;line-height:1.7;color:var(--muted);margin-top:20px}.outreach-list{background:var(--paper);padding:12px 30px 25px;border-radius:15px}.outreach-list article{display:flex;gap:25px;border-bottom:1px solid var(--line);padding:20px 0}.outreach-list article>b{font-size:12px;width:135px;flex-shrink:0;color:#ab4f41}.outreach-list h3{font-size:17px}.outreach-list p{font-size:12px;color:var(--muted)}.outreach-list>.text-link{margin-top:20px}.class-section{display:grid;grid-template-columns:.85fr 1fr;gap:100px;align-items:center}.class-art{background:#f3e7cf;border-radius:15px;padding:20px;transform:rotate(-2deg);max-width:390px}.class-art img{width:100%;max-height:570px;object-fit:contain;border-radius:7px}.class-content h2{margin-top:20px;margin-bottom:23px}.class-content .lead{font-size:17px}.class-steps{margin:28px 0}.class-steps>div{display:flex;gap:15px;align-items:center;margin-top:17px}.class-steps>div>span{font-size:10px;color:#ab4f41;border:1px solid #dfc6af;border-radius:50%;padding:6px 9px}.class-steps p{font-size:12px;color:var(--muted)}.class-steps b{color:var(--ink);font-weight:600}.calendar-link{display:block;font-size:11px;margin-top:16px}.service-section{background:#5d1f1e;color:#faf7eb}.service-section .eyebrow{color:#faf7eb}.service-section em{color:#eecb88}.service-section .section-top>p{color:#faf7eb}.service-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px}.service-feature{border-radius:15px;overflow:hidden;background:#71302a}.service-feature img{width:100%;height:245px;object-fit:cover}.service-feature>div{padding:27px}.service-feature span{font-size:9px;letter-spacing:1.3px;color:#faf7eb}.service-feature h3{font-size:24px;margin:12px 0}.service-feature p{font-size:13px;color:#faf7eb;margin-bottom:20px}.service-section b{font-size:11px;font-weight:500}.service-section small{display:block;font-size:10px;color:#faf7eb;margin-top:4px}.service-details article{display:flex;gap:20px;padding:25px 0;border-bottom:1px solid #98594b}.service-details article:first-child{padding-top:0}.service-details article>span{color:#eecb88;font-size:11px}.service-details h3{font-size:22px}.service-details p{font-size:13px;color:#faf7eb;margin:12px 0 18px}.service-bottom{display:flex;justify-content:space-between;gap:30px;align-items:center;margin-top:43px}.service-bottom p{font-size:15px;color:#faf7eb}.button.light{background:var(--paper);color:var(--ink);border-color:var(--paper)}.button.light:hover{background:#f3e7cf}.ministry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.ministry-grid article{border:1px solid var(--line);border-radius:13px;overflow:hidden}.ministry-grid img{width:100%;height:200px;object-fit:cover}.ministry-grid article>div{padding:24px}.ministry-grid span{font-size:8px;letter-spacing:1.2px;color:#ab4f41}.ministry-grid h3{font-size:23px;margin:12px 0}.ministry-grid p{font-size:13px;color:var(--muted)}.ministry-grid small{display:block;font-size:10px;margin-top:23px}.team{margin-top:30px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px;font-size:13px;font-weight:500;padding:21px 0}summary::-webkit-details-marker{display:none}summary span{font-size:18px;line-height:1}details[open]>summary span{transform:rotate(45deg)}.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;padding:10px 0 30px;font-size:12px}.team-grid span{display:block;font-size:11px;color:var(--muted)}.gallery-section{padding-bottom:100px}.gallery{display:grid;grid-template-columns:1.25fr 1fr 1fr;grid-template-rows:170px 170px;gap:15px}.gallery button{position:relative;padding:0;border:0;background:#ddd;overflow:hidden;border-radius:12px;text-align:left}.gallery button:first-child{grid-row:span 2}.gallery button:nth-child(2){grid-column:span 2}.gallery img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.gallery button:hover img{transform:scale(1.04)}.gallery button span{position:absolute;bottom:0;left:0;right:0;padding:35px 18px 16px;color:white;background:linear-gradient(transparent,#0009);font-size:12px}.visit{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:90px}.visit h2{margin-top:20px}.visit .lead{margin-top:25px}.visit p:not(.lead){font-size:13px;color:var(--muted);margin-top:17px}.visit .button{margin-top:26px}.faq details{border-bottom:1px solid var(--line)}.faq details p{padding-bottom:20px}.faq details a,.faq details button{display:inline-block;margin-bottom:20px;font-size:12px;color:#ab4f41}.closing{margin-bottom:60px;padding-block:65px;border:1px solid var(--line);border-radius:18px;text-align:center;background:radial-gradient(ellipse at bottom,#f3e7cf,transparent 75%)}.closing>span{font-size:9px;letter-spacing:1.8px}.closing h2{margin-top:20px;margin-bottom:26px}.footer-top{display:flex;align-items:flex-start;justify-content:space-between;gap:35px;padding:20px 0 45px}.footer-top p{font-size:12px;color:var(--muted)}.socials{display:flex;gap:25px;font-size:12px}.footer-bottom{border-top:1px solid var(--line);padding:22px 0;display:flex;justify-content:space-between;font-size:10px;color:var(--muted);gap:20px}.footer-bottom button{font-size:10px;font-weight:400}dialog{border:0;border-radius:18px;background:var(--paper);color:var(--ink);padding:45px;max-width:560px;width:calc(100% - 30px);max-height:90vh;box-shadow:0 20px 80px #0004}dialog::backdrop{background:#151913aa;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:14px;top:10px;border:0;background:none;font-size:30px}.dialog-close:hover{color:var(--orange)}dialog h2{font-size:34px;margin:20px 0}dialog>p{font-size:13px;color:var(--muted);margin:15px 0}dialog label{display:block;font-size:12px;margin-top:20px}select,textarea{width:100%;padding:13px;border:1px solid #dfc6af;border-radius:7px;background:white;color:var(--ink);font-size:12px}textarea{margin:15px 0;resize:vertical}#copy-status{min-height:15px;color:#ab4f41}#photo-dialog{max-width:1100px;padding:35px 20px 10px}#large-photo{max-height:73vh;width:100%;object-fit:contain}#photo-caption{text-align:center}.faq details p{line-height:1.8}[hidden]{display:none!important}:focus-visible{outline:3px solid var(--orange);outline-offset:5px}@media(min-width:1450px){.hero-world{height:430px}}@media(max-width:900px){.wrap{padding-inline:25px}.header nav{gap:15px;font-size:11px}.brand{font-size:20px}.intro,.class-section,.visit{gap:40px}.service-grid{gap:30px}.floating-note{right:0}.orbit-one{left:1%}.orbit-two{right:1%}.place-tag{left:1%}.events>article{padding:22px}.section{padding-block:80px}.socials{gap:12px}.gallery-section{padding-bottom:80px}}@media(max-width:680px){.wrap{padding-inline:20px}.header{height:78px;position:relative}.header>.button{margin-left:auto;font-size:10px;padding:9px 12px}.menu{display:block;background:none;border:0;font-size:24px;padding:2px}.header nav{display:none;position:absolute;top:77px;left:0;right:0;background:var(--paper);padding:25px;box-shadow:0 20px 30px #20221f12;z-index:5;flex-direction:column;font-size:15px}.header nav.open{display:flex}.brand{font-size:18px}.brand svg{width:22px;height:30px}.hero{padding-top:35px}.eyebrow{font-size:9px;letter-spacing:1.3px}h1{font-size:43px;letter-spacing:-2.2px;margin-top:20px}h2{letter-spacing:-1.5px;font-size:36px}.hero-copy{font-size:13px;margin-top:20px}.desktop{display:none}.hero-actions{gap:18px;flex-wrap:wrap;margin-top:24px}.button{padding:13px 21px;font-size:12px}.text-link{font-size:12px}.hero-world{height:355px;margin-top:25px}.hero-photo{width:86%;max-width:360px;top:27px;z-index:1}.hero-photo>img{height:180px}.photo-caption h2{font-size:17px}.photo-caption{padding-block:12px}.orbit-photo{width:49px;height:49px;border-width:3px;z-index:2}.orbit-one{left:0;top:233px}.orbit-two{right:0;top:0}.place-tag{display:none}.floating-note{bottom:22px;padding:10px 14px;right:1%;font-size:9px;z-index:2}.world-label{display:none}.weekly-strip{grid-template-columns:1fr 1fr;gap:24px;padding-block:22px}.weekly-strip strong{font-size:32px}.weekly-strip>a>span{font-size:8px}.weekly-strip p{font-size:10px}.strip-note{padding-left:20px;font-size:10px}.section{padding-block:65px}.intro,.class-section,.visit{grid-template-columns:1fr;gap:30px}.intro h2{margin-top:20px}.lead{font-size:18px}.intro-right>p+p{font-size:13px}.section-top{align-items:flex-start;flex-direction:column;gap:20px;margin-bottom:30px}.section-top h2{margin-top:15px}.section-top>p{font-size:12px}.tabs{gap:5px}.tabs button{font-size:11px;padding:9px 13px}.events{grid-template-columns:1fr}.events>article{padding:25px}.event-time{font-size:40px;margin:10px 0}.events p{min-height:auto;max-width:300px}.event-foot{margin-top:22px}.event-foot>span{max-width:250px}.outreach-list{padding-inline:20px}.outreach-list article{gap:15px;flex-direction:column}.outreach-list article>b{width:auto}.class-art{max-width:280px;margin:0 auto;width:100%;padding:13px}.class-content{margin-top:12px}.class-steps{margin-block:25px}.class-content .button{width:100%}.service-grid{grid-template-columns:1fr;gap:30px}.service-feature img{height:200px}.service-details h3{font-size:21px}.service-bottom{flex-direction:column;align-items:flex-start;gap:25px}.ministry-grid{grid-template-columns:1fr;gap:20px}.ministry-grid img{height:210px}.team-grid{grid-template-columns:1fr 1fr;gap:20px}.gallery-section{padding-bottom:65px}.gallery{grid-template-columns:1fr 1fr;grid-template-rows:190px 155px 150px;gap:10px}.gallery button:first-child{grid-column:span 2;grid-row:span 1}.gallery button:nth-child(2){grid-column:span 2}.gallery button span{font-size:10px;padding:25px 12px 12px}.visit{gap:35px}.closing{border-radius:0;border-inline:0;margin-bottom:30px;padding-block:50px}.footer-top{flex-wrap:wrap;gap:25px;padding-bottom:30px}.footer-top>.brand{width:100%}.socials{gap:20px;flex-wrap:wrap}.footer-bottom{flex-wrap:wrap;font-size:9px}.footer-bottom>span{width:100%}dialog{padding:35px 25px}dialog h2{font-size:29px}.class-content .lead{font-size:16px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.arrow{font-family:Arial,sans-serif!important;font-weight:400}

/* Identidad oficial de MaranathaCBO */
.brand-symbol{display:block;position:relative;overflow:hidden;width:48px;height:48px;flex:0 0 48px;mix-blend-mode:multiply}.brand-symbol img{position:absolute;width:168%;max-width:none;height:168%;left:-34%;top:-34%;object-fit:contain}.brand{gap:10px}@media(max-width:680px){.brand-symbol{width:38px;height:38px;flex-basis:38px}.brand{gap:7px}}

.pastors-section{border-top:1px solid #e6d7c5}.pastors-section .section-top>p{max-width:430px}.pastors-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}.pastor-card{min-width:0}.pastor-card>img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center 30%;border-radius:18px}.pastor-info{padding:25px 0 0}.pastor-info>span{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#ab4f41}.pastor-info h3{font-size:32px;letter-spacing:-1.3px;margin:10px 0 14px}.pastor-info p{max-width:470px;line-height:1.8;color:#79544c;margin:0 0 20px}.pastor-info .text-link{font-size:13px}@media(max-width:680px){.pastors-grid{grid-template-columns:1fr;gap:40px}.pastor-info h3{font-size:27px}.pastor-card>img{border-radius:12px}}

/* Paleta crema, durazno, terracota y vino */
:root{--gold:#eecb88;--olive:#ab4f41;--deep-olive:#5d1f1e;--cream:#f3e7cf;--sunset:#cb6f4a}.events .orange-event{background:linear-gradient(145deg,#eecb88,#eb975e);color:var(--deep-olive)}.live-dot{background:var(--gold);box-shadow:0 0 0 4px #eecb8826}.orange-icon,.place-tag>span{color:var(--sunset)}.closing{background:radial-gradient(ellipse at bottom,#eecb8835,transparent 75%)}.class-art{background:linear-gradient(155deg,#f3e7cf,#eecb8855)}.service-section{background:linear-gradient(140deg,#5d1f1e,#71302a)}.button.light{background:var(--gold);border-color:var(--gold);color:var(--deep-olive)}.button.light:hover{background:#eb975e}.service-section .button.light:focus-visible{outline-color:var(--paper)}.hero-world{background:radial-gradient(ellipse at center,#f3e7cf99,transparent 68%)}::selection{background:#eecb88;color:#5d1f1e}

/* Gradientes de la nueva paleta */
.agenda-section{background:linear-gradient(150deg,#faf7eb,#eecb8840)}.class-art{background:linear-gradient(155deg,#eecb88,#cb6f4a66)}.service-section{background:linear-gradient(140deg,#5d1f1e,#ab4f41)}.events .orange-event{background:linear-gradient(145deg,#eecb88,#eb975e);color:#5d1f1e}.closing{background:radial-gradient(ellipse at bottom,#eb975e55,transparent 78%)}.hero-world{background:radial-gradient(ellipse at center,#eecb8845,transparent 68%)}.pastor-info>span,.ministry-grid span,.orange,.outreach-list article>b{color:#ab4f41}

/* Language and appearance preferences */
.display-controls{display:flex;align-items:center;gap:8px;flex-shrink:0}.language-control{display:flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:30px;padding:4px 8px;color:var(--ink)}.language-control select{width:auto;max-width:110px;border:0;background:transparent;color:inherit;padding:4px 0;font-size:11px;border-radius:0}.language-control option{background:var(--paper);color:var(--ink)}.header{gap:15px}.header nav{gap:18px}
html{--paper:#241716;--ink:#faf7eb;--muted:#d0b7a5;--line:#624039;--orange:#eecb88;color-scheme:dark}html .brand-symbol{mix-blend-mode:normal;background:#faf7eb;border-radius:50%}html .button{background:#eecb88;color:#5d1f1e;border-color:#eecb88}html .button:hover{background:#eb975e}html .hero-photo,html .floating-note{background:#372321;border-color:#624039}html .hero-world{background:radial-gradient(ellipse at center,#ab4f412d,transparent 68%)}html .paths path{stroke:#825649}html .agenda-section{background:linear-gradient(150deg,#35201e,#482722)}html .tabs button{border-color:#946353}html .tabs button[aria-selected=true]{background:#eecb88;color:#5d1f1e;border-color:#eecb88}html .events .orange-event{color:#5d1f1e}html .orange-event p{color:#5d1f1e}html .class-art{background:linear-gradient(155deg,#5d1f1e,#ab4f41)}html .service-section{background:linear-gradient(140deg,#401a19,#71302a)}html .orange,html .pastor-info>span,html .ministry-grid span,html .outreach-list article>b,html .class-steps>div>span,html .faq details a,html .faq details button{color:#eecb88}html .pastor-info p{color:var(--muted)}html .closing{background:radial-gradient(ellipse at bottom,#ab4f4155,transparent 78%)}html select:not(#language-select),html textarea{background:#372321;border-color:#825649;color:var(--ink)}html #copy-status{color:#eecb88}html .skip{background:var(--paper)}html .world-label{color:var(--muted)}
@media(max-width:1050px) and (min-width:681px){.header nav{gap:12px}.header>.button{display:none}.header{gap:12px}}
@media(max-width:680px){.header{flex-wrap:wrap;height:auto;min-height:78px;padding-block:15px;gap:12px}.header>.brand{margin-right:auto}.header>.button{display:none}.display-controls{margin-left:auto}.language-control select{max-width:90px;font-size:11px}.brand{font-size:16px}.brand-symbol{width:30px;height:30px;flex-basis:30px}.menu{order:4}.header nav{top:100%;width:100%}.header nav.open{display:flex}.language-control{padding:3px 6px}.header>.brand{max-width:55%}}
@media(max-width:380px){.header{gap:8px}.display-controls{gap:5px}.brand{font-size:14px}.language-control>span{display:none}.language-control select{max-width:77px}.brand-symbol{width:26px;height:26px;flex-basis:26px}}

/* Compact sections and pastor portraits */
.section{padding-block:76px}.section-top{margin-bottom:30px}.gallery-section{padding-bottom:76px}.pastors-grid{gap:28px}.pastor-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;align-items:start}.pastor-card>img{width:150px;height:190px;aspect-ratio:auto;border-radius:13px;object-position:center 27%}.pastor-info{padding:0}.pastor-info>span{font-size:9px;letter-spacing:1px}.pastor-info h3{font-size:25px;letter-spacing:-.8px;margin:7px 0 10px}.pastor-info p{font-size:13px;line-height:1.65;margin-bottom:12px}.pastor-info .text-link{font-size:12px}.pastors-section .section-top h2{margin-top:0}
@media(min-width:681px) and (max-width:950px){.pastor-card{grid-template-columns:105px minmax(0,1fr);gap:15px}.pastor-card>img{width:105px;height:145px}.pastor-info h3{font-size:21px}.pastor-info p{font-size:12px}}
@media(max-width:680px){
 body{font-size:14px}.section{padding-block:38px}.wrap{padding-inline:18px}h2{font-size:29px;line-height:1.15;letter-spacing:-1.2px}.section-top{gap:12px;margin-bottom:22px}.section-top h2{margin-top:0}.section-top>p{font-size:12px;line-height:1.6}.section-top br{display:none}
 .hero{padding-top:26px}h1{font-size:36px;line-height:1.13;margin-top:16px;letter-spacing:-1.8px}.hero-copy{margin-top:15px;line-height:1.6}.hero-actions{gap:15px;margin-top:18px}.hero-world{height:290px;margin-top:15px}.hero-photo{top:18px;max-width:320px;width:83%}.hero-photo>img{height:153px}.photo-caption{padding:10px 5px 12px}.photo-caption h2{font-size:15px}.photo-caption span{font-size:7px}.photo-caption a{height:28px;width:28px}.floating-note{bottom:10px;padding:8px 12px}.orbit-one{top:200px}.weekly-strip{padding-block:17px;gap:16px}.weekly-strip strong{font-size:27px;line-height:1.45}.weekly-strip p{line-height:1.5}.strip-note{padding-left:16px}
 .tabs{margin-bottom:16px}.tabs button{min-height:40px}.events{gap:12px}.events>article{display:grid;grid-template-columns:82px minmax(0,1fr);column-gap:16px;padding:19px;border-radius:12px}.event-day{grid-column:1;font-size:8px;letter-spacing:.7px;align-self:end}.event-time{grid-column:1;grid-row:2 / 4;align-self:start;font-size:29px;margin:5px 0 0;letter-spacing:-1px}.event-time small{display:block;font-size:11px;letter-spacing:0}.events h3{grid-column:2;grid-row:1 / 3;font-size:17px;align-self:start}.events p{grid-column:2;grid-row:3;font-size:12px;line-height:1.6;margin-top:7px;min-height:0}.event-foot{grid-column:1 / -1;margin-top:13px;padding-top:10px}.event-foot a{min-width:32px;text-align:right}.micro{margin-top:14px;line-height:1.6}.outreach-list{padding:6px 18px 18px}.outreach-list article{padding:14px 0;gap:5px}.outreach-list h3{font-size:16px}
 .class-section{display:block}.class-section:after{content:'';display:block;clear:both}.class-art{float:right;width:112px;max-width:32%;padding:7px;margin:0 0 12px 18px;border-radius:9px}.class-art img{max-height:190px}.class-content{margin-top:0}.class-content h2{margin-top:0;margin-bottom:13px}.class-content .lead{font-size:14px;line-height:1.6}.class-steps{clear:both;margin:18px 0}.class-steps>div{gap:12px;margin-top:12px}.class-steps p{line-height:1.6}.class-content .button{min-height:44px}.calendar-link{margin-top:12px}
 .service-grid{gap:20px}.service-feature{display:grid;grid-template-columns:92px minmax(0,1fr)}.service-feature img{height:100%;min-height:185px;object-fit:cover}.service-feature>div{padding:17px}.service-feature h3{font-size:19px;margin:7px 0}.service-feature p{font-size:12px;line-height:1.6;margin-bottom:12px}.service-feature span{font-size:8px}.service-details article{padding:17px 0;gap:13px}.service-details h3{font-size:19px}.service-details p{font-size:12px;line-height:1.6;margin:8px 0 11px}.service-bottom{gap:18px;margin-top:24px}.service-bottom p{font-size:13px}.service-bottom br{display:none}.service-bottom .button{gap:15px}
 .ministry-grid{gap:12px}.ministry-grid article{display:grid;grid-template-columns:94px minmax(0,1fr)}.ministry-grid img{height:100%;min-height:170px;object-fit:cover}.ministry-grid article>div{padding:17px}.ministry-grid h3{font-size:20px;margin:7px 0}.ministry-grid p{font-size:12px;line-height:1.6}.ministry-grid small{margin-top:11px;line-height:1.5}.ministry-grid span{font-size:7px;letter-spacing:.7px}.team{margin-top:20px}summary{padding:16px 0;min-height:44px}.team-grid{gap:16px;padding-bottom:20px}
 .pastors-grid{grid-template-columns:1fr;gap:23px}.pastor-card{grid-template-columns:94px minmax(0,1fr);gap:16px}.pastor-card>img{width:94px;height:126px;border-radius:10px;object-position:center 25%}.pastor-info{padding:0}.pastor-info>span{font-size:8px;letter-spacing:.7px;line-height:1.5;display:block}.pastor-info h3{font-size:22px;line-height:1.25;margin:6px 0 8px}.pastor-info p{font-size:12px;line-height:1.6;margin-bottom:10px}.pastor-info .text-link{font-size:11px;min-height:32px}.pastors-section .section-top{margin-bottom:23px}
 .gallery-section{padding-bottom:38px}.gallery{grid-template-rows:140px 115px 110px;gap:8px}.visit{gap:20px}.visit h2{margin-top:0}.visit .lead{font-size:17px;margin-top:17px}.visit p:not(.lead){margin-top:12px;font-size:12px}.visit .button{margin-top:18px}.faq details p{padding-bottom:12px}.closing{padding-block:32px;margin-bottom:18px}.closing h2{margin:15px 0 20px}.footer-top{gap:18px;padding:12px 0 22px}.footer-bottom{padding-block:17px}.button{min-height:42px}.language-control select{min-height:30px}.menu{min-width:32px;min-height:36px}
}
@media(max-width:360px){.events>article{grid-template-columns:70px minmax(0,1fr);column-gap:12px;padding:16px}.pastor-card{grid-template-columns:80px minmax(0,1fr);gap:13px}.pastor-card>img{width:80px;height:112px}.pastor-info h3{font-size:20px}.ministry-grid article{grid-template-columns:78px minmax(0,1fr)}.ministry-grid article>div{padding:14px}.class-art{width:95px}.service-feature{grid-template-columns:78px minmax(0,1fr)}}

/* Clear service groups and short WhatsApp intake */
.service-groups{display:grid;grid-template-columns:1fr 1fr;gap:15px;align-items:start}.service-group{border:1px solid #ffffff36;background:#ffffff08;border-radius:13px;overflow:hidden}.service-group summary{padding:20px;align-items:center;min-height:84px}.service-group .group-heading{display:flex;flex-direction:column;gap:6px;font-size:inherit;line-height:1.4}.service-group .group-heading small{font-size:10px;margin:0;color:#faf7eb;opacity:.8}.service-group .group-heading strong{font-family:Outfit,sans-serif;font-size:19px;font-weight:600}.service-group[open]>summary .group-heading{transform:none}.group-body{padding:0 20px 20px}.group-body>p{font-size:13px;line-height:1.65;margin-bottom:15px;color:#faf7eb}.group-body>b{display:block}.group-body .button{margin-top:18px;font-size:12px}.group-join{margin-top:16px;min-height:36px;color:var(--orange)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}#join-dialog{max-width:590px;padding:32px}#join-dialog h2{font-size:30px;margin:14px 0}#join-dialog>p{margin:10px 0}#join-form input{width:100%;border:1px solid #dfc6af;border-radius:7px;background:#fff;color:#5d1f1e;padding:10px 12px;min-height:44px;font-size:14px}#join-form select{min-height:44px;padding:10px;font-size:13px}#join-form label{margin:13px 0 5px;font-size:12px}#join-form textarea{margin:0;font-size:14px}#join-form .form-notice{font-size:11px;margin:14px 0;line-height:1.6}#join-form>.button{width:100%;min-height:46px}#form-status{font-size:12px;margin-top:12px;line-height:1.6}#whatsapp-ready{font-size:12px;margin-top:8px}html #join-form input{background:#372321;border-color:#825649;color:var(--ink)}@media(max-width:680px){.service-groups{grid-template-columns:1fr;gap:10px}.service-group summary{padding:15px 17px;min-height:70px}.service-group .group-heading strong{font-size:18px}.group-body{padding:0 17px 17px}.group-body>p{font-size:12px}.group-body .button{margin-top:14px}.group-join{margin-top:10px}#join-dialog{padding:26px 20px}#join-dialog h2{font-size:26px}#join-form input{font-size:16px}#join-form select,#join-form textarea{font-size:16px}.form-grid{grid-template-columns:1fr;gap:0}#join-form label{margin-top:10px}}

/* Full-width ministry photos on phones instead of narrow cropped strips. */
@media(max-width:680px){.ministry-grid{gap:16px}.ministry-grid article{display:flex;flex-direction:column;grid-template-columns:none}.ministry-grid article>img{display:block;width:100%;height:auto;min-height:0;max-height:260px;object-fit:contain;object-position:center;background:var(--paper)}.ministry-grid article>div{padding:16px 18px}.ministry-grid h3{font-size:21px;margin:6px 0 8px}.ministry-grid p{line-height:1.55}.ministry-grid small{margin-top:9px}.ministry-grid .group-join{margin-top:9px;min-height:36px}}

@media(max-width:600px){}





.ministry-grid article{position:relative;display:block}.ministry-grid article>img{position:absolute;top:16px;right:16px;width:44px;height:44px;min-height:0;border-radius:50%;object-fit:cover}.ministry-grid article:has(>img) h3{padding-right:52px;min-height:44px}.ministry-grid article>div{padding:18px}.ministry-grid h3{margin:0 0 8px}.ministry-grid p{font-size:.95rem}

.ministry-grid.group-track {
  --visible: 3;
  --gap: 18px;
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--visible) - 1) * var(--gap)) / var(--visible));
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  padding-bottom: 8px;
}
.group-track article { scroll-snap-align: start; min-width: 0; }
.group-controls { display:flex; align-items:center; justify-content:flex-end; gap:12px; margin-top:10px; }
.group-controls button { width:44px; height:44px; padding:0; border-radius:50%; border:1px solid var(--line); background:transparent; color:inherit; font-size:26px; line-height:1; cursor:pointer; }
.group-controls button:disabled { opacity:.35; cursor:default; }
.group-controls output { font-variant-numeric:tabular-nums; font-size:.9rem; }
@media(max-width:900px){ .ministry-grid.group-track { --visible:2; } }
@media(max-width:600px){ .ministry-grid.group-track { grid-auto-columns:88%; --gap:12px; } }

/* Nogal y carbón */
:root {
  color-scheme: dark;
  --paper: #15120f;
  --ink: #fffdf9;
  --muted: #ded8d2;
  --line: #514740;
  --orange: #eddece;
}
body { isolation: isolate; font-size: 1rem; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, #100e0cd9, #100e0cb8 54%, #100e0ca8),
              url("assets/nogal-veta.webp") 58% 50% / cover;
  /* Cap the photographic layer on large screens and blend its edges into charcoal. */
  max-width: 1536px; max-height: 1024px; margin: auto;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent),
              linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
  mask-composite: intersect;
}
h1, h2, h3, .brand { font-weight: 700; letter-spacing: -.025em; }
h1 em, h2 em, .service-section em { font-style: normal; color: var(--ink); }
html .agenda-section, html .service-section { background: #181511ba; border-block: 1px solid #ffffff16; }
html .closing { background: linear-gradient(0deg, #100e0c88, transparent); }
html .button, html .tabs button[aria-selected=true] { background: #f3ebe2; color: #251e18; }
html .button:hover { background: #fff; color: #191410; }
html .class-art, .service-feature, .events>article, .outreach-list { background: #231e1a; }
html .events .orange-event { background: #342b24; color: var(--ink); }
html .orange-event p, html .service-section p { color: var(--muted); }
html .orange,html .pastor-info>span,html .ministry-grid span,html .outreach-list article>b,
html .class-steps>div>span,html .faq details a,html .faq details button,html #copy-status { color: #e5cbb7; }
html #join-form input, html select:not(#language-select), html textarea { background: #29231f; }

@media (max-width: 700px) {
  body::before {
    /* A tighter crop preserves the fine pores on high-density phones. */
    background-position: center, 68% 45%;
    mask-image: linear-gradient(to bottom, black 80%, transparent);
  }
}

.brand .brand-lockup { display: block; width: auto; height: 76px; max-width: 100%; object-fit: contain; }
footer .brand .brand-lockup { height: 92px; }
@media (max-width: 680px) {
  .header .brand .brand-lockup { height: 58px; }
  footer .brand .brand-lockup { height: 76px; }
}

.hero, .closing { position: relative; isolation: isolate; }
.seasonal-sprig {
  position: absolute; z-index: -1; pointer-events: none;
  top: 10px; left: 0; width: clamp(65px, 12vw, 148px); aspect-ratio: 3 / 2;
  background: url("assets/ramita-de-pino.webp") center / contain no-repeat;
  opacity: .74;
}
.closing .seasonal-sprig { inset: auto 0 0 auto; transform: rotate(180deg); width: clamp(58px, 9vw, 112px); }
.seasonal-sprig i {
  position: absolute; left: 35%; top: 57%; width: 2px; height: 2px;
  background: #f2cf89; box-shadow: 0 0 4px #c69041; border-radius: 50%;
  animation: lucecita 6s ease-in-out infinite alternate;
}
.seasonal-sprig i:nth-child(2) { left: 62%; top: 43%; animation-delay: -3s; }
.seasonal-sprig i:nth-child(3) { left: 81%; top: 67%; animation-delay: -1s; }
@keyframes lucecita {
  from { opacity: .28; transform: translateY(1px); }
  to { opacity: .96; transform: translateY(-3px); }
}
@media (max-width: 600px) {
  .seasonal-sprig { top: 0; width: 58px; }
  .closing .seasonal-sprig { width: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .seasonal-sprig i { animation: none; opacity: .65; }
}

.christmas-lights {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.christmas-lights i, .christmas-lights b { position: absolute; }
.christmas-lights i {
  width: 3px; height: 3px; border-radius: 50%; background: #fff3ce;
  box-shadow: 0 0 5px 2px #ffce7c9e, 0 0 15px 5px #e9a54d44;
  animation: christmas-glow 5s ease-in-out infinite alternate;
}
.christmas-lights i:nth-of-type(1) { left: 9%; top: 32%; animation-delay: -1s; }
.christmas-lights i:nth-of-type(2) { left: 15%; top: 61%; animation-delay: -4s; }
.christmas-lights i:nth-of-type(3) { left: 5%; top: 78%; animation-delay: -2s; }
.christmas-lights i:nth-of-type(4) { right: 12%; top: 20%; animation-delay: -3s; }
.christmas-lights i:nth-of-type(5) { right: 6%; top: 56%; animation-delay: -5s; }
.christmas-lights i:nth-of-type(6) { right: 17%; top: 73%; animation-delay: -.5s; }
.christmas-lights b {
  right: 11%; top: 12%; color: #f9deb0; font: normal 22px/1 Georgia,serif;
  text-shadow: 0 0 7px #ffc872aa, 0 0 18px #e9a54d66;
}
.closing .christmas-lights b { left: 12%; right: auto; top: 32%; font-size: 27px; }
@keyframes christmas-glow {
  from { opacity: .38; transform: translateY(3px) scale(.85); }
  to { opacity: .96; transform: translateY(-4px) scale(1.12); }
}
@media (max-width: 680px) {
  .christmas-lights i:nth-of-type(2), .christmas-lights i:nth-of-type(6) { display: none; }
  .christmas-lights i:nth-of-type(1) { left: 1%; }
  .christmas-lights i:nth-of-type(4), .christmas-lights i:nth-of-type(5) { right: 1%; }
  .christmas-lights b { right: 3%; top: 3%; font-size: 15px; }
  .closing .christmas-lights b { left: 4%; top: 8%; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .christmas-lights i { animation: none; opacity: .75; }
}

/* Foliage frames the copy, with the manger fading into the walnut at the edge. */
.seasonal-sprig::after {
  content: ""; position: absolute; inset: 12% 22% -10% -4%;
  background: inherit; transform: rotate(29deg); transform-origin: 12% 38%;
}
.hero::after, .closing::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
}
.hero::after {
  top: 12%; right: 0; width: clamp(105px, 17%, 204px); height: 68%;
  background: url("assets/nacimiento.webp") center 66% / cover no-repeat;
  opacity: .27; filter: saturate(.6);
  mask-image: radial-gradient(ellipse closest-side, black 37%, transparent 100%);
}
.closing::before {
  left: 0; top: 0; width: clamp(58px, 10%, 115px); aspect-ratio: 1.5;
  background: url("assets/ramita-de-pino.webp") center / contain no-repeat; opacity: .54;
}
@media (max-width: 680px) {
  .hero::after { top: 0; width: 68px; height: 84px; opacity: .22; }
  .closing::before { width: 48px; }
}

.event-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 56px);
  margin-block: clamp(24px, 4vw, 40px) 40px;
  padding: clamp(16px, 3vw, 34px);
  background: #2c1814;
  border: 1px solid #755644;
  border-radius: 14px;
}
.event-feature > img, #invitation-preview { display: block; width: 100%; height: auto; border-radius: 8px; }
.event-feature h2 { font-size: clamp(27px, 4vw, 45px); margin-bottom: 12px; }
.event-feature p, .event-dialog p { margin-bottom: 9px; }
.event-feature-date { color: #f2d199; font-weight: 700; }
.event-feature a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.event-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
html .event-actions .event-secondary { background: transparent; color: #fff6e8; border: 1px solid #af8b71; }
html .event-actions .event-secondary:hover { background: #4a302a; }
.event-dialog { width: min(540px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; }
.event-dialog .dialog-close { z-index: 1; }
.event-dialog form { display: grid; gap: 14px; margin-bottom: 12px; }
.event-dialog label { display: grid; gap: 5px; }
.event-dialog input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #28201b; color: var(--ink); font: inherit; }
.event-dialog [hidden] { display: none; }
#invitation-download { margin-top: 12px; }
@media (max-width: 680px) {
  .event-feature { grid-template-columns: 1fr; margin-bottom: 24px; }
}

#year-end-notice {
  padding: clamp(14px, 3vw, 24px);
  border: 1px solid #b48a59;
  background: radial-gradient(ellipse at top, #482522, #281716 75%);
  color: #fff6e8;
}
.notice-art {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 7px;
}
#year-end-notice h2 { color: #ffe2ae; margin: 16px 0 8px; padding: 0; }
#year-end-notice p { color: #f7e7cf; }
#year-end-notice .dialog-close {
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #e9c892;
  border-radius: 50%;
  background: #3d1c18;
  color: #fff5e6;
  line-height: 1;
}
.guest-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 540px) {
  .guest-fields { grid-template-columns: 1fr; }
}

.faith-section { border-top: 1px solid var(--line); }
.faith-intro { max-width: 62ch; }
.faith-intro h2 { margin: 4px 0 12px; }
.faith-intro > p:not(.faith-kicker) { color: var(--muted); margin-bottom: 18px; }
.faith-kicker, .faith-episode { color: #f0cf99; font-size: .875rem; font-weight: 700; }
.faith-library { margin-top: 28px; }
.faith-heading, .faith-controls, .faith-player-controls { display: flex; align-items: center; gap: 8px; }
.faith-heading { justify-content: space-between; margin-bottom: 12px; }
.faith-controls button, .faith-player-controls button {
  min-height: 44px; min-width: 44px; border-radius: 8px; padding: 4px 12px;
  background: #2c1814; border: 1px solid #755644;
}
.faith-controls button { font-size: 1.5rem; }
.faith-controls button:disabled, .faith-player-controls button:disabled { opacity: .45; cursor: default; }
#faith-track {
  list-style: none; margin: 0; padding: 3px 3px 10px; display: grid;
  grid-auto-flow: column; grid-auto-columns: calc((100% - 42px) / 4); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: #a77b56 transparent;
}
#faith-track > li { min-width: 0; scroll-snap-align: start; }
.faith-card {
  display: block; height: 100%; border: 1px solid #755644; border-radius: 10px;
  overflow: hidden; background: #231816;
}
.faith-card[aria-current="true"] { box-shadow: inset 0 0 0 1px #efcc91; border-color: #efcc91; }
.faith-card img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.faith-card span, .faith-card strong { display: block; margin: 8px 12px; }
.faith-watch {
  margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center; gap: 20px; padding: 16px; background: #231816;
  border: 1px solid #755644; border-radius: 12px;
}
#faith-screen { aspect-ratio: 16/9; background: #100a09; overflow: hidden; border-radius: 8px; }
#faith-screen iframe, #faith-screen button { display: block; width: 100%; height: 100%; border: 0; padding: 0; }
#faith-screen button { position: relative; background: #100a09; }
#faith-screen img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .67; }
#faith-screen button span { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: max-content; max-width: 90%; background: #2c1814; color: #fff0cf; border: 1px solid #efcc91; border-radius: 22px; padding: 9px 16px; }
.faith-watch-details h3 { margin: 5px 0 10px; font-size: clamp(22px, 3vw, 34px); }
.faith-watch-details > a { text-decoration: underline; text-underline-offset: .2em; }
.faith-player-controls { margin-top: 16px; flex-wrap: wrap; }
@media (max-width: 820px) {
  #faith-track { grid-auto-columns: calc((100% - 28px) / 3); }
}
@media (max-width: 580px) {
  #faith-track { grid-auto-columns: 72%; }
  .faith-watch { grid-template-columns: 1fr; padding: 12px; gap: 12px; }
}

.support-panel {
  width: min(620px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 34px 28px 28px;
  font-size: 16px;
}
.support-panel h2 { margin: 12px 32px 20px 0; }
.support-panel h3 { margin-bottom: 12px; }
.support-panel p, .support-panel address { margin-bottom: 16px; }
.support-panel address { font-style: normal; overflow-wrap: anywhere; }
.support-panel .dialog-close { min-width: 44px; min-height: 44px; }
.support-detail { margin-top: 24px; }
.support-detail a, .legal-page a, .footer-legal a { text-decoration: underline; text-underline-offset: .2em; }
.support-detail h3:not(:first-child) { margin-top: 24px; }
.footer-legal a { padding-block: 6px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.legal-page { max-width: 850px; }
.legal-page h1 { margin: 16px 0 8px; }
.legal-page section { margin-top: 36px; }
.legal-page h2 { font-size: clamp(25px, 4vw, 36px); margin-bottom: 12px; }
.legal-page h3 { margin: 20px 0 8px; }
.legal-page p, .legal-page dd { margin: 0 0 12px; }
.legal-page dt { font-weight: 700; }
@media (max-width: 680px) {
  .support-panel { padding: 28px 20px 24px; }
  .support-panel h2 { font-size: 28px; }
}

/* Keep the current card sizes while allowing horizontal browsing. */
.events {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.events > article { min-width: 0; scroll-snap-align: start; }
.ministry-grid article h3 { padding-right: 0; min-height: 0; }
#join-dialog .form-grid { grid-template-columns: 1fr; }
#whatsapp-ready { margin-top: 12px; min-height: 44px; text-decoration: underline; }
@media (max-width: 900px) and (min-width: 681px) {
  .events { grid-auto-columns: calc((100% - 18px) / 2); }
}
@media (max-width: 680px) {
  .events { grid-auto-columns: 100%; gap: 12px; }
  .agenda-controls { margin-bottom: 16px; }
  .section-top p, .service-bottom p { word-spacing: normal; }
}

.cookie-notice {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(460px, calc(100% - 32px));
  padding: 16px;
  border: 1px solid #af8b7166;
  border-radius: 12px;
  background: #241c16;
  color: #fff6e8;
  box-shadow: 0 6px 30px #0005;
}
.cookie-notice p { font-size: 14px; line-height: 1.5; }
.cookie-notice a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice .button { flex-shrink: 0; min-height: 44px; padding: 10px 18px; font-size: 14px; }
body:has(dialog[open]) .cookie-notice { visibility: hidden; pointer-events: none; }
@media (max-width: 380px) {
  .cookie-notice { gap: 12px; padding: 14px; }
  .cookie-notice .button { padding-inline: 12px; }
}

#join-dialog input, #join-dialog select { font-size: 16px; }
#join-dialog .consent-label { display: flex; align-items: flex-start; gap: 10px; margin-block: 18px; line-height: 1.5; font-size: 14px; }
#join-dialog .consent-label input { width: 20px; height: 20px; min-height: 20px; margin: 2px 0 0; flex-shrink: 0; }
#join-dialog .consent-label a { text-decoration: underline; }
#join-dialog small { display: block; margin-top: 6px; font-size: 13px; }
#join-dialog #whatsapp-ready { width: 100%; font-size: 14px; text-decoration: none; }
#join-dialog [hidden] { display: none !important; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.control-page { max-width: 1000px; }
.control-page h1 { font-size: clamp(32px, 5vw, 48px); margin: 20px 0; }
.control-page h2 { font-size: 23px; letter-spacing: -.5px; margin-bottom: 8px; }
.control-page p { margin-bottom: 14px; }
.control-page a:not(.button) { text-decoration: underline; }
.control-page label { display: block; margin-bottom: 8px; }
.control-page input { width: 100%; min-height: 44px; font-size: 16px; border-radius: 8px; padding: 12px; margin-bottom: 14px; }
#control-login { max-width: 500px; }
.control-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
#control-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-bottom: 24px; }
#control-list article { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #241c16; overflow-wrap: anywhere; }
#control-list article a { display: inline-block; margin-bottom: 14px; }

/* Seasonal accents follow the full page, inside each section's stacking context. */
.christmas-section {
  position: relative;
  isolation: isolate;
}
.christmas-foliage {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: 6%;
  right: 0;
  width: clamp(115px, 19vw, 245px);
  height: clamp(130px, 23vw, 300px);
  background: url("assets/ramita-de-pino.webp") center / contain no-repeat;
  opacity: .3;
  transform: rotate(155deg);
  mask-image: linear-gradient(to left, black 40%, transparent);
}
.christmas-section:nth-of-type(even) > .christmas-foliage {
  right: auto;
  left: 0;
  top: auto;
  bottom: 5%;
  transform: rotate(-24deg);
  mask-image: linear-gradient(to right, black 40%, transparent);
}
.christmas-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}
.christmas-particles i {
  position: absolute;
  left: 3%;
  top: 12%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffedc4;
  box-shadow: 0 0 7px 2px #efbb6666;
  opacity: .65;
  animation: seasonal-drift 13s ease-in-out infinite alternate;
}
.christmas-particles i:nth-child(2) { left: 10%; top: 72%; animation-delay: -5s; }
.christmas-particles i:nth-child(3) { left: 22%; top: 93%; animation-delay: -9s; width: 2px; height: 2px; }
.christmas-particles i:nth-child(4) { left: 88%; top: 17%; animation-delay: -3s; }
.christmas-particles i:nth-child(5) { left: 97%; top: 53%; animation-delay: -11s; }
.christmas-particles i:nth-child(6) { left: 91%; top: 88%; animation-delay: -7s; }
.christmas-particles i:nth-child(7) { left: 55%; top: 5%; animation-delay: -4s; width: 2px; height: 2px; }
.christmas-particles i:nth-child(8) { left: 42%; top: 97%; animation-delay: -10s; }
@keyframes seasonal-drift {
  from { transform: translate3d(0, 0, 0); opacity: .25; }
  to { transform: translate3d(8px, -18px, 0); opacity: .8; }
}
@media (max-width: 680px) {
  .christmas-foliage { width: 96px; height: 150px; opacity: .22; }
  .christmas-particles i:nth-child(3), .christmas-particles i:nth-child(7),
  .christmas-particles i:nth-child(8) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .christmas-particles i { animation: none; opacity: .5; }
}

/* Control panel: invitation tracking */
.control-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.control-tab { border:1px solid var(--line); background:#241c16; color:inherit; border-radius:999px; padding:10px 16px; cursor:pointer; font:inherit; }
.control-tab.active { background:#fff0cf; color:#170d0b; border-color:#fff0cf; }
.control-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:8px 0 24px; }
.control-metrics article { border:1px solid var(--line); border-radius:14px; padding:18px; background:#241c16; }
.control-metrics strong { display:block; font-size:clamp(28px,5vw,42px); line-height:1; color:#fff0cf; margin-bottom:8px; }
.control-metrics span { color:#d9cbbb; font-size:14px; }
.invitation-leaderboard { border:1px solid var(--line); border-radius:14px; padding:18px; margin-bottom:16px; background:#201812; }
#invitation-leaders { display:grid; gap:8px; }
.leader-row { display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; gap:12px; padding:12px 0; border-top:1px solid var(--line); }
.leader-row:first-child { border-top:0; }
.leader-rank { font-family:monospace; color:#e5c390; }
.leader-row div { display:grid; gap:2px; }
.leader-row a { font-size:13px; }
.leader-row b { color:#fff0cf; font-size:14px; }
.control-note { color:#c5b7a8; font-size:13px; }
#invitation-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:16px; margin:20px 0 24px; }
#invitation-list article { padding:20px; border:1px solid var(--line); border-radius:12px; background:#241c16; overflow-wrap:anywhere; }
#invitation-list article a { text-decoration:underline; }
.consent-row { display:flex !important; align-items:flex-start; gap:10px; margin:8px 0 18px; }
.consent-row input { width:auto !important; min-height:0 !important; margin:4px 0 0 !important; }
.consent-row span { font-size:13px; line-height:1.45; }
@media (max-width:640px){ .control-metrics{grid-template-columns:1fr;} .leader-row{grid-template-columns:36px 1fr;} .leader-row b{grid-column:2;} }

/* International phone selector */
.phone-picker{display:grid;grid-template-columns:minmax(165px,.9fr) minmax(0,1.35fr);gap:8px;align-items:stretch;width:100%}
.phone-picker .phone-country{width:100%;min-width:0;border:1px solid #825649;border-radius:10px;background:#29231f;color:var(--ink);padding:10px 9px;min-height:44px;font-size:12px}
.phone-picker input{min-width:0;margin:0!important}
.event-dialog .phone-picker input{border-radius:10px}
.event-dialog .phone-picker .phone-country{font-size:13px}
@media(max-width:520px){.phone-picker{grid-template-columns:1fr}.phone-picker .phone-country{font-size:16px}.event-dialog .phone-picker .phone-country{font-size:16px}}
