:root {
  --tinta: #12181f;
  --tinta-2: #1b232e;
  --carbon: #263140;
  --acento: #ff6b2c;
  --acento-suave: rgba(255, 107, 44, 0.12);
  --claro: #f4f5f7;
  --texto: #1f2933;
  --texto-suave: #5b6672;
  --borde: #e3e7ec;
  --wa: #25d366;
  --wa-oscuro: #0b3d1f;
  --radio: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--texto);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; }

/* ---------- Botones: uno solo domina, el verde ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  /* 48px minimo: es el area tactil comoda en celular */
  min-height: 48px;
  padding: 0 1.6rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-wa { background: var(--wa); color: var(--wa-oscuro); }
.btn-wa:hover { background: #1fbe5b; transform: translateY(-2px); }
.btn-wa:active { transform: translateY(0); }

.btn-lg {
  font-size: 1.08rem;
  min-height: 58px;
  padding: 0 2.2rem;
  box-shadow: 0 14px 34px -12px rgba(37, 211, 102, 0.75);
}

.btn-sm { font-size: 0.92rem; min-height: 42px; padding: 0 1.1rem; }
.ico-wa { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* ---------- Barra superior ---------- */

.barra {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 5%;
  background: rgba(18, 24, 31, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.barra-visible { transform: translateY(0); }
.barra-logo { color: #fff; font-weight: 800; letter-spacing: 0.06em; font-size: 0.98rem; }
.barra-logo strong { color: var(--acento); }

/* ---------- Hero: llena la pantalla, una sola accion visible ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 6% 5rem;
  color: #fff;
  background:
    radial-gradient(1000px 520px at 78% 6%, rgba(255,107,44,0.26), transparent 62%),
    radial-gradient(700px 420px at 12% 92%, rgba(255,107,44,0.10), transparent 60%),
    linear-gradient(158deg, var(--carbon) 0%, var(--tinta) 64%);
  border-top: 5px solid var(--acento);
  overflow: hidden;
}

.hero-inner { max-width: 640px; }

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acento);
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 11vw, 5.2rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}

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

.hero-sub {
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  color: #c3ccd8;
  margin: 0 auto 2.4rem;
  max-width: 30rem;
}

.sello {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: #c3ccd8;
  font-size: 0.94rem;
}

.sello strong { color: #fff; }
.estrellas { color: var(--acento); letter-spacing: 0.18em; font-size: 1.1rem; }

.scroll-hint {
  position: absolute;
  bottom: 1.7rem;
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,0.28);
  border-radius: 12px;
}

.scroll-hint::after {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--acento);
  animation: baja 1.7s ease-in-out infinite;
}

@keyframes baja {
  0%, 100% { transform: translateY(0); opacity: 1; }
  55% { transform: translateY(10px); opacity: 0.2; }
}

/* ---------- Secciones ---------- */

.seccion { padding: 5.5rem 0; }
.seccion-alt { background: var(--claro); }
.contenedor { max-width: 1060px; margin: 0 auto; padding: 0 6%; }

.kicker, .kicker-claro {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acento);
  margin-bottom: 0.7rem;
}

.seccion h2, .cierre h2, .propuesta h2 {
  font-size: clamp(1.7rem, 4.4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 2.6rem;
}

.seccion h2 { color: var(--tinta); }

/* ---------- Tarjetas ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }

.tarjeta {
  display: block;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 2rem 1.7rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tarjeta:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(18,24,31,0.55);
  border-color: #cdd4dc;
}

.tarjeta h3 { font-size: 1.12rem; margin-bottom: 0.55rem; color: var(--tinta); }
.tarjeta p { color: var(--texto-suave); font-size: 0.97rem; }

.ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--acento-suave);
  margin-bottom: 1.1rem;
}

.ico svg { width: 23px; height: 23px; fill: none; stroke: var(--acento); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Tarjetas que esperan un dato de Manuel: se leen como pendientes, no como error */
.tarjeta-abierta { border-style: dashed; border-color: var(--acento); background: rgba(255,107,44,0.045); }
.tarjeta-abierta p { font-style: italic; }

.tarjeta-link { color: inherit; text-decoration: none; }
.enlace-txt { display: inline-block; margin-top: 0.9rem; color: var(--acento); font-weight: 700; font-size: 0.9rem; }

/* ---------- Planes ---------- */

.plan {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 1.7rem 1.4rem;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.plan:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(18,24,31,0.5); }
.plan h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--texto-suave); margin-bottom: 0.9rem; }
.plan-precio { margin-bottom: 0.7rem; }

.pendiente {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--acento);
  border: 1px dashed var(--acento);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
}

.plan-desc { color: var(--texto-suave); font-size: 0.9rem; }

.nota-demo {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--acento);
  background: rgba(255,107,44,0.07);
  border-radius: 0 10px 10px 0;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--texto-suave);
}

/* ---------- Cierre ---------- */

.cierre {
  background: linear-gradient(155deg, var(--carbon), var(--tinta));
  color: #fff;
  padding: 5.5rem 0;
  text-align: center;
}

.cierre p { color: #c3ccd8; margin: 0 auto 2.2rem; max-width: 34rem; }

/* ---------- Nota de propuesta (se borra al publicar de verdad) ---------- */

.propuesta { background: var(--tinta-2); color: #fff; padding: 4.5rem 0; border-top: 4px solid var(--acento); }
.propuesta p { color: #c3ccd8; max-width: 44rem; margin-bottom: 1rem; }
.propuesta strong { color: #fff; }
.propuesta h2 { color: #fff; margin-bottom: 1.6rem; }

.faltantes { margin: 0 0 1.4rem 0; padding: 0; list-style: none; }

.faltantes li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.45rem;
  color: #c3ccd8;
}

.faltantes li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--acento);
}

.firma {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-weight: 700;
}

.firma span { display: block; font-weight: 400; font-size: 0.88rem; color: #8e9aa8; }

/* ---------- Pie ---------- */

.pie { background: var(--tinta); color: #7f8b99; text-align: center; padding: 2.6rem 6%; font-size: 0.9rem; }
.pie a { color: var(--acento); text-decoration: none; }
.pie p { margin-bottom: 0.35rem; }

/* ---------- Aparicion al desplazar ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint::after { animation: none; }
  .btn, .tarjeta, .plan { transition: none; }
}
