/* Shared finishing rules. Keep one source for fades, dividers and footer spacing. */
:root{
 --section-inset:7%;--divider-width:80px;--divider-height:5px;--divider-color:#ed7800;
 --photo-fade:linear-gradient(90deg,#f5f3f1fc 0%,#f5f3f1ef 24%,#f5f3f1af 43%,#f5f3f100 72%);
 --photo-fade-reverse:linear-gradient(270deg,#f5f3f1fc 0%,#f5f3f1ef 24%,#f5f3f1af 43%,#f5f3f100 72%);
}
.page-inicio .hero:after,.service-consistent.service-editorial .service-hero:after,.about-hero:after{background:var(--photo-fade)}
.maintenance:after{background:var(--photo-fade-reverse)}
.section-divider{position:absolute;bottom:0;left:var(--section-inset);right:auto;display:block;width:var(--divider-width);height:var(--divider-height);background:var(--divider-color);z-index:4;pointer-events:none}
.services-section>.section-divider,.service-summary>.section-divider,.about-story>.section-divider,.reviews>.section-divider{left:auto;right:var(--section-inset)}
/* Last sections use the same finish, including the catalogue and legal pages. */
.cta>.section-divider{display:block}.legal-content,.catalogue{position:relative}.catalogue>.section-divider{left:auto;right:var(--section-inset)}
footer{padding:30px var(--section-inset) 16px;row-gap:10px;column-gap:35px;background:#006680;color:#fff;align-items:start}
footer>div:first-child{align-items:flex-start;text-align:left;transform:translateY(-6px)}
footer>div:first-child>a{height:auto;min-height:0;margin:0 0 10px}
footer .brand{width:175px;max-width:175px;margin:0;align-items:center}footer .brand img{width:175px;height:48px}
footer h2{height:24px;line-height:24px;padding:0;margin:0 0 12px}
footer>div>a{min-height:26px;margin-bottom:3px}footer>div>p{margin:0;line-height:23px}
footer .footline{grid-column:1/-1;display:block;border:0;text-align:center;padding-top:7px;margin:0;line-height:1.4}
@media(max-width:650px){
 :root{--section-inset:6%;--photo-fade:linear-gradient(180deg,#f5f3f1fc 0%,#f5f3f1f0 35%,#f5f3f1a0 54%,#f5f3f100 78%);--photo-fade-reverse:linear-gradient(0deg,#f5f3f1fc 0%,#f5f3f1f0 35%,#f5f3f1a0 54%,#f5f3f100 78%)}
 footer{padding:28px var(--section-inset) 16px;row-gap:23px;column-gap:18px}footer>div:first-child{transform:none}
 footer .brand,footer .brand img{width:150px;max-width:150px}footer .brand img{height:41px}footer .footline{padding-top:0}
}
/* Keep the descriptor centred on the wordmark, without shifting the column. */
footer>div:first-child>.brand-description{width:175px;max-width:100%;text-align:center;margin:0;line-height:1.65;font-size:13px}
.brand-description span{display:block;white-space:nowrap}
@media(max-width:650px){footer>div:first-child>.brand-description{width:150px;font-size:12px}}
/* Mobile navigation, touch carousel and footer; same approved identity. */
@media(max-width:650px){
 header{padding:14px 6%;min-height:86px;gap:16px}
 header .brand{width:140px}header .brand img{width:140px;height:39px}header .brand>span{font-size:10px;letter-spacing:3.2px}
 .menu{min-width:86px;height:44px;padding:0 14px;font:400 15px/20px Lato,Arial,sans-serif;display:inline-flex;gap:10px;align-items:center;justify-content:center;border-radius:8px}
 #nav{display:none;position:absolute;top:calc(100% + 8px);left:6%;right:6%;width:auto;margin:0;padding:12px;background:#fff;border:1px solid #d7d6d0;border-radius:12px;box-shadow:0 12px 30px #203c4326;z-index:40;align-items:stretch}
 #nav.open{display:flex;flex-direction:column;gap:0;max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain}
 #nav>a:not(.button),.services-menu>summary{min-height:48px;padding:12px;font:400 16px/24px Lato,Arial,sans-serif;border-bottom:1px solid #eeece8;display:block}
 #nav>a[aria-current=page]{border-bottom:1px solid #eeece8;background:#edf5f6;border-radius:6px;color:#006680}
 #nav .button.small{width:100%;height:48px;margin-top:12px;font-size:14px}
 .services-menu>summary{display:flex;align-items:center;justify-content:space-between;list-style:none}
 .services-menu[open]>summary:after{transform:rotate(180deg)}
 .services-dropdown{display:grid;grid-template-columns:1fr 1fr;gap:4px;border:0;box-shadow:none;padding:8px 0;margin:0;width:100%;position:static}
 .services-dropdown a{min-height:48px;padding:10px 9px;display:flex;align-items:center;font:400 14px/20px Lato,Arial,sans-serif;background:#f5f3f1;border-radius:6px}
 .services-section{padding:40px 6% 34px}.services-section .section-top{align-items:flex-end;gap:12px}.services-section .section-top h2{max-width:215px;font-size:31px;margin:0}.services-section .eyebrow{margin-bottom:14px}
 .carousel-controls{gap:6px;max-width:none;flex-wrap:nowrap;align-items:center;margin:0}
 .carousel-controls button{width:44px;height:44px;min-width:44px;border-radius:8px}
 .carousel{gap:16px;margin:24px -3px 0;padding:4px 3px 18px;scroll-padding-inline:3px;overscroll-behavior-x:contain}
 .carousel .service-card{flex:0 0 min(78vw,320px);scroll-snap-stop:always}
 .carousel .service-photo{height:auto;aspect-ratio:3/2}.carousel .service-photo img{height:100%;width:100%;object-fit:cover}
 .carousel .card-title{padding-top:16px}.carousel .card-title h3{font-size:24px}.carousel .service-card>p{font-size:15px;line-height:1.5;margin:8px 0 0;min-height:45px}
 footer{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:30px 6% 20px;gap:25px 18px}
 footer>div:first-child{grid-column:1/-1;align-items:center;text-align:center}
 footer>div:nth-child(2){grid-column:1/-1;align-items:center;text-align:center}
 footer>div:nth-child(3),footer>div:nth-child(4){align-items:flex-start;text-align:left}
 footer h2{height:auto;line-height:22px;margin:0 0 8px;font-size:12px}
 footer>div>a{min-height:44px;display:flex;align-items:center;font-size:14px;line-height:1.5;margin:0}
 footer>div:nth-child(2)>a{min-height:40px;font-size:15px}
 footer>div>p{font-size:14px;line-height:1.6;margin:4px 0 0}
 footer>div:first-child>a{min-height:0;margin-bottom:10px}footer>div:first-child>.brand-description{font-size:13px;line-height:1.6;margin:0}
 footer .social-placeholders{gap:10px;margin:4px 0 8px}.social-placeholders span{width:44px;height:44px}
 footer .footline{margin:0;padding:0;line-height:1.6;font-size:11px}
}
@media(max-width:370px){.services-section .section-top h2{font-size:28px}.carousel-controls button{width:42px;min-width:42px}}
