/* Dirección vigente: continuidad fotográfica, formas y textura de «Aquí cabes también». */
:root{--scene-base:#061f3d}
body{background:var(--scene-base) url('../assets/luz-r4.webp') center/cover fixed;color:#102b46}
.section{position:relative}
.photo{border:0;box-shadow:none;background:transparent}
.photo img[src*="vida"],.photo img[src*="adultos"]{filter:none}
.photo:after{mix-blend-mode:normal}
.photo figcaption{left:var(--gutter);right:auto;bottom:18px;font-size:9px;background:#061f3de0}
.intro,.value-section,.content-section,.work-section,.continuity-section,.centers-context{
 background-image:linear-gradient(110deg,#f6f7f3f5 10%,#f6f7f3f8 65%,#f0f6ffe8),url('../assets/luz-r4.webp');
 background-size:cover;background-position:center;
}
.intro{background-position:center,left bottom}
.support-section{background:linear-gradient(100deg,#e4effbe8,#eff3f4f2 55%,#ffe7cfe8),url('../assets/luz-r4.webp') right center/cover}
.education,.map-section,.starting-section,.learning-section{
 background-image:linear-gradient(100deg,#061f3d40,#061f3d9c),url('../assets/luz-r4.webp');
 background-size:cover;background-position:center;
 color:var(--paper);
}
.education{background-position:center,35% center}
.education-grid{position:relative;z-index:1}
.education .orbital svg{filter:drop-shadow(0 4px 6px #0008)}
.education .orbital svg ellipse:first-child{stroke:#ff9b51;stroke-width:3}
.education .orbital svg ellipse:nth-child(2){stroke:#419cff;stroke-width:3}
.education .orbital svg circle{fill:#ff8a37}
.starting-section{background-image:linear-gradient(90deg,#061f3d80,#061f3dd1),url('../assets/luz-r4.webp');background-position:center,center bottom}
.map-section{background-image:linear-gradient(90deg,#061f3db0,#061f3d8a),url('../assets/luz-r4.webp');background-position:center,right center}
.map-grid>div{background:transparent}
.map-note{color:#e6edf6;border-top-color:#b9cee580}
.map-grid p{color:#f0f3f9}
.footer{background:linear-gradient(#061f3de6,#061f3de8),url('../assets/luz-r4.webp') center/cover}
.everyday,.adult-section{isolation:isolate;overflow:hidden;color:var(--paper);background:#061f3d url('../assets/luz-r4.webp') center/cover}
.everyday .section-label,.adult-section .section-label{position:relative;z-index:2}
.everyday-grid,.adult-grid{display:block}
.everyday-photo,.adult-photo{position:absolute;inset:0;width:100%;height:100%;top:0}
.everyday-photo img,.adult-photo img{width:100%;height:100%;object-fit:cover}
.everyday-photo img{object-position:35% center}
.adult-photo img{object-position:65% center}
.everyday-photo:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 36%,#061f3d50 53%,#061f3de3 75%,#061f3db0)}
.adult-photo:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#061f3ddb 0,#061f3dc9 33%,#061f3d20 58%,transparent 75%)}
.everyday{padding-top:80px;padding-bottom:90px;min-height:900px}
.everyday .section-label{margin-left:57%}
.everyday-copy{position:relative;z-index:2;margin-left:57%;width:43%}
.everyday-copy h2{font-size:clamp(38px,3.3vw,54px);max-width:12ch}
.everyday-copy h3{border-color:#ffffff55}
.everyday-copy>p:first-of-type{font-size:17px}
.everyday-copy h3+p{color:#eff3f8}
.everyday-copy .text-link{font-size:13px}
.adult-section{padding-top:80px;padding-bottom:90px;min-height:740px}
.adult-grid>.editorial-body{position:relative;z-index:2;width:43%;max-width:560px}
.adult-grid .editorial-body p{color:#f0f4fb;line-height:1.75}
.adult-grid h2{max-width:14ch;font-size:clamp(36px,3.3vw,54px)}
.adult-photo figcaption{left:auto;right:var(--gutter)}
.centers-hero{isolation:isolate;overflow:hidden;display:block;background:#061f3d url('../assets/luz-r4.webp') center/cover;color:var(--paper);padding-top:65px;padding-bottom:65px;min-height:660px}
.centers-title,.centers-hero-copy{position:relative;z-index:2;width:44%;max-width:600px}
.centers-title h1{font-size:clamp(43px,4.1vw,66px);line-height:1.04;max-width:15ch;margin-bottom:30px}
.centers-title>p:first-child{font-size:10px;letter-spacing:.15em;color:#ffb681}
.centers-hero-copy>p:first-child{font-size:17px;line-height:1.65}
.centers-hero-copy .text-link{border:1px solid #ffb37a;border-radius:8px;padding:14px 18px;background:linear-gradient(150deg,#ffb16b,#ff7b2c);color:#061f3d;box-shadow:inset 0 1px 0 #ffffff60,0 6px 20px #00182c30;font-size:13px}
.centers-photo{position:absolute;inset:0;width:100%;height:100%;top:0}
.centers-photo img{height:100%;width:100%;object-fit:cover;object-position:right center}
.centers-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#061f3df5 0,#061f3dcc 30%,#061f3d40 49%,transparent 70%)}
.centers-context{padding-top:45px;padding-bottom:45px}
.centers-context>div{display:grid;grid-template-columns:1fr 1fr;gap:10%;font-size:18px;line-height:1.65}
.centers-context p{margin:0}
.chapter-nav{background:#eef3f8;border-color:#b9c7d5}
.learning-section{isolation:isolate;overflow:hidden;padding-top:75px;padding-bottom:80px}
.learning-grid{display:block;position:static}
.learning-top{position:relative;z-index:2;max-width:550px;width:43%;min-height:570px}
.learning-top h2{font-size:clamp(37px,3.4vw,54px)}
.learning-top p{font-size:16px}
.learning-photo{position:absolute;top:0;left:0;width:100%;height:760px}
.learning-photo img{width:100%;height:100%;object-fit:cover;object-position:right center}
.learning-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#061f3deb 0,#061f3dbb 33%,#061f3d18 60%,transparent),linear-gradient(0deg,#061f3d,transparent 35%)}
.learning-photo figcaption{left:auto;right:var(--gutter);bottom:70px}
.learning-section>.section-label{position:relative;z-index:2}
.learning-sequence{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,1fr);gap:28px 38px;border-top:1px solid #c2d8f180;padding-top:35px}
.learning-sequence p{font-size:15px;line-height:1.75;margin:0}
.learning-sequence p:first-child,.learning-sequence p:last-child{grid-column:1/-1;max-width:1050px}
.learning-sequence p strong{display:block;font-size:23px;letter-spacing:-.03em;margin-bottom:12px;line-height:1.2;color:#ffac73}
.learning-sequence p:nth-last-child(2){grid-column:auto}
.learning-sequence p:last-child{font-size:14px;border-top:1px solid #ffffff4d;padding-top:25px}
.practice-section{background:linear-gradient(90deg,#e4eff8ef,#f2f5f5f5),url('../assets/luz-r4.webp') center/cover}
.scenarios{border-top:1px solid #a5b8ca;background:linear-gradient(135deg,#fff,#f2f6fa);box-shadow:0 12px 40px -28px #06294455}
.scenario-panel{background:transparent;box-shadow:none;border:0}
.scenario-tab[aria-selected=true]{background:#fff;border-bottom-color:#0054f5;box-shadow:none}
.contact-section{background:linear-gradient(105deg,#003cb9bc,#0054f580),url('../assets/luz-r4.webp') center/cover}
.heart-band:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#061f3d22,transparent 12%,transparent 90%,#061f3d66)}
@media(max-width:1199px) and (min-width:701px){
 .everyday{min-height:1040px}.everyday-copy{margin-left:51%;width:49%}.everyday .section-label{margin-left:51%}
 .everyday-photo:after{background:linear-gradient(90deg,transparent 30%,#061f3da6 48%,#061f3de3 66%)}
 .adult-grid>.editorial-body{width:48%}.adult-photo:after{background:linear-gradient(90deg,#061f3de8,#061f3dd1 40%,#061f3d20 73%)}
 .centers-title,.centers-hero-copy{width:50%}.centers-title h1{font-size:47px}
 .learning-top{width:48%;min-height:660px}.learning-sequence{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
 body{background-attachment:scroll}
 .home-hero .hero-image{position:relative}
 .home-hero .hero-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 52%,#061f3d)}
 .home-hero .hero-inner{margin-top:-28px;z-index:1;background:transparent;padding-top:25px}
 .home-hero{background:#061f3d url('../assets/luz-r4.webp') center/cover}
 .hero-inner h1{font-size:84px}
 .everyday,.adult-section{padding:0 var(--gutter) 55px;min-height:0}
 .everyday .section-label,.adult-section .section-label{display:none}
 .everyday-grid,.adult-grid{display:flex;flex-direction:column;gap:0}
 .everyday-photo,.adult-photo{position:relative;inset:auto;top:auto;width:calc(100% + 2 * var(--gutter));height:350px;aspect-ratio:auto;left:calc(-1 * var(--gutter));margin:0 0 0;order:-1;mask-image:linear-gradient(#000 65%,transparent 100%);overflow:hidden}
 .everyday-photo img{height:100%;width:100%;object-fit:cover;object-position:left center}
 .adult-photo img{height:100%;width:100%;object-fit:cover;object-position:right center}
 .everyday-photo:after,.adult-photo:after{background:none}
 .everyday-copy,.adult-grid>.editorial-body{margin:0;max-width:none;width:100%;position:relative}
 .everyday-copy h2,.adult-grid h2{font-size:40px;max-width:14ch}
 .everyday-copy h3{font-size:23px}
 .everyday-copy h3+p,.adult-grid .editorial-body p{font-size:15px}
 .everyday-copy .text-link{font-size:12px}
 .photo figcaption{font-size:8px;bottom:65px;left:24px;right:auto}
 .education,.map-section,.starting-section{background-size:auto 100%;background-position:center}
 .education .editorial-body p{font-size:16px}
 .centers-hero{padding:40px var(--gutter) 45px;min-height:0;display:flex;flex-direction:column;gap:0}
 .centers-title,.centers-hero-copy{width:100%;max-width:none}
 .centers-title{order:0}.centers-title h1{font-size:43px;line-height:1.06;margin:0 0 25px;max-width:16ch}
 .centers-photo{position:relative;inset:auto;top:auto;left:calc(-1 * var(--gutter));width:calc(100% + 2 * var(--gutter));height:295px;aspect-ratio:auto;order:1;margin:0;mask-image:linear-gradient(transparent,#000 12%,#000 72%,transparent)}
 .centers-photo img{height:100%;object-position:right center}
 .centers-photo:after{background:none}
 .centers-hero-copy{order:2;margin-top:0}
 .centers-hero-copy>p:first-child{font-size:17px;line-height:1.65;margin-bottom:20px}
 .centers-context{padding-top:35px;padding-bottom:35px}
 .centers-context>div{display:block;font-size:16px}
 .centers-context p+p{margin-top:22px}
 .learning-section{padding:0 var(--gutter) 55px}
 .learning-section>.section-label{display:none}
 .learning-grid{display:flex;flex-direction:column}
 .learning-photo{position:relative;top:auto;left:calc(-1 * var(--gutter));width:calc(100% + 2 * var(--gutter));height:330px;order:-1;mask-image:linear-gradient(#000 65%,transparent);margin:0}
 .learning-photo img{object-position:right center}
 .learning-photo:after{background:none}
 .learning-top{width:100%;max-width:none;min-height:0;padding-bottom:25px}
 .learning-top h2{font-size:39px}
 .learning-top p{font-size:15px}
 .learning-sequence{grid-template-columns:1fr;gap:25px;border-top:1px solid #ffffff60}
 .learning-sequence p{font-size:15px}
 .learning-sequence p strong{font-size:23px}
 .learning-sequence p:last-child{font-size:14px}
 .scenario-panel{padding:28px 22px}
 .hero-inner>p strong{color:#ffc393}
}
@media(max-width:359px){.centers-title h1{font-size:38px}.hero-inner h1{font-size:77px}.everyday-photo,.adult-photo{height:315px}}
@media(max-width:700px){.everyday-grid,.adult-grid,.learning-grid,.centers-hero{align-items:stretch}.centers-photo{align-self:flex-start}}
@media(min-width:701px){.everyday-photo:after{background:linear-gradient(90deg,transparent 27%,#061f3d80 45%,#061f3dd9 58%,#061f3df0 75%),linear-gradient(0deg,#061f3d55,transparent 25%)}}
/* Corrección de Miri: Contacto conserva el fondo R4 sin un baño azul plano. */
.contact-section{background-color:#061f3d;background-image:linear-gradient(100deg,#061f3d66,#061f3d88),url('../assets/luz-r4.webp');background-size:cover;background-position:center;}
