/* ============================================================================================================
   curso-pagina.css — LA PÁGINA DEL CURSO, vitrina nueva (1.10.42, agente VE).
   Tal cual la referencia del dueño (curso-08/09/10): encabezado navy, pestañas ancla pegajosas, la columna de compra
   a la derecha que acompaña al bajar y las secciones en tarjetas blancas sobre el gris claro de la tienda.
   Las medidas salen de la referencia (un lienzo de 1440 px): columna de compra de 384 px, 56 px entre las dos
   columnas y la principal con el resto. Los márgenes son los de toda la vitrina (assets/css/vitrina-ancho.css: ≈4,5 %
   a cada lado y el mismo tope de --ancho-contenido que .contenedor), así la página se acopla al monitor como las demás;
   en pantallas muy anchas solo se limita la MEDIDA de los párrafos, para que se sigan leyendo bien.
   Todo cuelga de .ve-curso: las hojas de siempre no se tocan.
   Letra: Plus Jakarta Sans en toda la página (--font-display), como la referencia; el cuerpo en su peso medio (500,
   el más fino que trae la casa: fonts.css no sintetiza pesos).
   ============================================================================================================ */

.ve-curso {
  --ve-tinta: #0F172A;
  --ve-texto: #475569;
  --ve-gris: #64748B;
  --ve-gris2: #6B7280;                                /* el gris claro de la referencia, con contraste AA sobre blanco */
  --ve-linea: #E6EBF1;
  --ve-fondo: #F5F7FA;
  --ve-verde: #16A34A;
  --ve-verde-o: #15803D;
  --ve-verde-50: #EAF6EE;
  --ve-navy: #17365D;
  --ve-azul: #34528A;
  --ve-ambar: #F2A01F;
  --ve-m: max(var(--gutter, 24px), 4.5vw);          /* el margen de .contenedor (vitrina-ancho.css) */
  --ve-max: var(--ancho-contenido, 1840px);           /* el tope de .contenedor (con sus márgenes dentro) */
  --ve-aside: clamp(384px, 21vw, 440px);
  --ve-gap: clamp(56px, 3.6vw, 80px);
  --ve-medida: 860px;                                 /* lo más ancho que va un párrafo */
  --ve-tabs-h: 52px;
  --ve-top: var(--tope-h, 108px);
  --ve-radio: 16px;
  --ve-sombra: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 18px -8px rgba(15, 23, 42, .12);
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ve-tinta);
  background: var(--ve-fondo);
}
.ve-curso *, .ve-curso *::before, .ve-curso *::after { box-sizing: border-box; }
.ve-curso p { max-width: none; }
.ve-curso a { text-underline-offset: 3px; }
.ve-ico { width: 16px; height: 16px; flex: none; display: block; }

/* ------------------------------------------------------------------------------------------------------------
   La rejilla: [margen | principal | hueco | compra | margen]. Los márgenes son los de .contenedor y la principal
   crece con la pantalla hasta el tope de la vitrina; pasado el tope, la composición se centra, como las demás
   secciones. Filas: encabezado, pestañas, secciones. La columna de compra abarca las tres filas (empieza 38 px dentro
   del encabezado, como la referencia) y las pestañas las dos últimas (así se quedan arriba mientras se lee).
   ------------------------------------------------------------------------------------------------------------ */
.ve-lay {
  display: grid;
  grid-template-columns:
    minmax(var(--ve-m), 1fr)
    minmax(0, calc(var(--ve-max) - 2 * var(--ve-m) - var(--ve-gap) - var(--ve-aside)))
    var(--ve-gap) var(--ve-aside)
    minmax(var(--ve-m), 1fr);
  grid-template-rows: auto var(--ve-tabs-h) auto;
}

/* ============ ENCABEZADO ============ */
.ve-hero {
  grid-column: 1 / -1; grid-row: 1;
  display: grid; grid-template-columns: subgrid;
  color: #fff;
  background:
    radial-gradient(120% 150% at 100% 105%, rgba(28, 92, 112, .62) 0%, rgba(28, 92, 112, 0) 58%),
    linear-gradient(180deg, #07162A 0%, #081B32 52%, #0B2539 100%);
}
.ve-hero__in { grid-column: 2 / 3; min-width: 0; padding: 19px 0 30px; }
/* 1.10.42 · El paisaje de la industria (ve_fondo) bajo un velo azul marino fuerte: más denso a la izquierda, donde va el
   texto (contraste AA comprobado sobre el punto más claro de cada foto). Sin paisaje queda el degradado de siempre. */
.ve-hero { position: relative; isolation: isolate; overflow: hidden; }
.ve-hero__foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 55%; }
.ve-hero--foto::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(90% 140% at 100% 110%, rgba(18, 74, 92, .38) 0%, rgba(18, 74, 92, 0) 60%),
    linear-gradient(90deg, rgba(6, 19, 37, .95) 0%, rgba(6, 19, 37, .93) 36%, rgba(7, 23, 43, .84) 60%, rgba(8, 29, 50, .74) 100%),
    linear-gradient(180deg, rgba(6, 18, 34, .35) 0%, rgba(6, 18, 34, 0) 45%, rgba(8, 30, 48, .20) 100%); }
@supports not (grid-template-columns: subgrid) {
  .ve-hero { display: block; padding-inline: max(var(--ve-m), calc((100% - var(--ve-max)) / 2 + var(--ve-m))); }
  .ve-hero__in { max-width: calc(100% - var(--ve-gap) - var(--ve-aside)); }
}

.ve-migas { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 5px; font-size: 13px; line-height: 20px; color: #C7D2DF; }
.ve-migas a { color: #C7D2DF; text-decoration: underline; text-decoration-color: rgba(199, 210, 223, .55); }
.ve-migas a:hover { color: #fff; text-decoration-color: #fff; }
.ve-migas__aqui { color: #fff; font-weight: 700; }

.ve-hero__cat { margin: 17px 0 0; font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #4ADE80; }
.ve-hero__t { margin: 8px 0 0; font-family: var(--font-display); font-size: 42px; line-height: 1.12; font-weight: 800; letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.ve-hero__lead { margin: 11px 0 0; font-size: 18px; line-height: 1.45; font-weight: 500; color: #BFCDE0; }

.ve-hero__datos { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 15px 0 0; padding: 0; list-style: none; }
.ve-hero__datos li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; line-height: 20px; font-weight: 700; color: #fff; }
.ve-hero__datos .ve-ico { width: 17px; height: 17px; color: #D9E2EC; }
.ve-hero__norma { padding: 0 10px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; font-size: 12px !important; }

.ve-hero__por { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 7px; margin: 14px 0 0; font-size: 14px; line-height: 20px; }
.ve-hero__av { --zv-av: 35px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .32); margin: 2px; }
.ve-hero__av img { object-position: center 20%; }
.ve-hero__instr { color: #A9BACF; font-weight: 500; }
.ve-hero__instr a { color: #fff; font-weight: 700; text-decoration: none; margin-left: 8px; }
.ve-hero__instr a:hover { text-decoration: underline; }
.ve-hero__nota { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; color: #A9BACF; text-decoration: none; }
.ve-hero__nota svg { width: 14px; height: 14px; fill: var(--ve-ambar); }
.ve-hero__nota b { color: #fff; font-weight: 800; }
.ve-hero__nota:hover span { text-decoration: underline; }
/* La alianza, en la misma fila y sin caja: el logo en una ficha blanca pequeña (hay logos oscuros que en el navy no se
   verían), el rótulo en versalitas y el nombre. Una raya fina la separa de la nota. */
.ve-hero .cd-alianza { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 0 12px; padding: 0 0 0 14px;
  background: none; border: 0; border-left: 1px solid rgba(255, 255, 255, .22); border-radius: 0; }
.ve-hero .cd-alianza img { height: 30px; width: auto; max-width: 54px; padding: 3px 4px; border-radius: 7px; background: #fff; object-fit: contain; }
.ve-hero .cd-alianza > span { display: grid; gap: 1px; line-height: 1.2; }
.ve-hero .cd-alianza small { font-size: 9.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #A9BACF; }
.ve-hero .cd-alianza b { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: #fff; }
.ve-hero a:focus-visible { outline: 2px solid #4ADE80; outline-offset: 3px; border-radius: 3px; }
.ve-ruta.ruta-nav { margin: 16px 0 4px; }

/* ============ PESTAÑAS ANCLA ============ */
.ve-tabs {
  grid-column: 1 / -1; grid-row: 2 / 4; align-self: start;
  position: sticky; top: var(--ve-top); z-index: 30;
  height: var(--ve-tabs-h);
  display: grid; grid-template-columns: subgrid;
  background: #fff;
  box-shadow: 0 1px 0 var(--ve-linea), 0 8px 16px -12px rgba(15, 23, 42, .22);
}
.ve-tabs__in { grid-column: 2 / 3; min-width: 0; display: flex; align-items: stretch; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.ve-tabs__in::-webkit-scrollbar { display: none; }
@supports not (grid-template-columns: subgrid) {
  .ve-tabs { display: block; padding-inline: max(var(--ve-m), calc((100% - var(--ve-max)) / 2 + var(--ve-m))); }
  .ve-tabs__in { max-width: calc(100% - var(--ve-gap) - var(--ve-aside)); height: 100%; }
}
.ve-tab {
  position: relative; flex: none; display: flex; align-items: center;
  font-size: 14px; font-weight: 600; color: #6B7280; text-decoration: none; white-space: nowrap; padding-bottom: 2px;
}
.ve-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 3px 3px 0 0; background: transparent; }
.ve-tab:hover { color: var(--ve-tinta); }
.ve-tab.is-on { color: var(--ve-tinta); font-weight: 700; }
.ve-tab.is-on::after { background: var(--ve-verde); }
.ve-tab:focus-visible { outline: 2px solid var(--ve-verde); outline-offset: -2px; border-radius: 4px; }

/* ============ COLUMNA DE LA DERECHA ============ */
/* 1.10.42 · Al bajar, la columna se queda en el PRECIO (pedido del dueño, 05/10: «que se quede justamente en el precio…
   que oculte la portada, no importa; cuando suba ya muestra la portada»): su tope pegado deja la línea del precio justo
   bajo la cabecera y las pestañas, y la portada sube por detrás de ellas. El cálculo: la cabecera + las pestañas
   − (1 px del borde + la portada, ancho / 1,92) − 1 px. curso-pagina.js lo afina con la medida real y recorta la
   portada mientras se esconde, para que nunca asome entre la cabecera y la ficha. */
.ve-aside {
  grid-column: 4 / 5; grid-row: 1 / 4; align-self: start; min-width: 0;
  margin-top: 38px; padding-bottom: 48px;
  position: sticky; top: calc(var(--ve-top) + var(--ve-tabs-h) - 1px - (var(--ve-aside) - 2px) / 1.92); z-index: 40;
  display: grid; gap: 22px;
}
.ve-aside.is-anim { transition: top .35s ease, clip-path .35s ease; }
#resenas, #cd-fechas { scroll-margin-top: calc(var(--ve-top) + var(--ve-tabs-h) + 12px); }
.ve-card { background: #fff; border: 1px solid var(--ve-linea); border-radius: var(--ve-radio); box-shadow: var(--ve-sombra); }

/* --- La ficha de compra --- */
.ve-compra { overflow: hidden; box-shadow: 0 2px 4px rgba(15, 23, 42, .05), 0 18px 40px -14px rgba(15, 23, 42, .28); border-color: #E2E8F0; }
.ve-compra__img { aspect-ratio: 1.92 / 1; background: #0E2245; }
.ve-compra__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ve-compra__in { padding: 26px 22px 19px; }
.ve-precio { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.ve-precio__n { font-size: 34px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--ve-tinta); }
.ve-precio__n.is-largo { font-size: 28px; }
.ve-precio__antes { font-size: 16px; font-weight: 600; color: var(--ve-gris2); }
.ve-precio__cap { font-size: 13px; font-weight: 500; color: var(--ve-gris2); }
.ve-precio__ref { margin: 6px 0 0; font-size: 12.5px; color: var(--ve-gris); }
.ve-precio__oferta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 8px 0 0; }
.ve-precio__ahorro { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #FDF3D7; color: #8A5A0A; font-size: 12.5px; font-weight: 700; }
/* «Oferta hasta el 31 oct»: solo con fecha de fin real (la de la tarjeta de la vitrina); ámbar oscuro sobre blanco, 5,9:1 */
.ve-precio__hasta { display: inline-flex; align-items: center; gap: 5px; color: #8A5A0A; font-size: 12.5px; font-weight: 600; }
.ve-precio__hasta .ve-ico { width: 15px; height: 15px; flex: none; }
.ve-ve { margin: 8px 0 0; font-size: 12.5px; color: var(--ve-gris); }
.ve-ve summary { cursor: pointer; font-weight: 700; color: var(--ve-azul); }
.ve-ve p { margin: 6px 0 0; line-height: 1.5; }

.ve-form { margin: 0; }
.ve-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 10px 18px; border-radius: 11px; border: 1.5px solid transparent;
  font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.ve-btn .ve-ico { width: 19px; height: 19px; }
.ve-btn--bloque { display: flex; width: 100%; }
.ve-btn--alto { min-height: 54px; }
.ve-btn--verde { background: var(--ve-verde); border-color: var(--ve-verde); color: #fff; font-size: 17px; font-weight: 800; }
.ve-btn--verde:hover { background: var(--ve-verde-o); border-color: var(--ve-verde-o); color: #fff; }
.ve-btn--sombra { box-shadow: 0 10px 22px -8px rgba(22, 163, 74, .55); }
.ve-btn--linea { background: #fff; border: 2px solid #3E5578; color: #17325A; }
.ve-btn--linea:hover { background: #F1F5FB; color: #0E2A4F; border-color: #0E2A4F; }
.ve-btn--mio { background: var(--mio, #4338CA); border-color: var(--mio, #4338CA); color: #fff; }
.ve-btn--mio:hover { background: var(--mio-700, #3730A3); border-color: var(--mio-700, #3730A3); color: #fff; }
.ve-btn:focus-visible { outline: 3px solid rgba(22, 163, 74, .45); outline-offset: 2px; }
.ve-btn:active { transform: translateY(1px); }
.ve-btn.is-ok { background: var(--ve-verde-o); }
.ve-btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.ve-btn.is-agregado { background: var(--ve-verde-o); border-color: var(--ve-verde-o); animation: ve-pulso .9s ease-out 1; }
@keyframes ve-pulso {
  0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, .55); transform: scale(1); }
  35%  { transform: scale(1.03); }
  100% { box-shadow: 0 0 0 16px rgba(22, 163, 74, 0); transform: scale(1); }
}
/* El contador del carrito de la cabecera (header.css) sube y salta al añadir desde la ficha. */
.cart-btn__count.ve-salta { animation: ve-salta .7s cubic-bezier(.3, 1.6, .5, 1) 1; }
.cart-btn.ve-salta svg { animation: ve-sacude .6s ease 1; }
@keyframes ve-salta { 0% { transform: scale(.4); } 45% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes ve-sacude { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 60% { transform: rotate(9deg); } }
/* Lo que se le dice al lector de pantalla y no se ve. */
.ve-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Los botones de la ficha (y los formularios que los llevan) van 13 px por debajo de lo anterior, como la referencia. */
.ve-compra__in > .ve-btn, .ve-compra__in > .ve-form { margin-top: 13px; }
.ve-estado { margin: 0; }
.ve-precio ~ .ve-estado { margin-top: 13px; }

.ve-curso .ve-checks { list-style: none; margin: 17px 0 0; padding: 0 0 12px; border-bottom: 1px solid #EEF1F5; display: grid; gap: 7px; }   /* .ve-curso: gana al reset ul[role="list"] de base.css */
.ve-checks li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; line-height: 20px; color: var(--ve-texto); }
.ve-checks .ve-ico { width: 15px; height: 15px; margin-top: 2px; color: var(--ve-verde); stroke-width: 2.4; }

.ve-datos { margin: 10px 0 0; display: grid; gap: 7px; }
.ve-datos__f { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 20px; }
.ve-datos dt { display: flex; align-items: center; gap: 9px; color: var(--ve-gris2); font-weight: 500; }
.ve-datos dt .ve-ico { width: 15px; height: 15px; color: #94A0B1; }
.ve-datos dd { margin: 0; font-weight: 700; color: var(--ve-tinta); text-align: right; }

.ve-doc { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; padding: 0 14px; min-height: 46px; border-radius: 10px;
  background: #F5F7FA; border: 1px solid #EDF1F5; color: var(--ve-tinta); text-decoration: none; font-size: 13px; font-weight: 700; }
.ve-doc + .ve-doc { margin-top: 8px; }
.ve-doc .ve-ico { width: 16px; height: 16px; color: var(--ve-tinta); }
.ve-doc__t { flex: 1; min-width: 0; }
.ve-doc small { font-size: 11px; font-weight: 600; color: var(--ve-gris2); letter-spacing: .02em; }
.ve-doc:hover { background: #EEF2F7; border-color: #E2E8F0; }
.ve-doc:focus-visible { outline: 2px solid var(--ve-verde); outline-offset: 2px; }

.ve-compra__emp { margin: 11px 0 0; text-align: center; font-size: 12.5px; line-height: 18px; color: var(--ve-gris2); }
.ve-compra__emp a { color: var(--ve-verde); font-weight: 700; text-decoration: none; }
.ve-compra__emp a:hover { text-decoration: underline; }

/* --- También presencial o en vivo / Próximas fechas --- */
.ve-fechas { padding: 15px 21px 15px; }
.ve-fechas__cab { display: flex; align-items: center; gap: 12px; padding: 0 2px 8px; border-bottom: 1px solid #F1F4F7; }
.ve-fechas__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #EEF3FB; color: #3A64C8; flex: none; }
.ve-fechas__ic .ve-ico { width: 17px; height: 17px; }
.ve-fechas__t { margin: 0; font-family: var(--font-display); font-size: 16px; line-height: 20px; font-weight: 800; color: var(--ve-tinta); letter-spacing: -.005em; }
.ve-fechas__s { margin: 1px 0 0; font-size: 13px; line-height: 16px; color: var(--ve-gris2); }
.ve-fechas__l { list-style: none; margin: 0; padding: 0; }
.ve-fecha { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 10px 2px; border-bottom: 1px solid #F3F5F8; }
.ve-fecha:hover { background: #FAFBFD; }
.ve-fecha__cal { display: grid; grid-template-rows: 16px 1fr; width: 46px; height: 50px; border: 1px solid #E3E8EF; border-radius: 7px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); text-align: center; }
.ve-fecha__mes { display: block; background: #4F7FE6; color: #fff; font-size: 8.5px; line-height: 16px; font-weight: 800; letter-spacing: .06em; }
.ve-fecha__cal b { display: grid; place-items: center; font-size: 18px; line-height: 1; font-weight: 800; color: var(--ve-tinta); }
.ve-fecha__q { min-width: 0; display: grid; gap: 5px; }
.ve-fecha__donde { font-size: 14px; line-height: 18px; font-weight: 700; color: var(--ve-tinta); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ve-fecha__pills { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.ve-modal, .ve-cupo { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.ve-modal--en_vivo { background: #FDECEC; color: #B4372E; }
.ve-modal--presencial { background: #EAF1FB; color: #2F5DA8; }
.ve-modal--hibrido { background: #F1EBFB; color: #6B47C4; }
.ve-cupo--pocos { background: #FDF3D7; color: #8A5A0A; }
.ve-cupo--lleno { background: #FBEAE7; color: #B42318; }
.ve-cupo--cerrada { background: #F1F5F9; color: var(--ve-gris); }
.ve-fecha__precio { font-size: 12px; font-weight: 700; color: var(--ve-gris); }
.ve-fecha__ir { display: inline-flex; align-items: center; gap: 1px; font-size: 13px; font-weight: 700; color: var(--ve-azul); text-decoration: none; white-space: nowrap; }
.ve-fecha__ir .ve-ico { width: 11px; height: 11px; stroke-width: 2.6; }
.ve-fecha__ir::after { content: ""; position: absolute; inset: 0; }   /* toda la fila se puede tocar */
.ve-fecha:hover .ve-fecha__ir { color: #17325C; text-decoration: underline; }
.ve-fecha__ir:focus-visible { outline: none; }
.ve-fecha__ir:focus-visible::after { outline: 2px solid var(--ve-verde); outline-offset: -2px; border-radius: 10px; }
.ve-fechas__nada { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ve-texto); }
.ve-fechas .ve-btn--linea { margin-top: 8px; min-height: 46px; font-size: 14px; border: 1.5px solid #3B5B92; color: #2C4A7E; }

/* --- Lo que dicen los alumnos --- */
.ve-resenas { padding: 18px 21px 14px; }
.ve-resenas__cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ve-resenas__t { margin: 0; font-family: var(--font-display); font-size: 16px; line-height: 20px; font-weight: 800; color: var(--ve-tinta); letter-spacing: -.005em; }
.ve-resenas__nota { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ve-gris2); white-space: nowrap; }
.ve-resenas__nota svg { width: 13px; height: 13px; fill: var(--ve-ambar); }
.ve-resenas__nota b { color: var(--ve-tinta); font-weight: 800; }
.ve-carr { margin-top: 12px; }
.ve-carr__vista { display: grid; }
.ve-res { grid-area: 1 / 1; margin: 0; padding: 15px 16px 16px; border-radius: 12px; background: #F6F8FA;
  visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility .35s; }
.ve-res.is-on { visibility: visible; opacity: 1; }
html:not(.js) .ve-res { grid-area: auto; visibility: visible; opacity: 1; margin-bottom: 10px; }
.ve-estrellas { display: inline-flex; gap: 2px; vertical-align: middle; }
.ve-res__est { display: flex; }
.ve-estrellas svg { width: 13px; height: 13px; fill: var(--ve-ambar); }
.ve-estrellas svg.is-off { fill: #E2E8F0; }
.ve-res__txt { margin: 13px 0 0; padding: 0; border: 0; }
.ve-res__txt p { margin: 0; font-size: 15px; line-height: 22px; color: #5A6372;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ve-res__por { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.ve-res__av { --zv-av: 32px; }
.ve-res__quien { display: grid; line-height: 1.25; min-width: 0; }
.ve-res__quien b { font-size: 13px; font-weight: 700; color: var(--ve-tinta); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ve-res__ok { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: #2B7A47; }
.ve-res__ok .ve-ico { width: 12px; height: 12px; stroke-width: 2.6; }
.ve-carr__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.ve-carr__fl { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid #E2E8F0; background: #fff; color: #334155; cursor: pointer; }
.ve-carr__fl .ve-ico { width: 15px; height: 15px; }
.ve-carr__fl:hover { border-color: #CBD5E1; background: #F8FAFC; }
.ve-carr__fl:focus-visible, .ve-carr__punto:focus-visible { outline: 2px solid var(--ve-verde); outline-offset: 2px; }
.ve-carr__puntos { display: flex; align-items: center; gap: 5px; }
.ve-carr__punto { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: #D5DCE5; cursor: pointer; transition: width .2s, background-color .2s; }
.ve-carr__punto.is-on { width: 22px; background: var(--ve-verde); }
.ve-resenas__todas { display: block; margin: 16px 0 2px; text-align: center; font-size: 13px; font-weight: 800; color: var(--ve-verde); text-decoration: none; }
.ve-resenas__todas:hover { text-decoration: underline; }

/* ============ LAS SECCIONES ============ */
.ve-main { grid-column: 2 / 3; grid-row: 3; min-width: 0; padding: 30px 0 60px; }
.ve-sec { padding: 31px 0 31px; border-top: 1px solid #E6EAF0; scroll-margin-top: calc(var(--ve-top) + var(--ve-tabs-h) + 12px); }
.ve-video + .ve-sec, .ve-main > .ve-sec:first-child { border-top: 0; padding-top: 32px; }
.ve-main > .ve-sec:first-child { padding-top: 0; }
.ve-sec:last-child { padding-bottom: 0; }
.ve-h2 { margin: 0; font-family: var(--font-display); font-size: 24px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; color: var(--ve-tinta); }
.ve-h2-fila { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.ve-h2-sub { font-size: 14px; font-weight: 500; color: var(--ve-gris2); }
.ve-h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--ve-tinta); }
.ve-texto { margin-top: 14px; }
.ve-texto p { margin: 0 0 10px; font-size: 15px; line-height: 1.65; color: var(--ve-texto); }
.ve-texto p:last-child { margin-bottom: 0; }
.ve-texto p, .ve-rico, .ve-faq__i p, .ve-instr .inst-card__bio { max-width: var(--ve-medida); }
.ve-rico { font-size: 15px; line-height: 1.65; color: var(--ve-texto); }
.ve-rico > :first-child { margin-top: 0; }
.ve-rico p, .ve-rico ul, .ve-rico ol { margin: 0 0 10px; }
.ve-rico ul, .ve-rico ol { padding-left: 1.2em; }
.ve-rico li { margin: 0 0 4px; }
.ve-rico strong, .ve-rico b { color: var(--ve-tinta); font-weight: 700; }
.ve-rico img { max-width: 100%; height: auto; border-radius: 10px; }
.ve-rico h3, .ve-rico h4 { font-size: 15px; margin: 12px 0 6px; color: var(--ve-tinta); }
.ve-rico [style*="text-align: justify"] { text-align: left !important; }
.ve-rico span[style*="color"] { color: inherit !important; }
.ve-enlace { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 800; color: var(--ve-verde); text-decoration: none; }
.ve-enlace:hover { text-decoration: underline; }
.ve-enlace:focus-visible, .ve-mas:focus-visible { outline: 2px solid var(--ve-verde); outline-offset: 3px; border-radius: 4px; }

/* --- El video de presentación --- */
.ve-video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0B1F36;
  box-shadow: 0 2px 4px rgba(15, 23, 42, .06), 0 22px 44px -18px rgba(15, 23, 42, .45); }
.ve-video__btn { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: #fff; text-align: center; font: inherit; }
.ve-video__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
/* El velo deja la imagen del video como una textura: el encuadre de la referencia (ámbar arriba a la izquierda,
   navy al centro y azul petróleo abajo a la derecha) manda. */
.ve-video__velo { position: absolute; inset: 0;
  background:
    radial-gradient(75% 70% at 0% 0%, rgba(92, 58, 18, .62), rgba(92, 58, 18, 0) 72%),
    linear-gradient(165deg, rgba(22, 26, 34, .90) 0%, rgba(9, 28, 54, .92) 52%, rgba(18, 72, 92, .90) 100%); }
.ve-video__pill { position: absolute; left: 20px; top: 18px; display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px;
  border-radius: 999px; background: rgba(9, 18, 33, .78); font-size: 11.5px; font-weight: 800; color: #fff; letter-spacing: .005em; }
.ve-video__pill i { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .22); }
.ve-video__centro { position: absolute; left: 50%; top: calc(50% - 92px); transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; width: 90%; }
.ve-video__play { position: relative; display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; background: rgba(22, 163, 74, .26);
  transition: transform .2s ease, background-color .2s; }
.ve-video__play::before { content: ""; position: absolute; width: 92px; height: 92px; border-radius: 50%; background: var(--ve-verde); }
.ve-video__play .ve-ico { position: relative; width: 42px; height: 42px; color: #fff; margin-left: 5px; }
.ve-video__t { font-size: 20px; line-height: 1.3; font-weight: 800; letter-spacing: -.005em; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
/* 1.10.44 · la duración bajo el título (EURECA Video y Vimeo), como el diseño */
.ve-video__dur { margin-top: 4px; font-size: 13px; line-height: 18px; font-weight: 600; color: rgba(255, 255, 255, .86); text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.ve-video__btn:hover .ve-video__play { transform: scale(1.05); background: rgba(22, 163, 74, .38); }
.ve-video__btn:focus-visible { outline: 3px solid #4ADE80; outline-offset: -3px; border-radius: 14px; }
.ve-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* 1.10.44 · EURECA Video (Bunny) se ve con el reproductor de la plataforma (HLS en un <video> con sus controles). */
.ve-video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }

/* --- Al terminar podrás --- */
.ve-aprende__l { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; }
.ve-aprende__l li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 23px; color: var(--ve-texto); }
.ve-aprende__ck { display: grid; place-items: center; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--ve-verde-50); color: var(--ve-verde); }
.ve-aprende__ck .ve-ico { width: 12px; height: 12px; stroke-width: 2.8; }
.ve-desc { margin-top: 18px; display: grid; gap: 16px; }
.ve-desc .ve-texto { margin-top: 0; }
.ve-desc__b { padding: 16px 18px; border: 1px solid var(--ve-linea); border-radius: 12px; background: #fff; }
.ve-mas { display: inline-flex; align-items: center; gap: 4px; margin: 16px 0 0; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--ve-verde-o); }
.ve-mas:hover { text-decoration: underline; }
.ve-mas__ic { width: 14px; height: 14px; stroke-width: 2.6; transition: transform .2s; }
[data-ve-plegable].is-abierto > .ve-mas .ve-mas__ic { transform: rotate(180deg); }
/* Lo plegado: con JavaScript espera detrás de su botón; sin JavaScript se ve todo y el botón no sale. */
.js [data-ve-plegable]:not(.is-abierto) .is-extra { display: none; }
html:not(.js) .ve-mas { display: none; }

/* --- El temario, en resumen: cifras reales, ningún nombre de módulo (pedido del dueño, 05/10) --- */
.ve-curso .ve-temario { list-style: none; margin: 16px 0 0; padding: 6px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff; border: 1px solid var(--ve-linea); border-radius: 14px; box-shadow: 0 1px 2px rgba(15, 23, 42, .03); }
.ve-cifra { display: flex; align-items: center; gap: 13px; min-height: 76px; padding: 12px 16px; border-radius: 10px; }
.ve-cifra__ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--ve-verde-50); color: #1F7A3F; }
.ve-cifra__ic .ve-ico { width: 21px; height: 21px; }
.ve-cifra__q { display: grid; gap: 1px; min-width: 0; line-height: 1.2; }
.ve-cifra__q b { font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--ve-tinta); }
.ve-cifra__q span { font-size: 13px; font-weight: 600; color: var(--ve-gris2); }
.ve-cifra--sola .ve-cifra__q b { font-size: 16px; }
.ve-temario__nota { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--ve-gris); }
.ve-temario__nota .ve-ico { width: 16px; height: 16px; color: var(--ve-gris2); }
.ve-temario__nota a { color: var(--ve-verde-o); font-weight: 700; }

/* --- ¿Para quién es? --- */
.ve-pildoras { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 9px; }
.ve-pildoras li { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 17px; border-radius: 20px; background: #fff; border: 1px solid #E3E8EF;
  font-size: 13.5px; line-height: 20px; font-weight: 700; color: #1E293B; box-shadow: 0 1px 2px rgba(15, 23, 42, .03); }
.ve-aprende__l--quien { margin-top: 16px; }

/* --- Requisitos --- */
.ve-req { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.ve-req__c { display: grid; align-content: start; gap: 3px; padding: 16px 16px 15px; background: #fff; border: 1px solid var(--ve-linea); border-radius: 12px; box-shadow: 0 1px 2px rgba(15, 23, 42, .03); }
.ve-req__c b { font-size: 15px; line-height: 19px; font-weight: 800; color: var(--ve-tinta); letter-spacing: -.005em; }
.ve-req__c span { font-size: 13px; line-height: 19px; color: var(--ve-gris2); }
.ve-req__c.is-frase b { font-size: 14px; line-height: 20px; font-weight: 600; color: #1E293B; letter-spacing: 0; }
.ve-req__c.is-ancha { grid-column: 1 / -1; }

/* --- Tu instructor: la tarjeta de siempre (sections.css), tumbada como la referencia y sin el ✓ --- */
.ve-instr { margin-top: 16px; }
.ve-instr .inst-card--fila { grid-template-columns: 232px minmax(0, 1fr); border-color: var(--ve-linea); border-radius: var(--ve-radio); box-shadow: var(--ve-sombra); }
.ve-instr .inst-card:hover { transform: none; box-shadow: var(--ve-sombra); border-color: var(--ve-linea); }
.ve-instr .inst-card:hover .inst-card__foto img { transform: none; }
.ve-instr .inst-card--fila .inst-card__foto { min-height: 335px; background: linear-gradient(160deg, #E7ECF2, #D9E0E8); }
.ve-instr .inst-card__foto img { object-position: center top; }
.ve-instr .inst-card--fila .inst-card__cuerpo { padding: 28px 30px 24px 28px; justify-content: space-between; }
.ve-instr .inst-card--fila .inst-card__name { font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -.015em; color: var(--ve-tinta); }
.ve-instr .inst-card--fila .inst-card__role { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--ve-gris2); -webkit-line-clamp: 2; }
.ve-instr .inst-card--fila .inst-card__bio { margin-top: 14px; font-size: 14px; line-height: 1.68; color: #334155; -webkit-line-clamp: 7; }
.ve-instr .inst-card--fila .inst-card__proof { margin-top: 12px; }
.ve-instr .inst-card--fila .inst-card__chip { padding: 4px 11px; font-size: 11.5px; font-weight: 800; background: #F5F7FA; border-color: #E3E8EF; color: #334155; }
.ve-instr .inst-card--fila .inst-card__pie { padding-top: 16px; }
.ve-instr .inst-card__btn { padding: 0 24px; min-height: 44px; border-radius: 10px; font-size: 14px; font-weight: 800; background: #EAF6EE; border: 1px solid #CFEBD8; color: #1F6F3B; }
.ve-instr .inst-card__btn:hover { background: var(--ve-verde); border-color: var(--ve-verde); color: #fff; }
.ve-instr-txt { margin-top: 16px; padding: 22px 24px; }

/* --- Tu certificado --- */
.ve-cert { margin-top: 16px; padding: 20px; display: grid; grid-template-columns: 232px minmax(0, 1fr); align-items: center; gap: 22px; }
.ve-cert__mini { position: relative; display: grid; justify-items: center; align-content: center; gap: 5px; min-height: 150px; padding: 18px 14px;
  background: #F6F8FC; border: 1px solid #C9A24B; border-radius: 8px; outline: 3px solid #fff; outline-offset: -5px; overflow: hidden; text-align: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .08); }
.ve-cert__olas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.ve-cert__doc { position: relative; font-size: 7.5px; line-height: 1; font-weight: 800; letter-spacing: .22em; color: #B98A2F; }
.ve-cert__nombre { position: relative; margin-top: 4px; padding-bottom: 6px; font-size: 16px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; color: #0D1B33; }
.ve-cert__nombre::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 70%; height: 1.5px; transform: translateX(-50%); background: #C9A24B; }
.ve-cert__curso { position: relative; margin-top: 2px; font-size: 9px; line-height: 1.3; color: #64748B; }
.ve-cert__ok { position: relative; display: inline-flex; align-items: center; gap: 3px; margin-top: 5px; padding: 3px 8px; border-radius: 999px; background: #E3F5E9; color: #15703A; font-size: 9px; font-weight: 800; }
.ve-cert__ok .ve-ico { width: 9px; height: 9px; stroke-width: 3; }
.ve-cert__l { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ve-cert__l li { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; line-height: 22px; color: var(--ve-texto); }
.ve-cert__l b { font-weight: 800; color: var(--ve-tinta); }
.ve-cert__l .ve-ico { width: 16px; height: 16px; margin-top: 3px; color: var(--ve-verde); stroke-width: 2.6; }
.ve-cert__txt .ve-enlace { margin-top: 12px; }

/* --- Preguntas frecuentes --- */
.ve-faq { margin-top: 16px; display: grid; gap: 10px; }
.ve-faq__i { background: #fff; border: 1px solid var(--ve-linea); border-radius: 12px; box-shadow: 0 1px 2px rgba(15, 23, 42, .03); }
.ve-faq__i summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 12px 20px; cursor: pointer; list-style: none;
  font-size: 15px; line-height: 21px; font-weight: 800; color: var(--ve-tinta); }
.ve-faq__i summary::-webkit-details-marker { display: none; }
.ve-faq__i summary::marker { content: ""; }
.ve-faq__i summary:focus-visible { outline: 2px solid var(--ve-verde); outline-offset: -2px; border-radius: 12px; }
.ve-faq__ic { flex: none; color: var(--ve-verde); }
.ve-faq__ic .ve-ico { width: 16px; height: 16px; stroke-width: 2.6; }
.ve-faq__menos { display: none !important; }
.ve-faq__i[open] .ve-faq__mas { display: none !important; }
.ve-faq__i[open] .ve-faq__menos { display: block !important; }
.ve-faq__i p { margin: -4px 0 0; padding: 0 20px 16px; font-size: 14px; line-height: 22px; color: var(--ve-gris); }

/* --- 1.10.44 · Antes de comprar: Descuentos, Términos y condiciones y Otras opciones de pago (el texto del editor) --- */
.ve-antes__c { margin-top: -4px; padding: 0 20px 16px; font-size: 14px; line-height: 22px; }
/* 1.10.44 · Una reseña traducida por la IA (TR), en la página en inglés. */
.ve-res__txt + .ve-res__trad { margin: 6px 0 0; font-size: 11.5px; line-height: 16px; color: var(--ve-gris); }
.ve-antes__c p, .ve-antes__c ul, .ve-antes__c ol { margin: 0 0 8px; }
.ve-antes__c > :last-child { margin-bottom: 0; }
/* Los párrafos del texto no llevan el relleno de las respuestas de las preguntas (.ve-faq__i p): ya lo pone el recuadro. */
.ve-faq__i .ve-antes__c p { padding: 0; color: inherit; }
/* El PDF de «Otras opciones de pago» (1.10.44), con el estilo del programa de la columna de compra. */
.ve-antes__c .ve-antes__pdf { max-width: 380px; margin: 12px 0 0; color: var(--ve-tinta); }
.ve-antes__c > .ve-antes__pdf:first-child { margin-top: 0; }
.ve-antes__c a { color: var(--ve-verde-o); font-weight: 700; }

/* --- 1.10.44 · La vista previa de una ficha sin publicar (solo la administración) --- */
.ve-previa { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; padding: 10px max(var(--ve-m), 16px);
  background: #FFF7E6; border-bottom: 1px solid #F3D9A4; color: #7A4210; font-size: 13.5px; line-height: 19px; }
.ve-previa__pill { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: #B45309; color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
.ve-previa__t { flex: 1 1 320px; min-width: 0; }
.ve-previa__a { font-weight: 800; color: #7A4210; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ve-previa__a:focus-visible { outline: 2px solid #B45309; outline-offset: 2px; border-radius: 4px; }
.ve-btn--previa { background: #F1F5F9; border-color: #E2E8F0; color: #64748B; cursor: not-allowed; font-size: 15px; font-weight: 800; }

/* ============ TAMBIÉN TE PUEDE INTERESAR (franja blanca) ============ */
.ve-rel { background: #fff; padding: 35px var(--ve-m) 56px; border-top: 1px solid #EDF0F4; }
.ve-rel__in { max-width: calc(var(--ve-max) - 2 * var(--ve-m)); margin: 0 auto; }
.ve-rel__cab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.ve-rel__cab .ve-enlace { font-size: 13.5px; }
.ve-rel__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.ve-rel__grid > * { min-width: 0; }

/* La barra de compra del teléfono (store.css) también en tableta: la columna de compra queda arriba. */
@media (min-width: 901px) and (max-width: 1023px) {
  .ve-buybar.cd-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky, 60);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .6rem clamp(1rem, 4vw, 1.5rem); background: #fff;
    border-top: 1px solid var(--color-borde); box-shadow: 0 -8px 24px rgba(14, 34, 69, .14); }
  .ve-buybar .cd-buybar__info { display: flex; flex-direction: column; line-height: 1.15; }
  .ve-buybar .cd-buybar__price { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--color-texto); }
  .ve-buybar .cd-buybar__cap { font-size: .72rem; color: var(--color-texto-suave); }
  .ve-buybar form { margin: 0; }
  .ve-buybar + .cd-buybar__spacer { display: block; height: 76px; }
  body:has(.ve-buybar) .back-to-top { bottom: calc(76px + 1rem); }
}

/* ============ TABLETA Y TELÉFONO: una sola columna ============
   La columna de compra se deshace (display: contents) y sus tres tarjetas se acomodan en la rejilla: la ficha de
   compra y las fechas justo después del encabezado (en una presencial las fechas SON la compra), las pestañas, las
   secciones y al final las reseñas. Nada se pega salvo las pestañas. */
@media (max-width: 1023px) {
  .ve-lay {
    grid-template-columns: var(--ve-m) minmax(0, 1fr) minmax(0, 1fr) var(--ve-m);
    grid-template-rows: auto auto auto var(--ve-tabs-h) auto auto;
  }
  .ve-hero { grid-column: 1 / -1; grid-row: 1; }
  .ve-hero__in { grid-column: 2 / 4; padding-bottom: 26px; }
  .ve-aside { display: contents; }
  /* Tableta: la ficha de compra a la izquierda; las fechas y las reseñas a su lado. */
  .ve-compra { grid-column: 2 / 3; grid-row: 2 / 4; align-self: start; margin: 24px 11px 28px 0; }
  .ve-fechas { grid-column: 3 / 4; grid-row: 2; align-self: start; margin: 24px 0 0 11px; }
  .ve-resenas { grid-column: 3 / 4; grid-row: 3; align-self: start; margin: 22px 0 28px 11px; }
  .ve-curso:not(:has(.ve-fechas)) .ve-resenas { grid-row: 2 / 4; margin-top: 24px; }
  .ve-tabs { grid-row: 4 / 6; }
  .ve-tabs__in { grid-column: 2 / 4; }
  .ve-main { grid-column: 2 / 4; grid-row: 5; }
  @supports not (grid-template-columns: subgrid) {
    .ve-hero, .ve-tabs { padding-inline: var(--ve-m); }
    .ve-hero__in, .ve-tabs__in { max-width: none; }
  }
  .ve-rel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .ve-curso { --ve-tabs-h: 48px; }
  .ve-lay { grid-template-columns: var(--ve-m) minmax(0, 1fr) var(--ve-m); grid-template-rows: auto auto auto var(--ve-tabs-h) auto auto; }
  .ve-hero__in { grid-column: 2 / 3; padding: 16px 0 22px; }
  /* Teléfono: la ficha de compra y las fechas justo después del encabezado; las reseñas al final. */
  .ve-compra { grid-column: 2 / 3; grid-row: 2; margin: 18px 0 22px; }
  .ve-fechas { grid-column: 2 / 3; grid-row: 3; margin: -6px 0 22px; }
  .ve-resenas, .ve-curso:not(:has(.ve-fechas)) .ve-resenas { grid-column: 2 / 3; grid-row: 6; margin: 0 0 40px; }
  .ve-tabs { grid-row: 4 / 6; }
  .ve-tabs__in { grid-column: 2 / 3; gap: 18px; }
  .ve-main { grid-column: 2 / 3; padding: 24px 0 36px; }
  .ve-hero__t { font-size: 29px; line-height: 1.18; }
  .ve-hero__lead { font-size: 16px; }
  .ve-hero__datos { gap: 6px 16px; }
  .ve-hero__datos li { font-size: 13px; }
  .ve-hero__nota { margin-left: 0; }
  .ve-hero .cd-alianza { margin: 6px 0 0; padding: 0; border-left: 0; flex-basis: 100%; }
  .ve-hero--foto::before { background: linear-gradient(180deg, rgba(6, 19, 37, .90) 0%, rgba(6, 19, 37, .93) 100%); }
  .ve-curso .ve-temario { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; }
  .ve-cifra { gap: 10px; min-height: 66px; padding: 10px; }
  .ve-cifra__ic { width: 36px; height: 36px; border-radius: 10px; }
  .ve-cifra__ic .ve-ico { width: 18px; height: 18px; }
  .ve-cifra__q b { font-size: 19px; }
  .ve-h2 { font-size: 22px; }
  .ve-sec { padding: 28px 0; }
  .ve-video { border-radius: 12px; }
  .ve-video__pill { left: 12px; top: 12px; }
  .ve-video__play { width: 72px; height: 72px; }
  .ve-video__play::before { width: 56px; height: 56px; }
  .ve-video__play .ve-ico { width: 24px; height: 24px; }
  .ve-video__t { font-size: 16px; }
  .ve-video__centro { top: calc(50% - 56px); gap: 2px; }
  .ve-aprende__l { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ve-req { grid-template-columns: minmax(0, 1fr); }
  .ve-instr .inst-card--fila { grid-template-columns: 1fr; }
  .ve-instr .inst-card--fila .inst-card__foto { width: auto; min-height: 0; aspect-ratio: 4 / 3.4; }   /* sections.css la deja en 112 px en el teléfono */
  .ve-instr .inst-card--fila .inst-card__cuerpo { padding: 20px; }
  .ve-instr .inst-card--fila .inst-card__pie { justify-content: stretch; }
  .ve-instr .inst-card__btn { width: 100%; }
  .ve-cert { grid-template-columns: minmax(0, 1fr); }
  .ve-cert__mini { max-width: 300px; width: 100%; justify-self: center; }
  .ve-faq__i summary { padding: 12px 16px; }
  .ve-faq__i p { padding: 0 16px 14px; }
  .ve-antes__c { padding: 0 16px 14px; }
  .ve-rel { padding: 32px var(--ve-m) 40px; }
  /* En el teléfono las cuatro tarjetas van en una fila que se desliza (cuatro tarjetas apiladas eran dos mil píxeles). */
  .ve-rel__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 6px; scrollbar-width: thin; }
  .ve-rel__grid > * { scroll-snap-align: start; }
}
@media (max-width: 380px) {
  .ve-hero__t { font-size: 26px; }
  .ve-precio__n { font-size: 30px; }
}

/* Sin movimiento para quien lo pidió: ni fundidos, ni giros, ni desplazamientos suaves. */
@media (prefers-reduced-motion: reduce) {
  .ve-res, .ve-carr__punto, .ve-mas__ic, .ve-video__play, .ve-btn, .ve-aside.is-anim { transition: none !important; }
  .ve-btn.is-agregado, .cart-btn__count.ve-salta, .cart-btn.ve-salta svg { animation: none !important; }
  .ve-video__btn:hover .ve-video__play { transform: none; }
}

/* 1.10.53 · El video de presentación sin iniciar: solo su portada (sin filtro) y el botón de reproducir, centrado. */
.ve-video__img { filter: none; }
.ve-video__centro--solo { top: 50%; transform: translate(-50%, -50%); width: auto; }
.ve-video__btn:hover .ve-video__play, .ve-video__btn:focus-visible .ve-video__play { transform: scale(1.06); }
.ve-video__play { transition: transform .18s ease; }
