/* BAE Limpieza: sistema de estilos. Layout: header oscuro sticky, secciones alternadas, servicios y WhatsApp como protagonistas. */
:root{
  --bg:#F3F0E7; --bg-alt:#FBF9F4; --surface:#FFFFFF; --fg:#221D19; --fg-soft:#4A433C; --line:#D9D3C4;
  --title:#0076B8; --link:#045C8F; --link-hover:#034A73; --terra:#A62B0C; --blue:#0076B8; --blue-hover:#034A73;
  --band:#045C8F; --field-bg:#FBF9F4; --field-border:#8C857A; --chip-bg:#FBF9F4; --icon-bg:rgba(4,92,143,.1);
  --ph-bg:#FBF9F4; color-scheme:light; --header-bg:#F3F0E7; --header-fg:#221D19; --foot-bg:#045C8F; --foot-muted:#C9DCE8; --nav-hover:rgba(0,118,184,.1);
  --wa:#25D366; --wa-hover:#1EBE5A; --wa-ink:#221D19; --focus:#0076B8;
  --font-title:"Cardo",Georgia,"Times New Roman",serif;
  --font-mono:"Courier Prime","Courier New",ui-monospace,monospace;
  --font-body:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --fs-h1:clamp(1.75rem,1.3rem + 2vw,2.5rem); --fs-h2:clamp(1.375rem,1.15rem + 1vw,1.75rem);
  --header-h:56px; --radius:12px; --radius-sm:8px; --container:1120px;
  --shadow:0 1px 2px rgba(34,29,25,.06),0 6px 18px rgba(34,29,25,.08);
  --section-y:clamp(2.5rem,2rem + 3vw,4.5rem);
}
@media (min-width:900px){:root{--header-h:64px}}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 8px);-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
body{margin:0;font-family:var(--font-body);font-size:1rem;line-height:1.6;color:var(--fg);background:var(--bg);padding-bottom:72px}
@media (min-width:900px){body{padding-bottom:0}}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:var(--header-bg);z-index:110}
img,svg{max-width:100%;display:block}
h1,h2,h3{font-family:var(--font-title);font-weight:700;line-height:1.2;margin:0 0 .75rem;color:var(--fg);text-wrap:balance}
h1,h2{color:var(--title)}
h1{font-size:var(--fs-h1)} h2{font-size:var(--fs-h2)} h3{font-size:1.125rem}
p{margin:0 0 1rem;max-width:62ch}
a{color:var(--link);text-underline-offset:3px} a:hover{color:var(--link-hover)}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:4px}
.skip-link{position:absolute;left:-999px;top:0;background:var(--fg);color:var(--bg);padding:.75rem 1rem;z-index:200}
.skip-link:focus{left:1rem;top:.5rem}

.container{width:100%;max-width:var(--container);margin-inline:auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.section{padding-block:var(--section-y)}
.s-crema{background:var(--bg)} .s-calido{background:var(--bg-alt)}
.s-azul{background:var(--blue);color:#fff} .s-profundo{background:var(--band);color:#fff}
.s-azul h2,.s-azul h3,.s-profundo h2,.s-profundo h3{color:#fff}
.site-header{border-bottom:3px solid var(--blue)}
.s-azul a:not(.btn),.s-profundo a:not(.btn){color:#fff}
[id]{scroll-margin-top:calc(var(--header-h) + 8px)}
.head{margin-bottom:2rem} .head p{color:var(--fg-soft);margin:0}
.s-profundo .head p{color:rgba(255,255,255,.9)}
.eyebrow{font-family:var(--font-mono);font-size:.82rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--terra);margin:0 0 .75rem}
.tagline{font-family:var(--font-title);font-style:italic;font-size:1.35rem;color:var(--terra)!important;margin:0 0 .75rem}
.rule{width:72px;height:2px;background:var(--fg);border:0;margin:1rem 0}
.small-mono{font-family:var(--font-mono);font-size:.82rem;letter-spacing:.1em;text-transform:uppercase;color:var(--fg-soft)!important}

.site-header{position:sticky;top:env(safe-area-inset-top,0px);z-index:100;height:var(--header-h);background:var(--header-bg);color:var(--header-fg);box-shadow:0 2px 10px rgba(34,29,25,.08)}
.site-header .container{height:100%;display:flex;align-items:center;gap:.75rem}
.brand{display:inline-flex;align-items:center;margin-right:auto;text-decoration:none}
.brand img{height:44px;width:auto;border-radius:10px;background:#F3F0E7}
.nav{display:none}
.nav a{color:var(--header-fg);text-decoration:none;font-weight:500;font-size:.95rem;padding:.5rem .75rem;border-radius:var(--radius-sm)}
.nav a:hover,.nav a:focus-visible{background:var(--nav-hover);color:var(--link)}
.nav.is-open{display:flex;flex-direction:column;position:absolute;left:0;right:0;top:var(--header-h);background:var(--header-bg);padding:.75rem max(16px,env(safe-area-inset-left,0px)) 1.5rem;border-top:1px solid var(--line);box-shadow:0 12px 24px rgba(0,0,0,.18)}
.nav.is-open a{padding:.9rem .5rem;font-size:1.05rem;border-bottom:1px solid var(--line);border-radius:0}
.nav-toggle{width:44px;height:44px;display:inline-grid;place-items:center;background:transparent;border:1px solid var(--field-border);border-radius:var(--radius-sm);color:var(--header-fg);cursor:pointer}
.nav-toggle svg{width:22px;height:22px}
@media (min-width:900px){
  .brand img{height:48px}
  .nav,.nav.is-open{display:flex;position:static;flex-direction:row;gap:.25rem;background:none;padding:0;border:0;box-shadow:none;margin-right:auto}
  .nav.is-open a{border:0;padding:.5rem .75rem;font-size:.95rem}
  .nav-toggle{display:none} .brand{margin-right:1.5rem}
}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:.75rem 1.25rem;font:600 1rem/1.1 var(--font-body);text-decoration:none;text-align:center;border:2px solid transparent;border-radius:999px;cursor:pointer;transition:background-color .15s,transform .15s}
.btn:active{transform:translateY(1px)} .btn svg{width:20px;height:20px;flex:none}
.btn-primary{background:var(--blue);color:#fff} .btn-primary:hover{background:var(--blue-hover);color:#fff}
.btn-secondary{background:transparent;color:var(--link);border-color:var(--link)} .btn-secondary:hover{background:var(--link);color:var(--bg)}
.btn-wa{background:var(--wa);color:var(--wa-ink)} .btn-wa:hover{background:var(--wa-hover);color:var(--wa-ink)}
.btn-sm{min-height:44px;padding:.5rem .9rem;font-size:.9rem} .btn-lg{min-height:54px;padding:.9rem 1.6rem;font-size:1.05rem}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem}
.site-header .btn-wa .txt{display:none}
@media (min-width:420px){.site-header .btn-wa .txt{display:inline}}
.link-wa{display:inline-flex;align-items:center;gap:.4rem;font-weight:600;font-size:.875rem;color:var(--wa-ink);background:var(--wa);padding:.55rem .9rem;border-radius:999px;text-decoration:none}
.link-wa:hover{background:var(--wa-hover);color:var(--wa-ink)} .link-wa svg{width:16px;height:16px}

.hero{padding-block:1.5rem var(--section-y);background:var(--bg);border-left:8px solid var(--blue)}
.hero-grid{display:grid;gap:1.5rem}
.hero-media{order:-1;min-width:0}
.hero-text{min-width:0} .hero-text p{color:var(--fg-soft)}
.chips{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.5rem 0 0;padding:0;list-style:none}
.chip{font-size:.875rem;font-weight:500;padding:.35rem .75rem;border:1px solid var(--line);border-radius:999px;background:var(--chip-bg)}
@media (min-width:900px){.hero{padding-block:3rem 4rem}.hero-grid{grid-template-columns:1.2fr 1fr;align-items:center;gap:3rem}.hero-media{order:0}}
.media{position:relative;overflow:hidden;border-radius:var(--radius);background:var(--line);max-width:100%}
.r43{aspect-ratio:4/3} .r1610{aspect-ratio:16/10} .r45{aspect-ratio:4/5}
.hero-media .media{aspect-ratio:16/10} @media (min-width:900px){.hero-media .media{aspect-ratio:4/3}}
.ph{display:grid;place-items:center;text-align:center;padding:1rem;width:100%;height:100%;background:repeating-linear-gradient(45deg,rgba(128,120,105,.08) 0 12px,transparent 12px 24px),var(--ph-bg);border:2px dashed var(--terra);border-radius:inherit;color:var(--terra);font-weight:600;font-size:.9rem}
.ph small{display:block;margin-top:.25rem;font-weight:400;color:var(--fg-soft);font-size:.78rem}

.grid3{display:grid;gap:1rem;grid-template-columns:1fr;margin:0;padding:0;list-style:none}
@media (min-width:640px){.grid3{grid-template-columns:repeat(2,1fr);gap:1.5rem}}
@media (min-width:960px){.grid3{grid-template-columns:repeat(3,1fr)}}
.card{display:flex;flex-direction:column;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.card .media{border-radius:0}
.card-body{display:flex;flex-direction:column;gap:.5rem;padding:1rem 1rem 1.5rem;flex:1}
.card-body h3{margin:0}
.card-body ul{margin:0;padding-left:1.1rem;color:var(--fg-soft);font-size:.95rem}
.card-body p{margin:0;font-size:.95rem;color:var(--fg-soft)}
.card-cta{margin-top:auto;padding-top:.75rem}
.note{margin:1.5rem 0 0;font-size:.9rem;color:var(--fg-soft)}
.cta-band{padding-block:2rem}
.cta-band .container{display:flex;flex-direction:column;gap:1rem;align-items:flex-start}
.cta-band p{margin:0;font-family:var(--font-title);font-size:1.25rem;font-weight:700;max-width:40ch}
@media (min-width:760px){.cta-band .container{flex-direction:row;align-items:center;justify-content:space-between}}
.cta-inline{display:flex;justify-content:center;margin-top:2rem}

.why{display:grid;gap:2rem}
.why>div{min-width:0}
.why-list{display:grid;gap:1rem;margin:0 0 1.5rem;padding:0;list-style:none}
.why-item{display:grid;grid-template-columns:44px 1fr;gap:.75rem;align-items:start}
.why-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--icon-bg);color:var(--link)}
.why-icon svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.why-item h3{margin:0 0 .15rem} .why-item p{margin:0;font-size:.95rem;color:var(--fg-soft)}
.contract{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.25rem}
.contract h3{margin-bottom:.5rem}
.contract ul{margin:0;padding:0;list-style:none;display:grid;gap:.4rem}
.contract li{display:flex;gap:.6rem;align-items:flex-start}
.contract li::before{content:"";flex:none;width:.5rem;height:.5rem;margin-top:.55rem;border-radius:50%;background:var(--terra)}
@media (min-width:900px){.why{grid-template-columns:.8fr 1.2fr;gap:3rem;align-items:center}}

.zones-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1rem;padding:0;list-style:none}
.zones-chips li{padding:.45rem 1rem;border-radius:999px;background:var(--chip-bg);border:1px solid var(--line);font-weight:500}

.faq{max-width:760px;margin-inline:auto;display:grid;gap:.5rem}
.faq details{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-sm)}
.faq summary{list-style:none;cursor:pointer;padding:1rem 3rem 1rem 1rem;font-weight:600;position:relative;min-height:48px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:1rem;top:50%;width:10px;height:10px;border-right:2px solid var(--link);border-bottom:2px solid var(--link);transform:translateY(-70%) rotate(45deg);transition:transform .2s}
.faq details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.faq details[open]{border-color:var(--blue)}
.faq .a{padding:0 1rem 1rem;color:var(--fg-soft)} .faq .a p{margin:0}

.form-card{max-width:640px;margin-inline:auto;background:var(--surface);color:var(--fg);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow)}
.form-grid{display:grid;gap:1rem}
.field{display:grid;gap:.35rem;min-width:0} .field label{font-weight:600;font-size:.95rem}
.field input,.field select{width:100%;min-height:48px;padding:.7rem .85rem;font:inherit;color:var(--fg);background:var(--field-bg);border:1.5px solid var(--field-border);border-radius:var(--radius-sm)}
.field input:focus,.field select:focus{outline:3px solid var(--focus);outline-offset:1px}
.form-card .btn{width:100%} .form-note{font-size:.85rem;color:var(--fg-soft);margin:.75rem 0 0}
@media (min-width:640px){.form-card{padding:2rem}.grid2{grid-template-columns:1fr 1fr}.full{grid-column:1/-1}}

.contact{display:grid;gap:1.5rem}
.contact>div{min-width:0}
.contact-list{display:grid;gap:.75rem;margin:0 0 1.5rem;padding:0;list-style:none}
.contact-list b{display:block;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:var(--fg-soft)}
.contact-list span{overflow-wrap:anywhere}
@media (min-width:900px){.contact{grid-template-columns:1fr 1fr;align-items:center;gap:3rem}}

.blog-grid{display:grid;gap:1rem;grid-template-columns:1fr}
@media (min-width:760px){.blog-grid{grid-template-columns:repeat(2,1fr);gap:1.5rem}}
.post-card{display:flex;flex-direction:column;gap:.5rem;padding:1.25rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}
.post-card h3{margin:0;font-size:1.25rem} .post-card h3 a{color:var(--fg);text-decoration:none} .post-card h3 a:hover{color:var(--link)}
.post-card p{margin:0;color:var(--fg-soft);font-size:.95rem}
.meta{font-size:.85rem;color:var(--fg-soft);margin:0}
.more{margin-top:1.5rem}

.article{padding-block:2rem var(--section-y)}
.article .container{max-width:760px}
.article h1{margin-bottom:.5rem}
.article h2{margin-top:2rem;font-size:1.4rem}
.article p,.article li{max-width:none}
.article ul,.article ol{padding-left:1.3rem;margin:0 0 1rem}
.article li{margin-bottom:.4rem}
.article blockquote{margin:1.25rem 0;padding:1rem 1.25rem;background:var(--bg-alt);border-left:4px solid var(--blue);border-radius:0 var(--radius-sm) var(--radius-sm) 0}
.article blockquote p{margin:0}
.disclaimer{font-size:.9rem;color:var(--fg-soft);border-top:1px solid var(--line);padding-top:1rem;margin-top:2rem}
.crumbs{font-size:.9rem;margin:0 0 1rem}

.site-footer{background:var(--foot-bg);color:#fff;padding-block:3rem 1.5rem;font-size:.875rem}
.site-footer a{color:#fff} .site-footer a:hover{color:#fff}
.site-footer h2{color:#fff;font-size:1rem;font-family:var(--font-body);font-weight:600;margin-bottom:.75rem}
.foot-grid{display:grid;gap:1.5rem}
.foot-grid>div{min-width:0}
.foot-list{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.foot-products{margin:2rem 0 0;padding-top:1rem;border-top:1px solid rgba(255,255,255,.2);font-size:.8rem;color:var(--foot-muted);max-width:none}
.foot-products a{color:var(--foot-muted)}
.foot-legal{margin:.75rem 0 0;font-size:.8rem;color:var(--foot-muted);max-width:none}
@media (min-width:760px){.foot-grid{grid-template-columns:1.4fr 1fr 1fr;gap:3rem}}

.wa-float{position:fixed;z-index:90;right:max(1rem,env(safe-area-inset-right,0px));bottom:max(1rem,env(safe-area-inset-bottom,0px));display:inline-flex;align-items:center;gap:.5rem;min-height:52px;padding:.75rem 1.1rem;background:var(--wa);color:var(--wa-ink);font-weight:600;text-decoration:none;border-radius:999px;box-shadow:0 6px 18px rgba(0,0,0,.3)}
.wa-float:hover{background:var(--wa-hover);color:var(--wa-ink)} .wa-float svg{width:24px;height:24px}
@media (min-width:900px){.wa-float{padding:.8rem}.wa-float .txt{display:none}}

.foot-logo{height:72px;width:auto;border-radius:12px;margin-bottom:.75rem}

/* Hero con fondo animado (se reemplaza .hero-bg por la animación/video actual) */
.hero{position:relative;overflow:hidden;border-left:0;color:#fff;background:var(--band)}
.hero-bg{position:absolute;inset:0;background:radial-gradient(120% 90% at 85% 10%,rgba(255,255,255,.18),transparent 55%),linear-gradient(135deg,#0076B8 0%,#045C8F 100%)}
.hero-bg img,.hero-bg video{width:100%;height:100%;object-fit:cover}
.hero-scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,118,184,.55) 0%,rgba(4,92,143,.80) 62%,rgba(4,80,125,.9) 100%)}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:72px;background:linear-gradient(180deg,rgba(243,240,231,0),var(--bg))}
.hero-inner{position:relative;z-index:1;padding-block:2.5rem 5.5rem;max-width:var(--container)}
.hero-inner .hero-text{max-width:640px}
.hero h1{color:#fff}
.hero .eyebrow{color:#DCEBF5}
.hero .tagline{color:#F3F0E7!important}
.hero .rule{background:#F3F0E7}
.hero .hero-text p{color:rgba(255,255,255,.93)}
.hero .btn-secondary{color:#fff;border-color:#fff}
.hero .btn-secondary:hover{background:#fff;color:var(--link)}
.hero .chip{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.5);color:#fff}
@media (min-width:900px){.hero-inner{padding-block:4.5rem 7rem}}
.hero-bg{background-size:200% 200%,100% 100%;animation:heroShift 18s ease-in-out infinite alternate}
@keyframes heroShift{from{background-position:0% 0%,0 0}to{background-position:100% 100%,0 0}}
@media (prefers-reduced-motion:reduce){.hero-bg{animation:none}}

.prod-grid{list-style:none;padding:0;margin:0}
.prod .prod-ico{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:var(--bg);border-left:4px solid var(--blue);font-size:1.5rem}
.prod-more{margin-top:1.5rem;text-align:center;color:var(--fg-soft)}
@media (min-width:1000px){.prod-grid{grid-template-columns:repeat(4,1fr)}}
.prod-more{display:flex;gap:.75rem;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:1.75rem}

.hero-bg{animation:none;background:#045C8F}
.hero-bg img{display:block;object-position:70% 50%}
.hero-scrim{background:linear-gradient(90deg,rgba(0,118,184,.94) 0%,rgba(0,118,184,.80) 42%,rgba(4,92,143,.28) 100%),linear-gradient(180deg,rgba(243,240,231,0) 70%,rgba(243,240,231,.25) 100%)}
@media (max-width:760px){.hero-scrim{background:linear-gradient(180deg,rgba(0,118,184,.80) 0%,rgba(4,92,143,.88) 100%)}}
.r11{aspect-ratio:1/1}
.media img{width:100%;height:100%;object-fit:cover;display:block}
.prod-all{margin:1.25rem 0 0;text-align:center}
.prod-all a{font-weight:600;color:var(--link)}
