/* =========================================================
   DAYPED Control Ambiental — Estilos
   ========================================================= */

/* ---------- Variables de marca ---------- */
:root {
  --navy: #02213F;
  --navy-700: #0B2E52;
  --green: #4A9B18;
  --green-light: #65B81B;
  --teal: #009FA5;
  --teal-dark: #0B7A6E;
  --gray: #56565B;
  --text: #3A3F47;
  --bg-soft: #F4F6F8;
  --white: #FFFFFF;

  --font-heading: "Montserrat", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;

  --radius: 10px;
  --shadow: 0 6px 20px rgba(2, 33, 63, 0.08);
  --header-h: 84px;
  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { font-size: 1.05rem; padding: 14px 30px; }
.btn__icon { width: 26px; height: 26px; flex-shrink: 0; }

.btn--primary {
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(11, 122, 110, 0.3);
}
.btn--primary:hover { background: #096659; }

.btn--outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  box-shadow: 0 2px 12px rgba(2, 33, 63, 0.06);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo img { height: 60px; width: auto; }

.nav { display: flex; align-items: center; gap: 40px; }
.nav__list { display: flex; gap: 36px; }
.nav__link {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  padding: 6px 0;
  transition: color .2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform .25s;
}
.nav__link:hover { color: var(--teal-dark); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { font-weight: 700; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__toggle span {
  width: 26px; height: 3px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .25s, opacity .25s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
  padding: 64px 0 120px;
}

/* Imagen a la derecha con desvanecido hacia el texto */
.hero__media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 62%;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.85) 18%, rgba(255,255,255,0) 50%);
}

.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 520px; }

.hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  line-height: 1.1;
  color: var(--navy);
  padding-left: 28px;
  border-left: 8px solid var(--green);
  margin-left: -36px;
  margin-bottom: 24px;
}
.hero__text {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--gray);
  margin-bottom: 36px;
  max-width: 440px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Onda inferior */
.hero__wave {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: 140px;
  z-index: 3;
}
.hero__wave-green { fill: var(--green-light); }
.hero__wave-teal  { fill: var(--teal); }
.hero__wave-white { fill: var(--white); }

/* Iconos SVG del sprite: trazo por defecto */
svg use { stroke: currentColor; }
.service svg, .package svg, .trust svg, .zone svg, .value svg, .tip svg,
.field svg, .contact-card svg, .footer svg, .project svg, .btn__icon--sm {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn__icon--sm { width: 20px; height: 20px; }

.btn--green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(74, 155, 24, 0.3);
}
.btn--green:hover { background: #3E8613; }

/* =========================================================
   SECCIONES (base)
   ========================================================= */
.section { padding: 88px 0; scroll-margin-top: var(--header-h); }
.section--soft { background: var(--bg-soft); }
.hero { scroll-margin-top: var(--header-h); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.15;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.section-head .section-title::before,
.section-head .section-title::after {
  content: "";
  width: 48px; height: 3px;
  border-radius: 2px;
  background: var(--green);
}
.section-title--left {
  display: block;
  padding-left: 18px;
  border-left: 6px solid var(--green);
  margin-bottom: 20px;
}
.section-lead { margin-top: 14px; font-size: 1.08rem; color: var(--gray); }
.section-lead--left { margin-top: 0; margin-bottom: 28px; }

/* Animación de aparición */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   SERVICIOS
   ========================================================= */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.service {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 18px calc(36% + 8px) 18px 20px;
  background: var(--white);
  border: 1px solid #E6EAEE;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 14px 30px rgba(2, 33, 63, 0.14);
}
.service__icon {
  flex-shrink: 0;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  position: relative;
  z-index: 2;
}
.service__icon svg { width: 28px; height: 28px; }
.service__body { position: relative; z-index: 2; flex: 1; }
.service__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 4px;
}
.service__desc { display: block; font-size: .88rem; color: var(--gray); line-height: 1.45; }
.service__img {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 36%;
}
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service:hover .service__img img { transform: scale(1.06); }
.service__img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 45%);
}
.service__arrow {
  position: absolute;
  right: 14px; top: 50%;
  width: 34px; height: 34px;
  padding: 7px;
  margin-top: -17px;
  z-index: 2;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
}

/* =========================================================
   PAQUETES
   ========================================================= */
.packages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}
.package {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 26px 28px;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.package:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(2, 33, 63, 0.14); }
.package--featured { border-color: var(--teal); }
.package__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .03em;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.package__icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(0, 159, 165, .1);
  color: var(--teal-dark);
  margin-bottom: 18px;
}
.package__icon svg { width: 30px; height: 30px; }
.package--featured .package__icon { background: var(--navy); color: var(--white); }
.package__name { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.package__for {
  font-size: .92rem;
  color: var(--gray);
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #E6EAEE;
}
.package__list { display: grid; gap: 10px; margin-bottom: 26px; flex: 1; }
.package__list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text); }
.package__list svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  stroke-width: 3;
}
.package__btn { width: 100%; }

/* =========================================================
   CONFIANZA + POR QUÉ
   ========================================================= */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 26px 20px;
  margin-bottom: 72px;
}
.trust__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 4px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
}
.trust__item + .trust__item { border-left: 1px solid #CDD5DD; }
.trust__item svg { width: 44px; height: 44px; flex-shrink: 0; color: var(--green); }

.why {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.why__list { display: grid; gap: 16px; }
.why__list li {
  position: relative;
  padding-left: 40px;
  font-size: 1.02rem;
}
.why__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green) 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.why__list strong { color: var(--navy); font-family: var(--font-heading); }
.why__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 62%;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(2, 33, 63, 0.18);
}

/* =========================================================
   PROYECTOS
   ========================================================= */
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 340px 190px;
  gap: 18px;
}
.project {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.project--main { grid-column: 1 / -1; }
.project img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .6s; }
.project:hover img { transform: scale(1.05); }
.project figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 24px 18px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(2,33,63,.92) 0%, rgba(2,33,63,0) 100%);
}
.project figcaption strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; }
.project--main figcaption { padding: 80px 32px 26px; }
.project--main figcaption strong { font-size: clamp(1.2rem, 2.2vw, 1.6rem); max-width: 560px; }
.project figcaption span { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .92rem; }
.project figcaption svg { width: 18px; height: 18px; color: var(--green-light); }

/* =========================================================
   COBERTURA
   ========================================================= */
.coverage {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
}
.zones { display: grid; gap: 10px; }
.zone {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #E0E6EB;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: background .2s, color .2s, border-color .2s;
}
.zone svg { width: 22px; height: 22px; color: var(--green); }
.zone:hover { border-color: var(--teal); }
.zone.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.zone.is-active svg { color: var(--green-light); }
.coverage__map {
  height: 440px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(2, 33, 63, 0.15);
  border: 4px solid var(--white);
}
.coverage__map iframe { width: 100%; height: 100%; border: 0; }

/* =========================================================
   NOSOTROS
   ========================================================= */
.about {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(2, 33, 63, 0.18);
}
.about__stat {
  position: absolute;
  right: -20px; bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: var(--navy);
  color: var(--white);
  border-radius: 14px;
  border-bottom: 4px solid var(--green);
  box-shadow: 0 12px 26px rgba(2, 33, 63, 0.3);
}
.about__stat strong { font-family: var(--font-heading); font-size: 2.6rem; line-height: 1; color: var(--green-light); }
.about__stat span { font-size: .88rem; line-height: 1.3; }
.about__content > p { margin-bottom: 14px; font-size: 1.04rem; }
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.value {
  padding: 22px 18px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-align: center;
}
.value__icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(74, 155, 24, .12);
  color: var(--navy);
  margin-bottom: 10px;
}
.value__icon svg { width: 28px; height: 28px; }
.value h3 { font-family: var(--font-heading); color: var(--navy); font-size: 1.1rem; margin-bottom: 6px; }
.value p { font-size: .9rem; color: var(--gray); line-height: 1.5; }

/* =========================================================
   CONSEJOS
   ========================================================= */
.tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.tip {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #E6EAEE;
}
.tip__img { position: relative; height: 190px; }
.tip__img img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute;
  left: 16px; bottom: -12px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .75rem;
  padding: 4px 12px;
  border-radius: 20px;
}
.tip__body summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 20px 20px;
  cursor: pointer;
}
.tip__body summary::-webkit-details-marker { display: none; }
.tip__body h3 { font-family: var(--font-heading); font-size: 1.05rem; line-height: 1.3; color: var(--navy); }
.tip__body summary svg {
  flex-shrink: 0;
  width: 32px; height: 32px;
  padding: 6px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--green);
  transition: transform .25s;
}
.tip__body[open] summary svg { transform: rotate(90deg); }
.tip__body ul { padding: 0 20px 22px 38px; list-style: disc; color: var(--gray); font-size: .94rem; }
.tip__body li + li { margin-top: 6px; }
.tip__body li::marker { color: var(--green); }

/* =========================================================
   BANDA CTA
   ========================================================= */
.cta-band { padding: 0 0 88px; }
.cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 34px 48px;
  background: var(--navy);
  border-radius: 18px;
  overflow: hidden;
  color: var(--white);
}
.cta-band__inner::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -70px;
  width: 360px; height: 140px;
  background: var(--teal);
  border-radius: 50%;
  transform: rotate(-12deg);
  opacity: .9;
}
.cta-band__icon {
  flex-shrink: 0;
  width: 72px; height: 72px;
  padding: 10px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
}
.cta-band__text { flex: 1; padding-left: 32px; border-left: 2px solid rgba(255,255,255,.25); }
.cta-band__text h2 { font-family: var(--font-heading); font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.2; }
.cta-band__text p { font-size: 1.15rem; opacity: .9; }
.cta-band .btn { position: relative; z-index: 1; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}
.form {
  display: grid;
  gap: 14px;
  padding: 30px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid #E6EAEE;
}
.field {
  position: relative;
  display: block;
}
.field svg {
  position: absolute;
  left: 16px; top: 15px;
  width: 20px; height: 20px;
  color: var(--navy);
  pointer-events: none;
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: .98rem;
  color: var(--text);
  padding: 13px 16px 13px 48px;
  background: var(--white);
  border: 1px solid #D5DCE3;
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.field select {
  cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302213F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
}
.field select:invalid { color: #8A929B; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 159, 165, .18);
}
.field .is-invalid { border-color: #D64545; }
.form__error { min-height: 1.2em; color: #D64545; font-size: .9rem; font-weight: 600; }
.form__error:empty { display: none; }
.form__submit { width: 100%; }

.contact__cards {
  display: grid;
  gap: 14px;
  align-content: start;
}
.contact-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid #E6EAEE;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: border-color .2s, transform .2s;
}
a.contact-card:hover { border-color: var(--teal); transform: translateX(4px); }
.contact-card__icon { grid-row: span 2; width: 34px; height: 34px; color: var(--green); }
.contact-card__icon--wa { color: #25D366; }
.contact-card strong { font-family: var(--font-heading); color: var(--navy); line-height: 1.2; }
.contact-card span { font-size: .9rem; color: var(--gray); word-break: break-word; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--bg-soft); border-top: 1px solid #E0E6EB; padding-top: 56px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer__brand img { height: 70px; width: auto; margin-bottom: 14px; }
.footer__brand p { color: var(--gray); max-width: 300px; }
.footer__col { padding-left: 40px; border-left: 1px solid #CDD5DD; }
.footer__col h3 { font-family: var(--font-heading); color: var(--navy); font-size: 1.05rem; margin-bottom: 14px; }
.footer__col li { margin-bottom: 8px; color: var(--text); }
.footer__col a:hover { color: var(--teal-dark); }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact svg { width: 20px; height: 20px; color: var(--navy); flex-shrink: 0; }
.footer__contact li:first-child svg { fill: currentColor; stroke: none; }
.footer__copy {
  text-align: center;
  font-size: .85rem;
  color: var(--white);
  background: var(--navy);
  padding: 16px 24px;
}

/* Botón flotante WhatsApp */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  box-shadow: 0 8px 22px rgba(37, 211, 102, .45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 34px; height: 34px; }

/* =========================================================
   PÁGINAS DE SERVICIO
   ========================================================= */
.section--tight { padding: 56px 0; }

.svc-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F4F8FB 0%, #fff 100%);
  padding: 40px 0 72px;
  min-height: 460px;
  display: flex;
  align-items: center;
}
.svc-hero__media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
}
.svc-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #F6F9FB 0%, rgba(246,249,251,.6) 22%, rgba(255,255,255,0) 55%);
}
.svc-hero__media::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--teal), var(--green-light));
}
.svc-hero__inner { position: relative; z-index: 2; }
.svc-hero__inner > * { max-width: 540px; }
.svc-hero__photo-mobile { display: none; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .88rem;
  color: var(--gray);
  margin-bottom: 26px;
}
.breadcrumb a:hover { color: var(--teal-dark); text-decoration: underline; }
.breadcrumb strong { color: var(--navy); font-weight: 600; }

.svc-hero__head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.svc-hero__icon {
  flex-shrink: 0;
  width: 68px; height: 68px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
}
.svc-hero__icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc-hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--navy);
}
.svc-hero__text { font-size: 1.15rem; color: var(--gray); margin-bottom: 30px; }
.svc-hero .btn__icon { width: 24px; height: 24px; }

/* Pasos */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(2, 33, 63, 0.1);
  border: 1px solid #E6EAEE;
}
.step {
  position: relative;
  padding: 30px 24px;
  text-align: center;
}
.step + .step { border-left: 1px solid #E6EAEE; }
.step__num {
  position: absolute;
  top: 14px; left: 16px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .85rem;
  color: var(--green);
}
.step__icon {
  display: inline-grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(0, 159, 165, .1);
  color: var(--navy);
  margin-bottom: 12px;
}
.step__icon svg, .svc-box__title svg, .faq svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.step__icon svg { width: 30px; height: 30px; }
.step__title { font-family: var(--font-heading); font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--gray); line-height: 1.5; }

/* Señales / Incluye */
.svc-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc-box {
  padding: 32px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.svc-box--accent { border-top: 5px solid var(--green); }
.svc-box:not(.svc-box--accent) { border-top: 5px solid #E8A33D; }
.svc-box__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 20px;
}
.svc-box__title svg { width: 28px; height: 28px; color: var(--green); }
.svc-box:not(.svc-box--accent) .svc-box__title svg { color: #E8A33D; }
.svc-list { display: grid; gap: 12px; }
.svc-list li { position: relative; padding-left: 34px; }
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green) 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.svc-list--alert li::before {
  background: #FDF1DE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9831F' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.svc-ideal-label { margin: 24px 0 10px; font-family: var(--font-heading); font-weight: 700; color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(0, 159, 165, .1);
  color: var(--teal-dark);
  font-size: .88rem;
  font-weight: 600;
}

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 14px; }
.faq__item {
  background: var(--white);
  border: 1px solid #E0E6EB;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary span { flex: 1; }
.faq__q-icon { width: 24px; height: 24px; color: var(--teal); flex-shrink: 0; }
.faq__arrow { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; transition: transform .25s; }
.faq__item[open] .faq__arrow { transform: rotate(90deg); }
.faq__item p { padding: 0 22px 20px 60px; color: var(--gray); }

.services--3 { grid-template-columns: repeat(3, 1fr); }
.cta-band + .section--soft { margin-top: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .packages { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}

@media (max-width: 960px) {
  .section { padding: 64px 0; }
  .services { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
  .trust__item { justify-content: flex-start; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid #CDD5DD; padding-top: 16px; }
  .why, .coverage, .about, .contact { grid-template-columns: 1fr; gap: 36px; }
  .projects { grid-template-columns: repeat(3, 1fr); grid-template-rows: 260px 150px; }
  .coverage__map { height: 340px; }
  .about__media { max-width: 460px; margin: 0 auto; }
  .about__stat { right: 12px; }
  .tips { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .cta-band__inner { flex-direction: column; text-align: center; padding: 32px 24px 40px; gap: 18px; }
  .cta-band__text { padding-left: 0; border-left: 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col { padding-left: 0; border-left: 0; }
}

@media (max-width: 600px) {
  .section-head .section-title::before,
  .section-head .section-title::after { width: 22px; }
  .packages { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 150px 150px; }
  .project:last-child { grid-column: 1 / -1; }
  .values { grid-template-columns: 1fr; }
  .service { padding-right: calc(30% + 20px); padding-left: 16px; gap: 14px; }
  .service__img { width: 30%; }
  .service__arrow { width: 28px; height: 28px; margin-top: -14px; padding: 5px; right: 10px; }
  .cta-band__inner { width: calc(100% - 32px); }
  .service__desc { display: none; }
  .form { padding: 22px 18px; }
}
@media (max-width: 960px) {
  .nav__toggle { display: flex; }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 24px 28px;
    background: var(--white);
    box-shadow: 0 12px 20px rgba(2, 33, 63, 0.08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { display: block; padding: 10px 0; }
  .nav__link::after { bottom: 4px; right: auto; width: 32px; }

  .hero {
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 90px;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
  }
  .hero__media {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    min-height: 240px;
    order: -1;
  }
  .hero__media::before {
    background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 22%);
  }
  .hero__media img {
    position: absolute;
    inset: 0;
    object-position: 40% 30%;
  }
  .hero__content { max-width: none; padding-top: 8px; }
  .hero__title { margin-left: 0; padding-left: 18px; border-left-width: 6px; }
  .hero__wave { height: 70px; }
}

@media (max-width: 520px) {
  :root { --header-h: 72px; }
  .header__logo img { height: 48px; }
  .hero__media { min-height: 200px; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Responsive: páginas de servicio ---------- */
@media (max-width: 960px) {
  .svc-hero { flex-direction: column; align-items: stretch; padding: 28px 0 0; min-height: 0; }
  .svc-hero__media { display: none; }
  .svc-hero__inner > * { max-width: none; }
  .svc-hero__photo-mobile {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    margin-top: 36px;
    border-bottom: 8px solid var(--teal);
  }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid #E6EAEE; }
  .svc-info { grid-template-columns: 1fr; }
  .services--3 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .svc-hero__icon { width: 54px; height: 54px; }
  .svc-hero__icon svg { width: 28px; height: 28px; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid #E6EAEE; }
  .svc-box { padding: 24px 20px; }
  .faq__item p { padding-left: 22px; }
}

/* ---------- Redes sociales ---------- */
.social { display: flex; gap: 10px; margin-top: 18px; }
.social__link {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--white);
  transition: transform .2s, box-shadow .2s;
}
.social__link svg { width: 22px; height: 22px; }
.social__link:hover { transform: translateY(-3px); }
.social__link--fb { background: #1877F2; }
.social__link--fb:hover { box-shadow: 0 6px 14px rgba(24, 119, 242, .4); }
.social__link--ig { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.social__link--ig:hover { box-shadow: 0 6px 14px rgba(214, 36, 159, .4); }
.social__link--tt { background: #000; }
.social__link--tt:hover { box-shadow: 0 6px 14px rgba(0, 0, 0, .35); }
.social__link--yt { background: #FF0000; }
.social__link--yt:hover { box-shadow: 0 6px 14px rgba(255, 0, 0, .35); }

/* Tarjeta "Síguenos" en contacto */
.contact-card--social { grid-template-columns: 1fr; row-gap: 10px; }
.social--card { margin-top: 0; }
.social--card .social__link { width: 38px; height: 38px; }
.social--card .social__link svg { width: 20px; height: 20px; }

/* =========================================================
   LOADER
   ========================================================= */
.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;
}
.loader { display: none; }
.js .loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, #FFFFFF 0%, #F2F6F9 70%);
  transition: opacity .6s ease, visibility .6s ease;
}
.js.is-loading body { overflow: hidden; }

/* Franja inferior con los colores de la marca */
.js .loader::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--navy), var(--teal), var(--green-light));
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: loaderIn .5s ease both;
}
.loader__logo {
  width: min(280px, 70vw);
  height: auto;
  margin: -40px 0 -30px;   /* compensa el espacio vacío del SVG */
}
.loader__bar {
  position: relative;
  width: 180px;
  height: 4px;
  border-radius: 4px;
  background: #E1E8EE;
  overflow: hidden;
}
.loader__bar span {
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--teal), var(--green-light));
  animation: loaderSlide 1.2s ease-in-out infinite;
}
.loader__text {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gray);
}

/* Salida */
.js .loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes loaderIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes loaderSlide {
  0%   { left: -40%; }
  100% { left: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .loader__inner, .loader__bar span { animation: none; }
  .loader__bar span { left: 30%; }
}

/* =========================================================
   BICHITOS INTERACTIVOS (js/bichos.js)
   ========================================================= */
.bugs { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.bug {
  position: absolute;
  --size: 34px;
  left: calc(var(--size) / -2); top: calc(var(--size) / -2);
  width: var(--size); height: var(--size);
  will-change: transform;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, .7));
}
.bug svg, .card-bug svg, .leaf svg, .leaf-pop svg, .spray-hint svg {
  width: 100%; height: 100%; display: block; overflow: visible;
}

/* Patas: se mueven en trípode alternado */
.leg { transform-box: view-box; transform-origin: 20px 19px; }
@keyframes legSwing { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
.bug.is-walking .leg-a, .card-bug .leg-a { animation: legSwing .28s ease-in-out infinite alternate; }
.bug.is-walking .leg-b, .card-bug .leg-b { animation: legSwing .28s ease-in-out infinite alternate-reverse; }
.bug.is-running .leg-a, .bug.is-running .leg-b,
.card-bug .leg-a, .card-bug .leg-b { animation-duration: .1s; }

/* Fumigada / escapó */
.bug.is-dead svg { animation: bugDie .45s ease-in forwards; }
.bug.is-gone { opacity: 0; }
@keyframes bugDie { to { transform: scale(.2) rotate(220deg); opacity: 0; } }

.leaf-pop {
  position: absolute;
  width: 24px; height: 24px;
  margin: -12px 0 0 -12px;
  animation: leafPop 1.1s ease-out forwards;
}
@keyframes leafPop {
  0%   { transform: scale(0) rotate(-40deg); opacity: 0; }
  30%  { transform: scale(1.25) rotate(0); opacity: 1; }
  100% { transform: translateY(-46px) scale(.9) rotate(25deg); opacity: 0; }
}

/* Atomizador */
.hero.has-sprayer {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg transform='rotate(-45 16 16)' stroke='white' stroke-width='1'%3E%3Crect x='14' y='1' width='4' height='10' rx='1' fill='%2302213F'/%3E%3Crect x='11' y='10' width='10' height='9' rx='2' fill='%23009FA5'/%3E%3Crect x='8.5' y='12' width='3' height='6' rx='1' fill='%2365B81B'/%3E%3Crect x='13' y='19' width='6' height='11' rx='2' fill='%2302213F'/%3E%3C/g%3E%3C/svg%3E") 5 5, crosshair;
}
.hero.has-sprayer a, .hero.has-sprayer button { cursor: pointer; }

.mist {
  position: absolute;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: rgba(0, 159, 165, .45);
  animation: mist .6s ease-out forwards;
}
@keyframes mist { to { transform: translate(var(--dx), var(--dy)) scale(2.2); opacity: 0; } }
.mist-ring {
  position: absolute;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 2px solid rgba(101, 184, 27, .7);
  animation: mistRing .5s ease-out forwards;
}
@keyframes mistRing { to { transform: scale(5); opacity: 0; } }

.spray-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: .85rem;
  color: var(--gray);
  transition: opacity .5s;
}
.spray-hint svg { width: 20px; height: 20px; flex-shrink: 0; }
.spray-hint.is-hidden { opacity: 0; }

/* Estela de hojitas */
.leaf-trail { position: fixed; inset: 0; z-index: 95; pointer-events: none; overflow: hidden; }
.leaf {
  position: absolute;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  animation: leafFall 1.4s ease-in forwards;
}
@keyframes leafFall {
  0%   { transform: rotate(var(--r)) scale(.4); opacity: 0; }
  15%  { transform: rotate(var(--r)) scale(1); opacity: .9; }
  100% { transform: translate(var(--dx), 40px) rotate(calc(var(--r) + 120deg)) scale(.8); opacity: 0; }
}

/* Hormiga en tarjetas de servicio */
.card-bug {
  position: absolute;
  z-index: 2;
  top: var(--y);
  left: -30px;
  --size: 28px;
  width: var(--size); height: var(--size);
  margin-top: calc(var(--size) / -2);
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
  animation: cardBug 1.4s cubic-bezier(.4, .1, .6, 1) forwards;
}
@keyframes cardBug {
  0%   { left: -30px; transform: rotate(90deg); }
  40%  { transform: rotate(72deg) translateX(-6px); }
  70%  { transform: rotate(108deg); }
  100% { left: calc(100% + 30px); transform: rotate(90deg); }
}

/* =========================================================
   SECTORES
   ========================================================= */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sector {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, background-color .25s;
}
.sector::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--green-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.sector:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(2, 33, 63, 0.14); }
.sector:hover::before { transform: scaleX(1); }
.sector svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sector__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  margin-bottom: 18px;
  transition: background-color .25s;
}
.sector:hover .sector__icon { background: var(--teal-dark); }
.sector__icon svg { width: 30px; height: 30px; }
.sector__title { font-family: var(--font-heading); font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; }
.sector__text { color: var(--gray); font-size: .95rem; flex: 1; margin-bottom: 18px; }
.sector__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  color: var(--teal-dark);
}
.sector__link svg { width: 18px; height: 18px; transition: transform .25s; }
.sector:hover .sector__link svg { transform: translateX(4px); }

/* =========================================================
   CÓMO TRABAJAMOS
   ========================================================= */
.process {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: none;
}
/* Línea que une los pasos */
.process::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 12.5%; right: 12.5%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 10px, transparent 10px 18px);
  opacity: .5;
}
.process__step { position: relative; text-align: center; padding: 0 6px; }
.process__icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  border: 3px solid var(--teal);
  box-shadow: 0 8px 20px rgba(2, 33, 63, .1);
  margin-bottom: 18px;
}
.process__icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.process__step:first-child .process__icon svg { fill: currentColor; stroke: none; }
.process__icon b {
  position: absolute;
  top: -6px; right: -6px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: .85rem;
  border: 2px solid var(--white);
}
.process__step h3 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.process__step p { font-size: .94rem; color: var(--gray); }
.process__cta { text-align: center; margin-top: 44px; }

/* =========================================================
   FAQ (home) + aviso de privacidad
   ========================================================= */
.section--soft + .cta-band { padding-top: 88px; }
.section--soft .faq__item { box-shadow: none; }

.form__privacy { font-size: .82rem; color: var(--gray); }
.form__privacy a, .footer__copy a { text-decoration: underline; }
.form__privacy a:hover { color: var(--teal-dark); }
.footer__copy a:hover { color: var(--green-light); }

.legal { max-width: 860px; }
.legal h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  padding-left: 18px;
  border-left: 6px solid var(--green);
  margin-bottom: 10px;
}
.legal__date { color: var(--gray); font-size: .9rem; margin-bottom: 36px; }
.legal h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--navy);
  margin: 34px 0 12px;
}
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 24px; }
.legal li::marker { color: var(--green); }
.legal a { color: var(--teal-dark); text-decoration: underline; }
.legal mark {
  background: #FFF3C4;
  color: #7A5A00;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

@media (max-width: 960px) {
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process::before { display: none; }
}
@media (max-width: 600px) {
  .sectors { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process__step { display: grid; grid-template-columns: 80px 1fr; column-gap: 18px; text-align: left; align-items: start; }
  .process__icon { grid-row: span 2; margin-bottom: 0; }
  .process__step h3 { margin-top: 12px; }
}

/* ---------- Cobertura por estados ---------- */
.states {
  display: flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 18px;
  background: var(--bg-soft);
  border-radius: 12px;
}
.state {
  flex: 1;
  padding: 11px 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .98rem;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.state:hover { background: rgba(255, 255, 255, .7); }
.state.is-active { background: var(--navy); color: var(--white); box-shadow: 0 4px 12px rgba(2, 33, 63, .2); }

.cities { display: flex; flex-wrap: wrap; gap: 8px; }
.cities[hidden] { display: none; }
.city {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 10px;
  font: 600 .9rem var(--font-body);
  color: var(--navy);
  background: var(--white);
  border: 1px solid #DCE3E9;
  border-radius: 20px;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.city svg {
  width: 16px; height: 16px;
  color: var(--green);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.city:hover { border-color: var(--teal); }
.city.is-active { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.city.is-active svg { color: var(--white); }

.coverage__note { margin-top: 20px; font-size: .92rem; color: var(--gray); }
.coverage__note a { color: var(--teal-dark); font-weight: 700; text-decoration: underline; }

/* =========================================================
   PÁGINA 404
   ========================================================= */
.notfound { min-height: calc(100vh - var(--header-h) - 120px); display: grid; align-items: center; }
.notfound__inner { text-align: center; max-width: 640px; }
.notfound__code {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(5rem, 18vw, 9rem); line-height: 1;
  color: var(--navy); margin-bottom: 18px;
}
.notfound__bug { width: .8em; height: .8em; color: var(--green); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notfound__actions { justify-content: center; margin-top: 30px; }
.footer__credit { white-space: nowrap; }
.footer__credit a { font-weight: 700; }
