/* Fumigadora Humboldt — sitio público */
:root{
  --red:#D3191F; --red-deep:#A31117; --black:#000; --graphite:#25292C; --steel:#5B6166;
  --mist:#F1F1F2; --line:#DCDDDF; --paper:#FFFFFF; --ink:#1A1C1E; --ink-soft:#4A4F54;
  --eco:#4E9F3D; --eco-soft:#EEF6EA;
  --fh:"Montserrat",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --fb:"Source Sans 3",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --wrap:1180px; --r:10px;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px);
}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]){
  --paper:#16181A; --mist:#1F2225; --line:#33373B; --ink:#F2F2F3; --ink-soft:#B9BDC1; --graphite:#0E0F10; --eco-soft:#1C2A18;
}}
:root[data-theme="dark"]{ --paper:#16181A; --mist:#1F2225; --line:#33373B; --ink:#F2F2F3; --ink-soft:#B9BDC1; --graphite:#0E0F10; --eco-soft:#1C2A18; }
html{scroll-padding-top:calc(env(safe-area-inset-top,0px) + 80px);-webkit-text-size-adjust:100%}
*,*::before,*::after{box-sizing:inherit}
body{margin:0;background:var(--paper);color:var(--ink);font:400 1.0625rem/1.6 var(--fb);text-rendering:optimizeLegibility}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3{font-family:var(--fh);line-height:1.12;margin:0 0 .5em;letter-spacing:-.01em}
h1{font-size:clamp(2rem,4.6vw,3.6rem);font-weight:800}
h2{font-size:clamp(1.45rem,2.6vw,2.1rem);font-weight:800}
h3{font-size:1.1rem;font-weight:700}
p{margin:0 0 1em}
.wrap{width:min(100% - 2.5rem,var(--wrap));margin-inline:auto}
.narrow{width:min(100% - 2.5rem,760px)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.skip{position:absolute;left:-999px;top:0;background:var(--red);color:#fff;padding:.6em 1em;z-index:99}
.skip:focus{left:.5rem}
:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.lead{font-size:clamp(1.1rem,1.6vw,1.3rem);color:var(--ink-soft);max-width:60ch}
.fine{font-size:.92rem;color:var(--ink-soft)}

/* fondo de triángulos del catálogo */
.tri{background-color:var(--paper);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='%23888' fill-opacity='.045'%3E%3Cpath d='M0 0h40L20 34z'/%3E%3Cpath d='M60 52h40L80 86z'/%3E%3Cpath d='M80 0l20 34H60z'/%3E%3C/g%3E%3C/svg%3E")}
.sec-mist.tri{background-color:var(--mist)}
.tri-dark{background-color:var(--graphite);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='%23fff' fill-opacity='.05'%3E%3Cpath d='M0 0h40L20 34z'/%3E%3Cpath d='M60 52h40L80 86z'/%3E%3Cpath d='M80 0l20 34H60z'/%3E%3C/g%3E%3C/svg%3E")}

/* botones */
.btns{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.25rem 0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:.7rem 1.25rem;border-radius:var(--r);
  font:700 1rem/1.1 var(--fh);text-decoration:none;border:2px solid transparent;cursor:pointer;transition:background-color .15s,color .15s}
.btn svg{width:1.25em;height:1.25em;flex:none}
.btn-lg{min-height:56px;padding:.9rem 1.5rem;font-size:1.05rem}
.btn-red{background:var(--red);color:#fff}.btn-red:hover{background:var(--red-deep)}
.btn-line{border-color:var(--ink);color:var(--ink);background:transparent}.btn-line:hover{background:var(--ink);color:var(--paper)}
.btn-white{background:#fff;color:var(--red)}.btn-white:hover{background:var(--mist)}
.btn-line-w{border-color:#fff;color:#fff}.btn-line-w:hover{background:#fff;color:var(--red)}

/* header */
.site-h{position:sticky;top:env(safe-area-inset-top,0px);z-index:50;background:var(--paper);border-bottom:1px solid var(--line)}
.h-in{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:72px}
.brand img{height:54px;width:auto}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .brand img{filter:brightness(0) invert(1)}}
:root[data-theme="dark"] .brand img{filter:brightness(0) invert(1)}
#nav{display:flex;align-items:center;gap:1.25rem}
#nav ul{display:flex;gap:1.25rem;list-style:none;margin:0;padding:0}
#nav ul a{font:600 .98rem var(--fh);text-decoration:none;padding:.4rem 0;border-bottom:2px solid transparent}
#nav ul a:hover,#nav ul a[aria-current]{border-color:var(--red)}
.lang{font:600 .9rem var(--fh);color:var(--ink-soft)}
.burger{display:none;background:none;border:0;width:48px;height:48px;padding:12px;cursor:pointer}
.burger span{display:block;height:3px;background:var(--ink);margin:4px 0;border-radius:2px}
@media (max-width:900px){
  .burger{display:block}
  #nav{position:fixed;inset:calc(72px + env(safe-area-inset-top,0px)) 0 auto 0;flex-direction:column;align-items:stretch;gap:0;background:var(--paper);
    border-bottom:1px solid var(--line);padding:.5rem 1.25rem 1.25rem;display:none;max-height:calc(100dvh - 72px);overflow:auto}
  #nav.open{display:flex}
  #nav ul{flex-direction:column;gap:0}
  #nav ul a{display:block;padding:.9rem 0;border-bottom:1px solid var(--line);font-size:1.1rem}
  #nav .btn{margin-top:1rem}
  .lang{padding:1rem 0 0}
}

/* hero */
.hero{overflow:hidden}
.hero-in{display:grid;grid-template-columns:1.15fr .85fr;gap:2rem;align-items:center;min-height:min(78vh,720px)}
.hero-t{padding:3rem 0}
.hero h1{max-width:16ch}
.hero-img{margin:0;align-self:stretch;position:relative}
.hero-img img{width:100%;height:100%;object-fit:cover;clip-path:polygon(22% 0,100% 0,100% 100%,0 100%,0 38%)}
@media (max-width:820px){
  .hero-in{grid-template-columns:1fr;min-height:0;gap:0}
  .hero-img{order:-1;height:46vh;margin-inline:-1.25rem}
  .hero-img img{clip-path:polygon(0 0,100% 0,100% 82%,0 100%);object-position:50% 20%}
  .hero-t{padding:1.5rem 0 2.5rem}
  .btns .btn-lg{flex:1 1 100%}
}

/* secciones */
.sec{padding:clamp(3rem,7vw,5.5rem) 0}
.sec-mist{background:var(--mist)}
.sec-h{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem 2rem;margin-bottom:2rem}
.sec-h p{color:var(--ink-soft);margin:0;max-width:48ch}
.h-sm{font-size:1.3rem;margin-top:1rem}

/* hexágonos: el elemento propio de la marca */
.hex{--s:118px;display:grid;place-items:center;width:var(--s);aspect-ratio:1/1.1547;background:var(--graphite);color:#fff;
  clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);transition:background-color .2s}
.pic{display:block;width:58%;height:58%;background:currentColor;-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat}
.hexgrid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,1fr);gap:4.5rem 1rem}
.hexgrid li:nth-child(even){transform:translateY(58px)}
.hexgrid{padding-bottom:58px}
.hex-a{display:flex;flex-direction:column;align-items:center;text-decoration:none;text-align:center;padding:.25rem}
.hx-n{font:700 .95rem/1.2 var(--fh);margin-top:.6rem}
.hex-a:hover .hex,.hex-a:focus-visible .hex{background:var(--red)}
.hexgrid.sm{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));padding-bottom:0;gap:1rem .5rem}
.hexgrid.sm li:nth-child(n){transform:none}
.hexgrid.sm .hex{--s:78px}
.hx-n{max-width:14ch}
.hexgrid.sm .hx-n{font-size:.85rem}
@media (max-width:1000px){.hexgrid{grid-template-columns:repeat(4,1fr)}}
@media (max-width:620px){.hexgrid{grid-template-columns:repeat(3,1fr);gap:3.25rem .25rem;padding-bottom:44px}.hexgrid li:nth-child(even){transform:none}.hexgrid li:nth-child(3n+2){transform:translateY(44px)}.hex{--s:88px}}

/* servicios */
.svc-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:0 2.5rem}
.svc-list li{border-top:1px solid var(--line)}
.svc-list a{display:block;padding:1.1rem 0 1.1rem 1.6rem;text-decoration:none;position:relative}
.svc-list a::before{content:"";position:absolute;left:0;top:1.45rem;width:14px;height:16px;background:var(--red);clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.svc-list h2,.svc-list h3{font-size:1.15rem;margin:0 0 .25rem}
.svc-list p{margin:0;color:var(--ink-soft)}
.svc-list a:hover h2,.svc-list a:hover h3{color:var(--red)}
.svc-list.big h2{font-size:1.3rem}
@media (max-width:760px){.svc-list{grid-template-columns:1fr}}
.more-links{display:flex;flex-wrap:wrap;gap:1.5rem;margin-top:2rem;font:700 1rem var(--fh)}
.more-links a{color:var(--red)}

/* franja nocturna */
.night{display:grid;grid-template-columns:.8fr 1.2fr;background:#000;color:#fff}
.night-img img{width:100%;height:100%;object-fit:cover}
.night-t{padding:clamp(2.5rem,6vw,5rem) clamp(1.25rem,5vw,4.5rem)}
.night-t h2{font-size:clamp(1.8rem,3.6vw,3rem);max-width:14ch}
.night-t p{color:#C9CCCF;max-width:52ch}
.night-t h3{margin-top:2rem;color:#fff}
@media (max-width:820px){.night{grid-template-columns:1fr}.night-img{height:40vh}}
.clients{list-style:none;margin:1rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.75rem}
.clients img{width:76px;height:76px;border-radius:50%}
.clients.light img{width:88px;height:88px;box-shadow:0 0 0 1px var(--line)}

/* pasos */
.steps{list-style:none;counter-reset:s;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:2rem}
.steps li{counter-increment:s;border-top:4px solid var(--red);padding-top:1rem}
.steps li::before{content:counter(s);display:block;font:800 2.4rem/1 var(--fh);color:var(--red);margin-bottom:.5rem}
.steps p{color:var(--ink-soft);margin:0}
@media (max-width:900px){.steps{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.steps{grid-template-columns:1fr}}

/* permisos */
.permits{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:1.5rem;align-items:start}
.permits li{display:flex;flex-direction:column;align-items:center;gap:.6rem;text-align:center;font-size:.9rem;color:var(--ink-soft)}
.permits img{height:96px;width:auto;object-fit:contain;background:#fff;padding:6px;border-radius:6px}
@media (max-width:760px){.permits{grid-template-columns:repeat(2,1fr)}}

/* cta */
.cta{background:var(--red);color:#fff}
.cta-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem;padding:2.5rem 0}
.cta p{font:700 clamp(1.15rem,2vw,1.45rem)/1.3 var(--fh);max-width:40ch;margin:0}
.cta .btns{margin:0}

/* bandas de páginas internas */
.band{color:#fff;padding:clamp(2rem,5vw,3.5rem) 0}
.band .lead{color:#D2D5D8}
.crumbs{font-size:.9rem;color:#AEB3B8;margin-bottom:1rem}
.crumbs a{color:#fff}.crumbs .sep{margin:0 .5rem}
.jump{display:flex;gap:1.5rem;font:700 1rem var(--fh)}
.jump a{color:#fff}
.pest-top{display:flex;gap:1.75rem;align-items:center}
.hex.big{--s:130px;background:var(--red);flex:none}
@media (max-width:560px){.pest-top{flex-direction:column;align-items:flex-start}.hex.big{--s:96px}}

.two{display:grid;grid-template-columns:1.5fr 1fr;gap:3rem;align-items:start}
@media (max-width:860px){.two{grid-template-columns:1fr}}
.prose{max-width:68ch}
.prose h2{font-size:1.35rem;margin-top:2rem}
.prose h2:first-child{margin-top:0}
.side{position:sticky;top:96px}
.side-box{border:2px solid var(--ink);border-radius:var(--r);padding:1.5rem;display:flex;flex-direction:column;gap:.75rem}
.side-box h2{font-size:1.25rem;margin:0}
.side-box p{margin:0}
.tip{border-left:4px solid var(--red);background:var(--mist);padding:1rem 1.25rem;margin:1.5rem 0}
.tip h2{font-size:1rem;margin:0 0 .25rem}
.tip p{margin:0}
.eq-mini{display:grid;grid-template-columns:140px 1fr;gap:1.25rem;align-items:center;margin:2rem 0;padding:1rem;background:var(--mist);border-radius:var(--r)}
.eq-mini img{background:#fff;border-radius:6px}
.eq-mini h2{font-size:1.05rem;margin:0 0 .3rem}.eq-mini p{margin:0;font-size:.97rem}
.photo{margin:0}.photo img{width:100%;border-radius:var(--r);object-fit:cover;max-height:620px}

.scope{list-style:none;margin:0;padding:0;columns:2;column-gap:2rem}
.scope li{break-inside:avoid;padding:.7rem 0 .7rem 1.4rem;border-bottom:1px solid var(--line);position:relative;font-weight:600}
.scope li::before{content:"";position:absolute;left:0;top:1.05rem;width:10px;height:12px;background:var(--red);clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
@media (max-width:520px){.scope{columns:1}}

.eq-list{list-style:none;margin:0;padding:0;display:grid;gap:2rem}
.eq-list li{display:grid;grid-template-columns:220px 1fr;gap:2rem;align-items:center;border-bottom:1px solid var(--line);padding-bottom:2rem}
.eq-list img{background:#fff;border-radius:var(--r)}
@media (max-width:620px){.eq-list li{grid-template-columns:1fr}.eq-list img{max-width:220px}}

/* ecológica: único lugar con verde */
.eco-band{background:#2F6B24;color:#fff}
.eco-band .lead{color:#E3F0DE}.eco-band .crumbs,.eco-band .crumbs a{color:#E3F0DE}
.eco{background:var(--eco-soft)}
.eco-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:2rem}
.eco-list li{border-top:4px solid var(--eco);padding-top:1rem}
.eco-list h2{font-size:1.15rem}

/* recomendaciones */
.recs{display:grid;grid-template-columns:1fr 1fr;gap:3rem}
@media (max-width:860px){.recs{grid-template-columns:1fr}}
.rec-h{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;border-bottom:4px solid var(--red);padding-bottom:1rem;margin-bottom:1rem}
.rec-h h2{margin:0}
.rec h3{margin-top:1.5rem;color:var(--red)}
.checks{list-style:none;margin:0;padding:0}
.checks li{padding:.55rem 0 .55rem 1.9rem;position:relative;border-bottom:1px solid var(--line)}
.checks li::before{content:"";position:absolute;left:.1rem;top:.85rem;width:.8rem;height:.45rem;border-left:3px solid var(--red);border-bottom:3px solid var(--red);transform:rotate(-45deg)}
.values{columns:2}

/* contacto y formularios */
.channels{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.ch{display:flex;flex-direction:column;padding:1rem;border:1px solid var(--line);border-radius:var(--r);text-decoration:none;min-height:72px}
.ch b{font:700 .9rem var(--fh);color:var(--red)}.ch span{word-break:break-word}
.ch:hover{border-color:var(--ink)}
.addr{grid-column:1/-1;margin-top:1rem}.addr h2{font-size:1.1rem}
.map-link{font-weight:600;color:var(--red)}
.map{grid-column:1/-1;border-radius:var(--r);overflow:hidden;aspect-ratio:4/3;background:var(--mist)}
.map iframe{width:100%;height:100%;border:0}
@media (max-width:520px){.channels{grid-template-columns:1fr}}
.form{display:flex;flex-direction:column;gap:1rem}
.form label{display:flex;flex-direction:column;gap:.35rem;font-weight:600}
.form input,.form select,.form textarea{font:inherit;font-weight:400;color:var(--ink);background:var(--paper);border:2px solid var(--line);border-radius:8px;padding:.75rem .85rem;min-height:52px}
.form input:focus,.form select:focus,.form textarea:focus{border-color:var(--ink);outline:none}
.form [aria-invalid="true"]{border-color:var(--red)}
.form fieldset{border:0;margin:0;padding:0}
.form legend{font-weight:600;margin-bottom:.5rem}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media (max-width:560px){.row2{grid-template-columns:1fr}}
.seg{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}
.seg input,.chk input{position:absolute;opacity:0;pointer-events:none}
.seg span{display:flex;align-items:center;justify-content:center;min-height:52px;border:2px solid var(--line);border-radius:8px;font:700 1rem var(--fh);cursor:pointer}
.seg input:checked+span{border-color:var(--red);background:var(--red);color:#fff}
.seg input:focus-visible+span,.chk input:focus-visible+span{outline:3px solid var(--red);outline-offset:2px}
.chks{display:flex;flex-wrap:wrap;gap:.5rem}
.chk span{display:inline-flex;align-items:center;min-height:44px;padding:.4rem .9rem;border:2px solid var(--line);border-radius:999px;cursor:pointer;font-weight:600;font-size:.95rem}
.chk input:checked+span{border-color:var(--red);background:var(--red);color:#fff}
.err{color:var(--red);font-weight:600;margin:0}
.form .btn{align-self:flex-start}
@media (max-width:560px){.form .btn{align-self:stretch}}

/* footer */
.site-f{background:#000;color:#C9CCCF;padding:3.5rem 0 calc(6rem + env(safe-area-inset-bottom,0px))}
.f-grid{display:grid;grid-template-columns:1.2fr 1fr .8fr 1.2fr;gap:2rem}
.site-f h2{font-size:1rem;color:#fff;margin-bottom:.8rem}
.site-f ul{list-style:none;margin:0;padding:0}
.site-f li{margin:.35rem 0}
.site-f a{color:#C9CCCF;text-decoration:none}.site-f a:hover{color:#fff;text-decoration:underline}
.site-f address{font-style:normal}.site-f address p{margin:0 0 .5rem}
.f-brand img{width:130px;margin-bottom:1rem}
.motto{font:700 1.05rem var(--fh);color:#fff}
.f-legal{border-top:1px solid #2A2D30;margin-top:2.5rem;padding-top:1.25rem;font-size:.85rem}
@media (max-width:900px){.f-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.f-grid{grid-template-columns:1fr}}

/* botón flotante de WhatsApp */
.wa-float{position:fixed;right:max(1rem,env(safe-area-inset-right,0px));bottom:calc(1rem + env(safe-area-inset-bottom,0px));z-index:60;
  display:flex;align-items:center;gap:.5rem;background:var(--red);color:#fff;text-decoration:none;border-radius:999px;
  padding:.8rem 1.1rem;font:700 1rem var(--fh);box-shadow:0 6px 18px rgba(0,0,0,.28)}
.wa-float svg{width:26px;height:26px}
.wa-float:hover{background:var(--red-deep)}
@media (max-width:560px){.wa-float span{display:none}.wa-float{padding:.9rem}}

@media (prefers-reduced-motion:reduce){*{transition:none!important}}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .hex{background:#3A3F44}:root:not([data-theme="light"]) .hex-a:hover .hex{background:var(--red)}}
:root[data-theme="dark"] .hex{background:#3A3F44}
