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

:root {
  --gold:      #F7D379;
  --gold-dark: #D09500;
  --gold-text: #553C00;
  --gold-glow: rgba(247,211,121,0.45);
  --bg-hero:   #404040;
  --bg-dark:   #262626;
  --bg-darker: #1f1f1f;
  --bg-card:   rgba(255,255,255,0.05);
  --border:    rgba(255,255,255,0.1);
  --text:      #ffffff;
  --muted:     #a3a3a3;
  --muted2:    #737373;
  --r:         10px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── DOT PATTERN ── */
.dot-bg {
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.dot-bg-darker {
  background-color: var(--bg-darker);
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ── ANIMATIONS ── */
@keyframes blurReveal {
  from { opacity: 0; filter: blur(8px); transform: translateY(16px); }
  to   { opacity: 1; filter: blur(0);   transform: translateY(0); }
}
.reveal  { opacity: 0; animation: blurReveal 0.8s cubic-bezier(0.22,1,0.36,1) forwards; }
.d1 { animation-delay: 0.10s; }
.d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.40s; }
.d4 { animation-delay: 0.55s; }
.d5 { animation-delay: 0.70s; }

.sr {
  opacity: 0; transform: translateY(20px); filter: blur(5px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              filter   0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.sr.visible { opacity: 1; transform: translateY(0); filter: blur(0); }

@keyframes pulseDot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.35; transform:scale(0.65); }
}

/* ── TOPBAR ── */
.topbar {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--gold-text);
  text-align: center;
  padding: 10px 20px;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(38,38,38,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 10px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo — SKY arriba Work Sans 500, ACADEMIA abajo Work Sans 300 más chico */
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}
.logo-sky {
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 56px;
  letter-spacing: 0.19em;
  color: white;
  text-transform: uppercase;
  line-height: 1;
}
.logo-academia {
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1;
}

/* ── BUTTONS ── */
.btn-gold {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--gold-text);
  border: none;
  border-radius: var(--r);
  padding: 12px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px var(--gold-glow);
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}
.btn-gold:hover { transform: scale(1.04); box-shadow: 0 0 32px var(--gold-glow); }

.btn-gold-lg {
  height: 52px;
  padding: 0 48px;
  font-size: 15px;
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--gold-text);
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px var(--gold-glow);
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}
.btn-gold-lg:hover { transform: scale(1.04); box-shadow: 0 0 40px var(--gold-glow); }

.btn-outline {
  height: 52px;
  padding: 0 32px;
  font-size: 14px;
  border-radius: var(--r);
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.2);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(247,211,121,0.06); }

/* ── LAYOUT ── */
.container { max-width: 1060px; margin: 0 auto; }
.section { padding: 80px 5%; }

/* ── SHARED ── */
.tag-pill {
  display: inline-flex;
  align-items: center;
  background: #262626;
  border: 2px solid #555;
  border-radius: 100px;
  padding: 8px 20px;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  gap: 10px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08), inset 0 -1px 2px rgba(0,0,0,0.4);
  cursor: default;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}
.tag-pill:hover { border-color: #777; box-shadow: 0 8px 20px rgba(0,0,0,0.4); transform: scale(1.06); }
.tag-pill-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0;
  animation: pulseDot 2.2s ease-in-out infinite;
}
.pill-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0;
  animation: pulseDot 2.2s ease-in-out infinite;
}

.section-tag {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.section-h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--text);
}
.section-h2 .gold { color: var(--gold); }
.section-sub {
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  background-color: var(--bg-hero);
  background-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,168,67,0.13) 0%, transparent 60%);
  padding: 32px 5% 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
  max-width: 900px;
  margin: 0 auto 16px;
}
.hero h1 .gold { color: var(--gold); }

.hero-sub {
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

/* Hero pills */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}
.hero-pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  padding: 8px 18px;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: default;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}
.hero-pill:hover {
  background: rgba(247,211,121,0.12);
  border-color: rgba(247,211,121,0.45);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 16px rgba(247,211,121,0.18);
  color: var(--gold);
}
.hero-pill:hover .pill-dot { background: white; }

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Grilla de fotos hero */
.hero-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 860px;
  margin: 40px auto 0;
}
@media (max-width: 600px) { .hero-img-grid { grid-template-columns: 1fr; } }

.hero-img-slot {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-img-slot img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}
/* Placeholder visible cuando no hay imagen */
.hero-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.2);
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  z-index: 0;
  padding: 16px;
}
/* Cuando la imagen carga, oculta el placeholder */
.hero-img-slot img[src]:not([src=""]) + .hero-img-placeholder { display: none; }

/* ══════════════════════════════════════
   MÓDULOS — pills cuadradas
══════════════════════════════════════ */
.modules-section { background: var(--bg-darker); }

.modules-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}
@media (max-width: 700px) { .modules-pills-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .modules-pills-grid { grid-template-columns: 1fr; } }

/* Base pill cuadrada */
.mod-pill {
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  position: relative;
  overflow: hidden;
}

/* Disponibles (módulos 1 y 2) */
.mod-pill.available {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  cursor: pointer;
}
.mod-pill.available::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.mod-pill.available:hover {
  background: rgba(247,211,121,0.08);
  border-color: rgba(247,211,121,0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.mod-pill.available:hover::before { opacity: 1; }

/* En producción (módulos 3-7) */
.mod-pill.coming {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.06);
  cursor: default;
  opacity: 0.5;
}

.mod-pill-num {
  font-family: 'Work Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}
.mod-pill.coming .mod-pill-num { color: var(--muted2); }

.mod-pill-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--text);
  line-height: 1.2;
}
.mod-pill.coming .mod-pill-title { color: var(--muted2); }

.mod-pill-desc {
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 2px;
}
.mod-pill.coming .mod-pill-desc { color: var(--muted2); }

/* Badge disponible */
.mod-badge-available {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  background: rgba(247,211,121,0.12);
  border: 1px solid rgba(247,211,121,0.25);
  color: var(--gold);
  font-family: 'Work Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  width: fit-content;
}
.badge-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
  animation: pulseDot 2s ease-in-out infinite;
}

/* Badge próximamente */
.mod-badge-coming {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted2);
  font-family: 'Work Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  width: fit-content;
}

/* ══════════════════════════════════════
   CTA + FORMULARIO
══════════════════════════════════════ */
.cta-section {
  background-color: #1f1f1f;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) {
  .cta-grid { grid-template-columns: 1fr; }
}

.cta-tag {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.cta-h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 14px;
}
.cta-h2 .gold { color: var(--gold); }

.cta-p {
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.cta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cta-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(247,211,121,0.1);
  border: 1px solid rgba(247,211,121,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}
.cta-list-text {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

/* ── Form card (widget de inscripción — no vino en el custom code original,
   reconstruido a partir de los estilos reales del form embebido de GHL) ── */
.form-card {
  background: rgba(18,18,18,0.98);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 32px 28px 28px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8);
}
.form-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
  margin-bottom: 6px;
}
.form-card-sub {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-row.single { grid-template-columns: 1fr; }
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-field label {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #D1D5DB;
  margin-bottom: 6px;
}
.form-field .req { color: var(--gold); }

.form-field input,
.form-field select {
  width: 100%;
  background: #343434;
  border: 1px solid #666;
  border-radius: 5px;
  color: #ffffff;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  padding: 10px 15px;
  outline: none;
  transition: border-color 0.2s;
}
.form-field input::placeholder { color: #8a8a8a; }
.form-field input:focus,
.form-field select:focus { border-color: var(--gold); }

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23a3a3a3'%3E%3Cpath d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='%23a3a3a3' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.form-field select:invalid { color: #8a8a8a; }
.form-field option { background: #343434; color: #fff; }
.form-field option:disabled { color: #8a8a8a; }

.phone-input, .email-input {
  position: relative;
  display: flex;
  align-items: center;
}
.phone-flag {
  position: absolute;
  left: 12px;
  font-size: 14px;
  pointer-events: none;
}
.phone-input input { padding-left: 36px; }
.email-icon {
  position: absolute;
  left: 13px;
  font-size: 13px;
  color: #8a8a8a;
  pointer-events: none;
}
.email-input input { padding-left: 34px; }

.form-submit {
  width: 100%;
  margin-top: 8px;
  border: none;
}

/* ── FOOTER ── */
footer {
  background: #1a1a1a;
  border-top: 1px solid var(--border);
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
footer p { font-family: 'Work Sans', sans-serif; font-size: 13px; color: var(--muted2); }

/* ── STICKY MOBILE ── */
.sticky-mobile {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  padding: 14px 20px;
  z-index: 1000;
}
.sticky-mobile a {
  display: block;
  text-align: center;
  color: var(--gold-text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media (max-width: 600px) {
  .hero h1 { font-size: 38px; }
  nav { padding: 12px 4%; }
  .section { padding: 60px 4%; }
  .btn-gold-lg { padding: 0 28px; font-size: 13px; }
  .logo-sky { font-size: 32px; }
}
