/* ==========================================================================
   EduMaxor — Tema "Noche" para todo el sitio WordPress
   Mismo lenguaje visual que /especialidades/: azul noche, petróleo, salvia,
   marfil y champagne, tipografía Maven Pro.
   Todo va bajo body.edx-noche para poder apagarlo sin dejar rastro.
   ========================================================================== */

body.edx-noche {
  --noche: #0b1f33;
  --noche-2: #0f2a44;
  --noche-3: #071626;
  --petroleo: #164a5b;
  --salvia: #7fa69a;
  --marfil: #f5f1e8;
  --marfil-2: #ece5d6;
  --champagne: #c8a96b;
  --champagne-2: #e2cc9a;
  --champagne-ink: #9a7a3c;
  --texto: #3b4654;
  --texto-suave: #6b7683;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 24px 60px -24px rgba(11, 31, 51, .35);

  /* Variables del tema Eduma y del kit de Elementor */
  --thim-body-primary-color: #c8a96b;
  --thim-body-secondary-color: #164a5b;
  --thim-button-text-color: #0b1f33;
  --thim-button-hover-color: #e2cc9a;
  --thim-font-body-color: #3b4654;
  --thim-font-title-color: #0b1f33;
  --e-global-color-primary: #c8a96b;
  --e-global-color-secondary: #164a5b;
  --e-global-color-accent: #7fa69a;
  --e-global-color-text: #3b4654;

  font-family: 'Maven Pro', system-ui, sans-serif !important;
  color: var(--texto);
  background: var(--marfil) !important;
  -webkit-font-smoothing: antialiased;
}

/* Evita ver los colores viejos mientras el JS termina de ajustar la paleta */
html.edx-loading body.edx-noche { opacity: 0; }
body.edx-noche { transition: opacity .35s ease; }

body.edx-noche ::selection { background: var(--champagne); color: var(--noche); }

body.edx-noche h1, body.edx-noche h2, body.edx-noche h3,
body.edx-noche h4, body.edx-noche h5, body.edx-noche h6,
body.edx-noche .elementor-heading-title,
body.edx-noche .sc_heading .title {
  font-family: 'Maven Pro', system-ui, sans-serif !important;
  letter-spacing: -.005em;
}

body.edx-noche a { transition: color .3s var(--ease); }
body.edx-noche #main-content a:not(.elementor-button):not(.nh-btn):not(.thim-button):hover { color: var(--champagne-ink); }

/* Fondo sólido: Eduma deja el bloque "¿Quieres impartir un curso?" fijo detrás
   del contenido; si #main-content fuera transparente se vería al hacer scroll. */
body.edx-noche #main-content {
  position: relative;
  z-index: 1;
  background: var(--marfil) !important;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
body.edx-noche #masthead.site-header {
  background: linear-gradient(180deg, rgba(7, 22, 38, .75), rgba(7, 22, 38, 0)) !important;
  border: 0 !important;
  box-shadow: none !important;
  transition: background .45s var(--ease), box-shadow .45s var(--ease) !important;
}

body.edx-noche #masthead.site-header.affix,
body.edx-noche.edx-scrolled #masthead.site-header {
  background: rgba(11, 31, 51, .94) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45) !important;
}

/* Barra superior */
body.edx-noche #masthead .toolbar {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}

body.edx-noche #masthead .toolbar,
body.edx-noche #masthead .toolbar a,
body.edx-noche #masthead .toolbar p,
body.edx-noche #masthead .toolbar span,
body.edx-noche #masthead .toolbar .elementor-icon-list-text {
  color: rgba(255, 255, 255, .75) !important;
  font-size: 12.5px !important;
  letter-spacing: .02em;
}

body.edx-noche #masthead .toolbar a:hover,
body.edx-noche #masthead .toolbar a:hover span { color: var(--champagne-2) !important; }

body.edx-noche #masthead .toolbar i,
body.edx-noche #masthead .toolbar svg,
body.edx-noche #masthead .toolbar .elementor-icon-list-icon i {
  color: var(--champagne) !important;
  fill: var(--champagne) !important;
}

/* Menú principal (escritorio) */
body.edx-noche #masthead .navbar-nav > li,
body.edx-noche #masthead .thim-ekits-menu__nav > li {
  border: 0 !important;
  background: transparent !important;
}

body.edx-noche #masthead .navbar-nav > li::before,
body.edx-noche #masthead .navbar-nav > li::after { display: none !important; }

body.edx-noche #masthead .navbar-nav > li > a,
body.edx-noche #masthead .navbar-nav > li > span {
  position: relative;
  color: #fff !important;
  font-family: 'Maven Pro', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  background: transparent !important;
}

body.edx-noche #masthead .navbar-nav > li > a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 22%;
  height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

body.edx-noche #masthead .navbar-nav > li:hover > a::after,
body.edx-noche #masthead .navbar-nav > li.current-menu-item > a::after,
body.edx-noche #masthead .navbar-nav > li.current-menu-ancestor > a::after { transform: scaleX(1); }

body.edx-noche #masthead .navbar-nav > li.current-menu-item > a,
body.edx-noche #masthead .navbar-nav > li.current-menu-ancestor > a,
body.edx-noche #masthead .navbar-nav > li > a.active,
body.edx-noche #masthead .navbar-nav > li:hover > a { color: var(--champagne-2) !important; }

body.edx-noche #masthead .navbar-nav .thim-ekits-menu__icon,
body.edx-noche #masthead .navbar-nav .thim-ekits-menu__icon i { color: rgba(255, 255, 255, .75) !important; }

/* Botón "Aula virtual" (último ítem del menú) */
/* En escritorio el botón vive en la barra superior (lo inserta theme-noche.js) */
body.edx-noche #masthead .width-navigation li.edx-menu-aula { display: none !important; }
body.edx-noche #masthead .toolbar a.edx-top-aula {
  display: inline-flex; align-items: center; gap: 7px; margin-right: 16px; padding: 5px 14px; border-radius: 999px;
  background: var(--champagne); color: var(--noche) !important; font-weight: 600; line-height: 1.4;
  transition: background .3s, transform .3s;
}
body.edx-noche #masthead .toolbar a.edx-top-aula i { color: var(--noche) !important; font-size: 11px; }
body.edx-noche #masthead .toolbar a.edx-top-aula:hover { background: var(--champagne-2); color: var(--noche) !important; transform: translateY(-1px); }
body.edx-noche #masthead .navbar-nav > li.edx-menu-aula { display: flex; align-items: center; margin-left: 10px; }
body.edx-noche #masthead .navbar-nav > li.edx-menu-aula > a {
  display: inline-flex !important; align-items: center; gap: 8px; line-height: 1 !important;
  padding: 11px 20px !important; border-radius: 999px; border: 1.5px solid var(--champagne);
  color: var(--champagne-2) !important; font-weight: 600 !important;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
body.edx-noche #masthead .navbar-nav > li.edx-menu-aula > a::after { display: none; }
body.edx-noche #masthead .navbar-nav > li.edx-menu-aula > a:hover {
  background: var(--champagne) !important; color: var(--noche) !important; transform: translateY(-2px);
}
body.edx-noche .mobile-menu-wrapper li.edx-menu-aula { margin-top: 18px; border: 0 !important; }
body.edx-noche .mobile-menu-wrapper li.edx-menu-aula > a {
  display: inline-flex !important; align-items: center; gap: 10px; padding: 14px 26px !important;
  border-radius: 999px; background: var(--champagne) !important; color: var(--noche) !important; font-weight: 600 !important;
}

/* Submenús */
body.edx-noche #masthead .sub-menu,
body.edx-noche #masthead .thim-ekits-menu__dropdown {
  background: var(--noche) !important;
  border: 0 !important;
  border-top: 2px solid var(--champagne) !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow) !important;
  padding: 10px 0 !important;
  overflow: hidden;
}

body.edx-noche #masthead .sub-menu a,
body.edx-noche #masthead .thim-ekits-menu__dropdown a {
  color: rgba(255, 255, 255, .85) !important;
  background: transparent !important;
  font-size: 13.5px !important;
  text-transform: none !important;
  padding: 8px 20px !important;
  transition: color .3s, padding .3s var(--ease) !important;
}

body.edx-noche #masthead .sub-menu a:hover,
body.edx-noche #masthead .thim-ekits-menu__dropdown a:hover {
  color: var(--champagne) !important;
  padding-left: 26px !important;
}

/* Botón hamburguesa */
body.edx-noche #masthead .menu-mobile-effect.navbar-toggle {
  background: rgba(255, 255, 255, .06) !important;
  border: 1px solid rgba(200, 169, 107, .35) !important;
}

body.edx-noche #masthead .menu-mobile-effect .icon-bar { background: #fff !important; }

/* ==========================================================================
   MENÚ MÓVIL A PANTALLA COMPLETA
   ========================================================================== */
@media (max-width: 1024px) {
  body.edx-noche .mobile-menu-wrapper {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    padding: 96px 32px 40px !important;
    overflow-y: auto !important;
    background: radial-gradient(ellipse at 90% 0%, rgba(22, 74, 91, .6), transparent 60%), var(--noche) !important;
    transform: none !important;
    -webkit-clip-path: circle(0% at calc(100% - 40px) 48px);
    clip-path: circle(0% at calc(100% - 40px) 48px);
    visibility: hidden;
    transition: clip-path .7s var(--ease), -webkit-clip-path .7s var(--ease), visibility 0s linear .7s !important;
  }

  body.edx-noche.mobile-menu-open .mobile-menu-wrapper {
    -webkit-clip-path: circle(150% at calc(100% - 40px) 48px);
    clip-path: circle(150% at calc(100% - 40px) 48px);
    visibility: visible;
    transition: clip-path .7s var(--ease), -webkit-clip-path .7s var(--ease), visibility 0s !important;
  }

  body.edx-noche .mobile-menu-wrapper .mobile-menu-inner,
  body.edx-noche .mobile-menu-wrapper .mobile-menu-container {
    position: static !important;
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
  }

  body.edx-noche .mobile-menu-wrapper .menu-mobile-effect.close-icon {
    position: absolute !important;
    top: 24px !important;
    right: 20px !important;
    left: auto !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .08) !important;
    display: block !important;
    cursor: pointer;
  }

  body.edx-noche .mobile-menu-wrapper .menu-mobile-effect.close-icon .icon-bar {
    position: absolute !important;
    top: 21px !important;
    left: 12px !important;
    width: 20px !important;
    height: 2px !important;
    margin: 0 !important;
    background: #fff !important;
    border-radius: 2px;
  }

  body.edx-noche .mobile-menu-wrapper .menu-mobile-effect.close-icon .icon-bar {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.edx-noche .mobile-menu-wrapper .menu-mobile-effect.close-icon .icon-bar:nth-child(1) { transform: rotate(45deg) !important; }
  body.edx-noche .mobile-menu-wrapper .menu-mobile-effect.close-icon .icon-bar:nth-child(2) { transform: rotate(-45deg) !important; }
  body.edx-noche .mobile-menu-wrapper .menu-mobile-effect.close-icon .icon-bar:nth-child(n+3) { display: none !important; }

  body.edx-noche .mobile-menu-wrapper .navbar-nav { margin: 0 !important; padding: 0 !important; }

  body.edx-noche .mobile-menu-wrapper .navbar-nav > li {
    position: relative;
    float: none !important;
    border: 0 !important;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
  }

  body.edx-noche.mobile-menu-open .mobile-menu-wrapper .navbar-nav > li { opacity: 1; transform: none; }
  body.edx-noche.mobile-menu-open .mobile-menu-wrapper .navbar-nav > li:nth-child(1) { transition-delay: .15s; }
  body.edx-noche.mobile-menu-open .mobile-menu-wrapper .navbar-nav > li:nth-child(2) { transition-delay: .2s; }
  body.edx-noche.mobile-menu-open .mobile-menu-wrapper .navbar-nav > li:nth-child(3) { transition-delay: .25s; }
  body.edx-noche.mobile-menu-open .mobile-menu-wrapper .navbar-nav > li:nth-child(4) { transition-delay: .3s; }
  body.edx-noche.mobile-menu-open .mobile-menu-wrapper .navbar-nav > li:nth-child(5) { transition-delay: .35s; }
  body.edx-noche.mobile-menu-open .mobile-menu-wrapper .navbar-nav > li:nth-child(6) { transition-delay: .4s; }
  body.edx-noche.mobile-menu-open .mobile-menu-wrapper .navbar-nav > li:nth-child(7) { transition-delay: .45s; }

  body.edx-noche .mobile-menu-wrapper .navbar-nav > li > a {
    display: block !important;
    padding: 6px 0 !important;
    font-family: 'Maven Pro', sans-serif !important;
    font-size: 30px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: -.01em !important;
    text-transform: none !important;
    color: #fff !important;
    background: transparent !important;
  }

  body.edx-noche .mobile-menu-wrapper .navbar-nav > li.current-menu-item > a,
  body.edx-noche .mobile-menu-wrapper .navbar-nav > li > a.active { color: var(--champagne) !important; }

  body.edx-noche .mobile-menu-wrapper .navbar-nav > li > .thim-ekits-menu__icon,
  body.edx-noche .mobile-menu-wrapper .navbar-nav > li > .icon-toggle {
    position: absolute !important;
    top: 8px !important;
    right: 0 !important;
    width: 40px !important;
    height: 40px !important;
    color: var(--champagne) !important;
  }

  body.edx-noche .mobile-menu-wrapper .sub-menu {
    margin: 4px 0 12px !important;
    padding: 0 0 0 16px !important;
    border-left: 2px solid var(--champagne) !important;
    background: transparent !important;
  }

  body.edx-noche .mobile-menu-wrapper .sub-menu a {
    padding: 6px 0 !important;
    font-size: 17px !important;
    color: rgba(255, 255, 255, .72) !important;
    text-transform: none !important;
    background: transparent !important;
  }

  body.edx-noche .mobile-menu-wrapper .mobile-menu-inner::after {
    content: "(+58) 414-2138274\A administracion@edumaxor.com";
    white-space: pre;
    display: block;
    margin-top: 36px;
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .7);
  }

  body.edx-noche.mobile-menu-open { overflow: hidden; }
  body.edx-noche.mobile-menu-open #wrapper-container,
  body.edx-noche.mobile-menu-open .content-pusher { transform: none !important; }
  body.edx-noche .mobile-menu-open .thim-overlay,
  body.edx-noche .body-overlay { display: none !important; }
}

/* Header en móvil */
@media (max-width: 767px) {
  body.edx-noche #masthead.site-header,
  body.edx-noche #masthead.site-header.affix,
  body.edx-noche #masthead.site-header.sticky-header {
    background: rgba(11, 31, 51, .96) !important;
    box-shadow: 0 1px 0 rgba(200, 169, 107, .2) !important;
  }

  body.edx-noche #masthead .toolbar { background: var(--noche-3) !important; }
  /* barra superior en una sola línea */
  body.edx-noche #masthead .toolbar .elementor-widget-text-editor p {
    display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0; white-space: nowrap; font-size: 13px;
  }
  body.edx-noche #masthead .toolbar a.edx-top-aula { margin-right: 4px; padding: 5px 12px; }
  /* logo y botón del menú alineados */
  body.edx-noche #masthead .thim-nav-wrapper .tm-table { display: flex !important; align-items: center !important; justify-content: space-between; }
  body.edx-noche #masthead .thim-nav-wrapper .tm-table > .menu-mobile-effect { align-self: center !important; }
  body.edx-noche #masthead .toolbar .elementor-column:first-child { display: none !important; }
  body.edx-noche #masthead .toolbar .elementor-column:last-child { width: 100% !important; }
  body.edx-noche #masthead .thim-nav-wrapper .tm-table > .table-cell { display: flex !important; align-items: center; }

  body.edx-noche #masthead .menu-mobile-effect.navbar-toggle {
    position: static !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 0 0 auto !important;
    padding: 0 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 5px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, .06) !important;
  }

  body.edx-noche #masthead .menu-mobile-effect .icon-bar {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    margin: 0 !important;
    border-radius: 2px;
    background: var(--champagne-2) !important;
  }

  body.edx-noche #masthead .menu-mobile-effect .icon-bar:nth-child(2) { width: 70% !important; margin-left: auto !important; }
}

/* ==========================================================================
   CABECERA DE PÁGINAS INTERNAS
   ========================================================================== */
body.edx-noche .top_site_main {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  background-size: cover !important;
  background-position: center !important;
  color: #fff !important;
}

body.edx-noche .top_site_main .overlay-top-header {
  opacity: 1 !important;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(22, 74, 91, .55), transparent 60%),
    linear-gradient(100deg, rgba(11, 31, 51, .96) 0%, rgba(11, 31, 51, .82) 45%, rgba(11, 31, 51, .5) 100%) !important;
}

body.edx-noche .top_site_main .page-title-wrapper {
  position: relative;
  width: 100%;
  padding: 160px 0 56px !important;
}

body.edx-noche .top_site_main .banner-wrapper { position: relative; }

body.edx-noche .top_site_main .page-title,
body.edx-noche .top_site_main h1 {
  color: #fff !important;
  font-size: clamp(36px, 5vw, 60px) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  text-transform: none !important;
  letter-spacing: -.01em !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.edx-noche .top_site_main .page-title::before,
body.edx-noche .top_site_main .banner-wrapper::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--champagne);
  border: 0 !important;
}

body.edx-noche .top_site_main .banner-wrapper > .page-title::before { display: none; }

body.edx-noche .top_site_main .banner-description,
body.edx-noche .top_site_main p { color: rgba(255, 255, 255, .78) !important; }

body.edx-noche .breadcrumbs-wrapper {
  background: var(--blanco, #fff) !important;
  border-bottom: 1px solid var(--marfil-2) !important;
}

body.edx-noche .breadcrumbs-wrapper,
body.edx-noche .breadcrumbs-wrapper a,
body.edx-noche .breadcrumbs-wrapper span { color: var(--texto-suave) !important; font-size: 13px !important; }
body.edx-noche .breadcrumbs-wrapper a:hover { color: var(--champagne-ink) !important; }

@media (max-width: 767px) {
  body.edx-noche .top_site_main { min-height: 260px; }
  body.edx-noche .top_site_main .page-title-wrapper { padding: 130px 0 36px !important; }
}

/* ==========================================================================
   BOTONES Y FORMULARIOS (en todo el sitio)
   ========================================================================== */
body.edx-noche #main-content .elementor-button,
body.edx-noche #main-content .thim-button,
body.edx-noche #main-content a.btn,
body.edx-noche #main-content .widget-button a,
body.edx-noche #main-content button[type="submit"],
body.edx-noche #main-content input[type="submit"],
body.edx-noche #main-content .wpcf7-submit,
body.edx-noche #main-content .lp-button,
body.edx-noche #main-content .woocommerce .button,
body.edx-noche .thim-login button,
body.edx-noche .thim-login input[type="submit"] {
  background: var(--champagne) !important;
  color: var(--noche) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 15px 30px !important;
  font-family: 'Maven Pro', sans-serif !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  box-shadow: 0 14px 30px -12px rgba(200, 169, 107, .75) !important;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s !important;
}

body.edx-noche #main-content .elementor-button:hover,
body.edx-noche #main-content .thim-button:hover,
body.edx-noche #main-content a.btn:hover,
body.edx-noche #main-content .widget-button a:hover,
body.edx-noche #main-content button[type="submit"]:hover,
body.edx-noche #main-content input[type="submit"]:hover,
body.edx-noche #main-content .wpcf7-submit:hover,
body.edx-noche #main-content .lp-button:hover,
body.edx-noche .thim-login button:hover,
body.edx-noche .thim-login input[type="submit"]:hover {
  background: var(--champagne-2) !important;
  color: var(--noche) !important;
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -14px rgba(200, 169, 107, .9) !important;
}

body.edx-noche #main-content .elementor-button .elementor-button-text,
body.edx-noche #main-content .elementor-button span { color: inherit !important; }

body.edx-noche #main-content input[type="text"],
body.edx-noche #main-content input[type="email"],
body.edx-noche #main-content input[type="tel"],
body.edx-noche #main-content input[type="password"],
body.edx-noche #main-content input[type="number"],
body.edx-noche #main-content input[type="url"],
body.edx-noche #main-content select,
body.edx-noche #main-content textarea,
body.edx-noche .thim-login input[type="text"],
body.edx-noche .thim-login input[type="password"],
body.edx-noche .thim-login input[type="email"] {
  background: #fff !important;
  border: 1.5px solid var(--marfil-2) !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  font-family: 'Maven Pro', sans-serif !important;
  font-size: 15px !important;
  color: var(--noche) !important;
  box-shadow: none !important;
  transition: border-color .3s, box-shadow .3s !important;
}

body.edx-noche #main-content input:focus,
body.edx-noche #main-content select:focus,
body.edx-noche #main-content textarea:focus,
body.edx-noche .thim-login input:focus {
  outline: none !important;
  border-color: var(--champagne) !important;
  box-shadow: 0 0 0 4px rgba(200, 169, 107, .18) !important;
}

body.edx-noche #main-content ::placeholder { color: #9aa3ae !important; }

/* Tarjetas, cajas de íconos y testimonios de Elementor/Eduma */
body.edx-noche #main-content .elementor-widget-image img,
body.edx-noche #main-content .elementor-image img { border-radius: 18px; }

body.edx-noche #main-content .elementor-icon,
body.edx-noche #main-content .elementor-icon i,
body.edx-noche #main-content .boxes-icon .icon i,
body.edx-noche #main-content .thim-widget-icon-box .icon i { color: var(--champagne) !important; }

body.edx-noche #main-content .elementor-icon svg,
body.edx-noche #main-content .elementor-icon-list-icon svg { fill: var(--champagne) !important; }

body.edx-noche #main-content .owl-dots .owl-dot span,
body.edx-noche #main-content .swiper-pagination-bullet { background: var(--marfil-2) !important; }
body.edx-noche #main-content .owl-dots .owl-dot.active span,
body.edx-noche #main-content .swiper-pagination-bullet-active { background: var(--champagne) !important; }

/* Isotipo "M" amarillo → champagne */
body.edx-noche #main-content img[src*="isotipo"],
body.edx-noche #main-content img.edx-iso,
body.edx-noche .edx-wm {
  filter: grayscale(1) sepia(1) saturate(1.25) brightness(1.02);
}

body.edx-noche .edx-wm {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .55;
}

body.edx-noche .edx-wm ~ .elementor-container,
body.edx-noche .edx-wm ~ .elementor-widget-wrap,
body.edx-noche .edx-wm ~ .elementor-widget-container { position: relative; z-index: 1; }

body.edx-noche #main-content blockquote {
  border-left: 3px solid var(--champagne) !important;
  color: var(--noche);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
body.edx-noche #colophon.site-footer,
body.edx-noche #colophon .footer,
body.edx-noche #colophon .footer > .container,
body.edx-noche #colophon .copyright-area {
  background: var(--noche-3) !important;
  color: rgba(255, 255, 255, .62) !important;
}

body.edx-noche #colophon {
  position: relative;
  border-top: 1px solid rgba(200, 169, 107, .25);
}

body.edx-noche #colophon h3,
body.edx-noche #colophon h4,
body.edx-noche #colophon .widget-title,
body.edx-noche #colophon .elementor-heading-title {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
}

/* Sin el bloque 'footer-bottom' el tema dejaba 450px de margen vacío: lo quitamos. */
body.edx-noche #colophon { margin-bottom: 0 !important; }
body.edx-noche #colophon .edx-legal { display: inline-block; margin-top: 8px; font-size: 13px; line-height: 1.9; }
body.edx-noche #colophon .edx-king { display: inline-block; margin-top: 4px; font-size: 12px; opacity: .85; }
body.edx-noche #colophon .edx-legal a, body.edx-noche #colophon .edx-king a { color: var(--champagne-2) !important; }
body.edx-noche #colophon .edx-legal a:hover, body.edx-noche #colophon .edx-king a:hover { color: #fff !important; }
body.edx-noche #colophon a,
body.edx-noche #colophon li,
body.edx-noche #colophon p,
body.edx-noche #colophon span,
body.edx-noche #colophon .elementor-icon-list-text {
  color: rgba(255, 255, 255, .62) !important;
}

body.edx-noche #colophon a:hover,
body.edx-noche #colophon a:hover span { color: var(--champagne-2) !important; }

body.edx-noche #colophon i,
body.edx-noche #colophon .elementor-icon-list-icon i { color: var(--champagne) !important; }
body.edx-noche #colophon svg { fill: var(--champagne) !important; }

body.edx-noche #colophon .elementor-social-icon,
body.edx-noche #colophon .social-links a {
  background: rgba(255, 255, 255, .06) !important;
  border-radius: 50% !important;
}

body.edx-noche #colophon .elementor-social-icon i,
body.edx-noche #colophon .elementor-social-icon svg { color: var(--champagne-2) !important; fill: var(--champagne-2) !important; }
body.edx-noche #colophon .elementor-social-icon:hover { background: var(--champagne) !important; }
body.edx-noche #colophon .elementor-social-icon:hover i { color: var(--noche) !important; }

body.edx-noche #colophon .elementor-divider-separator,
body.edx-noche #colophon hr { border-color: rgba(255, 255, 255, .08) !important; }

/* Bloque "¿Quieres impartir un curso?" bajo el footer */
body.edx-noche .footer-bottom {
  background: var(--noche) !important;
}

body.edx-noche .footer-bottom .elementor-section,
body.edx-noche .footer-bottom .elementor-background-overlay {
  background-color: transparent !important;
}

body.edx-noche .footer-bottom .elementor-background-overlay {
  background-image: linear-gradient(100deg, rgba(11, 31, 51, .95), rgba(22, 74, 91, .85)) !important;
  opacity: 1 !important;
}

body.edx-noche .footer-bottom h2,
body.edx-noche .footer-bottom h3,
body.edx-noche .footer-bottom .title,
body.edx-noche .footer-bottom .elementor-heading-title { color: #fff !important; }

body.edx-noche .footer-bottom p,
body.edx-noche .footer-bottom .sub-heading { color: rgba(255, 255, 255, .72) !important; }

body.edx-noche .footer-bottom a.elementor-button,
body.edx-noche .footer-bottom .thim-button,
body.edx-noche .footer-bottom a[class*="button"] {
  background: var(--champagne) !important;
  color: var(--noche) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  font-weight: 600 !important;
  letter-spacing: .06em !important;
}

/* Botón volver arriba */
body.edx-noche #back-to-top {
  background: var(--champagne) !important;
  color: var(--noche) !important;
  border-radius: 50% !important;
  box-shadow: 0 14px 30px -12px rgba(200, 169, 107, .8) !important;
}

body.edx-noche #back-to-top i,
body.edx-noche #back-to-top::before { color: var(--noche) !important; }

/* Segundo botón "subir" que trae el footer de Elementor */
body.edx-noche .back-to-top__button {
  background: var(--champagne) !important;
  border-radius: 50% !important;
  box-shadow: 0 14px 30px -12px rgba(200, 169, 107, .8) !important;
}

body.edx-noche .back-to-top__button i,
body.edx-noche #colophon .back-to-top__button i { color: var(--noche) !important; }

/* ==========================================================================
   ANIMACIÓN DE ENTRADA PARA CONTENIDO DE ELEMENTOR
   ========================================================================== */
body.edx-noche .edx-rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

body.edx-noche .edx-rv.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   INICIO NUEVO (templates/home-noche.php)
   ========================================================================== */
body.edx-noche-home #main-content { padding: 0 !important; }

/* El inicio móvil anterior no aplica con el tema nuevo */
body.edx-noche .edumaxor-mobile-home { display: none !important; }

.nh { font-family: 'Maven Pro', system-ui, sans-serif; color: var(--texto); font-size: 16px; line-height: 1.7; overflow: hidden; overflow: clip; } /* clip: no rompe el índice fijo (sticky) */
.nh *, .nh *::before, .nh *::after { box-sizing: border-box; }
.nh img { max-width: 100%; display: block; }
.nh a { text-decoration: none; }
.nh h1, .nh h2, .nh h3, .nh h4 { color: var(--noche); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; text-transform: none; }
.nh p { margin: 0 0 1em; }
.nh-wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }

/* Botones */
.nh-btn {
  --bg: var(--champagne); --fg: var(--noche);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: 'Maven Pro', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
  background: var(--bg); color: var(--fg) !important; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .4s;
  box-shadow: 0 14px 30px -12px rgba(200, 169, 107, .7);
}
.nh-btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: #fff;
  transform: translateX(-101%); transition: transform .55s var(--ease);
}
.nh-btn:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(200, 169, 107, .9); color: var(--fg) !important; }
.nh-btn:hover::before { transform: translateX(0); }
.nh-btn i { transition: transform .4s var(--ease); }
.nh-btn:hover i { transform: translateX(5px); }
.nh-btn--ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.nh-btn--ghost::before { background: rgba(255, 255, 255, .12); }
.nh-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--champagne); }
.nh-btn--dark { --bg: var(--noche); --fg: #fff; box-shadow: 0 14px 30px -12px rgba(11, 31, 51, .6); }
.nh-btn--dark::before { background: var(--petroleo); }
.nh-btn--dark:hover { box-shadow: 0 20px 40px -14px rgba(11, 31, 51, .7); }
.nh-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--noche) !important; border-bottom: 1px solid var(--champagne); padding-bottom: 4px; }
.nh-link i { color: var(--champagne); transition: transform .4s var(--ease); }
.nh-link:hover i { transform: translateX(5px); }
.nh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

/* Hero */
.nh-hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding: 190px 0 140px; background: var(--noche);
}
.nh-hero__bg {
  position: absolute; inset: -40px; background: url('/wp-content/uploads/edx/edx-hero-cirugia.jpg') 65% center/cover no-repeat;
  animation: nhKenburns 22s ease-in-out infinite alternate; will-change: transform;
}
@keyframes nhKenburns { from { transform: scale(1.05); } to { transform: scale(1.18) translate3d(-2%, -2%, 0); } }
.nh-hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(22, 74, 91, .55), transparent 60%),
    linear-gradient(100deg, rgba(11, 31, 51, .96) 0%, rgba(11, 31, 51, .84) 45%, rgba(11, 31, 51, .5) 100%);
}
.nh-hero__particles { position: absolute; inset: 0; pointer-events: none; }
.nh-hero__particles span {
  position: absolute; bottom: -20px; border-radius: 50%;
  background: var(--champagne); opacity: 0; animation: nhRise linear infinite;
}
@keyframes nhRise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .6; } 100% { transform: translateY(-110vh); opacity: 0; } }
.nh-hero__inner { position: relative; }
.nh-hero__content { max-width: 800px; }
.nh-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(200, 169, 107, .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--champagne-2); margin-bottom: 28px;
}
.nh-badge b { background: var(--champagne); color: var(--noche); border-radius: 999px; padding: 4px 12px; font-weight: 700; }
/* Aval: insignia + logos UAGro al lado */
.nh-hero__aval { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-bottom: 28px; width: max-content; max-width: calc(100vw - 48px); }
.nh-hero__aval .nh-badge { margin-bottom: 0; }
.nh-hero__logos { display: flex; align-items: center; gap: 10px; }
.nh-hero__logos a { display: block; border-radius: 999px; }
.nh-hero__logos a:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.nh-hero__logos img {
  width: 72px; height: 72px; object-fit: contain; padding: 8px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 3px rgba(200, 169, 107, .4), 0 12px 26px -12px rgba(0, 0, 0, .7); transition: transform .5s var(--ease);
}
.nh-hero__logos img.is-wide { width: auto; border-radius: 999px; padding: 8px 18px; }
/* Logos en movimiento (solo celular) */
.nh-hero__marquee { display: none; }
@media (max-width: 767px) {
  .nh-hero__marquee {
    display: block; overflow: hidden; margin: 0 -16px 26px; padding: 6px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  }
  .nh-hero__marquee-track { --g: 14px; display: flex; align-items: center; gap: var(--g); width: max-content; animation: edxMarquee 16s linear infinite; }
  .nh-hero__marquee:hover .nh-hero__marquee-track { animation-play-state: paused; }
  .nh-hero__marquee a { display: block; flex: none; border-radius: 999px; }
  .nh-hero__marquee img {
    display: block; width: 64px; height: 64px; object-fit: contain; padding: 7px; border-radius: 50%; background: #fff;
    box-shadow: 0 0 0 3px rgba(200, 169, 107, .4), 0 10px 22px -10px rgba(0, 0, 0, .7);
  }
  .nh-hero__marquee img.is-wide { width: auto; border-radius: 999px; padding: 8px 16px; }
  .nh-hero__logos { display: none; }
}
@keyframes edxMarquee { to { transform: translateX(calc(-50% - var(--g) / 2)); } }
@media (prefers-reduced-motion: reduce) { .nh-hero__marquee-track { animation: none; } .nh-hero__marquee { overflow-x: auto; } }
.nh-hero__logos a:hover img { transform: translateY(-3px) scale(1.06); }
.nh .nh-hero__title { color: #fff; font-size: clamp(42px, 7vw, 86px); font-weight: 600; letter-spacing: -.015em; margin-bottom: 24px; line-height: 1.04; }
.nh-hero__title em { font-style: normal; color: inherit; font-weight: inherit; } /* título en un solo color */
.nh-line { display: block; overflow: hidden; padding-bottom: .04em; }
.nh-line > span { display: inline-block; transform: translateY(110%); animation: nhLineUp 1.1s var(--ease) forwards; }
.nh-line:nth-child(2) > span { animation-delay: .15s; }
.nh-line:nth-child(3) > span { animation-delay: .3s; }
@keyframes nhLineUp { to { transform: translateY(0); } }
.nh-hero__lead { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, .82); max-width: 620px; margin-bottom: 40px !important; }
.nh-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.nh-hero__meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 36px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.nh-hero__meta i { color: var(--champagne); margin-right: 8px; }
.nh-fade { opacity: 0; transform: translateY(26px); animation: nhFadeUp 1s var(--ease) forwards; }
.nh-d1 { animation-delay: .5s; } .nh-d2 { animation-delay: .7s; } .nh-d3 { animation-delay: .9s; }
@keyframes nhFadeUp { to { opacity: 1; transform: none; } }
.nh-hero__scroll {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 20px;
}
.nh-hero__scroll::after {
  content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--champagne); animation: nhScrollDot 1.8s ease-in-out infinite;
}
@keyframes nhScrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
.nh-seal { position: absolute; right: 6%; bottom: 16%; width: 170px; height: 170px; display: grid; place-items: center; }
.nh-seal svg { position: absolute; inset: 0; animation: nhSpin 26s linear infinite; }
.nh-seal svg text { font-family: 'Maven Pro', sans-serif; font-size: 10.5px; letter-spacing: 3.2px; fill: var(--champagne-2); text-transform: uppercase; }
.nh-seal i { font-size: 38px; color: var(--champagne); }
@keyframes nhSpin { to { transform: rotate(360deg); } }

/* Franja de aval */
.nh-aval { position: relative; z-index: 2; margin-top: -70px; }
.nh-aval__card { background: #fff; border-radius: 24px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.nh-aval__item { padding: 34px 28px; position: relative; transition: background .4s; }
.nh-aval__item + .nh-aval__item::before { content: ''; position: absolute; left: 0; top: 26%; bottom: 26%; width: 1px; background: var(--marfil-2); }
.nh-aval__item:hover { background: var(--marfil); }
.nh-aval__icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--noche), var(--petroleo)); color: var(--champagne); font-size: 22px;
  transition: transform .5s var(--ease);
}
.nh-aval__item:hover .nh-aval__icon { transform: rotate(-8deg) scale(1.08); }
.nh .nh-aval__item h3 { font-size: 21px; margin-bottom: 6px; }
.nh-aval__item p { font-size: 14px; color: var(--texto-suave); margin: 0; }
.nh-aval__logos { grid-column: 1 / -1; padding: 30px 34px 28px; border-bottom: 1px solid var(--marfil-2); text-align: center; }
.nh-aval__logos-tit { display: block; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne-ink); margin-bottom: 20px; }
.nh-aval__logos-row { display: flex; justify-content: center; align-items: center; gap: 22px 64px; flex-wrap: wrap; }
.nh-aval__logos-row img { height: 92px; width: auto; transition: transform .5s var(--ease); }
.nh-aval__logos-row img.nh-aval__logo-edx { height: 58px; }
.nh-aval__logos-row img:hover { transform: translateY(-4px) scale(1.05); }

/* Secciones */
.nh-section { padding: 130px 0; position: relative; background: var(--marfil); }
.nh-section--tight { padding: 100px 0; }
.nh-section--white { background: #fff; }
.nh-section--dark { background: var(--noche); color: rgba(255, 255, 255, .8); overflow: hidden; }
.nh .nh-section--dark h2, .nh .nh-section--dark h3 { color: #fff; }
.nh-eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--champagne-ink); margin-bottom: 18px;
}
.nh-section--dark .nh-eyebrow, .nh-cta .nh-eyebrow { color: var(--champagne); }
.nh-eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.nh .nh-title { font-size: clamp(34px, 4.6vw, 56px); }
.nh .nh-title--sm { font-size: clamp(30px, 3.6vw, 44px); }
.nh-title em { font-style: normal; color: var(--petroleo); font-weight: 500; }
.nh-section--dark .nh-title em, .nh-cta .nh-title em { color: var(--champagne); }
.nh-head { max-width: 720px; margin-bottom: 60px; }
.nh-head p { font-size: 17px; color: var(--texto-suave); }
.nh-section--dark .nh-head p { color: rgba(255, 255, 255, .65); }
.nh-head--center { margin-inline: auto; text-align: center; }
.nh-head--center .nh-eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; }
.nh-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.nh-head--split > div { max-width: 680px; }
.nh-head--split .nh-title { margin: 0; }

/* La especialidad */
.nh-about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.nh-about__media { position: relative; isolation: isolate; }
.nh-about__img { border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.nh-about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.nh-about__media:hover .nh-about__img img { transform: scale(1.06); }
.nh-about__frame { position: absolute; inset: 28px -28px -28px 28px; border: 1.5px solid var(--champagne); border-radius: 28px; z-index: -1; }
.nh-about__float {
  position: absolute; left: -36px; bottom: 48px; background: var(--noche); color: #fff; border-radius: 20px;
  padding: 22px 26px; box-shadow: var(--shadow); max-width: 260px; animation: nhFloat 6s ease-in-out infinite;
}
.nh-about__float strong { display: block; font-size: 24px; color: var(--champagne); line-height: 1.1; margin-bottom: 4px; }
.nh-about__float span { font-size: 13px; color: rgba(255, 255, 255, .75); }
@keyframes nhFloat { 50% { transform: translateY(-12px); } }
.nh-lead { font-size: 24px; line-height: 1.4; color: var(--noche); font-style: normal; }
.nh-checks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.nh-checks li { display: flex; gap: 14px; align-items: flex-start; }
.nh-checks i {
  flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px;
  background: rgba(127, 166, 154, .2); color: var(--petroleo); margin-top: 2px;
}

/* Por qué EduMaxor */
.nh-goals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.nh-goal {
  position: relative; padding: 38px 30px 34px; border-radius: 18px; background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; transition: transform .5s var(--ease), border-color .5s, background .5s;
}
.nh-goal::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(200, 169, 107, .16), transparent 45%);
  opacity: 0; transition: opacity .5s;
}
.nh-goal:hover { transform: translateY(-8px); border-color: rgba(200, 169, 107, .45); background: rgba(255, 255, 255, .06); }
.nh-goal:hover::before { opacity: 1; }
.nh-goal__num { font-size: 54px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--champagne); margin-bottom: 22px; display: block; font-weight: 600; }
.nh .nh-goal h3 { font-size: 22px; margin-bottom: 12px; }
.nh-goal p { font-size: 14.5px; color: rgba(255, 255, 255, .66); margin: 0; position: relative; }
.nh-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(120px); opacity: .35; pointer-events: none; }
.nh-glow--a { background: var(--petroleo); top: -200px; right: -150px; }
.nh-glow--b { background: rgba(200, 169, 107, .5); bottom: -300px; left: -200px; opacity: .18; }

/* Instalaciones */
.nh-gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 280px 280px; gap: 20px; }
.nh-gallery__item { position: relative; border-radius: 22px; overflow: hidden; margin: 0; }
.nh-gallery__item:first-child { grid-row: span 2; }
.nh-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.nh-gallery__item:hover img { transform: scale(1.08); }
.nh-gallery__item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 60px 26px 22px; color: #fff; font-size: 21px; font-weight: 600;
  background: linear-gradient(transparent, rgba(11, 31, 51, .88));
  transform: translateY(12px); opacity: .92; transition: all .5s var(--ease);
}
.nh-gallery__item figcaption small { display: block; font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, .75); }
.nh-gallery__item:hover figcaption { transform: none; opacity: 1; }
/* Tira de fotos en movimiento */
.nh-strip { margin-top: 64px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.nh-strip__track { --g: 18px; display: flex; gap: var(--g); width: max-content; animation: nhStrip 60s linear infinite; }
.nh-strip:hover .nh-strip__track { animation-play-state: paused; }
.nh-strip__track img { height: 300px; width: auto; border-radius: 18px; object-fit: cover; box-shadow: 0 18px 40px -22px rgba(11, 31, 51, .45); }
@keyframes nhStrip { to { transform: translateX(calc(-50% - var(--g) / 2)); } }
@media (prefers-reduced-motion: reduce) { .nh-strip__track { animation: none; } .nh-strip { overflow-x: auto; } }

/* Testimonios */
.nh-testis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.nh-testi {
  position: relative; margin: 0; padding: 34px 28px 28px; border-radius: 22px; background: #fff;
  box-shadow: 0 2px 0 var(--marfil-2); display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.nh-testi:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.nh-testi__q { font-size: 26px; color: var(--champagne); }
body.edx-noche .nh .nh-testi blockquote { border: 0 !important; quotes: none; }
.nh-testi blockquote::before, .nh-testi blockquote::after { content: none !important; display: none !important; }
.nh-testi blockquote { margin: 0; padding: 0; border: 0; font-size: 15px; line-height: 1.7; color: var(--texto); font-style: normal; }
.nh-testi figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--marfil-2); }
.nh-testi figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--champagne); }
.nh-testi figcaption strong { display: block; color: var(--noche); font-size: 15px; line-height: 1.3; }
.nh-testi figcaption small { display: block; color: var(--texto-suave); font-size: 12.5px; }

/* Cursos y salón */
.nh-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.nh-split__media { border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.nh-split__media img { width: 100%; height: 100%; object-fit: cover; }
.nh-split__text p { color: var(--texto-suave); margin-bottom: 28px; }
.nh-allies { margin-top: 90px; text-align: center; }
.nh-allies p { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 26px; }
.nh-allies__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; }
.nh-allies__row img { height: 44px; width: auto; filter: grayscale(1); opacity: .6; transition: filter .4s, opacity .4s; }
.nh-allies__row img:hover { filter: none; opacity: 1; }

/* CTA final */
.nh-cta { background: var(--noche); color: #fff; overflow: hidden; }
.nh-cta__bg { position: absolute; inset: 0; background: url('/wp-content/uploads/edx/edx-grupo.jpg') center 30%/cover; opacity: .12; }
.nh-cta__grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.nh .nh-cta h2 { color: #fff; }
.nh-cta__text p { color: rgba(255, 255, 255, .72); font-size: 17px; margin-bottom: 36px; }
.nh-contact {
  position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(200, 169, 107, .3);
  border-radius: 28px; padding: 40px 36px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.nh .nh-contact h3 { color: #fff; font-size: 26px; margin-bottom: 22px; }
.nh-contact > a { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; color: rgba(255, 255, 255, .85) !important; border-bottom: 1px solid rgba(255, 255, 255, .08); transition: color .3s; }
.nh-contact > a:hover { color: var(--champagne-2) !important; }
.nh-contact > a i { width: 20px; margin-top: 5px; color: var(--champagne); text-align: center; }
.nh-contact__social { display: flex; gap: 12px; margin-top: 24px; }
.nh-contact__social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: var(--champagne-2) !important; transition: background .3s, color .3s, transform .3s;
}
.nh-contact__social a:hover { background: var(--champagne); color: var(--noche) !important; transform: translateY(-3px); }

/* Aula virtual */
.nh-hero__aula { display: inline-flex; align-items: center; gap: 8px; color: var(--champagne-2) !important; border-bottom: 1px solid rgba(200, 169, 107, .5); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.nh-hero__aula i { margin: 0 !important; }
.nh-hero__aula:hover { color: #fff !important; border-color: #fff; }
.nh-portals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.nh-portal {
  position: relative; display: flex; flex-direction: column; padding: 40px 34px 34px; border-radius: 24px;
  background: var(--marfil); color: var(--texto) !important; border: 1px solid var(--marfil-2); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.nh-portal::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at 85% 0%, rgba(200, 169, 107, .22), transparent 55%);
}
.nh-portal:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(200, 169, 107, .6); }
.nh-portal:hover::before { opacity: 1; }
.nh-portal__icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; font-size: 24px;
  background: linear-gradient(135deg, var(--noche), var(--petroleo)); color: var(--champagne);
  transition: transform .5s var(--ease);
}
.nh-portal:hover .nh-portal__icon { transform: rotate(-8deg) scale(1.08); }
.nh-portal__tag { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne-ink); margin-bottom: 8px; }
.nh .nh-portal h3 { font-size: 26px; margin-bottom: 10px; }
.nh-portal p { font-size: 15px; color: var(--texto-suave); }
.nh-portal ul { list-style: none; padding: 0; margin: 4px 0 30px; display: grid; gap: 10px; font-size: 14.5px; }
.nh-portal ul i { color: var(--petroleo); font-size: 12px; margin-right: 8px; }
.nh-portal__cta {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: var(--noche); color: #fff; transition: background .4s, color .4s;
}
.nh-portal__cta i { transition: transform .4s var(--ease); }
.nh-portal:hover .nh-portal__cta { background: var(--champagne); color: var(--noche); }
.nh-portal:hover .nh-portal__cta i { transform: translateX(5px); }
.nh-portal--feature { background: var(--noche); border-color: rgba(200, 169, 107, .35); color: rgba(255, 255, 255, .8) !important; }
.nh .nh-portal--feature h3 { color: #fff; }
.nh-portal--feature p { color: rgba(255, 255, 255, .65); }
.nh-portal--feature ul i { color: var(--champagne); }
.nh-portal--feature .nh-portal__icon { background: var(--champagne); color: var(--noche); }
.nh-portal--feature .nh-portal__tag { color: var(--champagne); }
.nh-portal--feature .nh-portal__cta { background: var(--champagne); color: var(--noche); }
.nh-portal--feature:hover .nh-portal__cta { background: #fff; }
.nh-aula__note { text-align: center; margin: 44px 0 0 !important; color: var(--texto-suave); font-size: 15px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; }
.nh-aula__note > i { color: var(--champagne-ink); }

/* Apariciones al hacer scroll */
.nh-reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * .1s); }
.nh-reveal--left { transform: translateX(-40px); }
.nh-reveal--right { transform: translateX(40px); }
.nh-reveal.is-visible { opacity: 1; transform: none; }

/* Responsive del inicio */
@media (max-width: 1100px) {
  .nh-aval__card { grid-template-columns: repeat(2, 1fr); }
  .nh-aval__item:nth-child(3)::before { display: none; }
  .nh-goals, .nh-testis { grid-template-columns: repeat(2, 1fr); }
  .nh-portals { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .nh-about, .nh-cta__grid, .nh-split { grid-template-columns: 1fr; gap: 64px; }
  .nh-about__media { max-width: 560px; }
  .nh-seal { display: none; }
}

@media (max-width: 767px) {
  .nh-hero { padding: 150px 0 120px; min-height: 92svh; }
  .nh .nh-hero__title { font-size: clamp(38px, 11vw, 54px); }
  .nh-badge { font-size: 11px; letter-spacing: .04em; flex-wrap: nowrap; border-radius: 22px; padding-right: 14px; }
  .nh-badge b { white-space: nowrap; }
  .nh-hero__aval { gap: 12px; }
  .nh-hero__logos { gap: 8px; }
  .nh-hero__logos img { width: 56px; height: 56px; padding: 7px; }
  .nh-hero__logos img.is-wide { width: auto; padding: 7px 12px; }
  .nh-hero__actions .nh-btn { width: 100%; justify-content: center; }
  .nh-hero__meta { gap: 14px 22px; font-size: 13px; }
  .nh-hero__scroll { display: none; }
  .nh-aval { margin-top: -48px; }
  .nh-aval__card { grid-template-columns: 1fr; border-radius: 20px; }
  .nh-aval__item { padding: 24px 22px; display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; align-items: center; }
  .nh-aval__icon { grid-row: span 2; margin: 0; }
  .nh .nh-aval__item h3 { font-size: 18px; margin: 0; }
  .nh-aval__item + .nh-aval__item::before { left: 22px; right: 22px; top: 0; bottom: auto; width: auto; height: 1px; }
  .nh-aval__logos { padding: 24px 18px 22px; }
  .nh-aval__logos-tit { margin-bottom: 16px; }
  .nh-aval__logos-row { display: grid; grid-template-columns: repeat(4, auto); gap: 14px; justify-content: space-around; align-items: center; }
  .nh-aval__logos-row img { height: 58px; }
  .nh-aval__logos-row img.nh-aval__logo-edx { height: auto; width: 68px; }
  .nh-strip { margin-top: 40px; }
  .nh-strip__track { --g: 12px; animation-duration: 45s; }
  .nh-strip__track img { height: 200px; border-radius: 14px; }
  .nh-section { padding: 84px 0; }
  .nh-section--tight { padding: 72px 0; }
  .nh-head { margin-bottom: 40px; }
  .nh-head--split { flex-direction: column; align-items: flex-start; }
  .nh-about__frame { inset: 16px -12px -16px 16px; }
  .nh-about__float { left: 12px; right: 12px; bottom: -24px; max-width: none; padding: 18px 20px; }
  .nh-about__text { margin-top: 24px; }
  .nh-lead { font-size: 20px; }
  .nh-goals, .nh-testis { grid-template-columns: 1fr; gap: 16px; }
  .nh-goal { padding: 28px 24px; }
  .nh-portal { padding: 30px 24px 26px; }
  .nh .nh-portal h3 { font-size: 23px; }
  .nh-goal__num { font-size: 42px; margin-bottom: 14px; }
  .nh-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px; gap: 12px; }
  .nh-gallery__item:first-child { grid-column: span 2; grid-row: auto; }
  .nh-gallery__item figcaption { font-size: 16px; padding: 40px 16px 14px; }
  .nh-gallery__item figcaption small { font-size: 12px; }
  .nh-allies { margin-top: 64px; }
  .nh-allies__row { gap: 22px 32px; }
  .nh-allies__row img { height: 32px; }
  .nh-cta__text .nh-btn { width: 100%; justify-content: center; }
  .nh-contact { padding: 30px 24px; }
  .nh-glow { width: 360px; height: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  .nh *, .nh *::before, .nh *::after, body.edx-noche .edx-rv { animation: none !important; transition: none !important; }
  .nh-reveal, .nh-fade, .nh-line > span, body.edx-noche .edx-rv { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   PÁGINAS REHECHAS (Contáctanos, Quiénes somos, Galería) — diseño noche
   ========================================================================== */
/* Oculta el banner de título que el tema inyecta en páginas internas */
body.edx-noche .nh .top_site_main { display: none !important; }

/* Hero de página */
.nh-pagehero { position: relative; overflow: hidden; background: var(--noche); color: #fff; padding: 150px 0 70px; }
.nh-pagehero__bg { position: absolute; inset: -30px; background-size: cover; background-position: center; opacity: .5; }
.nh-pagehero__overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,31,51,.96) 0%, rgba(11,31,51,.82) 45%, rgba(11,31,51,.55) 100%); }
.nh-pagehero__inner { position: relative; max-width: 760px; }
.nh .nh-pagehero__title { color: #fff; font-size: clamp(34px, 5.5vw, 62px); font-weight: 600; line-height: 1.08; margin: 6px 0 14px; }
.nh-pagehero__title em { font-style: normal; color: var(--champagne); }
.nh-pagehero p { color: rgba(255,255,255,.8); font-size: 17px; max-width: 620px; }

/* Contacto */
.nh-contacto__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.nh-contacto__info { display: grid; gap: 14px; }
.nh-cinfo { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px; background: var(--marfil); border: 1px solid var(--marfil-2); transition: transform .4s var(--ease), box-shadow .4s var(--ease); color: var(--noche); }
a.nh-cinfo:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.nh-cinfo__ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; background: linear-gradient(135deg, var(--noche), var(--petroleo)); color: var(--champagne); }
.nh-cinfo__ic--wa { background: #25d366; color: #fff; }
.nh-cinfo b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne-ink); margin-bottom: 3px; }
.nh-cinfo span { font-size: 14.5px; line-height: 1.4; }
.nh-contacto__formwrap { background: #fff; border: 1px solid var(--marfil-2); border-radius: 26px; padding: 40px; box-shadow: var(--shadow); }
.nh-contacto__lead { color: var(--texto-suave); font-size: 15px; margin: 4px 0 24px; }
.nh-form { display: grid; gap: 16px; }
.nh-field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--noche); margin-bottom: 7px; }
.nh-form input, .nh-form textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--marfil-2); border-radius: 14px; font-family: inherit; font-size: 15px; color: var(--noche); background: var(--marfil); transition: border-color .3s, background .3s; }
.nh-form input:focus, .nh-form textarea:focus { outline: none; border-color: var(--champagne); background: #fff; }
.nh-form textarea { resize: vertical; }
.nh-form .nh-btn { border: 0; cursor: pointer; justify-self: start; }
.nh-form .nh-btn:disabled { opacity: .7; cursor: default; }
.nh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nh-form__msg { margin: 4px 0 0; font-size: 14px; min-height: 1px; }
.nh-form__msg.is-ok { color: #157347; font-weight: 600; }
.nh-form__msg.is-error { color: #c1121f; font-weight: 600; }
.nh-map { margin-top: 48px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--marfil-2); }
.nh-map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Quiénes somos */
.nh-qlogos { display: flex; justify-content: center; align-items: center; gap: 30px 60px; flex-wrap: wrap; }
.nh-qlogos img { height: 120px; width: auto; padding: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(200,169,107,.35), var(--shadow); transition: transform .5s var(--ease); }
.nh-qlogos a:hover img { transform: translateY(-5px) scale(1.04); }
.nh-quote { max-width: 860px; margin-inline: auto; text-align: center; position: relative; }
.nh-quote i { font-size: 34px; color: var(--champagne); margin-bottom: 18px; display: inline-block; }
.nh .nh-quote p { font-size: clamp(22px, 3.2vw, 32px); line-height: 1.4; color: #fff; margin: 0 0 18px; font-weight: 600; }
.nh-quote span { color: var(--champagne-2); font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.nh-team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.nh-team__card { margin: 0; text-align: center; padding: 26px 16px; border-radius: 22px; background: var(--marfil); border: 1px solid var(--marfil-2); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.nh-team__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.nh-team__photo { width: 108px; height: 108px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(200,169,107,.4); }
.nh-team__photo img { width: 100%; height: 100%; object-fit: cover; }
.nh-team__card strong { display: block; font-size: 16.5px; color: var(--noche); }
.nh-team__card span { display: block; font-size: 13px; color: var(--champagne-ink); font-weight: 600; margin-top: 2px; }
.nh-ubic { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }

/* Galería */
.nh-galgrid { columns: 3; column-gap: 18px; }
.nh-galitem { position: relative; break-inside: avoid; margin: 0 0 18px; border-radius: 18px; overflow: hidden; cursor: pointer; box-shadow: var(--shadow); }
.nh-galitem img { display: block; width: 100%; height: auto; transition: transform 1s var(--ease); }
.nh-galitem:hover img { transform: scale(1.06); }
.nh-galitem figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; color: #fff; font-size: 15px; font-weight: 600; background: linear-gradient(transparent, rgba(11,31,51,.9)); transform: translateY(8px); opacity: 0; transition: all .4s var(--ease); }
.nh-galitem:hover figcaption, .nh-galitem:focus figcaption { transform: none; opacity: 1; }
.nh-galitem__zoom { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(11,31,51,.6); color: var(--champagne-2); opacity: 0; transition: opacity .4s; }
.nh-galitem:hover .nh-galitem__zoom { opacity: 1; }
.nh-galcta { text-align: center; margin-top: 46px; }
.nh-galcta p { font-size: 19px; color: var(--noche); font-weight: 600; margin-bottom: 18px; }
.nh-lightbox { position: fixed; inset: 0; z-index: 99999; background: rgba(8,16,28,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.nh-lightbox.is-open { display: flex; }
.nh-lightbox__fig { margin: 0; max-width: 90vw; max-height: 88vh; text-align: center; }
.nh-lightbox__fig img { max-width: 90vw; max-height: 80vh; border-radius: 12px; box-shadow: 0 30px 80px -20px #000; }
.nh-lightbox__fig figcaption { color: #fff; margin-top: 14px; font-size: 15px; }
.nh-lightbox__close { position: absolute; top: 18px; right: 24px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; opacity: .8; }
.nh-lightbox__close:hover { opacity: 1; }
.nh-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 22px; cursor: pointer; transition: background .3s; }
.nh-lightbox__nav:hover { background: rgba(200,169,107,.5); }
.nh-lightbox__prev { left: 20px; }
.nh-lightbox__next { right: 20px; }

@media (max-width: 1100px) {
  .nh-contacto__grid, .nh-ubic { grid-template-columns: 1fr; gap: 36px; }
  .nh-team { grid-template-columns: repeat(3, 1fr); }
  .nh-qlogos img { height: 92px; }
  .nh-galgrid { columns: 2; }
}
@media (max-width: 680px) {
  .nh-pagehero { padding: 120px 0 54px; }
  .nh-contacto__formwrap { padding: 28px 22px; }
  .nh-team { grid-template-columns: repeat(2, 1fr); }
  .nh-qlogos { gap: 20px 32px; }
  .nh-qlogos img { height: 74px; padding: 10px; }
  .nh-galgrid { columns: 1; }
  .nh-map iframe { height: 300px; }
}

/* ==========================================================================
   INICIO · Convocatoria Primera Cohorte 2027-2029 + Propedéutico 2026
   (contenido de los PDF "arte volante" y "Propedéutico", 2026-11-06)
   ========================================================================== */

/* Hero: convocatoria */
.nh-hero__kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px !important; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne-2); }
.nh-hero__pulse { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #5fd38d; box-shadow: 0 0 0 0 rgba(95, 211, 141, .6); animation: nhPulse 2s infinite; }
@keyframes nhPulse { 70% { box-shadow: 0 0 0 12px rgba(95, 211, 141, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 211, 141, 0); } }
.nh-hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px; margin-top: 34px; }
.nh-hero__facts div { padding: 14px 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nh-hero__facts strong { display: block; font-size: 20px; color: #fff; line-height: 1.2; font-weight: 600; }
.nh-hero__facts span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .62); letter-spacing: .04em; }
.nh-hero__facts div:first-child { border-color: rgba(200, 169, 107, .55); background: rgba(200, 169, 107, .12); }
.nh-hero__facts div:first-child strong { color: var(--champagne-2); }
.nh-countdown b { color: #fff; font-weight: 600; }

/* Índice rápido */
.nh-jump { background: var(--marfil); padding: 64px 0 0; text-align: center; }
.nh-jump__tit { display: block; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 16px; }
.nh-jump__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.nh-jump__row a {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px; background: #fff;
  border: 1px solid var(--marfil-2); color: var(--noche) !important; font-weight: 600; font-size: 14px;
  box-shadow: 0 6px 18px -12px rgba(11, 31, 51, .4); transition: transform .35s var(--ease), background .35s, color .35s, border-color .35s;
}
.nh-jump__row a i { color: var(--champagne-ink); transition: color .35s; }
.nh-jump__row a:hover { transform: translateY(-3px); background: var(--noche); color: #fff !important; border-color: var(--noche); }
.nh-jump__row a:hover i { color: var(--champagne); }

/* Convocatoria: banda estilo volante */
.nh-conv { padding-top: 70px; }
.nh-conv__banner {
  position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center;
  padding: 56px 60px; border-radius: 32px; overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(120deg, var(--noche-3) 0%, var(--noche) 55%, var(--petroleo) 130%);
  box-shadow: var(--shadow);
}
.nh-conv__banner::before, .nh-conv__banner::after { /* franjas diagonales del volante */
  content: ''; position: absolute; z-index: -1; height: 18px; width: 140%; left: -20%; transform: rotate(-3deg);
  background: var(--champagne); opacity: .9;
}
.nh-conv__banner::before { bottom: 22px; }
.nh-conv__banner::after { bottom: -6px; height: 26px; background: var(--noche-3); opacity: 1; }
.nh-conv__tag {
  display: inline-block; padding: 9px 26px; margin-bottom: 22px; background: var(--champagne); color: var(--noche);
  font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transform: skewX(-14deg);
  box-shadow: 8px 8px 0 rgba(200, 169, 107, .25);
}
.nh-conv__pre { margin: 0 0 4px !important; font-size: 22px; font-weight: 600; color: #fff; }
.nh .nh-conv__banner h2 { color: var(--champagne); font-size: clamp(30px, 4.2vw, 54px); line-height: 1.05; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; margin: 0 0 12px; }
.nh-conv__cohorte { margin: 0 0 16px !important; font-size: clamp(18px, 2vw, 24px); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.nh-conv__invita { color: rgba(255, 255, 255, .72); margin-bottom: 30px !important; font-size: 16px; }
.nh-conv__implant { margin: 0 0 30px; position: relative; }
.nh-conv__implant img { display: block; width: 100%; height: auto; border-radius: 24px; border: 6px solid rgba(255, 255, 255, .95); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); transform: rotate(2.5deg); transition: transform .8s var(--ease); }
.nh-conv__banner:hover .nh-conv__implant img { transform: rotate(0) scale(1.02); }

.nh-conv__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 32px; margin-top: 44px; align-items: start; }
.nh-conv__perfiles { display: grid; gap: 18px; }
.nh-perfil { display: flex; gap: 20px; padding: 28px 28px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--marfil-2); transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .9s var(--ease); }
.nh-perfil:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.nh-perfil__ic { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 23px; background: var(--champagne); color: var(--noche); box-shadow: 0 0 0 6px rgba(200, 169, 107, .18); }
.nh .nh-perfil h3 { font-size: 19px; margin: 4px 0 10px; display: inline-block; padding: 6px 18px; border-radius: 999px; background: var(--noche); color: #fff; line-height: 1.3; }
.nh-perfil p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--texto); }

.nh-crit { background: #fff; border-radius: 26px; padding: 34px 34px 28px; border: 1px solid var(--marfil-2); box-shadow: var(--shadow); }
.nh-crit__head .nh-eyebrow { margin-bottom: 10px; }
.nh .nh-crit__head h3 { font-size: 26px; margin-bottom: 6px; }
.nh-crit__head p { font-size: 14.5px; color: var(--texto-suave); margin-bottom: 22px; }
.nh-crit__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.nh-crit__list li { display: grid; grid-template-columns: 40px 1fr auto; grid-template-rows: auto 8px; column-gap: 14px; row-gap: 8px; align-items: center; }
.nh-crit__ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--marfil); color: var(--petroleo); font-size: 16px; }
.nh-crit__txt { font-size: 15px; font-weight: 600; color: var(--noche); line-height: 1.3; }
.nh-crit__pct { font-size: 22px; font-weight: 700; color: var(--noche); line-height: 1; }
.nh-crit__bar { grid-column: 2 / -1; height: 8px; border-radius: 99px; background: var(--marfil); overflow: hidden; }
.nh-crit__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--petroleo), var(--salvia)); transition: width 1.4s var(--ease); transition-delay: calc(.3s + var(--i, 0) * .12s); }
.nh-crit.is-visible .nh-crit__bar span { width: calc(var(--p) * 2.5); } /* 40% = barra llena */
.nh-crit__list li:nth-child(2) .nh-crit__ic { background: var(--champagne); color: var(--noche); }
.nh-crit__list li:nth-child(2) .nh-crit__pct { color: var(--champagne-ink); }
.nh-crit__list li:nth-child(2) .nh-crit__bar span { background: linear-gradient(90deg, var(--champagne-ink), var(--champagne)); }
.nh-crit__note { display: flex; gap: 10px; margin: 24px 0 0 !important; padding-top: 18px; border-top: 1px solid var(--marfil-2); font-size: 13.5px; color: var(--texto-suave); }
.nh-crit__note i { color: var(--champagne-ink); margin-top: 3px; }

/* Fechas importantes */
.nh-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.nh-timeline::before { content: ''; position: absolute; left: 8%; right: 8%; top: 32px; height: 2px; background: repeating-linear-gradient(90deg, var(--champagne) 0 8px, transparent 8px 14px); }
.nh-tl { position: relative; text-align: center; padding: 0 6px; }
.nh-tl__dot {
  position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--noche); color: var(--champagne); font-size: 22px; box-shadow: 0 0 0 7px #fff, 0 14px 30px -12px rgba(11, 31, 51, .6);
  transition: transform .5s var(--ease);
}
.nh-tl:hover .nh-tl__dot { transform: translateY(-4px) scale(1.06); }
.nh-tl__fecha { display: block; font-size: 15px; font-weight: 700; color: var(--noche); margin-bottom: 6px; }
.nh .nh-tl h3 { font-size: 15px; font-weight: 500; color: var(--texto-suave); margin: 0; line-height: 1.4; }
.nh-tl__estado { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); z-index: 2; padding: 3px 11px; border-radius: 99px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; background: var(--marfil); color: var(--texto-suave); }
.nh-tl__estado[hidden] { display: none; }
.nh-tl.is-done .nh-tl__dot { background: var(--salvia); color: #fff; }
.nh-tl.is-done { opacity: .7; }
.nh-tl.is-now .nh-tl__dot { background: var(--champagne); color: var(--noche); animation: nhRing 2.2s infinite; }
.nh-tl.is-now .nh-tl__estado { background: #1f9d55; color: #fff; }
.nh-tl.is-next .nh-tl__estado { background: var(--noche); color: var(--champagne-2); }
@keyframes nhRing { 0% { box-shadow: 0 0 0 7px #fff, 0 0 0 7px rgba(200, 169, 107, .7); } 100% { box-shadow: 0 0 0 7px #fff, 0 0 0 22px rgba(200, 169, 107, 0); } }
.nh-tl--fin .nh-tl__dot { background: linear-gradient(135deg, var(--champagne), var(--champagne-ink)); color: var(--noche); }
.nh-tl--fin .nh-tl__fecha { color: var(--champagne-ink); }
.nh-fechas__cta { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 28px 34px; border-radius: 22px; background: var(--marfil); border: 1px dashed rgba(200, 169, 107, .7); }
.nh-fechas__cta p { margin: 0; font-size: 16px; color: var(--texto); max-width: 680px; }
.nh-fechas__cta strong { color: var(--noche); }
.nh-fechas__cta .nh-btn { flex: none; }

/* Propedéutico */



.nh-pdocs { margin-top: 70px; text-align: center; }
.nh .nh-pdocs h3 { font-size: 22px; margin-bottom: 22px; }
.nh-pdocs__row, .nh-adjuntos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.nh-chip { display: inline-flex; align-items: center; gap: 12px; padding: 7px 18px 7px 7px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); text-align: left; }
.nh-chip b { display: block; color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.nh-chip small { display: block; color: rgba(255, 255, 255, .55); font-size: 12px; }
.nh-chip--lead { border-color: rgba(200, 169, 107, .6); background: rgba(200, 169, 107, .12); }
.nh-chip--lead small { color: var(--champagne-2); }
.nh-chip--light { background: #fff; border-color: var(--marfil-2); padding-right: 20px; }
.nh-chip--light b { color: var(--noche); }

/* El programa: modalidad mixta y ruta */
#programa .nh-lead { font-size: 21px; }
.nh-checks b { color: var(--noche); }
.nh-mixta { margin-top: 110px; display: grid; grid-template-columns: .9fr 1.3fr; gap: 50px; align-items: center; padding: 46px; border-radius: 28px; background: #fff; border: 1px solid var(--marfil-2); box-shadow: var(--shadow); }
.nh .nh-mixta h3 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 12px; }
.nh-mixta__text p { color: var(--texto-suave); margin: 0; }
.nh-mes__dias { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-bottom: 22px; }
.nh-mes__dias span { aspect-ratio: 1; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 600; opacity: 0; transform: scale(.6); transition: opacity .4s var(--ease), transform .4s var(--ease); transition-delay: calc(var(--d) * 25ms); }
.nh-mixta.is-visible .nh-mes__dias span { opacity: 1; transform: none; }
.nh-mes__dias .is-pres { background: var(--champagne); color: var(--noche); }
.nh-mes__dias .is-dist { background: rgba(22, 74, 91, .1); color: var(--petroleo); }
.nh-mes__leyenda { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.nh-mes__item { padding-left: 16px; border-left: 4px solid; }
.nh-mes__item--pres { border-color: var(--champagne); }
.nh-mes__item--dist { border-color: rgba(22, 74, 91, .35); }
.nh-mes__item strong { display: block; color: var(--noche); font-size: 16px; margin-bottom: 4px; }
.nh-mes__item p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--texto-suave); }

/* Inversión */
.nh-precios__nota { text-align: center; margin: 26px 0 0 !important; font-size: 14px; color: var(--texto-suave); }
.nh-precios__nota i { color: var(--champagne-ink); margin-right: 6px; }

/* Autoridades y docentes */

/* El volante */
.nh-volante__grid { display: grid; grid-template-columns: .8fr 1fr; gap: 70px; align-items: center; }
.nh-volante__img { position: relative; display: block; max-width: 440px; width: 100%; margin-inline: auto; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(11, 31, 51, .55), 0 0 0 1px var(--marfil-2); }
.nh-volante__img.is-visible { transform: rotate(-2deg); }
.nh-volante__img.is-visible:hover { transform: rotate(0) scale(1.02); }
.nh-volante__img img { display: block; width: 100%; height: auto; }
.nh-volante__zoom { position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--noche); color: var(--champagne); font-size: 17px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); }
.nh-volante__text > p { color: var(--texto-suave); font-size: 17px; margin-bottom: 26px; }
.nh-docs { display: grid; gap: 12px; }
.nh-doc { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 14px 22px 14px 14px; border-radius: 18px; background: var(--marfil); border: 1px solid var(--marfil-2); color: var(--noche) !important; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.nh-doc:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: rgba(200, 169, 107, .6); }
.nh-doc__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; background: var(--noche); color: var(--champagne); }
.nh-doc b { display: block; font-size: 16px; }
.nh-doc small { display: block; font-size: 13px; color: var(--texto-suave); }
.nh-doc > i { color: var(--champagne-ink); }
.nh-doc--wa .nh-doc__ic { background: #25d366; color: #fff; }

/* Aula virtual sobre fondo marfil */
.nh-portal--white { background: #fff; }

/* Contacto: coordinador */
.nh-contact__coord { display: flex; gap: 16px; align-items: flex-start; margin: 0 !important; padding: 0 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; font-weight: 600; }
.nh-contact__coord i { width: 20px; margin-top: 5px; color: var(--champagne); text-align: center; }
.nh-contact__coord small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--champagne); }

/* Anclas: que el header fijo no tape el título */
#convocatoria, #fechas, #propedeutico, #programa, #inversion, #docentes, #volante { scroll-margin-top: 60px; }

@media (max-width: 1100px) {
  .nh-conv__banner { grid-template-columns: 1fr; padding: 48px 40px 64px; }
  .nh-conv__implant { max-width: 440px; margin: 0; }
  .nh-conv__grid, .nh-mixta, .nh-volante__grid { grid-template-columns: 1fr; }
  .nh-timeline { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .nh-timeline::before { display: none; }
  .nh-volante__grid { gap: 48px; }
}

@media (max-width: 767px) {
  .nh-hero__kicker { font-size: 11px; letter-spacing: .12em; gap: 10px; }
  .nh-hero__facts { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 26px; }
  .nh-hero__facts div { padding: 10px 10px; border-radius: 12px; }
  .nh-hero__facts strong { font-size: 14.5px; }
  .nh-hero__facts span { font-size: 11px; letter-spacing: 0; }
  .nh-jump { padding-top: 48px; }
  .nh-jump__row { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 12px; scrollbar-width: none; }
  .nh-jump__row::-webkit-scrollbar { display: none; }
  .nh-jump__row a { flex: none; padding: 10px 16px; font-size: 13.5px; }
  .nh-conv { padding-top: 44px; }
  .nh-conv__banner { padding: 36px 22px 60px; border-radius: 24px; gap: 26px; }
  .nh-conv__tag { font-size: 13px; padding: 7px 20px; }
  .nh-conv__pre { font-size: 18px; }
  .nh-conv__banner .nh-btn { width: 100%; justify-content: center; }
  .nh-conv__implant img { transform: none; border-width: 4px; }
  .nh-conv__grid { margin-top: 28px; gap: 18px; }
  .nh-perfil { flex-direction: column; gap: 14px; padding: 24px 22px; }
  .nh-perfil__ic { width: 50px; height: 50px; font-size: 20px; }
  .nh .nh-perfil h3 { font-size: 17px; }
  .nh-crit { padding: 26px 20px 22px; border-radius: 22px; }
  .nh .nh-crit__head h3 { font-size: 22px; }
  .nh-crit__list li { grid-template-columns: 36px 1fr auto; column-gap: 12px; }
  .nh-crit__ic { width: 36px; height: 36px; font-size: 14px; }
  .nh-crit__txt { font-size: 14px; }
  .nh-crit__pct { font-size: 19px; }
  .nh-timeline { grid-template-columns: 1fr; row-gap: 0; }
  .nh-timeline::before { display: block; left: 30px; right: auto; top: 10px; bottom: 30px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--champagne) 0 8px, transparent 8px 14px); }
  .nh-tl { display: grid; grid-template-columns: 60px 1fr; grid-template-rows: auto auto auto; column-gap: 18px; text-align: left; padding: 0 0 24px; align-items: center; }
  .nh-tl__dot { grid-column: 1; grid-row: 1 / span 3; margin: 0; width: 60px; height: 60px; font-size: 20px; box-shadow: 0 0 0 6px #fff, 0 12px 26px -12px rgba(11, 31, 51, .6); }
  .nh-tl__estado { position: static; transform: none; grid-column: 2; grid-row: 1; justify-self: start; margin-bottom: 4px; }
  .nh-tl__fecha { grid-column: 2; grid-row: 2; margin: 0; }
  .nh .nh-tl h3 { grid-column: 2; grid-row: 3; }
  .nh-fechas__cta { flex-direction: column; align-items: stretch; padding: 24px 20px; margin-top: 30px; }
  .nh-fechas__cta .nh-btn { justify-content: center; }
  .nh-pdocs { margin-top: 54px; }
  .nh-chip { padding-right: 14px; }
  .nh-chip b { font-size: 13.5px; }
  .nh-mixta { margin-top: 80px; padding: 26px 18px; gap: 28px; border-radius: 22px; }
  .nh-mes__dias { gap: 4px; }
  .nh-mes__dias span { border-radius: 6px; font-size: 10.5px; }
  .nh-mes__leyenda { grid-template-columns: 1fr; }
  .nh-volante__img { max-width: 320px; }
  .nh-doc { grid-template-columns: 46px 1fr auto; padding: 12px 16px 12px 12px; }
  .nh-doc__ic { width: 46px; height: 46px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .nh-mes__dias span { opacity: 1 !important; transform: none !important; }
  .nh-crit__bar span { width: calc(var(--p) * 2.5) !important; }
}
.nh-prope { overflow: clip; } /* evita que el ancla #temario desplace el contenido interno */

/* ==========================================================================
   v2 (2026-11-06): ruta con fotos reales, precios con foto y "Quiénes te acompañan" por sede
   ========================================================================== */
.nh-chip { padding: 10px 20px; }

/* Ruta del residente */
.nh-ruta { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nh-ruta__item { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--marfil-2); box-shadow: 0 2px 0 var(--marfil-2); transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity .9s var(--ease); }
.nh-ruta__item:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.nh-ruta__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--noche); }
.nh-ruta__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.nh-ruta__item:hover .nh-ruta__media > img { transform: scale(1.08); }
.nh-ruta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 51, 0) 35%, rgba(11, 31, 51, .85) 100%); }
.nh-ruta__num { position: absolute; left: 22px; bottom: 14px; z-index: 1; font-size: 46px; line-height: 1; font-weight: 700; color: transparent; -webkit-text-stroke: 1.2px var(--champagne-2); }
.nh-ruta__seal { position: absolute; top: 14px; right: 14px; z-index: 1; width: 62px; height: 62px; border-radius: 50%; background: #fff; display: grid; place-items: center; padding: 7px; box-shadow: 0 0 0 3px rgba(200, 169, 107, .55), 0 12px 24px -10px rgba(0, 0, 0, .6); }
.nh-ruta__seal img { width: 100%; height: 100%; object-fit: contain; }
.nh-ruta__body { padding: 24px 24px 28px; border-top: 3px solid var(--champagne); }
.nh .nh-ruta__body h3 { font-size: 20px; margin-bottom: 8px; }
.nh-ruta__body p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--texto-suave); }

/* Inversión */
.nh-precios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.nh-precio { display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: var(--marfil); border: 1px solid var(--marfil-2); transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity .9s var(--ease); }
.nh-precio:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.nh-precio__media { position: relative; height: 200px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 28px; }
.nh-precio__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.nh-precio:hover .nh-precio__media > img { transform: scale(1.07); }
.nh-precio__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 31, 51, .25) 0%, rgba(11, 31, 51, .92) 100%); }
.nh-precio__paso { position: relative; z-index: 2; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 5px 14px 5px 5px; border-radius: 99px; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.nh-precio__paso b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--champagne); color: var(--noche); letter-spacing: 0; font-size: 12px; }
.nh .nh-precio__media h3 { position: relative; z-index: 2; margin: 0; color: #fff; font-size: 25px; }
.nh-precio__body { flex: 1; display: flex; flex-direction: column; padding: 28px 28px 30px; }
.nh-precio__monto { margin: 0 !important; font-size: 62px; line-height: 1; font-weight: 700; color: var(--noche); letter-spacing: -.02em; }
.nh-precio__monto span { font-size: 28px; margin-left: 6px; vertical-align: top; position: relative; top: 8px; color: var(--champagne-ink); }
.nh-precio__sub { margin: 10px 0 22px !important; padding-bottom: 20px; border-bottom: 1px solid var(--marfil-2); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-suave); }
.nh-precio ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.nh-precio li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; color: var(--texto); }
.nh-precio li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 14px; height: 8px; border-left: 2px solid var(--petroleo); border-bottom: 2px solid var(--petroleo); transform: rotate(-45deg); }
.nh-precio__extra { margin: auto 0 0 !important; padding-top: 18px; font-size: 13px; line-height: 1.55; color: var(--texto-suave); }
.nh-precio__extra::before { content: ""; display: block; width: 100%; border-top: 1px dashed rgba(200, 169, 107, .6); margin-bottom: 14px; }
.nh-precio--feature { background: var(--noche); border-color: var(--noche); }
.nh-precio--feature .nh-precio__monto { color: #fff; }
.nh-precio--feature .nh-precio__monto span { color: var(--champagne); }
.nh-precio--feature .nh-precio__sub { color: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .12); }
.nh-precio--feature li { color: rgba(255, 255, 255, .85); }
.nh-precio--feature li::before { border-color: var(--champagne); }
.nh-precio__mx { margin-top: auto; padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(200, 169, 107, .55); background: rgba(200, 169, 107, .1); display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
.nh-precio--feature ul + .nh-precio__mx { margin-top: 24px; }
.nh-precio__mx span { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne); }
.nh-precio__mx strong { grid-column: 2; grid-row: 1 / span 2; font-size: 32px; color: #fff; font-weight: 700; line-height: 1; }
.nh-precio__mx strong small { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .6); margin-left: 2px; }
.nh-precio__mx em { grid-column: 1; font-style: normal; font-size: 13.5px; color: rgba(255, 255, 255, .7); }

/* Quiénes te acompañan */
.nh-sedes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.nh-sede { display: flex; flex-direction: column; background: #fff; border-radius: 26px; overflow: hidden; border: 1px solid var(--marfil-2); box-shadow: var(--shadow); }
.nh-sede__head { display: flex; align-items: center; gap: 18px; padding: 24px 28px; background: linear-gradient(120deg, var(--noche-3), var(--noche) 60%, var(--petroleo) 140%); color: #fff; }
.nh-sede__logos { display: flex; flex: none; }
.nh-sede__logos img { width: 62px; height: 62px; object-fit: contain; padding: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(200, 169, 107, .5); }
.nh-sede__logos img + img { margin-left: -12px; }
.nh-sede__head small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--champagne); margin-bottom: 4px; }
.nh-sede__head strong { display: block; font-size: 21px; font-weight: 600; line-height: 1.25; }
.nh-sede__list { list-style: none; margin: 0; padding: 8px 0; }
.nh-sede__list li { position: relative; padding: 18px 28px 18px 32px; border-bottom: 1px solid var(--marfil-2); transition: background .35s; }
.nh-sede__list li:last-child { border-bottom: 0; }
.nh-sede__list li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--champagne); transform: scaleY(.35); transition: transform .4s var(--ease); }
.nh-sede__list li:hover { background: var(--marfil); }
.nh-sede__list li:hover::before { transform: scaleY(1); }
.nh-sede__list strong { display: block; font-size: 17px; color: var(--noche); font-weight: 600; }
.nh-sede__list span { display: block; font-size: 14px; color: var(--texto-suave); margin-top: 2px; }
.nh-director { display: flex; align-items: center; gap: 20px; margin: 24px 28px 4px; padding: 18px; border-radius: 20px; background: var(--marfil); }
.nh-director img { flex: none; width: 104px; height: 104px; border-radius: 18px; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px rgba(200, 169, 107, .6), 0 18px 30px -16px rgba(11, 31, 51, .6); }
.nh-director strong { display: block; font-size: 20px; color: var(--noche); margin-bottom: 4px; }
.nh-director span { display: block; font-size: 14px; color: var(--texto-suave); line-height: 1.5; }
body.edx-noche #main-content .nh-sede__quote { margin: auto 28px 28px; padding: 4px 0 4px 18px !important; font-size: 17px; line-height: 1.6; color: var(--noche); font-style: normal; font-weight: 500; border: 0 !important; border-left: 3px solid var(--champagne) !important; quotes: none; }
.nh-sede__quote::before, .nh-sede__quote::after { content: none !important; }
.nh-faculty { margin-top: 24px; padding: 30px 34px 22px; border-radius: 26px; background: #fff; border: 1px solid var(--marfil-2); }
.nh-faculty__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--marfil-2); }
.nh .nh-faculty__head h3 { margin: 0; font-size: 22px; }
.nh-faculty__head span { flex: none; padding: 6px 14px; border-radius: 99px; background: var(--noche); color: var(--champagne-2); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nh-faculty__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 34px; }
.nh-faculty__list li { position: relative; padding: 14px 0 14px 22px; border-bottom: 1px solid var(--marfil-2); font-size: 15.5px; font-weight: 600; color: var(--noche); }
.nh-faculty__list li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--champagne); transform: rotate(45deg); }

@media (max-width: 1100px) {
  .nh-ruta { grid-template-columns: repeat(2, 1fr); }
  .nh-precios { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .nh-sedes { grid-template-columns: 1fr; }
  .nh-faculty__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .nh-ruta { grid-template-columns: 1fr; gap: 16px; }
  .nh-ruta__body { padding: 20px 20px 24px; }
  .nh-precio__media { height: 170px; padding: 18px 22px; }
  .nh .nh-precio__media h3 { font-size: 22px; }
  .nh-precio__body { padding: 24px 22px 26px; }
  .nh-precio__monto { font-size: 54px; }
  .nh-sede__head { padding: 20px; gap: 14px; }
  .nh-sede__logos img { width: 52px; height: 52px; }
  .nh-sede__head strong { font-size: 18px; }
  .nh-sede__list li { padding: 15px 20px 15px 24px; }
  .nh-director { margin: 18px 16px 4px; padding: 14px; gap: 14px; }
  .nh-director img { width: 78px; height: 78px; border-radius: 14px; }
  .nh-director strong { font-size: 17px; }
  .nh-director span { font-size: 13px; }
  body.edx-noche #main-content .nh-sede__quote { margin: 16px 20px 22px; font-size: 15.5px; }
  .nh-faculty { padding: 22px 20px 12px; }
  .nh-faculty__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .nh-faculty__list { grid-template-columns: 1fr; }
}

/* Materiales: lista limpia, sin íconos */
@media (max-width: 767px) {
}
@media (max-width: 767px) {
  .nh-precio__mx { grid-template-columns: 1fr; row-gap: 4px; }
  .nh-precio__mx strong { grid-column: 1; grid-row: auto; margin: 4px 0 2px; }
}

/* Equipo EduMaxor con fotos */
.nh-equipo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 28px 4px; }
.nh-persona { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; border: 1px solid var(--marfil-2); transition: border-color .4s, box-shadow .4s var(--ease); }
.nh-persona:hover { border-color: rgba(200, 169, 107, .6); box-shadow: 0 16px 30px -22px rgba(11, 31, 51, .5); }
.nh-persona img { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px rgba(200, 169, 107, .6); }
.nh-persona strong { display: block; font-size: 16px; color: var(--noche); line-height: 1.3; margin-bottom: 2px; }
.nh-persona span { display: block; font-size: 13px; line-height: 1.45; color: var(--texto-suave); }
.nh-sede--edx .nh-sede__quote { margin-top: 22px !important; }
body.edx-noche #main-content .nh-sede--edx .nh-sede__quote { margin-top: 22px; }
@media (max-width: 767px) {
  .nh-equipo { grid-template-columns: 1fr; margin: 12px 16px 4px; gap: 10px; }
  .nh-persona img { width: 62px; height: 62px; }
}
.nh-persona { flex-direction: column; text-align: center; gap: 12px; padding: 20px 14px 18px; }
.nh-persona img { width: 92px; height: 92px; }
.nh-persona strong { font-size: 16.5px; }
@media (max-width: 767px) {
  .nh-equipo { grid-template-columns: 1fr 1fr; }
  .nh-persona { padding: 16px 10px 14px; }
  .nh-persona img { width: 74px; height: 74px; }
  .nh-persona strong { font-size: 14.5px; }
  .nh-persona span { font-size: 12px; }
}

.nh-director--2 { margin-top: 12px; background: #fff; border: 1px solid var(--marfil-2); }
@media (max-width: 767px) { .nh-director--2 { margin-top: 10px; } }

/* ==========================================================================
   v3 (2026-11-06): propedéutico con fotos, temario en carrusel, materiales
   ========================================================================== */

/* Intro del propedéutico */
.nh-prope__top { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; margin-bottom: 64px; }
.nh-prope__intro > p { font-size: 17px; color: rgba(255, 255, 255, .7); max-width: 520px; }
.nh-prope__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0 34px; border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.nh-prope__stats div { padding: 20px 0 18px; }
.nh-prope__stats div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.nh-prope__stats strong { display: block; font-size: 46px; line-height: 1; font-weight: 700; color: var(--champagne); }
.nh-prope__stats strong small { font-size: 24px; }
.nh-prope__stats span { display: block; margin-top: 6px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.nh-prope__foto { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.nh-prope__foto::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 31, 51, 0) 50%, rgba(11, 31, 51, .85) 100%); }
.nh-prope__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.nh-prope__foto:hover img { transform: scale(1.05); }
.nh-prope__foto figcaption { position: absolute; left: 26px; bottom: 24px; z-index: 2; padding: 14px 20px; border-radius: 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(200, 169, 107, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nh-prope__foto figcaption span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-2); }
.nh-prope__foto figcaption strong { display: block; font-size: 19px; color: #fff; font-weight: 600; }

/* Tarjetas de información (mismo estilo que precios) */
.nh-precios--4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.nh-prope__info .nh-precio { border-color: rgba(255, 255, 255, .08); }
.nh-prope__info .nh-precio__media { height: 170px; padding: 18px 22px; }
.nh .nh-prope__info .nh-precio__media h3 { font-size: 21px; }
.nh-prope__info .nh-precio__body { padding: 22px 22px 24px; }
.nh-prope__info .nh-precio--feature { background: var(--noche-3); border-color: rgba(200, 169, 107, .45); }
.nh-prope__info .nh-precio__monto { font-size: 54px; }
.nh-grupo { padding: 12px 0; border-bottom: 1px solid var(--marfil-2); }
.nh-grupo:first-child { padding-top: 0; }
.nh-grupo:last-child { border-bottom: 0; padding-bottom: 0; }
.nh-grupo span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne-ink); }
.nh-grupo strong { display: block; font-size: 21px; color: var(--noche); font-weight: 600; margin-top: 2px; }
.nh-lugar { margin: 0 0 14px !important; font-size: 14.5px; line-height: 1.6; color: var(--texto); }
.nh-lugar__map { margin-top: auto; align-self: flex-start; font-size: 14px; }

/* Qué debe traer */
.nh-traer { margin-top: 70px; }
.nh .nh-traer__head h3 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 24px; }
.nh-traer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nh-traer__item { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; padding: 14px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .4s, background .4s, opacity .9s var(--ease), transform .9s var(--ease); }
.nh-traer__item:hover { border-color: rgba(200, 169, 107, .5); background: rgba(255, 255, 255, .08); }
.nh-traer__item img { width: 112px; height: 112px; border-radius: 16px; object-fit: cover; }
.nh-traer__item span { display: block; font-size: 13px; font-weight: 700; color: var(--champagne); letter-spacing: .1em; }
.nh .nh-traer__item h4 { color: #fff; font-size: 17px; margin: 2px 0 6px; }
.nh-traer__item p { margin: 0; font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .65); }

/* Temario: carrusel */
.nh-temario { margin-top: 90px; scroll-margin-top: 90px; }
.nh-temario__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.nh .nh-temario__head h3 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 6px; }
.nh-temario__head p { margin: 0; color: rgba(255, 255, 255, .62); }
.nh-carr__ctrl { display: flex; align-items: center; gap: 14px; flex: none; }
.nh-carr__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(200, 169, 107, .55); background: transparent; color: var(--champagne); font-size: 16px; cursor: pointer; transition: background .35s, color .35s, opacity .35s; }
.nh-carr__btn:hover { background: var(--champagne); color: var(--noche); }
.nh-carr__btn:disabled { opacity: .3; pointer-events: none; }
.nh-carr__count { min-width: 56px; text-align: center; font-size: 15px; color: rgba(255, 255, 255, .6); }
.nh-carr__count b { color: #fff; font-size: 20px; }
.nh-carr {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 4px 2px 18px; scrollbar-width: none; outline: none;
}
.nh-carr::-webkit-scrollbar { display: none; }
.nh-tday { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--marfil); }
.nh-tday__media { position: relative; height: 180px; overflow: hidden; }
.nh-tday__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.nh-tday:hover .nh-tday__media img { transform: scale(1.06); }
.nh-tday__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 51, .15), rgba(11, 31, 51, .85)); }
.nh-tday__num { position: absolute; left: 22px; bottom: 16px; z-index: 1; font-size: 58px; line-height: .9; font-weight: 700; color: #fff; }
.nh-tday__num small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--champagne-2); margin-bottom: 4px; }
.nh-tday__fecha { position: absolute; right: 16px; top: 16px; z-index: 1; padding: 6px 12px; border-radius: 99px; background: var(--champagne); color: var(--noche); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.nh-tday__body { flex: 1; padding: 22px 24px 24px; border-top: 3px solid var(--champagne); }
.nh .nh-tday__body h4 { font-size: 22px; color: var(--noche); margin: 0 0 4px; line-height: 1.2; }
.nh-tday__doc { margin: 0 0 16px !important; font-size: 13.5px; color: var(--champagne-ink); font-weight: 600; }
.nh-tday__temas { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.nh-tday__temas li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.45; color: var(--texto); }
.nh-tday__temas li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 7px; height: 7px; background: var(--champagne); transform: rotate(45deg); }
.nh-tday__mas { margin-top: 10px; }
.nh-tday__mas summary { cursor: pointer; list-style: none; display: inline-block; font-size: 13px; font-weight: 700; color: var(--petroleo); border-bottom: 1px solid var(--champagne); padding-bottom: 2px; margin-bottom: 10px; }
.nh-tday__mas summary::-webkit-details-marker { display: none; }
.nh-tday__mas summary::marker { content: ""; }
.nh-tday__mas[open] summary { color: var(--texto-suave); }
.nh-tday__asp { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px dashed rgba(127, 166, 154, .7); }
.nh-tday__asp span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--petroleo); margin-bottom: 8px; }
.nh-tday__asp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nh-tday__asp li { font-size: 13.5px; line-height: 1.45; color: var(--texto); padding-left: 14px; position: relative; }
.nh-tday__asp li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--salvia); }
.nh-tday__nota { margin: 16px 0 0 !important; padding-top: 12px; border-top: 1px solid var(--marfil-2); font-size: 13.5px; color: var(--champagne-ink); font-weight: 600; }
.nh-carr__dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.nh-carr__dot { display: grid; place-items: center; gap: 0; min-width: 58px; padding: 8px 10px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .65); cursor: pointer; font-family: inherit; transition: background .35s, border-color .35s, color .35s; }
.nh-carr__dot b { font-size: 17px; line-height: 1.1; }
.nh-carr__dot span { font-size: 11px; letter-spacing: .04em; }
.nh-carr__dot:hover { border-color: rgba(200, 169, 107, .6); color: #fff; }
.nh-carr__dot.is-active { background: var(--champagne); border-color: var(--champagne); color: var(--noche); }

/* Materiales del residente */
.nh-mat { margin-top: 48px; display: grid; grid-template-columns: .9fr 1.6fr; border-radius: 26px; overflow: hidden; background: var(--marfil); border: 1px solid var(--marfil-2); transition: box-shadow .6s var(--ease), opacity .9s var(--ease), transform .9s var(--ease); }
.nh-mat:hover { box-shadow: var(--shadow); }
.nh-mat__media { position: relative; min-height: 300px; display: flex; align-items: flex-end; padding: 30px; overflow: hidden; }
.nh-mat__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.nh-mat:hover .nh-mat__media > img { transform: scale(1.05); }
.nh-mat__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 31, 51, .2), rgba(11, 31, 51, .92)); }
.nh-mat__media > div { position: relative; z-index: 2; }
.nh .nh-mat__media h3 { color: #fff; font-size: 27px; margin: 0 0 6px; }
.nh-mat__media p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.nh-mat__grid { list-style: none; margin: 0; padding: 14px 30px; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 30px; align-content: center; }
.nh-mat__grid li { display: grid; grid-template-columns: 54px 1fr; column-gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--marfil-2); }
.nh-mat__grid li:nth-last-child(-n+2) { border-bottom: 0; }
.nh-mat__grid span { grid-row: span 2; font-size: 36px; line-height: 1; font-weight: 700; color: transparent; -webkit-text-stroke: 1.2px var(--champagne-ink); }
.nh-mat__grid strong { font-size: 16.5px; color: var(--noche); font-weight: 600; line-height: 1.3; }
.nh-mat__grid small { font-size: 13px; color: var(--texto-suave); line-height: 1.4; }

@media (max-width: 1100px) {
  .nh-prope__top { grid-template-columns: 1fr; gap: 40px; }
  .nh-precios--4 { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .nh-traer__grid { grid-template-columns: 1fr; }
  .nh-carr { grid-auto-columns: calc((100% - 20px) / 2); }
  .nh-mat { grid-template-columns: 1fr; }
  .nh-mat__media { min-height: 220px; }
}
@media (max-width: 767px) {
  .nh-prope__top { margin-bottom: 40px; }
  .nh-prope__stats strong { font-size: 36px; }
  .nh-prope__stats span { font-size: 11px; letter-spacing: .02em; }
  .nh-prope__stats div + div { padding-left: 14px; }
  .nh-prope__intro .nh-btn { width: 100%; justify-content: center; }
  .nh-prope__foto { border-radius: 20px; }
  .nh-prope__foto figcaption { left: 14px; bottom: 14px; padding: 10px 14px; }
  .nh-precios--4 { grid-template-columns: 1fr; }
  .nh-traer { margin-top: 50px; }
  .nh-traer__item { grid-template-columns: 88px 1fr; gap: 14px; padding: 12px; }
  .nh-traer__item img { width: 88px; height: 88px; border-radius: 12px; }
  .nh-temario { margin-top: 64px; }
  .nh-temario__head { flex-direction: column; align-items: flex-start; }
  .nh-carr__ctrl { display: none; }
  .nh-carr { grid-auto-columns: 86%; gap: 14px; margin: 0 -16px; padding: 4px 16px 16px; scroll-padding-left: 16px; }
  .nh-tday__media { height: 150px; }
  .nh-tday__body { padding: 18px 18px 20px; }
  .nh .nh-tday__body h4 { font-size: 19px; }
  .nh-carr__dot { min-width: 46px; padding: 6px 6px; }
  .nh-carr__dot span { display: none; }
  .nh-mat__media { min-height: 190px; padding: 22px; }
  .nh .nh-mat__media h3 { font-size: 22px; }
  .nh-mat__grid { grid-template-columns: 1fr; padding: 6px 20px; }
  .nh-mat__grid li:nth-last-child(2) { border-bottom: 1px solid var(--marfil-2); }
  .nh-mat__grid span { font-size: 30px; }
}
/* El tema Eduma pinta todos los <button>: se restablece el estilo del carrusel */
body.edx-noche .nh button.nh-carr__btn { background: transparent !important; color: var(--champagne) !important; padding: 0 !important; line-height: 1 !important; border: 1px solid rgba(200, 169, 107, .55) !important; box-shadow: none !important; display: grid; place-items: center; }
body.edx-noche .nh button.nh-carr__btn:hover { background: var(--champagne) !important; color: var(--noche) !important; }
body.edx-noche .nh button.nh-carr__dot { background: rgba(255, 255, 255, .04) !important; color: rgba(255, 255, 255, .65) !important; padding: 8px 10px !important; line-height: 1.2 !important; border: 1px solid rgba(255, 255, 255, .14) !important; box-shadow: none !important; font-size: 13px; }
body.edx-noche .nh button.nh-carr__dot:hover { border-color: rgba(200, 169, 107, .6) !important; color: #fff !important; }
body.edx-noche .nh button.nh-carr__dot.is-active { background: var(--champagne) !important; border-color: var(--champagne) !important; color: var(--noche) !important; }
@media (max-width: 767px) { body.edx-noche .nh button.nh-carr__dot { padding: 6px !important; } }

/* ==========================================================================
   v4 (2026-11-06): orden lógico, índice fijo con sección activa,
   fondos alternados, espaciado y barra fija en el celular
   ========================================================================== */

/* Índice fijo */
.nh-jump { position: sticky; top: var(--edx-head, 0px); z-index: 60; padding: 40px 0 18px; background: var(--marfil); transition: padding .35s var(--ease), box-shadow .35s var(--ease), background .35s; }
.nh-jump.is-stuck { padding: 10px 0; background: rgba(245, 241, 232, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -20px rgba(11, 31, 51, .55); }
.nh-jump__tit { transition: opacity .3s, height .3s, margin .3s; }
.nh-jump.is-stuck .nh-jump__tit { opacity: 0; height: 0; margin: 0; overflow: hidden; }
.nh-jump__row { gap: 8px; }
.nh-jump__row a { padding: 10px 18px; font-size: 13.5px; box-shadow: none; }
.nh-jump__row a.is-active { background: var(--noche); color: #fff !important; border-color: var(--noche); }
.nh-jump__row a.nh-jump__cta { background: var(--champagne); border-color: var(--champagne); color: var(--noche) !important; }
.nh-jump__row a.nh-jump__cta i { color: var(--noche); font-size: 12px; }
.nh-jump__row a.nh-jump__cta:hover { background: var(--noche); border-color: var(--noche); color: #fff !important; }
.nh-jump__row a.nh-jump__cta:hover i { color: var(--champagne); }
.nh-jump-sentinel { height: 1px; margin-top: -1px; }
#programa, #convocatoria, #fechas, #propedeutico, #inversion, #docentes, #instalaciones, #volante { scroll-margin-top: calc(var(--edx-head, 0px) + 64px); }
#temario { scroll-margin-top: calc(var(--edx-head, 0px) + 84px); }

/* Fondos alternados según el nuevo orden */
#programa { padding-top: 90px; }
#convocatoria { background: #fff; padding-top: 110px; }
#convocatoria .nh-perfil { background: var(--marfil); border-color: var(--marfil-2); }
.nh-fechas { background: var(--marfil); }
.nh-fechas .nh-tl__dot { box-shadow: 0 0 0 7px var(--marfil), 0 14px 30px -12px rgba(11, 31, 51, .6); }
.nh-fechas .nh-fechas__cta { background: #fff; }
.nh-tl.is-now .nh-tl__dot { animation: none; box-shadow: 0 0 0 7px var(--marfil), 0 0 0 10px rgba(200, 169, 107, .55); }
#docentes { background: var(--marfil); }
#aula-virtual { background: var(--marfil); }

/* Jerarquía y espaciado */
.nh-section { padding: 120px 0; }
.nh-head { margin-bottom: 52px; }
.nh .nh-title { line-height: 1.08; letter-spacing: -.01em; }
.nh-head p { font-size: 17.5px; line-height: 1.7; max-width: 640px; }
.nh-head--center p { margin-inline: auto; }
.nh-mixta { margin-top: 90px; }

/* Barra fija en el celular */
.nh-mbar { display: none; }
@media (max-width: 767px) {
  .nh-mbar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 9990; display: flex; gap: 10px;
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  body.edx-mbar-on .nh-mbar { transform: none; }
  .nh-mbar__pre {
    flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 56px; border-radius: 18px;
    background: var(--champagne); color: var(--noche) !important; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .55);
  }
  .nh-mbar__pre span { font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
  .nh-mbar__pre small { font-size: 11.5px; font-weight: 600; opacity: .75; }
  .nh-mbar__wa { flex: none; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #25d366; color: #fff !important; font-size: 26px; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .55); }
  body.edx-mbar-on #back-to-top, body.edx-mbar-on .back-to-top__button { bottom: 86px !important; }

  .nh-jump { padding: 26px 0 12px; }
  .nh-jump.is-stuck { padding: 8px 0; }
  .nh-jump__row a { padding: 9px 15px; font-size: 13px; }
  .nh-section { padding: 76px 0; }
  #programa { padding-top: 56px; }
  #convocatoria { padding-top: 76px; }
  .nh-head { margin-bottom: 34px; }
  .nh-head p { font-size: 16px; }
  .nh .nh-title { font-size: clamp(30px, 8.4vw, 38px); }
  .nh-mixta { margin-top: 70px; }
  .nh-cta { padding-bottom: 110px; }
}

/* ==========================================================================
   v5 (2026-11-06): fuera los íconos genéricos. Fotos reales del instituto,
   números y marcadores tipográficos en su lugar.
   ========================================================================== */

/* Sello del hero con el logo */
.nh-seal img { width: 58px; height: auto; position: relative; }

/* Franja de aval: foto en cada característica */
.nh-aval__media { height: 132px; margin-bottom: 18px; border-radius: 14px; overflow: hidden; background: var(--noche); }
.nh-aval__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.nh-aval__item:hover .nh-aval__media img { transform: scale(1.06); }
.nh-aval__media--seal { display: flex; align-items: center; justify-content: center; gap: 0; background: linear-gradient(135deg, var(--noche-3), var(--noche) 55%, var(--petroleo)); }
.nh-aval__media--seal img { width: 78px; height: 78px; object-fit: contain; padding: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(200, 169, 107, .55); }
.nh-aval__media--seal img + img { margin-left: -14px; }
.nh-aval__item:hover .nh-aval__media--seal img { transform: none; }

/* Marcadores tipográficos en listas (sustituyen a los "check") */
.nh-checks li { display: block; position: relative; padding-left: 24px; }
.nh-checks li::before, .nh-portal ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--champagne); transform: rotate(45deg); }
.nh-portal ul li { position: relative; padding-left: 22px; }

/* Perfiles con miniatura */
.nh-perfil { align-items: flex-start; }
.nh-perfil__img { flex: none; width: 88px; height: 88px; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px rgba(200, 169, 107, .55); }
.nh-perfil__img img { width: 100%; height: 100%; object-fit: cover; }

/* Criterios: número en vez de ícono */
.nh-crit__ic { background: none !important; border-radius: 0; width: auto; height: auto; font-size: 22px; font-weight: 700; color: transparent !important; -webkit-text-stroke: 1px var(--champagne-ink); justify-content: start; }
.nh-crit__list li:nth-child(2) .nh-crit__ic { -webkit-text-stroke: 0; color: var(--champagne-ink) !important; }
.nh-crit__note { padding-left: 14px; border-left: 3px solid var(--champagne); border-top: 0; margin-top: 24px !important; padding-top: 0; }

/* Línea de tiempo con números */
.nh-tl__dot { font-size: 18px; font-weight: 700; letter-spacing: .02em; }

/* Inversión: cifras principales bien visibles */
.nh-costo { display: grid; grid-template-columns: 1.3fr auto 1fr 1fr; align-items: center; margin: -10px auto 40px; max-width: 980px; border-radius: 24px; overflow: hidden; background: var(--noche); color: #fff; box-shadow: var(--shadow); }
.nh-costo__item { padding: 28px 30px; }
.nh-costo__item + .nh-costo__item { border-left: 1px solid rgba(255, 255, 255, .12); }
.nh-costo__item span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-2); margin-bottom: 6px; }
.nh-costo__item strong { display: block; font-size: 44px; line-height: 1; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.nh-costo__item small { display: block; margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .65); }
.nh-costo__item--main { background: linear-gradient(135deg, var(--champagne-2), var(--champagne)); }
.nh-costo__item--main span { color: var(--noche); opacity: .75; }
.nh-costo__item--main strong { font-size: 56px; color: var(--noche); }
.nh-costo__item--main small { color: var(--noche); opacity: .75; font-weight: 600; }
.nh-costo__eq { padding: 0 6px 0 18px; font-size: 34px; font-weight: 300; color: var(--champagne); }
.nh-costo__eq + .nh-costo__item { border-left: 0; }

/* Testimonios: comilla tipográfica */
.nh-testi__q { font-size: 72px; line-height: .6; height: 30px; font-weight: 700; color: var(--champagne); }

/* Volante y documentos */
.nh-volante__zoom { width: auto; height: auto; padding: 8px 16px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nh-doc { grid-template-columns: 54px 1fr auto; }
.nh-doc__thumb { width: 54px; height: 68px; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--marfil-2), 0 10px 18px -12px rgba(11, 31, 51, .6); }
.nh-doc__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.nh-doc__thumb--wa img { object-position: center; }
.nh-doc__act { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne-ink); }
.nh-doc--wa { border-color: rgba(37, 211, 102, .45); }
.nh-doc--wa .nh-doc__act { color: #1f9d55; }

/* Aula virtual: foto arriba */
.nh-portal { padding-top: 0; }
.nh-portal__media { display: block; height: 160px; margin: 0 -34px 24px; overflow: hidden; border-bottom: 3px solid var(--champagne); }
.nh-portal__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.nh-portal:hover .nh-portal__media img { transform: scale(1.06); }

/* Por qué EduMaxor: foto en cada tarjeta */
.nh-goal { padding-top: 0; }
.nh-goal__img { display: block; height: 150px; margin: 0 -30px 22px; overflow: hidden; position: relative; }
.nh-goal__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 51, 0) 40%, rgba(11, 31, 51, .7)); }
.nh-goal__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.nh-goal:hover .nh-goal__img img { transform: scale(1.06); }
.nh-goal__num { margin-top: -54px; position: relative; z-index: 1; margin-bottom: 16px; }

/* Contacto: etiquetas de texto */
.nh-contact > a { display: block; }
.nh-contact > a small, .nh-contact__coord small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--champagne); margin-bottom: 2px; }
.nh-contact__coord { display: block; }
.nh-contact__coord span { display: block; }
.nh-contact__social a { width: auto; height: auto; padding: 9px 16px; border-radius: 99px; font-size: 13px; font-weight: 600; }

/* Carrusel: barra de progreso del avance automático */
.nh-carr__prog { height: 2px; max-width: 220px; margin: 16px auto 0; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; }
.nh-carr__prog span { display: block; height: 100%; width: 0; background: var(--champagne); }
.nh-carr__prog.is-run span { animation: nhProg var(--dur, 5s) linear forwards; }
.nh-carr__prog.is-paused span { animation-play-state: paused; }
@keyframes nhProg { to { width: 100%; } }

@media (max-width: 1100px) {
  .nh-costo { grid-template-columns: 1fr 1fr; }
  .nh-costo__eq { display: none; }
  .nh-costo__item--main { grid-column: 1 / -1; }
  .nh-costo__item--main + .nh-costo__eq + .nh-costo__item { border-left: 0; }
}
@media (max-width: 767px) {
  .nh-aval__item { display: block; }
  .nh-aval__media { height: 150px; margin-bottom: 14px; }
  .nh .nh-aval__item h3 { margin-bottom: 4px; }
  .nh-perfil__img { width: 72px; height: 72px; border-radius: 14px; }
  .nh-costo { margin-top: 0; border-radius: 20px; }
  .nh-costo__item { padding: 20px 18px; }
  .nh-costo__item strong { font-size: 32px; }
  .nh-costo__item--main strong { font-size: 44px; }
  .nh-portal__media { margin: 0 -24px 20px; height: 140px; }
  .nh-goal { padding-top: 0; }
  .nh-goal__img { margin: 0 -24px 20px; height: 140px; }
}

/* Quiénes somos: comilla tipográfica */
.nh-quote .nh-quote__mark { display: block; font-size: 84px; line-height: .55; height: 40px; font-weight: 700; color: var(--champagne); letter-spacing: 0; margin-bottom: 14px; }

/* Contacto: sin íconos; la dirección lleva la foto de la Torre Q */
.nh-cinfo { position: relative; padding-left: 26px; }
.nh-cinfo::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--champagne); }
.nh-cinfo b { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-ink); margin-bottom: 2px; }
.nh-cinfo__img { flex: none; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; }
.nh-cinfo__img img { width: 100%; height: 100%; object-fit: cover; }
.nh-cinfo--wa::before { background: #25d366; }
.nh-galitem__zoom { width: auto; height: auto; padding: 7px 14px; border-radius: 99px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nh-crit__ic { grid-row: 1; align-self: center; font-size: 20px; line-height: 1; }
.nh-crit__list li { grid-template-rows: auto 8px; }
.nh-crit__bar { grid-column: 1 / -1; }
.nh-precio li::before { left: 2px; top: .55em; width: 8px; height: 8px; border: 0; background: var(--petroleo); transform: rotate(45deg); }
.nh-precio--feature li::before { background: var(--champagne); }

/* Propedéutico: video del salón en lugar de la foto */
.nh-prope__foto video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--noche); }

/* ==========================================================================
   v7 (2026-11-06): versión móvil rediseñada. Solo teléfono (≤767px):
   grupos de tarjetas deslizables, menos texto repetido, más aire.
   ========================================================================== */
.nh-swipe-dots { display: none; }

@media (max-width: 767px) {
  /* ---------- Filas deslizables ---------- */
  .nh-aval__card,
  .nh-conv__perfiles,
  .nh-prope__info,
  .nh-traer__grid,
  #inversion .nh-precios,
  .nh-ruta,
  .nh-goals,
  .nh-portals,
  .nh-testis,
  .nh-sedes {
    display: flex !important; grid-template-columns: none !important; flex-wrap: nowrap; gap: 14px !important;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-left: -16px !important; margin-right: -16px !important; padding: 6px 16px 10px !important; scroll-padding-left: 16px;
    max-width: none !important; align-items: stretch;
  }
  .nh-aval__card::-webkit-scrollbar, .nh-conv__perfiles::-webkit-scrollbar, .nh-prope__info::-webkit-scrollbar,
  .nh-traer__grid::-webkit-scrollbar, #inversion .nh-precios::-webkit-scrollbar, .nh-ruta::-webkit-scrollbar,
  .nh-goals::-webkit-scrollbar, .nh-portals::-webkit-scrollbar, .nh-testis::-webkit-scrollbar, .nh-sedes::-webkit-scrollbar { display: none; }
  .nh-aval__card > *, .nh-conv__perfiles > *, .nh-prope__info > *, .nh-traer__grid > *, #inversion .nh-precios > *,
  .nh-ruta > *, .nh-goals > *, .nh-portals > *, .nh-testis > *, .nh-sedes > * {
    flex: 0 0 84%; scroll-snap-align: start; opacity: 1 !important; transform: none !important; margin: 0 !important;
  }
  .nh-traer__grid > * { flex-basis: 86%; }
  .nh-sedes > * { flex-basis: 90%; }
  .nh-swipe-dots { display: flex; justify-content: center; gap: 6px; margin: 6px 0 0; }
  .nh-swipe-dots span { width: 6px; height: 6px; border-radius: 99px; background: rgba(11, 31, 51, .2); transition: width .3s var(--ease), background .3s; }
  .nh-swipe-dots span.is-on { width: 20px; background: var(--champagne); }
  .nh-section--dark .nh-swipe-dots span, .nh-prope .nh-swipe-dots span { background: rgba(255, 255, 255, .25); }
  .nh-section--dark .nh-swipe-dots span.is-on, .nh-prope .nh-swipe-dots span.is-on { background: var(--champagne); }

  /* ---------- Hero: más limpio ---------- */
  .nh-hero { padding: 120px 0 90px; min-height: 0; }
  .nh-hero__aval { display: none; }
  .nh-hero__marquee { margin-bottom: 20px; }
  .nh-hero__kicker { margin-bottom: 14px !important; }
  .nh .nh-hero__title { font-size: 38px; line-height: 1.06; margin-bottom: 16px; }
  .nh-hero__lead { font-size: 15.5px; line-height: 1.6; margin-bottom: 26px !important; }
  .nh-hero__actions { gap: 10px; }
  .nh-hero__facts { margin-top: 22px; }
  .nh-hero__meta { margin-top: 20px; gap: 10px 18px; }
  .nh-hero__meta > span:nth-child(2) { display: none; }

  /* ---------- Franja de aval: solo las 4 tarjetas deslizables ---------- */
  .nh-aval { margin-top: -40px; }
  .nh-aval__card { background: none; box-shadow: none; border-radius: 0; overflow-x: auto; }
  .nh-aval__logos { display: none; }
  .nh-aval__item { background: #fff; border-radius: 20px; padding: 14px 14px 18px !important; box-shadow: 0 18px 40px -26px rgba(11, 31, 51, .55); }
  .nh-aval__item + .nh-aval__item::before { display: none; }
  .nh-aval__media { height: 140px; margin-bottom: 14px; }
  .nh .nh-aval__item h3 { font-size: 18px; }
  .nh-aval__item p { font-size: 14px; line-height: 1.55; }

  /* ---------- Índice ---------- */
  .nh-jump { padding-top: 22px; }
  .nh-jump__tit { display: none; }

  /* ---------- Secciones: aire ---------- */
  .nh-section { padding: 64px 0; }
  #programa { padding-top: 40px; }
  .nh-head { margin-bottom: 26px; }
  .nh-head p { font-size: 15.5px; line-height: 1.6; }
  .nh-eyebrow { font-size: 11px; margin-bottom: 12px; }
  .nh .nh-title { font-size: 31px; line-height: 1.12; }

  /* ---------- El programa ---------- */
  .nh-about { gap: 28px; }
  .nh-about__img { aspect-ratio: 4 / 3; border-radius: 20px; }
  .nh-about__frame { display: none; }
  .nh-about__float { position: absolute; left: 12px; right: auto; bottom: 12px; padding: 12px 16px; border-radius: 14px; animation: none; max-width: 70%; }
  .nh-about__float strong { font-size: 20px; }
  .nh-about__float span { font-size: 12px; }
  .nh-about__text { margin-top: 0; }
  #programa .nh-lead { font-size: 17px; line-height: 1.5; }
  #programa .nh-about__text > p:not(.nh-lead) { display: none; }
  .nh-checks { margin: 18px 0 0; gap: 10px; font-size: 15px; }
  .nh-mixta { margin-top: 48px; }
  .nh-mixta__text p { font-size: 14.5px; }
  .nh-ruta { margin-top: 22px; }
  .nh-ruta__body p { font-size: 14px; }

  /* ---------- Convocatoria ---------- */
  .nh-conv__banner { padding: 30px 20px 54px; }
  .nh .nh-conv__banner h2 { font-size: 30px; }
  .nh-conv__implant { display: none; }
  .nh-conv__grid { margin-top: 24px; gap: 26px; }
  .nh-perfil { flex-direction: column; padding: 18px; }
  .nh-perfil__img { width: 100%; height: 130px; border-radius: 14px; box-shadow: none; }
  .nh-perfil p { font-size: 14px; line-height: 1.6; }
  .nh .nh-perfil h3 { font-size: 16px; }

  /* ---------- Fechas ---------- */
  .nh-tl { padding-bottom: 18px; }

  /* ---------- Propedéutico ---------- */
  .nh-prope__top { gap: 26px; margin-bottom: 30px; }
  .nh-prope__intro > p { font-size: 15px; }
  .nh-prope__stats { margin: 20px 0 24px; }
  .nh-prope__foto { aspect-ratio: 16 / 10; }
  .nh-prope__info .nh-precio__media { height: 150px; }
  .nh-traer { margin-top: 42px; }
  .nh .nh-traer__head h3 { font-size: 22px; margin-bottom: 14px; }
  .nh-traer__item { grid-template-columns: 76px 1fr; align-items: start; }
  .nh-traer__item img { width: 76px; height: 76px; }
  .nh-temario { margin-top: 50px; }
  .nh-pdocs { margin-top: 40px; }
  .nh-pdocs__row { gap: 8px; }
  .nh-chip { padding: 8px 14px; }
  .nh-chip b { font-size: 13px; }
  .nh-chip small { font-size: 11px; }

  /* ---------- Inversión ---------- */
  .nh-costo { margin-bottom: 26px; }
  #inversion .nh-precio__media { height: 150px; }
  .nh-precios__nota { font-size: 13px; }
  .nh-mat { margin-top: 32px; }
  .nh-mat__media { min-height: 150px; }

  /* ---------- Docentes ---------- */
  .nh-faculty { margin-top: 18px; }
  .nh-faculty__list { grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .nh-faculty__list li { font-size: 13px; padding: 10px 0 10px 16px; }
  .nh-faculty__list li::before { width: 6px; height: 6px; margin-top: -3px; }
  .nh-faculty__list li:nth-last-child(-n+2) { border-bottom: 0; }

  /* ---------- Por qué / instalaciones / testimonios ---------- */
  .nh-goal p { font-size: 14px; }
  .nh-strip { display: none; }
  .nh-gallery { grid-template-rows: 200px 140px; }
  .nh-testi { padding: 24px 20px 20px; }
  .nh-testi blockquote { font-size: 14.5px; }

  /* ---------- Volante ---------- */
  .nh-volante__grid { gap: 26px; }
  .nh-volante__img { max-width: 220px; }
  .nh-volante__text > p { font-size: 15px; margin-bottom: 18px; }

  /* ---------- Aula / cursos / contacto ---------- */
  .nh-portal ul { margin-bottom: 20px; }
  .nh-split { gap: 0; }
  .nh-split__media { display: none; }
  .nh-allies { margin-top: 44px; }
  .nh-cta__grid { gap: 32px; }
  .nh-contact { padding: 24px 20px; }
  .nh-contact > a { padding: 11px 0; }
}
