/* =========================================================
   Control Desinfecciones — hoja de estilos principal
   ========================================================= */

:root {
  --brand: #364c9b;
  --brand-600: #2f4389;
  --brand-700: #253670;
  --brand-50: #eef1fa;
  --brand-100: #dde3f4;
  --navy: #0e1733;
  --navy-2: #16214a;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e7f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --ok: #16a36f;
  --wa: #25d366;
  --wa-dark: #1da851;
  --warn: #b7791f;

  --font-head: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-stencil: "Stardos Stencil", Georgia, serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow-lg: 0 30px 60px -20px rgba(14, 23, 51, .35);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw + .5rem, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 2.4vw + .8rem, 2.75rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, white); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #c9d2ea; }
.section--dark h2, .section--dark h3 { color: #fff; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .page-hero .eyebrow { color: #9fb0e6; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.section--dark .section-head p { color: #aab5d4; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; min-height: 50px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: 999px; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--btn-bg) 70%, transparent); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary:hover { --btn-bg: var(--brand-600); --btn-bd: var(--brand-600); }
.btn--wa { --btn-bg: var(--wa); --btn-bd: var(--wa); --btn-fg: #06331a; }
.btn--wa:hover { --btn-bg: #2fe070; --btn-bd: #2fe070; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--brand); --btn-fg: var(--brand); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--brand-700); --btn-bd: #fff; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.btn--outline-light:hover { --btn-bd: #fff; box-shadow: none; background: rgba(255,255,255,.08); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; min-height: 42px; font-size: .9rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar + Header ---------- */
.topbar { background: var(--navy); color: #b8c3e3; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #dfe6fb; }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 15px; height: 15px; opacity: .8; }
.topbar__badge { display: inline-flex; align-items: center; gap: 8px; }
.topbar__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .2); }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .4); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--brand); background: var(--brand-50); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--brand); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .25s var(--ease), background .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 99;
  background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  overflow-y: auto;
}
.menu-open .mobile-nav { opacity: 1; transform: none; visibility: visible; }
.mobile-nav a:not(.btn) {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink);
}
.mobile-nav a[aria-current="page"] { color: var(--brand); }
.mobile-nav .btn { margin-top: 16px; }
.mobile-nav__meta { margin-top: auto; padding-top: 24px; color: var(--muted); font-size: .95rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #dbe3f7; background: var(--navy);
  min-height: min(88vh, 820px); display: flex; align-items: center;
  padding: 96px 0 140px;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; transform: scale(1.04); animation: heroZoom 18s var(--ease) forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 18, 42, .96) 0%, rgba(14, 23, 51, .88) 38%, rgba(20, 32, 72, .45) 70%, rgba(20, 32, 72, .15) 100%),
    linear-gradient(0deg, rgba(11, 18, 42, .7) 0%, transparent 40%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__content { max-width: 680px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px;
  background: rgba(255, 255, 255, .07); backdrop-filter: blur(6px);
  font-size: .88rem; color: #e4eaff;
}
.hero__badge b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; }
.hero__badge svg { width: 16px; height: 16px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: #a9bbff; }
.hero__lead { font-size: clamp(1.05rem, .6vw + .9rem, 1.25rem); max-width: 560px; color: #c3cde8; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__rating { display: flex; align-items: center; gap: 14px; margin-top: 40px; font-size: .92rem; color: #aab6d8; }
.stars { display: inline-flex; gap: 2px; color: #fbbf24; }
.stars svg { width: 18px; height: 18px; }

/* ---------- Trust bar (stats) ---------- */
.stats-wrap { position: relative; z-index: 5; margin-top: -84px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden;
}
.stat { padding: 30px 28px; display: flex; gap: 16px; align-items: flex-start; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.stat__icon svg { width: 24px; height: 24px; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.stat__label { font-size: .9rem; color: var(--muted); margin-top: 6px; line-height: 1.4; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 32px 32px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), #6f86dc); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon {
  width: 64px; height: 64px; border-radius: 18px; margin-bottom: 26px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-700) 100%);
  box-shadow: 0 12px 24px -12px var(--brand);
}
.service-card__icon svg { width: 34px; height: 34px; }
.service-card__tag { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.service-card h3 { font-size: 1.5rem; }
.service-card p { color: var(--muted); }
.service-card ul { list-style: none; margin: 4px 0 26px; display: grid; gap: 10px; }
.service-card li { display: flex; gap: 10px; font-size: .95rem; color: var(--text); }
.service-card .link-arrow { margin-top: auto; }

.check { flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 14%, white); color: var(--ok); display: grid; place-items: center; }
.check svg { width: 12px; height: 12px; }

/* ---------- Segments ---------- */
.segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.segment {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; color: var(--ink);
}
.segment svg { width: 26px; height: 26px; color: var(--brand); flex: none; }
.segment small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .82rem; color: var(--muted); }

/* ---------- Calculator ---------- */
.calc-section { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.calc { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.calc__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 40px); }
.calc__step { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px dashed var(--line); }
fieldset.calc__step { border: 0; padding: 0 0 30px; margin: 0 0 30px; min-width: 0; border-bottom: 1px dashed var(--line); }
fieldset.calc__step legend { padding: 0; float: left; width: 100%; }
fieldset.calc__step legend + * { clear: both; }
.calc__step:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.calc__label { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.calc__label .num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: .85rem; flex: none; }
.calc__label .hint { margin-left: auto; font-family: var(--font-body); font-weight: 500; font-size: .85rem; color: var(--muted); }

.pest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.pest {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer;
  background: #fff; transition: border-color .2s, background .2s, box-shadow .2s;
}
.pest input { position: absolute; opacity: 0; pointer-events: none; }
.pest:hover { border-color: var(--brand-100); background: #fbfcff; }
.pest__title { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink); line-height: 1.25; padding-right: 22px; }
.pest__desc { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.pest__tag { align-self: flex-start; margin-top: 4px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); background: #fdf4e3; padding: 2px 8px; border-radius: 999px; }
.pest::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid #cbd3e3; background: #fff; transition: all .2s;
}
.pest:has(input:checked) { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); }
.pest:has(input:checked)::after { border-color: var(--brand); background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.pest:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--brand) 55%, white); outline-offset: 2px; }

.area { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.area__input { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.area__input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); }
.area__input input { width: 84px; border: 0; padding: 12px 4px 12px 14px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; text-align: right; color: var(--ink); background: transparent; -moz-appearance: textfield; }
.area__input input::-webkit-outer-spin-button, .area__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.area__input input:focus { outline: none; }
.area__input span { padding: 0 14px 0 6px; color: var(--muted); font-weight: 600; }
.range { --p: 10%; -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; cursor: pointer; background: linear-gradient(90deg, var(--brand) var(--p), #e3e8f3 var(--p)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 4px 10px rgba(54, 76, 155, .35); transition: transform .15s; }
.range::-webkit-slider-thumb:active { transform: scale(1.12); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 4px 10px rgba(54, 76, 155, .35); }
.range-scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-top: 10px; grid-column: 1 / -1; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .85rem; font-weight: 600; color: var(--text); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 10px; border-radius: 10px; font-family: var(--font-head); font-weight: 700; color: var(--text); transition: all .2s; }
.segmented small { font-family: var(--font-body); font-weight: 500; font-size: .78rem; color: var(--muted); }
.segmented input:checked + span { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 55%, white); }

.toggle { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.toggle:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.toggle input { position: absolute; opacity: 0; }
.toggle__switch { flex: none; position: relative; width: 48px; height: 28px; border-radius: 999px; background: #cfd6e4; transition: background .2s; }
.toggle__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.toggle input:checked + .toggle__switch { background: var(--brand); }
.toggle input:checked + .toggle__switch::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle__switch { outline: 3px solid color-mix(in srgb, var(--brand) 55%, white); outline-offset: 2px; }
.toggle__text strong { display: block; font-family: var(--font-head); color: var(--ink); }
.toggle__text small { color: var(--muted); font-size: .85rem; }
.toggle__price { margin-left: auto; font-family: var(--font-head); font-weight: 700; color: var(--brand); white-space: nowrap; }

.quote {
  position: sticky; top: calc(var(--header-h) + 20px);
  border-radius: var(--radius-lg); overflow: hidden; color: #c9d3ee;
  background: radial-gradient(120% 80% at 100% 0%, #2c3f86 0%, var(--navy) 60%);
  box-shadow: var(--shadow-lg);
}
.quote__top { padding: 32px 32px 26px; border-bottom: 1px solid rgba(255,255,255,.1); }
.quote__label { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9fb0e6; }
.quote__price { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 3vw + 1rem, 3.2rem); color: #fff; letter-spacing: -.03em; line-height: 1.1; margin: 8px 0 6px; font-variant-numeric: tabular-nums; }
.quote__price.is-consult { font-size: 2rem; }
.quote__note { font-size: .85rem; color: #97a5cc; margin: 0; }
.quote__body { padding: 24px 32px 32px; }
.quote__title { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9fb0e6; margin-bottom: 10px; }
.breakdown { list-style: none; margin-bottom: 26px; }
.breakdown li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .94rem; }
.breakdown li span:last-child { font-family: var(--font-head); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.breakdown li.is-hidden { display: none; }
.quote__summary { font-size: .88rem; color: #aab6d8; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; }
.quote__summary b { color: #fff; font-weight: 600; }
.quote__fine { display: flex; gap: 10px; font-size: .8rem; color: #8e9bc3; margin: 16px 0 0; line-height: 1.5; }
.quote__fine svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.quote__alt { margin-top: 12px; text-align: center; font-size: .88rem; }
.quote__alt a { color: #c4d0ff; text-decoration: underline; text-underline-offset: 3px; }
.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.04); } }

.calc-bar { display: none; }
@media (max-width: 1080px) {
  .calc-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 12px 12px 20px; border-radius: 18px;
    background: var(--navy); color: #fff; box-shadow: var(--shadow-lg);
    transform: translateY(140%); transition: transform .35s var(--ease);
  }
  .calc-bar.is-visible { transform: none; }
  .calc-bar small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #9fb0e6; }
  .calc-bar strong { font-family: var(--font-head); font-size: 1.35rem; font-variant-numeric: tabular-nums; }
  body.calc-bar-on .wa-float { transform: translateY(140px); }
}

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.media-badge {
  position: absolute; left: -24px; bottom: 32px; display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow);
  max-width: 280px;
}
.media-badge__num { font-family: var(--font-stencil); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--brand); }
.media-badge p { margin: 0; font-size: .88rem; line-height: 1.35; color: var(--text); }
.media-badge b { display: block; color: var(--ink); font-family: var(--font-head); }
.lead { font-size: 1.15rem; color: var(--text); }
.feature-list { list-style: none; display: grid; gap: 18px; margin: 32px 0 36px; }
.feature-list li { display: flex; gap: 16px; }
.feature-list__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.feature-list__icon svg { width: 22px; height: 22px; }
.feature-list strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.02rem; }
.feature-list span { color: var(--muted); font-size: .95rem; }

/* ---------- MIP steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 32px 28px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.step:hover { background: rgba(255,255,255,.07); border-color: rgba(159,176,230,.35); transform: translateY(-4px); }
.step__num { font-family: var(--font-stencil); font-weight: 700; font-size: 2.8rem; line-height: 1; color: #6f86dc; margin-bottom: 18px; display: block; }
.step h3 { font-size: 1.18rem; margin-bottom: 10px; }
.step p { font-size: .95rem; margin: 0; color: #aab5d4; }

/* ---------- Norms ---------- */
.norms { display: flex; flex-wrap: wrap; gap: 12px; }
.norm { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.norm svg { width: 20px; height: 20px; color: var(--ok); }
.norm small { font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .8rem; }

/* ---------- Clients ---------- */
.clients { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients__track { display: flex; gap: 20px; width: max-content; animation: marquee 45s linear infinite; }
.clients:hover .clients__track { animation-play-state: paused; }
.client { flex: none; width: 190px; height: 104px; display: grid; place-items: center; padding: 18px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.client img { max-height: 62px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.client:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 72px);
  background: linear-gradient(120deg, var(--brand-700) 0%, var(--brand) 55%, #5068c4 100%);
  color: #dbe3fb; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band__actions { position: relative; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Page hero (internas) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #c3cde8; padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 90% 0%, rgba(80, 104, 196, .45) 0%, transparent 60%), radial-gradient(40% 80% at 0% 100%, rgba(54, 76, 155, .35) 0%, transparent 70%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 3.6vw + .6rem, 3.4rem); max-width: 820px; }
.page-hero p { max-width: 640px; font-size: 1.15rem; margin: 0; }
.breadcrumbs { display: flex; gap: 8px; font-size: .88rem; margin-bottom: 22px; color: #8e9bc3; }
.breadcrumbs a { color: #b8c5ef; }
.breadcrumbs a:hover { color: #fff; }

/* ---------- Service detail ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--text); border: 1px solid var(--line); }
.subnav a:hover, .subnav a.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.subnav svg { width: 18px; height: 18px; }

.detail { display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 5vw, 72px); padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.detail:last-of-type { border-bottom: 0; }
.detail__aside { position: sticky; top: calc(var(--header-h) + 90px); align-self: start; }
.detail__icon { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--brand), var(--brand-700)); box-shadow: 0 14px 28px -14px var(--brand); margin-bottom: 24px; }
.detail__icon svg { width: 40px; height: 40px; }
.detail__aside p { color: var(--muted); font-size: 1.05rem; }
.detail__aside .btn { margin-top: 12px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .25s, box-shadow .25s; }
.info-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.info-card__icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 16px; }
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.info-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.prose p { font-size: 1.08rem; }
.pull { margin: 28px 0; padding: 24px 28px; border-left: 4px solid var(--brand); background: var(--brand-50); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--ink); line-height: 1.45; }
.split-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.zone { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.zone--out { background: #fff; }
.zone--in { background: var(--bg-soft); }
.zone h4 { font-size: 1rem; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.zone h4 svg { width: 20px; height: 20px; color: var(--brand); }
.zone p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- Timeline (MIP) ---------- */
.timeline { position: relative; max-width: 920px; margin: 0 auto; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 39px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(180deg, var(--brand) 0%, var(--brand-100) 100%); }
.tl { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 28px; padding-bottom: 28px; }
.tl:last-child { padding-bottom: 0; }
.tl__num { position: relative; z-index: 1; width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--brand); font-family: var(--font-stencil); font-weight: 700; font-size: 1.9rem; color: var(--brand); box-shadow: 0 0 0 8px var(--bg); }
.tl__card { padding: 30px 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s var(--ease); }
.tl__card:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.tl__kicker { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.tl__card h3 { font-size: 1.4rem; }
.tl__card p { color: var(--text); margin-bottom: 0; }
.tl__card p + p { margin-top: 12px; }
.tl__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); }

/* ---------- Certificaciones ---------- */
.cert-card { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.cert-seal { position: relative; width: 190px; height: 190px; border-radius: 50%; display: grid; place-items: center; text-align: center; color: var(--brand); background: radial-gradient(circle, #fff 55%, var(--brand-50) 56%); border: 3px solid var(--brand); }
.cert-seal::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 1.5px dashed var(--brand); opacity: .5; }
.cert-seal small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cert-seal strong { display: block; font-family: var(--font-stencil); font-size: 3.6rem; line-height: 1; }
.cert-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 32px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.contact-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--ink); }
.contact-card__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.contact-card__icon--wa { background: #e8faef; color: var(--wa-dark); }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card small { display: block; color: var(--muted); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.contact-card strong { font-family: var(--font-head); font-size: 1.08rem; word-break: break-word; }
.contact-card > svg { margin-left: auto; width: 20px; height: 20px; color: var(--muted); flex: none; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 3.5vw, 44px); }
.form h2 { font-size: 1.7rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); }
.field label i { font-style: normal; color: var(--brand); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/18px no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); }
.field.has-error input, .field.has-error select { border-color: #dc2626; }
.field__error { font-size: .82rem; color: #dc2626; display: none; }
.field.has-error .field__error { display: block; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; }
.form__foot p { margin: 0; font-size: .85rem; color: var(--muted); flex: 1 1 220px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #97a5cc; padding: 80px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { height: 46px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 320px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: #c3cde8; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #7b8fd6; }
.footer__badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); color: #dbe3fb; font-size: .88rem; }
.footer__badge svg { width: 20px; height: 20px; color: #34d399; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .85rem; }
.footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  padding: 0 20px 0 0; height: 60px; border-radius: 999px;
  background: var(--wa); color: #06331a; font-family: var(--font-head); font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .65);
  transform: translateY(120px); transition: transform .4s var(--ease);
}
.wa-float.is-visible { transform: none; }
.wa-float:hover { color: #06331a; background: #2fe070; }
.wa-float__icon { width: 60px; height: 60px; display: grid; place-items: center; }
.wa-float__icon svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; left: 0; top: 0; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header__cta .btn--ghost { display: none; }
  .menu-toggle { display: inline-flex; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services, .steps { grid-template-columns: 1fr 1fr; }
  .segments { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
  .quote { position: relative; top: 0; }
  .detail { grid-template-columns: 1fr; }
  .detail__aside { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cert-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .split, .contact { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 4 / 3.4; }
  .media-badge { left: 16px; bottom: 16px; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
  .cert-card { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .container { padding: 0 16px; }
  .topbar__hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .brand img { height: 34px; }
  .header__cta .btn--primary { display: none; }
  .hero { min-height: auto; padding: 64px 0 120px; }
  .hero__media img { object-position: 70% center; }
  .hero::before { background: linear-gradient(180deg, rgba(11,18,42,.78) 0%, rgba(14,23,51,.9) 60%, rgba(11,18,42,.97) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
  .stats-wrap { margin-top: -72px; }
  .stat { padding: 20px 18px; flex-direction: column; gap: 12px; }
  .stat__num { font-size: 1.55rem; }
  .services, .steps, .segments, .cards-2, .split-cols, .cert-list { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; }
  .calc__label .hint { display: none; }
  .pest-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pest { padding: 12px; }
  .pest__title { font-size: .88rem; }
  .pest::after { top: 10px; right: 10px; width: 16px; height: 16px; }
  .area { grid-template-columns: 1fr; }
  .area__input { justify-self: start; }
  .toggle { flex-wrap: wrap; }
  .toggle__price { margin-left: 64px; }
  .quote__top, .quote__body { padding-left: 22px; padding-right: 22px; }
  .timeline::before { left: 23px; }
  .tl { grid-template-columns: 48px 1fr; gap: 16px; }
  .tl__num { width: 48px; height: 48px; font-size: 1.2rem; box-shadow: 0 0 0 6px var(--bg); }
  .tl__card { padding: 22px 20px; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-float { right: 16px; bottom: 16px; padding-right: 0; }
  .wa-float__label { display: none; }
  .cert-seal { width: 150px; height: 150px; }
  .cert-seal strong { font-size: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .clients__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
