/* Portada: composición del mockup aprobado, aislada del comercio. */
.home-fidelity{--hf-ink:#073e44;--hf-mint:#e1f4ee;--hf-lime:#cfeb04;--hf-green:#006052;max-width:1440px;margin:auto;background:#fff;color:var(--hf-ink);font-family:'Open Sans',sans-serif;--hf-unit:min(.142857vw,2.057px)}
.home-fidelity h1,.home-fidelity h2,.home-fidelity h3{font-family:Manrope,'Open Sans',sans-serif!important;letter-spacing:-.045em;line-height:1.04;margin:0;font-weight:800;color:inherit}.home-fidelity a{text-decoration:none;color:inherit}.home-fidelity p{line-height:1.4;margin:0}.home-fidelity .site-header{position:relative;height:calc(72 * var(--hf-unit));min-height:72px;border:0}.home-fidelity .site-header-inner{width:93%;gap:12px;min-height:72px}.home-fidelity .site-brand img{width:calc(156 * var(--hf-unit));height:auto;min-width:130px;object-fit:contain}.home-fidelity .site-header .site-nav{gap:calc(24 * var(--hf-unit));font:700 clamp(10px,.95vw,14px)/1.3 Manrope,sans-serif}.home-fidelity .site-header a{border-radius:8px!important}.home-fidelity .site-header .site-header-cta{background:#004e4c;padding:10px 20px}
.hf-hero{position:relative;height:calc(371 * var(--hf-unit));overflow:hidden}.hf-hero-photo{position:absolute;left:37.57%;top:0;width:62.43%;height:100%;object-fit:fill}.hf-defs{position:absolute;width:0;height:0}.hf-hero-panel{position:absolute;inset:0;background:#e0f3ed;clip-path:url(#hero-shape)}.hf-hero-copy{position:relative;padding:calc(42 * var(--hf-unit)) 0 0 5%;width:51%}.hf-pill{display:inline-block;background:var(--hf-lime);border-radius:12px;padding:7px 14px;color:#073e44;font:800 clamp(10px,1.62vw,23px)/1.25 Manrope,sans-serif;letter-spacing:-.04em}.hf-hero-copy>.hf-pill{font-size:clamp(9px,1.6vw,21px)}.hf-hero h1{font-size:calc(48 * var(--hf-unit));margin:calc(16 * var(--hf-unit)) 0}.hf-hero p{font-size:calc(18 * var(--hf-unit))}.hf-hero-actions{display:grid;gap:calc(12 * var(--hf-unit));width:calc(184 * var(--hf-unit));margin-top:calc(18 * var(--hf-unit))}.hf-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:calc(9 * var(--hf-unit)) calc(20 * var(--hf-unit));border:1px solid var(--hf-green);background:var(--hf-green);color:white!important;border-radius:9px;font:800 clamp(11px,1.7vw,22px)/1.3 Manrope,sans-serif;text-align:center}.hf-button:hover{filter:brightness(.92)}.hf-outline{background:transparent;color:var(--hf-green)!important}.hf-section{padding:calc(35 * var(--hf-unit)) 3.6% calc(4 * var(--hf-unit))}.hf-section>h2{text-align:center;font-size:calc(32 * var(--hf-unit));margin-bottom:calc(30 * var(--hf-unit))}.hf-lines-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.2%}.hf-line{border-radius:20px;overflow:hidden;background:var(--hf-mint)}.hf-line>img{width:100%;aspect-ratio:316/191;object-fit:cover;display:block}.hf-line>div{position:relative;margin-top:-3px;background:var(--hf-mint);padding:calc(10 * var(--hf-unit)) calc(27 * var(--hf-unit)) calc(17 * var(--hf-unit));border-radius:20px 20px 0 0}.hf-line h3{font-size:calc(30 * var(--hf-unit));margin-bottom:calc(5 * var(--hf-unit))}.hf-products{padding-top:calc(45 * var(--hf-unit))}.hf-products>h2{font-size:calc(30 * var(--hf-unit));margin-bottom:calc(28 * var(--hf-unit))}.hf-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.8%}.hf-product{background:#ecf8f3;border-radius:18px;padding:calc(9 * var(--hf-unit)) calc(17 * var(--hf-unit)) calc(13 * var(--hf-unit));text-align:center;display:flex;flex-direction:column;min-width:0}.hf-product>a:first-child{display:block}.hf-product img{width:100%;height:calc(177 * var(--hf-unit));object-fit:contain;mix-blend-mode:multiply}.hf-product h3{font-size:calc(19 * var(--hf-unit));color:var(--product-color);white-space:nowrap;margin:calc(8 * var(--hf-unit)) -12px calc(12 * var(--hf-unit))}.hf-sizes{display:flex;gap:12px;margin-bottom:calc(15 * var(--hf-unit));justify-content:space-between}.hf-sizes a{border:1px solid #548e8a;border-radius:7px;font:800 clamp(11px,1.4vw,20px)/1.4 Manrope,sans-serif;flex:1}.hf-product .hf-button{font-size:clamp(11px,1.5vw,21px);padding-inline:4px;margin-top:auto}.hf-coming{display:flex;align-items:center;gap:25px;font-size:calc(13 * var(--hf-unit));font-style:italic;justify-content:center;margin:calc(22 * var(--hf-unit)) 20px calc(29 * var(--hf-unit))!important}.hf-coming:before,.hf-coming:after{content:'';height:1px;background:#508986;flex:1}.hf-coming span{white-space:nowrap}
.hf-crop-banner{height:calc(203 * var(--hf-unit));position:relative;overflow:hidden;background:#004e4b;color:white}.hf-crop-banner>img{position:absolute;right:0;top:0;width:50.6%;height:100%;object-fit:fill}.hf-banner-panel{position:absolute;inset:0;background:#004e4b;clip-path:polygon(0 0,59.4% 0,49.2% 100%,0 100%)}.hf-banner-copy{position:relative;padding:calc(25 * var(--hf-unit)) 5.4%;width:60%}.hf-banner-copy h2{font-size:calc(28 * var(--hf-unit))}.hf-banner-copy p{font-size:calc(15 * var(--hf-unit));margin:calc(12 * var(--hf-unit)) 0 calc(14 * var(--hf-unit))}.hf-lime{background:var(--hf-lime);color:var(--hf-ink)!important;border:0;font-size:calc(14 * var(--hf-unit))}.hf-services{padding-top:calc(26 * var(--hf-unit));padding-bottom:calc(40 * var(--hf-unit))}.hf-services>h2{font-size:calc(29 * var(--hf-unit));margin-bottom:calc(24 * var(--hf-unit))}.hf-service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2%}.hf-service{text-align:center;background:#edf8f4;border-radius:16px;padding:calc(14 * var(--hf-unit)) 6px calc(17 * var(--hf-unit))}.hf-service img,.hf-service .hf-service-icon{width:calc(51 * var(--hf-unit));height:calc(51 * var(--hf-unit));border-radius:18px;display:block;margin:0 auto calc(12 * var(--hf-unit))}.hf-service h3{font-size:calc(16 * var(--hf-unit));letter-spacing:-.035em}
.hf-company{background:linear-gradient(110deg,#e2f5ee,#fff);padding:calc(24 * var(--hf-unit)) 3.4% calc(22 * var(--hf-unit)) 5.4%;display:grid;grid-template-columns:1fr 1.15fr;gap:5%;align-items:center}.hf-company h2{font-size:calc(30 * var(--hf-unit));margin:calc(10 * var(--hf-unit)) 0}.hf-company p{font-size:calc(13 * var(--hf-unit))}.hf-company .hf-eyebrow{font-weight:800;color:var(--hf-green);font-size:calc(17 * var(--hf-unit))}.hf-company .hf-button{font-size:calc(12 * var(--hf-unit));margin-top:calc(14 * var(--hf-unit))}.hf-company>img{width:100%;height:auto;border-radius:16px}.hf-footer{background:linear-gradient(110deg,#006454,#004a4a);color:white;display:flex;align-items:center;justify-content:space-between;gap:3%;padding:calc(14 * var(--hf-unit)) 4%;font-size:calc(10 * var(--hf-unit))}.hf-footer-brand{padding:8px;background:white;border-radius:9px;display:flex;width:20%;flex-shrink:0}.hf-footer-brand img{width:100%;height:auto}.hf-footer nav{display:flex;justify-content:center;gap:calc(15 * var(--hf-unit));border-inline:1px solid #ffffff66;padding:calc(19 * var(--hf-unit)) 3%;flex:1;white-space:nowrap}.hf-footer p{font-size:calc(10 * var(--hf-unit));text-align:center;white-space:nowrap}
@media(max-width:900px){.home-fidelity .site-header .site-nav{gap:0;padding-bottom:12px;font-size:14px}.home-fidelity .site-header{height:auto}.home-fidelity .site-header-inner{width:93%}}
@media(max-width:600px){.home-fidelity{--hf-unit:1px}.hf-hero{height:auto;min-height:540px;background:var(--hf-mint);display:flex;flex-direction:column}.hf-hero-photo{position:relative;order:2;left:0;width:100%;height:230px;object-fit:cover;object-position:right}.hf-hero-panel{display:none}.hf-hero-copy{width:100%;padding:28px 22px 24px}.hf-hero h1{font-size:46px}.hf-hero-copy>.hf-pill{font-size:12px}.hf-hero p{font-size:17px}.hf-hero-actions{width:100%;display:flex;gap:10px}.hf-hero-actions .hf-button{flex:1;padding:10px 6px;font-size:12px}.hf-section{padding:28px 16px 0}.hf-section>h2{font-size:26px;margin-bottom:22px}.hf-lines-grid{gap:12px}.hf-line{border-radius:13px}.hf-line>img{height:148px}.hf-line>div{padding:12px 10px 15px;border-radius:12px 12px 0 0}.hf-line h3{font-size:23px}.hf-pill{padding:6px 8px;font-size:10px;border-radius:8px}.hf-products>h2{font-size:25px}.hf-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hf-product{padding:10px 15px 14px}.hf-product img{height:170px}.hf-product h3{font-size:17px}.hf-sizes{gap:10px}.hf-coming{margin:22px 0 25px!important;font-size:11px;gap:8px;text-align:center}.hf-coming span{white-space:normal}.hf-crop-banner{height:238px}.hf-crop-banner>img{width:58%;object-fit:cover;object-position:right}.hf-banner-panel{clip-path:polygon(0 0,75% 0,58% 100%,0 100%)}.hf-banner-copy{padding:28px 18px;width:82%}.hf-banner-copy h2{font-size:25px}.hf-banner-copy p{font-size:13px}.hf-lime{font-size:12px;padding:10px}.hf-services{padding-bottom:30px}.hf-services>h2{font-size:25px}.hf-service-grid{grid-template-columns:1fr 1fr;gap:12px}.hf-service{padding:15px 8px}.hf-service img,.hf-service .hf-service-icon{width:51px;height:51px}.hf-service h3{font-size:16px}.hf-company{grid-template-columns:1fr;padding:26px 20px;gap:22px}.hf-company h2{font-size:32px}.hf-company p{font-size:14px}.hf-company .hf-eyebrow{font-size:16px}.hf-company .hf-button{font-size:13px}.hf-footer{flex-wrap:wrap;gap:18px;padding:22px 20px}.hf-footer-brand{width:145px}.hf-footer nav{order:3;flex-basis:100%;flex-wrap:wrap;gap:14px;border:0;padding:0;font-size:12px}.hf-footer p{font-size:10px}.hf-company>img{max-height:230px;object-fit:cover}}
@media(max-width:600px){.hf-hero>picture{order:2;display:block;height:230px}.hf-hero-photo{display:block}.hf-product img{object-fit:contain}}
@media(min-width:601px) and (max-width:900px){.home-fidelity .site-header .site-menu-toggle{display:none}.home-fidelity .site-header-inner{flex-wrap:nowrap}.home-fidelity .site-header .site-nav{display:flex!important;width:auto;flex-direction:row;align-items:center;gap:18px;padding:0;font-size:9px}.home-fidelity .site-header .site-nav a{padding:0;min-height:32px}.home-fidelity .site-header .site-nav .site-header-cta{margin:0;padding:8px 14px}.home-fidelity .site-brand img{min-width:0;width:156px}}
.hf-line>img{height:auto}.home-fidelity .site-header .site-nav a{font:inherit}.home-fidelity .site-header .site-brand{width:auto}
@media(min-width:601px) and (max-width:900px){.home-fidelity .site-header .site-nav a{font-size:9px}.home-fidelity .site-header .site-nav{gap:18px}.home-fidelity .site-header .site-nav .site-header-cta{padding:8px 14px}}
@media(min-width:601px){.hf-hero h1{line-height:.90;margin-top:calc(14 * var(--hf-unit));margin-bottom:calc(16 * var(--hf-unit))}}
/* Full-bleed hero on wide desktops; keep the remaining content constrained. */
.hf-hero-photo{object-fit:cover}
@media(min-width:1441px){.hf-hero{width:100vw;margin-inline:calc(50% - 50vw)}}
/* Keep the compact navigation inside the viewport above the mobile breakpoint. */
@media(min-width:601px) and (max-width:700px){.home-fidelity .site-header .site-nav{gap:8px}}
@media(min-width:601px){.hf-product-grid.hf-six{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:calc(24 * var(--hf-unit))}}

/* Dos servicios (2026-11-23): mismas tarjetas, centradas con el ancho de dos columnas de la rejilla original. */
@media(min-width:601px){.hf-service-grid:has(>.hf-service:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr));max-width:49%;margin-inline:auto}}

/* Escenas nuevas (2026-11-24): se recortan sin deformarse en la banda de 50 kg y en Nuestra empresa. */
.hf-crop-banner>img.hf-photo-new{object-fit:cover;object-position:center}
.hf-company>img.hf-photo-new{aspect-ratio:356/187;object-fit:cover}
