@charset "UTF-8";
/* EURTACA V9 · Solo portada. Se carga junto a global.css; no modifica otras plantillas. */

.page-home .content{display:block;padding-bottom:40px}
.page-home .content>*{min-width:0}
.page-home .content>h2{font-size:clamp(1.85rem,3vw,2.7rem);margin:66px 0 25px;line-height:1.18;max-width:100%}
.page-home .content>h3{font-size:clamp(1.35rem,2vw,1.7rem);margin:68px 0 18px;line-height:1.24;max-width:100%}
.page-home .content>p{margin:14px 0 20px;line-height:1.85;max-width:104ch}
.page-home .content>.destacado{margin:32px 0 24px;padding:23px 28px;border-left:5px solid var(--teal);background:#eff7f9;border-radius:0 20px 20px 0}
.page-home .content>.destacado p{margin:0}

/* 6 fotografías recuperadas del CSS original: 3 x 2, 2 x 3, 1 x 6. */
.page-home #ha-portada.ha-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 50px}
.page-home .ha-card{position:relative;display:block;min-width:0;overflow:hidden;border-radius:20px;min-height:206px;background:#0c2f45;border:1px solid #d9e8eb;box-shadow:0 12px 28px rgba(8,31,49,.09);color:#fff;text-decoration:none;isolation:isolate;transition:transform .2s ease,box-shadow .2s ease}
.page-home .ha-card::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,31,49,.05) 12%,rgba(8,31,49,.15) 44%,rgba(8,31,49,.92) 100%);z-index:1;pointer-events:none}
.page-home .ha-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .4s ease}
.page-home .ha-card-title{position:absolute;left:20px;right:18px;bottom:20px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;color:#fff;font-size:1rem;font-weight:850;line-height:1.28;letter-spacing:.01em;text-transform:none;z-index:2;text-shadow:0 2px 14px #08243480}
.page-home .ha-card-arrow{flex:0 0 auto;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e5f8fa;color:#115b6d;font-weight:900;text-shadow:none}
.page-home .ha-card:hover,.page-home .ha-card:focus-visible{transform:translateY(-3px);box-shadow:0 22px 45px rgba(8,31,49,.2);color:#fff}
.page-home .ha-card:hover img{transform:scale(1.04)}
.page-home .ha-card:focus-visible{outline:3px solid var(--teal);outline-offset:3px}

/* Fabricantes: logo original a la izquierda, información a la derecha. */
.page-home .home-supplier{grid-template-columns:170px minmax(0,1fr);gap:28px;margin:18px 0;padding:25px 30px;border-radius:22px;background:#fff}
.page-home .home-supplier picture,.page-home .home-supplier>a{display:flex;align-items:center;justify-content:center;min-height:110px;padding:12px;border-radius:14px;background:#f5fafb}
.page-home .home-supplier p{line-height:1.72}

/* Cifras: mantener los datos editoriales originales y darles aire. */
.page-home #numeros{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:54px 0 68px}
.page-home #numeros>div{padding:25px 24px;min-height:154px;border-radius:20px;background:linear-gradient(145deg,#0b3044,#14516a);color:#fff;box-shadow:0 15px 38px rgba(8,31,49,.13)}
.page-home #numeros p{margin:0 0 12px;color:#fff;font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.07;font-weight:850}
.page-home #numeros h3{margin:0;color:#e0f1f6;font-size:1rem;line-height:1.4;font-weight:550}

/* Quiénes somos: foto panorámica completa, texto a todo el ancho debajo. */
.page-home #quienes-somos.home-about{margin:50px 0 72px;padding:clamp(20px,3vw,36px);border:1px solid var(--line);background:#fff;border-radius:27px;box-shadow:var(--shadow-soft)}
.page-home #quienes-somos h2{margin:0 0 25px;font-size:clamp(1.9rem,2.7vw,2.6rem)}
.page-home .home-about-photo{width:100%;margin:0 0 28px;overflow:hidden;border-radius:20px;background:#e9f2f5}
.page-home .home-about-photo picture{display:block;width:100%}
.page-home .home-about-photo img{width:100%;height:auto;max-height:480px;aspect-ratio:17 / 7;object-fit:cover;object-position:center 45%;display:block}
.page-home .home-about-copy{width:100%;max-width:none;columns:1;line-height:1.8}
.page-home .home-about-copy p{max-width:100%;margin:0 0 19px}
.page-home .home-about-actions{display:flex;justify-content:flex-start;margin-top:22px}
.page-home .home-about-actions .button{gap:9px}

/* Servicios con las cuatro fotografías reales de la V8. */
.page-home #servicios{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:36px 0 72px}
.page-home #servicios>h2{grid-column:1/-1;margin:0 0 4px;font-size:clamp(1.9rem,2.7vw,2.6rem)}
.page-home #servicios>a{display:block;position:relative;min-height:335px;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;color:var(--ink);text-decoration:none;box-shadow:var(--shadow-soft);transition:transform .2s ease,box-shadow .2s ease}
.page-home #servicios>a::before{content:"";display:block;width:100%;height:200px;background:#e3eef0 url('/imagenes/eurtaca-sector-higiene-alimentaria.webp') center/cover no-repeat}
.page-home #servicios>a:nth-of-type(2)::before{background-image:url('/imagenes/eurtaca-sector-lavanderia-industrial.webp')}
.page-home #servicios>a:nth-of-type(3)::before{background-image:url('/imagenes/eurtaca-sector-geriatria.webp')}
.page-home #servicios>a:nth-of-type(4)::before{background-image:url('/imagenes/eurtaca-sector-automocion.webp');background-position:center top}
.page-home #servicios>a h3{margin:22px 23px 7px;font-size:1.42rem;line-height:1.2;color:var(--navy)}
.page-home #servicios>a p{margin:0 23px 24px;color:var(--muted);line-height:1.55}
.page-home #servicios>a:hover{transform:translateY(-3px);box-shadow:var(--shadow)}

/* Motivos para elegir Eurtaca: evitar una enorme masa azul sin jerarquía. */
.page-home #mejores-distribuidores{margin:54px 0 24px;padding:clamp(24px,3.8vw,44px);border-radius:27px;border:1px solid #c9dfe7;background:linear-gradient(155deg,#eff7f9,#e6f1f5);color:var(--ink)}
.page-home #mejores-distribuidores>h2{margin:0 0 26px;max-width:850px;color:var(--navy);font-size:clamp(1.75rem,2.5vw,2.4rem)}
.page-home #mejores-distribuidores ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.page-home #mejores-distribuidores li{min-width:0;margin:0;padding:21px 23px;border:1px solid #d3e4ea;border-radius:18px;background:#fff;color:var(--ink);line-height:1.68;box-shadow:0 8px 24px rgba(8,31,49,.045)}
.page-home #mejores-distribuidores li:last-child:nth-child(odd){grid-column:1 / -1}
.page-home .home-experience{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 35px;margin:0 0 72px;padding:24px clamp(22px,3vw,38px);border-radius:22px;background:#0e354a;color:#fff}
.page-home .home-experience-since{display:inline-flex;padding:9px 16px;border-radius:999px;border:1px solid #7ab4c4;color:#d7f7fa;font-size:.88rem;font-weight:800;letter-spacing:.045em;white-space:nowrap}
.page-home .home-experience h2{flex:1 1 380px;max-width:770px;margin:0!important;color:#fff;font-size:clamp(1.3rem,2vw,2rem);line-height:1.2}

/* Productos: fotografía primero a todo el ancho, intro ancha y familias centradas. */
.page-home #productos.home-products{margin:45px 0 65px;padding:clamp(20px,3.2vw,38px);border-radius:28px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-soft)}
.page-home #productos h2{margin:0 0 22px;font-size:clamp(1.9rem,2.7vw,2.6rem)}
.page-home .home-products-photo{width:100%;margin:0 0 24px;overflow:hidden;border-radius:20px;background:#eef7f9}
.page-home .home-products-photo picture{display:block;width:100%}
.page-home .home-products-photo img{display:block;width:100%;height:auto;max-height:400px;aspect-ratio:18 / 6;object-fit:cover;object-position:center}
.page-home .home-products-intro{width:100%;margin-bottom:24px}
.page-home .home-products-intro p{margin:0;max-width:100%;line-height:1.76;font-size:1.05rem;color:var(--ink)}
.page-home .home-product-families ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;list-style:none;padding:0;margin:0;gap:12px}
.page-home .home-product-families li{display:flex;align-items:center;justify-content:center;min-width:0;min-height:68px;padding:10px 13px;border-radius:15px;border:1px solid #d7e5ea;background:#f4f9fa;text-align:center;color:var(--navy);font-size:.89rem;font-weight:700;line-height:1.45;transition:border-color .15s ease,background .15s ease}
.page-home .home-product-families li:has(a):hover{background:#e7f3f6;border-color:#9bc8d0}
.page-home .home-product-families li a{color:var(--navy);font-size:inherit;font-weight:800;text-decoration:none;display:inline}
/* Área interactiva completa de cada recuadro, sin alterar las tarjetas sin enlace. */
.page-home .home-product-families li:has(>a){padding:0;cursor:pointer}
.page-home .home-product-families li>a{display:flex;flex:1;align-items:center;justify-content:center;align-self:stretch;min-width:0;min-height:68px;width:100%;padding:10px 13px;text-align:center;border-radius:15px}
.page-home .home-product-families li:focus-within{outline:3px solid var(--teal);outline-offset:3px}
.page-home .home-product-families li a:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
.page-home .home-product-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin:32px 0 0}
.page-home .home-product-actions .button{gap:8px;padding:14px 24px;min-width:190px}

/* El bloque de contacto heredado no debe descomponer la portada. */
.page-home .content>.contact-block{margin:50px 0 0}

@media(max-width:1040px){
 .page-home #ha-portada.ha-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .page-home .home-product-families ul{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
 .page-home .content>h2{margin-top:48px}
 .page-home .home-supplier{grid-template-columns:1fr;gap:10px}
 .page-home .home-supplier picture,.page-home .home-supplier>a{justify-content:flex-start}
 .page-home #numeros{grid-template-columns:1fr;gap:12px;margin:35px 0 55px}
 .page-home #numeros>div{min-height:0}
 .page-home #servicios{grid-template-columns:1fr;gap:16px}
 .page-home #servicios>h2{grid-column:auto}
 .page-home #mejores-distribuidores ul{grid-template-columns:1fr}
 .page-home #mejores-distribuidores li:last-child:nth-child(odd){grid-column:auto}
 .page-home .home-about-photo img{aspect-ratio:3/2;max-height:350px}
 .page-home .home-products-photo img{aspect-ratio:3/2;max-height:310px}
 .page-home .home-product-families ul{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
 .page-home #ha-portada.ha-cards{grid-template-columns:1fr;gap:12px}
 .page-home .ha-card{min-height:175px}
 .page-home .home-product-families ul{grid-template-columns:1fr 1fr;gap:8px}
 .page-home .home-product-families li{padding:10px;min-height:65px;font-size:.84rem}
 .page-home .home-product-actions{flex-direction:column}
 .page-home .home-product-actions .button{width:100%}
}
@media(prefers-reduced-motion:reduce){.page-home .ha-card,.page-home .ha-card img,.page-home #servicios>a{transition:none}}

/* V18: cifra de stock sin metros cuadrados obsoletos y con explicación secundaria. */
.page-home #numeros>div{display:flex;flex-direction:column;align-items:flex-start}
.page-home #numeros p{font-size:clamp(1.35rem,2.55vw,2.2rem);line-height:1.16;text-wrap:balance}
.page-home #numeros small{display:block;margin-top:11px;color:#c6e7ef;font-size:.82rem;line-height:1.55;font-weight:450}
.page-home .hero--home .hero-media-frame img{object-fit:cover;object-position:center}
