/* Página 2.0 (26/09/2026): fuentes del sistema de diseño v2, alojadas en el propio
   sitio porque la CSP solo admite font-src 'self'. Subconjunto latino (cubre el
   español). Licencia OFL en assets/fonts/. */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("assets/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  /* Tokens v2 — P17-DHE-docs/design-system/design-tokens.md */
  --pink: #d1007f;
  --pink-dark: #ae0082;
  --pink-soft: #ffe3f0;
  --ink: #131826;
  --muted: #5f6675;
  --line: #e8dce2;
  --paper: #fff3f8;
  --soft: #fceaf2;
  --paper-card: rgba(255, 255, 255, 0.65);
  --green: #11a85b;
  --yellow: #ffc300;
  --shadow: 0 18px 45px rgba(22, 24, 35, 0.12);
  --radius: 8px;
  --accent: var(--pink);
  color-scheme: light;

  /* Página 2.0 — alternancia oscuro/claro.
     REGLA: el fucsia de marca no va como texto pequeño sobre oscuro (3,5:1);
     ahí se usa --pink-on-dark. */
  --font-heading: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --dark: #0c0f1a;
  --dark-2: #1b2133;
  --dark-line: rgba(255, 255, 255, 0.1);
  --on-dark: #f3f4f8;
  --on-dark-soft: #b7bdcc;
  --pink-on-dark: #ff5cb4;
  --grad-dark: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  --grad-dark-rev: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
  --grad-light: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  --grad-light-rev: linear-gradient(180deg, var(--paper) 0%, #ffffff 100%);
  --grad-pink: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
  --radius-card: 16px;
  --radius-sharp: 2px;
  --shadow-light: 0 1px 2px rgba(19, 24, 38, 0.05), 0 10px 28px rgba(19, 24, 38, 0.07);
  --fog-pink: rgba(209, 0, 127, 0.28);
  --fog-violet: rgba(120, 70, 255, 0.16);
  --fog-white: rgba(255, 255, 255, 0.07);
  --fog-light-pink: rgba(209, 0, 127, 0.1);
  --fog-light-violet: rgba(150, 110, 255, 0.07);
  --fog-light-gray: rgba(19, 24, 38, 0.04);

  /* Motion system */
  --motion-fast: 180ms;
  --motion-base: 520ms;
  --motion-slow: 760ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Safe areas — iOS notch / Dynamic Island / home indicator */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.mouse-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    circle 280px at var(--mx, 50%) var(--my, 50%),
    rgba(209, 0, 127, 0.10) 0%,
    rgba(209, 0, 127, 0.04) 30%,
    transparent 70%
  );
}

.content-wrapper {
  position: relative;
  z-index: 1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.sprite {
  display: none;
}

.container {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  border-bottom: 0;
  box-shadow: 0 12px 30px rgba(209, 0, 127, 0.18);
  padding-top: var(--safe-top);
}

.header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand img {
  width: 200px;
  height: auto;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 34px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 0;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--pink);
  transition: width 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 46px;
}

.site-header .main-nav a {
  color: rgba(255, 255, 255, 0.88);
}

.site-header .main-nav a::after {
  background: #fff;
}

.site-header .main-nav a:hover,
.site-header .main-nav a.active {
  color: #fff;
}

.site-header .header-cta {
  background: #fff;
  color: var(--pink);
  box-shadow: 0 14px 28px rgba(25, 25, 30, 0.16);
}

.site-header .header-cta:hover {
  background: #fff;
  color: var(--pink-dark);
}

.btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  padding: 0 24px;
  border-radius: var(--radius);
  background: var(--pink);
  color: #fff;
  border: 0;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(209, 0, 127, 0.24);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  text-align: center;
  white-space: normal;
}

.btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--pink-dark);
  box-shadow: 0 20px 36px rgba(209, 0, 127, 0.3);
}

.btn-small {
  min-height: 46px;
  padding: 0 18px;
  font-size: 13px;
}

.btn-full {
  width: 100%;
}

.btn-light {
  background: #fff;
  color: var(--pink);
  box-shadow: 0 18px 34px rgba(25, 25, 30, 0.16);
}

.btn-light:hover {
  background: #fff;
  color: var(--pink-dark);
}

/* Touch feedback — :active states */
.btn:active {
  transform: scale(0.97);
  box-shadow: 0 8px 16px rgba(209, 0, 127, 0.18);
  transition-duration: 80ms;
}

.btn-light:active {
  transform: scale(0.97);
  box-shadow: 0 8px 16px rgba(25, 25, 30, 0.12);
}

/* Keyboard focus — :focus-visible states */
.btn:focus-visible,
.btn-light:focus-visible,
.btn-outline:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.main-nav a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 4px;
}

.service-card:focus-visible,
.coverage-zone-btn:focus-visible,
.coverage-ext-pin:focus-visible,
.coverage-card-cta:focus-visible,
.coverage-cta-main:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.footer-grid a:focus-visible,
.footer-contact a:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
  border-radius: 2px;
}

.cookie-actions button:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 6px;
  background: #fff;
  padding: 8px 7px;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 16px rgba(209, 0, 127, 0.35);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: var(--pink);
  transition: background 180ms ease;
}

.nav-toggle::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 25%;
  right: 25%;
  height: 4px;
  border-radius: 999px;
  background: var(--pink);
  filter: blur(6px);
  opacity: 0.7;
}

.nav-toggle:active {
  transform: scale(0.92);
  transition: transform 80ms ease;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 46%, rgba(209, 0, 127, 0.1), transparent 32%),
    linear-gradient(90deg, #fff 0%, #fff 45%, #f8f9fb 100%);
}

.hero-grid {
  min-height: 565px;
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  gap: 10px;
  padding: 34px 0 24px;
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--pink);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 17px;
}

.hero h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.hero h1 span {
  color: var(--pink);
}

.hero-lead {
  max-width: 548px;
  margin: 20px 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(96px, 1fr));
  gap: 22px;
  max-width: 560px;
  margin-bottom: 30px;
}

.metric {
  display: grid;
  gap: 10px;
}

.metric-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--pink);
  border-radius: 50%;
  color: var(--pink);
}

.metric-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric p {
  margin: 0;
  color: #252a35;
  font-size: 14px;
  line-height: 1.25;
}

.metric strong {
  display: block;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.trust {
  min-width: 210px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.avatars {
  display: flex;
}

.avatars span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-left: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #293447, #f0b07a);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.avatars span:first-child {
  margin-left: 0;
}

.trust p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

.trust strong {
  display: block;
  color: var(--pink);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 498px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% -16% 7% 20%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(209, 0, 127, 0.12));
  filter: blur(24px);
}

.hero-visual img {
  position: relative;
  width: min(575px, 100%);
  height: auto;
  object-fit: contain;
  border-radius: 0 0 0 80px;
  filter: drop-shadow(0 20px 28px rgba(14, 18, 30, 0.18));
}

.benefit-band {
  padding: 10px 0 22px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  box-shadow: 0 18px 46px rgba(209, 0, 127, 0.26);
}

.benefit-grid article {
  min-height: 126px;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 18px;
  padding: 26px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.benefit-grid article:last-child {
  border-right: 0;
}

.benefit-grid svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-grid h2 {
  margin: 0 0 8px;
  font-size: 15px;
  text-transform: uppercase;
}

.benefit-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.services-section {
  padding: 22px 0 44px;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid #e4e8ef;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 30px rgba(20, 26, 38, 0.06);
}

.service-card svg {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--pink);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.service-card:active {
  transform: scale(0.98);
  border-color: var(--pink);
  transition-duration: 80ms;
}

.steps-section {
  padding: 6px 0 42px;
}

.section-title {
  margin: 0 0 26px;
  text-align: center;
  text-transform: uppercase;
  font-size: 28px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.step {
  position: relative;
  text-align: center;
}

.step:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  top: 45px;
  right: -26px;
  color: #3c4250;
  font-size: 40px;
  font-weight: 500;
}

.step-number {
  position: absolute;
  top: 0;
  left: 18px;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--pink);
  color: #fff;
  font-weight: 900;
}

.step-card {
  width: 166px;
  height: 92px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid #eef1f5;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fafbfc);
  box-shadow: 0 12px 24px rgba(20, 26, 38, 0.06);
}

.step-card svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: var(--pink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.step p {
  max-width: 230px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.details-section {
  padding: 0 0 24px;
}

.details-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.78fr 0.9fr;
  gap: 42px;
  align-items: start;
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fafbfc);
  box-shadow: 0 18px 48px rgba(20, 26, 38, 0.08);
}

.details-layout > * + * {
  position: relative;
}

.details-layout > * + *::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -21px;
  width: 1px;
  background: #d9dee7;
}

.details-layout h2 {
  margin: 0 0 14px;
  text-transform: uppercase;
  font-size: 18px;
}

.reason {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 66px;
  padding: 10px 14px;
  border: 1px solid #dce2ea;
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 8px;
}

.reason svg,
.city-list svg,
.soon svg,
.footer-grid svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reason svg {
  width: 34px;
  height: 34px;
  color: var(--pink);
}

.reason h3 {
  margin: 0 0 3px;
  font-size: 14px;
}

.reason p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.city-list {
  width: min(100%, 210px);
  padding: 18px 22px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 34px rgba(20, 26, 38, 0.12);
}

.city-list p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 17px;
  color: #252a35;
  font-size: 15px;
}

.city-list p:last-child {
  margin-bottom: 0;
}

.city-list svg {
  width: 22px;
  height: 22px;
  color: var(--pink);
}

.soon {
  width: min(100%, 220px);
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 5px;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
}

.soon svg {
  width: 22px;
  height: 22px;
}

.price-card {
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.price-card h2 {
  margin-bottom: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--yellow);
  color: #4b3700;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  margin: 8px 0 0;
  color: var(--pink);
  font-size: 58px;
  line-height: 1;
  font-weight: 900;
}

.price-subtitle {
  margin: 4px 0 18px;
  text-align: center;
  font-size: 14px;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.price-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.price-card li svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.final-cta {
  padding: 0 0 38px;
}

.about-section {
  padding: 12px 0 38px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 42px;
  padding: 34px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f9fafc);
  box-shadow: 0 18px 48px rgba(20, 26, 38, 0.08);
}

.about-grid h2 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.12;
}

.about-grid p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.about-stats article {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--pink-soft);
  text-align: center;
}

.about-stats strong {
  color: var(--pink);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.about-stats span {
  color: #3d4350;
  font-size: 13px;
  font-weight: 700;
}

.cta-panel {
  position: relative;
  min-height: 260px;
  display: grid;
  grid-template-columns: 1fr 330px 170px;
  align-items: center;
  gap: 26px;
  overflow: hidden;
  padding: 38px 64px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 58% 50%, rgba(255, 255, 255, 0.22), transparent 23%),
    linear-gradient(135deg, var(--pink), #c60051);
  color: #fff;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.12) 35% 36%, transparent 36%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 94px);
  opacity: 0.38;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  max-width: 450px;
  margin: 0 0 14px;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: 0;
}

.cta-copy p {
  max-width: 430px;
  margin: 0 0 22px;
  line-height: 1.5;
}

.cta-box {
  width: 330px;
  filter: drop-shadow(0 18px 20px rgba(20, 20, 30, 0.26));
}

.cta-stats {
  display: grid;
  gap: 30px;
  text-transform: uppercase;
}

.cta-stats p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.cta-stats strong {
  display: block;
  font-size: 30px;
  line-height: 1.1;
}

.contact-section {
  padding: 0 0 38px;
  position: relative;
  overflow: hidden;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 32px;
  border: 1px solid #e4e8ef;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(20, 26, 38, 0.08);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-panel h2 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.contact-lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.contact-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-benefits {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.contact-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #2c3240;
}

.benefit-check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(209, 0, 127, 0.10);
  color: var(--pink);
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
}

.contact-trust-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.contact-trust-card {
  padding: 16px 14px;
  border: 1px solid #ececf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.contact-trust-card strong {
  display: block;
  color: var(--pink);
  font-size: 20px;
  line-height: 1;
}

.contact-trust-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

/* Quote card (form) */
.quote-card {
  border-top: 4px solid var(--pink) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.10) !important;
}

.form-title {
  margin: 0 0 4px;
  font-size: 20px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-title svg {
  width: 22px;
  height: 22px;
  color: var(--pink);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-legal-box {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fafafa;
  border: 1px solid #f0f0f2;
}

.form-legal-box .privacy-note {
  font-size: 11px;
}

.form-legal-box .privacy-note a,
.check-field a {
  color: var(--pink);
  text-decoration: underline;
}

.quote-submit {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark)) !important;
  box-shadow: 0 14px 32px rgba(209, 0, 127, 0.22);
  border: 0;
  color: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.quote-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(209, 0, 127, 0.28);
  filter: brightness(1.04);
}

.quote-submit:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

/* Input focus glow */
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(209, 0, 127, 0.08);
  outline: none;
}



.lead-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid #e4e8ef;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(20, 26, 38, 0.08);
}

.lead-form h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.form-grid,
.form-section-grid {
  display: grid;
  gap: 16px;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-section-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.lead-form label:not(.check-field) {
  display: grid;
  gap: 7px;
  color: #2c3240;
  font-size: 13px;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  padding: 11px 12px;
  color: #141a26;
  background: #fff;
  font: inherit;
}

.lead-form textarea {
  resize: vertical;
}

.full-field {
  grid-column: 1 / -1;
}

.check-field {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  color: #3d4350;
  font-size: 12px;
  line-height: 1.45;
  min-height: 44px;
  align-items: start;
}

.check-field input {
  width: 24px;
  height: 24px;
  margin-top: 0;
  accent-color: var(--pink);
}

.privacy-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.form-status {
  color: #127947;
  font-weight: 800;
}

/* Honeypot anti-spam trap */
.ohnohoney {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.legal-footer .footer-grid {
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 40px;
}

.legal-footer .footer-brand p {
  max-width: none;
  margin-top: 8px;
}

@media (max-width: 1080px) {
  .legal-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .legal-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-footer .footer-brand {
    text-align: center;
  }

  .legal-footer .footer-brand img {
    margin: 0 auto;
  }
}

.legal-page {
  padding: 56px 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.legal-card {
  padding: 28px;
  border: 1px solid #e4e8ef;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 30px rgba(20, 26, 38, 0.06);
}

.legal-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.legal-card h3 {
  margin: 18px 0 8px;
  font-size: 17px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.65;
}

.legal-card ul,
.legal-card ol {
  margin: 10px 0 0;
  padding-left: 20px;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  width: min(760px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid #d9dee8;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 54px rgba(20, 26, 38, 0.18);
}

.cookie-banner h2,
.cookie-banner p {
  margin: 0;
}

.cookie-banner h2 {
  margin-bottom: 8px;
  font-size: 18px;
}

.cookie-banner p,
.cookie-options {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.cookie-options {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.cookie-actions {
  display: grid;
  gap: 8px;
  align-content: center;
}

.cookie-actions button {
  border: 1px solid #d9dee8;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: #141a26;
  font-weight: 800;
  cursor: pointer;
}

.cookie-actions button:first-child {
  border-color: var(--pink);
  background: var(--pink);
  color: #fff;
}

.page-main {
  background: #fff;
}

.page-hero {
  overflow: hidden;
  padding: 58px 0 34px;
  background:
    radial-gradient(circle at 82% 18%, rgba(209, 0, 127, 0.12), transparent 28%),
    linear-gradient(180deg, #fff, #f8f9fb);
}

.page-hero.compact {
  padding-bottom: 48px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 46px;
}

.page-hero h1 {
  max-width: 720px;
  margin: 0 0 18px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 900;
}

.page-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.page-hero img {
  width: min(100%, 520px);
  justify-self: end;
  border-radius: var(--radius);
  filter: drop-shadow(0 18px 30px rgba(14, 18, 30, 0.16));
}

.page-hero img.how-works-image {
  width: min(100%, 620px);
  background: #fff;
  box-shadow: 0 22px 50px rgba(20, 26, 38, 0.12);
}

.services-hero-visual {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
  justify-self: stretch;
  overflow: hidden;
  padding: 44px 34px;
  border: 1px solid rgba(209, 0, 127, 0.12);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 55% 46%, rgba(209, 0, 127, 0.18), transparent 30%),
    linear-gradient(180deg, #fff, #fff4f8);
  box-shadow: 0 22px 50px rgba(20, 26, 38, 0.12);
}

.services-hero-visual::before,
.services-hero-visual::after {
  content: "";
  position: absolute;
  border: 1px dashed rgba(209, 0, 127, 0.34);
  border-radius: 50%;
}

.services-hero-visual::before {
  width: 360px;
  height: 190px;
  transform: rotate(-12deg);
}

.services-hero-visual::after {
  width: 260px;
  height: 132px;
  transform: rotate(14deg);
}

.services-hero-visual img {
  position: relative;
  z-index: 2;
  width: min(78%, 340px);
  filter: drop-shadow(0 24px 24px rgba(20, 20, 30, 0.22));
}

.service-tag {
  position: absolute;
  z-index: 3;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(209, 0, 127, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--pink);
  box-shadow: 0 12px 24px rgba(20, 26, 38, 0.1);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.tag-one {
  top: 46px;
  left: 34px;
}

.tag-two {
  top: 88px;
  right: 26px;
}

.tag-three {
  bottom: 76px;
  left: 40px;
}

.tag-four {
  right: 34px;
  bottom: 42px;
}

.page-section {
  padding: 42px 0;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.page-card,
.process-timeline article,
.coverage-page-grid article,
.story-grid article,
.contact-box,
.split-info > div {
  border: 1px solid #e4e8ef;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 30px rgba(20, 26, 38, 0.06);
}

.page-card {
  min-height: 220px;
  padding: 26px;
}

.page-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 30px;
  margin-bottom: 22px;
  border-radius: 6px;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
}

.page-card h2,
.process-timeline h2,
.coverage-page-grid h2,
.story-grid h2,
.split-info h2,
.contact-box h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.page-card p,
.process-timeline p,
.coverage-page-grid p,
.story-grid p,
.split-info p,
.contact-box p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.process-timeline {
  display: grid;
  gap: 18px;
  counter-reset: steps;
}

.process-timeline article {
  position: relative;
  min-height: 132px;
  padding: 26px 28px 26px 92px;
}

.process-timeline span {
  position: absolute;
  left: 28px;
  top: 28px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-weight: 900;
}

.muted-section {
  background: #f8f9fb;
}

.split-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.split-info > div {
  padding: 28px;
}

.coverage-panel,
.contact-box {
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.coverage-panel strong {
  display: block;
  color: var(--pink);
  font-size: 48px;
  line-height: 1;
  font-weight: 900;
}

.coverage-panel span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.coverage-page-grid,
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.coverage-page-grid article,
.story-grid article {
  min-height: 180px;
  padding: 26px;
}



.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.values-grid article {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 30px rgba(20, 26, 38, 0.06);
}

.values-grid strong {
  color: var(--pink);
  font-size: 22px;
}

.values-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.contact-box {
  justify-self: stretch;
}

.contact-box p {
  margin-bottom: 12px;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 28px 0 18px;
  padding-bottom: max(18px, var(--safe-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.footer-brand img {
  width: 182px;
}

.footer-brand p {
  max-width: 260px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  text-transform: uppercase;
  font-size: 13px;
}

.footer-grid a,
.footer-grid p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: #3d4350;
  font-size: 13px;
}

/* Contact column: labels inline with values */
.footer-contact p {
  display: block;
  line-height: 1.6;
}

.footer-contact strong {
  font-weight: 800;
}

.footer-contact a {
  display: inline;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-contact a:hover {
  color: var(--pink);
}

.footer-grid a:hover {
  color: var(--pink);
}

.footer-grid svg {
  width: 18px;
  height: 18px;
  color: var(--pink);
}

.socials {
  display: flex;
  gap: 14px;
}

.socials a,
.socials span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 50%;
  color: #fff;
  background: #111827;
  font-size: 12px;
  font-weight: 900;
}

.socials a:nth-child(2),
.socials span:nth-child(2) {
  background: #1877f2;
}

.socials a:nth-child(3),
.socials span:nth-child(3) {
  background: #050505;
}

.footer-disclaimer {
  max-width: 800px;
  margin: 18px auto 0;
  padding: 0 16px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  opacity: 0.75;
}

.copyright {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

/* ── Coverage Map v1.1 — Zone-based ── */

.coverage-section { background: #fafafa; }

.coverage-stats {
  display: flex; justify-content: center; gap: 40px;
  margin-bottom: 36px; text-align: center;
}
.coverage-stat strong {
  display: block; font-size: 32px; font-weight: 800; color: var(--accent);
}
.coverage-stat span { font-size: 13px; color: var(--muted); }

.coverage-layout {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 28px; align-items: start;
}

.coverage-zones { display: flex; flex-direction: column; gap: 8px; }

.coverage-zone-btn {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer;
  transition: all 0.2s ease; text-align: left;
}
.coverage-zone-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(209,0,127,0.1);
}
.coverage-zone-btn[aria-pressed="true"] {
  border-color: var(--accent); background: rgba(209,0,127,0.04);
  box-shadow: 0 2px 16px rgba(209,0,127,0.15);
}

.zone-letter {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(209,0,127,0.1); color: var(--accent);
  font-size: 16px; font-weight: 800; flex-shrink: 0;
  transition: all 0.2s;
}
.coverage-zone-btn:hover .zone-letter,
.coverage-zone-btn[aria-pressed="true"] .zone-letter {
  background: var(--accent); color: #fff;
}

.zone-info strong {
  display: block; font-size: 14px; font-weight: 700; color: var(--ink);
}
.zone-info span {
  font-size: 12px; color: var(--muted); line-height: 1.4;
}

.coverage-map-wrapper {
  position: relative;
}

.coverage-map-container {
  position: relative; background: #fff; border-radius: 16px;
  padding: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  overflow: hidden;
}
.coverage-map-container svg {
  width: 100%; height: auto; display: block;
}

.coverage-map-container svg path {
  fill: rgba(209,0,127,0.12); stroke: #fff; stroke-width: 2.5;
  cursor: pointer; transition: fill 0.2s ease;
}
.coverage-map-container svg path:hover,
.coverage-map-container svg path.is-hover { fill: rgba(209,0,127,0.35); }
.coverage-map-container svg path.is-active {
  fill: #D1007F; filter: drop-shadow(0 2px 6px rgba(209,0,127,0.35));
}
.coverage-map-container svg path:focus-visible { outline: 2px solid var(--pink); outline-offset: 1px; }

/* Extended municipality paths */
.coverage-map-container svg path.ext-municipality {
  fill: rgba(209,0,127,0.05); stroke: var(--accent);
  stroke-width: 1.5; stroke-dasharray: 6 3;
  transition: fill 0.25s, stroke 0.25s;
}
.coverage-map-container svg path.ext-municipality:hover,
.coverage-map-container svg path.ext-municipality.is-hover {
  fill: rgba(209,0,127,0.15);
}
.coverage-map-container svg path.ext-municipality.is-active {
  fill: rgba(209,0,127,0.3); stroke-width: 2; stroke-dasharray: none;
  filter: drop-shadow(0 1px 4px rgba(209,0,127,0.2));
}

.coverage-compass {
  position: absolute; top: 12px; right: 14px;
  font-size: 10px; font-weight: 700; color: var(--muted); opacity: 0.5;
}

/* Extended municipality pins */
.coverage-ext-pin {
  position: absolute; display: flex; align-items: center; gap: 6px;
  padding: 5px 10px 5px 8px; border-radius: 20px;
  background: #fff; border: 1.5px solid var(--line);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-size: 12px; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: all 0.2s; white-space: nowrap; z-index: 5;
}
.coverage-ext-pin:hover {
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 3px 12px rgba(209,0,127,0.15);
  transform: translateY(-1px);
}
.coverage-ext-pin.is-active {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.coverage-ext-pin.is-active .ext-dot { background: #fff; }

.ext-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
  animation: extPulse 2s ease-in-out infinite;
}
@keyframes extPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* Pin positions — geographic */
.ext-zipaquira { top: 0; left: 42%; }
.ext-chia { top: 6%; right: 8%; }
.ext-mosquera { top: 38%; left: -2%; }
.ext-soacha { bottom: 30%; left: -2%; }

.coverage-tooltip {
  position: absolute; pointer-events: none;
  background: rgba(24,27,34,0.88); color: #fff;
  padding: 5px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s; z-index: 10;
}
.coverage-tooltip.is-visible { opacity: 1; transform: translateY(0); }

.coverage-card {
  margin-top: 24px; padding: 20px 24px;
  background: #fff; border-radius: 14px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  animation: cardSlideUp 0.25s ease;
}
@keyframes cardSlideUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.coverage-card-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 10px;
}
.coverage-card-head .zone-letter { background: var(--accent); color: #fff; }
.coverage-card-title { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0; }
.coverage-card-localities { font-size: 13px; color: var(--muted); margin: 2px 0 0; line-height: 1.4; }
.coverage-card-desc { font-size: 13px; color: var(--muted); margin: 0 0 14px; line-height: 1.5; }
.coverage-card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; background: linear-gradient(135deg, #D1007F, #AE0082);
  color: #fff; border-radius: 8px; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: transform 0.15s, box-shadow 0.15s;
}
.coverage-card-cta:hover {
  transform: translateY(-1px); box-shadow: 0 4px 14px rgba(209,0,127,0.35);
}

.coverage-cta-block {
  margin-top: 40px; text-align: center; padding: 32px 24px;
  background: #fff; border-radius: 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.coverage-cta-block h2 { font-size: 22px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.coverage-cta-block p { font-size: 14px; color: var(--muted); margin: 0 auto 18px; max-width: 480px; }
.coverage-cta-main {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; background: linear-gradient(135deg, #D1007F, #AE0082);
  color: #fff; border-radius: 10px; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: transform 0.15s, box-shadow 0.15s;
}
.coverage-cta-main:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(209,0,127,0.3); }

.coverage-source { margin-top: 20px; font-size: 11px; color: #999; text-align: center; }
.coverage-source a { color: #999; text-decoration: underline; }



@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 180px 1fr 36px;
  }

  .brand img {
    width: 178px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
    align-self: center;
    order: 3;
  }

  .main-nav {
    position: absolute;
    top: 88px;
    left: 24px;
    right: 24px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    box-shadow: var(--shadow);
    z-index: 100;
    /* Animación de entrada/salida */
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .header-cta {
    display: none;
  }

  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a::after {
    display: none;
  }

  .container {
    width: min(1160px, calc(100% - 32px));
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-hero p:not(.eyebrow),
  .page-hero h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .page-hero img {
    justify-self: center;
  }

  .services-hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .hero-lead,
  .hero h1,
  .hero-metrics {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: auto;
    justify-content: center;
  }

  .benefit-grid,
  .service-grid,
  .page-card-grid,
  .coverage-page-grid,
  .story-grid,
  .values-grid,
  .steps,
  .details-layout,
  .about-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-grid article:nth-child(2) {
    border-right: 0;
  }

  .benefit-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .step:nth-child(2)::after {
    display: none;
  }

  .details-layout > * + *::before {
    display: none;
  }

  .cta-panel {
    grid-template-columns: 1fr 260px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .split-info {
    grid-template-columns: 1fr;
  }

  .preview-option {
    grid-template-columns: 1fr;
  }

  .cta-stats {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
  }

  .coverage-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .coverage-stats { gap: 24px; }
  .coverage-stat strong { font-size: 26px; }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 560px);
  }

  .header-inner {
    min-height: 74px;
    grid-template-columns: 1fr 36px;
    gap: 8px;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
    padding: 8px 7px;
    align-self: center;
    justify-self: end;
  }

  .main-nav {
    top: calc(74px + var(--safe-top));
    left: 16px;
    right: 16px;
  }

  .hero {
    background: var(--paper);
  }

  .hero-grid {
    min-height: auto;
    padding-bottom: 12px;
  }

  .eyebrow {
    font-size: 14px;
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 38px);
    width: 100%;
    max-width: 100%;
  }

  .hero h1 span {
    display: block;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-metrics,
  .benefit-grid,
  .service-grid,
  .page-card-grid,
  .coverage-page-grid,
  .story-grid,
  .values-grid,
  .steps,
  .details-layout,
  .about-grid,
  .split-info,
  .footer-grid,
  .cta-panel,
  .contact-panel,
  .form-section-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .about-stats article {
    min-height: 90px;
    padding: 14px 10px;
  }

  .about-stats strong {
    font-size: 26px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    right: 8px;
    left: 8px;
    bottom: max(8px, var(--safe-bottom));
    width: auto;
    padding: 16px;
    max-height: 70vh;
    overflow-y: auto;
  }

  .cookie-actions {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-actions button:last-child {
    grid-column: 1 / -1;
  }

  .hero-metrics {
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
    gap: 12px;
  }

  /* Mini-card style para cada métrica */
  .metric {
    padding: 12px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 4px 12px rgba(20, 26, 38, 0.06);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    width: min(100%, 360px);
    margin-right: auto;
    margin-left: auto;
  }

  .trust {
    justify-self: center;
    text-align: left;
  }

  .hero-visual img {
    width: 100%;
    border-radius: var(--radius);
  }

  .benefit-grid article {
    min-height: 108px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .benefit-grid article:last-child {
    border-bottom: 0;
  }

  .section-title {
    font-size: 24px;
  }

  .section-heading h2,
  .page-hero h1,
  .about-grid h2,
  .contact-panel h2 {
    font-size: 28px;
  }

  .page-hero {
    padding: 38px 0 28px;
  }

  .page-card,
  .process-timeline article,
  .coverage-page-grid article,
  .story-grid article,
  .split-info > div,
  .contact-box {
    min-height: auto;
    padding: 22px;
  }

  .process-timeline article {
    padding-left: 76px;
  }

  .process-timeline span {
    left: 22px;
    top: 22px;
  }

  .services-hero-visual {
    min-height: 330px;
    padding: 34px 20px;
  }

  .services-hero-visual img {
    width: min(72%, 280px);
  }

  .service-tag {
    position: static;
    justify-self: center;
    margin: 4px;
    font-size: 12px;
  }

  .services-hero-visual {
    grid-template-columns: repeat(2, auto);
    align-content: center;
    gap: 8px;
  }

  .services-hero-visual img {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .preview-option {
    padding: 20px;
  }

  .how-visual {
    min-height: 330px;
  }

  .route-visual img {
    width: 190px;
  }

  .route-node strong {
    display: none;
  }

  .node-two {
    left: 28%;
  }

  .node-three {
    right: 28%;
  }

  .phone-card {
    width: 205px;
  }

  .notification-card {
    right: 18px;
    top: 24px;
  }

  .app-visual img {
    width: 150px;
    left: 18px;
  }

  .service-card {
    min-height: auto;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .step-card {
    width: 100%;
    max-width: 260px;
  }

  .details-layout {
    padding: 22px 16px;
    gap: 28px;
  }

  .city-list,
  .soon {
    width: 100%;
  }

  .price-card {
    position: relative;
    padding: 28px 22px;
    border: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff),
                       linear-gradient(135deg, var(--pink), var(--pink-dark));
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 20px 50px rgba(209, 0, 127, 0.15);
  }

  .price {
    font-size: 52px;
    text-align: center;
  }

  .cta-panel {
    padding: 30px 22px;
    text-align: center;
  }

  .about-grid,
  .contact-panel {
    padding: 24px 18px;
  }

  .cta-copy h2 {
    font-size: 32px;
  }

  .cta-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-box {
    width: min(100%, 300px);
    margin: 0 auto;
  }

  .cta-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-grid p a,
  .footer-grid a[href^="mailto:"],
  .footer-grid a[href^="https://wa.me/"] {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  /* Contact trust cards — 1 columna con layout horizontal */
  .contact-trust-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-trust-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
  }

  /* Steps — timeline vertical */
  .steps {
    gap: 0;
    position: relative;
    padding-left: 28px;
  }

  .steps::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(180deg, var(--pink), var(--pink-soft));
    border-radius: 2px;
  }

  .step {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 4px 16px;
    align-items: start;
    padding: 16px 0;
  }

  .step-number {
    position: relative;
    top: auto;
    left: auto;
    z-index: 2;
    grid-row: 1 / 3;
  }

  .step-card {
    display: none;
  }

  .step h3 {
    margin: 0;
    text-align: left;
  }

  .step p {
    max-width: none;
    margin: 0;
    text-align: left;
  }

  /* Input font-size fix para iOS zoom */
  .lead-form input,
  .lead-form select,
  .lead-form textarea {
    font-size: 16px;
  }
}

/* Breakpoint intermedio — phones grandes / tablets pequeñas */
@media (min-width: 481px) and (max-width: 760px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .service-card {
    padding: 20px;
  }
}

@media (max-width: 430px) {
  .container {
    width: calc(100% - 24px);
    max-width: 420px;
  }

  .brand img {
    width: 156px;
  }

  .hero h1 {
    font-size: 30px;
    max-width: 100%;
  }

  .hero .btn,
  .contact-panel .btn,
  .lead-form .btn {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-metrics {
    gap: 16px;
  }

  .btn {
    min-height: 52px;
    padding: 0 16px;
    font-size: 13px;
  }

  .benefit-grid article {
    grid-template-columns: 46px 1fr;
    padding: 22px 20px;
  }

  .benefit-grid svg {
    width: 42px;
    height: 42px;
  }

  .cta-copy h2 {
    font-size: 28px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .coverage-panel strong {
    font-size: 38px;
  }
}

/* ============================================================
   404 — Paquete perdido en ruta
   ============================================================ */

.error-404 {
  padding: 60px 0 40px;
  min-height: 60vh;
  display: grid;
  align-items: center;
}

.error-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Visual: ilustración CSS */
.error-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.error-code {
  font-size: clamp(100px, 18vw, 200px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.12;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.error-route {
  position: relative;
  width: 200px;
  height: 4px;
  margin-bottom: 28px;
}

.route-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--line);
  border-radius: 4px;
}

.route-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--pink-dark));
  border-radius: 4px;
  animation: route404Draw 2s var(--motion-ease) 0.4s forwards;
}

@keyframes route404Draw {
  0% { width: 0; }
  60% { width: 60%; }
  100% { width: 60%; }
}

.route-dot {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--pink);
}

.route-dot-a {
  left: -7px;
  background: var(--pink);
}

.route-dot-b {
  right: -7px;
  background: var(--line);
  border-color: #fff;
  box-shadow: 0 0 0 2px var(--line);
}

.error-box-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #fff;
  border: 2px solid var(--line);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
  animation: boxFloat 4s ease-in-out infinite;
}

@keyframes boxFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.error-box-icon {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--pink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.error-question {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(255, 194, 43, 0.4);
  animation: questionPulse 2.5s ease-in-out infinite;
}

@keyframes questionPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Contenido */
.error-content h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.error-lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 420px;
}

.error-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-outline {
  background: transparent;
  color: var(--pink);
  border: 2px solid var(--pink);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--pink-soft);
  color: var(--pink-dark);
}

.btn-outline svg {
  stroke: currentColor;
}

.error-links {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.error-links p {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.error-links a {
  display: inline-block;
  margin: 0 16px 8px 0;
  color: var(--pink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.error-links a:hover {
  color: var(--pink-dark);
}

@media (max-width: 760px) {
  .error-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .error-visual {
    order: -1;
    min-height: 220px;
  }

  .error-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .error-actions {
    justify-content: center;
  }

  .error-links {
    text-align: center;
  }
}

/* ============================================================
   MOTION SYSTEM — Logística en Movimiento Controlado
   ============================================================ */

/* ── Reveal: elementos que aparecen al entrar en viewport ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] { transform: translateX(-24px); }
[data-reveal="right"] { transform: translateX(24px); }
[data-reveal="scale"] { transform: scale(0.96); }

[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible {
  transform: translateX(0);
}

[data-reveal="scale"].is-visible {
  transform: scale(1);
}

/* ── Stagger: hijos que aparecen escalonados ── */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}

[data-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger].is-visible > *:nth-child(1) { transition-delay: 80ms; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 160ms; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 240ms; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 320ms; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 400ms; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 480ms; }

/* ── Service card hover microinteraction ── */
.service-card {
  transition: transform var(--motion-fast) ease,
              box-shadow var(--motion-fast) ease,
              border-color var(--motion-fast) ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(209, 0, 127, 0.10);
  border-color: var(--pink);
}

/* ── Hero route line animation ── */
.hero-route {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--pink-soft);
  border-radius: 3px;
  overflow: hidden;
}

.hero-route::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--pink), var(--pink-dark));
  border-radius: 3px;
  animation: routeDraw 2.4s var(--motion-ease) 0.6s forwards;
}

@keyframes routeDraw {
  to { width: 100%; }
}

.hero-route-dot {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(209, 0, 127, 0.4);
  animation: routeDotMove 2.4s var(--motion-ease) 0.6s forwards;
}

@keyframes routeDotMove {
  to { left: 100%; }
}

/* ── WhatsApp pulse (controlado, no invasivo) ── */
.header-cta {
  animation: whatsappPulse 8s ease-in-out 3s infinite;
}

@keyframes whatsappPulse {
  0%, 8%, 100% { box-shadow: 0 0 0 0 rgba(209, 0, 127, 0); }
  4% { box-shadow: 0 0 0 6px rgba(209, 0, 127, 0.15); }
}

/* ── KPI counter style ── */
[data-count] {
  font-variant-numeric: tabular-nums;
}

/* ── Accesibilidad: respetar preferencia del usuario ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal],
  [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .mouse-glow {
    display: none !important;
  }
}

/* Integrated landing-page components (P13 production baseline) */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb-nav a {
  color: var(--pink);
  font-weight: 600;
}

.breadcrumb-nav .breadcrumb-sep {
  color: #c0c5cf;
  font-size: 11px;
}

.breadcrumb-nav .breadcrumb-current {
  color: var(--ink);
  font-weight: 700;
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(20, 26, 38, 0.10);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  font-size: 15px;
}

.comparison-table thead tr {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
}

.comparison-table th {
  padding: 18px 22px;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.comparison-table th:first-child { border-radius: 16px 0 0 0; }
.comparison-table th:last-child { border-radius: 0 16px 0 0; }

.comparison-table td {
  padding: 16px 22px;
  border-bottom: 1px solid #eef1f5;
  color: var(--ink);
}

.comparison-table td:first-child {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.comparison-table tbody tr:hover td { background: rgba(209, 0, 127, 0.04); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table strong { color: var(--pink); font-weight: 800; }
.comparison-table .check-icon { color: var(--green); font-weight: 900; }

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  padding: 0;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 26, 38, 0.04);
}

.faq-item[open] {
  border-color: var(--pink);
  box-shadow: 0 12px 32px rgba(209, 0, 127, 0.12);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  display: grid;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink);
  content: "+";
  font-size: 18px;
  font-weight: 800;
}

.faq-item[open] summary::after {
  background: var(--pink);
  color: #fff;
  content: "−";
}

.faq-item .faq-answer {
  margin: 0;
  padding: 16px 22px 20px;
  border-top: 1px solid #eef1f5;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.faq-item .faq-answer a {
  color: var(--pink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-center-heading {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-center-heading h2 { margin: 0 0 12px; font-size: 32px; line-height: 1.15; }
.section-center-heading p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }

.step-item {
  transition: opacity var(--motion-base) var(--motion-ease), transform var(--motion-base) var(--motion-ease);
}

/* Leaflet map presentation; the map itself is loaded only on cobertura.html. */
#coverage-map-container {
  min-height: 360px;
  border: 2px solid var(--line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.coverage-leaflet-tooltip {
  padding: 6px 12px !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  color: var(--ink) !important;
  font-family: inherit !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
}

.coverage-leaflet-tooltip::before { display: none !important; }
.leaflet-control-attribution { font-size: 0.65rem !important; opacity: 0.7; }

.map-fallback {
  display: grid;
  min-height: 320px;
  margin: 0;
  padding: 32px;
  place-items: center;
  border-radius: 14px;
  background: var(--pink-soft);
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 600px) {
  .comparison-table th,
  .comparison-table td { padding: 12px 14px; }
  .section-center-heading h2 { font-size: 26px; }
}

/* ==========================================================================
   PÁGINA 2.0 (26/09/2026)
   Capa visual sobre la hoja anterior; no cambia textos ni metadatos (SEO intacto).
   Esquema: cabecera y hero oscuros, secciones de
   contenido claras que alternan degradado, cierre oscuro, niebla que deriva
   despacio y footer sólido con línea de acento. Colores y tipografía del
   sistema de diseño v2 de Danhei (fucsia #D1007F, Space Grotesk + Inter).
   Va al final a propósito: gana en cascada a las reglas de arriba, incluidas
   las de los @media, sin subir la especificidad.
   ========================================================================== */

/* ── Tipografía ── */
h1, h2, h3,
.price,
.about-stats strong,
.cta-stats strong,
.contact-trust-card strong,
.coverage-panel strong,
.coverage-stat strong,
.values-grid strong,
.step-number,
.process-timeline span {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.hero h1,
.page-hero h1 {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.section-heading h2,
.about-grid h2,
.contact-panel h2,
.cta-copy h2 {
  font-weight: 700;
}

/* Etiqueta de sección como píldora con punto */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(209, 0, 127, 0.22);
  border-radius: 999px;
  background: rgba(209, 0, 127, 0.07);
  color: var(--pink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(209, 0, 127, 0.18);
}

@media (max-width: 760px) {
  .eyebrow {
    font-size: 11px;
  }
}

/* ── Botones: esquinas puntudas en todos los botones ── */
.btn,
.btn-small,
.header-cta,
.quote-submit,
.coverage-card-cta,
.coverage-cta-main,
.cookie-actions button,
.tracking-container .tracking-form button,
.lead-form button,
.legal-card button {
  border-radius: var(--radius-sharp);
}

.btn {
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--grad-pink);
}

.btn:hover {
  background: var(--pink-dark);
}

.btn-light,
.btn-light:hover {
  background: #fff;
}

.btn-outline {
  background: transparent;
}

.btn-outline:hover {
  background: var(--pink-soft);
}

.cookie-actions button {
  border-color: var(--line);
}

/* ── Cabecera: fucsia de marca (como antes de la 2.0), con separadores finos ── */
.site-header {
  background: var(--grad-pink);
  border-bottom: 0;
  box-shadow: 0 12px 30px rgba(209, 0, 127, 0.22);
}

.brand img {
  border-radius: var(--radius-sharp);
}

.main-nav {
  gap: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Separadores finos entre secciones del menú */
.main-nav a {
  padding-left: 14px;
  padding-right: 14px;
  white-space: nowrap;
}

/* Línea del alto de la letra, centrada, en vez del borde a todo lo alto del encabezado */
@media (min-width: 1081px) {
  .main-nav a + a:not(.nav-portal)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 1em;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.4);
  }
}

.site-header .main-nav a {
  color: rgba(255, 255, 255, 0.88);
}

.site-header .main-nav a:hover,
.site-header .main-nav a.active {
  color: #fff;
}

.site-header .main-nav a::after {
  height: 2px;
  background: #fff;
}

.site-header .header-cta {
  background: #fff;
  color: var(--pink);
  box-shadow: 0 12px 26px rgba(25, 25, 30, 0.18);
}

.site-header .header-cta:hover {
  background: #fff;
  color: var(--pink-dark);
}

.nav-toggle {
  border-radius: var(--radius-sharp);
}

@media (min-width: 1081px) and (max-width: 1240px) {
  .main-nav a {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 1080px) {
  .main-nav {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-sharp);
  }

  .main-nav a,
  .main-nav a + a {
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }
}

/* ── Superficies oscuras: hero y cabeceras de las páginas interiores ── */
.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 60% 55% at 78% 40%, rgba(209, 0, 127, 0.22), transparent 70%),
    var(--grad-dark);
  color: var(--on-dark);
}

/* Rejilla tenue de fondo */
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
  pointer-events: none;
}

.hero .eyebrow,
.page-hero .eyebrow {
  border-color: rgba(255, 92, 180, 0.35);
  background: rgba(255, 92, 180, 0.1);
  color: var(--pink-on-dark);
}

.hero h1,
.page-hero h1 {
  color: #fff;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--pink-on-dark) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead,
.page-hero p:not(.eyebrow) {
  color: var(--on-dark-soft);
}

.page-hero strong {
  color: #fff;
}

/* Enlaces en línea dentro de cabeceras oscuras (algunos traen color en línea) */
.page-hero p a:not(.btn) {
  color: var(--pink-on-dark) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero p[style] {
  color: var(--on-dark-soft) !important;
}

.hero-grid {
  padding-top: 56px;
  padding-bottom: 96px;
}

.metric-icon {
  border: 1px solid rgba(255, 92, 180, 0.4);
  background: rgba(209, 0, 127, 0.14);
  color: var(--pink-on-dark);
}

.metric p {
  color: var(--on-dark-soft);
}

.metric strong {
  color: #fff;
  font-weight: 700;
}

.avatars span {
  border-color: var(--dark);
  background: linear-gradient(135deg, var(--pink), #5b2a86);
}

.trust p {
  color: var(--on-dark-soft);
}

.trust strong {
  color: #fff;
}

.hero-route {
  background: rgba(255, 255, 255, 0.1);
}

.hero-route::after {
  background: linear-gradient(90deg, var(--pink-on-dark), var(--pink));
}

.hero-route-dot {
  background: var(--pink-on-dark);
  box-shadow: 0 0 14px rgba(255, 92, 180, 0.7);
}

.hero-visual::before {
  inset: 10% -6% 6% 12%;
  background: radial-gradient(closest-side, rgba(209, 0, 127, 0.45), transparent);
  filter: blur(30px);
}

.hero-visual img {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  filter: none;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.03);
}

/* Visual de servicios y cajas dentro de cabeceras oscuras */
.services-hero-visual {
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 55% 46%, rgba(209, 0, 127, 0.35), transparent 45%),
    rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.services-hero-visual::before,
.services-hero-visual::after {
  border-color: rgba(255, 92, 180, 0.4);
}

.service-tag {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(12, 15, 26, 0.72);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.page-hero .contact-box,
.page-hero .coverage-panel {
  border: 1px solid var(--dark-line);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  color: var(--on-dark);
}

.page-hero .contact-box p,
.page-hero .coverage-panel span {
  color: var(--on-dark-soft);
}

.page-hero .coverage-panel strong {
  color: var(--pink-on-dark);
}

.page-hero img.how-works-image {
  border-radius: var(--radius-card);
}

@media (max-width: 760px) {
  .hero {
    background:
      radial-gradient(ellipse 90% 40% at 50% 70%, rgba(209, 0, 127, 0.22), transparent 70%),
      var(--grad-dark);
  }

  .hero-grid {
    padding-bottom: 72px;
  }
}

/* ── Franja de beneficios: tarjeta clara que monta sobre el hero ── */
.benefit-band {
  position: relative;
  z-index: 2;
  margin-top: -56px;
  padding: 0 0 28px;
}

.benefit-grid {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(19, 24, 38, 0.14);
}

.benefit-grid article {
  border-right: 1px solid var(--line);
}

.benefit-grid svg {
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 12px;
  background: var(--pink-soft);
  color: var(--pink);
}

.benefit-grid h2 {
  font-size: 14px;
  letter-spacing: 0.04em;
}

.benefit-grid p {
  color: var(--muted);
}

@media (max-width: 1080px) {
  .benefit-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .benefit-band {
    margin-top: -40px;
  }

  .benefit-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit-grid article:last-child {
    border-bottom: 0;
  }
}

/* ── Secciones claras: degradados que alternan (sin franjas en las juntas) ── */
.services-section,
.details-section,
.contact-section,
.page-section {
  position: relative;
  isolation: isolate;
  background: var(--grad-light-rev);
}

.steps-section,
.about-section,
.final-cta,
.muted-section,
.coverage-section {
  position: relative;
  isolation: isolate;
  background: var(--grad-light);
}

.services-section { padding: 48px 0 56px; }
.steps-section { padding: 56px 0; }
.details-section { padding: 56px 0; }
.about-section { padding: 56px 0; }
.final-cta { padding: 24px 0 56px; }
.contact-section { padding: 56px 0 72px; }

.page-main {
  background: var(--paper);
}

/* ── Tarjetas ── */
.service-card,
.page-card,
.process-timeline article,
.coverage-page-grid article,
.story-grid article,
.contact-box,
.split-info > div,
.values-grid article,
.legal-card,
.lead-form,
.contact-panel,
.contact-trust-card,
.reason,
.city-list,
.price-card,
.details-layout,
.about-grid {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-light);
}

.details-layout,
.about-grid {
  background: #fff;
}

.reason,
.city-list {
  border-radius: 12px;
}

.details-layout > * + *::before {
  background: var(--line);
}

.service-card,
.page-card,
.values-grid article,
.story-grid article,
.coverage-page-grid article {
  transition: transform 220ms var(--motion-ease), box-shadow 220ms var(--motion-ease), border-color 220ms ease;
}

.service-card:hover,
.page-card:hover,
.values-grid article:hover,
.story-grid article:hover,
.coverage-page-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(209, 0, 127, 0.45);
  box-shadow: 0 18px 44px rgba(209, 0, 127, 0.12);
}

.service-card svg {
  width: 52px;
  height: 52px;
  padding: 11px;
  border-radius: 14px;
  background: var(--pink-soft);
}

.page-card span {
  border-radius: 8px;
}

.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-light);
}

.step-number {
  border-radius: var(--radius-sharp);
}

.step:not(:last-child)::after {
  color: var(--pink);
  opacity: 0.55;
}

.about-stats article {
  border: 1px solid rgba(209, 0, 127, 0.14);
  border-radius: 14px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  border-color: var(--line);
  border-radius: 10px;
}

.form-legal-box {
  background: var(--paper);
  border-color: var(--line);
}

.quote-card {
  border-top: 3px solid var(--pink) !important;
}

.quote-submit {
  border-radius: var(--radius-sharp);
}

/* ── Cierre (CTA final): isla oscura dentro de la sección clara ── */
.cta-panel {
  isolation: isolate;
  border: 1px solid rgba(255, 92, 180, 0.25);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 55% 80% at 62% 50%, rgba(209, 0, 127, 0.38), transparent 70%),
    var(--grad-dark);
  box-shadow: 0 30px 70px rgba(12, 15, 26, 0.28);
}

.cta-panel::before {
  z-index: -1;
  opacity: 0.25;
}

.cta-copy p {
  color: var(--on-dark-soft);
}

.cta-panel .btn-light {
  background: var(--grad-pink);
  color: #fff;
  box-shadow: 0 14px 32px rgba(209, 0, 127, 0.4);
}

.cta-panel .btn-light:hover {
  background: var(--pink-dark);
  color: #fff;
}

.cta-stats p {
  color: var(--on-dark-soft);
}

.cta-stats strong {
  color: #fff;
}

.cta-box {
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.45));
}

/* ── Footer: negro sólido, línea fucsia arriba que se desvanece ── */
.site-footer {
  position: relative;
  padding-top: 56px;
  background: var(--dark);
  border-top: 0;
  color: var(--on-dark-soft);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--pink) 25%, var(--pink) 75%, transparent 100%);
  opacity: 0.85;
}

.footer-grid {
  border-bottom-color: var(--dark-line);
}

.footer-brand img {
  width: 220px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
}

.footer-grid > div > strong,
.footer-grid h2 {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-brand p,
.footer-grid a,
.footer-grid p {
  color: var(--on-dark-soft);
}

.footer-brand p strong,
.footer-contact strong {
  color: #fff;
}

.footer-grid a:hover,
.footer-contact a:hover {
  color: var(--pink-on-dark);
}

.footer-grid a:focus-visible,
.footer-contact a:focus-visible {
  outline-color: var(--pink-on-dark);
}

.footer-disclaimer,
.copyright {
  color: #8d93a3;
  opacity: 1;
}

/* ── Niebla que deriva (script.js: initFog). Solo se anima transform, en pausa
   fuera de pantalla y quieta con «reducir movimiento». ── */
.fog {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.fog__cloud {
  position: absolute;
  border-radius: 50%;
  animation: dhe-fog-drift var(--dur, 26s) ease-in-out var(--delay, 0s) infinite alternate paused;
}

.fog__cloud--a {
  width: 70%;
  height: 140%;
  left: -15%;
  top: -20%;
  background: radial-gradient(closest-side, var(--fog-pink), transparent);
  --dur: 28s;
  --delay: -6s;
}

.fog__cloud--b {
  width: 55%;
  height: 120%;
  right: -10%;
  top: 0;
  background: radial-gradient(closest-side, var(--fog-violet), transparent);
  --dur: 34s;
  --delay: -17s;
  animation-name: dhe-fog-drift-rev;
}

.fog__cloud--c {
  width: 60%;
  height: 90%;
  left: 25%;
  bottom: -30%;
  background: radial-gradient(closest-side, var(--fog-white), transparent);
  --dur: 22s;
  --delay: -3s;
}

.fog--light .fog__cloud--a { background: radial-gradient(closest-side, var(--fog-light-pink), transparent); }
.fog--light .fog__cloud--b { background: radial-gradient(closest-side, var(--fog-light-violet), transparent); }
.fog--light .fog__cloud--c { background: radial-gradient(closest-side, var(--fog-light-gray), transparent); }

.fog-on > .fog .fog__cloud {
  animation-play-state: running;
}

@keyframes dhe-fog-drift {
  from { transform: translate(-6%, -4%) scale(1); }
  to   { transform: translate(22%, 8%) scale(1.15); }
}

@keyframes dhe-fog-drift-rev {
  from { transform: translate(8%, 6%) scale(1.1); }
  to   { transform: translate(-24%, -6%) scale(0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .fog__cloud { animation: none; }
}

/* El resplandor que seguía al cursor sobra con la niebla */
.mouse-glow {
  display: none;
}

/* Menú en una sola línea por enlace */
.main-nav a {
  white-space: nowrap;
}

/* La foto de la caja trae fondo fucsia: sobre oscuro se funde con bordes suaves */
.cta-box,
.services-hero-visual img {
  border-radius: 16px;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 55%, transparent 100%);
  filter: none;
}

.header-cta {
  white-space: nowrap;
}

/* En columnas flex la píldora no debe estirarse a todo el ancho */
.contact-copy .eyebrow {
  align-self: flex-start;
}

@media (max-width: 760px) {
  /* Mini-tarjetas de métricas del hero: vidrio oscuro, no blancas */
  .metric {
    border: 1px solid var(--dark-line);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
  }
}

/* Móvil: el visual con etiquetas de Servicios no debe pasar del ancho de pantalla */
.page-hero-grid > * {
  min-width: 0;
}

@media (max-width: 760px) {
  .services-hero-visual {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px 12px;
  }

  .service-tag {
    min-height: 32px;
    max-width: 100%;
    padding: 4px 10px;
    font-size: 11px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }
}

/* La caja trae width/height 300 en la etiqueta: que conserve su proporción */
.cta-box {
  height: auto;
}

@media (max-width: 1080px) {
  /* Menú desplegable: enlaces a todo el ancho del panel */
  .main-nav {
    justify-content: stretch;
  }
}

@media (max-width: 760px) {
  /* Marca del pie: todas sus líneas centradas por igual */
  .legal-footer .footer-brand p {
    display: block;
    max-width: none;
  }
}

/* Texto gris #94a3b8 puesto en línea en varias páginas: sobre claro no llega a
   4,5:1. Se sube al gris de texto secundario sin tocar el HTML. */
[style*="#94a3b8"] {
  color: var(--muted) !important;
}

.page-hero [style*="#94a3b8"] {
  color: var(--on-dark-soft) !important;
}

/* Mapa de cobertura: OpenStreetMap suavizado para acompañar la paleta clara */
.tiles-soft {
  filter: saturate(0.35) brightness(1.05) contrast(0.95);
}

/* Rastreo: campos con la tipografía y los bordes del sistema */
.tracking-container .tracking-form input {
  font-family: var(--font-body);
  border-color: var(--line);
  border-radius: 10px;
}

.tracking-container .tracking-form input:focus {
  border-color: var(--pink);
}

.tracking-container .tracking-form button:hover {
  background: var(--pink-dark);
}

@media (max-width: 480px) {
  /* En columna, el campo del celular ocupa todo el ancho (antes se cortaba) */
  .tracking-container #trackingPhone {
    width: 100%;
    max-width: none;
  }
}

/* Paquetería: las tarjetas «Tipos de paquetes» traen fondo oscuro en línea;
   se igualan a las tarjetas claras del resto del sitio */
[style*="background:#16162a"] {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-card) !important;
  background: #fff !important;
  box-shadow: var(--shadow-light);
}

/* Preguntas frecuentes: el «+» ya lo dibuja summary::after; el del HTML sobraba */
.faq-item summary > span {
  display: none;
}

/* Miga de pan: el elemento actual venía en #e0e0e0, invisible sobre claro */
nav[aria-label="Breadcrumb"] li[style*="#e0e0e0"] {
  color: var(--ink) !important;
  font-weight: 600;
}

/* ── Acceso al portal de clientes (menú y pie) ── */
.site-header .main-nav a.nav-portal {
  margin-left: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-sharp);
  color: #fff;
  white-space: nowrap;
}

.site-header .main-nav a.nav-portal::after {
  display: none;
}

.site-header .main-nav a.nav-portal:hover {
  background: #fff;
  color: var(--pink);
}

@media (min-width: 1081px) and (max-width: 1280px) {
  .site-header .main-nav a.nav-portal {
    margin-left: 6px;
    padding: 8px 10px;
  }
}

@media (max-width: 1080px) {
  .site-header .main-nav a.nav-portal,
  .main-nav a + a.nav-portal {
    margin: 8px 0 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    text-align: center;
    font-weight: 700;
  }
}

.footer-access {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-grid .footer-access a.footer-access-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sharp);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.footer-grid .footer-access a.footer-access-btn:hover {
  border-color: var(--pink-on-dark);
  color: var(--pink-on-dark);
}

.footer-grid .footer-access a.footer-access-primary {
  border-color: transparent;
  background: var(--grad-pink);
  box-shadow: 0 0 18px rgba(209, 0, 127, 0.35);
}

.footer-grid .footer-access a.footer-access-primary:hover {
  color: #fff;
  background: var(--pink-dark);
}

@media (max-width: 760px) {
  .footer-access {
    justify-content: center;
  }
}

/* Encabezado con el acceso al portal: más compacto para que quepa todo */
@media (min-width: 1081px) {
  .main-nav a {
    padding-left: 11px;
    padding-right: 11px;
  }
}

@media (min-width: 1081px) and (max-width: 1280px) {
  .main-nav a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12.5px;
  }

  /* WhatsApp solo con el ícono; el texto sigue ahí para lectores de pantalla */
  .site-header .header-cta {
    width: 46px;
    min-width: 46px;
    padding: 0;
    gap: 0;
    font-size: 0;
  }
}

/* ── Mapa de cobertura v3: buscador, respuesta clara y leyenda por colores ── */
.coverage-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.coverage-main { min-width: 0; }

.coverage-finder {
  position: relative;
  z-index: 1100; /* las sugerencias van sobre los controles de Leaflet */
  margin-bottom: 12px;
}
.coverage-finder-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.coverage-finder-row { display: flex; gap: 8px; }
.coverage-search-box { position: relative; flex: 1; min-width: 0; }
.coverage-search-box input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: 500 16px var(--font-body);
}
.coverage-search-box input:focus-visible {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(209, 0, 127, 0.15);
}
.coverage-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.coverage-suggestions li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.coverage-suggestions li:hover,
.coverage-suggestions li[aria-selected="true"] { background: var(--soft); }
.coverage-suggestions strong { color: var(--ink); font-size: 15px; }
.coverage-suggestion-where { margin-left: auto; color: var(--muted); font-size: 12px; text-align: right; }
.coverage-suggestion-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.coverage-locate-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--pink);
  border-radius: var(--radius-sharp);
  background: #fff;
  color: var(--pink-dark);
  font: 600 14px var(--font-body);
  white-space: nowrap;
  cursor: pointer;
}
.coverage-locate-btn:hover { background: var(--soft); }
.coverage-locate-btn:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.coverage-locate-btn.is-busy { opacity: 0.7; cursor: progress; }

.coverage-result {
  scroll-margin-top: 104px;
  min-height: 64px;
  margin-bottom: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
}
.coverage-result[data-state="ok"] { border-color: #86d4ae; background: #f3fbf7; }
.coverage-result[data-state="no"] { border-color: var(--line); background: #fff; }
.coverage-result-hint { margin: 8px 0; color: var(--muted); font-size: 14px; }
.coverage-result-body {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.coverage-result-body[hidden] { display: none; }
.coverage-result-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--muted);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  flex-shrink: 0;
}
.coverage-result-text { flex: 1; min-width: 200px; }
.coverage-result-text p { margin: 0; }
.coverage-result-title { font-size: 17px; font-weight: 700; color: var(--ink); }
.coverage-result-detail { font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 2px !important; }
.coverage-result-price { font-size: 13px; font-weight: 600; color: #047857; margin-top: 4px !important; }
.coverage-result-cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  background: var(--grad-pink);
  color: #fff;
  border-radius: var(--radius-sharp);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.coverage-result-cta:hover { box-shadow: 0 4px 14px rgba(209, 0, 127, 0.35); }
.coverage-result-cta:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

.coverage-map-wrapper { position: relative; }
#coverage-map-container {
  height: 520px;
  border-radius: 16px;
  overflow: hidden;
}
.coverage-map-hint {
  position: absolute;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 16px;
  background: rgba(19, 24, 38, 0.55);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.coverage-map-hint.is-visible { opacity: 1; }

.coverage-reset-btn {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: 600 13px var(--font-body);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}
.coverage-reset-btn:hover { background: var(--soft); }
.coverage-reset-btn:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

/* Nombres sobre el mapa: aparecen según el zoom para no amontonarse */
.coverage-label {
  display: none;
  width: 0;
  height: 0;
  overflow: visible;
}
.coverage-label span {
  position: absolute;
  transform: translate(-50%, -50%);
  font: 700 12px var(--font-body);
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
}
.coverage-label.is-city span { color: var(--ink); font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; }
.show-municipio-labels .coverage-label.is-municipio,
.show-locality-labels .coverage-label.is-localidad,
.show-small-labels .coverage-label.is-small { display: block; }
.coverage-label.is-city,
.coverage-label.is-forced { display: block; }
.show-locality-labels .coverage-label.is-city { display: none; }

/* Lista de zonas = leyenda del mapa: la letra lleva el color de su zona */
.coverage-zones-heading {
  display: flex;
  flex-direction: column;
  margin: 4px 0 0;
}
.coverage-zones-heading + .coverage-zone-btn { margin-top: 2px; }
.coverage-zones-heading strong { font-size: 15px; color: var(--ink); }
.coverage-zones-heading span { font-size: 13px; color: #047857; font-weight: 600; }
.coverage-zone-btn { padding: 12px 14px; }
.coverage-zone-btn .zone-info { display: block; }
.coverage-zone-btn .zone-info > span { display: block; }
.coverage-zone-btn .zone-letter,
.coverage-zone-btn:hover .zone-letter,
.coverage-zone-btn[aria-pressed="true"] .zone-letter { color: #fff; }
.coverage-zone-btn[data-group="a"] .zone-letter { background: #047857; }
.coverage-zone-btn[data-group="b"] .zone-letter { background: #1d4ed8; }
.coverage-zone-btn[data-group="c"] .zone-letter { background: #b45309; }
.coverage-zone-btn[data-group="d"] .zone-letter { background: #b91c1c; }
.coverage-zone-btn[data-group="e"] .zone-letter { background: #7e22ce; }
.coverage-outside { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.coverage-outside a { color: var(--pink-dark); font-weight: 600; }

@media (max-width: 1080px) {
  .coverage-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .coverage-finder-row { flex-direction: column; }
  .coverage-locate-btn { justify-content: center; }
  .coverage-result-cta { width: 100%; justify-content: center; }
  #coverage-map-container { height: min(420px, 65vh); }
  .coverage-suggestion-where { max-width: 45%; }
}
