/* ═══════════════════════════════════════════════════════════════
   ACADEMIA MMB — Estilos de sección
   Nav, Hero, Cursos, Sobre mí, Scrollstory, Profesor/Chat, CTA, Footer.
   Depende de mmb-tokens.css y mmb-components.css.
   ═══════════════════════════════════════════════════════════════ */

/* ───────── NAV ───────── */
#mmb-nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:18px clamp(20px,4vw,56px);
  background:transparent;
  border-bottom:1px solid transparent;
  transition: background .4s ease, border-color .4s ease, padding .4s ease, backdrop-filter .4s ease, box-shadow .4s ease;
}
#mmb-nav.mmb-nav-scrolled{
  background:rgba(7,11,20,0.72);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom-color:var(--mmb-line);
  padding-top:12px; padding-bottom:12px;
  box-shadow:0 8px 32px -16px rgba(0,0,0,.45);
}
:root[data-theme="light"] #mmb-nav.mmb-nav-scrolled{
  box-shadow:0 8px 32px -16px rgba(11,18,32,.14);
}
#mmb-nav .mmb-nav-brand{
  display:flex; align-items:center; gap:10px;
  color:var(--mmb-ink); text-decoration:none;
  font-weight:700; font-size:1.05rem;
}
#mmb-nav .mmb-nav-brand img{ height:30px; width:auto; border-radius:6px; }
#mmb-nav .mmb-nav-links{
  display:flex; align-items:center; gap:32px;
}
#mmb-nav .mmb-nav-links a{
  color:var(--mmb-ink-dim); text-decoration:none; font-size:.92rem;
  position:relative; transition:color .25s ease;
}
#mmb-nav .mmb-nav-links a::after{
  content:''; position:absolute; left:0; bottom:-6px; width:0; height:1px;
  background:var(--mmb-office-cyan); transition:width .3s var(--mmb-ease-soft);
}
#mmb-nav .mmb-nav-links a:hover{ color:var(--mmb-ink); }
#mmb-nav .mmb-nav-links a:hover::after{ width:100%; }
#mmb-nav .mmb-nav-cta{ padding:10px 20px; font-size:.85rem; }
#mmb-nav .mmb-nav-actions{ display:flex; align-items:center; gap:12px; }
#mmb-nav .mmb-nav-login-btn{
  display:inline-flex; align-items:center; gap:7px;
  padding:9px 18px; border-radius:999px;
  border:1px solid var(--mmb-line);
  color:var(--mmb-ink); text-decoration:none;
  font-size:.85rem; font-weight:500; white-space:nowrap;
  transition:border-color .2s ease, background .2s ease, color .2s ease;
}
#mmb-nav .mmb-nav-login-btn:hover{
  border-color:var(--mmb-office-cyan); color:var(--mmb-ink);
  background:rgba(255,255,255,0.05);
}
.mmb-theme-toggle{
  display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px;
  border-radius:50%;
  border:1px solid var(--mmb-line);
  background:transparent;
  color:var(--mmb-ink-dim);
  font-size:.9rem;
  cursor:pointer;
  transition:border-color .2s ease, color .2s ease, background .2s ease, transform .3s ease;
}
.mmb-theme-toggle:hover{
  border-color:var(--mmb-office-cyan);
  color:var(--mmb-office-cyan);
  background:rgba(255,255,255,0.05);
  transform:rotate(-12deg);
}

/* ───────── Testimonios (portada) ───────── */
.mmb-testi-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:24px;
  max-width:1100px;
  margin:0 auto;
}
.mmb-testi-card{
  padding:28px 26px;
  border-radius:var(--mmb-radius-md);
  text-align:left;
  transition:transform .4s var(--mmb-ease-premium), box-shadow .4s var(--mmb-ease-premium);
}
.mmb-testi-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 44px -24px rgba(0,120,212,0.35);
}
.mmb-testi-stars{ color:var(--mmb-gold); font-size:.85rem; margin-bottom:14px; letter-spacing:2px; }
.mmb-testi-text{
  font-size:.92rem; line-height:1.6; color:var(--mmb-ink-dim);
  margin:0 0 20px;
}
.mmb-testi-who{ display:flex; align-items:center; gap:12px; }
.mmb-testi-avatar{
  width:42px; height:42px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:'Space Grotesk', sans-serif; font-weight:700; font-size:13px;
  color:#fff; flex-shrink:0;
  border:2px solid rgba(255,255,255,0.15);
  box-shadow:0 0 0 3px rgba(255,255,255,0.06);
}
.mmb-testi-name{ font-weight:700; font-size:.88rem; color:var(--mmb-ink); margin:0; }
.mmb-testi-role{ font-size:.75rem; color:var(--mmb-ink-faint); margin:0; }
@media (max-width:820px){
  #mmb-nav .mmb-nav-links{ display:none; }
}
@media (max-width:480px){
  #mmb-nav .mmb-nav-login-btn span{ display:none; }
  #mmb-nav .mmb-nav-login-btn{ padding:9px 12px; }
  #mmb-nav{ padding-left:14px; padding-right:14px; }
  #mmb-nav .mmb-nav-brand span{ display:none; }
  #mmb-nav .mmb-nav-actions{ gap:6px; }
  #mmb-nav .mmb-nav-cta{ padding:8px 14px; font-size:.78rem; }
  .mmb-theme-toggle{ width:34px; height:34px; font-size:.8rem; }
}

/* ───────── HERO ───────── */
#mmb-hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(0,120,212,0.35) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(80,230,255,0.18) 0%, transparent 50%),
    var(--mmb-bg);
}
#mmb-hero .mmb-grid-overlay{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(244,247,252,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,247,252,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 35%, black 0%, transparent 75%);
  pointer-events:none;
  z-index:1;
}
#mmb-hero-canvas{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  opacity:0; transition:opacity 1.2s ease;
}
#mmb-hero-canvas.is-ready{ opacity:1; }
#mmb-hero .mmb-video-slot{ z-index:0; }
#mmb-hero .mmb-hero-content{
  position:relative; z-index:2;
  text-align:center;
  padding:120px 24px 0;
}
#mmb-hero .mmb-hero-eyebrow{
  color:var(--mmb-office-cyan);
  font-size:13px;
  margin-bottom:22px;
  display:flex; align-items:center; justify-content:center; gap:12px;
}
#mmb-hero .mmb-hero-eyebrow::before,
#mmb-hero .mmb-hero-eyebrow::after{ content:''; width:36px; height:1px; background:var(--mmb-office-cyan); opacity:.6; }
#mmb-hero h1{
  font-size:clamp(3rem, 9vw, 7.5rem);
  font-weight:700;
  line-height:0.95;
  letter-spacing:-.02em;
  margin:0;
  background:linear-gradient(135deg, #ffffff 0%, var(--mmb-office-cyan) 60%, var(--mmb-office-blue) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
#mmb-hero p.mmb-hero-sub{
  color:var(--mmb-ink-dim);
  font-size:clamp(1.05rem, 1.6vw, 1.35rem);
  margin:24px auto 0;
  max-width:560px;
}
#mmb-hero .mmb-hero-ctas{
  display:flex; align-items:center; justify-content:center; gap:16px;
  margin-top:44px; flex-wrap:wrap;
}
#mmb-hero .mmb-scroll-cue{
  position:absolute; bottom:36px; left:50%; transform:translateX(-50%);
  color:var(--mmb-ink-dim); font-size:11px; z-index:2;
  display:flex; flex-direction:column; align-items:center; gap:10px;
}
#mmb-hero .mmb-scroll-cue i{
  width:1px; height:34px; background:linear-gradient(180deg, var(--mmb-office-cyan), transparent);
  animation: mmbScrollPulse 1.8s ease-in-out infinite;
}
@keyframes mmbScrollPulse{
  0%,100%{ opacity:.3; } 50%{ opacity:1; }
}

/* ───────── SCROLLSTORY ───────── */
.mmb-scroll-stage{
  position:relative;
  height:400vh;
}
.mmb-stage-sticky{
  position:sticky;
  top:0;
  height:100vh;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.mmb-stage-sticky::before{
  content:'';
  position:absolute; inset:0; z-index:0;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/></svg>");
  opacity:.5;
  pointer-events:none;
}
.mmb-bg-word{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
  z-index:1;
  will-change: transform;
}
.mmb-bg-word span{
  font-weight:700;
  font-size:min(22vw, 260px);
  line-height:1;
  color:transparent;
  -webkit-text-stroke:1.5px rgba(244,241,234,0.08);
  white-space:nowrap;
  letter-spacing:-.02em;
}
.mmb-stage-grid{
  position:relative;
  z-index:2;
  width:min(1200px, 92vw);
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap:60px;
  align-items:center;
}
.mmb-copy-col{ position:relative; min-height:320px; }
.mmb-copy-step{
  opacity:0;
  transform:translateY(34px);
  transition:opacity .6s var(--mmb-ease-soft), transform .6s var(--mmb-ease-soft), visibility .6s;
  position:absolute;
  top:0; left:0;
  max-width:480px;
  visibility:hidden;
  pointer-events:none;
  color:var(--mmb-ink);
}
.mmb-copy-step.active{
  opacity:1;
  transform:translateY(0);
  visibility:visible;
  pointer-events:auto;
}
.mmb-eyebrow{
  font-size:12px;
  color:var(--mmb-office-cyan);
  margin:0 0 14px;
  display:flex;
  align-items:center;
  gap:10px;
}
.mmb-eyebrow::before{
  content:'';
  width:28px;height:1px;background:var(--mmb-office-cyan);
}
.mmb-copy-step h3{
  font-size:clamp(2.1rem, 3.6vw, 3.1rem);
  line-height:1.08;
  margin:0 0 18px;
  font-weight:600;
  letter-spacing:-.01em;
  color:var(--mmb-ink);
}
.mmb-copy-step p{
  font-size:1.05rem;
  line-height:1.6;
  color:var(--mmb-ink-dim);
  margin:0 0 24px;
  max-width:420px;
}
.mmb-step-progress{
  display:flex;
  gap:8px;
  margin-top:8px;
}
.mmb-step-progress i{
  width:32px;height:3px;background:var(--mmb-line);border-radius:2px;overflow:hidden;position:relative;
  --fill:0%;
}
.mmb-step-progress i::after{
  content:'';position:absolute;inset:0;
  background:var(--mmb-office-cyan);
  width:var(--fill);
  transition: width .1s linear;
}
.mmb-laptop-wrap{
  position:relative;
  height:480px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.mmb-laptop-svg{
  width:min(480px, 100%);
  height:auto;
  transform: rotate(var(--mmb-tilt, 0deg));
  will-change: transform;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.55));
}
.mmb-app-label-svg{
  font-family:'Space Grotesk', sans-serif;
  font-weight:600;
  font-size:15px;
  fill:#fff;
}
.mmb-module-tag{
  position:absolute;
  top:18px; right:18px;
  font-size:11px;
  color:var(--mmb-ink-dim);
  z-index:3;
}
@media (max-width: 900px){
  .mmb-stage-grid{ grid-template-columns:1fr; }
  .mmb-laptop-wrap{ height:320px; }
  .mmb-copy-step{ position:relative !important; opacity:1 !important; transform:none !important; visibility:visible !important; }
}

/* ───────── TARJETAS DE CURSO ───────── */
.mmb-curso-card{
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(var(--acc),0.10), var(--mmb-bg-soft) 62%);
  border: 1px solid rgba(var(--acc),0.30);
  box-shadow: 0 18px 50px -30px rgba(var(--acc),0.30);
  transition: box-shadow .35s ease, border-color .35s ease;
}
.mmb-curso-card::before{
  content:'';
  position:absolute; top:-40%; right:-10%;
  width:260px; height:260px;
  background: radial-gradient(circle, rgba(var(--acc),0.22) 0%, transparent 70%);
  pointer-events:none; z-index:0;
  transition: opacity .35s ease, transform .35s ease;
  opacity:.85;
}
.mmb-curso-card > *{ position:relative; z-index:1; }
.mmb-curso-card > .mmb-video-slot{ position:absolute; inset:0; z-index:0; }
.mmb-curso-card:hover{
  border-color: rgba(var(--acc),0.55);
  box-shadow: 0 30px 70px -26px rgba(var(--acc),0.5);
}
.mmb-curso-card:hover::before{ opacity:1; transform: scale(1.18); }
.mmb-curso-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:64px; height:64px; border-radius:18px; font-size:1.6rem;
  background: rgba(var(--acc),0.14);
  border:1px solid rgba(var(--acc),0.3);
  color: rgb(var(--acc));
  margin-bottom:20px;
  transition: transform .4s var(--mmb-ease-premium);
}
.mmb-curso-card:hover .mmb-curso-icon{ transform: translateY(-4px) rotate(-4deg); }

.mmb-destacado-card{
  transition: box-shadow .35s ease, border-color .35s ease;
}
.mmb-destacado-glow{ transition: opacity .35s ease, transform .35s ease; }
.mmb-destacado-card:hover{
  box-shadow: 0 34px 80px -24px rgba(var(--acc),0.55);
  border-color: rgba(var(--acc),0.6);
}
.mmb-destacado-card:hover .mmb-destacado-glow{ opacity:1; transform: scale(1.18); }

/* Variante "hero": el destacado que debe sobresalir sobre los demás,
   misma forma/tamaño que el resto de tarjetas .mmb-destacado-card, solo
   con un brillo pulsante permanente en vez de únicamente al hover. */
.mmb-destacado-hero{
  animation: mmb-destacado-hero-glow 3.2s ease-in-out infinite;
}
@keyframes mmb-destacado-hero-glow{
  0%, 100%{ box-shadow: 0 30px 70px -26px rgba(234,88,12,0.5); }
  50%{ box-shadow: 0 34px 84px -22px rgba(234,88,12,0.75), 0 0 42px -6px rgba(45,212,191,0.4); }
}
.mmb-destacado-badge-glow{
  animation: mmb-destacado-badge-pulse 2.2s ease-in-out infinite;
}
@keyframes mmb-destacado-badge-pulse{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(234,88,12,0.55); }
  50%{ box-shadow: 0 0 0 7px rgba(234,88,12,0); }
}

/* ───────── SOBRE MÍ ───────── */
.mmb-profile-photo-wrap{
  position:relative; width:16rem; height:16rem; margin:0 auto;
}
.mmb-profile-photo-wrap img{
  position:relative; z-index:1;
  transition: transform .5s var(--mmb-ease-premium);
}
.mmb-profile-photo-wrap:hover img{ transform: scale(1.03); }
.mmb-profile-photo-wrap .mmb-profile-glow{
  position:absolute; inset:-14%; z-index:0; border-radius:50%;
  background: conic-gradient(from 0deg, transparent, rgba(0,120,212,0.5), transparent 60%);
  filter:blur(20px);
  animation: mmbProfSpin 8s linear infinite;
}
.mmb-profile-video-slot{ position:absolute; inset:0; z-index:2; border-radius:50%; overflow:hidden; pointer-events:none; }
.mmb-profile-video-slot video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .8s ease; }
.mmb-profile-video-slot video.is-ready{ opacity:1; }

/* ───────── PROFESOR IA (stage) ───────── */
.mmb-prof-stage{
  position:relative;
  width:14rem;
  height:14rem;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
.mmb-prof-spotlight{
  position:absolute;
  inset:-30%;
  background:conic-gradient(from 0deg, rgba(0,120,212,0.0), rgba(80,230,255,0.35), rgba(0,120,212,0.0) 60%);
  filter:blur(30px);
  border-radius:50%;
  animation:mmbProfSpin 6s linear infinite;
  z-index:0;
}
.mmb-prof-ring{
  position:absolute;
  inset:6%;
  border-radius:50%;
  border:2px solid rgba(80,230,255,0.45);
  box-shadow:0 0 70px rgba(0,120,212,0.35);
  animation:mmbProfPulse 2.6s ease-in-out infinite;
  z-index:1;
}
.mmb-prof-avatar{
  position:relative;
  z-index:2;
  width:78%;
  height:78%;
  border-radius:50%;
  box-shadow:0 0 70px rgba(0,120,212,0.35);
  overflow:visible;
}
.mmb-prof-body{
  transform-origin:100px 190px;
  animation:mmbProfFloat 3.2s ease-in-out infinite;
}
.mmb-prof-arm{
  transform-origin:150px 145px;
  animation:mmbProfWave 1.8s ease-in-out infinite;
}
.mmb-prof-eyes{
  animation:mmbProfBlink 4.5s ease-in-out infinite;
  transform-origin:100px 90px;
}
@keyframes mmbProfFloat{
  0%,100%{ transform:translateY(0) rotate(0deg); }
  50%{ transform:translateY(-6px) rotate(-1deg); }
}
@keyframes mmbProfWave{
  0%,100%{ transform:rotate(0deg); }
  20%{ transform:rotate(-18deg); }
  40%{ transform:rotate(6deg); }
  60%{ transform:rotate(-14deg); }
  80%{ transform:rotate(0deg); }
}
@keyframes mmbProfBlink{
  0%,92%,100%{ transform:scaleY(1); }
  95%{ transform:scaleY(0.1); }
}
@keyframes mmbProfPulse{
  0%,100%{ opacity:0.5; transform:scale(1); }
  50%{ opacity:1; transform:scale(1.04); }
}
@keyframes mmbProfSpin{
  to{ transform:rotate(360deg); }
}
.mmb-prof-video-slot{ position:absolute; inset:6%; border-radius:50%; overflow:hidden; z-index:3; pointer-events:none; }
.mmb-prof-video-slot video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .8s ease; }
.mmb-prof-video-slot video.is-ready{ opacity:1; }

/* ───────── CHAT (estilo ChatGPT) ───────── */
.mmb-chat-shell{
  background:var(--mmb-bg-soft);
  border:1px solid var(--mmb-line);
  border-radius: var(--mmb-radius-lg);
}
.mmb-chat-header{
  background:linear-gradient(135deg, rgba(0,120,212,0.9), rgba(80,230,255,0.35));
  color:#fff;
}
.mmb-chat-status{
  display:inline-flex; align-items:center; gap:6px;
}
.mmb-chat-status .mmb-dot{
  width:7px; height:7px; border-radius:50%; background:#4ADE80;
  box-shadow:0 0 0 0 rgba(74,222,128,.6);
  animation: mmb-dot-pulse 2s infinite;
}
@keyframes mmb-dot-pulse{
  0%{ box-shadow:0 0 0 0 rgba(74,222,128,.55); }
  70%{ box-shadow:0 0 0 8px rgba(74,222,128,0); }
  100%{ box-shadow:0 0 0 0 rgba(74,222,128,0); }
}
#chat-messages{ scroll-behavior:smooth; }
.mmb-msg-row{
  animation: mmb-msg-in .4s var(--mmb-ease-soft);
}
@keyframes mmb-msg-in{
  from{ opacity:0; transform:translateY(10px); }
  to{ opacity:1; transform:translateY(0); }
}
.mmb-msg-avatar{
  width:28px; height:28px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-size:.8rem; font-weight:700;
  background:linear-gradient(135deg, var(--mmb-office-blue), var(--mmb-violet));
  color:#fff;
}
.mmb-chat-input-area{
  border-top:1px solid var(--mmb-line);
}
#chat-input{
  transition: border-color .25s ease, box-shadow .25s ease;
}
#chat-input:focus{
  border-color: var(--mmb-office-cyan);
  box-shadow: 0 0 0 3px rgba(80,230,255,0.15);
}
#send-btn{
  transition: transform .25s var(--mmb-ease-premium), box-shadow .25s ease;
}
#send-btn:not(:disabled):hover{ transform:scale(1.08); box-shadow:0 8px 24px rgba(0,120,212,0.4); }

.typing-indicator{
  display:none;
  padding: 10px 14px;
  background: rgba(244,247,252,0.06);
  border-radius: 14px;
  width: fit-content;
  max-width: 80%;
}
.typing-indicator.active{ display:block; }
.typing-indicator span{
  display:inline-block; width:6px; height:6px;
  background: var(--mmb-office-cyan);
  border-radius:50%; margin:0 2px;
  animation: typing 1.4s infinite;
}
.typing-indicator span:nth-child(2){ animation-delay:.2s; }
.typing-indicator span:nth-child(3){ animation-delay:.4s; }
@keyframes typing{
  0%,60%,100%{ transform:translateY(0); }
  30%{ transform:translateY(-8px); }
}

/* ───────── CTA final (nueva sección aditiva) ───────── */
#mmb-cta{
  position:relative;
  overflow:hidden;
  padding:110px 24px;
  text-align:center;
  background:
    radial-gradient(circle at 50% 0%, rgba(0,120,212,0.28), transparent 60%),
    var(--mmb-bg-soft);
}
#mmb-cta .mmb-cta-inner{ position:relative; z-index:2; max-width:720px; margin:0 auto; }
#mmb-cta h2{
  font-size:clamp(2.2rem, 5vw, 3.6rem);
  font-weight:700; letter-spacing:-.01em; line-height:1.05;
  margin:0 0 20px;
}
#mmb-cta p{ font-size:1.15rem; color:var(--mmb-ink-dim); margin:0 0 40px; }

/* ───────── FOOTER ───────── */
#mmb-footer a{ transition:color .2s ease; }
#mmb-footer a:hover{ color:var(--mmb-office-cyan) !important; }

/* ───────── REDUCED MOTION (consolidado) ─────────
   Antes repartido en 6 bloques @media distintos por este mismo archivo;
   agrupado aquí sin cambiar ningún selector ni valor. */
@media (prefers-reduced-motion: reduce){
  .mmb-testi-card{ transition:none; }
  .mmb-testi-card:hover{ transform:none; }
  #mmb-hero .mmb-scroll-cue i{ animation:none; opacity:.6; }
  .mmb-curso-card, .mmb-curso-card::before, .mmb-curso-icon,
  .mmb-destacado-card, .mmb-destacado-glow{ transition:none; }
  .mmb-destacado-hero, .mmb-destacado-badge-glow{ animation:none; }
  .mmb-profile-photo-wrap .mmb-profile-glow{ animation:none; }
  .mmb-profile-photo-wrap:hover img{ transform:none; }
  .mmb-prof-spotlight, .mmb-prof-ring, .mmb-prof-body, .mmb-prof-arm, .mmb-prof-eyes{ animation:none; }
  .mmb-msg-row{ animation:none; }
  .mmb-chat-status .mmb-dot{ animation:none; }
}

/* ───────── Ajustes de lectura y alineación de la portada ───────── */
#mmb-hero h1{
  max-width:1100px;
  margin-inline:auto;
  text-wrap:balance;
}
#mmb-hero p.mmb-hero-sub{
  line-height:1.55;
  text-wrap:pretty;
}
#cursos .mmb-destacado-card{
  min-height:100%;
}
#cursos .mmb-destacado-card h3{
  text-wrap:balance;
}
#cursos .mmb-destacado-card p{
  line-height:1.55;
}
#cursos .mmb-destacado-card:focus-within{
  border-color:rgba(var(--acc),0.6);
  box-shadow:0 30px 70px -26px rgba(var(--acc),0.42);
}

@media (max-width:600px){
  #mmb-hero .mmb-hero-content{ padding:104px 20px 28px; }
  #mmb-hero .mmb-hero-eyebrow{ font-size:11px; gap:8px; }
  #mmb-hero .mmb-hero-eyebrow::before,
  #mmb-hero .mmb-hero-eyebrow::after{ width:22px; }
  #mmb-hero p.mmb-hero-sub{ font-size:1rem; line-height:1.55; }
  #mmb-hero .mmb-hero-ctas{ margin-top:30px; width:100%; }
  #mmb-hero .mmb-hero-ctas .mmb-btn{ width:100%; justify-content:center; min-height:48px; }
  #mmb-hero .mmb-scroll-cue{ bottom:18px; }
}