/* ==========================================================
   Conecto.uy — landing estática de una sola pieza
   La imagen aprobada no se altera: sólo se centra y se escala.
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  background: #062544;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #062544;
  overflow-x: hidden;
  padding:
    env(safe-area-inset-top)
    env(safe-area-inset-right)
    env(safe-area-inset-bottom)
    env(safe-area-inset-left);
}

/* ---------- Contenido accesible fuera de pantalla ---------- */
/* Técnica estándar: el texto existe, es leído por lectores de
   pantalla y por buscadores, pero no se dibuja sobre la pieza. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Los enlaces del bloque accesible sí deben poder recibir foco */
.sr-only a:focus-visible {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  padding: 8px 12px;
  background: #ffffff;
  color: #062544;
  z-index: 100;
  border-radius: 6px;
  outline: 3px solid #7ac943;
}

/* ---------- Contenedor de la pieza ---------- */
.landing-wrapper {
  position: relative;
  width: 100%;
  max-width: 935px;   /* no superar el ancho natural */
  margin: 0 auto;
  line-height: 0;     /* evita el espacio fantasma bajo la imagen */
}

.landing-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 935px;
  margin: 0 auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

/* ---------- Zonas transparentes clicables ---------- */
.zonas {
  position: absolute;
  inset: 0;
  /* La capa no intercepta eventos: sólo lo hacen las zonas individuales.
     Así la imagen sigue recibiendo contextmenu y dragstart. */
  pointer-events: none;
}

.zona {
  position: absolute;
  display: block;
  pointer-events: auto;
  background: transparent;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.zona:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Coordenadas en % del lienzo de 935 × 1683 px.
   Al ser porcentajes, acompañan el escalado responsive. */

/* 1. Botón verde "Escribinos por WhatsApp" (bloque superior) */
.z-wa-hero        { left: 3.4%;  top: 39.5%; width: 24.6%; height: 4.9%; }

/* 2. Botón blanco "Solicitar diagnóstico" */
.z-wa-diagnostico { left: 28.8%; top: 39.5%; width: 21.4%; height: 4.9%; }

/* En pantallas chicas el 4.9% baja de 44 px. Debajo de estos botones hay
   espacio libre en la pieza, así que crecer no pisa ningún otro elemento. */
.z-wa-hero, .z-wa-diagnostico { min-height: 44px; }

/* 3. Bloque inferior: ícono de WhatsApp + "Escribinos por WhatsApp" */
.z-wa-footer      { left: 2.0%;  top: 88.1%; width: 53.0%; height: 3.1%; }

/* 4. Número inferior 095 711 411 */
.z-tel            { left: 15.5%; top: 91.2%; width: 39.5%; height: 3.6%; }

/* 5. Correo info@conecto.uy */
.z-mail           { left: 57.5%; top: 90.8%; width: 30.0%; height: 2.6%; }

/* 6. Instagram */
.z-ig             { left: 57.5%; top: 93.6%; width: 14.5%; height: 2.6%; }

/* 7. TikTok */
.z-tk             { left: 72.0%; top: 93.6%; width: 17.0%; height: 2.6%; }

/* ---------- Modo verificación de zonas ----------
   Se activa sólo agregando ?zonas=1 a la URL.
   Sirve para comprobar la alineación sobre el PNG real.
   No afecta la página publicada. */
.debug-zonas .zona {
  background: rgba(255, 0, 128, .35);
  outline: 2px solid #ff0080;
}

/* ---------- Impresión ---------- */
@media print {
  body { background: #ffffff; }
  .zona { display: none; }
}

/* ---------- Página 404 ---------- */
.e404 {
  max-width: 600px;
  margin: 0 auto;
  padding: 18vh 24px 24px;
  color: #ffffff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  text-align: center;
}
.e404 h1 { font-size: 1.6rem; margin: 0 0 .6rem; }
.e404 p  { margin: 0 0 1.6rem; color: #cfe0ef; }
.e404 a.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 10px;
  background: #7ac943;
  color: #062544;
  font-weight: 700;
  text-decoration: none;
}
.e404 a.btn:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.e404 a.wa { color: #7ac943; }

/* ==========================================================
   Sección de contenido bajo la pieza aprobada.
   Paleta tomada de la propia imagen: azul marino y verde.
   Sin fuentes externas: la jerarquía la dan escala y peso.
   ========================================================== */

.info {
  background: #062544;
  color: #e8f1f8;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  padding: clamp(48px, 9vw, 88px) 22px clamp(56px, 10vw, 96px);
}

.info-inner { max-width: 660px; margin: 0 auto; }

.eyebrow {
  margin: 0 0 14px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7ac943;
}

.info h2 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 4.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.015em;
  color: #ffffff;
}

.lead { margin: 0 0 44px; font-size: 1.06rem; color: #bed3e4; }

.rotulo {
  margin: 44px 0 18px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7ac943;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(122, 201, 67, .28);
}

.info p { margin: 0 0 16px; }
.info strong { color: #ffffff; font-weight: 600; }

/* --- Proceso: la numeración es real, marca una secuencia --- */
.proceso { list-style: none; margin: 0; padding: 0; }

.proceso li {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.proceso li:last-child { border-bottom: 0; }

.paso {
  flex: 0 0 auto;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: #7ac943;
  padding-top: .18em;
  font-variant-numeric: tabular-nums;
}

/* --- Bloque de garantía: el elemento con más peso de la página --- */
.garantia {
  margin: 46px 0 8px;
  padding: 28px 26px;
  background: #7ac943;
  color: #062544;
  border-radius: 14px;
}

.garantia-rotulo {
  margin: 0 0 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .78;
}

.garantia-texto {
  margin: 0;
  font-size: clamp(1.18rem, 3.6vw, 1.42rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.01em;
}

/* --- Preguntas frecuentes --- */
.faq { margin: 0; }
.faq dt {
  margin-top: 22px;
  font-weight: 650;
  color: #ffffff;
}
.faq dd { margin: 7px 0 0; color: #bed3e4; }

/* --- Cierre --- */
.cierre {
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.cta {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 10px;
  background: #7ac943;
  color: #062544;
  font-weight: 700;
  text-decoration: none;
}
.cta:hover { background: #8ed653; }
.cta:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }

.cierre-dato { display: block; margin-top: 16px; color: #bed3e4; font-size: .96rem; }
.cierre-dato a { color: #7ac943; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
