/* ================================================================
   RobustaApp Landing – Estilos corporativos
   Paleta: Azul marino profundo + Dorado + Blanco hueso
   Tipografía: Playfair Display (display) + DM Sans (cuerpo)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Breakout FULL WIDTH — compatible con Astra, OceanWP, Kadence, etc. ── */
/*
 * Técnica nuclear: anular TODOS los contenedores padres del tema WordPress.
 * Funciona independientemente del tema activo (Astra, OceanWP, Kadence, etc.)
 */

/* 1. Forzar ancho en todos los ancestros del landing */
body:has(#ml-landing),
body:has(#ml-landing) html {
  overflow-x: hidden;
}
body:has(#ml-landing) .entry-content,
body:has(#ml-landing) .entry-content > *:not(#ml-landing),
body:has(#ml-landing) .post-content,
body:has(#ml-landing) .page-content,
body:has(#ml-landing) .wp-block-post-content,
body:has(#ml-landing) .wp-block-group,
body:has(#ml-landing) article.page,
body:has(#ml-landing) article,
body:has(#ml-landing) .site-main,
body:has(#ml-landing) main,
/* Astra específico */
body:has(#ml-landing) .ast-container,
body:has(#ml-landing) .ast-separate-container,
body:has(#ml-landing) #content,
body:has(#ml-landing) #primary,
body:has(#ml-landing) .content-area,
body:has(#ml-landing) .ast-article-single,
body:has(#ml-landing) .ast-page-builder-template .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
/* Fallback sin :has() — clase añadida por JS */
body.ml-body-landing .entry-content,
body.ml-body-landing .post-content,
body.ml-body-landing .page-content,
body.ml-body-landing .wp-block-post-content,
body.ml-body-landing article,
body.ml-body-landing article.page,
body.ml-body-landing .site-main,
body.ml-body-landing main,
body.ml-body-landing #content,
body.ml-body-landing #primary,
body.ml-body-landing .content-area,
body.ml-body-landing .ast-container,
body.ml-body-landing .ast-separate-container,
body.ml-body-landing .ast-article-single {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
body.ml-body-landing {
  overflow-x: hidden;
}

/* 2. El bloque raíz ocupa todo el viewport */
.ml-root {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  left: 0;
  overflow-x: hidden;
}

/* ── Reset y tokens ─────────────────────────────────────── */
.ml-root *, .ml-root *::before, .ml-root *::after { box-sizing: border-box; margin: 0; padding: 0; }

.ml-root {
  --navy:        #0B1628;
  --navy-mid:    #112040;
  --navy-light:  #1A3260;
  --gold:        #C9A84C;
  --gold-light:  #E8C96A;
  --gold-dark:   #A07828;
  --cream:       #F5F0E8;
  --cream-dark:  #EDE6D6;
  --white:       #FFFFFF;
  --gray-50:     #F8F9FA;
  --gray-100:    #EDF0F4;
  --gray-300:    #B8C1CC;
  --gray-500:    #6B7A8D;
  --gray-700:    #2D3748;
  --success:     #1A8A4A;
  --font-display:'Playfair Display', Georgia, serif;
  --font-body:   'DM Sans', 'Helvetica Neue', sans-serif;
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --shadow-sm:   0 2px 8px rgba(11,22,40,.08);
  --shadow-md:   0 8px 32px rgba(11,22,40,.14);
  --shadow-lg:   0 24px 64px rgba(11,22,40,.22);
  --shadow-gold: 0 8px 32px rgba(201,168,76,.25);

  font-family: var(--font-body);
  color: var(--gray-700);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

/* ── Utilidades ─────────────────────────────────────────── */
.ml-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.ml-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ml-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ml-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ml-text-center { text-align: center; }
.ml-section { padding: 100px 0; }
.ml-section-sm { padding: 70px 0; }

.ml-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.ml-heading {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}
.ml-heading-xl { font-size: clamp(42px, 6vw, 78px); }
.ml-heading-lg { font-size: clamp(32px, 4vw, 52px); }
.ml-heading-md { font-size: clamp(24px, 3vw, 36px); }
.ml-heading-sm { font-size: 20px; }

.ml-subheading {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--gray-500);
  line-height: 1.7;
  font-weight: 400;
}

/* ── Botones ─────────────────────────────────────────────── */
.ml-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
}
.ml-btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.ml-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,.4);
  color: var(--navy);
  text-decoration: none;
}
.ml-btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}
.ml-btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-2px);
  color: var(--white);
  text-decoration: none;
}
.ml-btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.ml-btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  text-decoration: none;
}
.ml-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── HERO ───────────────────────────────────────────────── */
.ml-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Malla de puntos decorativa */
.ml-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 35%, rgba(201,168,76,.18) 0%, transparent 50%),
    radial-gradient(circle at 75% 65%, rgba(26,50,96,.8) 0%, transparent 50%);
  pointer-events: none;
}
.ml-hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
/* Línea decorativa dorada diagonal */
.ml-hero-line {
  position: absolute;
  top: 0; right: 15%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,.4), transparent);
  pointer-events: none;
}

.ml-hero-content { position: relative; z-index: 2; }

.ml-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 8px 18px;
  border-radius: 99px;
  margin-bottom: 28px;
}
.ml-hero-badge span { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: ml-pulse 2s infinite; }

@keyframes ml-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.5); }
}

.ml-hero .ml-heading-xl { color: var(--white); margin-bottom: 24px; }
.ml-hero .ml-heading-xl em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ml-hero-sub { color: rgba(255,255,255,.7); font-size: 18px; line-height: 1.7; margin-bottom: 40px; max-width: 520px; }
.ml-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.ml-hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.ml-hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.ml-hero-stat-label { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 4px; }

/* Mockup del sistema */
.ml-hero-mockup {
  position: relative;
  z-index: 2;
}
.ml-mockup-frame {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 0 1px rgba(201,168,76,.2);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
  transition: transform .6s ease;
}
.ml-mockup-frame:hover {
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}
.ml-mockup-bar {
  background: var(--navy-light);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ml-mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.ml-mockup-dot:nth-child(1) { background: #FF5F57; }
.ml-mockup-dot:nth-child(2) { background: #FFBD2E; }
.ml-mockup-dot:nth-child(3) { background: #28CA41; }
.ml-mockup-url {
  flex: 1;
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 11px;
  color: rgba(255,255,255,.4);
  margin: 0 12px;
}
.ml-mockup-body { padding: 20px; min-height: 320px; }
.ml-mockup-sidebar {
  display: flex;
  gap: 16px;
}
.ml-mockup-nav {
  width: 140px;
  flex-shrink: 0;
}
.ml-mockup-nav-item {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 11px;
  color: rgba(255,255,255,.5);
  margin-bottom: 4px;
  cursor: default;
}
.ml-mockup-nav-item.active {
  background: rgba(201,168,76,.15);
  color: var(--gold-light);
}
.ml-mockup-content-area { flex: 1; }
.ml-mockup-row {
  height: 10px;
  background: rgba(255,255,255,.06);
  border-radius: 4px;
  margin-bottom: 8px;
}
.ml-mockup-row.short { width: 60%; }
.ml-mockup-row.gold { background: rgba(201,168,76,.3); width: 40%; }
.ml-mockup-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 16px; }
.ml-mockup-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 10px;
}
.ml-mockup-card-num {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
}
.ml-mockup-card-label { font-size: 9px; color: rgba(255,255,255,.35); margin-top: 2px; }

/* ── SECCIÓN: QUÉ ES ────────────────────────────────────── */
.ml-que-es { background: var(--cream); }

.ml-problema-box {
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.ml-problema-list { list-style: none; margin-top: 24px; }
.ml-problema-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 15px;
  color: var(--gray-700);
}
.ml-problema-list li:last-child { border-bottom: none; }
.ml-problema-list .icon-bad { color: #DC2626; font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.ml-solucion-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
}
.ml-solucion-list { list-style: none; margin-top: 24px; }
.ml-solucion-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 15px;
  color: rgba(255,255,255,.85);
}
.ml-solucion-list li:last-child { border-bottom: none; }
.ml-solucion-list .icon-good { color: var(--gold); font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* ── MÓDULOS ─────────────────────────────────────────────── */
.ml-modulos { background: var(--white); }
.ml-modulo-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.ml-modulo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.ml-modulo-card:hover {
  border-color: rgba(201,168,76,.4);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.ml-modulo-card:hover::before { transform: scaleX(1); }
.ml-modulo-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-md);
}
.ml-modulo-name { font-weight: 700; font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.ml-modulo-desc { font-size: 14px; color: var(--gray-500); line-height: 1.6; }
.ml-modulo-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201,168,76,.1);
  padding: 3px 10px;
  border-radius: 99px;
}

/* ── BENEFICIOS ──────────────────────────────────────────── */
.ml-beneficios { background: var(--navy); position: relative; overflow: hidden; }
.ml-beneficios::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,.1), transparent 70%);
  pointer-events: none;
}
.ml-beneficio-card {
  padding: 36px 32px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  transition: all .3s ease;
  position: relative;
}
.ml-beneficio-card:hover {
  background: rgba(255,255,255,.04);
  border-color: rgba(201,168,76,.3);
  transform: translateY(-4px);
}
.ml-beneficio-num {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 900;
  color: rgba(201,168,76,.15);
  line-height: 1;
  margin-bottom: 12px;
  transition: color .3s;
}
.ml-beneficio-card:hover .ml-beneficio-num { color: rgba(201,168,76,.35); }
.ml-beneficio-name { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.ml-beneficio-desc { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; }

/* ── CÓMO FUNCIONA ───────────────────────────────────────── */
.ml-como { background: var(--cream); }
.ml-steps { position: relative; }
.ml-steps::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.ml-step {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}
.ml-step:last-child { margin-bottom: 0; }
.ml-step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(201,168,76,.12);
}
.ml-step-body { padding-top: 16px; }
.ml-step-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.ml-step-desc { font-size: 15px; color: var(--gray-500); line-height: 1.7; }

/* ── TECNOLOGÍA ──────────────────────────────────────────── */
.ml-tech { background: var(--white); }
.ml-tech-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  color: var(--white);
  transition: transform .3s ease;
}
.ml-tech-card:hover { transform: translateY(-6px); }
.ml-tech-icon { font-size: 40px; margin-bottom: 20px; }
.ml-tech-title { font-size: 20px; font-weight: 700; color: var(--gold-light); margin-bottom: 12px; }
.ml-tech-desc { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; }
.ml-tech-pills { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.ml-tech-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,.3);
  padding: 4px 12px;
  border-radius: 99px;
}

/* ── TESTIMONIOS ─────────────────────────────────────────── */
.ml-testimonios { background: var(--cream); }
.ml-testimonio-card {
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  position: relative;
}
.ml-testimonio-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.ml-testimonio-quote {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--gold);
  line-height: .8;
  margin-bottom: 16px;
  opacity: .6;
}
.ml-testimonio-text { font-size: 15px; color: var(--gray-700); line-height: 1.75; font-style: italic; margin-bottom: 24px; }
.ml-testimonio-author { display: flex; align-items: center; gap: 14px; }
.ml-testimonio-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}
.ml-testimonio-name { font-weight: 700; font-size: 14px; color: var(--navy); }
.ml-testimonio-cargo { font-size: 12px; color: var(--gray-500); }
.ml-stars { color: var(--gold); font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }

/* ── SECCIÓN: PARA QUIÉN ─────────────────────────────────── */
.ml-para-quien { background: var(--white); }
.ml-sector-card {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all .3s ease;
}
.ml-sector-card:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,.05);
  transform: translateY(-3px);
}
.ml-sector-icon { font-size: 36px; margin-bottom: 14px; }
.ml-sector-name { font-weight: 700; font-size: 15px; color: var(--navy); }

/* ── CTA FINAL ───────────────────────────────────────────── */
.ml-cta-final {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}
.ml-cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,.12), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(26,50,96,.9), transparent 50%);
}
.ml-cta-final-inner { position: relative; z-index: 1; text-align: center; }
.ml-cta-final .ml-heading-lg { color: var(--white); margin-bottom: 20px; }
.ml-cta-final .ml-heading-lg em {
  font-style: italic;
  color: var(--gold-light);
}
.ml-cta-final-sub { color: rgba(255,255,255,.65); font-size: 18px; max-width: 560px; margin: 0 auto 48px; }
.ml-cta-final-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ml-cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.ml-cta-guarantee svg { color: var(--gold); width: 16px; height: 16px; }

/* ── NAVBAR ──────────────────────────────────────────────── */
.ml-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all .3s ease;
}
.ml-nav.scrolled {
  background: rgba(11,22,40,.95);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.ml-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ml-nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ml-nav-logo span { color: var(--gold); }
.ml-nav-links { display: flex; gap: 32px; list-style: none; }
.ml-nav-links a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.ml-nav-links a:hover { color: var(--gold-light); }
.ml-nav-cta { display: flex; gap: 12px; }

/* ── SECTION DIVIDERS ────────────────────────────────────── */
.ml-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 20px auto 0;
}
.ml-divider-left { margin: 20px 0 0; }

/* ── CONTACT FORM ────────────────────────────────────────── */
.ml-contacto { background: var(--cream); }
#ml-contacto { scroll-margin-top: 80px; }
.ml-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.ml-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.ml-form-group { margin-bottom: 20px; }
.ml-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.ml-form-group input,
.ml-form-group select,
.ml-form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.ml-form-group input:focus,
.ml-form-group select:focus,
.ml-form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.ml-form-group textarea { resize: vertical; min-height: 120px; }
.ml-form-submit { width: 100%; padding: 18px; font-size: 16px; }
.ml-form-note { text-align: center; font-size: 12px; color: var(--gray-500); margin-top: 16px; }
.ml-form-success {
  display: none;
  text-align: center;
  padding: 32px;
  color: var(--success);
  font-size: 18px;
  font-weight: 600;
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
.ml-fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.ml-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.ml-fade-up:nth-child(2) { transition-delay: .1s; }
.ml-fade-up:nth-child(3) { transition-delay: .2s; }
.ml-fade-up:nth-child(4) { transition-delay: .3s; }
.ml-fade-up:nth-child(5) { transition-delay: .4s; }
.ml-fade-up:nth-child(6) { transition-delay: .5s; }

/* ── FOOTER ──────────────────────────────────────────────── */
.ml-footer {
  background: #070F1A;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.ml-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.ml-footer-copy { font-size: 13px; color: rgba(255,255,255,.35); }
.ml-footer-links { display: flex; gap: 24px; }
.ml-footer-links a { font-size: 13px; color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s; }
.ml-footer-links a:hover { color: var(--gold-light); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ml-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .ml-section { padding: 70px 0; }
  .ml-grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .ml-grid-3 { grid-template-columns: 1fr; }
  .ml-grid-4 { grid-template-columns: 1fr 1fr; }
  .ml-heading-xl { font-size: 38px; }
  .ml-heading-lg { font-size: 30px; }
  .ml-hero { min-height: auto; padding: 100px 0 60px; }
  .ml-hero-mockup { display: none; }
  .ml-hero-stats { gap: 24px; }
  .ml-nav-links, .ml-nav-cta { display: none; }
  .ml-nav-hamburger { display: flex; }
  .ml-steps::before { display: none; }
  .ml-form-row { grid-template-columns: 1fr; }
  .ml-problema-box, .ml-solucion-box { padding: 32px 24px; }
  .ml-form { padding: 32px 24px; }
  /* Contacto cards: 1 columna en mobile */
  #contacto .ml-text-center > div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .ml-grid-4 { grid-template-columns: 1fr; }
  .ml-heading-xl { font-size: 32px; }
  .ml-cta-final-btns { flex-direction: column; align-items: center; }
  .ml-hero-cta { flex-direction: column; }
  .ml-btn { width: 100%; justify-content: center; }
}

/* Mobile hamburger */
.ml-nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.ml-nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}
.ml-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.ml-mobile-menu.open { display: flex; }
.ml-mobile-menu a {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  text-decoration: none;
  transition: color .2s;
}
.ml-mobile-menu a:hover { color: var(--gold-light); }
.ml-mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 28px;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}
