/* ==========================================================
   SAFE PLACE · Hoja de estilos
   Paleta tomada del logotipo: verde #52A800 · azul #0A84E8
   Tipografía: Archivo (títulos) · IBM Plex Sans (texto) · IBM Plex Mono (datos)
   ========================================================== */

:root {
    --green: #52a800;
    --green-700: #3a7d00;
    --green-100: #eef7e4;
    --blue: #0a84e8;
    --blue-700: #0068c2;
    --navy: #0b1b2e;
    --navy-800: #0f2440;
    --ink: #0d0f12;
    --text: #1d232b;
    --muted: #5b6573;
    --line: #dfe3e8;
    --tint: #f3f5f7;
    --white: #fff;

    --f-head: "Archivo", "Arial Narrow", system-ui, sans-serif;
    --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

    --wrap: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --radius: 4px;
    --section: clamp(64px, 9vw, 120px);
    --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5 { overflow-wrap: break-word; hyphens: auto; font-family: var(--f-head); font-stretch: 88%; line-height: 1.08; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { top: 8px; }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: .02em; }
.muted { color: var(--muted); }
.muted-light { color: #aab6c4; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipografía utilitaria ---------- */
.h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; }
.h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.h4 { font-size: 21px; font-weight: 700; }
.h5 { font-size: 17px; font-weight: 700; }
.lead { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--ink); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); margin: 0 0 16px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--green); flex: none; }
.eyebrow--light { color: #9ee05a; }

/* ---------- Botones ---------- */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; font-family: var(--f-body); font-weight: 600; font-size: 15.5px; line-height: 1.2; text-decoration: none; background: var(--bg); color: var(--fg); border: 2px solid var(--bg); border-radius: var(--radius); cursor: pointer; transition: background .18s, border-color .18s, color .18s, transform .18s; }
.btn:hover { transform: translateY(-1px); color: var(--fg); }
.btn--lg { padding: 16px 26px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn--green { --bg: var(--green-700); }
.btn--green:hover { --bg: #2f6600; }
.btn--blue { --bg: var(--blue-700); }
.btn--blue:hover { --bg: #00559f; }
.btn--dark { --bg: var(--ink); }
.btn--dark:hover { --bg: var(--navy-800); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--green); padding-bottom: 3px; }
.link-arrow i { transition: transform .18s; }
.link-arrow:hover { color: var(--green-700); }
.link-arrow:hover i { transform: translateX(4px); }
.section--dark .link-arrow, .season .link-arrow { color: inherit; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #c4ccd6; font-size: 13.5px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; }
.topbar i { color: var(--green); margin-right: 4px; }
.topbar .mono { color: #fff; }
.topbar__links { display: flex; gap: 22px; list-style: none; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #9ee05a; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.site-header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(13,15,18,.5); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand img { width: 196px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 4px; list-style: none; }
.nav ul a { display: block; padding: 8px 12px; font-weight: 500; font-size: 15.5px; color: var(--text); text-decoration: none; position: relative; }
.nav ul a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav ul a:hover::after, .nav ul a[aria-current]::after { transform: scaleX(1); }
.nav ul a[aria-current] { color: var(--ink); font-weight: 600; }
.nav-toggle { display: none; }

/* ---------- Hero (inicio) ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(78vh, 720px); background: var(--navy); color: #fff; }
.hero__text { display: flex; align-items: center; justify-content: flex-end; padding: clamp(48px, 7vw, 96px) var(--gutter); position: relative; }
.hero__text::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 6px; background: linear-gradient(90deg, var(--green) 0 50%, var(--blue) 50% 100%); }
.hero__inner { max-width: 600px; }
.hero__title { color: #fff; font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; font-stretch: 82%; line-height: .98; letter-spacing: -.02em; margin-bottom: 24px; }
.hero__title span { display: block; color: #9ee05a; }
.hero__lead { font-size: clamp(17px, 1.6vw, 19.5px); color: #c9d3de; max-width: 540px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; overflow: hidden; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }

/* ---------- Credenciales ---------- */
.creds { border-bottom: 1px solid var(--line); }
.creds__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred { display: flex; align-items: center; gap: 14px; padding: 26px 22px; border-left: 1px solid var(--line); }
.cred:last-child { border-right: 1px solid var(--line); }
.cred i { font-size: 24px; color: var(--blue); width: 28px; text-align: center; }
.cred p { margin: 0; line-height: 1.35; }
.cred strong { display: block; font-size: 14px; color: var(--muted); font-weight: 500; }
.cred .mono { font-size: 15px; color: var(--ink); }

/* ---------- Temporada ---------- */
.season { background: var(--green-100); border-bottom: 1px solid #d6ebc0; }
.season__in { display: grid; grid-template-columns: 1.1fr 1.6fr auto; gap: 40px; align-items: center; padding-block: 36px; }
.season__now h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.season__now h2 i { color: var(--green-700); margin-right: 6px; }
.season__now p { margin: 0; font-size: 15.5px; color: #3c4a33; }
.season__now .eyebrow { margin-bottom: 8px; }
.season__track { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-top: 2px solid #c3dfa6; }
.season__track li { padding: 12px 12px 0 0; position: relative; }
.season__track li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #c3dfa6; }
.season__track li.is-now::before { background: var(--green-700); box-shadow: 0 0 0 5px rgba(82,168,0,.2); }
.season__name { display: block; font-family: var(--f-head); font-weight: 700; font-size: 16px; color: var(--ink); }
.season__pests { display: block; font-size: 13px; line-height: 1.35; color: #5a6a4e; }
.season__track li:not(.is-now) .season__name { color: #6c7a61; }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #d4dbe3; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .h2 { max-width: 720px; margin-bottom: 0; }
.section-head__aside { max-width: 380px; margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Tarjetas de servicio ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.svc { grid-column: span 2; }
.svc--wide { grid-column: span 3; }
.svc__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.svc__link:hover { border-color: var(--ink); box-shadow: 0 18px 40px -28px rgba(11,27,46,.6); color: inherit; }
.svc__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.svc--wide .svc__media { aspect-ratio: 16 / 9; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc__link:hover .svc__media img { transform: scale(1.04); }
.svc__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.svc__num { font-size: 12.5px; color: var(--green-700); text-transform: uppercase; letter-spacing: .1em; }
.svc__body h3 { font-size: 22px; font-weight: 700; margin: 8px 0 8px; }
.svc__body p { font-size: 15.5px; color: var(--muted); margin-bottom: 18px; }
.svc__more { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--ink); }
.svc__more i { margin-left: 6px; color: var(--green-700); transition: transform .18s; }
.svc__link:hover .svc__more i { transform: translateX(4px); }

/* ---------- Por qué ---------- */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.why__media { position: relative; }
.why__media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.why__stamp { position: absolute; right: -18px; bottom: 34px; background: var(--green-700); color: #fff; padding: 18px 22px; line-height: 1.1; }
.why__stamp strong { display: block; font-family: var(--f-head); font-size: 48px; font-weight: 800; font-stretch: 80%; }
.why__stamp span { font-size: 13px; }
.why__stamp .mono { text-transform: uppercase; font-size: 11px; letter-spacing: .12em; }

.checks { list-style: none; margin: 24px 0 32px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; display: grid; place-items: center; font-size: 11px; color: #fff; background: var(--green-700); border-radius: 2px; }
.checks--light li { color: #c9d3de; }
.checks--light strong { color: #fff; }

/* ---------- Pasos MIP ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.steps li { padding: 22px 20px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--f-head); font-weight: 700; font-size: 18px; color: var(--ink); line-height: 1.2; transition: background .2s; }
.steps li:hover { background: var(--green-100); }
.steps .mono { display: block; font-size: 12.5px; color: var(--blue-700); margin-bottom: 26px; font-family: var(--f-mono); }

/* ---------- Auditorías ---------- */
.audit { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.audit__text p { color: var(--muted); }
.doclist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.doclist li { padding: 14px 0; border-bottom: 1px solid #d3d8de; font-size: 15.5px; display: flex; gap: 12px; align-items: baseline; }
.doclist i { color: var(--blue-700); }

/* ---------- Clientes ---------- */
.clients { padding-block: var(--section); border-bottom: 1px solid var(--line); }
.clients__grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.clients__grid li { background: #fff; }
.client { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 100%; min-height: 170px; padding: 26px 22px 20px; text-decoration: none; }
.client img { width: auto; height: auto; max-width: 78%; max-height: 84px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .72; transition: filter .25s, opacity .25s, transform .25s; }
.client__name { font-size: 12.5px; font-family: var(--f-mono); color: var(--muted); letter-spacing: .02em; text-align: center; }
.client__name i { font-size: 10px; margin-left: 4px; color: var(--blue-700); opacity: 0; transition: opacity .2s; }
.client::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.client:hover img, .client:focus-visible img { filter: none; opacity: 1; transform: scale(1.04); }
.client:hover .client__name, .client:focus-visible .client__name { color: var(--ink); }
.client:hover .client__name i, .client:focus-visible .client__name i { opacity: 1; }
.client:hover::after, .client:focus-visible::after { transform: scaleX(1); }
@media (hover: none) { .client img { filter: none; opacity: 1; } .client__name i { opacity: 1; } }

/* ---------- Residencial (inicio) ---------- */
.home-res { display: grid; grid-template-columns: 1fr 1fr; background: var(--tint); }
.home-res__media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.home-res__text { padding: clamp(48px, 7vw, 100px) var(--gutter); max-width: 640px; align-self: center; }
.home-res__text p { color: var(--muted); }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 30px; }
.tags span, .tags li { padding: 6px 12px; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); }
.tags--sm { margin: 14px 0 20px; }
.tags--sm li { font-size: 12.5px; padding: 4px 10px; font-family: var(--f-mono); background: var(--tint); }
.tags--outline li { background: transparent; border-color: var(--blue); color: var(--blue-700); font-family: var(--f-mono); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-family: var(--f-head); font-weight: 700; font-size: 19px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--f-mono); font-size: 26px; color: var(--green-700); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 40px; margin-bottom: 22px; }

/* ---------- CTA ---------- */
.cta-band { background: var(--navy); color: #c9d3de; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: linear-gradient(var(--green) 0 50%, var(--blue) 50% 100%); }
.cta-band__in { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: clamp(56px, 7vw, 88px); }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; max-width: 620px; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9aa6b4; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1.2fr .8fr 1fr; gap: 48px; padding-block: 72px 56px; }
.site-footer__brand img { width: 210px; margin-bottom: 20px; }
.site-footer__title { color: #fff; font-family: var(--f-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; font-weight: 500; margin-bottom: 18px; }
.site-footer__list { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #d0d7df; text-decoration: none; }
.site-footer a:hover { color: #9ee05a; }
.site-footer__contact p { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.site-footer__contact i { color: var(--green); margin-top: 5px; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { border: 1px solid #2a323c; padding: 5px 10px; font-size: 12px; color: #d0d7df; }
.social { list-style: none; display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #2a323c; }
.site-footer__legal { border-top: 1px solid #1f262e; font-size: 13px; }
.site-footer__legal-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 22px; }
.site-footer__legal p { margin: 0; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.wa-float__icon { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 32px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float__icon::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: wa-pulse 2.4s ease-out infinite; }
.wa-float__label { background: #fff; border: 1px solid var(--line); padding: 9px 14px; border-radius: var(--radius); font-size: 14px; line-height: 1.2; box-shadow: 0 10px 24px -14px rgba(0,0,0,.4); white-space: nowrap; transition: transform .2s, opacity .2s; }
.wa-float__label strong { color: var(--green-700); }
.wa-float:hover .wa-float__icon { transform: scale(1.07); }
.wa-float:hover .wa-float__label { transform: translateX(-3px); }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.55); opacity: 0; } }

/* ==========================================================
   PÁGINAS INTERNAS
   ========================================================== */
.phero { background: var(--navy); color: #c9d3de; padding: clamp(40px, 6vw, 72px) 0 clamp(52px, 7vw, 92px); position: relative; overflow: hidden; }
.phero--img::before { content: ""; position: absolute; inset: 0; background: var(--hero-img) center / cover no-repeat; opacity: .28; }
.phero--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 30%, rgba(11,27,46,.55)); }
.phero .wrap { position: relative; z-index: 1; }
.phero h1 { color: #fff; font-size: clamp(36px, 5vw, 64px); font-weight: 800; font-stretch: 82%; max-width: 900px; line-height: 1; }
.phero__lead { font-size: clamp(17px, 1.7vw, 20px); max-width: 720px; margin: 0; }
.phero__lead strong { color: #fff; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; margin-bottom: 36px; }
.crumbs li { color: #8e9bab; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #56657a; }
.crumbs a { color: #c9d3de; text-decoration: none; }
.crumbs a:hover { color: #9ee05a; }
.crumbs [aria-current] { color: #fff; }

.prose h2 { font-size: clamp(24px, 2.5vw, 30px); font-weight: 800; margin-top: 1.6em; }
.prose > p { font-size: 17.5px; }
.prose--narrow { max-width: 780px; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.split--rev { grid-template-columns: 1fr 1fr; }
.split__media img { border-radius: var(--radius); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-top: 0; margin: 0; }
.facts div { padding: 18px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--f-head); font-weight: 800; font-size: 28px; font-stretch: 82%; color: var(--ink); }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.mv__item { padding: 10px clamp(24px, 4vw, 56px) 10px 0; }
.mv__item + .mv__item { border-left: 1px solid #2a323c; padding-left: clamp(24px, 4vw, 56px); padding-right: 0; }
.mv__text { font-family: var(--f-head); font-size: clamp(20px, 2.1vw, 26px); font-weight: 600; font-stretch: 92%; line-height: 1.35; color: #fff; margin: 0; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: #fff; padding: 30px 26px; }
.value i { font-size: 22px; color: var(--green-700); margin-bottom: 18px; }
.value h3 { font-size: 20px; }
.value p { font-size: 15px; color: var(--muted); margin: 0; }

.policies { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.policy { background: #fff; padding: clamp(28px, 4vw, 48px); border-top: 4px solid var(--blue); }
.policy + .policy { border-top-color: var(--green); }
.policy p { font-size: 15.5px; color: var(--muted); }

/* Servicios (listado) */
.svc-rows { display: grid; gap: 0; }
.svc-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: 40px; border-bottom: 1px solid var(--line); }
.svc-row:first-child { padding-top: 0; }
.svc-row:nth-child(even) .svc-row__media { order: 2; }
.svc-row__media { display: block; overflow: hidden; border-radius: var(--radius); }
.svc-row__media img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform .5s; }
.svc-row__media:hover img { transform: scale(1.03); }
.svc-row h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-top: 10px; }
.svc-row h2 a { color: inherit; text-decoration: none; }
.svc-row h2 a:hover { color: var(--green-700); }
.svc-row p { color: var(--muted); }

.pests { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pests li { background: #fff; padding: 22px; display: grid; gap: 4px; }
.pests .mono { font-size: 12px; color: var(--blue-700); }
.pests strong { font-family: var(--f-head); font-size: 19px; color: var(--ink); }
.pests small { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* Detalle de servicio */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: clamp(40px, 5vw, 72px); align-items: start; }
.detail__fig { margin: 0 0 36px; }
.detail__fig img { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.detail__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-card { border: 1px solid var(--line); padding: 26px; border-radius: var(--radius); background: #fff; }
.side-card--dark { background: var(--navy); border-color: var(--navy); color: #c9d3de; display: grid; gap: 10px; }
.side-card__title { font-family: var(--f-head); font-weight: 800; font-size: 24px; color: #fff; line-height: 1.15; margin: 0 0 10px; }
.side-card__lic { font-size: 12px; color: #8e9bab; margin: 8px 0 0; text-align: center; }
.side-card__head { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.side-list { list-style: none; }
.side-list a { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; }
.side-list a:hover { color: var(--green-700); }
.side-list i { color: var(--blue-700); width: 18px; }

.mini-steps { counter-reset: s; list-style: none; display: grid; gap: 14px; margin: 20px 0; }
.mini-steps li { counter-increment: s; position: relative; padding-left: 52px; }
.mini-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-family: var(--f-mono); font-size: 13px; color: var(--blue-700); border: 1px solid var(--blue); width: 36px; text-align: center; padding: 2px 0; }

/* Metodología */
.big-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.big-steps li { background: #fff; padding: 26px 22px 30px; }
.big-steps__n { display: block; font-size: 34px; color: var(--green); font-family: var(--f-head); font-weight: 800; margin-bottom: 18px; }
.big-steps h2 { margin-bottom: 8px; }
.big-steps p { font-size: 14.5px; color: var(--muted); margin: 0; }

.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.season-card { border: 1px solid #2a323c; padding: 28px 24px; position: relative; }
.season-card.is-now { border-color: var(--green); background: rgba(82,168,0,.07); }
.season-card__now { position: absolute; top: -11px; left: 20px; background: var(--green-700); color: #fff; font-size: 11px; padding: 3px 8px; text-transform: uppercase; letter-spacing: .1em; }
.season-card i { font-size: 26px; color: #9ee05a; margin-bottom: 14px; }
.season-card h3 { font-size: 24px; margin-bottom: 6px; }
.season-card__pests { color: #fff; font-weight: 600; font-size: 15px; }
.season-card p { font-size: 14.5px; }
.considerations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; padding-top: 40px; border-top: 1px solid #2a323c; }
.considerations h3 { color: #fff; display: flex; gap: 10px; align-items: baseline; }
.considerations i { color: var(--blue); }
.considerations p { font-size: 14.5px; margin: 0; }

.docs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.doc-thumb { display: block; text-decoration: none; border: 1px solid var(--line); background: #fff; padding: 10px; transition: border-color .2s; }
.doc-thumb:hover { border-color: var(--ink); }
.doc-thumb img { aspect-ratio: 2/3; object-fit: cover; object-position: top; width: 100%; }
.doc-thumb span { display: block; padding: 12px 4px 4px; font-size: 14px; font-weight: 600; color: var(--ink); }
.doc-thumb i { color: var(--blue-700); margin-right: 4px; }

.flow { display: grid; gap: 10px; counter-reset: f; }
.flow__step { counter-increment: f; display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); padding: 16px 20px; font-weight: 600; color: var(--ink); position: relative; }
.flow__step i { width: 40px; height: 40px; display: grid; place-items: center; background: var(--navy); color: #9ee05a; border-radius: 50%; flex: none; }
.flow__step::after { content: counter(f, decimal-leading-zero); margin-left: auto; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }

/* Certificaciones */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert { border: 1px solid var(--line); padding: 30px 28px; border-radius: var(--radius); position: relative; }
.cert::before { content: ""; position: absolute; left: -1px; top: 28px; width: 3px; height: 40px; background: var(--green); }
.cert i { font-size: 26px; color: var(--blue-700); margin-bottom: 18px; }
.cert h2 { margin-bottom: 6px; }
.cert__id { color: var(--green-700); font-size: 15px; margin-bottom: 14px; }
.cert p:last-child { font-size: 15px; color: var(--muted); margin: 0; }
.license { margin: 0; }
.license img { border: 1px solid var(--line); background: #fff; padding: 12px; box-shadow: 0 30px 50px -40px rgba(0,0,0,.6); }
.license figcaption { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.norms { margin: 20px 0 28px; }
.norms div { padding: 16px 0; border-bottom: 1px solid #d3d8de; }
.norms dt { color: var(--blue-700); font-size: 14.5px; }
.norms dd { margin: 4px 0 0; font-size: 15.5px; }

/* Contacto */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__info { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s; }
a.contact-card:hover { border-color: var(--ink); color: var(--ink); }
.contact-card i { font-size: 20px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--tint); color: var(--blue-700); border-radius: 50%; flex: none; }
.contact-card small { display: block; font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-card strong { font-weight: 600; font-size: 16px; line-height: 1.35; word-break: break-word; }
.contact-card--wa { background: var(--green-700); border-color: var(--green-700); color: #fff; }
a.contact-card--wa:hover { color: #fff; background: #2f6600; }
.contact-card--wa i { background: rgba(255,255,255,.15); color: #fff; }
.contact-card--wa small { color: #d8f0c0; }
.contact__form { background: var(--tint); padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 26px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #c8cfd7; border-radius: var(--radius); background: #fff; color: var(--text); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,132,232,.18); }
.field [aria-invalid="true"] { border-color: #c62828; }
.field__err { color: #c62828; font-size: 13.5px; }
.field--check label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.field--check input { width: 18px; height: 18px; margin-top: 4px; flex: none; }
.hp { position: absolute; left: -9999px; }
.alert { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); margin-bottom: 24px; }
.alert--ok { background: #e7f5da; border: 1px solid #b9dd96; color: #234d00; }
.alert i { font-size: 22px; color: var(--green-700); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.35); }

.notfound { padding-block: 120px; text-align: center; }
.notfound__code { font-size: 90px; color: var(--green); margin: 0; line-height: 1; }
.notfound h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; }
.notfound .hero__actions { justify-content: center; margin-top: 28px; }

/* Animación de entrada sutil */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .wa-float__icon::before { animation: none; display: none; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { transition: none !important; }
}

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 1100px) {
    .nav { gap: 14px; }
    .nav ul a { padding: 8px 8px; font-size: 15px; }
    .brand img { width: 170px; }
    .season__in { grid-template-columns: 1fr 1.4fr; }
    .season__in .link-arrow { grid-column: 1 / -1; justify-self: start; }
    .steps, .big-steps { grid-template-columns: repeat(3, 1fr); }
    .values, .pests { grid-template-columns: repeat(2, 1fr); }
    .seasons, .considerations { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .clients__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
    :root { --header-h: 66px; }
    .nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); cursor: pointer; }
    .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background .2s; }
    .nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
    .nav-toggle__bar::before { top: -6px; }
    .nav-toggle__bar::after { top: 6px; }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }
    .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 20px; padding: 16px var(--gutter) 28px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -24px rgba(0,0,0,.4); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
    .nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .nav ul { flex-direction: column; gap: 0; }
    .nav ul a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
    .nav ul a::after { display: none; }
    .nav ul a[aria-current] { color: var(--green-700); }
    .nav__cta { width: 100%; padding: 15px; }

    .hero { grid-template-columns: 1fr; }
    .hero__media { order: -1; aspect-ratio: 16/10; }
    .hero__text { justify-content: flex-start; }
    .hero__text::after { width: 60%; }
    .creds__grid { grid-template-columns: 1fr 1fr; }
    .cred { border-left: 0; border-bottom: 1px solid var(--line); padding: 20px 8px; }
    .cred:last-child { border-right: 0; }
    .cred:nth-child(odd) { border-right: 1px solid var(--line); }
    .season__in { grid-template-columns: 1fr; gap: 28px; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .svc-grid { grid-template-columns: 1fr 1fr; }
    .svc, .svc--wide { grid-column: span 1; }
    .svc--wide:first-child, .svc:last-child:nth-child(even) { grid-column: 1 / -1; }
    .why__grid, .audit, .faq-wrap, .split, .split--rev, .detail, .contact, .policies, .mv { grid-template-columns: 1fr; }
    .why__stamp { right: 12px; }
    .home-res { grid-template-columns: 1fr; }
    .home-res__media img { min-height: 0; aspect-ratio: 16/10; }
    .svc-row { grid-template-columns: 1fr; }
    .svc-row:nth-child(even) .svc-row__media { order: 0; }
    .detail__side { position: static; }
    .mv__item, .mv__item + .mv__item { padding: 0 0 32px; border-left: 0; }
    .mv__item + .mv__item { padding-top: 32px; border-top: 1px solid #2a323c; }
    .cta-band__in { flex-direction: column; align-items: flex-start; }
    .cta-band__actions { width: 100%; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .hide-sm { display: none; }
    .topbar__in { justify-content: center; }
    .topbar__lic { display: none; }
    .topbar__links { gap: 16px; font-size: 13px; }
    .brand img { width: 150px; }
    .hero__actions .btn { width: 100%; }
    .creds__grid { grid-template-columns: 1fr; }
    .cred:nth-child(odd) { border-right: 0; }
    .season__track { grid-template-columns: 1fr 1fr; row-gap: 20px; border-top: 0; }
    .season__track li { border-top: 2px solid #c3dfa6; }
    .svc-grid { grid-template-columns: 1fr; }
    .svc--wide:first-child, .svc:last-child:nth-child(even) { grid-column: auto; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .big-steps { grid-template-columns: 1fr; }
    .big-steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; }
    .big-steps__n { grid-row: span 2; font-size: 28px; margin: 0; }
    .doclist { grid-template-columns: 1fr; }
    .values, .pests, .seasons, .considerations, .cert-grid { grid-template-columns: 1fr; }
    .clients__grid { grid-template-columns: repeat(2, 1fr); }
    .client { min-height: 130px; padding: 18px 12px 14px; }
    .client img { max-height: 60px; max-width: 86%; }
    .client__name { font-size: 11.5px; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
    .form-grid { grid-template-columns: 1fr; }
    .facts dd { font-size: 22px; }
    .docs-pair { grid-template-columns: 1fr 1fr; gap: 10px; }
    .wa-float { right: 14px; bottom: 14px; }
    .wa-float__icon { width: 54px; height: 54px; font-size: 29px; }
    .wa-float__label { display: none; }
}

/* Ajustes de títulos dentro de .prose */
.prose > p.eyebrow { font-size: 12.5px; }
.prose .eyebrow + h2 { margin-top: 0; }
.prose .h2 { font-size: clamp(30px, 4.2vw, 50px); }

/* Footer: correos por ciudad */
.site-footer__city { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6f7c8b; }

/* Servicio: videos y galería */
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 640px; }
.video { margin: 0; }
.video video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink); border-radius: var(--radius); display: block; }
.video figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gallery__item { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; background: var(--tint); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.05); }

/* Lightbox (<dialog>) */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(8, 12, 18, .88); }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; height: auto; border-radius: var(--radius); }
.lightbox p { color: #d4dbe3; font-size: 14px; margin: 10px 0 0; text-align: center; }
.lightbox__close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 20px; cursor: pointer; }

@media (max-width: 640px) {
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .videos { gap: 10px; }
}

/* Menú con 7 opciones: evitar que el logo se encoja en pantallas medianas */
.brand { flex: none; }
@media (min-width: 961px) and (max-width: 1200px) {
    .nav ul a { padding: 8px 7px; font-size: 14.5px; }
    .nav__cta { display: none; } /* el botón flotante de WhatsApp cubre esta acción */
}
