



.hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:280px;padding:48px 0;background:#11264f;color:#fff}
.hero:has(>img,>picture),.hero.home-carousel{height:calc(100svh - 208px);min-height:520px;padding:0;overflow:hidden}
.hero>img,.hero>picture>img,.hero .carousel-track,.hero .carousel-track figure{position:absolute;inset:0;width:100%;height:100%;margin:0;min-width:0;min-height:0}
.hero>img,.hero>picture>img,.hero .carousel-track img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.hero:has(>img,>picture)::after,.home-carousel::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(17,38,79,.86),rgba(17,38,79,.60) 55%,rgba(17,38,79,.16));pointer-events:none}
.hero .hero-copy{position:relative;z-index:1;width:min(1160px,calc(100% - 64px));max-width:1160px;margin:auto;padding:36px 0 76px}
.hero h1{max-width:740px;font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.08;margin:0 0 18px}
.hero p{max-width:660px;font-size:1.08rem;line-height:1.55;margin:0 0 22px;color:#e6eef7}
.hero .eyebrow{font-size:.78rem;font-weight:800;color:#7bd6f5;margin:0 0 12px}
.hero .actions{display:flex;flex-wrap:wrap;gap:12px}
.hero .btn{min-height:44px}


.home .quick{position:relative;z-index:3;margin-top:-56px}
.home .quick-box{background:#fff;border:1px solid var(--line);border-top:4px solid var(--yellow);box-shadow:0 14px 35px #11264f1f;padding:26px 28px}
.home .quick h2{margin:0 0 18px;font-size:1.3rem;color:var(--graphite)}
.home .quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;background:none;border:0;box-shadow:none}
.home .quick a{display:flex;flex-direction:column;gap:4px;padding:18px;border:1px solid var(--line);border-radius:10px;color:var(--ink);transition:background-color .2s,border-color .2s,transform .2s}
.home .quick a:last-child{border:1px solid var(--line)}
.home .quick svg{width:38px;height:38px;fill:none;stroke:var(--blue);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-bottom:6px}
.home .quick strong{font-size:1.05rem}
.home .quick a span{font-size:.82rem;font-weight:700;color:var(--blue);text-transform:none;margin:0}
.home .quick a:hover,.home .quick a:focus-visible{background:var(--yellow);border-color:var(--yellow);transform:translateY(-2px)}
.home .quick a:hover svg,.home .quick a:focus-visible svg{stroke:var(--ink)}
.home .quick a:hover span,.home .quick a:focus-visible span{color:var(--ink)}
.home .quick a:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.home .steps{list-style:none;display:flex;flex-wrap:wrap;gap:10px 28px;margin:20px 0 0;padding:16px 0 0;border-top:1px solid var(--line);color:var(--muted);font-size:.92rem}
.home .steps li{display:flex;align-items:center;gap:10px}
.home .steps b{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--graphite);color:#fff;font-size:.8rem}
@media(prefers-reduced-motion:reduce){.home .quick a{transition:none}}
.home .hero .hero-copy{padding-bottom:132px}
.home .carousel-arrow,.home .carousel-dots{bottom:72px}
@media(max-width:850px){.home .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home .quick-box{padding:20px 16px}.home .quick a{padding:14px}.home .steps{flex-direction:column}.home .hero.home-carousel .hero-copy{padding-bottom:132px}}
.home-carousel figure{opacity:0;transition:opacity 1.4s ease;pointer-events:none}
.home-carousel figure.active{opacity:1}
.carousel-arrow,.carousel-dot{position:relative;z-index:2;border:1px solid #ffffff80;background:#11264fbd;color:white;cursor:pointer;min-width:40px;min-height:40px;border-radius:6px}
.carousel-arrow{position:absolute;bottom:16px;font-size:1.8rem;line-height:1}
.carousel-arrow.prev{left:32px}
.carousel-arrow.next{left:80px}
.carousel-dots{position:absolute;z-index:2;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:2px}
.carousel-dot{border:0;background:transparent;min-width:28px}
.carousel-dot::after{content:"";display:block;width:8px;height:8px;margin:auto;border:1px solid white;border-radius:50%;background:#11264f80}
.carousel-dot.active::after{background:#f9b51b;border-color:#f9b51b}

.hero button:hover{background:#33373d}
.hero button:focus-visible{outline:3px solid #f9b51b;outline-offset:3px}
.recycling-photo{margin:32px auto;max-width:1000px}
.recycling-photo img{display:block;width:100%;height:auto}
.recycling-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start}
.recycling-layout .recycling-photo{margin:0}
.recycling-layout .steps{grid-template-columns:1fr;margin:0;gap:24px}
@media(max-width:850px){.recycling-layout{grid-template-columns:1fr;gap:28px}}
@media(max-width:850px){
/* Phones: clean photo on top, buttons below it; title and text stay in the markup for screen readers and search. */
.hero:has(>img,>picture),.hero.home-carousel{display:block;height:auto;min-height:0;padding:0;background:transparent}
.hero>img,.hero>picture>img{position:relative;inset:auto;height:auto;aspect-ratio:auto}
.hero .carousel-track{position:relative;inset:auto;height:auto;aspect-ratio:4/5}
.hero .carousel-track img{object-fit:cover}
.hero:has(>img,>picture)::after,.home-carousel::after,.hero .carousel-dots,.hero .carousel-arrow{display:none}
.hero:has(>img,>picture) .hero-copy,.hero.home-carousel .hero-copy,.home .hero.home-carousel .hero-copy{width:calc(100% - 32px);margin:0 auto;padding:16px 0 8px}
.hero .actions{gap:10px}.hero .actions .btn{width:100%;min-height:48px}
.home .quick{margin-top:16px}
.hero .hero-copy>h1,.hero .hero-copy>p{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hero .hero-copy{width:calc(100% - 40px)}
.hero h1{font-size:2.5rem}

}
@media(max-width:520px){
.hero .hero-copy{padding:28px 0 76px}
.hero h1{font-size:2rem}
.hero p{font-size:1rem;margin-bottom:18px}
.hero .actions .btn{width:100%}
.carousel-arrow.prev{left:16px}.carousel-arrow.next{left:60px}
.carousel-dot{min-width:24px}

}
@media(prefers-reduced-motion:reduce){.home-carousel figure{transition:none}}
@media(max-width:520px){.home .carousel-arrow{display:none}.home .carousel-dots{left:16px;transform:none}.home .quick h2{font-size:1.15rem}.home .quick a{flex-direction:row;flex-wrap:wrap;align-items:center;gap:2px 10px}.home .quick svg{width:30px;height:30px;margin:0}.home .quick a strong{flex:1;font-size:.95rem;line-height:1.2}.home .quick a span{flex-basis:100%}}
.home .hero .actions .btn{border-color:transparent}.home .hero .actions .btn:nth-child(1){background:#355b92;color:#fff}.home .hero .actions .btn:nth-child(2){background:#2c98c4;color:#101828}.home .hero .actions .btn:nth-child(3){background:#edae2e;color:#101828}.home .hero .actions .btn:hover{filter:brightness(1.12)}
@media(min-width:851px){.home .quick{margin-top:-118px}.home .carousel-arrow,.home .carousel-dots{bottom:134px}.home .hero .hero-copy{padding-bottom:190px}}
.recycling{background:#11264f;color:#fff}.recycling .eyebrow,.recycling .step span{color:#7bd6f5}.recycling p,.recycling .step p{color:#d6e0ee}
.recycling .recycling-photo{padding:24px;border-radius:8px;background:var(--bg) url('../assets/fondo-gris.webp') center/cover}
@media(min-width:851px){.hero:has(>img,>picture),.hero.home-carousel{display:flex;align-items:flex-start}.hero .hero-copy,.home .hero .hero-copy{margin:0 auto;padding:clamp(56px,12svh,120px) 0 0}}
@media(min-width:851px){body:not(.home) .hero:has(>img,>picture),body:not(.home) .hero.home-carousel{align-items:flex-end}body:not(.home) .hero .hero-copy{padding:0 0 80px}}
@media(min-width:851px){.home .hero .hero-copy{padding-top:calc(clamp(56px,12svh,120px) + 60px)}}
@media(max-width:850px){.home .hero.home-carousel .hero-copy{padding:16px 0 20px}.home .quick{margin-top:0;padding-top:32px}}
@media(max-width:850px){
/* Heroes without buttons (Nosotros, Medio ambiente): no empty strip under the photo. */
.hero .hero-copy:not(:has(.actions,.service-audience-nav)){padding:0}
/* Servicios: the two buttons fit side by side, so they sit over the bottom of the photo. */
.hero:has(.service-audience-nav)::after{display:block;background:linear-gradient(180deg,rgba(17,38,79,0) 45%,rgba(17,38,79,.65) 100%)}
.hero:has(.service-audience-nav) .hero-copy{position:absolute;z-index:1;left:12px;right:12px;bottom:12px;width:auto;margin:0;padding:0}
.hero .service-audience-nav{max-width:none;margin:0;gap:8px}
.hero .service-audience-nav a{min-height:42px;font-size:.9rem}
}
.label-short{display:none}
@media(max-width:850px){
/* Home on phones: the three buttons sit in one row over the bottom of the photo, with short labels. */
.home .hero.home-carousel{position:relative}
.home .hero.home-carousel::after{display:block;background:linear-gradient(180deg,rgba(17,38,79,0) 60%,rgba(17,38,79,.7) 100%)}
.home .hero.home-carousel .hero-copy{position:absolute;z-index:1;left:10px;right:10px;bottom:12px;width:auto;margin:0;padding:0}
.home .hero .actions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.home .hero .actions .btn{width:auto;min-height:44px;padding:0 6px;font-size:.85rem}
.home .hero .label-long{display:none}.home .hero .label-short{display:inline}
}
