/* ===== Rediseño profesional / alta conversión =====
   Paleta del Motor: Rojo #E31919 (acento) · Negro #050505 · Blanco
   Verde #20B52B EXCLUSIVO para WhatsApp. Estética sobria, aire generoso. */

:root {
  --rojo: #E31919;
  --rojo-oscuro: #c01212;
  --negro: #050505;
  --tinta: #1d1d1f;
  --gris: #6b6b70;
  --gris-claro: #f5f5f7;
  --borde: #e7e7ea;
  --verde-wa: #20B52B;
  --verde-wa-oscuro: #1a9a24;
  --radio: 16px;
  --sombra: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --ancho: 1060px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--tinta);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--negro); line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; text-align: center; }
.seccion-sub { text-align: center; color: var(--gris); margin: 10px auto 34px; max-width: 480px; }

/* ===== Botón WhatsApp (único uso del verde) ===== */
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--verde-wa); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 16px;
  padding: 13px 24px; border-radius: 999px;
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
  box-shadow: 0 2px 10px rgba(32,181,43,.25);
}
.btn-wa:hover { background: var(--verde-wa-oscuro); }
.btn-wa:active { transform: scale(.98); }
.btn-wa-grande { font-size: 18px; padding: 16px 30px; }
.btn-wa-mini { font-size: 14px; padding: 9px 18px; box-shadow: none; }

/* ===== Barra superior ===== */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borde);
}
.topbar-inner {
  max-width: var(--ancho); margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.topbar-marca { display: flex; align-items: center; gap: 11px; min-width: 0; }
.topbar-foto {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 22%;
  border: 2px solid var(--rojo); flex: none;
}
.topbar-nombre { display: block; font-weight: 700; font-size: 14px; color: var(--negro); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-cargo { display: block; font-size: 12px; color: var(--gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== Hero ===== */
.hero { border-bottom: 1px solid var(--borde); background: linear-gradient(180deg, #fff 0%, var(--gris-claro) 100%); }
.hero-inner {
  max-width: var(--ancho); margin: 0 auto; padding: 64px 20px 56px;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center;
}
.hero-kicker {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.09em; color: var(--rojo); margin-bottom: 16px;
}
.hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--rojo); }
.hero-sub {
  font-size: clamp(16px, 2.3vw, 19px); color: var(--gris);
  margin: 18px 0 28px; max-width: 540px;
}
.hero-nota { font-size: 13px; color: var(--gris); margin-top: 12px; }

.hero-foto { text-align: center; }
.hero-foto img {
  width: min(300px, 80%); aspect-ratio: 4/5; object-fit: cover; object-position: 50% 15%;
  border-radius: 20px; box-shadow: var(--sombra); display: inline-block;
}
.hero-foto figcaption { margin-top: 12px; font-weight: 700; color: var(--negro); font-size: 15px; }
.hero-foto figcaption span { display: block; font-weight: 400; font-size: 13px; color: var(--gris); }

/* ===== Franja de confianza ===== */
.confianza { background: var(--negro); color: #fff; }
.confianza-inner {
  max-width: var(--ancho); margin: 0 auto; padding: 18px 20px;
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.confianza-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.confianza-item svg { color: var(--rojo); flex: none; }

/* ===== Productos ===== */
main { max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.productos { padding: 56px 0 8px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.card {
  position: relative;
  border: 1px solid var(--borde); border-radius: var(--radio);
  padding: 28px 26px; background: #fff; box-shadow: var(--sombra);
  display: flex; flex-direction: column;
}
.card-tag {
  position: absolute; top: -12px; left: 24px;
  background: var(--rojo); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 14px; border-radius: 999px;
}
.card h3 { font-size: 23px; font-weight: 800; margin-bottom: 8px; }
.card-hook { color: var(--gris); margin-bottom: 16px; font-size: 15px; }
.card ul { list-style: none; margin-bottom: 18px; }
.card li {
  padding: 8px 0 8px 28px; position: relative;
  border-bottom: 1px solid var(--gris-claro); font-size: 15px;
}
.card li:last-child { border-bottom: none; }
.card li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--rojo);
}
.precio { font-size: 15px; color: var(--gris); margin: auto 0 16px; }
.precio strong { color: var(--negro); font-size: 26px; font-weight: 800; }
.precio-consultar strong { font-size: 18px; color: var(--rojo); }
.disclaimer { font-size: 12px; color: #9a9aa0; margin-top: 12px; }

/* ===== Cómo funciona ===== */
.pasos { padding: 56px 0 24px; }
.pasos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.paso {
  background: var(--gris-claro); border-radius: var(--radio); padding: 26px 22px; text-align: center;
}
.paso-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--rojo); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 12px;
}
.paso h3 { font-size: 17px; margin-bottom: 6px; }
.paso p { font-size: 14px; color: var(--gris); }

/* ===== Formulario ===== */
.form-seccion { padding: 40px 0; }
.form-caja {
  background: var(--negro); color: #fff; border-radius: 22px;
  padding: 44px 24px; text-align: center; box-shadow: var(--sombra);
}
.form-caja h2 { color: #fff; }
.form-caja > p { color: #b9b9c0; margin: 8px 0 26px; }
#form-lead { max-width: 420px; margin: 0 auto; text-align: left; }
#form-lead label { display: block; font-size: 14px; font-weight: 600; margin: 15px 0 6px; color: #e8e8ec; }
#form-lead input[type="text"], #form-lead input[type="tel"], #form-lead select {
  width: 100%; padding: 13px 15px; font-size: 16px;
  border: 1px solid #3a3a40; border-radius: 12px; background: #17171a;
  font-family: inherit; color: #fff;
}
#form-lead input::placeholder { color: #77777e; }
#form-lead input:focus, #form-lead select:focus { outline: none; border-color: var(--verde-wa); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-weight: 400 !important; }
.consent span { font-size: 13px; color: #b9b9c0; }
.consent a { color: #b9b9c0; }
.consent input { margin-top: 3px; accent-color: var(--verde-wa); }
.honeypot { position: absolute; left: -5000px; opacity: 0; height: 0; }
.btn-enviar {
  width: 100%; margin-top: 20px; padding: 15px;
  background: var(--rojo); color: #fff; border: none; border-radius: 999px;
  font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: background .15s ease;
}
.btn-enviar:hover { background: var(--rojo-oscuro); }
.btn-enviar:disabled { opacity: .5; cursor: wait; }
.form-error { color: #ff8a80; font-size: 14px; margin-top: 12px; text-align: center; }
.form-ok { max-width: 420px; margin: 0 auto; }
.form-ok p { margin-bottom: 14px; }
.oculto { display: none; }

/* ===== FAQ ===== */
.faq { padding: 24px 0 30px; max-width: 640px; margin: 0 auto; }
.faq h2 { margin-bottom: 22px; }
.faq details {
  border: 1px solid var(--borde); border-radius: 14px;
  padding: 16px 20px; margin-bottom: 10px; background: #fff; box-shadow: var(--sombra);
}
.faq summary { font-weight: 600; cursor: pointer; font-size: 15px; color: var(--negro); }
.faq details p { margin-top: 10px; font-size: 14px; color: var(--gris); }

/* ===== Privacidad ===== */
.privacidad { padding: 8px 0 40px; }
.privacidad h2 { font-size: 20px; margin-bottom: 12px; }
.privacidad p { font-size: 14px; color: var(--gris); max-width: 560px; margin: 0 auto; text-align: center; }

/* ===== Footer / agente ===== */
.agente { border-top: 1px solid var(--borde); padding: 36px 20px 44px; text-align: center; background: var(--gris-claro); }
.agente-foto {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--rojo); color: #fff;
  font-weight: 800; font-size: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  background-size: cover; background-position: 50% 22%;
  border: 3px solid #fff; box-shadow: var(--sombra);
}
.agente-nombre { font-weight: 700; font-size: 17px; color: var(--negro); }
.agente-cargo { font-size: 14px; color: var(--gris); margin-bottom: 4px; }
.agente-datos a { color: var(--verde-wa-oscuro); font-weight: 600; text-decoration: none; }
.footer-legal { font-size: 12px; color: #9a9aa0; margin-top: 18px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ===== WhatsApp flotante ===== */
.wa-flotante {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  width: 58px; height: 58px; padding: 0; border-radius: 50%;
  justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .cards { grid-template-columns: 1fr; }
  .pasos-grid { grid-template-columns: 1fr; }
  .confianza-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
}
@media (max-width: 480px) {
  .card { padding: 24px 20px; }
  .btn-wa { width: 100%; }
  .btn-wa-mini { width: auto; }
  .topbar-cargo { display: none; }
}
