:root {
  --cream: #FEFFE9;
  --butter: #FFFDC1;
  --lime: #DFE777;
  --blue: #7E9FCE;
  --olive: #2E3105;
  --cyan: #0DABC7;
  --amber: #F0B843;
  --pink: #EA4570;
  --indigo: #5B82E8;
  --purple: #8B5CF6;
  --coral: #F97316;
  --logo-gold: #F4CF59;
  --font-display: 'Young Serif', Georgia, serif;
  --font-body: 'Manrope', 'Instrument Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--blue);
  color: var(--olive);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}
.luden-root { width: 100%; overflow-x: clip; }
img, svg, iframe { max-width: 100%; }
main, section, article, aside, .card, .demo-pane, .meta-trophy-wrap, .explore-grid > *, .track-grid > *, .hist-grid > *, .create-grid > *, .asklu-grid > *, .miclase-mid-grid > * { min-width: 0; }
button, input, textarea, select { font-family: inherit; }

/* Mandatory Academic Prototype Disclaimer */
.aviso-bar {
  background: var(--butter);
  color: var(--olive);
  border-bottom: 1px solid rgba(46,49,5,.14);
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 60;
}

.luden-boot { padding: 80px 24px; text-align: center; font-family: var(--font-display); font-size: 28px; color: var(--olive); }

/* Reusable Pill Buttons */
.btn-pill {
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.btn-pill:hover:not(:disabled) { transform: translateY(-2px); }
.btn-pill:disabled { opacity: .55; cursor: not-allowed; }
.btn-dark { background: var(--olive); color: var(--cream); border-color: var(--olive); }
.btn-cream { background: var(--cream); color: var(--olive); border-color: rgba(46,49,5,.25); }
.btn-lime { background: var(--lime); color: var(--olive); border-color: var(--lime); }
.btn-amber { background: var(--amber); color: var(--olive); border-color: var(--amber); }
.btn-outline { background: transparent; color: var(--olive); border: 1.5px solid var(--olive); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }

/* Top Navbar (NO "+ Nueva carrera" in topbar per user request!) */
.app-navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.brand-word {
  font-family: var(--font-display);
  font-size: 25px;
  color: var(--olive);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.nav-item {
  background: transparent;
  border: none;
  color: var(--olive);
  font-weight: 700;
  font-size: 15px;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.nav-item.active { background: var(--cream); }
.nav-item:hover:not(.active) { text-decoration: underline; }
.beta-badge {
  background: var(--olive);
  color: var(--lime);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .09em;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  line-height: 1.2;
}
.nav-role-pill {
  background: var(--butter);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--olive);
}
.nav-exit {
  background: none;
  border: none;
  color: var(--olive);
  font-weight: 700;
  font-size: 15px;
  text-decoration: underline;
  cursor: pointer;
  padding: 6px 8px;
}

/* ==================== BILINGUAL SELECTOR (ES | EN) ==================== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--cream);
  border: 1.5px solid rgba(46,49,5,.2);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
  flex-shrink: 0;
}
.lang-switch__btn {
  border: none;
  background: transparent;
  color: var(--olive);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 5px 9px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.1;
  transition: background .16s ease, color .16s ease;
}
.lang-switch__btn:hover:not(.active) {
  background: rgba(46,49,5,.08);
}
.lang-switch__btn.active {
  background: var(--olive);
  color: var(--lime);
}
.mobile-nav-actions {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ==================== HAMBURGER MENU (MOBILE & TABLET <= 860px) ==================== */
.hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--olive);
  border: 2px solid rgba(46,49,5,.18);
  align-items: center;
  justify-content: center;
  font-size: 19px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform .18s ease, background .18s ease;
}
.hamburger-btn:hover { background: var(--butter); }
.hamburger-btn[aria-expanded="true"] { background: var(--olive); color: var(--lime); border-color: var(--olive); }

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(46,49,5,.42);
  backdrop-filter: blur(3px);
  z-index: 9000;
  animation: fadeInSoft .18s ease both;
}
.mobile-nav-drawer {
  position: fixed;
  top: 106px;
  left: 16px;
  right: 16px;
  max-width: 420px;
  max-height: calc(100vh - 122px);
  overflow-y: auto;
  margin-left: auto;
  background: var(--cream);
  border: 2.5px solid var(--olive);
  border-radius: 28px;
  padding: 16px 18px 18px;
  z-index: 9010;
  display: grid;
  gap: 8px;
  box-shadow: 0 24px 54px rgba(46,49,5,.26);
  animation: drawerDrop .22s cubic-bezier(.16, 1, .3, 1) both;
}
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 10px;
  border-bottom: 1px solid rgba(46,49,5,.1);
  margin-bottom: 4px;
}
.mobile-nav-drawer .nav-item,
.mobile-nav-drawer .btn-pill,
.mobile-nav-drawer .nav-exit {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  padding: 13px 18px;
  border-radius: 16px;
  font-size: 15.5px;
  text-decoration: none;
}
.mobile-nav-drawer .nav-item.active { background: var(--lime); }
.mobile-nav-drawer .nav-item:hover:not(.active) { background: var(--butter); text-decoration: none; }
.mobile-nav-drawer .btn-pill { justify-content: center; margin-top: 4px; }
.mobile-nav-drawer .nav-exit {
  color: #A61D46;
  background: #FFF5F8;
  text-align: center;
  margin-top: 4px;
}
.mobile-nav-sep {
  height: 1px;
  background: rgba(46,49,5,.1);
  margin: 4px 0;
}
@keyframes fadeInSoft { from { opacity: 0; } to { opacity: 1; } }
@keyframes drawerDrop { from { opacity: 0; transform: translateY(-14px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--olive);
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin-bottom: 12px;
}

/* ==================== INICIO (LIMA POSTER STYLE) ==================== */
.lima-hero {
  background: var(--lime);
  padding: 18px 28px 0;
  overflow: hidden;
  position: relative;
}
.lima-topbar {
  max-width: 1180px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.lima-poster {
  max-width: 1120px;
  margin: 22px auto 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 310px;
}
.lima-tagline {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--olive);
  margin: 0 auto 34px;
  max-width: 680px;
  line-height: 1.25;
}
.lima-wordmark-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  z-index: 2;
}
.lima-giant {
  font-family: var(--font-display);
  font-size: clamp(86px, 15vw, 192px);
  line-height: 0.9;
  color: var(--cream);
  letter-spacing: -0.04em;
  user-select: none;
}
.lima-mascot-center {
  width: clamp(185px, 24vw, 275px);
  margin: 0 -10px;
  flex-shrink: 0;
}
.lu-hero-svg { width: 100%; height: auto; display: block; }
.lima-sticker {
  position: absolute;
  z-index: 3;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  line-height: 1.25;
  border-radius: 999px;
  padding: 18px 30px;
}
.lima-sticker--orange { background: var(--amber); color: var(--olive); top: 14px; left: 2%; transform: rotate(-10deg); }
.lima-sticker--pink { background: var(--pink); color: var(--cream); bottom: -14px; right: 2%; transform: rotate(-8deg); }

.lima-hero-copy {
  max-width: 1140px;
  margin: 22px auto 30px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 30px;
  align-items: center;
}
.lima-h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.08;
  margin: 0 0 14px;
}
.lima-lead { font-size: 16.5px; line-height: 1.58; margin: 0 0 16px; max-width: 560px; }
.role-picker-box {
  background: rgba(254, 255, 233, 0.72);
  border: 2px solid rgba(46, 49, 5, 0.14);
  border-radius: 28px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.role-picker-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 4px;
}
.role-choice-btn {
  width: 100%;
  border-radius: 20px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  cursor: pointer;
  border: 2px solid var(--olive);
  transition: transform .15s ease, box-shadow .15s ease;
}
.role-choice-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(46,49,5,.14); }
.role-choice-btn.primary { background: var(--olive); color: var(--cream); }
.role-choice-btn.secondary { background: var(--cream); color: var(--olive); }
.role-choice-icon {
  width: 44px; height: 44px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.role-choice-btn.primary .role-choice-icon { background: var(--lime); color: var(--olive); }
.role-choice-btn.secondary .role-choice-icon { background: var(--butter); color: var(--olive); }
.role-choice-text { flex: 1; }
.role-choice-text strong { display: block; font-size: 16.5px; margin-bottom: 2px; }
.role-choice-text span { display: block; font-size: 13px; opacity: .88; line-height: 1.35; }
.role-choice-arrow { font-size: 16px; font-weight: 800; flex-shrink: 0; }
.lima-micro-note { font-size: 12.5px; margin: 2px 4px 0; opacity: .85; text-align: center; }

.step-pill-tag {
  display: inline-block;
  background: var(--butter);
  color: var(--olive);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 11px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}
.enter-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.enter-role-card {
  background: var(--cream);
  border-radius: 28px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.enter-role-card h3 { font-family: var(--font-display); font-size: 25px; margin: 10px 0 8px; }
.enter-role-card ul { margin: 0; padding-left: 18px; line-height: 1.65; font-size: 14.5px; }

.lima-ribbon {
  background: var(--lime);
  border-top: 1px dashed rgba(46,49,5,.15);
  padding: 14px 0 22px;
  overflow: hidden;
  white-space: nowrap;
}
.lima-ribbon__track {
  display: inline-flex;
  gap: 34px;
  font-family: var(--font-display);
  font-size: 22px;
  animation: ludenMarquee 26s linear infinite;
}
@keyframes ludenMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.lima-blue-section { background: var(--blue); padding: 92px 28px 136px; }
.home-intro-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 132px;
}
.page-container { max-width: 1180px; margin: 0 auto; padding: 24px 28px 96px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: 1.06;
  margin: 0 0 36px;
}
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-bottom: 148px; }
.how-card {
  background: var(--cream);
  border-radius: 32px;
  padding: 36px 26px 40px;
  position: relative;
  min-height: 280px;
}
.how-card h3 { font-size: 20px; font-weight: 800; margin: 20px 0 10px; }
.how-card p { font-size: 14.5px; line-height: 1.6; margin: 0; }
.empieza-sticker {
  position: absolute; top: -20px; right: -10px;
  background: var(--pink); color: var(--cream);
  font-weight: 800; font-size: 13px; line-height: 1.15; text-align: center;
  padding: 18px 20px;
  border-radius: 54% 46% 52% 48% / 48% 54% 46% 52%;
  transform: rotate(8deg);
  box-shadow: 0 6px 16px rgba(46,49,5,.14);
}

/* Horizontal 4-level timeline */
.timeline-card {
  background: var(--cream);
  border-radius: 34px;
  padding: 38px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 140px;
}
.tl-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; min-width: 110px; }
.tl-circle {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 30px;
}
.tl-1 { background: var(--lime); color: var(--olive); }
.tl-2 { background: var(--amber); color: var(--olive); }
.tl-3 { background: var(--cyan); color: var(--cream); }
.tl-4 { background: var(--pink); color: var(--cream); }
.tl-step span { font-weight: 700; font-size: 15px; line-height: 1.25; }
.tl-dash { flex: 1; border-top: 3px dashed rgba(46,49,5,.25); margin-top: -26px; }

.principles-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; margin: 20px 0 80px; padding: 24px 0; }
.principles-left { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; }
.principles-right { display: flex; flex-direction: column; align-items: flex-end; gap: 56px; padding-top: 12px; }
.shape-burst {
  width: 210px; height: 210px; background: var(--pink); color: var(--cream);
  clip-path: polygon(50% 0%,63% 16%,84% 10%,84% 31%,100% 45%,86% 62%,91% 84%,70% 85%,56% 100%,40% 87%,18% 92%,17% 70%,0% 56%,14% 39%,10% 17%,32% 17%);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); font-size: 22px; transform: rotate(-6deg);
}
.shape-double {
  position: relative;
  width: 295px;
  height: 162px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--olive);
  z-index: 1;
}
.shape-double::before,
.shape-double::after {
  content: '';
  position: absolute;
  width: 170px;
  height: 162px;
  border-radius: 50%;
  background: var(--amber);
  z-index: -1;
}
.shape-double::before { left: 0; top: 0; }
.shape-double::after { right: 0; top: 0; }
.shape-quatrefoil {
  width: 235px; height: 210px; background: var(--cyan); color: var(--olive);
  border-radius: 44% 56% 48% 52% / 52% 46% 54% 48%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); font-size: 22px; padding: 24px; transform: rotate(6deg);
}

/* Giant Lime Footer CTA (Exact Page 01 updated PNG!) */
.lima-cta-footer {
  background: var(--lime);
  border-radius: 48px 48px 0 0;
  padding: 68px 36px 28px;
  margin-top: -32px;
  position: relative;
  overflow: hidden;
}
.lima-cta-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.lima-cta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.lima-cta-top h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  max-width: 580px;
  margin: 0;
  color: var(--olive);
}
.lima-footer-giant {
  font-family: var(--font-display);
  font-size: clamp(92px, 22vw, 290px);
  line-height: 0.84;
  letter-spacing: -0.04em;
  color: var(--cream);
  user-select: none;
  margin: 12px 0 26px;
  display: block;
}
.lima-cta-legal {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--olive);
  opacity: .82;
  margin: 0;
}

.enter-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; padding-top: 20px; }
.shape-pentagon {
  width: 168px; height: 158px; background: var(--pink); color: var(--cream);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; margin: 22px 0 0 36px; transform: rotate(-8deg);
}
.role-block { margin-bottom: 30px; }
.role-block h3 { font-size: 20px; font-weight: 800; margin: 0 0 10px; }
.role-block ul { margin: 0 0 16px; padding-left: 20px; line-height: 1.7; font-size: 15.5px; }

.lima-footer {
  background: var(--olive);
  color: var(--cream);
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.lima-footer strong { font-family: var(--font-display); color: var(--lime); font-size: 22px; font-weight: 400; }

/* ==================== SHARED CARDS & LU MINI MESSAGES ==================== */
.card {
  background: var(--cream);
  border-radius: 30px;
  padding: 26px;
}
.card-lime { background: var(--lime); }
.card-butter { background: var(--butter); }

/* Lu Mini-Message with Lu's face + waving hand inside turquoise flower! */
.lu-banner {
  background: var(--cream);
  border-radius: 28px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.lu-banner--soft { background: var(--butter); }
.lu-msg-left { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 240px; }
.lu-mini-avatar { width: 74px; height: 68px; flex-shrink: 0; }
.lu-msg-title { font-weight: 800; font-size: 14px; margin: 0 0 3px; }
.lu-msg-text { font-size: 15px; line-height: 1.45; margin: 0; }

/* Subject Thematic Icons */
.subject-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--olive);
}
.subject-icon {
  width: 30px; height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* ==================== DASHBOARD: MIS CARRERAS ==================== */
.dash-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.quota-box {
  background: var(--cream);
  border-radius: 24px;
  padding: 18px 22px;
  min-width: 290px;
}
.quota-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.quota-head span { font-size: 13.5px; font-weight: 700; }
.quota-head strong { font-family: var(--font-display); font-size: 28px; }
.quota-slots { display: flex; gap: 8px; margin-bottom: 8px; }
.quota-slot { flex: 1; height: 12px; border-radius: 999px; background: var(--amber); }
.quota-slot.free { background: transparent; border: 1.5px dashed rgba(46,49,5,.4); }
.quota-hint { font-size: 12.5px; margin: 0; opacity: .85; }

.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.career-card {
  background: var(--cream);
  border-radius: 30px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}
.career-card h3 { font-family: var(--font-display); font-size: 25px; line-height: 1.15; margin: 14px 0 8px; }
.career-sub { font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.progress-track { height: 9px; border-radius: 999px; background: rgba(46,49,5,.12); overflow: hidden; margin-bottom: 10px; }
.progress-fill { height: 100%; border-radius: 999px; transition: width .3s ease; }
.career-meta { font-size: 12.5px; opacity: .75; margin: 0 0 18px; }

.new-career-card {
  background: var(--lime);
  border-radius: 30px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 280px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s;
}
.new-career-card:hover { transform: translateY(-3px); }
.new-career-card.locked {
  background: rgba(254,255,233,.55);
  border: 2px dashed rgba(46,49,5,.4);
  cursor: not-allowed;
}
.plus-burst {
  width: 78px; height: 78px;
  background: var(--pink);
  color: var(--cream);
  clip-path: polygon(50% 0%,65% 15%,85% 12%,85% 32%,100% 50%,85% 68%,85% 88%,65% 85%,50% 100%,35% 85%,15% 88%,15% 68%,0% 50%,15% 32%,15% 12%,35% 15%);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 800;
  margin-bottom: 14px;
}
.new-career-card h3 { font-family: var(--font-display); font-size: 26px; margin: 0 0 8px; }
.new-career-card p { font-size: 14px; margin: 0; max-width: 210px; }

.recent-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.recent-pill {
  background: var(--cream);
  border-radius: 999px;
  padding: 12px 16px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ==================== NUEVA CARRERA ==================== */
.source-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.source-tab {
  background: var(--cream);
  color: var(--olive);
  border: none;
  border-radius: 26px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
}
.source-tab.active { background: var(--olive); color: var(--cream); }
.source-tab strong { display: block; font-size: 16px; }
.source-tab span { font-size: 13px; opacity: .82; }

.create-grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 22px; align-items: start; }
.chalkboard {
  background: #1E4234;
  color: #FEFFE9;
  border: 7px solid #8A653A;
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 14px;
  min-height: 190px;
}
.chalkboard h4 { font-family: var(--font-display); font-size: 26px; margin: 0 0 10px; }
.chalkboard p { margin: 6px 0; font-size: 16px; }
.chalkboard small { color: var(--lime); display: block; margin-top: 12px; }
.photo-preview-img { max-width: 100%; max-height: 240px; border-radius: 14px; display: block; margin-bottom: 12px; }

.input-pill, .textarea-pill {
  width: 100%;
  background: #F4F5E4;
  border: 2px solid rgba(46,49,5,.15);
  border-radius: 20px;
  padding: 14px 18px;
  font-size: 15.5px;
  color: var(--olive);
  outline: none;
}
.input-pill:focus, .textarea-pill:focus { border-color: var(--olive); background: var(--cream); }
.example-card {
  background: #F7F8E2;
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 16px;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s;
}
.example-card.selected, .example-card:hover { border-color: var(--olive); background: var(--butter); }

/* ==================== EXPLORAR MULTIMODAL (LEER / VER / ESCUCHAR) ==================== */
.explore-grid { display: grid; grid-template-columns: 1.55fr 0.72fr; gap: 22px; align-items: start; }
.mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.mode-pills {
  background: var(--cream);
  border-radius: 999px;
  padding: 5px;
  display: inline-flex;
  gap: 4px;
}
.mode-btn {
  border: none;
  background: transparent;
  color: var(--olive);
  font-weight: 800;
  font-size: 14.5px;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
}
.mode-btn.active { background: var(--olive); color: var(--cream); }
.easy-read-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
}
.switch-track {
  width: 46px; height: 26px; border-radius: 999px;
  background: rgba(46,49,5,.25); position: relative; transition: background .2s;
}
.switch-track.on { background: var(--cyan); }
.switch-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--cream);
  position: absolute; top: 3px; left: 3px; transition: transform .2s;
}
.switch-track.on .switch-thumb { transform: translateX(20px); }

.easy-list { font-size: 18.5px; line-height: 1.85; padding-left: 22px; margin: 14px 0 22px; }
.easy-list li { margin-bottom: 10px; }
.keywords-box {
  background: var(--lime);
  border-radius: 22px;
  padding: 16px 18px;
  margin-top: 18px;
}
.keyword-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.keyword-chip {
  background: var(--cream);
  border: 1.5px solid rgba(46,49,5,.15);
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  color: var(--olive);
}
.keyword-chip.active { background: var(--olive); color: var(--cream); }

.schema-flow { display: grid; gap: 14px; margin: 14px 0 22px; }
.schema-node {
  background: var(--butter);
  border-left: 6px solid var(--cyan);
  border-radius: 18px;
  padding: 16px 18px;
}
.schema-node strong { display: block; font-size: 16px; margin-bottom: 4px; }
.videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.video-card {
  background: #F7F8E2;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid rgba(46,49,5,.12);
}
.video-frame { width: 100%; aspect-ratio: 16/9; border: none; display: block; background: #1a1a1a; }
.yt-thumb-btn {
  position: relative; width: 100%; aspect-ratio: 16/9; padding: 0; border: none;
  background: #1d2228; cursor: pointer; display: block; overflow: hidden;
}
.yt-thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.yt-thumb-btn:hover img { transform: scale(1.03); }
.yt-play-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 42px; border-radius: 12px;
  background: rgba(234, 69, 112, 0.94); color: #FEFFE9;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.video-body { padding: 12px 14px; }
.video-body strong { display: block; font-size: 14px; line-height: 1.35; margin-bottom: 4px; }
.video-body small { font-size: 12.5px; opacity: .78; }

.audio-player-box {
  background: var(--butter);
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 18px;
}
.audio-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.audio-ext-card {
  background: #F7F8E2;
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==================== PISTA DE NIVELES (DUOLINGO ZIG-ZAG TIMELINE!) ==================== */
.track-grid { display: grid; grid-template-columns: 1.55fr 0.72fr; gap: 22px; align-items: start; }
.level-path-card {
  background: var(--cream);
  border-radius: 34px;
  padding: 36px 38px;
  position: relative;
}
.level-trail {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}
.trail-node {
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
}
.trail-node.step-1 { margin-left: 0; }
.trail-node.step-2 { margin-left: 14%; }
.trail-node.step-3 { margin-left: 4%; }
.trail-node.step-4 { margin-left: 20%; }
.trail-node.step-meta { margin-left: 8%; }
.trail-connector {
  position: absolute;
  left: 46px;
  top: 90px;
  width: 3px;
  height: 36px;
  border-left: 3px dashed rgba(46,49,5,.25);
}

.node-shape {
  width: 92px; height: 92px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 32px;
  position: relative;
}
.node-done {
  background: var(--cyan);
  color: var(--olive);
  border-radius: 44% 56% 48% 52% / 52% 46% 54% 48%;
}
.node-active {
  background: var(--pink);
  color: var(--cream);
  clip-path: polygon(50% 0%,63% 16%,84% 10%,84% 31%,100% 45%,86% 62%,91% 84%,70% 85%,56% 100%,40% 87%,18% 92%,17% 70%,0% 56%,14% 39%,10% 17%,32% 17%);
}
.node-locked {
  border: 2.5px dashed rgba(46,49,5,.45);
  border-radius: 50%;
  color: var(--olive);
  background: transparent;
}
.node-meta {
  width: 132px; height: 82px;
  background: var(--amber);
  border-radius: 999px;
  color: var(--olive);
  font-size: 22px;
}
.node-info small { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .75; display: block; }
.node-info h3 { font-family: var(--font-display); font-size: 24px; margin: 2px 0 4px; }
.node-info p { font-size: 14px; margin: 0 0 10px; opacity: .88; }

/* ==================== FOCUS LEVEL (PREGUNTAS MULTI-PASO & NIVEL 4) ==================== */
.focus-topbar {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 24px 10px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.focus-close {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream); border: none; color: var(--olive);
  font-size: 18px; cursor: pointer; flex-shrink: 0;
}
.seg-progress-wrap { flex: 1; }
.seg-progress-label { font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.seg-bars { display: flex; gap: 8px; }
.seg-bar { flex: 1; height: 10px; border-radius: 999px; background: var(--cream); }
.seg-bar.done { background: var(--cyan); }
.seg-bar.current { background: var(--amber); }

.question-stage { max-width: 760px; margin: 14px auto 165px; padding: 0 24px; }
.q-badge {
  display: inline-block;
  background: var(--cream);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}
.q-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  margin: 0 0 18px;
}
.options-stack { display: flex; flex-direction: column; gap: 11px; margin-bottom: 16px; }
.option-pill {
  background: var(--cream);
  border: 2.5px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--olive);
  transition: transform .12s, border-color .15s;
}
.option-pill:hover:not(:disabled) { transform: translateX(4px); border-color: rgba(46,49,5,.35); }
.option-pill.correct { background: #D7F3F7; border-color: var(--cyan); }
.option-pill.wrong { background: var(--butter); border-color: var(--amber); }
.opt-letter {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--olive); color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; flex-shrink: 0;
}

.feedback-dock {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--lime);
  border-top: 2px solid rgba(46,49,5,.15);
  padding: 18px 28px;
  z-index: 50;
}
.feedback-dock.hint-mode { background: var(--butter); }
.feedback-dock-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.si-burst {
  width: 68px; height: 68px;
  background: var(--pink); color: var(--cream);
  clip-path: polygon(50% 0%,65% 15%,85% 12%,85% 32%,100% 50%,85% 68%,85% 88%,65% 85%,50% 100%,35% 85%,15% 88%,15% 68%,0% 50%,15% 32%,15% 12%,35% 15%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; flex-shrink: 0;
}

.n4-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.check-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.check-dot {
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  background: rgba(46,49,5,.12); color: var(--olive);
}
.check-dot.ok { background: var(--cyan); color: var(--cream); }

/* ==================== HISTORIAL & DOCENTE ==================== */
.hist-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: start; }
.flashcard-stage { perspective: 1100px; margin: 16px 0 20px; }
.flashcard-box {
  background: var(--amber);
  border-radius: 26px;
  padding: 34px 28px;
  text-align: center;
  cursor: pointer;
  min-height: 225px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border: 2.5px solid transparent;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .25s ease, border-color .25s ease, box-shadow .25s ease;
  box-shadow: 0 10px 24px rgba(46,49,5,.08);
}
.flashcard-box:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 16px 32px rgba(46,49,5,.12); }
.flashcard-box.flipped {
  background: var(--cream);
  border-color: var(--olive);
  animation: cardFlipPop .38s cubic-bezier(.34,1.56,.64,1);
}
.flashcard-tag {
  background: rgba(46,49,5,.1);
  color: var(--olive);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 4px 12px;
  border-radius: 999px;
}
.flashcard-box.flipped .flashcard-tag { background: #D7F3F7; color: #0B6A7C; }
.flashcard-box h3 { font-family: var(--font-display); font-size: 22px; line-height: 1.3; margin: 0; }
.flashcard-answer { font-size: 16.5px; line-height: 1.55; font-weight: 700; margin: 0; max-width: 440px; }
.flashcard-sub { font-size: 13.5px; opacity: .8; font-weight: 600; margin: 0; }

/* ==================== SPACIOUS BREATHING ROOM & MICRO-ANIMATIONS ==================== */
.page-container { padding: 48px 28px 104px; }
.card { padding: 32px 34px; }
.dash-header { margin-bottom: 44px; }
.careers-grid { gap: 28px; margin-bottom: 48px; }
.career-card { padding: 30px; min-height: 295px; transition: transform .22s ease, box-shadow .22s ease; }
.career-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(46,49,5,.08); }
.how-grid { gap: 26px; margin-bottom: 148px; }
.how-card { padding: 34px 26px 38px; transition: transform .28s ease, box-shadow .28s ease; }
.how-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(46,49,5,.1); }
.explore-grid { gap: 34px; }
.track-grid { gap: 34px; }
.create-grid { gap: 34px; }
.source-tabs { gap: 18px; margin-bottom: 32px; }
.mode-bar { margin-bottom: 32px; }
.stats-grid { gap: 22px; margin-bottom: 40px; }

/* ==================== INTERACTIVE LU ANIMATIONS & FX ==================== */
.lu-svg { overflow: visible; cursor: pointer; transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.lu-svg:hover { transform: scale(1.06) rotate(-2deg); }
.lu-svg.lu-bounce { animation: luBounce .55s cubic-bezier(.34,1.56,.64,1); }
.lu-float-wrap { animation: luFloat 3.6s ease-in-out infinite; transform-origin: center; }
.lu-antenna-group { transform-origin: 498px 120px; animation: luAntenna 3.2s ease-in-out infinite; }
.lu-eyes-group { transform-origin: 495px 212px; animation: luBlink 5.4s ease-in-out infinite; }
.lu-pupil { transition: transform .12s ease-out; }

@keyframes luFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-9px); }
}
@keyframes luWave {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(14deg); }
  40% { transform: rotate(-8deg); }
  60% { transform: rotate(12deg); }
  80% { transform: rotate(0deg); }
}
@keyframes luAntenna {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(6deg); }
}
@keyframes luBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.12); }
}
@keyframes luBounce {
  0% { transform: scale(1) translateY(0); }
  35% { transform: scale(1.12, 0.92) translateY(-14px) rotate(-4deg); }
  70% { transform: scale(0.96, 1.04) translateY(2px) rotate(2deg); }
  100% { transform: scale(1) translateY(0); }
}
@keyframes cardFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cardFlipPop {
  0% { transform: scale(0.94) rotateY(14deg); opacity: .75; }
  100% { transform: scale(1) rotateY(0deg); opacity: 1; }
}
@keyframes fxPop {
  0% { opacity: 0; transform: translate(-50%, 8px) scale(0.75); }
  22% { opacity: 1; transform: translate(-50%, -18px) scale(1.08); }
  78% { opacity: 1; transform: translate(-50%, -44px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -66px) scale(0.92); }
}
.fx-toast {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  background: var(--olive);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 20px;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(46,49,5,.22);
  animation: fxPop 1.25s cubic-bezier(.22,1,.36,1) forwards;
}

/* ==================== SCREEN 8: CRUZASTE LA META (EXACT PNG DESIGN + ANIMATIONS) ==================== */
.meta-ribbon-wrap {
  width: 100%;
  height: 36px;
  background-color: var(--cream);
  background-image:
    linear-gradient(45deg, var(--olive) 25%, transparent 25%),
    linear-gradient(-45deg, var(--olive) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--olive) 75%),
    linear-gradient(-45deg, transparent 75%, var(--olive) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: metaRibbonSlide .65s ease both;
}
@keyframes metaRibbonSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.meta-ribbon-pill {
  background: var(--lime);
  color: var(--olive);
  font-family: var(--font-display);
  font-size: 19px;
  padding: 8px 34px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(46,49,5,.14);
}
.meta-hero {
  background: var(--blue);
  padding: 76px 28px 92px;
}
.meta-inner { max-width: 1120px; margin: 0 auto; }
.meta-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.meta-date-pill {
  display: inline-block;
  background: var(--cream);
  color: var(--olive);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.meta-title {
  font-family: var(--font-display);
  font-size: clamp(46px, 6.2vw, 72px);
  line-height: 0.98;
  margin: 0 0 18px;
  color: var(--olive);
}
.meta-sub {
  font-size: 17px;
  line-height: 1.6;
  max-width: 470px;
  margin: 0 0 24px;
  color: var(--olive);
}
.meta-cupos-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  font-size: 13.5px;
  font-weight: 700;
}
.meta-slot {
  width: 34px;
  height: 11px;
  border-radius: 999px;
  display: inline-block;
}
.meta-slot.used { background: var(--amber); }
.meta-slot.freed { background: var(--lime); border: 1.8px solid var(--olive); animation: pulseFreed 1.6s ease-in-out infinite; }
.meta-slot.free { border: 1.5px dashed rgba(46,49,5,.55); }
@keyframes pulseFreed {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.meta-trophy-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 18px 24px;
}
.meta-trophy-card {
  width: 100%;
  max-width: 380px;
  background: var(--cream);
  border: 3px solid var(--olive);
  border-radius: 30px;
  padding: 24px 24px 20px;
  transform: rotate(2deg);
  box-shadow: 0 20px 44px rgba(46,49,5,.15);
  position: relative;
  animation: trophyFloat 4.2s ease-in-out infinite;
}
@keyframes trophyFloat {
  0%, 100% { transform: rotate(2deg) translateY(0px); }
  50% { transform: rotate(1deg) translateY(-8px); }
}
.meta-lista-burst {
  position: absolute;
  top: -20px;
  right: -22px;
  width: 96px;
  height: 96px;
  background: var(--pink);
  color: var(--cream);
  clip-path: polygon(50% 0%,63% 14%,82% 8%,84% 28%,100% 42%,88% 58%,94% 78%,74% 82%,64% 100%,48% 88%,30% 96%,24% 76%,4% 72%,12% 52%,0% 34%,20% 26%,24% 6%,42% 16%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 21px;
  transform: rotate(8deg);
  z-index: 4;
  animation: burstPop .7s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes burstPop {
  from { transform: scale(0.2) rotate(-25deg); opacity: 0; }
  to { transform: scale(1) rotate(8deg); opacity: 1; }
}
.meta-card-kicker {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 4px;
}
.meta-card-title {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.08;
  margin: 0 0 16px;
}
.meta-lu-window {
  background: var(--cyan);
  border-radius: 20px;
  padding: 18px 14px 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 195px;
  margin-bottom: 18px;
}
.meta-lu-window svg { width: 92%; max-width: 280px; height: auto; display: block; margin-bottom: -6px; }
.meta-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  border-top: 1.5px dashed rgba(46,49,5,.2);
  padding-top: 14px;
}
.meta-card-stats strong { font-family: var(--font-display); font-size: 24px; display: block; line-height: 1.1; }
.meta-card-stats small { font-size: 12px; opacity: .78; font-weight: 700; }

.meta-float-icon {
  position: absolute;
  font-size: 26px;
  pointer-events: none;
  animation: stickerBob 3.4s ease-in-out infinite;
}
@keyframes stickerBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(10deg); }
}

.meta-lime-band {
  background: var(--lime);
  padding: 86px 28px 96px;
}
.meta-band-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.meta-pink-pill {
  background: var(--pink);
  color: var(--cream);
  font-weight: 800;
  font-size: 14px;
  padding: 14px 26px;
  border-radius: 999px;
  text-align: center;
  transform: rotate(-6deg);
  line-height: 1.2;
}
.meta-takeaways-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}
.meta-quote-card {
  background: var(--cream);
  border-radius: 30px;
  padding: 32px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.meta-n4-badge {
  position: absolute;
  top: -14px;
  right: 18px;
  width: 72px;
  height: 72px;
  background: var(--amber);
  color: var(--olive);
  border-radius: 44% 56% 52% 48% / 48% 46% 54% 52%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13.5px;
  transform: rotate(8deg);
}
.meta-quote-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.3vw, 25px);
  line-height: 1.4;
  margin: 14px 0 20px;
  color: var(--olive);
}
.meta-concepts-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.meta-concept-chip {
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--olive);
}
.meta-recorrido-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  font-size: 14.5px;
  border-bottom: 1px solid rgba(46,49,5,.08);
}
.meta-recorrido-item:last-child { border-bottom: none; }
.meta-check-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin-right: 10px;
}

.meta-next-band {
  background: var(--blue);
  padding: 86px 28px 104px;
}
.meta-reflect-bar {
  background: var(--cream);
  border-radius: 999px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.meta-reflect-pill {
  background: transparent;
  border: 1.5px dashed rgba(46,49,5,.45);
  color: var(--olive);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s, border-style .15s;
}
.meta-reflect-pill.active {
  background: var(--olive);
  color: var(--lime);
  border-style: solid;
  border-color: var(--olive);
}
.meta-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 30px;
}
.meta-action-card {
  background: var(--cream);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform .2s ease;
}
.meta-action-card:hover { transform: translateY(-4px); }
.meta-action-card h3 { font-family: var(--font-display); font-size: 24px; margin: 8px 0 6px; }
.meta-action-card p { font-size: 14.5px; line-height: 1.5; margin: 0; opacity: .88; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.stat-card { background: var(--cream); border-radius: 26px; padding: 24px; }
.stat-num { font-family: var(--font-display); font-size: 38px; margin: 10px 0 4px; }

.teacher-table { width: 100%; border-collapse: collapse; }
.teacher-table th { text-align: left; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; opacity: .7; padding: 10px 8px; border-bottom: 1.5px solid rgba(46,49,5,.12); }
.teacher-table td { padding: 14px 8px; border-bottom: 1px solid rgba(46,49,5,.08); font-size: 14.5px; }
.pill-status { padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; display: inline-block; }
.pill-ok { background: #D7F3F7; color: #0B6A7C; }
.pill-pending { background: #FCE0EA; color: #A61D46; }

/* ==================== SALIDAS PEDAGÓGICAS ==================== */
.ft-cat-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.ft-cat-pill {
  background: var(--cream);
  color: var(--olive);
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.ft-cat-pill.active { background: var(--olive); color: var(--cream); }
.ft-camera-zone {
  border: 2.5px dashed rgba(46,49,5,.32);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  background: #F7F8E2;
  margin-bottom: 16px;
}
.ft-curious-list { display: grid; gap: 10px; margin: 12px 0 18px; }
.ft-curious-item {
  background: var(--butter);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.45;
}
.ft-care-box {
  background: #DFF5F9;
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 14px;
}
.ft-log-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.ft-log-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 14px 16px;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: left;
}
.ft-log-card:hover { border-color: var(--olive); }

/* ==================== SCROLL ANIMATIONS & HIGH-IMPACT PARALLAX ==================== */
#luden-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  width: 0%;
  background: linear-gradient(90deg, var(--lime), var(--cyan), var(--pink));
  z-index: 9999;
  pointer-events: none;
  transition: width .06s linear;
}

.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 74px, 0) scale(0.93);
  transition:
    opacity .85s cubic-bezier(.16, 1, .3, 1),
    transform .92s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}
.scroll-reveal.from-left { transform: translate3d(-74px, 16px, 0) scale(0.95); }
.scroll-reveal.from-right { transform: translate3d(74px, 16px, 0) scale(0.95); }
.scroll-reveal.pop-in { transform: translate3d(0, 56px, 0) scale(0.84); }
.scroll-reveal.footer-rise { transform: translate3d(0, 96px, 0) scale(0.88); }

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.scroll-parallax {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scroll-parallax { transform: none !important; }
  .lu-float-wrap, .lu-antenna-group, .meta-trophy-card { animation: none !important; }
}

/* ==================== NEW HOME SECTIONS (PROBLEM, DEMO, IA VS LU, SCIENCE, SALIDAS, TRUST, FAQ) ==================== */
.home-section { margin-bottom: 136px; scroll-margin-top: 84px; }
#perfiles, #te-pasa, #demo-interactiva, #como-funciona, #ia-vs-lu, #ciencia, #salidas-home, #confianza, #faq { scroll-margin-top: 84px; }
.home-section-sub { font-size: 17px; line-height: 1.6; max-width: 640px; margin: -20px 0 36px; opacity: .9; }

/* ¿Te pasa? 3 student-voice cards */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pain-card {
  background: var(--cream);
  border-radius: 32px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pain-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(46,49,5,.1); }
.pain-quote {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.3;
  margin: 0;
  color: var(--olive);
}
.pain-answer {
  border-top: 1.5px dashed rgba(46,49,5,.18);
  padding-top: 16px;
}
.pain-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.pain-answer p { margin: 0; font-size: 14.5px; line-height: 1.55; opacity: .88; }

/* Interactive Before & After Demo */
.demo-shell {
  background: var(--cream);
  border-radius: 36px;
  padding: 36px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: stretch;
  box-shadow: 0 20px 44px rgba(46,49,5,.1);
}
.demo-pane {
  border-radius: 26px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.demo-pane--before { background: #F5F6DF; border: 2px dashed rgba(46,49,5,.25); }
.demo-pane--after { background: var(--lime); transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.demo-pane--after.revealed { animation: cardFlipPop .45s cubic-bezier(.34,1.56,.64,1); }
.demo-board {
  background: #FFFFFF;
  border: 3px solid #C8CEB2;
  border-radius: 20px;
  padding: 20px 22px;
  font-family: 'Comic Sans MS', 'Segoe Print', cursive, sans-serif;
  color: #2B3A42;
  position: relative;
  transform: rotate(-0.8deg);
  box-shadow: inset 0 0 18px rgba(0,0,0,.04);
}
.demo-board h4 { margin: 0 0 8px; font-size: 17px; color: #A61D46; text-decoration: underline; }
.demo-board p { margin: 4px 0; font-size: 14px; line-height: 1.45; }
.demo-formula {
  display: inline-block;
  border: 2px solid #2E3105;
  border-radius: 52% 48% 54% 46%;
  padding: 6px 14px;
  margin-top: 8px;
  font-weight: 700;
  font-size: 14.5px;
}
.demo-mini-levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.demo-mini-lv {
  background: var(--cream);
  border-radius: 14px;
  padding: 10px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}
.demo-mini-q {
  background: var(--cream);
  border-radius: 20px;
  padding: 16px 18px;
}
.demo-mini-opt {
  width: 100%;
  text-align: left;
  background: #F6F7E2;
  border: 1.8px solid transparent;
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--olive);
  cursor: pointer;
  margin-top: 8px;
  transition: transform .15s, border-color .15s, background .15s;
}
.demo-mini-opt:hover { border-color: var(--olive); transform: translateX(3px); }
.demo-mini-opt.ok { background: #D7F3F7; border-color: var(--cyan); }
.demo-mini-opt.nope { background: #FCE0EA; border-color: var(--pink); }

/* IA común vs Lu comparison */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.vs-card { border-radius: 34px; padding: 34px 32px; display: flex; flex-direction: column; gap: 18px; }
.vs-card--common { background: rgba(254,255,233,.72); border: 2px dashed rgba(46,49,5,.32); }
.vs-card--lu { background: var(--lime); border: 3px solid var(--olive); box-shadow: 0 18px 36px rgba(46,49,5,.12); }
.vs-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(254,255,233,.75);
}
.vs-icon {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; flex-shrink: 0;
}
.vs-icon--no { background: #FCE0EA; color: #A61D46; }
.vs-icon--yes { background: var(--cyan); color: var(--cream); }

/* Learning science grid */
.science-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; margin-top: 44px; }
.science-card {
  background: var(--cream);
  border-radius: 28px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .22s ease;
}
.science-card:hover { transform: translateY(-5px); }
.science-tag {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 5px 12px;
  border-radius: 999px;
}
.science-card h3 { font-family: var(--font-display); font-size: 21px; margin: 2px 0 0; line-height: 1.2; }
.science-card p { font-size: 14px; line-height: 1.55; margin: 0; opacity: .88; }

/* Salidas pedagógicas showcase */
.salidas-showcase {
  background: var(--cream);
  border-radius: 36px;
  padding: 42px 38px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.salidas-seal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #D7F3F7;
  color: #0B6A7C;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  margin: 14px 0 24px;
}
.salidas-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.salidas-mini-tile {
  background: var(--butter);
  border-radius: 22px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 800;
  font-size: 15px;
}
.salidas-mini-tile small { font-weight: 600; font-size: 12.5px; opacity: .8; }

/* Trust strip for adults/teachers/families */
.trust-strip {
  background: var(--butter);
  border-radius: 34px;
  padding: 36px 34px;
}
.trust-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 22px; }
.trust-item {
  background: var(--cream);
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trust-item strong { font-size: 15.5px; }
.trust-item span { font-size: 13.5px; line-height: 1.45; opacity: .85; }

/* Fast FAQ accordion */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.faq-item {
  background: var(--cream);
  border-radius: 24px;
  padding: 22px 24px;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: left;
  width: 100%;
  transition: border-color .18s ease, transform .18s ease;
}
.faq-item:hover { border-color: var(--olive); transform: translateY(-2px); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--olive);
}
.faq-a {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--olive);
  opacity: .9;
}

/* ==================== 3 HERO FEATURES: PREGÚNTALE A LU, REPASO INTELIGENTE, PANEL DE CLASE ==================== */
.lu-tutor-box {
  margin-top: 26px;
  background: #F6F7E2;
  border-radius: 26px;
  padding: 24px 26px;
  border: 2px solid rgba(46,49,5,.12);
}
.analogy-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.analogy-chip {
  background: var(--cream);
  color: var(--olive);
  border: 1.5px solid rgba(46,49,5,.2);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s, background .15s;
}
.analogy-chip:hover { background: var(--lime); transform: translateY(-2px); }
.lu-chat-reply {
  margin-top: 16px;
  background: var(--cream);
  border-radius: 20px;
  padding: 18px 20px;
  border-left: 5px solid var(--cyan);
}
.lu-chat-reply.anti-copia { border-left-color: var(--pink); background: #FFF5F8; }
.hist-tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 34px; }
.mistake-card {
  background: #F8F9E6;
  border-radius: 20px;
  padding: 18px 20px;
  border: 1.5px solid rgba(46,49,5,.1);
  display: grid;
  gap: 8px;
}
.plan-step-card {
  background: #F8F9E6;
  border-radius: 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--cyan);
}
.teacher-class-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px; margin-bottom: 28px; }
.alert-pill-row {
  background: #FFF7DC;
  border-radius: 16px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.class-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--olive);
  color: var(--lime);
  font-family: monospace;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 8px 18px;
  border-radius: 14px;
}

/* ==================== FLOATING EXPLORE MINI-MODAL (INSIDE LEVELS) ==================== */
.explore-mini-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(46,49,5,.48);
  backdrop-filter: blur(4px);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: cardFadeUp .2s ease both;
}
.explore-mini-modal {
  background: var(--cream);
  border-radius: 32px;
  width: 100%;
  max-width: 680px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(46,49,5,.28);
  border: 2.5px solid var(--olive);
}
.explore-mini-head {
  background: var(--lime);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.explore-mini-body {
  padding: 24px 26px;
  overflow-y: auto;
  display: grid;
  gap: 16px;
}

/* ==================== PREGÚNTALE A LU (EXACT IMAGE 4 CHAT SCREEN) ==================== */
.asklu-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 32px;
  align-items: start;
}
.asklu-ladder {
  background: var(--lime);
  border-radius: 28px;
  padding: 24px;
  display: grid;
  gap: 12px;
}
.asklu-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 700;
  opacity: .68;
  transition: opacity .2s, transform .2s;
}
.asklu-step.active { opacity: 1; transform: translateX(4px); }
.asklu-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--olive);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.asklu-step.active .asklu-step-num { background: var(--olive); color: var(--lime); }

.asklu-chat-card {
  background: var(--cream);
  border-radius: 32px;
  padding: 24px 26px;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 18px 40px rgba(46,49,5,.1);
}
.asklu-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid rgba(46,49,5,.08);
  flex-wrap: wrap;
}
.asklu-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 360px;
  overflow-y: auto;
  padding: 6px 2px;
}
.asklu-bubble {
  max-width: 82%;
  padding: 14px 20px;
  border-radius: 22px;
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-line;
  animation: cardFadeUp .25s ease both;
}
.asklu-bubble--student {
  align-self: flex-end;
  background: var(--olive);
  color: var(--cream);
  border-bottom-right-radius: 6px;
  font-weight: 600;
}
.asklu-bubble--lu {
  align-self: flex-start;
  background: var(--lime);
  color: var(--olive);
  border-bottom-left-radius: 6px;
  font-weight: 600;
}
.asklu-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}
.asklu-quick-pill {
  background: transparent;
  border: 1.5px solid rgba(46,49,5,.32);
  color: var(--olive);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.asklu-quick-pill:hover { background: var(--butter); transform: translateY(-1px); }
.asklu-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ==================== PANEL DOCENTE · MI CLASE (EXACT IMAGE 3 DESIGN) ==================== */
.miclase-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.miclase-pill { padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 800; }
.miclase-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.miclase-topic-tabs {
  background: var(--cream);
  padding: 6px;
  border-radius: 999px;
  display: inline-flex;
  gap: 4px;
  flex-wrap: wrap;
}
.miclase-topic-btn {
  background: transparent;
  border: none;
  color: var(--olive);
  font-weight: 800;
  font-size: 13.5px;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.miclase-topic-btn.active { background: var(--olive); color: var(--cream); }
.stat-card--dark { background: var(--olive); color: var(--lime); }
.stat-card--dark .stat-num { color: var(--lime); }
.miclase-mid-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 26px;
  margin-bottom: 30px;
  align-items: start;
}
.miclase-bar-row { margin-bottom: 18px; }
.miclase-bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 6px;
}
.miclase-bar-track {
  height: 15px;
  border-radius: 999px;
  background: #E2E7B8;
  overflow: hidden;
}
.miclase-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--blue);
  transition: width .45s ease;
}
.miclase-bar-fill--hot { background: var(--pink); }
.miclase-conf-card {
  background: var(--cream);
  border-radius: 26px;
  padding: 22px 24px;
  margin-bottom: 16px;
}
.miclase-quotes-band {
  background: var(--butter);
  border-radius: 32px;
  padding: 28px 30px;
}
.miclase-quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 16px 0 18px;
}
.miclase-quote-tile {
  background: var(--cream);
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
}

/* Responsive helper classes for Salidas, Revisión Docente, Flashcards, Question Dock & Toasts */
.explore-grid.explore-grid--ft { grid-template-columns: 1.35fr 0.85fr; }
.rev-q-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.flashcard-controls { display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 8px; align-items: center; }
.question-stage--with-dock { margin-bottom: 220px !important; padding-bottom: 40px; }

.luden-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 950;
  max-width: min(92vw, 520px);
  background: var(--olive);
  color: var(--cream);
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 18px 36px rgba(46,49,5,.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  text-align: center;
}
.luden-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.luden-toast.error { background: #A61D46; color: #FFF5F8; }
.luden-toast.ok { background: #0B6A7C; color: var(--cream); }

@media (max-width: 960px) {
  .home-intro-grid, .lima-hero-copy, .principles-grid, .enter-grid, .enter-cards-grid,
  .create-grid, .explore-grid, .explore-grid.explore-grid--ft, .track-grid, .hist-grid, .n4-grid, .source-tabs,
  .meta-hero-grid, .meta-takeaways-grid, .meta-actions-grid,
  .pain-grid, .demo-shell, .vs-grid, .salidas-showcase, .faq-grid,
  .hist-tools-grid, .teacher-class-grid, .asklu-grid, .miclase-mid-grid, .miclase-quotes-grid, .rev-q-grid {
    grid-template-columns: 1fr;
  }
  .how-grid, .trust-items, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-left, .principles-right { align-items: center; text-align: center; }
  .meta-reflect-bar { border-radius: 24px; }
  .lima-hero-actions { align-items: stretch; }
  .timeline-card { flex-direction: column; padding: 28px 22px; }
  .tl-dash { width: 3px; height: 22px; border-top: none; border-left: 3px dashed rgba(46,49,5,.25); margin: 0; }
  .trail-node { margin-left: 0 !important; }
  .teacher-table { min-width: 620px; }
}

@media (max-width: 860px) {
  .app-navbar, .lima-topbar { flex-wrap: nowrap; }
  .nav-links { display: none !important; }
  .mobile-nav-actions { display: inline-flex; }
  .hamburger-btn { display: inline-flex; }
}

@media (max-width: 640px) {
  .aviso-bar { font-size: 11.5px; padding: 7px 12px; line-height: 1.35; }
  .app-navbar { padding: 12px 16px 8px; }
  .lima-hero { padding: 10px 16px 0; }
  .lima-topbar { margin-bottom: 4px; gap: 10px; }
  .brand-word { font-size: 21px; }
  .beta-badge { font-size: 9.5px; padding: 2px 7px; }
  .nav-role-pill { font-size: 11px; padding: 4px 10px; }
  .mobile-nav-actions { gap: 6px; }
  .lang-switch__btn { font-size: 11px; padding: 4px 7px; }
  .hamburger-btn { width: 40px; height: 40px; font-size: 17px; }

  /* Inicio mobile hero & poster: zero clipping, zero overlap! */
  .lima-poster { min-height: 205px; margin: 12px auto 8px; padding: 42px 0 34px; }
  .lima-giant { font-size: clamp(54px, 16vw, 84px); }
  .lima-mascot-center { width: clamp(118px, 34vw, 168px); margin: 0 -4px; }
  .lima-sticker { font-size: 11.5px; padding: 8px 15px; }
  .lima-sticker--orange { top: 0; left: 2px; transform: rotate(-6deg); }
  .lima-sticker--pink { bottom: 0; right: 2px; transform: rotate(-5deg); }
  .lima-tagline { font-size: 18px; margin: 12px auto 22px; padding: 0 6px; }
  .lima-ribbon__track { font-size: 17px; gap: 22px; }

  .lima-blue-section { padding: 52px 16px 84px; }
  .page-container { padding: 22px 16px 76px; }
  .home-intro-grid, .home-section { margin-bottom: 72px; }
  .section-title { font-size: clamp(28px, 8vw, 38px); margin-bottom: 22px; }
  .home-section-sub { font-size: 15px; margin: -12px 0 24px; }
  .lima-h1 { font-size: clamp(26px, 7.6vw, 36px); }
  .lima-lead { font-size: 15px; }
  .role-picker-box { padding: 14px; border-radius: 22px; }
  .role-choice-btn { padding: 12px 14px; gap: 11px; }
  .role-choice-text strong { font-size: 15px; }
  .role-choice-text span { font-size: 12.5px; }

  .how-grid, .trust-items { grid-template-columns: 1fr; gap: 18px; }
  .how-grid { margin-bottom: 36px; }
  .empieza-sticker { top: -14px; right: 10px; padding: 10px 14px; font-size: 11.5px; }
  .card, .how-card, .pain-card, .demo-shell, .demo-pane, .vs-card, .salidas-showcase,
  .trust-strip, .level-path-card, .meta-quote-card, .asklu-chat-card, .miclase-quotes-band,
  .miclase-conf-card, .meta-action-card, .career-card, .new-career-card {
    padding: 20px 18px;
    border-radius: 24px;
  }
  .demo-shell { gap: 18px; }
  .demo-mini-levels { grid-template-columns: repeat(2, 1fr); }
  .salidas-mini-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .salidas-mini-tile { padding: 14px 12px; font-size: 13.5px; }
  .salidas-seal { font-size: 12.5px; padding: 8px 14px; border-radius: 16px; }

  .principles-grid { gap: 36px; margin-bottom: 48px; }
  .principles-right { gap: 28px; }
  .shape-burst { width: 164px; height: 164px; font-size: 18px; }
  .shape-double { width: 242px; height: 134px; font-size: 19px; }
  .shape-double::before, .shape-double::after { width: 140px; height: 134px; }
  .shape-quatrefoil { width: 194px; height: 172px; font-size: 18px; }
  .science-grid { grid-template-columns: 1fr; gap: 16px; }
  .vs-row { font-size: 14.5px; padding: 10px 12px; }
  .faq-q { font-size: 17px; }

  /* Footer CTA */
  .lima-cta-footer { border-radius: 32px 32px 0 0; padding: 44px 18px 24px; }
  .lima-cta-top h2 { font-size: 26px; }
  .lima-footer-giant { font-size: clamp(68px, 24vw, 130px); margin: 10px 0 20px; }

  /* Dashboard, Nueva carrera, Explorar, Pista */
  .dash-header { margin-bottom: 24px; gap: 14px; }
  .quota-box { min-width: 0; width: 100%; padding: 16px 18px; }
  .careers-grid { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  .lu-banner { padding: 16px 18px; border-radius: 22px; }
  .lu-msg-left { min-width: 0; gap: 12px; }
  .lu-mini-avatar { width: 56px; height: 52px; }
  .mode-bar { gap: 12px; }
  .mode-pills { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
  .mode-btn { padding: 9px 8px; font-size: 13px; justify-content: center; }
  .easy-list { font-size: 15.5px; line-height: 1.7; padding-left: 18px; }
  .videos-grid { grid-template-columns: 1fr; }
  .trail-node { gap: 14px; align-items: flex-start; }
  .node-shape { width: 66px; height: 66px; font-size: 24px; }
  .node-meta { width: 88px; height: 60px; font-size: 17px; }
  .trail-connector { left: 32px; top: 68px; }

  /* Levels, Focus Topbar, Feedback Dock & Mini Modal */
  .focus-topbar { padding: 12px 14px 8px; flex-wrap: wrap; gap: 10px; }
  .focus-close { width: 38px; height: 38px; font-size: 15px; }
  .seg-progress-wrap { min-width: 170px; }
  .question-stage { padding: 0 16px; margin: 12px auto 230px; }
  .q-title { font-size: clamp(22px, 6.2vw, 28px); }
  .option-pill { border-radius: 20px; padding: 12px 14px; font-size: 14.5px; align-items: flex-start; }
  .opt-letter { width: 28px; height: 28px; font-size: 12.5px; margin-top: 2px; }
  .feedback-dock { padding: 14px 16px; }
  .feedback-dock-inner { gap: 12px; }
  .si-burst { width: 52px; height: 52px; font-size: 16px; }
  .explore-mini-modal { max-height: 88vh; border-radius: 24px; }
  .explore-mini-head, .explore-mini-body { padding: 16px 18px; }

  /* Pregúntale a Lu chat */
  .asklu-chat-card { min-height: 460px; }
  .asklu-bubble { max-width: 92%; font-size: 14.5px; padding: 12px 15px; }
  .asklu-input-row { flex-wrap: wrap; }
  .asklu-input-row .input-pill { min-width: 0; width: 100%; }
  .asklu-input-row .btn-pill { width: 100%; }

  /* Screen 8 Cruzaste la meta */
  .meta-hero, .meta-lime-band, .meta-next-band { padding: 44px 16px 56px; }
  .meta-title { font-size: clamp(36px, 11vw, 52px); }
  .meta-trophy-wrap { padding: 12px 4px; }
  .meta-trophy-card { transform: none; animation: none; max-width: 100%; }
  .meta-lista-burst { width: 74px; height: 74px; font-size: 16px; top: -12px; right: -2px; }
  .meta-float-icon { display: none; }
  .meta-n4-badge { width: 58px; height: 58px; font-size: 11.5px; top: -10px; right: 10px; }
  .meta-reflect-bar { padding: 14px 16px; border-radius: 22px; }

  /* Historial & Docente Mi clase */
  .flashcard-box { padding: 24px 18px; min-height: 195px; }
  .flashcard-box h3 { font-size: 19px; }
  .flashcard-controls { grid-template-columns: 1fr 1fr; gap: 8px; }
  .flashcard-controls #btn-repaso-prev { order: 3; }
  .flashcard-controls #btn-repaso-next { order: 4; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
  .stat-card { padding: 16px; border-radius: 20px; }
  .stat-num { font-size: 28px; }
  .miclase-topic-tabs { width: 100%; border-radius: 20px; padding: 6px; }
  .miclase-topic-btn { font-size: 12.5px; padding: 7px 12px; }
}
