/* ======================================================
   RESET
====================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0f0f12;

  /* Profundidad radial */
  background-image:
    radial-gradient(circle at 20% 20%, rgba(124,255,155,.05), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(124,255,155,.04), transparent 50%),

    /* Grid técnico */
    linear-gradient(rgba(124,255,155,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,255,155,.03) 1px, transparent 1px);

  background-size:
    auto,
    auto,
    40px 40px,
    40px 40px;

  background-attachment: fixed;
  color: #eaeaea;
  line-height: 1.6;
  padding: 0 20px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

section {
  margin-bottom: 20px;
}

/* ======================================================
   HEADER
====================================================== */
.header {
  padding: 10px 0 0 0;
}

.header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  height: 130px;
}

/* ======================================================
   HERO
====================================================== */
.hero {
  padding: 90px 0;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.05;
  margin-bottom: 25px;
}

.hero h1 span {
  color: #7cff9b;
}

.hero p {
  max-width: 700px;
  margin-bottom: 30px;
  opacity: .85;
}

a {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid #7cff9b;
  color: #7cff9b;
  text-decoration: none;
  transition: .3s ease;
}

a:hover {
  background: #7cff9b;
  color: #0f0f12;
  box-shadow: 0 0 20px rgba(124,255,155,.8);
}

/* ======================================================
   LÍNEAS VERDES GLOW
====================================================== */

.hero::after,
.crecimiento::after,
.metodo::after,
.caso::after,
.cta-final::after {
  content: "";
  display: block;
  width: 60%;
  height: 2px;
  margin: 70px auto 0 auto;
  background: linear-gradient(
    90deg,
    rgba(124,255,155,0),
    rgba(124,255,155,1),
    rgba(124,255,155,0)
  );
  box-shadow:
    0 0 15px rgba(124,255,155,.8),
    0 0 30px rgba(124,255,155,.4);
}

/* ======================================================
   SECCIÓN CRECIMIENTO
====================================================== */

.crecimiento {
  position: relative;
 padding: 20px 0 0px 0;
  overflow: hidden;
}

.panel-postura {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
	margin-bottom: 60px;
  padding: 50px;
  background: rgba(15,15,18,.95);
  border: 1px solid rgba(124,255,155,.4);
  box-shadow: 0 0 20px rgba(124,255,155,.15);
}

/* ===========================
   GRÁFICA ECONÓMICA
=========================== */

.grafica-fondo {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  opacity: .25;
  z-index: 1;
}

/* Velas */
.candle {
  position: relative;
  width: 8px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transform: translateY(70px);
  opacity: 0;
}

/* Mecha */
.wick {
  position: absolute;
  width: 2px;
  height: 70px;
  background: #7cff9b;
  box-shadow: 0 0 6px #7cff9b;
  bottom: 0;
}

/* Cuerpo */
.body {
  width: 100%;
  background: linear-gradient(to top, #7cff9b, #a6ffbf);
  box-shadow: 0 0 10px #7cff9b;
  transform-origin: bottom;
}

/* Alturas progresivas */
.candle:nth-child(1)  .body { height: 50px; }
.candle:nth-child(2)  .body { height: 65px; }
.candle:nth-child(3)  .body { height: 60px; }
.candle:nth-child(4)  .body { height: 80px; }
.candle:nth-child(5)  .body { height: 95px; }
.candle:nth-child(6)  .body { height: 75px; }
.candle:nth-child(7)  .body { height: 90px; }
.candle:nth-child(8)  .body { height: 120px; }
.candle:nth-child(9)  .body { height: 115px; }
.candle:nth-child(10) .body { height: 140px; }
.candle:nth-child(11) .body { height: 155px; }
.candle:nth-child(12) .body { height: 170px; }

/* Animación entrada */
.crecimiento.activa .candle {
  animation: candleEnter 3s cubic-bezier(.22,.61,.36,1) forwards;
}

.crecimiento.activa .candle:nth-child(1){animation-delay:.3s;}
.crecimiento.activa .candle:nth-child(2){animation-delay:.6s;}
.crecimiento.activa .candle:nth-child(3){animation-delay:.9s;}
.crecimiento.activa .candle:nth-child(4){animation-delay:1.2s;}
.crecimiento.activa .candle:nth-child(5){animation-delay:1.5s;}
.crecimiento.activa .candle:nth-child(6){animation-delay:1.8s;}
.crecimiento.activa .candle:nth-child(7){animation-delay:2.1s;}
.crecimiento.activa .candle:nth-child(8){animation-delay:2.4s;}
.crecimiento.activa .candle:nth-child(9){animation-delay:2.7s;}
.crecimiento.activa .candle:nth-child(10){animation-delay:3s;}
.crecimiento.activa .candle:nth-child(11){animation-delay:3.3s;}
.crecimiento.activa .candle:nth-child(12){animation-delay:3.6s;}

@keyframes candleEnter {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ======================================================
   MÉTODO ÁRBOL DE MIEL
====================================================== */

.metodo {
  text-align: center;
  padding: 30px 0;
}

.metodo h2 {
  margin-bottom: 80px;
}

/* Línea central */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  top: 0;
  bottom: 0;
  background: #7cff9b;
  box-shadow: 0 0 15px #7cff9b;
}

.timeline-item {
  width: 50%;
  padding: 50px 60px;
}

.timeline-item.left {
  text-align: right;
}

.timeline-item.right {
  margin-left: 50%;
}

.caja {
  display: inline-block;
  background: rgba(20,20,24,.95);
  padding: 25px 35px;
  border: 1px solid rgba(124,255,155,.4);
  transition: .3s ease;
}

.caja:hover {
  border-color: #7cff9b;
  box-shadow: 0 0 20px rgba(124,255,155,.6);
}
/* ======================================================
   DETALLE ÁRBOL DE MIEL
====================================================== */

.caja {
  position: relative;
}

.caja .detalle {
  position: absolute;
  top: 0;
  width: 280px;
  background: rgba(15,15,18,.98);
  border: 1px solid rgba(124,255,155,.6);
  padding: 20px;
  font-size: .9rem;
  line-height: 1.5;
  opacity: 0;
  transition: all .4s ease;
  box-shadow:
    0 0 15px rgba(124,255,155,.4),
    0 0 30px rgba(124,255,155,.2);
  pointer-events: none;
}

/* IZQUIERDA → aparece hacia el centro */
.timeline-item.left .caja .detalle {
  left: 105%;
  transform: translateX(20px);
}

/* DERECHA → aparece hacia el centro */
.timeline-item.right .caja .detalle {
  right: 105%;
  transform: translateX(-20px);
}

.caja:hover .detalle {
  opacity: 1;
  transform: translateX(0);
}
/* ======================================================
   CASO REAL
====================================================== */

.caso {
  padding: 30px 0;
  text-align: center;
}

.panel-caso {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px;
  background: rgba(15,15,18,.95);
  border: 1px solid rgba(124,255,155,.4);
}

.metricas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
  gap: 30px;
  margin: 40px 0;
}

.metrica h3 {
  font-size: 2.4rem;
  color: #7cff9b;
  margin-bottom: 10px;
}

.metrica p {
  opacity: .7;
}
/* ======================================================
   ELEGIBILIDAD
====================================================== */

.elegibilidad {
  padding: 100px 0;
  text-align: center;
}

.elegibilidad-panel {
  max-width: 850px;
  margin: 0 auto;
  padding: 50px;
  background: rgba(15,15,18,.95);
  border: 1px solid rgba(124,255,155,.4);
  box-shadow: 0 0 20px rgba(124,255,155,.15);
}

.elegibilidad-panel h2 {
  margin-bottom: 30px;
}

.elegibilidad-panel ul {
  list-style: none;
  margin-bottom: 30px;
}

.elegibilidad-panel li {
  margin: 12px 0;
  padding-left: 20px;
  position: relative;
}

.elegibilidad-panel li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #7cff9b;
}

.nota {
  font-size: .9rem;
  opacity: .6;
}
/* ======================================================
   CTA FINAL
====================================================== */

.cta-final {
  padding: 120px 0;
  text-align: center;
}

.cta-final h2 {
  font-size: 2.5rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* ======================================================
   SCROLL ANIMACIONES
====================================================== */

.animar {
  opacity: 0;
  transform: translateY(40px);
  transition: .8s ease;
}

.animar.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ============================
   FORMULARIO EMBEBIDO
============================ */

.diagnostico-web {
  padding: 120px 0;
  text-align: center;
}

.diagnostico-web h2 {
  margin-bottom: 20px;
}

.diagnostico-web p {
  max-width: 700px;
  margin: 0 auto 40px auto;
  opacity: .8;
}

.form-embed {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(124,255,155,.4);
  box-shadow: 0 0 20px rgba(124,255,155,.15);
}

.form-embed iframe {
  width: 100%;
  min-height: 1625px;
  border: none;
  background: #ffffff;
}
/* ============================
   BOTÓN DIAGNÓSTICO
============================ */

.btn-diagnostico {
  background: transparent;
  border: 1px solid #7cff9b;
  color: #7cff9b;
  padding: 16px 40px;
  font-size: 1rem;
  cursor: pointer;
  transition: all .3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 40px;
}

.btn-diagnostico:hover {
  background: #7cff9b;
  color: #0f0f12;
  box-shadow: 0 0 20px rgba(124,255,155,.8);
}
/* ======================================================
   CENTRAR TODOS LOS TÍTULOS
====================================================== */

h1,
h2,
h3 {
  text-align: center;
}
