/* ── Google Fonts ───────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Merriweather:wght@300;400&display=swap');

/* ── Variables ──────────────────────────────────────── */
:root {
  --bg:        #ffffff;
  --surface:   #ffffff;
  --surface2:  #f7f7fa;
  --surface3:  #f2effe;
  --border:    rgba(75,28,113,0.10);
  --border-md: rgba(75,28,113,0.18);
  --accent:    #4b1c71;
  --accent2:   #b57edc;
  --accent3:   #dbb6ee;
  --text:      #2a0d45;
  --muted:     rgba(42,13,69,0.52);
  --muted2:    rgba(42,13,69,0.32);
  --glow:      0 0 48px rgba(181,126,220,0.18);
  --glow-btn:  0 6px 32px rgba(75,28,113,0.28);

  --ff-title:  'Poppins', sans-serif;
  --ff-body:   'Merriweather', serif;
  --ff-mono:   'Poppins', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── Capas de fondo ─────────────────────────────────── */
.bg-layer {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 10% 10%,  rgba(219,182,238,0.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 85%,  rgba(181,126,220,0.30) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 55% 40%,  rgba(255,240,255,0.60) 0%, transparent 50%);
}

.noise-layer {
  position: fixed; inset: 0; z-index: 1; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px; pointer-events: none;
}

.grid-layer {
  position: fixed; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(75,28,113,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75,28,113,0.04) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}

/* ── Partículas ─────────────────────────────────────── */
.particles { position: fixed; inset: 0; z-index: 2; pointer-events: none; }

.particle {
  position: absolute; border-radius: 50%;
  animation: float-particle linear infinite; opacity: 0;
}

@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ── Navbar ─────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 2.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 16px rgba(75,28,113,0.07);
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(75,28,113,0.11);
}

.nav-logo { display: flex; align-items: center; }

.nav-logo-img {
  height: 55px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex; align-items: center; gap: 0.2rem;
}

.nav-link {
  font-family: var(--ff-title); font-size: 0.82rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  padding: 0.45rem 0.85rem; border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em; white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(75,28,113,0.07);
}

.nav-cta {
  font-family: var(--ff-title); font-size: 0.82rem; font-weight: 600;
  color: #fff0ff; text-decoration: none;
  padding: 0.52rem 1.25rem; border-radius: var(--radius-sm);
  background: var(--accent);
  box-shadow: 0 4px 18px rgba(75,28,113,0.30);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.02em; white-space: nowrap;
  margin-left: 0.6rem; position: relative; overflow: hidden;
}

.nav-cta::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: rgba(255,255,255,0.12); pointer-events: none;
}

.nav-cta:hover {
  background: #6b2899;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(75,28,113,0.40);
}

.nav-cta:active { transform: translateY(0); }

/* Hamburger mobile */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.nav-hamburger:hover { background: rgba(75,28,113,0.07); }

.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--accent); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .navbar { padding: 0.8rem 1.25rem; }

  .nav-hamburger { display: flex; }

  .nav-links {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255, 240, 255, 0.97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 1.25rem 1.2rem;
    gap: 0.3rem;
    box-shadow: 0 8px 24px rgba(75,28,113,0.10);
  }

  .nav-links.open { display: flex; }

  .nav-link { padding: 0.65rem 0.85rem; }

  .nav-cta {
    margin-left: 0; margin-top: 0.4rem;
    text-align: center; padding: 0.7rem 1rem;
  }
}

/* ── Contenedor ─────────────────────────────────────── */
.container {
  position: relative; z-index: 10;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 6rem 1.5rem 3rem;
  gap: 2.8rem; text-align: center;
}

/* ── Header / Logo ──────────────────────────────────── */
.header {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  animation: fade-up 0.8s ease both;
}

.logo-wrap { display: flex; align-items: baseline; gap: 0.2em; }

.logo-icon {
  font-size: 1.2rem; color: var(--accent2);
  animation: spin-star 8s linear infinite; display: inline-block;
}

@keyframes spin-star { to { transform: rotate(360deg); } }

.logo-text {
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  letter-spacing: -0.02em; color: var(--accent);
}

.logo-tag {
  font-family: var(--ff-title);
  font-weight: 500;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--accent2); letter-spacing: 0.02em;
}

.badge {
  font-family: var(--ff-title); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.2em; color: var(--accent);
  border: 1px solid rgba(75,28,113,0.25);
  background: rgba(75,28,113,0.06);
  padding: 0.3em 1em; border-radius: 100px;
  text-transform: uppercase;
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  animation: fade-up 0.8s 0.15s ease both;
}

.eyebrow {
  font-family: var(--ff-title); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase;
}

.headline {
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: clamp(3rem, 10vw, 6.5rem);
  /* line-height: 1.05; letter-spacing: -0.025em; color: var(--accent); */
}

.headline em {
  font-style: italic; font-weight: 600;
  color: var(--accent2); position: relative;
}

.headline em::after {
  content: ''; position: absolute; bottom: 0.04em; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent2), var(--accent3));
  border-radius: 2px; opacity: 0.7;
}

.subheadline {
  font-family: var(--ff-body);
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: var(--muted); font-weight: 300;
  line-height: 1.8; max-width: 38ch;
}

/* ── Countdown ──────────────────────────────────────── */
.countdown-section {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  animation: fade-up 0.8s 0.3s ease both;
}

.countdown-label {
  font-family: var(--ff-title); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase;
}

.countdown {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg); padding: 1.5rem 2rem;
  box-shadow: var(--glow), 0 1px 0 rgba(255,255,255,0.9) inset;
}

.time-block {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.2rem; min-width: 60px;
}

.time-num {
  font-family: var(--ff-title); font-weight: 600;
  font-size: clamp(2rem, 6vw, 3.2rem);
  color: var(--accent); line-height: 1;
  transition: transform 0.2s ease;
}

.time-block:hover .time-num { color: var(--accent2); transform: scale(1.05); }

.time-unit {
  font-family: var(--ff-title); font-size: 0.55rem; font-weight: 500;
  letter-spacing: 0.15em; color: var(--muted2); text-transform: uppercase;
}

.divider {
  font-family: var(--ff-title); font-size: 2rem; color: var(--border-md);
  margin-bottom: 1.4rem; animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0.15; } }

/* ══════════════════════════════════════════════════════
   FORMULARIO
══════════════════════════════════════════════════════ */

.notify-section {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  animation: fade-up 0.8s 0.45s ease both;
  width: 100%; max-width: 500px;
}

.notify-label {
  font-family: var(--ff-body); font-size: 0.95rem; font-weight: 300;
  color: var(--muted); letter-spacing: 0.01em;
}

/* Tarjeta con borde gradiente */
#mc_embed_signup {
  width: 100%; position: relative;
  border-radius: var(--radius-lg); padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(75,28,113,0.5) 0%,
    rgba(181,126,220,0.4) 50%,
    rgba(219,182,238,0.3) 100%
  );
}

#mc_embed_signup::before {
  content: ''; position: absolute; inset: 1.5px;
  border-radius: calc(var(--radius-lg) - 1.5px);
  background: var(--surface); z-index: 0;
}

#mc_embed_signup form {
  position: relative; z-index: 1;
  margin: 0; padding: 1.8rem 2rem 1.6rem;
}

#mc_embed_signup_scroll {
  display: flex; flex-direction: column; gap: 1.1rem;
}

.form-header {
  display: flex; align-items: center; gap: 0.8rem;
  padding-bottom: 1.1rem; border-bottom: 1px solid var(--border);
}

.form-header-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(75,28,113,0.08); border: 1px solid rgba(75,28,113,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}

.form-header-text { text-align: left; }

.form-header-title {
  font-family: var(--ff-title); font-size: 0.88rem; font-weight: 600;
  color: var(--accent);
}

.form-header-sub {
  font-family: var(--ff-title); font-size: 0.58rem; font-weight: 500;
  letter-spacing: 0.13em; color: var(--muted2);
  text-transform: uppercase; margin-top: 2px;
}

.mc-fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.mc-field-group,
.mc-field-full { display: flex; flex-direction: column; gap: 0.45rem; text-align: left; }

.mc-field-group label,
.mc-field-full label {
  font-family: var(--ff-title); font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}

.asterisk { color: var(--accent2); }

.input-wrap { position: relative; display: flex; align-items: center; }

.input-icon {
  position: absolute; left: 0.85rem; font-size: 13px;
  color: var(--muted2); pointer-events: none; transition: color 0.2s;
}

.mc-field-group input,
.mc-field-full input {
  width: 100%; background: var(--surface2);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-sm);
  padding: 0.72rem 1rem 0.72rem 2.4rem;
  font-family: var(--ff-title); font-size: 0.875rem; font-weight: 400;
  color: var(--text); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
}

.mc-field-group input::placeholder,
.mc-field-full input::placeholder { color: var(--muted2); font-size: 0.845rem; }

.mc-field-group input:hover,
.mc-field-full input:hover { border-color: rgba(75,28,113,0.3); }

.mc-field-group input:focus,
.mc-field-full input:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(181,126,220,0.15);
  background: #fff;
}

.input-wrap:focus-within .input-icon { color: var(--accent2); }

.mc-field-group input.input-error,
.mc-field-full input.input-error {
  border-color: #e05c7a;
  box-shadow: 0 0 0 3px rgba(224,92,122,0.12);
}

.form-divider { border: none; border-top: 1px solid var(--border); }

.mc-response {
  font-family: var(--ff-title); font-size: 0.8rem; font-weight: 400;
  padding: 0.65rem 1rem; border-radius: var(--radius-sm);
  text-align: center; line-height: 1.5;
}

.mc-error {
  background: rgba(224,92,122,0.07);
  border: 1px solid rgba(224,92,122,0.22); color: #c0405a;
}

.mc-success {
  background: rgba(75,28,113,0.07);
  border: 1px solid rgba(75,28,113,0.2); color: var(--accent);
}

.mc-submit-wrap { display: flex; flex-direction: column; gap: 0.7rem; }

.notify-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; background: var(--accent); color: #fff0ff;
  border: none; border-radius: var(--radius-sm);
  padding: 0.9rem 1.4rem;
  font-family: var(--ff-title); font-size: 0.93rem; font-weight: 600;
  cursor: pointer; letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: var(--glow-btn); position: relative; overflow: hidden;
}

.notify-btn::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: rgba(255,255,255,0.1); pointer-events: none;
}

.notify-btn:hover {
  background: #6b2899; transform: translateY(-1px);
  box-shadow: 0 8px 36px rgba(75,28,113,0.38);
}

.notify-btn:active { transform: translateY(0); }
.notify-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }

.trust-row {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
}

.trust-item {
  display: flex; align-items: center; gap: 0.35rem;
  font-family: var(--ff-title); font-size: 0.58rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--muted2); text-transform: uppercase;
}

.trust-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent2); opacity: 0.7; flex-shrink: 0;
}

/* ── Pillars ─────────────────────────────────────────── */
.pillars {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 0.8rem 1.2rem;
  animation: fade-up 0.8s 0.6s ease both;
}

.pillar {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-title); font-size: 0.82rem; font-weight: 400;
  color: var(--muted);
}

.pillar-icon { font-size: 1rem; }
.pillar-sep { color: var(--border-md); font-size: 1rem; }

/* ── Footer ─────────────────────────────────────────── */
.footer {
  font-family: var(--ff-title); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--muted2);
  animation: fade-up 0.8s 0.75s ease both;
}

.footer-accent { color: var(--accent2); }

/* ══════════════════════════════════════════════════════
   LANDING — SECCIONES
══════════════════════════════════════════════════════ */

/* ── Tag de sección ─────────────────────────────────── */
.section-tag {
  font-family: var(--ff-title); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent2);
}

/* ── Sección hero ───────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 9rem 1.5rem 6rem;
  text-align: center;
  background: linear-gradient(170deg, #ffffff 55%, #f2effe 100%);
  position: relative;
}

.hero-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 0; max-width: 720px;
  animation: fade-up 0.85s ease both;
}

.hero-inner .section-tag   { margin-bottom: 1rem; }
.hero-inner .hero-title    { margin-bottom: 1.2rem; }
.hero-inner .hero-sub      { margin-bottom: 2rem; }
.hero-inner .countdown-wrap{ margin-bottom: 2rem; }

.hero-title {
  font-family: var(--ff-title); font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  letter-spacing: -0.028em; color: var(--text);
  line-height: 1.08;
}

.hero-title em {
  font-style: italic; color: var(--accent);
}

.hero-sub {
  font-family: var(--ff-body); font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted); font-weight: 300;
  line-height: 1.85; max-width: 44ch;
}

.countdown-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 0.85rem;
}

.hero-cta {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--accent); color: #ffffff;
  font-family: var(--ff-title); font-size: 1rem; font-weight: 600;
  text-decoration: none;
  padding: 0.95rem 2.2rem; border-radius: var(--radius-md);
  box-shadow: 0 6px 32px rgba(75,28,113,0.28);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.01em; position: relative; overflow: hidden;
}

.hero-cta::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: rgba(255,255,255,0.10); pointer-events: none;
}

.hero-cta:hover {
  background: #6b2899;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(75,28,113,0.38);
}

.hero-cta:active { transform: translateY(0); }

/* ── Comunes de sección ─────────────────────────────── */
.section-inner {
  max-width: 1080px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
  text-align: center;
}

.section-inner .section-tag   { margin-bottom: 0.9rem; }
.section-inner .section-title { margin-bottom: 1rem; }
.section-inner .section-sub   { margin-bottom: 2.4rem; }

.section-title {
  font-family: var(--ff-title); font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.022em; color: var(--text);
  line-height: 1.13;
}

.section-sub {
  font-family: var(--ff-body); font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--muted); font-weight: 300;
  line-height: 1.85; max-width: 54ch;
}

/* ── Sección plataforma ─────────────────────────────── */
.platform-section {
  padding: 7rem 1.5rem;
  background: var(--surface2);
}

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem; width: 100%; max-width: 880px;
  margin-top: 0.8rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.4rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.85rem;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
  cursor: default;
}

.feature-card:hover {
  border-color: rgba(181,126,220,0.45);
  box-shadow: 0 8px 32px rgba(75,28,113,0.09);
  transform: translateY(-4px);
}

.feature-icon { font-size: 1.9rem; }

.feature-title {
  font-family: var(--ff-title); font-weight: 600; font-size: 0.88rem;
  color: var(--text); text-align: center; line-height: 1.4;
}

.method-banner {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent);
  padding: 0.9rem 2.4rem; border-radius: var(--radius-md);
  box-shadow: 0 6px 28px rgba(75,28,113,0.24);
  margin-top: 0.6rem;
}

.method-pre {
  font-family: var(--ff-title); font-size: 0.8rem; font-weight: 400;
  color: rgba(255,240,255,0.65);
}

.method-name {
  font-family: var(--ff-title); font-size: 0.9rem; font-weight: 700;
  color: #ffffff; letter-spacing: 0.06em; text-transform: uppercase;
}

/* ── Sección ¿Por qué? ──────────────────────────────── */
.why-section {
  padding: 7rem 1.5rem;
  background: var(--surface);
}

.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem; width: 100%; max-width: 860px;
  margin-top: 0.8rem;
}

.why-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.9rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem;
  text-align: left;
  transition: box-shadow 0.22s, transform 0.22s;
  cursor: default;
}

.why-card:hover {
  box-shadow: 0 10px 36px rgba(75,28,113,0.09);
  transform: translateY(-4px);
}

.why-card--accent {
  background: var(--accent);
  border-color: transparent;
}

.why-card--accent .why-title { color: #ffffff; }
.why-card--accent .why-text  { color: rgba(255,240,255,0.75); }

.why-icon { font-size: 1.9rem; }

.why-title {
  font-family: var(--ff-title); font-weight: 600; font-size: 1rem;
  color: var(--text); line-height: 1.3;
}

.why-text {
  font-family: var(--ff-body); font-size: 0.87rem; font-weight: 300;
  color: var(--muted); line-height: 1.85;
}

/* ── Sección formulario ─────────────────────────────── */
.form-section {
  padding: 7rem 1.5rem;
  background: var(--surface3);
}

.form-section .section-inner { gap: 2rem; }

/* ── Footer del sitio ───────────────────────────────── */
.site-footer {
  background: #160826;
  color: rgba(255,255,255,0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  gap: 3rem;
  max-width: 1100px; margin: 0 auto;
  padding: 5rem 2.5rem 4rem;
  align-items: start;
}

/* Bloque 1: Logo */
.footer-block--logo { display: flex; align-items: flex-start; }

.footer-logo {
  height: 78px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* Encabezados de bloque */
.footer-heading {
  font-family: var(--ff-title); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.2rem;
}

/* Bloque 2: Navegación */
.footer-nav {
  display: flex; flex-direction: column; gap: 0.65rem;
}

.footer-link {
  font-family: var(--ff-title); font-size: 0.88rem; font-weight: 400;
  color: rgba(255,255,255,0.65); text-decoration: none;
  transition: color 0.2s;
  display: inline-flex; align-items: center; gap: 0.45rem;
}

.footer-link:hover { color: #ffffff; }

/* Bloque 3: Email + redes */
.footer-email {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.footer-social {
  display: flex; align-items: center; gap: 0.6rem;
}

.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  text-decoration: none;
}

.social-link:hover {
  background: rgba(181,126,220,0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Bloque 4: CTA */
.footer-block--cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
}

.footer-cta-text {
  font-family: var(--ff-title); font-size: 1rem; font-weight: 600;
  color: #ffffff; line-height: 1.4;
}

.footer-cta-btn {
  display: inline-flex; align-items: center;
  background: var(--accent2); color: #ffffff;
  font-family: var(--ff-title); font-size: 0.82rem; font-weight: 600;
  text-decoration: none; padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.footer-cta-btn:hover {
  background: #c990e8;
  transform: translateY(-1px);
}

.footer-privacy-link {
  font-family: var(--ff-title); font-size: 0.72rem; font-weight: 500;
  color: rgba(255,255,255,0.35); text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer;
  transition: color 0.2s;
}

.footer-privacy-link:hover { color: rgba(255,255,255,0.7); }

/* Barra inferior */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 2.5rem;
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0.4rem;
  text-align: center;
}

.footer-bottom p {
  font-family: var(--ff-title); font-size: 0.68rem; font-weight: 400;
  color: rgba(255,255,255,0.35); letter-spacing: 0.04em;
}

.footer-disclaimer {
  font-size: 0.6rem !important;
  color: rgba(255,255,255,0.22) !important;
}

/* ── Responsive footer ──────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 4rem 2rem 3rem;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.5rem 2.5rem;
    text-align: center;
  }
  .footer-block--logo { justify-content: center; }
  .footer-nav         { align-items: center; }
  .footer-email       { justify-content: center; }
  .footer-social      { justify-content: center; }
  .footer-block--cta  { align-items: center; }
  .footer-bottom      { padding: 1.5rem; }
}

/* ── Responsive secciones ───────────────────────────── */
@media (max-width: 768px) {
  .hero-section     { padding: 8rem 1.5rem 5rem; }
  .platform-section,
  .why-section,
  .form-section     { padding: 5rem 1.5rem; }
  .features-grid    { grid-template-columns: repeat(2, 1fr); }
  .why-grid         { grid-template-columns: 1fr; }
  .method-banner    { flex-direction: column; gap: 0.2rem; padding: 1rem 1.8rem; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ── Animaciones globales ────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════
   PÁGINA DE GRACIAS
══════════════════════════════════════════════════════ */

.check-ring {
  width: 80px; height: 80px; border-radius: 50%;
  border: 2px solid rgba(181,126,220,0.4);
  background: rgba(219,182,238,0.15);
  display: flex; align-items: center; justify-content: center;
  animation: pulse-ring 2.5s ease infinite;
}

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(181,126,220,0.3); }
  50%       { box-shadow: 0 0 0 14px rgba(181,126,220,0); }
}

.check-icon {
  font-size: 2.2rem;
  animation: pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  animation-delay: 0.2s;
}

@keyframes pop-in {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.thanks-card {
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  max-width: 460px; width: 100%;
  display: flex; flex-direction: column;
  align-items: center; gap: 1.4rem;
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 32px rgba(75,28,113,0.1);
}

.thanks-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
}

.thanks-title {
  font-family: var(--ff-title); font-weight: 600;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  letter-spacing: -0.02em; color: var(--accent); line-height: 1.1;
}

.thanks-title em { font-style: italic; color: var(--accent2); }

.thanks-msg {
  font-family: var(--ff-body); font-size: 0.98rem; font-weight: 300;
  color: var(--muted); line-height: 1.8; max-width: 34ch;
}

.email-step {
  display: flex; align-items: flex-start; gap: 0.9rem;
  background: var(--surface3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  text-align: left; width: 100%;
}

.step-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }

.step-text { display: flex; flex-direction: column; gap: 0.2rem; }

.step-label {
  font-family: var(--ff-title); font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent2);
}

.step-desc {
  font-family: var(--ff-title); font-size: 0.88rem; font-weight: 500;
  color: var(--text); line-height: 1.5;
}

.step-hint {
  font-family: var(--ff-body); font-size: 0.75rem; font-weight: 300;
  color: var(--muted); margin-top: 0.1rem;
}

.back-link {
  font-family: var(--ff-title); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted2); text-decoration: none;
  display: flex; align-items: center; gap: 0.4rem;
  transition: color 0.2s;
}

.back-link:hover { color: var(--accent2); }
.back-link svg { transition: transform 0.2s; }
.back-link:hover svg { transform: translateX(-3px); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 520px) {
  .countdown { padding: 1.2rem 1rem; gap: 0.3rem; }
  .time-block { min-width: 44px; }
  .mc-fields-row { grid-template-columns: 1fr; }
  #mc_embed_signup form { padding: 1.4rem 1.2rem 1.3rem; }
  .trust-row { flex-wrap: wrap; gap: 0.5rem 1rem; }
  .pillars { flex-direction: column; gap: 0.5rem; }
  .pillar-sep { display: none; }
  .thanks-card { padding: 1.6rem 1.2rem; }
}

/* ══════════════════════════════════════════════════════
   PÁGINA MASTERCLASS
══════════════════════════════════════════════════════ */

.masterclass-page {
  background: #ffffff;
}

.stream-section {
  display: flex;
  height: calc(100vh - 72px);
  margin-top: 72px;
}

/* ── Columna video ── */
.video-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: #000;
}

.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  flex-shrink: 0;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Info debajo del video ── */
.mc-info {
  padding: 1.6rem 2rem 2rem;
  background: #ffffff;
  border-top: 1px solid var(--border);
  flex: 1;
}

.mc-info-inner {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mc-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--ff-title);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent2);
}

.mc-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e05c7a;
  animation: blink-dot 1.2s ease infinite;
  flex-shrink: 0;
}

@keyframes blink-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(224,92,122,0.5); }
  50%       { opacity: 0.4; box-shadow: 0 0 0 5px rgba(224,92,122,0); }
}

.mc-offline-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(42,13,69,0.25);
  flex-shrink: 0;
}

.mc-date {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--ff-title);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.mc-title {
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  color: var(--text);
  letter-spacing: -0.022em;
  line-height: 1.15;
}

.mc-title em {
  font-style: italic;
  color: var(--accent2);
}

.mc-sub {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
}

.mc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.8rem;
  margin-top: 0.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.mc-meta-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--ff-title);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted2);
}

/* ── Columna chat ── */
.chat-col {
  width: 360px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-md);
  background: var(--surface2);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  background: var(--surface3);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.chat-header-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  opacity: 0.8;
}

.chat-header-title {
  font-family: var(--ff-title);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.chat-col iframe {
  flex: 1;
  border: none;
  width: 100%;
  min-height: 0;
}

/* ── Responsive masterclass ── */
@media (max-width: 960px) {
  .chat-col { width: 300px; }
}

@media (max-width: 768px) {
  .stream-section {
    flex-direction: column;
    height: auto;
  }
  .video-col { overflow-y: visible; }
  .chat-col {
    width: 100%;
    height: 420px;
    border-left: none;
    border-top: 1px solid rgba(181,126,220,0.18);
  }
  .mc-info { padding: 1.2rem 1.2rem 1.6rem; }
}

@media (max-width: 480px) {
  .stream-section { margin-top: 68px; }
  .chat-col { height: 380px; }
}