/* =========================================================
   Patrulla de Plagas — hoja de estilos
   Paleta extraída del logo (escudo navy + verde). Sistema visual:
   ficha técnica / reporte de campo — bordes definidos, esquinas
   cuadradas, sombras "de sello" en vez de blur genérico de SaaS.
   ========================================================= */

:root {
  /* Marca */
  --color-navy: #0d1e2d;
  --color-navy-700: #16324a;
  --color-navy-600: #1f4a68;
  --color-navy-500: #2c5f82;
  --color-green: #1cc040;
  --color-green-600: #17a336;
  --color-green-700: #13862c;
  --color-green-100: #e3f7e8;

  /* Neutrales */
  --color-white: #ffffff;
  --color-off-white: #f6f8f9;
  --color-neutral: #475569;
  --color-neutral-light: #94a3b8;
  --color-border: #e2e8f0;

  /* Semántico */
  --color-bg: var(--color-white);
  --color-text: var(--color-navy);
  --color-text-muted: var(--color-neutral);

  /* Tipografía: Archivo para títulos (autoridad de señalética técnica),
     Source Sans 3 para texto de lectura, JetBrains Mono para datos
     técnicos/regulatorios (fichas, códigos de plan, números de caso). */
  --font-heading: 'Archivo', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Radios: casi rectos — lenguaje de papel/documento, no de app blanda */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-full: 999px;

  /* Sombras "de sello": planas y con desfase, nunca blur + borde a la vez */
  --shadow-stamp-sm: 4px 4px 0 0 rgba(13, 30, 45, 0.85);
  --shadow-stamp-md: 6px 6px 0 0 rgba(13, 30, 45, 0.9);
  --shadow-stamp-lg: 8px 8px 0 0 rgba(13, 30, 45, 0.92);
  --shadow-panel: 0 20px 48px rgba(13, 30, 45, 0.18);

  /* Curvas: ease-out con más "punch" que las nativas del navegador */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-w: 1200px;
  --space-section: clamp(3.5rem, 6vw, 6rem);
  --header-h: 76px;
  --z-sticky: 100;
}

/* ---------- Reset base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0; line-height: 1.15; color: var(--color-navy); text-wrap: balance; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: var(--space-section) 0; position: relative; overflow: hidden; }

.section-head { max-width: 640px; margin: 0 auto 2.75rem; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; }
.section-head p { margin-top: 0.85rem; color: var(--color-text-muted); font-size: 1.05rem; text-wrap: pretty; }
.section-head-left { margin: 0 0 2.25rem; text-align: left; }
.section-head-light h2, .section-head-light p { color: var(--color-white); }
.section-head-light p { color: rgba(255,255,255,0.75); }

/* ---------- Fondos: bloques definidos, sin overlays decorativos genéricos ---------- */
.section > .container { position: relative; z-index: 1; }

.diagnostic { background: var(--color-off-white); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

.how-we-work { background: var(--color-off-white); }

.pricing { background: var(--color-white); }

.cases { background: var(--color-off-white); }

.why-us { background: var(--color-navy); color: var(--color-white); }

.safety { background: var(--color-navy-700); color: var(--color-white); }

.pest-map { background: var(--color-white); }

.quoter { background: var(--color-white); }

.coverage { background: var(--color-navy-700); }

.testimonials { background: var(--color-off-white); }

.products { background: var(--color-white); }

.comparison { background: var(--color-off-white); }

.faq { background: var(--color-white); }

.blog { background: var(--color-off-white); }

.final-cta {
  background: var(--color-navy);
  color: var(--color-white);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  position: relative;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(28,192,64,0.22) 0%, transparent 45%);
  pointer-events: none;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.005em;
  border: 1.5px solid transparent;
  transition: transform 150ms var(--ease-out), box-shadow 180ms var(--ease-out), background 150ms ease, color 150ms ease, border-color 150ms ease;
  white-space: nowrap;
}
.btn-primary, .btn-white {
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%);
}
.btn:active { transform: translate(1px, 1px) scale(0.98); transition-duration: 80ms; }
.btn-primary { background: var(--color-green); color: var(--color-navy); box-shadow: 0 0 0 0 rgba(13,30,45,0); }
.btn-primary:hover { background: var(--color-green-600); transform: translate(-3px, -3px); box-shadow: var(--shadow-stamp-sm); }
.btn-outline { background: transparent; border-color: var(--color-navy); color: var(--color-navy); }
.btn-outline:hover { background: var(--color-navy); color: var(--color-white); }
.btn-ghost { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.55); color: var(--color-white); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: var(--color-white); }
.btn-white { background: var(--color-white); color: var(--color-navy); }
.btn-white:hover { background: var(--color-off-white); transform: translate(-3px, -3px); box-shadow: 6px 6px 0 0 rgba(255,255,255,0.28); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-nav { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid transparent;
  transition: box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
}
.site-header.is-scrolled {
  background: var(--color-white);
  border-color: var(--color-border);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; }
.brand-name { font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; color: var(--color-navy); line-height: 1.1; letter-spacing: -0.01em; }
.brand-name span { display: block; font-weight: 600; font-size: 0.72rem; color: var(--color-green-700); font-family: var(--font-mono); letter-spacing: 0.03em; text-transform: uppercase; }

.main-nav { display: none; align-items: center; gap: 1.3rem; }
.main-nav a { position: relative; font-weight: 600; font-size: 0.9rem; color: var(--color-navy); transition: color 150ms ease; padding-bottom: 4px; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--color-green); transition: right 220ms var(--ease-out); }
.main-nav a:hover { color: var(--color-green-700); }
.main-nav a:hover::after { right: 0; }

.nav-toggle { background: none; border: none; color: var(--color-navy); display: inline-flex; padding: 0.4rem; }

/* Breakpoint subido de 1024 a 1200px: el nav ahora tiene 7 enlaces (antes 5) y necesita más ancho antes de mostrarse en fila */
@media (min-width: 1200px) {
  .main-nav { display: flex; }
  .btn-nav { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile nav drawer */
@media (max-width: 1199px) {
  .main-nav {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.4rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms var(--ease-drawer), transform 220ms var(--ease-drawer);
  }
  .main-nav a { font-size: 1.1rem; }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
}

/* ---------- Hero ---------- */
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; padding-top: var(--header-h); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(13,30,45,0.95) 12%, rgba(13,30,45,0.78) 52%, rgba(13,30,45,0.4) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; padding-top: 2rem; padding-bottom: 3rem; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(28,192,64,0.16);
  border: 1.5px solid var(--color-green);
  color: var(--color-green);
  font-family: var(--font-mono);
  font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  animation: rise-in 600ms var(--ease-out-expo) both;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.25rem);
  color: var(--color-white);
  font-weight: 800;
  letter-spacing: -0.03em;
  animation: rise-in 700ms var(--ease-out-expo) 80ms both;
}
.hero-subtext {
  margin-top: 1.2rem; font-size: 1.15rem; color: rgba(255,255,255,0.88); max-width: 46ch; text-wrap: pretty;
  animation: rise-in 700ms var(--ease-out-expo) 160ms both;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.9rem;
  animation: rise-in 700ms var(--ease-out-expo) 240ms both;
}
.hero-badges {
  display: flex; flex-wrap: wrap; margin-top: 2.75rem;
  border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1.15rem;
}
.hero-badges li {
  display: flex; align-items: center; gap: 0.5rem; color: var(--color-white); font-size: 0.88rem; font-weight: 600;
  padding: 0.2rem 1.4rem;
  border-right: 1px solid rgba(255,255,255,0.18);
  animation: rise-in 600ms var(--ease-out-expo) both;
}
.hero-badges li:first-child { padding-left: 0; }
.hero-badges li:last-child { border-right: none; padding-right: 0; }
.hero-badges li:nth-child(1) { animation-delay: 320ms; }
.hero-badges li:nth-child(2) { animation-delay: 380ms; }
.hero-badges li:nth-child(3) { animation-delay: 440ms; }
.hero-badges li:nth-child(4) { animation-delay: 500ms; }
.hero-badges li svg { color: var(--color-green); flex-shrink: 0; }

/* ---------- Barra de confianza ---------- */
.trust-bar { background: var(--color-navy); padding: 0.95rem 0; border-top: 1px solid rgba(255,255,255,0.08); }
.trust-bar-inner { display: flex; flex-wrap: wrap; justify-content: center; }
.trust-bar-inner span {
  display: flex; align-items: center; gap: 0.5rem; color: var(--color-white); font-size: 0.85rem; font-weight: 600;
  padding: 0.2rem 1.3rem; border-left: 1px solid rgba(255,255,255,0.16);
}
.trust-bar-inner span:first-child { border-left: none; }
.trust-bar-inner svg { color: var(--color-green); flex-shrink: 0; }

/* ---------- Checklist (autodiagnóstico) ---------- */
.checklist { counter-reset: diag; display: grid; gap: 0.75rem; max-width: 720px; margin: 0 auto; }
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.checklist-item::before {
  counter-increment: diag;
  content: "0" counter(diag);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--color-neutral-light);
  padding-top: 0.2rem;
  flex-shrink: 0;
}
.checklist-item:hover { border-color: var(--color-navy); transform: translate(-2px, -2px); box-shadow: var(--shadow-stamp-sm); }
.checklist-item:focus-visible { outline: 2px solid var(--color-green-600); outline-offset: 2px; }
.checklist-box {
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--color-neutral-light);
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.checklist-item[data-checked="true"] { border-color: var(--color-green); background: var(--color-green-100); }
.checklist-item[data-checked="true"] .checklist-box { background: var(--color-green); border-color: var(--color-green); color: var(--color-navy); }
.checklist-item[data-checked="true"]::before { color: var(--color-green-700); }
.diagnostic-cta {
  margin-top: 2.25rem;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
  background: var(--color-navy);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.diagnostic-cta p { color: var(--color-white); font-weight: 600; font-family: var(--font-mono); font-size: 0.92rem; }

/* ---------- Selector de plagas ---------- */
.pest-selector { background: var(--color-white); }
.pest-grid { display: grid; gap: 1.4rem; grid-template-columns: minmax(0, 1fr); }
.pest-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), border-color 180ms ease;
}
.pest-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-stamp-sm); border-color: var(--color-navy); }
.pest-card-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-green-100);
  color: var(--color-green-700);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.pest-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.pest-card p { color: var(--color-text-muted); font-size: 0.92rem; }
.pest-signal { display: block; font-size: 0.82rem; color: var(--color-navy); font-weight: 600; margin-top: 0.7rem; }
.pest-cta { margin-top: 1.1rem; width: 100%; justify-content: center; white-space: normal; text-align: center; }
.pest-card .pest-cta { margin-top: auto; }

@media (min-width: 640px) { .pest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pest-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Servicios para hogares y negocios ---------- */
.spaces { background: var(--color-off-white); }
.space-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.space-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
}
.space-card h3 { font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: 0.6rem; }
.space-card > p { color: var(--color-text-muted); font-size: 0.96rem; max-width: 52ch; }
.space-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0 1.5rem; }
.space-tags li {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-off-white);
  color: var(--color-navy);
  font-size: 0.85rem;
  font-weight: 600;
}

@media (min-width: 900px) { .space-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Así trabajamos ---------- */
.how-we-work-grid { display: grid; gap: 2.5rem; align-items: center; }
.how-image img { border-radius: var(--radius-md); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; border: 1.5px solid var(--color-border); }
.steps { display: grid; gap: 1.6rem; margin-top: 1.8rem; }
.step { display: flex; gap: 1.1rem; }
.step-number {
  flex-shrink: 0; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-navy); color: var(--color-white);
  font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem;
  border-radius: var(--radius-sm);
  transform: rotate(-3deg);
}
.step:nth-child(even) .step-number { transform: rotate(3deg); background: var(--color-green); color: var(--color-navy); }
.step h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.step p { color: var(--color-text-muted); font-size: 0.95rem; }

@media (min-width: 900px) {
  .how-we-work-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Pricing ---------- */
.pricing-grid { counter-reset: plan; display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: stretch; }
.price-card {
  counter-increment: plan;
  position: relative;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.1rem 1.8rem;
  display: flex; flex-direction: column;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms ease;
}
.price-card::before {
  content: "PLAN — 0" counter(plan);
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--color-neutral-light);
  margin-bottom: 0.9rem;
}
.price-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-stamp-sm); border-color: var(--color-navy); }
.price-card h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
.price-desc { color: var(--color-text-muted); margin-top: 0.4rem; font-size: 0.95rem; }
.price-list { margin: 1.6rem 0; display: grid; gap: 0.75rem; flex-grow: 1; }
.price-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; }
.price-list svg { color: var(--color-green-700); flex-shrink: 0; margin-top: 3px; }
.price-card-featured {
  border-color: var(--color-navy);
  border-width: 2px;
  background: var(--color-navy);
  transform: translateY(-8px);
  box-shadow: var(--shadow-stamp-md);
}
.price-card-featured::before { color: rgba(255,255,255,0.5); }
.price-card-featured h3, .price-card-featured .price-list li { color: var(--color-white); }
.price-card-featured .price-desc { color: rgba(255,255,255,0.72); }
.price-card-featured:hover { transform: translateY(-8px) translate(-3px, -3px); box-shadow: var(--shadow-stamp-lg); border-color: var(--color-green); }
.price-badge {
  position: absolute; top: -16px; right: 1.6rem;
  width: 68px; height: 68px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--color-green); color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 0.66rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em;
  border-radius: 50%;
  border: 3px solid var(--color-navy);
  padding: 0.4rem;
  transform: rotate(8deg);
  z-index: 1;
}

@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Casos reales ---------- */
.cases-grid { counter-reset: caso; display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.case-card {
  counter-increment: caso;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--color-border);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms ease;
}
.case-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-stamp-sm); border-color: var(--color-navy); }
.case-images { display: grid; grid-template-columns: 1fr 1fr; }
.case-photo { aspect-ratio: 1/1; position: relative; overflow: hidden; background: var(--color-off-white); }
.case-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-photo-tag {
  position: absolute;
  bottom: 8px; left: 8px;
  font-size: 0.64rem; font-weight: 600;
  background: rgba(13,30,45,0.8);
  color: var(--color-white);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
}
.case-body { padding: 1.3rem 1.4rem; }
.case-body::before {
  content: "CASO N.\00B0 0" counter(caso);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--color-neutral-light);
  margin-bottom: 0.6rem;
}
.case-tag { display: inline-block; background: var(--color-green-100); color: var(--color-green-700); font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: var(--radius-xs); margin-bottom: 0.7rem; }
.case-result { font-size: 0.92rem; color: var(--color-text-muted); margin-top: 0.35rem; }
.case-result strong { color: var(--color-navy); }

@media (min-width: 900px) { .cases-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Por qué elegirnos ---------- */
.why-grid { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid rgba(255,255,255,0.14); }
.why-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.why-item svg { color: var(--color-green); flex-shrink: 0; margin-top: 0.15rem; }
.why-item h3 { color: var(--color-white); font-size: 1.05rem; margin-bottom: 0.3rem; }
.why-item p { color: rgba(255,255,255,0.72); font-size: 0.92rem; }

@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; } }

.safety-note { margin-top: 2rem; color: rgba(255,255,255,0.72); font-size: 0.9rem; max-width: 60ch; }
.safety .diagnostic-cta { margin-top: 2.25rem; }

/* ---------- Cotizador ---------- */
.quoter-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-panel);
}
.form-row { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: 0.45rem; }
.form-row label { font-weight: 700; font-size: 0.9rem; }
.form-row select, .form-row input {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 0.98rem;
  min-height: 46px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.form-row select:focus, .form-row input:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(28,192,64,0.18);
}
.form-row.has-error select, .form-row.has-error input { border-color: #dc2626; }
.field-error { color: #dc2626; font-size: 0.82rem; min-height: 1em; }

/* ---------- Cobertura ---------- */
.coverage-body { display: grid; gap: 2.75rem; align-items: center; }

.coverage-map { margin: 0 auto; max-width: 260px; }
.peru-map { width: 100%; height: auto; display: block; overflow: visible; }
.peru-map-shape {
  fill: rgba(28, 192, 40, 0.1);
  stroke: var(--color-green);
  stroke-width: 1.75;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.map-pin circle { fill: rgba(255,255,255,0.85); }
.map-pin-hub .pin-dot { fill: var(--color-green); }
.map-pin-hub .pin-pulse {
  fill: var(--color-green);
  opacity: 0.55;
  transform-box: fill-box;
  transform-origin: center;
  animation: map-pulse 2.6s var(--ease-out) infinite;
}
@keyframes map-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(4.2); opacity: 0; }
}
.coverage-map figcaption {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.68);
  text-align: center;
}
.hub-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-green); flex-shrink: 0; }

.coverage-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.coverage-zone h3 { color: var(--color-green); font-size: 1rem; font-family: var(--font-mono); letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 1rem; }
.coverage-zone ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.coverage-zone li {
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  cursor: default;
  transition: background 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms ease;
}
.coverage-zone li:hover { background: rgba(28,192,64,0.14); border-color: var(--color-green); color: var(--color-white); }

@media (min-width: 640px) { .coverage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .coverage-body { grid-template-columns: 260px 1fr; }
  .coverage-map { max-width: none; }
}
@media (min-width: 1024px) { .coverage-grid { grid-template-columns: repeat(2, 1fr); } }

.coverage-local { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.14); max-width: 640px; }
.coverage-local h3 { color: var(--color-white); font-size: 1.2rem; margin-bottom: 0.6rem; }
.coverage-local p { color: rgba(255,255,255,0.78); font-size: 0.95rem; }
.coverage-local-note { margin-top: 0.6rem; font-size: 0.88rem; }
.coverage-local-note em { color: var(--color-green); font-style: normal; font-weight: 600; }

/* ---------- Testimonios ---------- */
.testimonial-carousel { max-width: 680px; margin: 0 auto; }
.testimonial-track { overflow: hidden; position: relative; }
.testimonial-slide {
  display: none;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  text-align: center;
}
.testimonial-slide.is-active { display: block; }
.testimonial-stars { display: flex; justify-content: center; gap: 0.2rem; color: var(--color-green); margin-bottom: 0.9rem; }
.testimonial-quote { color: var(--color-green-100); margin-bottom: 0.6rem; }
.testimonial-slide p { font-size: 1.08rem; color: var(--color-navy); text-wrap: pretty; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 0.7rem; margin-top: 1.4rem; }
.avatar-placeholder {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: var(--color-navy); color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.82rem; font-family: var(--font-mono);
}
.testimonial-author div { text-align: left; }
.testimonial-author strong { display: block; font-size: 0.92rem; }
.testimonial-author span { font-size: 0.82rem; color: var(--color-text-muted); }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.carousel-btn {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-navy);
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.carousel-btn:hover { background: var(--color-navy); color: var(--color-white); border-color: var(--color-navy); }
.testimonial-dots { display: flex; gap: 0.5rem; }
.testimonial-dots button { width: 8px; height: 8px; border-radius: 2px; border: none; background: var(--color-border); padding: 0; transition: background 150ms ease, width 150ms ease; }
.testimonial-dots button.is-active { background: var(--color-green); width: 20px; }

/* ---------- Productos ---------- */
.products-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; max-width: 940px; margin: 0 auto; }
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--color-border);
  display: flex; flex-direction: column;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms ease;
}
.product-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-stamp-sm); border-color: var(--color-navy); }
.product-image { background: var(--color-off-white); display: flex; align-items: center; justify-content: center; padding: 2rem; border-bottom: 1.5px solid var(--color-border); }
.product-image img { max-height: 220px; object-fit: contain; }
.product-body { padding: 1.6rem 1.7rem 1.9rem; }
.product-body h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
.product-pest { color: var(--color-green-700); font-weight: 700; font-size: 0.76rem; margin: 0.5rem 0 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; font-family: var(--font-mono); }
.product-body > p:not(.product-pest) { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 1.4rem; }
.products-note { max-width: 640px; margin: 2.5rem auto 0; text-align: center; color: var(--color-text-muted); font-size: 0.88rem; }

@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 480px) and (max-width: 639px) {
  .product-card { flex-direction: row; }
  .product-image { border-bottom: none; border-right: 1.5px solid var(--color-border); width: 40%; flex-shrink: 0; }
}

/* ---------- Comparación ---------- */
.comparison-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1.5px solid var(--color-border); }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--color-white); }
.comparison-table th, .comparison-table td { text-align: left; padding: 1rem 1.3rem; font-size: 0.94rem; }
.comparison-table thead th { background: var(--color-navy); color: var(--color-white); font-family: var(--font-heading); font-weight: 700; }
.comparison-table tbody tr:nth-child(even) { background: var(--color-off-white); }
.comparison-table tbody tr:not(:last-child) td { border-bottom: 1px solid var(--color-border); }
.comparison-table td:nth-child(2) { color: var(--color-navy); font-weight: 600; }
.comparison-table td:nth-child(2) svg { color: var(--color-green-700); margin-right: 0.4rem; vertical-align: -3px; }
.comparison-table td:nth-child(3) { color: var(--color-text-muted); }

/* ---------- FAQ ---------- */
.accordion { max-width: 760px; margin: 0 auto; display: grid; gap: 0.7rem; }
.accordion-item { background: var(--color-white); border: 1.5px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; transition: border-color 180ms ease; }
.accordion-item.is-open { border-color: var(--color-navy); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: none; padding: 1.15rem 1.4rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--color-navy);
  text-align: left;
}
.accordion-trigger svg { flex-shrink: 0; color: var(--color-green-700); transition: transform 220ms var(--ease-out); }
.accordion-item.is-open .accordion-trigger svg { transform: rotate(180deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 280ms var(--ease-out); }
.accordion-panel p { padding: 0 1.4rem 1.3rem; color: var(--color-text-muted); font-size: 0.95rem; }

/* ---------- Blog: notas de campo, no tarjetas con imagen falsa ---------- */
.blog-list { border-top: 1.5px solid var(--color-border); max-width: 820px; margin: 0 auto; }
.blog-entry {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.4rem 0;
  border-bottom: 1.5px solid var(--color-border);
  transition: padding-left 220ms var(--ease-out), border-color 220ms ease;
}
.blog-entry:hover { padding-left: 0.6rem; border-color: var(--color-green); }
.blog-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-off-white);
  color: var(--color-navy);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
}
.blog-body { flex: 1; min-width: 0; }
.blog-tag { display: block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-green-700); margin-bottom: 0.35rem; }
.blog-body h3 { font-size: 1.05rem; line-height: 1.35; font-weight: 700; letter-spacing: -0.005em; }
.blog-link {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-navy);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.blog-entry:hover .blog-link { background: var(--color-navy); color: var(--color-white); border-color: var(--color-navy); }

/* ---------- CTA final ---------- */
.final-cta-inner { text-align: center; max-width: 640px; margin: 0 auto; position: relative; }
.final-cta h2 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); color: var(--color-white); letter-spacing: -0.02em; }
.final-cta p { margin-top: 0.8rem; font-size: 1.1rem; color: rgba(255,255,255,0.9); }
.final-cta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.4rem; margin-top: 2rem; }
.final-cta-phone { display: flex; align-items: center; gap: 0.5rem; color: var(--color-white); font-weight: 700; font-size: 1.05rem; font-family: var(--font-mono); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-navy); color: rgba(255,255,255,0.75); padding: 3.5rem 0 1.5rem; border-top: 4px solid var(--color-green); }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr; }
.footer-logo { width: 46px; height: 46px; margin-bottom: 0.9rem; }
.footer-brand p { font-size: 0.9rem; max-width: 32ch; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; font-family: var(--font-mono);
  transition: background 150ms ease, border-color 150ms ease;
}
.footer-social a:hover { background: rgba(28,192,64,0.16); border-color: var(--color-green); }
.footer-col h4 { color: var(--color-white); font-size: 0.85rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 1rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; transition: color 150ms ease; }
.footer-col a:hover { color: var(--color-green); }
.footer-address { font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.8rem; padding-top: 1.5rem; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.55); font-family: var(--font-mono); }

@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.coverage-map .map-pin:not(.map-pin-hub) { display: none; }

/* ---------- Aviso flotante hacia el blog ---------- */
.promo-toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 95;
  max-width: 336px;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
  padding: 1rem 1.1rem;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.promo-toast.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.promo-toast-close {
  position: absolute; top: 0.5rem; right: 0.5rem;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--color-neutral-light);
  border-radius: var(--radius-xs);
  transition: background 150ms ease, color 150ms ease;
}
.promo-toast-close:hover { background: var(--color-off-white); color: var(--color-navy); }
.promo-toast-link { display: flex; align-items: flex-start; gap: 0.75rem; padding-right: 1.3rem; }
.promo-toast-icon {
  flex-shrink: 0; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-green-100); color: var(--color-green-700);
  border-radius: var(--radius-sm);
}
.promo-toast-copy strong { display: block; font-size: 0.92rem; color: var(--color-navy); font-family: var(--font-heading); font-weight: 700; line-height: 1.3; }
.promo-toast-copy span { display: block; margin-top: 0.25rem; font-size: 0.82rem; color: var(--color-text-muted); }
.promo-toast-link:hover .promo-toast-copy strong { color: var(--color-green-700); }

@media (max-width: 480px) {
  .promo-toast { left: 1rem; right: 1rem; max-width: none; bottom: 0.85rem; }
}

/* ---------- Revelado al hacer scroll ----------
   Sin JS (o antes de que cargue), todo permanece visible: el estado
   oculto solo existe bajo html.js, así que un fallo de JS nunca deja
   contenido invisible. */
.js [data-reveal] { transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out), clip-path 650ms var(--ease-out); }
.js [data-reveal="rise"] { opacity: 0; transform: translateY(16px); }
.js [data-reveal="left"] { opacity: 0; transform: translateX(-38px); }
.js [data-reveal="right"] { opacity: 0; transform: translateX(38px); }
.js [data-reveal="clip"] { clip-path: inset(0 0 100% 0); }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0% 0); }

/* Cascada: los grupos de tarjetas/filas entran en secuencia, no todos a la vez */
.service-row:nth-child(2), .price-card:nth-child(2), .case-card:nth-child(2),
.why-item:nth-child(2), .product-card:nth-child(2), .checklist-item:nth-child(2),
.blog-entry:nth-child(2), .coverage-zone:nth-child(2), .accordion-item:nth-child(2) { transition-delay: 70ms; }
.service-row:nth-child(3), .price-card:nth-child(3), .case-card:nth-child(3),
.why-item:nth-child(3), .product-card:nth-child(3), .checklist-item:nth-child(3),
.blog-entry:nth-child(3), .coverage-zone:nth-child(3), .accordion-item:nth-child(3) { transition-delay: 140ms; }
.service-row:nth-child(4), .price-card:nth-child(4), .checklist-item:nth-child(4),
.why-item:nth-child(4), .coverage-zone:nth-child(4), .accordion-item:nth-child(4) { transition-delay: 210ms; }
.why-item:nth-child(5), .accordion-item:nth-child(5), .checklist-item:nth-child(5) { transition-delay: 280ms; }
.checklist-item:nth-child(6) { transition-delay: 350ms; }

.how-content[data-reveal] { transition-delay: 120ms; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
