/* Art Hauss · Home estilo Netflix — todo vive dentro de #ah-home / .ah-* para no chocar con el tema. */
body.ah-home-pagina { margin: 0; background: #0e0e12; }
.ah-home { --ah-bg: #0e0e12; --ah-acento: #FF3D8B; --ah-amarillo: #FFE14D; --ah-lima: #C6F432; --ah-txt: #ffffff; --ah-suave: #d6d6dc; --ah-gap: 12px; --ah-pad: 4%;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ah-txt); background: var(--ah-bg); min-height: 100vh; overflow-x: hidden; line-height: 1.4; -webkit-font-smoothing: antialiased; }
.ah-home *, .ah-home *::before, .ah-home *::after { box-sizing: border-box; }
.ah-home a { color: inherit; }
.ah-home button { font-family: inherit; }
.ah-home h1, .ah-home h2, .ah-home h3, .ah-home p { margin: 0; }
#ah-home h1, #ah-home h2, #ah-home h3, #ah-home p, #ah-home span, #ah-home a { color: inherit; font-family: inherit; text-transform: none; }
#ah-home .ah-hero-h, #ah-home .ah-fila-cab h2, #ah-home .ah-plan h2, #ah-home .ah-envivo > h2, #ah-home .ah-precio h3, #ah-home .ah-becas h3 { color: #ffffff; }
#ah-home .ah-hero-h, #ah-home .ah-plan h2, #ah-home .ah-envivo > h2, #ah-home .ah-marca b { font-family: "Bricolage Grotesque", Inter, sans-serif; }
#ah-home .ah-marca b { color: var(--ah-acento); }
#ah-home .ah-marca span, #ah-home .ah-menu a { color: var(--ah-suave); }
#ah-home .ah-menu a:hover, #ah-home .ah-menu a:first-child { color: #fff; }
#ah-home .ah-btn-blanco, #ah-home .ah-btn-amarillo, #ah-home .ah-btn-acento, #ah-home .ah-chip-rank, #ah-home .ah-etq { color: #111114; }
#ah-home .ah-btn-wa { color: #0b2a17; }
/* Cosas que el tema o MasterStudy meten en todas las páginas: aquí no van. */
body.ah-home-pagina #searchModal, body.ah-home-pagina .ms_lms_loader_bg, body.ah-home-pagina .ms_lms_loader, body.ah-home-pagina .modal-backdrop { display: none !important; }
body.ah-home-pagina #wrapper { padding: 0 !important; margin: 0 !important; background: #0e0e12 !important; }
.ah-home .ah-titulo-font { font-family: "Bricolage Grotesque", Inter, sans-serif; }
.ah-noscript { padding: 40px 4%; color: #fff; background: #0e0e12; }

/* Encabezado */
.ah-top { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 18px var(--ah-pad);
  background: linear-gradient(180deg, rgba(14,14,18,.9) 0%, rgba(14,14,18,0) 100%); }
body.admin-bar .ah-top { top: 32px; }
@media (max-width: 782px) { body.admin-bar .ah-top { top: 46px; } }
.ah-marca { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.ah-marca b { font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 28px; letter-spacing: .5px; color: var(--ah-acento); }
.ah-marca span { font-size: 11px; color: var(--ah-suave); letter-spacing: 1.5px; margin-top: 3px; }
.ah-menu { display: flex; gap: 22px; flex: 1 1 auto; font-size: 15px; font-weight: 500; }
.ah-menu a { text-decoration: none; color: var(--ah-suave); }
.ah-menu a:hover, .ah-menu a:first-child { color: #fff; }
.ah-top-der { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.ah-top-der a { text-decoration: none; font-size: 14px; font-weight: 600; }
.ah-btn-acento { background: var(--ah-acento); color: #111114 !important; padding: 11px 16px; border-radius: 6px; font-weight: 700 !important; }

/* Carrusel de arriba */
.ah-hero { position: relative; height: min(760px, 88vh); min-height: 520px; overflow: hidden; background: #000; }
.ah-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.ah-slide.ah-on { opacity: 1; visibility: visible; }
.ah-slide video, .ah-slide img.ah-fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ah-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,14,18,.95) 0%, rgba(14,14,18,.75) 35%, rgba(14,14,18,.1) 70%), linear-gradient(0deg, #0e0e12 0%, rgba(14,14,18,0) 30%); }
.ah-hero-info { position: absolute; z-index: 2; left: var(--ah-pad); bottom: 130px; max-width: 580px; display: flex; flex-direction: column; gap: 16px; }
.ah-chips { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ah-chip-rank { font-size: 13px; font-weight: 800; letter-spacing: 1px; color: #111114; background: var(--ah-amarillo); padding: 5px 10px; border-radius: 4px; }
.ah-chip-tipo { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; }
.ah-hero .ah-hero-h { font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 72px; line-height: .95; letter-spacing: -1px; }
.ah-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 15px; color: #e4e4ea; font-weight: 500; }
.ah-hero-desc { font-size: 18px; line-height: 1.5; color: #e4e4ea; }
.ah-acciones { display: flex; gap: 12px; flex-wrap: wrap; }
.ah-btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border: 0; cursor: pointer; font-weight: 700; font-size: 17px; padding: 13px 24px; border-radius: 6px; }
.ah-btn-blanco { background: #fff; color: #111114 !important; }
.ah-btn-gris { background: rgba(120,120,135,.55); color: #fff; }
.ah-btn-gris:hover { background: rgba(120,120,135,.75); }
.ah-puntos { position: absolute; z-index: 3; right: var(--ah-pad); bottom: 140px; display: flex; gap: 8px; align-items: center; }
.ah-puntos button { border: 0; padding: 0; cursor: pointer; height: 6px; width: 10px; border-radius: 3px; background: rgba(255,255,255,.45); transition: width .3s, background .3s; }
.ah-puntos button.ah-on { width: 32px; background: #fff; }
.ah-puntos button::before { content: ""; display: block; height: 44px; margin-top: -19px; } /* área táctil */

/* Estrellas */
.ah-estrellas { display: inline-flex; align-items: center; gap: 2px; }
.ah-estrellas button { background: none; border: 0; padding: 3px; cursor: pointer; color: var(--ah-amarillo); line-height: 0; }
.ah-estrellas svg { width: 22px; height: 22px; }
.ah-estrellas.ah-chicas button { padding: 1px; }
.ah-estrellas.ah-chicas svg { width: 15px; height: 15px; }
.ah-estrellas-txt { font-size: 14px; color: #c9c9d1; margin-left: 8px; }

/* Filas */
.ah-filas { position: relative; margin-top: -90px; display: flex; flex-direction: column; gap: 22px; padding-bottom: 40px; z-index: 4; }
.ah-fila { position: relative; }
.ah-fila-cab { display: flex; align-items: baseline; gap: 14px; padding: 0 var(--ah-pad); }
.ah-fila-cab h2 { font-size: 22px; font-weight: 700; }
.ah-fila-cab span { font-size: 13px; color: #a9a9b3; }
.ah-ventana { position: relative; overflow: hidden; padding: 18px var(--ah-pad) 22px; }
.ah-track { display: flex; gap: var(--ah-gap); will-change: transform; }
.ah-card { position: relative; flex: 0 0 calc((100% - 4 * var(--ah-gap)) / 5.25); aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #1c1c22;
  transition: transform .25s ease, box-shadow .25s ease; }
.ah-card:hover, .ah-card:focus-within { transform: scale(1.08); z-index: 3; box-shadow: 0 18px 40px rgba(0,0,0,.6); }
.ah-card > a { position: absolute; inset: 0; display: block; }
.ah-card img, .ah-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ah-card video { opacity: 0; transition: opacity .3s; }
.ah-card video.ah-on { opacity: 1; }
.ah-etq { position: absolute; top: 8px; right: 8px; font-size: 11px; font-weight: 800; letter-spacing: .5px; padding: 4px 8px; border-radius: 4px; color: #111114; pointer-events: none; z-index: 2; }
.ah-etq-gratis { background: var(--ah-lima); }
.ah-etq-paga { background: var(--ah-amarillo); }
.ah-etq-nueva { right: auto; left: 8px; background: var(--ah-acento); }
.ah-panel { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 30px 10px 8px; display: flex; flex-direction: column; gap: 5px;
  background: linear-gradient(0deg, rgba(10,10,14,.97) 0%, rgba(10,10,14,.8) 60%, rgba(10,10,14,0) 100%); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; pointer-events: none; }
.ah-card:hover .ah-panel, .ah-card:focus-within .ah-panel { opacity: 1; transform: none; pointer-events: auto; }
.ah-panel-fila { display: flex; align-items: center; gap: 6px; }
.ah-circ { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; text-decoration: none; }
.ah-circ-play { background: #fff; color: #111114 !important; border: 0; }
.ah-circ-mas { border: 2px solid #c9c9d1; background: rgba(20,20,26,.6); color: #fff; }
.ah-circ-mas:hover { border-color: #fff; }
.ah-panel .ah-estrellas { margin-left: auto; }
.ah-panel-t { font-size: 13px; font-weight: 700; line-height: 1.2; }
.ah-panel-m { display: flex; gap: 6px; flex-wrap: wrap; font-size: 11px; color: #e4e4ea; font-weight: 500; }
.ah-flecha { position: absolute; top: 18px; bottom: 22px; width: var(--ah-pad); min-width: 44px; border: 0; background: rgba(14,14,18,.6); color: #fff; cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.ah-flecha-izq { left: 0; } .ah-flecha-der { right: 0; }
.ah-fila:hover .ah-flecha, .ah-flecha:focus-visible { opacity: 1; }

/* Bandas */
.ah-banda { padding: 8px var(--ah-pad) 40px; }
.ah-plan { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(90deg, #2a2210 0%, #18181e 70%);
  border: 1px solid #5a4a1a; border-radius: 10px; padding: 24px 28px; }
.ah-plan-txt { display: flex; flex-direction: column; gap: 6px; max-width: 660px; }
.ah-sobretitulo { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; }
.ah-plan h2 { font-family: "Bricolage Grotesque", Inter, sans-serif; font-size: 26px; }
.ah-plan p, .ah-becas p { font-size: 15px; line-height: 1.5; color: #e4e4ea; }
.ah-btn-amarillo { background: var(--ah-amarillo); color: #111114 !important; font-weight: 800; }
.ah-envivo { padding: 40px var(--ah-pad) 56px; border-top: 1px solid #26262e; display: flex; flex-direction: column; gap: 22px; }
.ah-envivo > h2 { font-family: "Bricolage Grotesque", Inter, sans-serif; font-size: 26px; }
.ah-precios { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.ah-precio { background: #18181e; border: 1px solid #2c2c35; border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.ah-precio h3 { font-size: 20px; }
.ah-precio p { font-size: 28px; font-weight: 800; }
.ah-precio p small { font-size: 14px; font-weight: 500; color: #c9c9d1; }
.ah-becas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between; background: #1d1424; border: 1px solid #4a2a56; border-radius: 10px; padding: 22px 26px; }
.ah-becas h3 { font-size: 20px; margin-bottom: 4px; }
.ah-btn-wa { background: #25D366; color: #0b2a17 !important; }
.ah-pie { padding: 28px var(--ah-pad) 40px; border-top: 1px solid #26262e; display: flex; flex-wrap: wrap; gap: 18px 28px; font-size: 13px; color: #a9a9b3; }
.ah-pie a { color: #c9c9d1; }

#ah-home .ah-plan-precio { display: flex; align-items: baseline; gap: 12px; font-size: 16px; }
#ah-home .ah-plan-precio b { font-family: "Bricolage Grotesque", Inter, sans-serif; font-size: 40px; color: var(--ah-amarillo); }
#ah-home .ah-plan-precio s { font-size: 20px; color: #a9a9b3; }

/* Páginas oscuras (Clases en vivo, La escuela…) */
#ah-home td, #ah-home th, #ah-home li, #ah-home figcaption, #ah-home summary, #ah-home details, #ah-home small, #ah-home strong, #ah-home b { color: inherit; }
#ah-home .ah-horario td { color: #e4e4ea; }
#ah-home .ah-horario td:first-child { color: #fff; }
#ah-home .ah-horario th { color: #a9a9b3; }
#ah-home .ah-contenido { color: #d6d6dc; }
.ah-pagina .ah-top { position: relative; background: #0e0e12; border-bottom: 1px solid #1f1f27; }
#ah-home .ah-menu a.ah-aqui { color: #fff; font-weight: 700; }
#ah-home .ah-menu a:first-child:not(.ah-aqui) { color: var(--ah-suave); }
.ah-home-pagina:not(.ah-pagina) #ah-home .ah-menu a:first-child { color: #fff; }
.ah-contenido { display: block; }
.ah-contenido > p:empty { display: none; }
.ah-pag-hero { padding: 64px var(--ah-pad) 40px; max-width: 980px; display: flex; flex-direction: column; gap: 16px; }
#ah-home .ah-pag-hero h1 { font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 64px; line-height: .98; letter-spacing: -1px; color: #fff; }
.ah-lead { font-size: 20px; line-height: 1.5; color: #e4e4ea; max-width: 760px; }
.ah-seccion { padding: 36px var(--ah-pad); display: flex; flex-direction: column; gap: 18px; }
.ah-seccion + .ah-seccion { border-top: 1px solid #1f1f27; }
#ah-home .ah-seccion > h2 { font-family: "Bricolage Grotesque", Inter, sans-serif; font-size: 32px; color: #fff; }
.ah-seccion p { font-size: 16px; line-height: 1.65; color: #d6d6dc; max-width: 820px; }
.ah-tarjetas { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.ah-tarjeta { background: #18181e; border: 1px solid #2c2c35; border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
#ah-home .ah-tarjeta h3 { font-size: 20px; color: #fff; }
.ah-tarjeta p { font-size: 15px; line-height: 1.5; color: #d6d6dc; }
.ah-tarjeta .ah-grande { font-size: 22px; font-weight: 800; color: #fff; }
.ah-horario { width: 100%; max-width: 980px; border-collapse: collapse; font-size: 16px; }
.ah-horario th, .ah-horario td { text-align: left; padding: 14px 12px; border-bottom: 1px solid #26262e; vertical-align: top; }
.ah-horario th { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: #a9a9b3; font-weight: 700; }
.ah-horario td:first-child { font-weight: 700; color: #fff; white-space: nowrap; }
.ah-pill { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .5px; padding: 3px 8px; border-radius: 4px; color: #111114; }
.ah-pill-linea { background: var(--ah-lima); } .ah-pill-pres { background: var(--ah-amarillo); } .ah-pill-espera { background: #c9c9d1; }
.ah-tabla-caja { overflow-x: auto; }
.ah-pasos { list-style: none; counter-reset: paso; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.ah-pasos li { counter-increment: paso; background: #18181e; border: 1px solid #2c2c35; border-radius: 10px; padding: 22px; font-size: 15px; line-height: 1.5; color: #d6d6dc; }
.ah-pasos li::before { content: counter(paso); display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ah-acento); color: #111114; font-weight: 800; margin-bottom: 12px; }
.ah-pasos li b { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }
.ah-citas { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.ah-cita { margin: 0; background: #18181e; border: 1px solid #2c2c35; border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.ah-cita blockquote { margin: 0; font-size: 17px; line-height: 1.5; color: #fff; }
.ah-cita figcaption { font-size: 13px; color: #a9a9b3; }
.ah-maestros { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.ah-maestro { background: #18181e; border: 1px solid #2c2c35; border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
#ah-home .ah-maestro h3 { font-family: "Bricolage Grotesque", Inter, sans-serif; font-size: 26px; color: #fff; }
.ah-maestro .ah-sobretitulo { color: var(--ah-acento); }
.ah-maestro p { font-size: 16px; line-height: 1.55; color: #e4e4ea; font-style: italic; }
.ah-hitos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.ah-hito { border-left: 3px solid var(--ah-acento); padding: 6px 0 6px 16px; }
.ah-hito b { display: block; font-family: "Bricolage Grotesque", Inter, sans-serif; font-size: 34px; color: #fff; line-height: 1; margin-bottom: 6px; }
.ah-hito span { font-size: 15px; color: #d6d6dc; }
.ah-nota { background: #15151b; border: 1px dashed #3a3a46; border-radius: 10px; padding: 16px 18px; font-size: 15px; line-height: 1.5; color: #d6d6dc; max-width: 980px; }
.ah-preguntas details { background: #18181e; border: 1px solid #2c2c35; border-radius: 10px; padding: 16px 20px; max-width: 980px; }
.ah-preguntas details + details { margin-top: 10px; }
.ah-preguntas summary { cursor: pointer; font-weight: 700; font-size: 17px; color: #fff; }
.ah-preguntas details p { margin-top: 10px; }
#ah-home .ah-precio p { font-size: 28px; font-weight: 800; color: #fff; }
#ah-home .ah-precio p small { font-size: 14px; font-weight: 500; color: #c9c9d1; }
#ah-home .ah-becas p { font-size: 15px; }
@media (max-width: 600px) {
  .ah-horario thead { display: none; }
  .ah-horario, .ah-horario tbody, .ah-horario tr, .ah-horario td { display: block; width: 100%; }
  .ah-horario tr { padding: 12px 0; border-bottom: 1px solid #26262e; }
  .ah-horario td { border: 0; padding: 3px 0; }
}
@media (max-width: 600px) { #ah-home .ah-pag-hero h1 { font-size: 42px; } .ah-lead { font-size: 17px; } #ah-home .ah-seccion > h2 { font-size: 26px; } }

/* «Ver todo» en las filas del home */
#ah-home .ah-vertodo { font-size: 13px; font-weight: 700; color: var(--ah-amarillo); text-decoration: none; margin-left: 4px; }
#ah-home .ah-vertodo:hover { text-decoration: underline; }
#ah-home .ah-lupa { width: 44px; height: 44px; flex: 0 0 44px; color: #fff; }

/* Videoteca con buscador */
.ah-vt { padding: 40px var(--ah-pad) 60px; }
.ah-vt-cabeza { display: flex; flex-direction: column; gap: 16px; margin-bottom: 22px; }
#ah-home .ah-vt-titulo { font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 56px; line-height: 1; color: #fff; }
#ah-home .ah-vt-sub { font-size: 18px; color: #d6d6dc; max-width: 760px; }
.ah-vt-buscar { position: relative; display: flex; align-items: center; gap: 10px; max-width: 760px; background: #18181e; border: 2px solid #34343f; border-radius: 12px; padding: 0 12px 0 16px; color: #a9a9b3; }
.ah-vt-buscar:focus-within { border-color: var(--ah-amarillo); color: #fff; }
#ah-home .ah-vt-q { flex: 1 1 auto; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font: 500 18px Inter, system-ui, sans-serif; padding: 16px 0; box-shadow: none; margin: 0; height: auto; }
#ah-home .ah-vt-q::placeholder { color: #8d8d99; }
.ah-vt-q::-webkit-search-cancel-button { display: none; }
.ah-vt-limpiar { background: none; border: 0; color: #c9c9d1; cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.ah-vt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
#ah-home .ah-vt-chip { border: 1px solid #3a3a46; background: #18181e; color: #e4e4ea; border-radius: 999px; padding: 9px 16px; font: 600 14px Inter, system-ui, sans-serif; cursor: pointer; min-height: 40px; }
#ah-home .ah-vt-chip:hover { border-color: #8d8d99; }
#ah-home .ah-vt-chip[aria-pressed="true"] { background: #fff; color: #111114; border-color: #fff; }
.ah-vt-barra { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
#ah-home .ah-vt-cuenta { font-size: 15px; color: #c9c9d1; }
.ah-vt-orden-lbl { font-size: 14px; color: #c9c9d1; }
#ah-home .ah-vt-orden { background: #18181e; color: #fff; border: 1px solid #3a3a46; border-radius: 8px; padding: 8px 10px; font: 500 14px Inter, sans-serif; height: auto; }
.ah-vt-rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px 16px; }
.ah-vt-card { display: flex; flex-direction: column; gap: 10px; }
.ah-vt-media { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #1c1c22; transition: transform .2s, box-shadow .2s; }
.ah-vt-card:hover .ah-vt-media { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.55); }
.ah-vt-portada, .ah-vt-portada img, .ah-vt-portada video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ah-vt-portada video { opacity: 0; transition: opacity .3s; }
.ah-vt-portada video.ah-on { opacity: 1; }
.ah-vt-acc { position: absolute; left: 8px; bottom: 8px; z-index: 2; }
#ah-home .ah-vt-t { font-size: 16px; font-weight: 700; line-height: 1.3; color: #fff; }
#ah-home .ah-vt-t a { text-decoration: none; color: #fff; }
#ah-home .ah-vt-t a:hover { text-decoration: underline; }
#ah-home .ah-vt-m { font-size: 13px; color: #a9a9b3; display: flex; flex-wrap: wrap; align-items: center; }
.ah-vt-est { display: inline-flex; align-items: center; gap: 3px; color: var(--ah-amarillo); }
.ah-vt-vacio { padding: 40px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
#ah-home .ah-vt-vacio p { font-size: 17px; color: #d6d6dc; max-width: 620px; }
@media (max-width: 600px) { #ah-home .ah-vt-titulo { font-size: 40px; } .ah-vt-rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; } #ah-home .ah-vt-t { font-size: 14px; } }

/* Bloques normales del editor dentro de las páginas oscuras: así se pueden agregar fotos, galerías y columnas a mano. */
.ah-contenido > :not(section):not(.alignfull):not(.ah-seccion):not(.ah-pag-hero):not(.wp-block-group) { margin-left: var(--ah-pad); margin-right: var(--ah-pad); max-width: 980px; }
.ah-contenido > .wp-block-group.ah-seccion, .ah-contenido > .wp-block-group.ah-pag-hero { max-width: none; }
.ah-contenido .wp-block-group.ah-seccion > *, .ah-contenido .wp-block-group.ah-pag-hero > * { margin-top: 0; margin-bottom: 0; }
#ah-home .ah-contenido .wp-block-heading { color: #fff; font-family: "Bricolage Grotesque", Inter, sans-serif; }
#ah-home .ah-contenido h2.wp-block-heading { font-size: 32px; }
#ah-home .ah-contenido h3.wp-block-heading { font-size: 22px; }
#ah-home .ah-contenido .ah-pag-hero h1.wp-block-heading { font-size: 64px; font-weight: 800; line-height: .98; letter-spacing: -1px; }
#ah-home .ah-contenido p:not(.ah-lead) { font-size: 16px; line-height: 1.65; color: #d6d6dc; max-width: 820px; }
#ah-home .ah-contenido a:not(.ah-btn):not(.ah-btn-acento) { color: var(--ah-amarillo); }
.ah-contenido .wp-block-image img, .ah-contenido .wp-block-gallery img { border-radius: 10px; height: auto; max-width: 100%; }
.ah-contenido .wp-block-image figcaption, .ah-contenido .wp-block-gallery figcaption { color: #a9a9b3; font-size: 13px; text-align: center; }
.ah-contenido .wp-block-image, .ah-contenido .wp-block-gallery { margin: 0; }
.ah-contenido .wp-block-columns { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.ah-contenido .wp-block-column { flex: 1 1 280px; min-width: 0; }
.ah-contenido .wp-block-separator { border: 0; border-top: 1px solid #26262e; margin: 0 var(--ah-pad); }
.ah-contenido .wp-block-quote { margin: 0; border-left: 3px solid var(--ah-acento); padding: 6px 0 6px 18px; }
#ah-home .ah-contenido .wp-block-quote p { font-size: 18px; color: #fff; }
#ah-home .ah-contenido .wp-block-quote cite { font-size: 13px; color: #a9a9b3; font-style: normal; }
.ah-contenido .wp-block-embed iframe { max-width: 100%; border-radius: 10px; }
.ah-contenido figure.wp-block-table.ah-horario { margin: 0; max-width: 980px; overflow-x: auto; }
.ah-contenido figure.wp-block-table.ah-horario table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ah-contenido figure.wp-block-table.ah-horario th, .ah-contenido figure.wp-block-table.ah-horario td { text-align: left; padding: 14px 12px; border: 0; border-bottom: 1px solid #26262e; vertical-align: top; }
#ah-home .ah-contenido figure.wp-block-table.ah-horario th { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: #a9a9b3; }
#ah-home .ah-contenido figure.wp-block-table.ah-horario td { color: #e4e4ea; }
#ah-home .ah-contenido figure.wp-block-table.ah-horario td:first-child { color: #fff; font-weight: 700; }
.ah-contenido .ah-citas.wp-block-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.ah-contenido .ah-citas .wp-block-quote { background: #18181e; border: 1px solid #2c2c35; border-radius: 10px; padding: 22px; border-left: 3px solid var(--ah-acento); }
.ah-contenido .ah-maestros.wp-block-columns .wp-block-column { background: #18181e; border: 1px solid #2c2c35; border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
#ah-home .ah-contenido .ah-maestros .wp-block-column p { font-style: italic; color: #e4e4ea; }
#ah-home .ah-contenido .ah-maestros .ah-cargo { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; color: var(--ah-acento); }
.ah-contenido .ah-maestros .wp-block-image img { aspect-ratio: 1 / 1; object-fit: cover; }
.ah-contenido .ah-galeria.wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.ah-destacado { background: linear-gradient(90deg, #2a1024 0%, #18181e 75%); border: 1px solid #5a2a50; border-radius: 12px; padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; }
#ah-home .ah-destacado h2 { font-size: 28px !important; }
@media (max-width: 600px) { #ah-home .ah-contenido .ah-pag-hero h1.wp-block-heading { font-size: 42px; } #ah-home .ah-contenido h2.wp-block-heading { font-size: 26px; } }

#ah-home .ah-contenido .ah-sobretitulo { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; }
#ah-home .ah-contenido .ah-verde { color: var(--ah-lima); } #ah-home .ah-contenido .ah-rosa { color: var(--ah-acento); }
#ah-home .ah-contenido .ah-lead { font-size: 20px; line-height: 1.5; color: #e4e4ea; max-width: 760px; }
.ah-contenido .ah-tarjetas.wp-block-columns .wp-block-column { background: #18181e; border: 1px solid #2c2c35; border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.ah-contenido .ah-tarjetas.wp-block-columns .wp-block-column > * { margin: 0; }
.ah-contenido .ah-maestros.wp-block-columns .wp-block-column > * { margin: 0; }
.ah-contenido .ah-hitos.wp-block-columns .wp-block-column { border-left: 3px solid var(--ah-acento); padding: 6px 0 6px 16px; flex-basis: 200px; }
#ah-home .ah-contenido .ah-hitos p { margin: 0; font-size: 15px; }
#ah-home .ah-contenido .ah-hitos strong { display: block; font-family: "Bricolage Grotesque", Inter, sans-serif; font-size: 34px; color: #fff; line-height: 1; margin-bottom: 6px; }
.ah-contenido .ah-pasos li strong { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }
#ah-home .ah-contenido .ah-grande { font-size: 22px; color: #fff; }
.ah-contenido .ah-citas .wp-block-quote > * { margin: 0 0 8px; }
#ah-home .ah-contenido .ah-nota { background: #15151b; border: 1px dashed #3a3a46; border-radius: 10px; padding: 16px 18px; font-size: 15px; max-width: 980px; }

/* Aviso flotante */
.ah-toast { font-family: Inter, system-ui, sans-serif; position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 99999; background: #1f1f27; color: #fff; border: 1px solid #3a3a46;
  padding: 14px 18px; border-radius: 10px; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.5); opacity: 0; transition: opacity .25s, transform .25s; max-width: 92vw; }
.ah-toast.ah-on { opacity: 1; transform: translate(-50%, 0); }
.ah-toast a { color: var(--ah-amarillo); font-weight: 700; margin-left: 6px; }

.ah-home :focus-visible { outline: 3px solid var(--ah-amarillo); outline-offset: 2px; }
.ah-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Tableta */
@media (max-width: 1000px) {
  .ah-card { flex-basis: calc((100% - 2 * var(--ah-gap)) / 3.3); }
  .ah-menu { display: none; }
  .ah-hero .ah-hero-h { font-size: 52px; }
}
/* Celular */
@media (max-width: 600px) {
  .ah-card { flex-basis: calc((100% - var(--ah-gap)) / 1.6); }
  .ah-hero { min-height: 560px; }
  .ah-hero .ah-hero-h { font-size: 38px; }
  .ah-hero-desc { font-size: 16px; }
  .ah-hero-info { bottom: 110px; right: var(--ah-pad); }
  .ah-puntos { bottom: 80px; left: var(--ah-pad); right: auto; }
  .ah-ocultar-cel { display: none; }
  .ah-marca b { font-size: 22px; }
  .ah-filas { margin-top: -30px; }
  .ah-puntos { bottom: 44px; }
  .ah-top .ah-btn-acento { padding: 9px 12px; font-size: 13px !important; white-space: nowrap; }
  .ah-top { gap: 12px; }
}
/* Pantallas táctiles: las filas se deslizan con el dedo */
@media (hover: none) {
  .ah-ventana { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .ah-ventana::-webkit-scrollbar { display: none; }
  .ah-card { scroll-snap-align: start; }
  .ah-card:hover { transform: none; box-shadow: none; }
  .ah-flecha { display: none; }
  .ah-panel { opacity: 1; transform: none; pointer-events: auto; padding-top: 22px; }
  .ah-panel .ah-estrellas, .ah-panel .ah-panel-m { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ah-slide, .ah-card, .ah-panel, .ah-track { transition: none !important; }
}

/* Ajustes de prioridad (los estilos generales de párrafos y ligas de .ah-contenido no deben pisar los componentes) */
#ah-home .ah-contenido .ah-vt .ah-vt-card .ah-vt-t a { color: #fff; }
#ah-home .ah-contenido .ah-vt .ah-vt-card .ah-vt-t a:hover { color: var(--ah-amarillo); }
#ah-home .ah-contenido .ah-vt-m, #ah-home .ah-contenido .ah-vt-cuenta { font-size: 14px; color: #a9a9b3; }
#ah-home .ah-contenido .ah-vt-sub { font-size: 18px; color: #d6d6dc; }
#ah-home .ah-contenido .ah-vt-vacio p { font-size: 17px; }
.ah-vt-limpiar[hidden] { display: none !important; }
#ah-home .ah-contenido .ah-precio p { font-size: 28px; font-weight: 800; color: #fff; margin: 0; }
#ah-home .ah-contenido .ah-precio p small { font-size: 14px; font-weight: 500; color: #c9c9d1; }
#ah-home .ah-contenido .ah-becas p { font-size: 15px; color: #e4e4ea; margin: 0; }
#ah-home .ah-contenido p.ah-grande { font-size: 24px; color: #fff; }
#ah-home .ah-contenido p.ah-sobretitulo { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; font-style: normal; }
#ah-home .ah-contenido p.ah-verde { color: var(--ah-lima); }
#ah-home .ah-contenido p.ah-rosa { color: var(--ah-acento); }
#ah-home .ah-contenido .ah-maestros .wp-block-column p.ah-cargo { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; color: var(--ah-acento); }
#ah-home .ah-contenido p.ah-nota { font-size: 15px; }
