/* ACOTA V30 — RESTAURACIÓN FIEL: ahorro + Thermio en una ÚNICA sección.
   La fotografía de niños / cámara térmica original va bajo AMBOS textos y
   se mueve verticalmente con el scroll. Sin tarjetas, cortes ni fondos duplicados. */
.ac-home .ac-energy-story{
 position:relative;isolation:isolate;overflow:hidden;
 min-height:clamp(735px,68vw,870px);background:#075784;color:#fff;
 border:0!important;margin:0!important;padding:0!important;
}
.ac-home .ac-energy-story-photo{
 position:absolute;z-index:-3;left:0;top:-175px;bottom:auto;
 display:block;width:100%;height:calc(100% + 350px);max-width:none;
 object-fit:cover;object-position:63% 50%;
 transform:translate3d(0,var(--ac-energy-shift,0px),0);
 will-change:transform;pointer-events:none;
}
.ac-home .ac-energy-story-overlay{
 position:absolute;z-index:-2;inset:0;pointer-events:none;
 background:
   linear-gradient(90deg,rgba(0,49,83,.91) 0%,rgba(0,62,99,.82) 25%,rgba(0,66,105,.59) 43%,rgba(0,65,98,.13) 75%,rgba(0,41,66,.04) 100%),
   linear-gradient(180deg,rgba(0,63,109,.58) 0%,rgba(0,77,123,.18) 44%,rgba(0,67,101,.16) 67%,rgba(0,58,92,.36) 100%);
}
.ac-home .ac-energy-story-content{
 position:relative;z-index:2;
 width:min(1200px,calc(100% - 96px));
 margin-inline:auto;min-height:inherit;display:flex;flex-direction:column;
 align-items:flex-start;justify-content:space-between;
 padding:clamp(82px,7vw,106px) 0 clamp(92px,8vw,123px);
 box-sizing:border-box;
}
.ac-home .ac-energy-story-savings{width:min(600px,60%)}
.ac-home .ac-energy-story-thermio{width:min(600px,65%);margin-top:clamp(130px,20vw,275px)}
.ac-home .ac-energy-story h2{
 color:#fff!important;margin:0 0 20px!important;padding:0!important;
 font-size:clamp(33px,3.35vw,49px)!important;line-height:1.08!important;
 font-weight:780!important;letter-spacing:-.045em!important;
 text-shadow:0 3px 18px rgba(0,29,55,.33);
}
.ac-home .ac-energy-story p{
 color:#fff!important;margin:0!important;font-size:clamp(17px,1.39vw,20px)!important;
 font-weight:460;line-height:1.58!important;max-width:570px;
 text-shadow:0 2px 13px rgba(0,22,37,.32);
}
.ac-home .ac-energy-story-thermio h2{font-size:clamp(42px,4.3vw,61px)!important;letter-spacing:-.055em!important;margin-bottom:9px!important}
.ac-home .ac-energy-story-thermio p{font-size:clamp(20px,1.8vw,25px)!important;margin:0 0 22px!important}
.ac-home .ac-energy-story-thermio strong{
 display:inline-block;background:linear-gradient(120deg,#068aca,#075c92);
 color:#fff;border:1px solid rgba(255,255,255,.5);border-radius:5px;
 padding:13px 22px;font-size:14px;font-weight:720;letter-spacing:.015em;
 box-shadow:0 7px 20px rgba(0,37,65,.24);
}
/* One scene, a single moving backdrop. The top and bottom have no dividing line. */
@media(max-width:900px){
 .ac-home .ac-energy-story{min-height:765px}
 .ac-home .ac-energy-story-content{width:calc(100% - 70px);padding:73px 0 91px}
 .ac-home .ac-energy-story-savings{width:min(540px,78%)}
 .ac-home .ac-energy-story-thermio{width:min(540px,78%);margin-top:195px}
 .ac-home .ac-energy-story-photo{object-position:67% 50%}
 .ac-home .ac-energy-story-overlay{background:linear-gradient(90deg,rgba(0,43,72,.94),rgba(0,54,92,.72) 49%,rgba(0,50,74,.14)),linear-gradient(180deg,rgba(0,52,80,.23),rgba(0,57,89,.20))}
}
@media(max-width:540px){
 .ac-home .ac-energy-story{min-height:890px}
 .ac-home .ac-energy-story-content{width:calc(100% - 46px);min-height:890px;padding:53px 0 84px}
 .ac-home .ac-energy-story-savings,.ac-home .ac-energy-story-thermio{width:100%}
 .ac-home .ac-energy-story h2{font-size:clamp(33px,8.8vw,42px)!important;margin-bottom:15px!important}
 .ac-home .ac-energy-story p{font-size:clamp(16px,4.25vw,18px)!important;line-height:1.55!important}
 .ac-home .ac-energy-story-thermio{margin-top:310px}
 .ac-home .ac-energy-story-thermio h2{font-size:43px!important}
 .ac-home .ac-energy-story-thermio p{font-size:20px!important;margin-bottom:15px!important}
 .ac-home .ac-energy-story-thermio strong{font-size:13px;padding:12px 16px}
 .ac-home .ac-energy-story-photo{top:-130px;height:calc(100% + 260px);object-position:60% center}
 .ac-home .ac-energy-story-overlay{background:linear-gradient(180deg,rgba(2,42,70,.92) 0%,rgba(0,53,82,.73) 27%,rgba(0,61,95,.22) 49%,rgba(0,42,72,.27) 64%,rgba(0,42,74,.83) 87%,rgba(0,42,71,.88) 100%)}
}
@media(prefers-reduced-motion:reduce){
 .ac-home .ac-energy-story-photo{will-change:auto!important;transform:none!important}
}
