/* ============================================================
   BioPest — Sistema de Diseño v2 (Apple-like · dinámico)
   Tipografía grande · mucho aire · motion en scroll
   Paleta de marca: azul #0147DC · verde #2BB673 · WhatsApp #25D366
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Color marca */
  --blue: #0147DC;
  --blue-2: #2f6bff;
  --blue-deep: #07205e;
  --blue-soft: #eaf1ff;
  --green: #2BB673;
  --green-dark: #1E8F58;
  --wa: #25D366;
  --wa-dark: #1da851;
  --orange: #FF7A00;
  --orange-dark: #e56e00;

  /* Neutros estilo Apple */
  --white: #ffffff;
  --bg: #ffffff;
  --bg-grey: #f5f7fa;       /* secciones alternas */
  --bg-grey-2: #eef1f6;
  --ink: #0a1424;           /* casi negro, premium */
  --ink-2: #1d2738;
  --muted: #6b7a92;
  --line: #e7ecf3;
  --star: #FBBF24;
  --error: #E24B4A;

  /* Tipografía */
  --font-head: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Radios (más grandes = premium) */
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  /* Sombras suaves */
  --sh-1: 0 2px 8px rgba(10,46,140,.05);
  --sh-2: 0 10px 40px rgba(10,46,140,.08);
  --sh-3: 0 30px 80px rgba(10,46,140,.14);
  --sh-wa: 0 12px 30px rgba(37,211,102,.42);

  /* Motion */
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.4,.5,1);

  /* Layout */
  --maxw: 1240px;
  --maxw-narrow: 920px;
  --gutter: 22px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: var(--blue); color: #fff; }

/* ---------- Tipografía (grande, tight) ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.05; letter-spacing: -.025em; }
.display { font-size: clamp(44px, 8.5vw, 92px); font-weight: 700; line-height: .98; letter-spacing: -.035em; }
h1 { font-size: clamp(38px, 6.5vw, 76px); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; }
h2 { font-size: clamp(30px, 5vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
h3 { font-size: clamp(20px, 2.6vw, 27px); font-weight: 600; letter-spacing: -.02em; }
.eyebrow { font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: .02em; color: var(--blue); display: inline-block; }
.lead { font-size: clamp(18px, 2.3vw, 23px); color: var(--muted); line-height: 1.5; font-weight: 400; }
strong, b { font-weight: 600; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--maxw-narrow); margin-left: auto; margin-right: auto; }
.section { padding: clamp(72px, 12vw, 160px) 0; }
.section--tight { padding: clamp(48px, 7vw, 90px) 0; }
.section--grey { background: var(--bg-grey); }
.center { text-align: center; }
.sec-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.sec-head .lead { margin-top: 18px; }
.sec-head .eyebrow { margin-bottom: 14px; }

/* ============================================================
   MOTION — utilidades de animación en scroll
   ============================================================ */
.anim { opacity: 0; transform: translateY(46px) scale(.98); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); will-change: opacity, transform; }
.anim.in { opacity: 1; transform: none; }
.anim--blur { filter: blur(12px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); }
.anim--blur.in { filter: blur(0); }
.anim--left { transform: translateX(-50px); }
.anim--left.in { transform: none; }
.anim--right { transform: translateX(50px); }
.anim--right.in { transform: none; }
.anim--scale { transform: scale(.9); }
.anim--scale.in { transform: none; }
/* compat con v1 */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* parallax: JS setea --py */
[data-parallax] { will-change: transform; transform: translate3d(0, var(--py, 0px), 0); }

/* word-reveal (statement Apple) */
.statement { font-family: var(--font-head); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; font-size: clamp(28px, 5.2vw, 60px); text-align: center; }
.statement .w { color: #c8d2e0; transition: color .5s var(--ease-out); }
.statement .w.lit { color: var(--ink); }
.statement .accent.lit { color: var(--blue); }

@media (prefers-reduced-motion: reduce) {
  .anim, .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none; }
  [data-parallax] { transform: none !important; }
  .statement .w { color: var(--ink); }
  html { scroll-behavior: auto; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 17px;
  padding: 16px 30px; border-radius: var(--r-pill); line-height: 1;
  transition: transform .25s var(--ease-spring), box-shadow .3s, background .25s, color .25s;
  min-height: 54px; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.32); }
.btn--wa:hover { background: var(--wa-dark); box-shadow: var(--sh-wa); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(1,71,220,.28); }
.btn--blue:hover { background: #0339b0; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: rgba(255,255,255,.0); color: var(--blue); border: 1.5px solid var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: #fff; color: var(--blue-deep); border-color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 19px 36px; font-size: 18px; min-height: 60px; }
.btn--text { padding: 0; min-height: 0; color: var(--blue); font-weight: 600; gap: 6px; border-radius: 0; }
.btn--text:hover { transform: none; gap: 10px; }
.btn--text svg { width: 17px; height: 17px; transition: transform .25s var(--ease-out); }
.btn--text:hover svg { transform: translateX(3px); }

/* ============================================================
   BANNER ESTACIONAL
   ============================================================ */
.season-bar { background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; position: relative; z-index: 60; }
.season-bar__in { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 44px 11px 16px; text-align: center; }
.season-bar a { text-decoration: none; font-weight: 600; color: #ffd9b0; }
.season-bar a:hover { color: #fff; }
.season-bar__close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #fff; font-size: 20px; opacity: .6; padding: 4px; }
.season-bar__close:hover { opacity: 1; }
.season-bar.hide { display: none; }

/* ============================================================
   HEADER (glass, shrink on scroll)
   ============================================================ */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s; }
.header.scrolled { border-color: var(--line); background: rgba(255,255,255,.85); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .3s var(--ease-out); }
.header.scrolled .header__in { height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.logo__mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--blue-2), var(--blue-deep)); display: grid; place-items: center; color: #fff; box-shadow: 0 4px 12px rgba(1,71,220,.3); }
.logo__mark svg { width: 20px; height: 20px; }
.logo b { color: var(--green); }
.logo__img { height: 30px; width: auto; display: block; transition: height .3s var(--ease-out); }
.header.scrolled .logo__img { height: 25px; }
.footer .logo__img { height: 30px; }
@media (max-width: 600px) { .logo__img { height: 24px; } }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font-weight: 500; font-size: 15.5px; color: var(--ink-2); padding: 8px 15px; border-radius: var(--r-pill); transition: color .15s, background .15s; }
.nav a:hover { color: var(--blue); background: var(--blue-soft); }
.nav a.is-active { color: var(--blue); font-weight: 600; }
.nav a.is-hot { color: var(--orange-dark); font-weight: 600; }
.header__cta { display: flex; align-items: center; gap: 14px; }
.header__phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--ink); }
.header__phone svg { width: 17px; height: 17px; }
.header .btn--wa { padding: 11px 22px; min-height: 44px; font-size: 15px; }
.header .btn:hover { transform: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: .25s; }

/* Mobile nav */
.mnav { position: fixed; inset: 0; z-index: 80; background: rgba(7,32,94,.4); backdrop-filter: blur(4px); display: none; }
.mnav.open { display: block; animation: mnavFade .28s ease both; }
@keyframes mnavFade { from { opacity: 0; } to { opacity: 1; } }
.mnav__panel { position: absolute; top: 0; right: 0; width: min(86%, 360px); height: 100%; background: #fff; padding: 24px; transform: translateX(100%); display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.mnav.open .mnav__panel { transform: translateX(0); animation: mnavSlide .34s var(--ease-out) both; }
@keyframes mnavSlide { from { transform: translateX(100%); } to { transform: translateX(0); } }
.mnav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mnav__close { font-size: 30px; color: var(--ink); width: 40px; height: 40px; }
.mnav a { padding: 16px 12px; border-radius: 12px; font-weight: 500; font-size: 19px; border-bottom: 1px solid var(--line); transition: background .15s; }
.mnav a:hover { background: var(--bg-grey); }
.mnav a.is-hot { color: var(--orange-dark); }
.mnav .btn { margin-top: 18px; }

/* ============================================================
   HERO (full-screen statement + media zoom)
   ============================================================ */
.hero { position: relative; min-height: 92vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; overflow: hidden; padding: 100px 0 40px; isolation: isolate; }
.hero__mesh { position: absolute; inset: -20%; z-index: -2; background:
    radial-gradient(50% 50% at 18% 22%, rgba(47,107,255,.30), transparent 60%),
    radial-gradient(45% 45% at 85% 18%, rgba(43,182,115,.22), transparent 60%),
    radial-gradient(55% 55% at 70% 88%, rgba(1,71,220,.20), transparent 60%),
    var(--bg); }
.hero__in { position: relative; z-index: 1; max-width: 980px; padding: 0 var(--gutter); }
.hero h1 { margin: 0 auto; }
.hero h1 .hl { background: linear-gradient(100deg, var(--blue-2), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin: 26px auto 34px; font-size: clamp(18px, 2.3vw, 23px); color: var(--muted); max-width: 620px; line-height: 1.5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__micro { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; justify-content: center; }
.hero__micro li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.hero__micro .ic { width: 22px; height: 22px; border-radius: 50%; background: var(--green); display: grid; place-items: center; flex: none; }
.hero__micro .ic svg { width: 13px; height: 13px; color: #fff; }
.hero__media { position: relative; z-index: 1; width: min(1100px, 92vw); margin: clamp(40px,6vw,70px) auto 0; aspect-ratio: 16/9; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); background: linear-gradient(135deg,#0d3aa8,var(--blue-deep)); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }
.hero__scroll { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--muted); font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero__scroll .mouse { width: 24px; height: 38px; border: 2px solid var(--muted); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after { content:""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; background: var(--muted); border-radius: 2px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0%{opacity:1;top:7px} 70%{opacity:0;top:18px} 100%{opacity:0} }

/* ============================================================
   PANEL DE CONFIANZA / MÉTRICAS (contadores)
   ============================================================ */
.metrics { background: var(--ink); color: #fff; }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.metric__n { font-family: var(--font-head); font-weight: 700; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.03em; line-height: 1; background: linear-gradient(120deg,#fff,#9fc0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric__l { margin-top: 10px; color: rgba(255,255,255,.7); font-size: 15px; }
.metric__sep { width: 1px; background: rgba(255,255,255,.12); }

/* trustbar (compat otras páginas) */
.trustbar { background: var(--white); border-bottom: 1px solid var(--line); }
.trustbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trustbar__item { display: flex; align-items: center; gap: 13px; padding: 26px 20px; border-right: 1px solid var(--line); }
.trustbar__item:last-child { border-right: none; }
.trustbar__ic { width: 46px; height: 46px; border-radius: 13px; background: var(--blue-soft); display: grid; place-items: center; flex: none; color: var(--blue); }
.trustbar__ic svg { width: 23px; height: 23px; }
.trustbar__t { font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 1.2; letter-spacing: -.01em; }
.trustbar__s { font-size: 13px; color: var(--muted); }
.stars { color: var(--star); letter-spacing: 1px; }

/* ============================================================
   AUTORIDAD / STATEMENT
   ============================================================ */
.authority { background: var(--white); }
.authority__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-grey); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 11px 20px; font-size: 14.5px; font-weight: 500; }
.chip svg { width: 16px; height: 16px; color: var(--green-dark); }

/* ============================================================
   CARDS / VALOR
   ============================================================ */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px 32px; box-shadow: var(--sh-1); transition: transform .4s var(--ease-out), box-shadow .4s; }
.vcard:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.vcard__ic { width: 60px; height: 60px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 22px; }
.vcard__ic svg { width: 30px; height: 30px; }
.vcard h3 { margin-bottom: 10px; }
.vcard p { color: var(--muted); font-size: 16px; }

/* ============================================================
   SELLOS
   ============================================================ */
.seals__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.seal { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; align-items: center; gap: 18px; box-shadow: var(--sh-1); transition: transform .4s var(--ease-out); }
.seal:hover { transform: translateY(-4px); }
.seal__ic { width: 54px; height: 54px; border-radius: 14px; background: rgba(43,182,115,.12); color: var(--green-dark); display: grid; place-items: center; flex: none; }
.seal__ic svg { width: 28px; height: 28px; }
.seal h4 { font-family: var(--font-head); font-weight: 600; font-size: 17px; line-height: 1.25; letter-spacing: -.01em; }
.seal p { font-size: 14px; color: var(--muted); margin-top: 3px; }
.seal--hero { grid-column: span 3; background: linear-gradient(120deg, #eafaf1, #ffffff); border-color: rgba(43,182,115,.35); }
.seal--hero .seal__ic { width: 64px; height: 64px; background: var(--green); color: #fff; }
.seal--hero h4 { font-size: 22px; }
.seal--hero p { font-size: 15.5px; }

/* ============================================================
   PLAGAS
   ============================================================ */
.pests__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pest { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-1); transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s; overflow: hidden; }
.pest:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: rgba(1,71,220,.3); }
.pest__ic { width: 54px; height: 54px; color: var(--blue); margin-bottom: 16px; }
.pest__ic svg { width: 54px; height: 54px; }
.pest h4 { font-family: var(--font-head); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.pest p { font-size: 14.5px; color: var(--muted); margin-top: 5px; }
.pest__tag { position: absolute; top: 18px; right: 18px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: var(--r-pill); }
.pest__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--wa-dark); font-weight: 600; font-size: 14px; }
.pest__link svg { width: 15px; height: 15px; }

/* ============================================================
   PROCESO — sección PINNED (storytelling)
   ============================================================ */
.process { background: var(--ink); color: #fff; }
.process h2, .process .lead { color: #fff; }
.pin { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.pin__sticky { position: sticky; top: 120px; }
.pin__visual { aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; background: rgba(255,255,255,.06); position: relative; box-shadow: var(--sh-3); }
.pin__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease-out), transform 1.2s var(--ease-out); transform: scale(1.08); }
.pin__visual img.show { opacity: 1; transform: scale(1); }
.pin__steps { display: flex; flex-direction: column; gap: 16px; padding: 20px 0 40vh; }
.pstep { padding: 30px 32px; border-radius: var(--r-lg); border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); transition: background .4s, border-color .4s, transform .4s var(--ease-out); }
.pstep.active { background: rgba(255,255,255,.08); border-color: rgba(143,227,184,.5); transform: scale(1.01); }
.pstep__n { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); color: #8fe3b8; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; margin-bottom: 16px; transition: background .4s; }
.pstep.active .pstep__n { background: var(--green); color: #fff; }
.pstep h3 { color: #fff; margin-bottom: 8px; }
.pstep p { color: rgba(255,255,255,.72); font-size: 16px; }
/* compat: .steps (otras páginas) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 32px 26px; }
.step__n { counter-increment: step; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; margin-bottom: 18px; }
.step__n::before { content: counter(step); }
.step h4 { color: #fff; font-size: 18px; margin-bottom: 7px; }
.step p { color: rgba(255,255,255,.78); font-size: 15px; }

/* ---- Roadmap del proceso (sin fotos) ---- */
.roadmap { margin-top: 14px; }
.roadmap__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.roadmap__track::before { content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, rgba(143,227,184,.12), var(--green) 20%, var(--green) 80%, rgba(143,227,184,.12)); }
.rstep { position: relative; text-align: center; padding: 0 6px; }
.rstep__n { width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 23px; display: grid; place-items: center; margin: 0 auto 22px; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--ink), 0 8px 20px rgba(43,182,115,.4); }
.rstep h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.rstep p { color: rgba(255,255,255,.72); font-size: 15px; }
@media (max-width: 760px) {
  .roadmap__track { grid-template-columns: 1fr; gap: 0; }
  .roadmap__track::before { top: 30px; bottom: 30px; left: 29px; right: auto; width: 2px; height: auto; }
  .rstep { text-align: left; display: grid; grid-template-columns: 60px 1fr; column-gap: 20px; padding: 0 0 34px; align-items: start; }
  .rstep__n { margin: 0; }
  .rstep h3 { margin-top: 12px; }
}

/* ---- Cucarachas en el "antes" del slider ---- */
.ba-slider .before { z-index: 0; }
.ba-roaches { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ba-slider .after { z-index: 2; }
.ba-tag, .ba-handle { z-index: 4; }
.roach { position: absolute; line-height: 1; filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }

/* ============================================================
   MOMENTO full-bleed (parallax)
   ============================================================ */
.bleed { position: relative; min-height: 84vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; isolation: isolate; }
.bleed__bg { position: absolute; inset: -12% 0; z-index: -2; background-size: cover; background-position: center; background-color: var(--blue-deep); }
.bleed::after { content:""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,32,94,.55), rgba(7,32,94,.35)); }
.bleed__in { max-width: 820px; padding: 0 var(--gutter); }
.bleed h2 { color: #fff; }
.bleed p { color: rgba(255,255,255,.9); margin: 18px auto 0; font-size: clamp(17px,2.2vw,21px); max-width: 600px; }
.bleed__pill { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); border-radius: var(--r-pill); padding: 10px 20px; font-weight: 600; font-size: 15px; margin-bottom: 22px; }
.bleed__pill svg { width: 18px; height: 18px; color: #8fe3b8; }

/* ============================================================
   PAQUETES
   ============================================================ */
.plans { background: var(--bg-grey); }
.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px 30px; display: flex; flex-direction: column; box-shadow: var(--sh-1); transition: transform .4s var(--ease-out), box-shadow .4s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.plan--feat { border: 2px solid var(--blue); box-shadow: var(--sh-3); transform: translateY(-12px); z-index: 2; }
.plan--feat:hover { transform: translateY(-16px); }
.plan__badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(100deg,var(--blue-2),var(--blue)); color: #fff; font-size: 12.5px; font-weight: 700; padding: 7px 18px; border-radius: var(--r-pill); white-space: nowrap; box-shadow: 0 6px 16px rgba(1,71,220,.4); }
.plan__name { font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--ink); letter-spacing: -.01em; }
.plan__for { font-size: 14px; color: var(--muted); margin-top: 3px; }
.plan__price { font-family: var(--font-head); font-weight: 700; font-size: 40px; color: var(--ink); margin: 20px 0 2px; letter-spacing: -.03em; }
.plan__price span { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan__frac { font-size: 14px; color: var(--green-dark); font-weight: 600; margin-bottom: 22px; }
.plan__list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; flex: 1; }
.plan__list li { display: flex; gap: 11px; font-size: 15px; align-items: flex-start; }
.plan__list svg { width: 19px; height: 19px; color: var(--green); flex: none; margin-top: 1px; }
.plans__note { text-align: center; margin-top: 30px; font-size: 15px; color: var(--muted); }
.plans__note b { color: var(--blue); }
.plans__pay { margin-top: 26px; }
.pay-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--blue-soft); color: var(--blue-deep); border: 1px solid rgba(1,71,220,.18); border-radius: var(--r-pill); padding: 11px 22px; font-size: 14.5px; font-weight: 500; }
.pay-badge svg { width: 21px; height: 21px; color: var(--blue); flex: none; }
.pay-badge b { color: var(--blue); font-weight: 700; }

/* ============================================================
   ANTES / DESPUÉS
   ============================================================ */
.ba { background: var(--white); }
.ba__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.ba-slider { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-3); user-select: none; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-slider .after { clip-path: inset(0 0 0 50%); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.35); transform: translateX(-50%); }
.ba-handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; background: #fff; border-radius: 50%; display: grid; place-items: center; color: var(--blue); font-size: 19px; box-shadow: 0 4px 14px rgba(0,0,0,.28); }
.ba-tag { position: absolute; top: 16px; padding: 6px 14px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; color: #fff; }
.ba-tag.l { left: 16px; background: rgba(10,20,36,.8); }
.ba-tag.r { right: 16px; background: var(--green); }
.ba__quote { background: var(--bg-grey); border-left: 4px solid var(--green); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 26px 28px; margin-top: 28px; }
.ba__quote p { font-style: italic; color: var(--ink); font-size: 17px; }
.ba__quote cite { display: block; margin-top: 12px; font-style: normal; font-weight: 600; font-size: 14px; color: var(--muted); }

/* ============================================================
   GARANTÍA
   ============================================================ */
.guarantee { background: linear-gradient(125deg, var(--green), var(--green-dark)); color: #fff; }
.guarantee__in { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; justify-content: center; text-align: center; flex-direction: column; }
.guarantee__seal { width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.15); border: 3px solid rgba(255,255,255,.55); display: grid; place-items: center; flex: none; }
.guarantee__seal svg { width: 66px; height: 66px; color: #fff; }
.guarantee__txt { max-width: 720px; }
.guarantee h2 { color: #fff; }
.guarantee p { color: rgba(255,255,255,.92); margin-top: 14px; font-size: clamp(17px,2.2vw,20px); }

/* ============================================================
   RESEÑAS (marquee)
   ============================================================ */
.reviews { background: var(--bg-grey); overflow: hidden; }
.reviews__top { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 44px; }
.gbadge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 12px 24px; box-shadow: var(--sh-1); font-weight: 600; }
.gbadge .g { font-family: var(--font-head); font-weight: 700; }
.gbadge .g b:nth-child(1){color:#4285F4}.gbadge .g b:nth-child(2){color:#EA4335}.gbadge .g b:nth-child(3){color:#FBBC05}.gbadge .g b:nth-child(4){color:#4285F4}.gbadge .g b:nth-child(5){color:#34A853}.gbadge .g b:nth-child(6){color:#EA4335}
.marquee { display: flex; gap: 20px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-row:nth-child(2) .marquee { animation-duration: 52s; animation-direction: reverse; margin-top: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.review { width: 360px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-1); }
.review__stars { color: var(--star); font-size: 15px; letter-spacing: 1px; }
.review p { font-size: 15.5px; margin: 13px 0 18px; color: var(--ink-2); }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,var(--blue-2),var(--blue-deep)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; flex: none; }
.review__who b { display: block; font-size: 14.5px; }
.review__who span { font-size: 12.5px; color: var(--muted); }
.rev-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 18px; overflow-x: auto; padding: 6px 2px 18px; scroll-snap-type: x mandatory; }
.rev-track .review { width: auto; scroll-snap-align: start; }

/* ============================================================
   TÉCNICO (split + parallax)
   ============================================================ */
.tech { background: var(--white); }
.tech__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: center; }
.tech__photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-3); aspect-ratio: 4/5; background: var(--blue-soft); }
.tech__photo img { width: 100%; height: 110%; object-fit: cover; }
.tech__list { display: flex; flex-direction: column; gap: 20px; margin-top: 26px; }
.tech__item { display: flex; gap: 16px; }
.tech__item .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.tech__item .ic svg { width: 23px; height: 23px; }
.tech__item h4 { font-size: 17px; font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em; }
.tech__item p { font-size: 15px; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-grey); }
.faq__list { max-width: 820px; margin: 0 auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 14px; overflow: hidden; transition: box-shadow .3s; }
.faq__item.open { box-shadow: var(--sh-2); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 26px; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 17.5px; color: var(--ink); letter-spacing: -.01em; }
.faq__q .pm { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 19px; transition: transform .3s var(--ease-spring); }
.faq__item.open .pm { transform: rotate(135deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out); }
.faq__a p { padding: 0 26px 24px; color: var(--muted); font-size: 16px; }

/* ============================================================
   CTA FINAL (full-screen dark)
   ============================================================ */
.finalcta { position: relative; color: #fff; isolation: isolate; text-align: center; overflow: hidden; }
.finalcta__bg { position: absolute; inset: -12% 0; z-index: -2; background-size: cover; background-position: center; background-color: var(--blue-deep); }
.finalcta::after { content:""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(7,32,94,.82), rgba(7,32,94,.62)); }
.finalcta h2 { color: #fff; max-width: 720px; margin: 0 auto; }
.finalcta p { color: rgba(255,255,255,.9); margin: 18px auto 32px; max-width: 560px; font-size: clamp(17px,2.2vw,20px); }
.finalcta .btn { margin: 0 6px 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(255,255,255,.72); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(56px,8vw,88px) 0 48px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer__about p { max-width: 290px; line-height: 1.6; }
.footer h5 { font-family: var(--font-head); color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.footer__links li { margin-bottom: 11px; }
.footer__links a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 11px; margin-bottom: 13px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 3px; }
.footer__contact a:hover { color: #fff; }
.footer__socials { display: flex; gap: 12px; margin-top: 18px; }
.footer__socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .25s, transform .25s; }
.footer__socials a:hover { background: var(--wa); transform: translateY(-2px); }
.footer__socials svg { width: 19px; height: 19px; color: #fff; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

/* ============================================================
   WHATSAPP FLOTANTE + CTA MÓVIL
   ============================================================ */
.wa-float { position: fixed; right: 20px; bottom: 24px; z-index: 70; display: inline-flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; font-weight: 600; padding: 14px 20px 14px 15px; border-radius: var(--r-pill); box-shadow: var(--sh-wa); transition: transform .25s var(--ease-spring); }
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float svg { width: 27px; height: 27px; }
.wa-float .lbl { font-size: 15px; }
.wa-float::before { content:""; position: absolute; inset: -4px; border-radius: var(--r-pill); border: 2px solid var(--wa); opacity: .55; animation: pulse 2.6s infinite; }
@keyframes pulse { 0%{transform:scale(1);opacity:.55} 70%{transform:scale(1.22);opacity:0} 100%{opacity:0} }
.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 10px; box-shadow: 0 -6px 24px rgba(10,46,140,.1); }
.mbar.show { display: flex; }
.mbar .btn { flex: 1; min-height: 50px; padding: 12px; font-size: 15.5px; }
@media (min-width: 981px) { .mbar, .mbar.show { display: none !important; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .cards3, .seals__grid, .pests__grid, .steps, .plans__grid { grid-template-columns: repeat(2, 1fr); }
  .ba__grid, .tech__grid, .pin { grid-template-columns: 1fr; gap: 36px; }
  .pin__sticky { position: relative; top: 0; }
  .pin__visual { aspect-ratio: 16/10; }
  .pin__steps { padding-bottom: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .plan--feat { transform: none; } .plan--feat:hover { transform: translateY(-6px); }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .metric__sep { display: none; }
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .cards3, .seals__grid, .pests__grid, .steps, .plans__grid, .footer__grid, .metrics__grid { grid-template-columns: 1fr; }
  .seal--hero { grid-column: span 1; }
  .hero { min-height: 88vh; }
  .hero__cta .btn { flex: 1; }
  .review { width: 280px; }
  .wa-float .lbl { display: none; }
  .wa-float { padding: 15px; right: 14px; bottom: 80px; }
  .guarantee__seal { width: 100px; height: 100px; } .guarantee__seal svg { width: 50px; height: 50px; }
  .trustbar__grid { grid-template-columns: 1fr; }
  .trustbar__item { border-right: none; border-bottom: 1px solid var(--line); }
}
