.hero{height:543px;position:relative;background:url(../assets/images/hero.jpg) center/cover;color:#fff;aspect-ratio:2868/1087;height:auto}
.hero .wrap{height:100%}.hero-t{position:absolute;left:94px;top:105px}
.hero .eyebrow{font-size:12px;letter-spacing:1.3px;display:flex;align-items:center;gap:20px}.hero .eyebrow:after{content:"";width:80px;border-top:1px solid rgba(255,255,255,.8)}
.hero h1{font-size:58px;line-height:76px;font-weight:400;margin-top:46px}.hero h1 b{font-weight:700}
.hero p{font-size:19px;line-height:25.5px;font-weight:300;letter-spacing:.5px;margin-top:36px}
.sol{height:1613px;padding-top:78px}
.sol h2{font-size:42px;font-weight:700;line-height:50px;color:var(--texto);margin-left:70px}
.cats{width:900px;margin:38px auto 0;display:grid;grid-template-columns:428px 428px;gap:38px 44px}
.cat{position:relative;height:430px;border-radius:26px;overflow:hidden;display:block;background:#555}
.cat img{width:100%;height:100%;object-fit:cover}
.cat .pill{position:absolute;left:50%;bottom:35px;transform:translateX(-50%);padding:0 27px;height:29px;line-height:27px;font-size:18px;white-space:nowrap;background:rgba(255,255,255,.1);backdrop-filter:blur(3px)}
.oscura{background:#000;color:#fff}
.show{height:929px;padding-top:99px}.show .wrap{display:flex;gap:101px;padding-left:81px}
.show img{width:574px;height:760px;object-fit:cover}
.show h2{font-family:var(--avenir);font-weight:900;font-size:43px;line-height:48px;padding-top:186px}
.show p{width:587px;font-size:19px;line-height:27px;font-weight:400;text-align:justify;margin:55px 0 46px}
.show .btn-box{margin-left:0}
.marcas{height:936px;text-align:center;padding-top:96px}
.marcas .eyebrow{font-size:17px;line-height:24px;letter-spacing:3px}.marcas h2{font-size:42px;font-weight:700;color:#000;line-height:50px;margin-top:10px}
.car{margin-top:57px;overflow:hidden;scroll-behavior:smooth;display:flex;gap:14.5px;padding-left:70px}
.car::-webkit-scrollbar{display:none}.car{scrollbar-width:none}
.marca{flex:0 0 311px;height:550px;border-radius:16px;position:relative;overflow:hidden;color:#fff;background:#666}
.marca>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.marca:before{content:"";position:absolute;inset:0;background:linear-gradient(rgba(0,0,0,.04),rgba(0,0,0,.12) 60%,rgba(0,0,0,.3));z-index:1}
.marca .lg{position:absolute;z-index:2;left:50%;top:247px;transform:translate(-50%,-50%);width:auto;max-width:205px;max-height:72px;filter:brightness(0) invert(1)}
.marca b{position:absolute;z-index:2;left:0;right:0;top:452px;font-size:15px;font-weight:600;line-height:18px}
.marca .pill{position:absolute;z-index:2;left:50%;top:483px;transform:translateX(-50%);width:126px;height:27px;line-height:25px;font-size:15px}
.flechas{margin-top:28px;display:flex;gap:17px;justify-content:center}
.flechas button{width:51px;height:51px;border-radius:50%;border:1px solid #222;background:none;cursor:pointer;display:grid;place-items:center}
.proy{height:929px;padding-top:81px}.proy .wrap{display:flex;gap:92px;padding-left:81px}
.proy img{width:574px;height:760px;object-fit:cover}
.proy .eyebrow{font-size:17px;letter-spacing:2px;margin-top:62px}
.proy h2{font-family:var(--avenir);font-weight:900;font-size:40px;line-height:46px;margin-top:8px}
.proy p{font-family:var(--avenir);font-weight:400;width:593px;font-size:19px;line-height:27.6px;margin-top:21px}
.proy p+p{margin-top:27px}.proy .btn-box{margin:46px 0 0 9px}
@media(max-width:900px){
 .hero{aspect-ratio:auto;height:480px}.hero-t{left:24px;right:24px;top:70px}.hero h1{font-size:34px;line-height:44px;margin-top:24px}.hero p{font-size:15px;margin-top:24px}
 .sol{height:auto;padding:40px 0 60px}.sol h2{font-size:28px;margin-left:20px}.cats{width:auto;grid-template-columns:1fr 1fr;gap:14px;padding:0 14px}.cat{height:auto;aspect-ratio:1}.cat .pill{font-size:13px;padding:0 12px;bottom:14px}
 .show,.proy{height:auto;padding:40px 20px}.show .wrap,.proy .wrap{flex-direction:column;gap:28px;padding:0}.show img,.proy img{width:100%;height:auto}.show h2{padding-top:0;font-size:28px}.proy h2{font-size:28px}.proy .eyebrow{margin-top:0}.show p,.proy p{width:auto}.btn-box{max-width:100%}
 .marcas{height:auto;padding:50px 0}.marcas h2{font-size:28px}.car{padding-left:20px;margin-top:30px}.marca{flex-basis:240px;height:425px}.marca .lg{top:190px;max-width:160px}.marca b{top:350px}.marca .pill{top:374px}
}
.marca .lg{right:auto;bottom:auto;inset:auto;left:50%;top:247px;width:auto;height:auto;max-width:220px;max-height:72px}
.marcas{padding-top:109px}.marcas h2{margin-top:2px}.car{margin-top:70px}
.cat .pill{font-size:14.5px;padding:0 24px;background:none;backdrop-filter:none}
@media(max-width:900px){.marcas{padding-top:50px}.marca .lg{top:190px;max-width:160px}.cat .pill{font-size:12px;padding:0 12px}}
@media(max-width:900px){.hero{background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),url(../assets/images/hero.jpg) 60% center/cover}.hero .eyebrow:after{width:30px}.hero .eyebrow{font-size:11px;gap:12px}}

/* V2: cuadrícula de categorías del inicio en 3 columnas (posiciones medidas en la referencia) */
.cats.home{width:auto;display:block;position:relative;height:1349px;margin:37px 0 0;gap:0}
.cats.home .cat{position:absolute;left:var(--x);top:var(--y);width:429px;height:432px}
@media(max-width:900px){
 .sol{height:auto}
 .cats.home{display:grid;position:static;height:auto;margin:38px 0 0;grid-template-columns:1fr 1fr;gap:14px;padding:0 14px}
 .cats.home .cat{position:relative;left:auto;top:auto;width:auto;height:auto;aspect-ratio:1}
}
.cat.baked .pill{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);padding:0;border:0;background:none}

/* V2: la sección de marcas es 45 px más alta y su contenido baja 4 px */
.marcas{height:981px;padding-top:113px}
@media(max-width:900px){.marcas{height:auto;padding-top:50px}}
.show,.proy{height:928px}@media(max-width:900px){.show,.proy{height:auto}}

/* V2: bloque Proyectos del inicio (medido en la referencia) */
.proy .eyebrow{font-size:18px;margin-top:69px}
.proy h2{font-size:38.4px;line-height:44px;margin-top:11px}
.proy p{font-size:20px;line-height:28px;width:595px;margin-top:0}
.proy h2+p{margin-top:69px}.proy p+p{margin-top:28px}
.proy .btn-box{margin:64px 0 0 9px}
@media(max-width:900px){.proy .eyebrow{margin-top:0}.proy h2{font-size:28px;line-height:34px}.proy p{width:auto;font-size:16px;line-height:24px}.proy h2+p{margin-top:20px}.proy .btn-box{margin:24px 0 0}}
.marca .lg{filter:url(#maco-logo-clean)}
