
/* ── UNIFIED NAV SYSTEM ─────────────────────────────────
   Identical appearance on both pages
──────────────────────────────────────────────────────── */

/* Topbar */
.topbar { display:none!important; }
.tb-brand { display: flex; align-items: center; flex-shrink: 0; }
.tb-sep   { width: 1px; height: 16px; background: rgba(255,255,255,.15); flex-shrink: 0; }
.tb-lbl   { font-size: 10px; font-weight: 500; color: rgba(255,255,255,.35); letter-spacing: .06em; }

/* Site nav */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8e6e1;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 32px; height: 54px;
  box-sizing: border-box;
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo svg, .tb-brand svg {
  display: block; width: auto;
}
.nav-logo svg  { height: 30px; }
.tb-brand svg  { height: 24px; }

.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-link {
  font-family: "Poppins", sans-serif;
  font-size: 11px; font-weight: 500;
  color: #888; text-decoration: none;
  padding: 6px 10px; border-radius: 3px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-link:hover  { color: #111; background: #f6f5f3; }
.nav-link.active { color: #111; font-weight: 700; }

/* Pagos Académicos — outlined red */
.btn-pagos-nav {
  font-family: "Poppins", sans-serif;
  font-size: 11px; font-weight: 700;
  color: #CC0000; text-decoration: none;
  letter-spacing: .04em; padding: 7px 14px;
  border: 1.5px solid #CC0000; border-radius: 3px;
  white-space: nowrap; transition: all .15s;
  display: inline-flex; align-items: center;
}
.btn-pagos-nav:hover { background: #CC0000; color: #fff; }

/* Mi Portal — solid red */
.btn-portal-nav {
  font-family: "Poppins", sans-serif;
  font-size: 11px; font-weight: 700;
  color: #fff; text-decoration: none;
  letter-spacing: .04em; padding: 7px 14px;
  background: #CC0000; border: 1.5px solid #CC0000;
  border-radius: 3px; white-space: nowrap;
  transition: all .15s; display: inline-flex; align-items: center;
}
.btn-portal-nav:hover { background: #990000; border-color: #990000; }

/* Logo colors */
.cls-white { fill: #ffffff !important; }
.cls-red   { fill: #fd0017 !important; }

/* Main offset */
.main { padding-top: 0; }

/* Mobile nav */
@media (max-width: 639px) {
  .topbar   { height: 46px !important; padding: 0 14px !important; }
  .tb-lbl   { display: none !important; }
  .tb-sep   { display: none !important; }
  .tb-brand svg { height: 20px !important; }
  .site-nav { padding: 0 14px !important; height: 48px !important; top: 0 !important; }
  .nav-logo svg { height: 24px !important; }
  .nav-link { display: none !important; }
  .btn-pagos-nav { font-size: 10px !important; padding: 6px 10px !important; }
  .btn-portal-nav { font-size: 10px !important; padding: 6px 10px !important; }
  .main { padding-top: 0 !important; }
}

@media (min-width: 640px) and (max-width: 899px) {
  .site-nav { padding: 0 24px !important; }
  .topbar   { padding: 0 20px !important; }
}

@media (min-width: 900px) {
  .site-nav { padding: 0 40px !important; }
  .topbar   { padding: 0 32px !important; }
}


/* ============================================================
   Springfield Language Center — Overrides CSS v2
   Estructura:
   1. Logos SVG
   2. Botón Pagos nav
   3. WA Float
   4. Hero video (mobile-first)
   5. Modal cards / Bottom sheet (mobile-first)
   6. Mobile responsive (≤639px)
   7. Tablet (640–899px)
   8. Desktop restore (≥900px)
   ============================================================ */






.tb-brand svg,
.nav-logo svg { height: 28px !important; width: auto !important; display: block !important; }



.btn-pagos-nav:hover { background: #CC0000; color: #fff; }

/* ── 3. WA FLOAT ─────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0));
  right: 16px; z-index: 8888;
  width: 52px; height: 52px;
  border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }
@media (min-width: 640px) { .wa-float { right: 24px; bottom: 28px; } }

/* ── 4. HERO VIDEO ───────────────────────────────────────
   Mobile: columna debajo del texto, ancho completo
   Desktop ≥900px: 2 columnas en sec-hero
   ──────────────────────────────────────────────────────── */
.hero-video-col {
  width: 100%;
  padding: 0 20px 24px;
  box-sizing: border-box;
}
.yt-facade {
  position: relative; width: 100%; aspect-ratio: 16/9;
  border-radius: 6px; overflow: hidden; cursor: pointer;
  background: #1a1a1a; display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.yt-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.yt-facade:hover .yt-thumb { transform: scale(1.03); }
.yt-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.18); transition: background .2s; }
.yt-facade:hover .yt-overlay { background: rgba(0,0,0,.06); }
.yt-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 64px; height: 46px; z-index: 2;
  transition: transform .2s; pointer-events: none;
}
.yt-facade:hover .yt-btn { transform: translate(-50%,-50%) scale(1.1); }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ── 5. MODAL CARDS — estilo aprobado ──────────────────
   Featured: borde izquierdo rojo, fondo gris claro
   Normal: borde gris, fondo blanco
   Botones: "Ver detalles" borde negro, "Inscribirme" negro
   ──────────────────────────────────────────────────────── */
.mc-card {
  background: #fff;
  border: 1px solid #e8e6e1;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.mc-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.mc-card.mc-featured {
  border: 1px solid #e8e6e1;
  border-left: 3px solid #CC0000;
  background: #fff;
}
.mc-card-inner { display: flex; flex-direction: column; gap: 10px; }
.mc-nombre      { color: #111; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.mc-dur         { color: #aaa; font-size: 11px; letter-spacing: .02em; }
.mc-precio      { color: #CC0000; font-size: 26px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.mc-precio-sub  { color: #bbb; font-size: 11px; margin-top: -4px; }
.mc-diff        { background: #f6f5f3; color: #666; font-size: 11px; border-radius: 3px; padding: 10px; line-height: 1.6; }
.mc-bullets     { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.mc-bullets li  { color: #444; font-size: 12px; font-weight: 400; display: flex; align-items: flex-start; gap: 6px; line-height: 1.5; }
.mc-bullets li::before { content: "✓"; color: #CC0000; font-weight: 800; font-size: 10px; flex-shrink: 0; margin-top: 2px; }
.mc-badge       { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; }
.mc-badge.mb-pop  { background: #fff0f0; color: #CC0000; }
.mc-badge.mb-int  { background: #faeeda; color: #7a4a10; }
.mc-badge.mb-virt { background: #e6f1fb; color: #185fa5; }
.mc-card-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }

/* "Ver detalles completos" — borde, fondo transparente */
.mc-btn-details {
  width: 100%; min-height: 46px;
  padding: 10px 16px;
  background: transparent;
  color: #111;
  border: 1.5px solid #111;
  border-radius: 3px;
  font-family: "Poppins", sans-serif;
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .15s;
  letter-spacing: .02em;
}
.mc-btn-details:hover { background: #f6f5f3; }

/* "Inscribirme" — negro sólido */
.mc-btn-inscribe {
  width: 100%; min-height: 46px;
  padding: 10px 16px;
  background: #111; color: #fff;
  border: none; border-radius: 3px;
  font-family: "Poppins", sans-serif;
  font-size: 13px; font-weight: 700;
  cursor: pointer; transition: background .15s;
  letter-spacing: .02em;
}
.mc-btn-inscribe:hover { background: #CC0000; }

/* Compare button */


.mc-comparativa { background: #fff; border: 1px solid #e8e6e1; border-radius: 4px; overflow: hidden; margin-top: 16px; }
.mc-comparativa[hidden] { display: none !important; }
.ct-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ct-table { width: 100%; border-collapse: collapse; min-width: 360px; }
.ct-table th, .ct-table td { padding: 10px 12px; }
.ct-table thead th { background: #f6f5f3; color: #bbb; border-bottom: 1px solid #e8e6e1; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; text-align: center; }
.ct-table thead th:first-child { text-align: left; }
.ct-table tbody th { color: #666; border-bottom: 1px solid #e8e6e1; font-size: 11px; font-weight: 400; text-align: left; }
.ct-table tbody td { color: #444; border-bottom: 1px solid #e8e6e1; font-size: 12px; text-align: center; font-weight: 500; }
.ct-yes { color: #2d9e3c; }
.ct-no  { color: #CC0000; }
.ct-rec { padding: 12px 16px; font-size: 12px; color: #666; background: #f6f5f3; display: flex; gap: 8px; align-items: flex-start; border-top: 1px solid #e8e6e1; line-height: 1.6; }

/* ── 6. BOTTOM SHEET — deslizable desde abajo ───────────
   Mobile: ocupa 88% alto, se desliza desde abajo
   Desktop ≥768px: modal centrado
   Fondo blanco en TODAS las capas hijas
   ──────────────────────────────────────────────────────── */

/* Overlay: fondo oscuro semitransparente */


/* Panel: fondo blanco, desliza desde abajo */








.bs-close:hover  { background: #f6f5f3 !important; border-radius: 50% !important; }






.bs-feats li     { color: #444 !important; font-size: 13px !important; line-height: 1.5 !important; padding: 5px 0 !important; display: flex !important; align-items: flex-start !important; gap: 8px !important; }
.bs-feats li::before { content: "✓" !important; color: #CC0000 !important; font-weight: 800 !important; font-size: 11px !important; flex-shrink: 0 !important; margin-top: 2px !important; }

.bs-ideal li     { color: #444 !important; font-size: 13px !important; line-height: 1.5 !important; padding: 5px 0 !important; display: flex !important; align-items: flex-start !important; gap: 8px !important; }
.bs-ideal li::before { content: "✓" !important; color: #2d9e3c !important; font-weight: 800 !important; font-size: 11px !important; flex-shrink: 0 !important; margin-top: 2px !important; }
.sh-hor-grid     { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; }
.sh-hor-col      { flex: 1 !important; min-width: 140px !important; background: #f6f5f3 !important; border-radius: 6px !important; padding: 10px 12px !important; }
.sh-hor-label    { color: #888 !important; font-size: 10px !important; font-weight: 700 !important; letter-spacing: .1em !important; text-transform: uppercase !important; margin-bottom: 7px !important; display: block !important; }
.sh-slot         { color: #555 !important; font-size: 12px !important; font-weight: 500 !important; padding: 3px 0 !important; display: block !important; }



.bs-cta:hover    { background: #990000 !important; }

.bs-cta-ghost:hover { background: #f6f5f3 !important; }

/* Mobile safe area */
@media (max-width: 767px) {
  
}

 — fondo blanco en cada capa ────────── */








.bs-close:hover  { background: #f6f5f3 !important; }





.bs-feats li     { color: #444 !important; background: transparent !important; }
.bs-feats li::before { color: #CC0000 !important; }
.bs-ideal li     { color: #444 !important; background: transparent !important; }
.bs-ideal li::before { color: #2d9e3c !important; }
.sh-hor-col      { background: #f6f5f3 !important; border-radius: 6px; }
.sh-hor-label    { color: #888 !important; }
.sh-slot         { color: #555 !important; }



.bs-cta:hover    { background: #990000 !important; }

.bs-cta-ghost:hover { background: #f6f5f3 !important; }

/* ── 7. GLOBAL: no scroll horizontal ────────────────────── */
html, body       { overflow-x: hidden !important; }
.trend, .main    { overflow-x: hidden !important; }
*, *::before, *::after { box-sizing: border-box; }

/* ── 8. MOBILE ≤639px ────────────────────────────────────── */
@media (max-width: 639px) {
  /* Topbar */
  .topbar     { padding: 0 12px !important; height: 48px !important; }
  .tb-lbl     { display: none !important; }
  .tb-sep     { display: none !important; }
  .main       { padding-top: 48px !important; }

  /* Site nav */
  .site-nav   { padding: 0 16px !important; height: 50px !important; }
  .nav-links  { gap: 8px !important; }

  /* Hero */
  [data-theme="t4"] .sec-hero { padding: 32px 20px 20px !important; min-height: auto !important; }
  .hero-video-col              { padding: 0 0 20px !important; }

  /* Content */
  .sec-h2       { font-size: clamp(20px, 6.5vw, 30px) !important; }
  .sec-sub      { font-size: 14px !important; margin-bottom: 20px !important; }
  .alert-bar    { padding: 12px 20px !important; font-size: 12px !important; }

  /* CTA bands */
  .cta-band     { padding: 22px 20px !important; flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; }
  .cta-band-h   { font-size: 16px !important; }
  .btn-cta-band { width: 100% !important; text-align: center !important; min-height: 44px !important; }

  /* Grids */
  .grid3, .grid4   { grid-template-columns: 1fr !important; gap: 10px !important; background: transparent !important; }
  [data-theme="t4"] .grid3,
  [data-theme="t4"] .grid4  { border: none !important; }
  [data-theme="t4"] .benefit-card,
  [data-theme="t4"] .nivel-card { border: 1px solid #e8e6e1 !important; border-radius: 4px !important; }

  /* Modal cards — 1 col */
  .mc-grid        { grid-template-columns: 1fr !important; gap: 12px !important; }
  .mc-card-inner  { padding: 18px 16px !important; }

  /* Stats */
  .stats-band  { grid-template-columns: 1fr 1fr !important; }
  .stat-item   { padding: 18px 12px !important; }
  .stat-num    { font-size: 24px !important; }

  /* Trust */
  .trust-bar   { grid-template-columns: 1fr 1fr !important; }

  /* Metodo */
  .metodo-wrap  { grid-template-columns: 1fr !important; gap: 20px !important; }
  .pilares-grid { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }

  /* Accordion */
  .fb-acc-trigger  { padding: 14px 16px !important; min-height: 52px !important; }
  .fb-modals-list  { flex-direction: column !important; overflow-x: visible !important; }
  .fb-modal-item   { min-width: 0 !important; width: 100% !important; }
  .fb-table        { font-size: 11px !important; }
  .fb-table th,
  .fb-table td     { padding: 7px 9px !important; }

  /* Form */
  .form-wrap    { grid-template-columns: 1fr !important; gap: 20px !important; }
  .form-grid    { grid-template-columns: 1fr !important; }
  .btn-submit,
  .t4-submit4   { width: 100% !important; }
  input, select { font-size: 16px !important; min-height: 44px !important; }

  /* Pagos */
  .pago-wrap    { grid-template-columns: 1fr !important; gap: 14px !important; }

  /* Footer */
  .site-footer  { grid-template-columns: 1fr !important; padding: 28px 20px !important; gap: 20px !important; }

  /* Touch targets */
  .btn-primary, .btn-secondary, .btn-cta-nav, .btn-pagos-nav,
  .mc-btn-inscribe, .mc-btn-details, .btn-fecha,
  .fb-inscribete-btn, .bs-cta, 
  .faq-q   { min-height: 48px !important; }
  
  
}

/* ── 9. TABLET 640–899px ─────────────────────────────────── */
@media (min-width: 640px) and (max-width: 899px) {
  .cta-band     { padding: 28px !important; }
  .alert-bar    { padding: 14px 28px !important; }
  .grid3        { grid-template-columns: 1fr 1fr !important; }
  .grid4        { grid-template-columns: 1fr 1fr !important; }
  .mc-grid      { grid-template-columns: 1fr !important; gap: 12px !important; }
  .metodo-wrap  { grid-template-columns: 1fr !important; }
  .form-wrap    { grid-template-columns: 1fr !important; }
  .form-grid    { grid-template-columns: 1fr 1fr !important; }
  .site-footer  { grid-template-columns: 1fr 1fr !important; padding: 28px 28px !important; }
  .hero-video-col { padding: 0 0 24px !important; }
}

/* ── 10. DESKTOP ≥900px — restore ───────────────────────── */
@media (min-width: 900px) {
  /* Hero 2 columns */
  [data-theme="t4"] .sec-hero {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: center !important;
    gap: 48px !important;
    padding: 72px 64px !important;
    min-height: 88vh !important;
    flex-direction: unset !important;
  }
  [data-theme="t4"] .hero-left {
    display: flex !important;
    flex-direction: column !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .hero-video-col {
    grid-column: 2 !important;
    grid-row: 1 !important;
    padding: 0 !important;
    align-self: center !important;
  }

  /* Nav */
  .site-nav  { padding: 0 64px !important; }
  .nav-links { display: flex !important; }
  .main      { padding-top: 0 !important; }
  .topbar    { height: 52px !important; }
  .tb-lbl, .tb-sep { display: block !important; }

  /* Grids */
  .grid3 { grid-template-columns: repeat(3, 1fr) !important; }
  .grid4 { grid-template-columns: repeat(4, 1fr) !important; }
  .mc-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 16px !important; }

  /* Layouts */
  .metodo-wrap  { grid-template-columns: 1fr 1fr !important; gap: 60px !important; }
  .pilares-grid { grid-template-columns: 1fr 1fr !important; }
  .form-wrap    { grid-template-columns: 1fr 1fr !important; gap: 60px !important; }
  .form-grid    { grid-template-columns: 1fr 1fr !important; }
  .pago-wrap    { grid-template-columns: 1fr 1fr !important; }
  .site-footer  { grid-template-columns: 1fr 1fr 1fr !important; padding: 36px 64px !important; }
  .stats-band   { grid-template-columns: repeat(4, 1fr) !important; }
  .trust-bar    { grid-template-columns: repeat(5, 1fr) !important; }
  .cta-band     { padding: 36px 64px !important; flex-direction: row !important; align-items: center !important; }
  .btn-cta-band { width: auto !important; }
  .alert-bar    { padding: 16px 64px !important; }
}


/* ── UNIFIED SECTION PADDING ─────────────────────────
   mobile  ≤639px  : 32px 20px
   tablet  640-899 : 48px 32px
   desktop ≥900px  : 72px 64px
   Applied to: .sec, .content-sec, .page-hero, .enroll-sec
─────────────────────────────────────────────────────── */
.sec,
.content-sec,
.page-hero,
@media (min-width: 640px) and (max-width: 899px) {
  .sec,
  .content-sec,
  .page-hero,
  }
@media (max-width: 639px) {
  .sec,
  .content-sec,
  .page-hero,
  }

/* ── LOGROS SECTION ── */
.logros-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 32px;
}
.logros-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.logros-list li {
  font-size: 15px; font-weight: 300; color: var(--g600,#6b6966);
  line-height: 1.55; display: flex; align-items: flex-start; gap: 10px;
}
.logros-list li::before { content: "—"; color: #CC0000; font-weight: 900; font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.logros-cta { margin-top: 28px; }
.logros-visual {
  border-radius: 6px; overflow: hidden;
  background: #e8e6e1; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.btn-outline {
  font-family: "Poppins", sans-serif;
  font-size: 12px; font-weight: 700;
  padding: 11px 24px;
  background: transparent; color: #111;
  border: 1px solid #e8e6e1; border-radius: 3px;
  cursor: pointer; letter-spacing: .04em;
  transition: all .15s; text-decoration: none; display: inline-flex; align-items: center;
}
.btn-outline:hover { border-color: #111; }
@media (max-width: 899px) {
  .logros-wrap { grid-template-columns: 1fr !important; gap: 24px !important; }
  .logros-list li { font-size: 14px; }
}

/* ── TOPBAR HIDDEN ── */
.topbar { display: none !important; height: 0 !important; }
.site-nav { top: 0 !important; }
.main { padding-top: 56px !important; }
@media (max-width: 639px) {
  .main { padding-top: 50px !important; }
  .site-nav { top: 0 !important; }
}


/* ════════════════════════════════════════════════════
   DRAWER LATERAL — Opción A
   Desktop ≥768px : panel desde la derecha (40% ancho)
   Mobile <768px  : panel desde abajo (80vh)
   Fondo semitransparente — página visible detrás
════════════════════════════════════════════════════ */

/* Container */
.drawer {
  position: fixed; inset: 0; z-index: 9500;
  pointer-events: none; opacity: 0;
  transition: opacity .25s ease;
}
.drawer.dr-open {
  pointer-events: all; opacity: 1;
}

/* Overlay — semitransparente para ver la página */
.drawer-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.38);
  cursor: pointer;
  transition: background .25s;
}

/* Panel desktop: desde la derecha */
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(480px, 42vw);
  background: #fff;
  display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,.12);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.32,.72,0,1);
  overflow: hidden;
}
.drawer.dr-open .drawer-panel {
  transform: translateX(0);
}

/* Header */
.drawer-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px;
  padding: 20px 24px 16px;
  background: #fff;
  border-bottom: 1px solid #e8e6e1;
  flex-shrink: 0;
}
.drawer-header-left { display: flex; flex-direction: column; gap: 6px; }
.drawer-title {
  font-size: 20px; font-weight: 800;
  color: #111; letter-spacing: -.02em; line-height: 1.1;
}
.drawer-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #888; transition: background .15s; flex-shrink: 0;
  margin-top: -2px;
}
.drawer-close:hover { background: #f6f5f3; color: #111; }

/* Body */
.drawer-body {
  flex: 1; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}
.drawer-section { padding: 16px 24px; }
.drawer-section-title {
  font-size: 9px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #aaa; margin-bottom: 10px;
}
.drawer-row {
  display: flex; align-items: baseline;
  justify-content: space-between; gap: 16px;
  padding: 7px 0; border-bottom: 1px solid #f0eeec;
}
.drawer-row:last-child { border-bottom: none; }
.drawer-lbl   { font-size: 12px; color: #888; font-weight: 400; }
.drawer-val   { font-size: 14px; color: #111; font-weight: 600; text-align: right; }
.drawer-price { color: #CC0000; font-size: 18px; font-weight: 900; letter-spacing: -.02em; }
.drawer-price-sm { color: #555; font-size: 12px; font-weight: 400; }
.drawer-divider { height: 1px; background: #e8e6e1; margin: 0 24px; }

.drawer-feats {
  list-style: none; display: flex; flex-direction: column; gap: 7px;
}
.drawer-feats li {
  font-size: 13px; color: #444; font-weight: 400;
  line-height: 1.5; display: flex; align-items: flex-start; gap: 8px;
  padding: 2px 0;
}
.drawer-feats li::before {
  content: "✓"; color: #CC0000; font-weight: 800;
  font-size: 10px; flex-shrink: 0; margin-top: 3px;
}
.drawer-ideal {
  list-style: none; display: flex; flex-direction: column; gap: 7px;
}
.drawer-ideal li {
  font-size: 13px; color: #444; font-weight: 400;
  line-height: 1.5; display: flex; align-items: flex-start; gap: 8px;
  padding: 2px 0;
}
.drawer-ideal li::before {
  content: "✓"; color: #2d9e3c; font-weight: 800;
  font-size: 10px; flex-shrink: 0; margin-top: 3px;
}

/* CTA wrap */
.drawer-cta-wrap {
  padding: 14px 24px;
  background: #fff; border-top: 1px solid #eee;
  display: flex; flex-direction: column; gap: 8px;
  flex-shrink: 0;
}
.drawer-cta {
  width: 100%; min-height: 48px;
  background: #CC0000; color: #fff;
  border: none; border-radius: 4px;
  font-family: "Poppins",sans-serif;
  font-size: 13px; font-weight: 700;
  cursor: pointer; transition: background .15s; letter-spacing: .03em;
}
.drawer-cta:hover { background: #990000; }
.drawer-cta-ghost {
  width: 100%; min-height: 44px;
  background: transparent; color: #666;
  border: 1px solid #e8e6e1; border-radius: 4px;
  font-family: "Poppins",sans-serif;
  font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.drawer-cta-ghost:hover { background: #f6f5f3; }

/* Mobile ≤767px: panel desde abajo */
@media (max-width: 767px) {
  .drawer-panel {
    top: auto; right: 0; bottom: 0; left: 0;
    width: 100%;
    max-height: 82svh; max-height: 82vh;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 40px rgba(0,0,0,.15);
    transform: translateY(100%);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .drawer.dr-open .drawer-panel {
    transform: translateY(0);
  }
  /* Handle bar on mobile */
  .drawer-header::before {
    content: '';
    position: absolute; top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 36px; height: 4px;
    background: #d0d0d0; border-radius: 2px;
  }
  .drawer-header { padding-top: 22px; position: relative; }
  .drawer-title  { font-size: 18px; }
}

/* Desktop: no scroll-lock on body (page stays interactive) */
@media (min-width: 768px) {
  .drawer.dr-open ~ * { /* page content still visible */ }
}

/* Lock scroll on mobile only */
body.dr-lock-mobile { overflow: hidden; }


/* ── COMPARE BUTTON — estilo screenshot ── */
.mc-compare-trigger { margin-top: 12px; }
.mc-compare-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 52px;
  background: transparent; color: #888;
  border: 1.5px solid #d0d0d0; border-radius: 4px;
  font-family: "Poppins", sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; transition: all .2s;
  padding: 14px 20px;
}
.mc-compare-btn:hover { border-color: #999; color: #555; background: #fafafa; }
.mc-compare-btn svg { flex-shrink: 0; transition: transform .2s; color: #CC0000; }
.mc-compare-btn[aria-expanded="true"] { border-color: #CC0000; color: #CC0000; background: #fff8f8; }
.mc-compare-btn[aria-expanded="true"] svg { transform: rotate(45deg); }
@media (max-width: 639px) {
  .mc-compare-btn { font-size: 10px; letter-spacing: .1em; min-height: 48px; }
}


/* ── COMPARATIVA — mobile optimized ── */
.mc-comparativa { margin-top: 12px; }
.ct-title {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #aaa;
  padding: 14px 16px 10px;
}
.ct-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ct-table { width: 100%; border-collapse: collapse; min-width: 340px; font-size: 12px; }
.ct-table th, .ct-table td { padding: 10px 12px; border-bottom: 1px solid #f0eeec; }
.ct-table thead th {
  background: #f6f5f3; color: #bbb; font-size: 9px;
  letter-spacing: .1em; text-transform: uppercase; text-align: center;
  border-bottom: 1px solid #e8e6e1; position: sticky; top: 0;
}
.ct-table thead th:first-child { text-align: left; min-width: 120px; }
.ct-table tbody th { color: #666; font-size: 11px; font-weight: 400; text-align: left; }
.ct-table tbody td { text-align: center; color: #444; font-weight: 500; }
.ct-yes { color: #2d9e3c; font-weight: 700; }
.ct-no  { color: #CC0000; font-weight: 700; }
.ct-rec {
  padding: 12px 16px; font-size: 12px; color: #666;
  background: #f6f5f3; display: flex; gap: 8px;
  align-items: flex-start; border-top: 1px solid #e8e6e1; line-height: 1.6;
}
.ct-th-name { font-size: 12px; font-weight: 700; color: #111; margin-top: 4px; }
@media (max-width: 639px) {
  .ct-table { min-width: 300px; font-size: 11px; }
  .ct-table th, .ct-table td { padding: 8px 9px; }
  .ct-table thead th { font-size: 8px; }
  .ct-table tbody th { font-size: 10px; min-width: 100px; }
  .ct-title { font-size: 10px; padding: 12px 12px 8px; }
}


/* ── HOMO BUTTONS ── */
.homo-btns {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; align-items: center;
}
.homo-epayco-wrap { flex-shrink: 0; }
.homo-btn-pagar { white-space: nowrap; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.homo-epayco-wrap .epayco-container img { height: 48px !important; width: auto !important; border-radius: 3px; cursor: pointer; display: block; }
@media (max-width: 639px) {
  .homo-btns { flex-direction: column; }
  .homo-btns .btn-secondary, .homo-btns .homo-epayco-wrap { width: 100%; }
  .homo-btn-pagar { width: 100%; }
}

a.btn-cta-band { display:inline-flex; align-items:center; text-decoration:none; }
a.mc-btn-inscribe { display:flex; text-decoration:none; }

/* ── PAGO EPAYCO BUTTON ── */
.pago-btn-pagar {
  min-height: 44px; padding: 10px 20px;
  background: #CC0000; color: #fff;
  border: none; border-radius: 3px;
  font-family: "Poppins",sans-serif;
  font-size: 13px; font-weight: 700;
  cursor: pointer; transition: background .15s;
  display: inline-flex; align-items: center;
  letter-spacing: .03em; margin-top: 10px;
}
.pago-btn-pagar:hover { background: #990000; }
.pago-epayco .epayco-container img {
  height: 44px !important; width: auto !important;
  border-radius: 3px; cursor: pointer;
  display: block; margin-top: 10px;
}


/* ══════════════════════════════════════════════════
   ENROLLMENT FORM — ef- components
   Shared between index.html and pagos-academia.html
══════════════════════════════════════════════════ */
.enroll-sec{background:#f6f5f3}

.enroll-sec .sec-h2 .red{color:#CC0000}

.ef-block{background:#fff;border:1px solid #e8e6e1;border-radius:4px;padding:24px 20px;margin-bottom:16px}

.ef-block-title{font-size:14px;font-weight:700;color:#111;letter-spacing:-.01em;margin-bottom:20px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}

.ef-block-num{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#CC0000;color:#fff;font-size:11px;font-weight:800;flex-shrink:0}

.ef-block-sub{font-size:11px;font-weight:400;color:#aaa;display:block;width:100%;margin-top:-12px}

.ef-grid{display:grid;grid-template-columns:1fr;gap:14px}

.ef-grid{grid-template-columns:1fr 1fr}

.ef-field.full{grid-column:1/-1}

.ef-field{display:flex;flex-direction:column;gap:5px}

.ef-field label{font-size:10px;font-weight:700;color:#666;letter-spacing:.06em;text-transform:uppercase;display:flex;flex-direction:column;gap:3px}

.ef-field-hint{font-size:10px;font-weight:400;color:#aaa;text-transform:none;letter-spacing:0}

.ef-label-sm{font-size:14px;font-weight:600;color:#111;letter-spacing:0;text-transform:none}

.ef-field input[type="text"],
.ef-field input[type="email"],
.ef-field input[type="tel"],
.ef-field input[type="number"],
.ef-field select{width:100%;padding:11px 13px;font-size:15px;font-family:"Poppins",sans-serif;color:#111;background:#fff;border:1px solid #e8e6e1;border-radius:3px;outline:none;transition:border-color .15s;-webkit-appearance:none;appearance:none;min-height:48px;box-sizing:border-box}

.ef-field input:focus,.ef-field select:focus{border-color:#CC0000}

.ef-field input::placeholder{color:#ccc}

.ef-field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;padding-right:36px}

.ef-radio-group{display:flex;gap:24px;flex-wrap:wrap;margin-top:6px}

.ef-radio{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:14px;font-weight:500;color:#333;min-height:48px;padding:4px 0}

.ef-radio input[type="radio"]{display:none}

.ef-radio-box{width:22px;height:22px;border-radius:50%;border:2px solid #e8e6e1;flex-shrink:0;transition:all .15s;position:relative;background:#fff}

.ef-radio input:checked~.ef-radio-box{border-color:#CC0000;background:#CC0000}

.ef-radio input:checked~.ef-radio-box::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:8px;height:8px;border-radius:50%;background:#fff}

.ef-file-wrap{position:relative}

.ef-file-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2}

.ef-file-label{display:flex;align-items:center;gap:10px;padding:14px 16px;min-height:54px;border:1.5px dashed #e8e6e1;border-radius:3px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s;font-size:13px;color:#888;font-weight:500}

.ef-file-label svg{flex-shrink:0;color:#CC0000}

.ef-file-wrap:hover .ef-file-label,.ef-file-input:focus~.ef-file-label{border-color:#CC0000;background:#fff9f9;color:#555}

.ef-submit-wrap{display:flex;flex-direction:column;gap:12px;margin-top:8px}

.ef-submit-note{font-size:11px;color:#aaa;line-height:1.6;text-align:center;padding:0 8px}

.ef-submit-btn{width:100%;min-height:54px;background:#CC0000;color:#fff;border:none;border-radius:3px;font-family:"Poppins",sans-serif;font-size:15px;font-weight:700;letter-spacing:.03em;cursor:pointer;transition:background .15s}

.ef-submit-btn:hover{background:#990000}

.ef-submit-btn:disabled{background:#e8e6e1;color:#999;cursor:not-allowed}

.ef-success{background:#fff;border:1px solid #e8e6e1;border-radius:4px;padding:48px 24px;text-align:center}

.ef-success-icon{width:56px;height:56px;border-radius:50%;background:#CC0000;color:#fff;font-size:24px;font-weight:900;display:flex;align-items:center;justify-content:center;margin:0 auto 16px}

.ef-success-title{font-size:20px;font-weight:800;color:#111;margin-bottom:8px}

.ef-success-msg{font-size:14px;color:#666;line-height:1.65}

.enroll-sec
─────────────────────────────────────────────────────── */
.sec,
.content-sec,
.page-hero,
.enroll-sec {
  padding: 72px 64px;
  box-sizing: border-box;
}

.enroll-sec { padding: 48px 32px !important; }

.enroll-sec { padding: 32px 20px !important; }

@media(min-width:540px){
  .ef-grid{grid-template-columns:1fr 1fr}
  .ef-field.full{grid-column:1/-1}
}

@media (min-width: 640px) and (max-width: 899px) {
  .sec,
  .content-sec,
  .page-hero,
  .enroll-sec { padding: 48px 32px !important; }
}

@media (max-width: 639px) {
  .sec,
  .content-sec,
  .page-hero,
  .enroll-sec { padding: 32px 20px !important; }
}


/* ── HABEAS DATA BLOCK ─────────────────────────────────────────
   Legal-style text block. Scoped to .habeas-data-block only.
   Does NOT affect any other component.
───────────────────────────────────────────────────────────── */
.habeas-data-block {
  border: 1px solid #d8d6d0;
  border-left: 3px solid #999;
  border-radius: 3px;
  background: #f9f8f6;
  padding: 14px 16px 12px;
  margin: 14px 0 4px;
}
.habeas-compact { padding: 12px 14px 10px; }

.habeas-data-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 9px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: #666; margin-bottom: 8px;
}
.habeas-data-title svg { flex-shrink: 0; color: #888; }

.habeas-data-text {
  font-size: 10.5px; line-height: 1.7;
  color: #666; font-weight: 400;
  margin: 0 0 10px;
  font-family: "Poppins", sans-serif;
}
.habeas-data-text strong { color: #444; font-weight: 600; }

.habeas-checkbox-label {
  display: flex; align-items: flex-start; gap: 9px;
  cursor: pointer; min-height: 20px;
}
.habeas-checkbox {
  width: 16px; height: 16px; min-height: 16px;
  flex-shrink: 0; margin-top: 1px;
  accent-color: #CC0000; cursor: pointer;
}
.habeas-checkbox-txt {
  font-size: 11px; font-weight: 500; color: #555; line-height: 1.5;
}
.habeas-req { color: #CC0000; font-weight: 700; }

/* Mobile touch target */
@media (max-width: 639px) {
  .habeas-checkbox { width: 18px; height: 18px; min-height: 18px; }
  .habeas-checkbox-txt { font-size: 12px; }
  .habeas-data-text { font-size: 11px; }
}
