/* ============================================================
   COMPONENTS
   ============================================================ */

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn-gold{
  background: var(--gold);
  color: var(--bg-deep);
}
.btn-gold:hover{
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(201, 169, 97, 0.45);
}
.btn-ghost{
  border-color: var(--gold-line-strong);
  color: var(--cream);
  background: transparent;
}
.btn-ghost:hover{
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}
.btn-sm{ padding: 11px 20px; font-size: 11.5px; }

/* ---------- hero ---------- */
.hero{
  padding-top: 190px;
  padding-bottom: 90px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--gold-line-strong);
  background: var(--bg-surface-soft);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 30px;
}
.badge .dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex: none;
  box-shadow: 0 0 8px var(--gold);
}

.hero h1{
  font-size: clamp(36px, 5.6vw, 64px);
  max-width: 16ch;
  margin-bottom: 26px;
}

.hero .lead{
  font-size: 19px;
  color: var(--cream-dim);
  max-width: 52ch;
  margin-bottom: 40px;
}

.hero-actions{
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-meta{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--cream-faint);
  margin-bottom: 70px;
}

.grid-stats .stat{
  border-top: 1px solid var(--gold-line);
  padding-top: 16px;
}
.stat b{
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--gold-light);
  font-weight: 700;
}
.stat span{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--cream-faint);
  text-transform: uppercase;
}

.scroll-hint{
  position: absolute;
  bottom: 36px; left: 28px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.scroll-hint .line{
  width: 1px; height: 26px;
  background: linear-gradient(var(--gold), transparent);
}

/* ---------- topic cards ---------- */
.topic-card{
  background: var(--bg-surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.topic-card:hover{
  transform: translateY(-6px);
  border-color: var(--gold-line-strong);
  box-shadow: var(--shadow-gold);
}
.topic-icon{
  width: 40px; height: 40px;
  margin-bottom: 20px;
  color: var(--gold);
}
.topic-card h3{
  font-size: 19px;
  margin-bottom: 10px;
}
.topic-card p{
  color: var(--cream-dim);
  font-size: 14.5px;
  margin-bottom: 18px;
}
.topic-meta{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid var(--gold-line);
  padding-top: 14px;
}

/* ---------- process list (antes "archivo") ---------- */
.process-list{ display: flex; flex-direction: column; }
.process-item{
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--gold-line);
  transition: background 0.3s var(--ease);
}
.process-item:hover{ background: rgba(201, 169, 97, 0.04); }
.process-num{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.process-num small{ display: block; color: var(--cream-faint); margin-top: 4px; font-size: 11px; }
.process-body h3{ font-size: 19px; margin-bottom: 6px; }
.process-body p{ color: var(--cream-dim); font-size: 14.5px; max-width: 60ch; }
.process-tag{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-faint);
  border: 1px solid var(--gold-line);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- pillars split content ---------- */
.pillar-mini{ display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.pillar-mini .num{ font-family: var(--font-mono); color: var(--gold); font-size: 13px; padding-top: 3px; }
.pillar-mini h4{ font-size: 16.5px; margin-bottom: 4px; }
.pillar-mini p{ color: var(--cream-dim); font-size: 14px; }

/* ---------- lead magnet ---------- */
.lead-magnet{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  padding: 56px;
}

.doc-stage{
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-3d{
  width: 220px;
  height: 290px;
  background: linear-gradient(155deg, #17110a, #0d0a06);
  border: 1px solid var(--gold-line-strong);
  border-radius: 2px;
  transform: rotateY(-24deg) rotateX(6deg);
  transition: transform 0.6s var(--ease);
  box-shadow: -20px 30px 60px -20px rgba(0,0,0,0.7);
  padding: 26px 22px;
  position: relative;
}
.doc-stage:hover .doc-3d{ transform: rotateY(-12deg) rotateX(2deg); }
.doc-3d::before{
  content: '';
  position: absolute; inset: 10px;
  border: 1px solid var(--gold-line);
}
.doc-3d .doc-kicker{
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 16px; display: block;
}
.doc-3d .doc-title{ font-family: var(--font-display); font-size: 18px; line-height: 1.3; margin-bottom: 16px; }
.doc-3d .doc-line{ height: 1px; background: var(--gold-line); margin-bottom: 10px; }
.doc-3d .doc-line:nth-child(5){ width: 70%; }

.lead-magnet-copy h2{ font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.lead-magnet-copy p{ color: var(--cream-dim); margin-bottom: 26px; max-width: 48ch; }
.lead-actions{ display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- founder program (reemplaza testimonios) ---------- */
.founder-card{
  background: var(--bg-surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.founder-card .icon-row{ color: var(--gold); margin-bottom: 18px; }
.founder-card h3{ font-size: 18px; margin-bottom: 10px; }
.founder-card p{ color: var(--cream-dim); font-size: 14.5px; }

/* ---------- phase / pricing cards ---------- */
.phase-card{
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}
.phase-card.featured{
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.phase-badge-top{
  position: absolute;
  top: -13px; left: 30px;
  background: var(--gold);
  color: var(--bg-deep);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 600;
}
.phase-eyebrow{
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.phase-card h3{ font-size: 23px; margin-bottom: 8px; }
.phase-card .phase-sub{ color: var(--cream-dim); font-size: 14px; margin-bottom: 24px; }
.phase-features{ display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; flex: 1; }
.phase-features li{ display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.phase-features li.no{ color: var(--cream-faint); }
.phase-features .mark{ font-family: var(--font-mono); flex: none; color: var(--gold); }
.phase-features li.no .mark{ color: var(--cream-faint); }

/* ---------- FAQ ---------- */
.faq-item{
  border-bottom: 1px solid var(--gold-line);
}
.faq-q{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-q h3{ font-size: 17.5px; font-weight: 500; font-family: var(--font-body); }
.faq-q .plus{
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 20px;
  transition: transform 0.35s var(--ease);
  flex: none;
}
.faq-item.open .faq-q .plus{ transform: rotate(45deg); }
.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a p{
  color: var(--cream-dim);
  font-size: 15px;
  padding-bottom: 26px;
  max-width: 62ch;
}

/* ---------- final CTA ---------- */
.final-cta{
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.final-cta h2{ font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.final-cta p{ color: var(--cream-dim); font-size: 17px; margin-bottom: 36px; }

/* ---------- toast ---------- */
#toast{
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--gold);
  color: var(--bg-deep);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 14px 24px;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px -10px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: 200;
}
#toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- responsive components ---------- */
@media (max-width: 900px){
  .lead-magnet{ grid-template-columns: 1fr; padding: 36px 26px; text-align: left; }
  .doc-stage{ margin-bottom: 10px; }
  .process-item{ grid-template-columns: 1fr; gap: 10px; }
  .process-tag{ justify-self: flex-start; }
}
@media (max-width: 500px){
  .hero{ padding-top: 150px; }
  .hero-meta{ margin-bottom: 50px; }
  .lead-magnet{ padding: 28px 20px; }
  .doc-3d{ width: 180px; height: 240px; }
}
