/* Ajustes propios del monolito, al final de la cascada para poder pisar.
 *
 * El prototipo era una aplicación de JavaScript y podía dar por hecho que el
 * script corre. Acá no: el frente público tiene que servir sin él. Esto arregla
 * el único lugar donde esa diferencia deja algo roto.
 */

/* ---------------------------------------------------------------------------
 * Navegación compacta sin JavaScript.
 *
 * De 999px para abajo (`responsive.css`, dentro de `@media (max-width:999px)`)
 * el diseño esconde `.nav` y la muestra como panel flotante solo cuando el
 * script del botón "Menú" le agrega `.nav--open`. Sin script, los enlaces
 * quedaban en el HTML pero tapados por CSS: navegación inalcanzable justo en el
 * dispositivo por donde entra la mayoría.
 *
 * Se invierte, que es el patrón que ya usa la landing de tuvocacional para su
 * revelado: sin `html.js` la navegación se dibuja EN EL FLUJO, apilada debajo
 * de la marca, y el botón —que sin script no hace nada— no se dibuja. No se la
 * deja "abierta" como panel flotante a propósito: quedaría encima del hero.
 * Con JavaScript el comportamiento es exactamente el del diseño.
 *
 * Dos cosas que costaron un intento fallido y conviene no repetir:
 *  - la regla a pisar es `.product-page .header--product .nav` (0,3,0), así que
 *    `.header--product .nav` (0,2,0) NO alcanza aunque venga después;
 *  - el breakpoint es 999px, no 680px.
 * --------------------------------------------------------------------------- */
@media (max-width: 999px) {
  html:not(.js) .product-page .header--product,
  html:not(.js) .product-page .header--product .header__inner {
    height: auto;
  }

  html:not(.js) .product-page .header--product .header__inner {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  html:not(.js) .product-page .header--product .nav {
    display: flex;
    position: static;
    inset: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    margin-top: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }

  html:not(.js) .product-page .header--product .menu-button {
    display: none;
  }

  /* Cabecera del shell B2B en compacto.

     El comentario original de esta regla decía que reponía un orden de cascada
     distinto al del prototipo. Es FALSO y se corrigió: el prototipo carga
     `institutions.css` ANTES de `responsive.css`, igual que este paquete
     (verificado en el <head> de `para-instituciones.html` y en las fuentes del
     bundle). No hay diferencia de orden que compensar.

     Lo que la regla sí hace, y por eso se queda: `responsive.css` baja la
     cabecera a 72px en compacto, y sin esto el contenedor pierde 16px contra el
     prototipo — medido, alto de documento 7841 vs 7857 a 768px y 9400 vs 9416 a
     390px. Con la regla los tres anchos calzan exacto. */
  .product-page.institution-landing .b2b-nav > .container {
    height: auto;
    min-height: 88px;
  }

  /* El shell B2B usa el mismo principio: sin script las anclas quedan en el
     flujo y el botón inerte desaparece; con script conserva el menú compacto
     medido contra el prototipo. */
  html:not(.js) .product-page .b2b-nav > .container {
    height: auto;
    flex-wrap: wrap;
    padding-block: 12px;
  }

  html:not(.js) .product-page .b2b-nav .context-menu-toggle {
    display: none;
  }

  html:not(.js) .product-page .b2b-nav .context-menu {
    display: flex;
    position: static;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-height: none;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
}

/* Ficha de oportunidad: el diseño trae historias de muestra sin reproductor.
   Las nuestras son videos reales (`<video>`) y enlaces a TikTok, que sin esto
   toman su ancho intrínseco y se salen de la tarjeta en celular. */
.f25-page .f25-story video { display:block; width:100%; height:auto; border-radius:12px; }
.f25-page .f25-story a { overflow-wrap:anywhere; }

/* «Información verificada por Mancii» (E19): la insignia que deja la
   verificación manual en la tarjeta y la ficha de una oferta y en la ficha de
   una institución. Discreta a propósito: es un sello de confianza, no un
   llamado a la acción, y no puede competir con el título. */
.mancii-verified { display:inline-flex; align-items:center; gap:6px; margin:6px 0 4px; font-size:13px; font-weight:600; line-height:1.3; color:#18794e; }
.mancii-verified .icon { flex:0 0 auto; width:16px; height:16px; }

/* ---------------------------------------------------------------------------
 * Fichas de programa e institución (entrega del 2026-10-07).
 *
 * La insignia del prototipo es un <button> que un script abre como tooltip.
 * Acá es un <details>: se abre sin JavaScript. Estas reglas le dan al
 * <summary> lo que `figma-desktop.css` le daba al botón (fondo, cursor, sin
 * triángulo) y dimensionan el ícono, que acá es SVG en línea y no <img>.
 * --------------------------------------------------------------------------- */
.f25-verification > summary { list-style:none; background:#fff; cursor:pointer; }
/* El botón del prototipo hereda la letra (`:is(.f25-page,…) .f25-main button { font:inherit }`, 16px). */
.f25-page .f25-main .f25-verification > summary.f25-verified-badge { font:inherit; }
.f25-verification > summary::-webkit-details-marker { display:none; }
.f25-verification > summary:focus-visible { outline:2px solid var(--pink); outline-offset:2px; }
.f25-verified-badge .icon { flex:0 0 auto; width:16px; height:16px; }

/* La leyenda de la síntesis editorial y la línea de la fuente oficial: texto
   de apoyo, en el gris de `.f25-program-intro`. */
.f25-page .f25-editorial-note { margin:24px 0 0; color:#555157; font-size:var(--text-sm); line-height:var(--leading-sm); }
.f25-page .f25-source { color:#555157; font-size:var(--text-sm); line-height:var(--leading-sm); }
.f25-page .f25-source a { color:inherit; text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }

/* Medido contra el prototipo de la ficha (2026-10-07), a 1440:
 *  - El «Solicitar información» del riel es un <a> acá (funciona sin JS) y un
 *    <button> allá. El reseteo `:is(.f25-page,…) .f25-main a { color:inherit }`
 *    solo alcanza al <a> y lo dejaba con texto oscuro sobre rosa.
 *  - El estado del riel («Inscripción todo el año») mide 14px allá; acá lo
 *    agrandaba una lista de la capa tipográfica que llega después. */
.f25-page:not(.mancii-b) .f25-main a.f25-button { color:#fff; font-weight:400; }
.f25-page .f25-action-card__status small { font-size:var(--text-sm); line-height:normal; }

/* El estado del riel con un texto REAL. El prototipo traía «Inscripción todo el
 * año», que cabe en una línea; el dato de UVEG («Inscripción abierta los 365
 * días del año») no, y con el `nowrap` del diseño empujaba la fila a la derecha
 * y abría scroll horizontal (reporte de Julián, 2026-10-09). Se deja partir la
 * línea DENTRO de su columna, alineada a la derecha: un texto corto se ve igual
 * que en el diseño. */
.f25-page .f25-action-card__status > small { white-space:normal; text-align:right; }

/* Ficha de institución: el riel de orientación.
 * El prototipo lo mueve con JavaScript (al riel en escritorio, al encabezado
 * por debajo de 1200px) y le calcula el `top` al riel. La vista lo pinta en
 * los dos lugares; acá se muestra uno solo, y el `top` es el que el
 * prototipo calcula a 1440: el alto de la miga de pan más el margen del
 * encabezado (medido: 43px). */
@media (min-width: 1200px) {
  .product-page .academic-university[data-institution-verified] .institution-contact-track { top:43px; }
  .product-page .academic-university[data-institution-verified] .institution-profile__hero > .institution-contact-card { display:none; }
}

/* ---------------------------------------------------------------------------
 * País de la oferta (`mancii/_pais_visita`).
 *
 * Nuestro, no del prototipo: el diseño no sabía de países. Discreto a propósito:
 * una línea de texto con enlaces. Cuando no sabemos el país es una pregunta de
 * cortesía, y desde el 2026-11-19 (Julián: «se ve muy pesado») también va en una
 * línea, sin recuadro ni pastillas: la pregunta en gris y los países como enlaces.
 * --------------------------------------------------------------------------- */
.pais-visita { margin:0 0 24px; color:var(--muted); font-size:14px; }
.pais-visita p { margin:0; }
.pais-visita a { color:var(--wine); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.pais-visita a:hover { color:var(--pink); }
.pais-visita--pregunta { display:flex; flex-wrap:wrap; align-items:center; gap:0 16px; color:var(--muted); }
.pais-visita--pregunta b { color:var(--ink); font-weight:600; }
.pais-visita--pregunta ul { display:flex; flex-wrap:wrap; gap:0 16px; margin:0; padding:0; list-style:none; }
.pais-visita--pregunta li a { display:inline-flex; align-items:center; min-height:44px; }
.pais-visita--pregunta li a.pais-visita__todos { color:var(--muted); font-weight:500; }

/* ---------------------------------------------------------------------------
 * Home (`mancii/inicio`): ajustes NUESTROS sobre el CSS vendorizado de la v112.
 *
 * Lo vendorizado (`resources/mancii/publicado/`) no se edita. Acá va solo lo que
 * el diseño no sabía: preguntas con `<details>` nativo (el original usa botones
 * + JavaScript), la nota que rotula el diagrama como ejemplo, y el selector de
 * país al pie del feed.
 * --------------------------------------------------------------------------- */
.f25-page .f25-faq-item > summary.f25-faq-toggle { cursor:pointer; list-style:none; min-height:44px; }
.f25-page .f25-faq-item > summary.f25-faq-toggle::-webkit-details-marker { display:none; }
.f25-page .f25-faq-item[open] .f25-faq-state path:last-child { transform:rotate(90deg); opacity:0; }
.f25-page .f25-faq-item > summary.f25-faq-toggle:focus-visible { outline:2px solid var(--mancii-semantic-text-link); outline-offset:4px; border-radius:var(--mancii-radius-sm); }
.f25-page .f25-profile__note { margin:var(--mancii-spacing-lg) 0 0; color:var(--mancii-semantic-text-secondary); font-size:var(--text-sm); line-height:var(--leading-sm); }
.f25-page .f25-card__bottom > a:only-child { margin-left:auto; }
.f25-page .f25-feed .pais-visita { margin:var(--mancii-spacing-3xl) 0 0; }
/* El rótulo «Ejemplo ilustrativo» no ocupa lugar: la sección mide lo que la referencia (cae en el aire de abajo del diagrama). */
.f25-page.mancii-b .f25-profile { position:relative; }
.f25-page.mancii-b .f25-profile__note { position:absolute; left:0; right:0; bottom:calc(-1 * var(--mancii-spacing-3xl)); margin:0; }
/* v112 · la tarjeta del feed es una subgrilla de 4 filas (insignia, identidad, costo, pie). Una
   tarjeta sin costo trae 3 hijos y su pie caería en la fila del costo: el pie va siempre a la 4. */
body.mancii-b .f25-feed .f25-card > .f25-card__bottom { grid-row:4; }

/* ---------------------------------------------------------------------------
 * Oportunidades (`mancii/oportunidades`): ajustes NUESTROS sobre el CSS
 * vendorizado del diseño. Lo vendorizado no se edita.
 *
 * El diseño filtra con selects que aplica JavaScript; acá el riel es un GET con
 * radios y un botón «Aplicar filtros», así que los radios, los chips (enlaces,
 * no botones) y la paginación son nuestros.
 * --------------------------------------------------------------------------- */
.f25-page .f25-sr { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Radios del riel: una fila por opción, con el control a su tamaño natural. */
.f25-page .f25-filter-fields { max-height:280px; overflow-y:auto; gap:0; }
.f25-page .f25-filter-fields .f25-option { flex-direction:row; align-items:center; gap:var(--mancii-spacing-md); min-height:44px; font-weight:400; color:var(--f25-plum); cursor:pointer; }
.f25-page .f25-filters .f25-option input { flex:none; width:20px; min-width:20px; height:20px; min-height:0; padding:0; accent-color:var(--f25-pink); }
.f25-page .f25-filters .f25-option input:focus-visible { outline:2px solid var(--mancii-semantic-text-link); outline-offset:2px; }
.f25-page .f25-filters > div:first-child a { color:var(--f25-pink); font-weight:600; text-decoration:none; }
/* «Limpiar» es un <a> (funciona sin JS); el de la referencia es un <button> de 44px con el texto centrado. */
.f25-page .f25-filters > div:first-child > a { display:grid; place-items:center; min-height:44px; }
.f25-page .f25-filters > .f25-filters__apply { display:block; padding:var(--mancii-spacing-lg); border-top:1px solid var(--mancii-semantic-border-card); }
.f25-page .f25-filters > .f25-filters__apply .f25-button { width:100%; }

/* Filtros activos como enlaces: la misma píldora que el diseño da a sus botones. */
.f25-active-filters a { max-width:100%; overflow-wrap:anywhere; display:inline-flex; align-items:center; gap:var(--mancii-spacing-xs); border:1px solid var(--f25-border); border-radius:var(--mancii-radius-full); color:var(--mancii-semantic-support-purple); background:#fff; padding:var(--mancii-spacing-sm) var(--mancii-spacing-md); font-size:var(--text-sm); font-weight:500; min-height:36px; line-height:var(--leading-sm); text-decoration:none; }
.f25-active-filters a:hover { border-color:var(--f25-pink); }
.f25-active-filters a svg { width:16px; height:16px; flex:none; }

/* v112 · debajo de 1200px el diseño esconde el riel y abre los filtros en un diálogo desde
 * «Filtros». Sin JavaScript no hay diálogo: el riel queda en el flujo, arriba de los
 * resultados, y el disparador (un enlace a ese mismo riel) no se dibuja. */
.f25-page .f25-filter-trigger { text-decoration:none; text-align:center; }
@media (max-width: 1199.98px) {
  html:not(.js) .f25-page .f25-filter-rail { display:block; margin-bottom:var(--mancii-spacing-2xl); }
  html:not(.js) .f25-page .f25-filter-trigger { display:none; }
}

/* v112.1 · búsqueda compacta (<1200px). La referencia esconde la fila de chips cuando no le queda
 * un `<button>` sin `data-filter-chip` (los de búsqueda y modalidad ya los dice la píldora). Acá los
 * chips son enlaces (quitar un filtro es un GET), así que la misma regla se dice con `<a>`. */
@media (max-width: 1199.98px) {
  html body.f25-msearch-on .f25-catalogue .f25-active-filters:has(a:not([data-filter-chip])) { display:flex; }
}

/* Paginación: enlaces de 44px, la página actual rellena. */
.f25-page .f25-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:var(--mancii-spacing-md); margin-top:var(--mancii-spacing-4xl); }
.f25-page .f25-pagination ul { display:flex; flex-wrap:wrap; justify-content:center; gap:var(--mancii-spacing-sm); margin:0; padding:0; list-style:none; }
.f25-page .f25-pagination li { display:flex; align-items:center; min-width:24px; justify-content:center; color:var(--mancii-semantic-text-secondary); }
.f25-page .f25-pagination a { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:0 var(--mancii-spacing-md); border:1px solid var(--mancii-semantic-border-card); border-radius:var(--mancii-radius-md); background:#fff; color:var(--mancii-semantic-text-primary); font-size:var(--text-sm); font-weight:600; text-decoration:none; }
.f25-page .f25-pagination a:hover { border-color:var(--f25-pink); color:var(--f25-pink); }
.f25-page .f25-pagination a[aria-current="page"] { background:var(--mancii-semantic-action-primary-hover); border-color:var(--mancii-semantic-action-primary-hover); color:#fff; }
.f25-page .f25-pagination a:focus-visible { outline:2px solid var(--mancii-semantic-text-link); outline-offset:2px; }
.f25-page .f25-results-column .pais-visita { margin:var(--mancii-spacing-3xl) 0 0; }

/* H7 · mancii-sitio.js marca el formulario de filtros `.is-auto` cuando aplica al elegir; sin JS «Aplicar filtros» sigue visible. */
.f25-page .f25-filters.is-auto > .f25-filters__apply { display:none; }
.f25-filter-dialog [data-clear-slice-filters] { display:grid; place-items:center; text-decoration:none; }
.f25-filter-dialog > [data-filter-dialog-body] { overflow-y:auto; max-height:calc(100dvh - 160px); }

/* H10 · las preguntas de la home son `<details>`, y la regla `.f25-faq details` las pinta con
 * otro gris que `.f25-faq-item` de la referencia: se les devuelve el borde del diseño. */
.f25-page.mancii-b .f25-faq details { border-top-color:var(--mancii-semantic-border-card); }
.f25-page.mancii-b .f25-faq details:last-child { border-bottom-color:var(--mancii-semantic-border-card); }

/* Todas las tarjetas del catálogo miden lo mismo (decisión de Emerson, 2026-10-16):
   con datos reales unas traen costo, sede o insignia y otras no, y la grilla se veía
   dispareja. Cada fila toma el alto de la tarjeta más alta y el pie («Cierra… / Ver
   programa») queda abajo en todas. El feed de la home no lo necesita: en la v112 es
   una subgrilla que ya alinea cada parte de las tarjetas de una misma fila. */
.f25-page .f25-grid--catalogue { grid-auto-rows:1fr; align-items:stretch; }
.f25-page .f25-grid--catalogue > .f25-card { height:100%; }
.f25-page .f25-grid--catalogue > .f25-card > .f25-card__bottom { margin-top:auto; }

/* H11 · ficha de programa, variante B (`programa.php`, `data-detail-variant="b"`).
 * La insignia de verificación es un <summary> (se abre sin JS) y `font:inherit` de arriba
 * la dejaba en 16px; la variante B la mide a 14px / 1.25. */
.f25-page.mancii-b[data-detail-variant=b] .f25-main .f25-verification > summary.f25-verified-badge { font-size:14px; line-height:1.25; }
/* Tres medidas que el JS de la referencia calcula (y `mancii-detail.js` también): el valor
   en línea que escribe el script les gana; estos son los de quien no lo tiene. */
body.mancii-b[data-detail-variant=b] .detail-variant-heading { --detail-viewport-width:100vw; }
body.mancii-b[data-detail-variant=b] .detail-variant-rail { --detail-rail-top:104px; }
body.mancii-b[data-detail-variant=b] .f25-main { --detail-hero-end:540px; }
/* El formulario del riel solo sirve con JS (envía por fetch): sin él queda el enlace del <noscript>. */
html:not(.js) .detail-variant-form [data-interest-form] { display:none; }
.detail-variant-form noscript .f25-button { width:100%; margin-top:12px; }

/* La página actual en el pie (`$current` de `mancii/_footer`, 2026-11-29): en blanco, como en los
 * lienzos de /sobre-mancii y /creadores. */
.footer--global nav a[aria-current="page"] { color: #ffffff; }

/* tail-home.css — ajustes propios de la v112 (ver odd/tasks/b2c-v112.md), después de tail.css.
 * Lo vendorizado no se edita: lo que haga falta pisar va acá.
 */

/* tail-ficha.css — ajustes propios de la v112 (ver odd/tasks/b2c-v112.md), después de tail.css.
 * Lo vendorizado no se edita: lo que haga falta pisar va acá.
 */

/* Ficha de programa — «También podrías explorar»: en la v112 las tarjetas de esta
 * cuadrícula miden lo suyo (`align-items:start`), no se estiran a la más alta como
 * en el listado (`tail.css`, regla de `.f25-grid`). */
body[data-figma-page="program"].mancii-b .f25-related .f25-grid { grid-auto-rows:auto; align-items:start; }
body[data-figma-page="program"].mancii-b .f25-related .f25-grid > .f25-card { height:auto; }
body[data-figma-page="program"].mancii-b .f25-related .f25-grid > .f25-card > .f25-card__bottom { margin-top:0; }

/* Estado y ciudad, lado a lado como en la v112. Allá son `<select>` (listas de
 * México, `label:has(select){grid-column:auto}`); acá son texto porque también
 * hay Colombia, así que se les da la misma columna por clase. */
body[data-detail-variant=b] .detail-variant-form .f25-contact-fields label.f25-contact-place { grid-column:auto; }

/* Ficha de beca (v112 `beca.html`) sin `detail-photo.js`: la tarjeta de acciones
 * viene dos veces del servidor. En escritorio va la del riel (la hoja vendorizada
 * no dibuja el riel por debajo de 1200px) y se esconde la del encabezado. */
@media (min-width:1200px) {
  .product-page .aid-hero__actions--compact { display:none; }
}
/* Lo que el script mide y escribe en línea: el riel arranca 40px debajo del
 * encabezado y se alinea con el borde del contenedor (`.container`). */
.product-page .aid-photo-flow > .detail-photo-rail { top:40px; right:max(20px, calc((100% - min(var(--content), 100% - 48px)) / 2)); }
/* «Hacer el reto» de la ficha es un ENLACE (funciona sin JS) y en la referencia
 * es un <button>, que trae 2px de borde del navegador: sin él mide 4px menos. */
.product-page #opportunity-challenges a.button { border:2px solid transparent; }

/* tail-institucion.css — ajustes propios de la v112 (ver odd/tasks/b2c-v112.md), después de tail.css.
 * Lo vendorizado no se edita: lo que haga falta pisar va acá.
 */

/* El buscador de programas esconde con `hidden` las tarjetas que no calzan
 * (servidor y `mancii-institucion.js`); `.f25-card` declara su propio `display`
 * y le ganaría al del navegador. El prototipo lo resuelve igual en sus
 * tarjetas viejas (`.slice-card[hidden]`). */
.product-page .institution-programs .f25-card[hidden],
.product-page .institution-programs .academic-empty[hidden] { display: none !important; }

/* tail-paginas.css — ajustes propios de la v112 (ver odd/tasks/b2c-v112.md), después de tail.css.
 * Lo vendorizado no se edita: lo que haga falta pisar va acá.
 */

/* ---- /aprendizaje (T8): el hub de los cuatro tests ------------------------
 * Las preguntas son <details> (abren sin JS) y no h3 > button como en la v112:
 * el <summary> toma la tipografía que la publicada le daba al h3 y la cruz gira
 * con [open] en vez de [aria-expanded]. */
.learn .f25-faq-item > summary.f25-faq-toggle {
  list-style: none;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-weight: 600;
}
.learn .f25-faq-item > summary.f25-faq-toggle::-webkit-details-marker { display: none; }
.learn .f25-faq-item > summary.f25-faq-toggle:focus-visible {
  outline: 2px solid var(--mancii-semantic-text-link);
  outline-offset: 4px;
}
.learn .f25-faq-item[open] > summary.f25-faq-toggle svg path:last-child { transform: rotate(90deg); opacity: 0; }

/* ---- /aprendizaje?test=riasec (v113, T3): la landing rediseñada ----------
 * «Empezar ahora» era un <button> y acá es un enlace (o, sin campaña abierta,
 * un <span aria-disabled>): sin subrayado y con el estado apagado del sistema.
 * La publicada declara 48px, pero a sus <button> les gana la regla global de
 * toque (`:is(button,summary,[role=button])`, 44px con !important): medido, el
 * botón mide 44. Al enlace no le llega esa regla, así que se la damos. */
body.product-page .rl .rl-btn { text-decoration: none; min-height: var(--mancii-size-touch); }
body.product-page .rl .rl-btn--soon,
body.product-page .rl .rl-btn--soon:hover {
  background: var(--mancii-semantic-action-primary-disabled);
  border-color: var(--mancii-semantic-action-primary-disabled);
  color: var(--mancii-semantic-text-disabled);
  cursor: not-allowed;
}
/* Las poses llevan `data-nubii-artwork` (para que nada las recorte), pero ese
 * atributo las baja al fondo de su caja; la publicada no lo lleva y las centra. */
body.product-page .rl img[data-nubii-artwork] { object-position: center !important; }

/* ---- /para-instituciones/calculadora (T7) --------------------------------
 * Abajo de 384px los tres tamaños no caben (la publicada también desborda 4px a
 * 320): las columnas pueden encogerse y el rótulo baja a texto chico. */
@media (max-width: 384px) {
  .b2b-calculator .b2b-choice-group--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b2b-calculator .b2b-choice-group--compact label { padding-inline: 4px; }
  .b2b-calculator .b2b-choice-group--compact b { font-size: var(--text-sm); }
}

/* «Configura tu práctica» y lo demás de las landings de ingreso, salud mental
 * e IPN viven en `tail-aprendizaje.css` (2026-11-11). */

/* /retoma-tu-carrera · sin JS las respuestas de las preguntas frecuentes se leen
 * (el diseño las pliega a 0 y solo su script las abre) y el «más» no promete
 * nada que no pase. El botón de envío por defecto (Enter en un campo) no se ve. */
html:not(.js) .retoma-faq__panel { height: auto; }
html:not(.js) .retoma-faq__plus { display: none; }
.retoma-default-submit {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* El rosa más claro de la paleta: lo usa retoma.css y lo trae una typography.css
 * más nueva que la vendorizada (v112.1). Mismo valor que la publicada. */
:root { --mancii-pink-75: #fff0f7; }

/* /retoma-tu-carrera · el último paso le devuelve a la persona su caso antes de
 * pedirle el WhatsApp (`_resume_degree_contact.php`, 2026-11-06): una ruta de
 * tres puntos (su caso ✓ → su WhatsApp → la meta) y lo que contó en una fila de
 * chips. Compacto a propósito: en celular el WhatsApp y el botón tienen que
 * caber en la pantalla. Clases nuestras: el diseño de Julián no las tiene. */
.retoma-route {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none;
}
.retoma-route__point {
  position: relative; display: flex; flex-direction: column; align-items: center;
  gap: var(--mancii-spacing-2xs); text-align: center;
  font-size: var(--text-sm); line-height: var(--leading-body);
  color: var(--mancii-semantic-text-secondary);
}
/* El tramo que llega a cada punto, por detrás de los puntos (centro a 16px). */
.retoma-route__point + .retoma-route__point::before {
  content: ""; position: absolute; top: 15px; right: 50%; z-index: 0;
  width: 100%; height: 2px; background: var(--mancii-semantic-action-primary);
}
.retoma-route__point.is-goal::before { background: none; border-top: 2px dashed var(--mancii-pink-200); }
.retoma-route__dot {
  position: relative; z-index: 1; width: 32px; height: 32px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--mancii-radius-full); background: var(--mancii-semantic-background);
}
.retoma-route__point.is-done .retoma-route__dot { width: 24px; height: 24px; margin-block: 4px; background: var(--mancii-semantic-action-primary); }
.retoma-route__point.is-current .retoma-route__dot {
  width: 24px; height: 24px; margin-block: 4px;
  border: 3px solid var(--mancii-semantic-action-primary); box-shadow: 0 0 0 4px var(--mancii-pink-100);
}
.retoma-route__point.is-current { color: var(--mancii-semantic-text-primary); font-weight: var(--mancii-font-weight-semibold); }
.retoma-route__point > span:last-child { white-space: nowrap; }
/* A 320px «Tu WhatsApp» en negritas no cabe en su tercio. */
@media (max-width: 384px) { .retoma-route__point { font-size: 13px; } }
.retoma .retoma-route__point.is-done .lucide { width: 14px; height: 14px; color: var(--mancii-semantic-on-primary); }
/* La meta: Nubii con birrete en celular (no hay otro Nubii a la vista); en
 * escritorio ya está posado sobre la tarjeta y la meta es un birrete. */
.retoma-route__nubii { width: 44px; height: 44px; margin: -6px; object-fit: contain; }
.retoma .retoma-route__cap { display: none; width: 18px; height: 18px; color: var(--mancii-semantic-action-primary); }
@media (min-width: 811px) {
  .retoma-route__nubii { display: none; }
  .retoma .retoma-route__cap { display: block; }
  .retoma-route__point.is-goal .retoma-route__dot { background: var(--mancii-pink-75); }
}

.retoma .retoma-recap { display: flex; flex-wrap: wrap; gap: var(--mancii-spacing-xs); }
.retoma-recap[hidden] { display: none; }
.retoma-recap li {
  display: inline-flex; align-items: center; gap: var(--mancii-spacing-xs);
  padding: var(--mancii-spacing-2xs) var(--mancii-spacing-sm);
  border-radius: var(--mancii-radius-full); background: var(--mancii-pink-75);
  font-size: var(--text-sm); line-height: var(--leading-body); color: var(--mancii-semantic-text-primary);
}
.retoma .retoma-recap .lucide { width: 14px; height: 14px; color: var(--mancii-semantic-action-primary); }
/* Para qué pedimos el WhatsApp, junto al campo. Chips con radio de tarjeta: uno
 * largo se parte en dos renglones a 320px y en píldora se ve roto. */
.retoma-field__hint { margin: 0; font-size: var(--text-sm); line-height: var(--leading-body); color: var(--mancii-semantic-text-secondary); }
.retoma-recap li { border-radius: var(--mancii-radius-md); }

/* tail-site-header.css — el encabezado de estudiantes y el selector de público
 * (2026-11-19, variante B del lienzo de navegación).
 *
 * Va en TODOS los juegos del sitio (SITE_TAILS en build-css.mjs) porque el
 * selector vive en los dos encabezados: `mancii/_header.php` (estudiantes) y
 * `mancii/b2b/_landing_nav.php` (instituciones). El encabezado de estudiantes
 * copia la forma y las medidas del de instituciones (`.pi-header`, en
 * tail-b2b-landing.css) para que los dos lados se sientan un mismo sitio.
 *
 * Las clases son propias (`site-*`, `aud-*`) a propósito: el menú viejo
 * (`.nav`, `.nav__links`, `.brand`) arrastra reglas vendorizadas en cada hoja
 * publicada, y pisarlas una por una era pelear con veinte selectores. La raíz
 * conserva `header--product` por lo que cuelga de ella (alto, pegajoso,
 * ocultarse al bajar), y lo único que se le pisa es el fondo.
 *
 * Mismo corte que instituciones: abajo de 1140 px, menú compacto. */

/* ---- El selector de público (los dos encabezados) ---------------------- */
.aud-switch { position: relative; }
.aud-switch > summary {
  list-style: none;
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 36px; padding: 0 6px 0 14px; box-sizing: border-box;
  border-left: 1px solid #d3ccd3;
  font-size: 13px; font-weight: 500; line-height: 1.2; color: #25001c;
  white-space: nowrap; cursor: pointer;
  transition: color 150ms ease;
}
.aud-switch > summary::-webkit-details-marker { display: none; }
.aud-switch > summary:focus-visible { outline: 3px solid #631f52; outline-offset: 2px; border-radius: 4px; }
.aud-switch__chevron { width: 15px; height: 15px; color: #6f6a72; transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
.aud-switch[open] > summary { color: #c70070; }
.aud-switch[open] .aud-switch__chevron { color: currentColor; transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .aud-switch > summary:hover { color: #c70070; }
}

/* Sale de su disparador (origen arriba a la izquierda), como todo popover. */
.aud-switch__panel {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 50;
  width: 340px; padding: 6px; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 2px;
  background: #ffffff; border-radius: 16px;
  box-shadow: 0 0 0 1px #ecdfe8, 0 18px 40px rgba(37, 0, 28, 0.12);
  transform-origin: top left;
}
.aud-switch[open] .aud-switch__panel { animation: aud-switch-in 160ms cubic-bezier(0.23, 1, 0.32, 1); }
@keyframes aud-switch-in { from { opacity: 0; transform: translateY(-4px) scale(0.97); } }

.aud-option {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px; border-radius: 12px;
  color: #25001c; text-decoration: none;
}
.aud-option[aria-current] { background: #fff7fb; }
.aud-option:focus-visible { outline: 3px solid #631f52; outline-offset: -3px; }
@media (hover: hover) and (pointer: fine) {
  .aud-option:hover { background: #fff0f7; color: #25001c; }
}
.aud-option__badge {
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 10px;
  background: #fff0f7; color: #c70070;
}
.aud-option__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.aud-option__text b { font-size: 14.5px; font-weight: 600; line-height: 1.3; color: #25001c; }
.aud-option__text small { font-size: 13px; line-height: 1.35; color: #6f6a72; }
.aud-option__check { flex: none; align-self: center; margin-left: auto; width: 18px; height: 18px; color: #e0007d; }
.aud-icon { width: 18px; height: 18px; flex: none; }

/* La etiqueta sin selector: la usa el menú compacto, que lleva el selector adentro. */
.aud-label { display: none; font-size: 12px; line-height: 1.3; color: #555157; white-space: nowrap; }

/* Los dos botones de arriba del menú compacto. Va con `:is(...)` porque los paneles
 * le dan a todo `nav` de adentro columna, relleno y raya (`.pi-menu__panel nav a`). */
:is(.site-menu__panel, .pi-menu__panel) .aud-segment {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
  padding: 4px; border-radius: 14px;
  background: #f7f2f5; box-shadow: inset 0 0 0 1px #ecdfe8;
}
:is(.site-menu__panel, .pi-menu__panel) .aud-segment a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 8px; border: 0; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: #555157; text-decoration: none;
}
:is(.site-menu__panel, .pi-menu__panel) .aud-segment a[aria-current] { background: #ffffff; color: #25001c; box-shadow: 0 0 0 1px #ecdfe8, 0 1px 2px rgba(37, 0, 28, 0.08); }
:is(.site-menu__panel, .pi-menu__panel) .aud-segment a:focus-visible { outline: 3px solid #631f52; outline-offset: 2px; }

/* ---- El encabezado de estudiantes (mismas medidas que `.pi-header`) ----- */
body .header--product.site-header { background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid #ecdfe8; }
.site-header__inner {
  position: relative; box-sizing: border-box;
  max-width: 1248px; height: 100%; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 12px 32px;
  font-family: var(--mancii-font-name, Poppins), system-ui, sans-serif;
}
.site-brand { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.site-brand__logo { display: block; line-height: 0; }
.site-brand__logo img { width: 118px; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 2px 22px; flex: 1; font-size: 14.5px; font-weight: 600; }
.site-nav a,
.site-menu__panel nav a { padding: 10px 0; color: #25001c; text-decoration: none; }
.site-nav a[aria-current],
.site-menu__panel nav a[aria-current] { color: #c70070; }
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover { color: #c70070; }
}
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.site-header__resume { padding: 10px 8px; font-size: 14.5px; font-weight: 600; color: #25001c; text-decoration: none; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .site-header__resume:hover { color: #c70070; }
}

.site-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 12px; box-sizing: border-box;
  background: #e0007d; color: #ffffff;
  font-size: 14.5px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms ease;
}
.site-btn:active { transform: scale(0.97); }
.site-btn--ghost { background: #ffffff; color: #631f52; box-shadow: inset 0 0 0 1.5px #631f52; }
@media (hover: hover) and (pointer: fine) {
  .site-btn:hover { background: #c70070; color: #ffffff; }
  .site-btn--ghost:hover { background: #fff7fb; color: #631f52; }
}

/* El menú compacto: un <details>, igual que `.pi-menu`. */
.site-menu { display: none; }
.site-menu > summary {
  list-style: none; display: grid; place-items: center;
  width: 44px; height: 44px; box-sizing: border-box;
  border: 1px solid #d3ccd3; border-radius: 12px; background: #ffffff; color: #25001c; cursor: pointer;
}
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu > summary .mancii-icon { width: 20px; height: 20px; grid-area: 1 / 1; }
.site-menu .site-menu__close,
.site-menu[open] .site-menu__open { display: none; }
.site-menu[open] .site-menu__close { display: block; }
.site-menu__panel {
  position: absolute; top: 100%; left: 0; right: 0; box-sizing: border-box;
  max-height: calc(100dvh - 72px); overflow: auto;
  padding: 12px 20px 20px;
  display: flex; flex-direction: column; gap: 14px;
  background: #ffffff; border-bottom: 1px solid #ecdfe8;
  box-shadow: 0 18px 30px rgba(37, 0, 28, 0.10);
}
.site-menu__panel nav:not(.aud-segment) { display: flex; flex-direction: column; font-size: 16px; font-weight: 600; }
.site-menu__panel nav:not(.aud-segment) a { padding: 12px 0; border-bottom: 1px solid #ecdfe8; }
.site-menu__panel nav:not(.aud-segment) a:last-child { border-bottom: 0; }
.site-menu__panel .site-btn { min-height: 50px; font-size: 16px; }
.site-menu__panel .site-btn + .site-btn { margin-top: -4px; }

/* Los mismos dos cortes que `.pi-header`: abajo de 1140 px, menú compacto y la
 * etiqueta en lugar del selector; abajo de 768, la etiqueta bajo el logo y sin
 * botón rosa en la barra (va dentro del menú). */
@media (max-width: 1139px) {
  .aud-switch { display: none; }
  .aud-label { display: block; padding-left: 14px; border-left: 1px solid #d3ccd3; font-size: 13px; }
  .site-nav { display: none; }
  .site-menu { display: block; }
}
@media (max-width: 767px) {
  .aud-label { padding-left: 0; border-left: 0; font-size: 12px; }
  .site-header__inner { padding: 0 20px; justify-content: space-between; }
  .site-brand { flex-direction: column; align-items: flex-start; gap: 6px; }
  .site-brand__logo img { width: 104px; }
  .site-header__actions { gap: 8px; }
  .site-header__resume { padding: 10px 6px; font-size: 14px; }
  .site-header__cta { display: none; }
}
@media (max-width: 599px) {
  .site-header__more { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .aud-switch[open] .aud-switch__panel { animation: none; }
  .aud-switch__chevron, .site-btn { transition: none; }
  .site-btn:active { transform: none; }
}

/* tail-site-shared.css — la aparición de Aprendizaje, para el resto del sitio de
 * estudiantes (2026-11-19, apuntes de Sebastián: «que el inicio se sienta del
 * mismo sitio que Aprendizaje»).
 *
 * Lo marcado con `[data-site-reveal]` aparece al llegar a él, igual que el hub
 * (`[data-lh-reveal]`): sube 16 px y aparece en 450 ms con su curva. Va con
 * `translate` y no con `transform` para no pelear con el hover de las tarjetas.
 * La enciende `mancii-sitio.js` poniendo `.site--motion`; sin JS o con
 * `prefers-reduced-motion` no hay nada que esperar: todo se ve desde el inicio.
 *
 * Va en todos los juegos del sitio (SITE_TAILS en build-css.mjs) porque la usan
 * la home (`home`) y Oportunidades (`catalog`). */

@keyframes site-rise { from { opacity: 0; translate: 0 16px; } }
.site--motion [data-site-reveal] { opacity: 0; }
.site--motion [data-site-reveal].is-in { opacity: 1; animation: site-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms) backwards; }
@media print {
  .site--motion [data-site-reveal] { opacity: 1 !important; animation: none !important; }
}

/*
 * la landing «Para instituciones» (rediseño 2026-11-17). Prefijo de clases pi-. Solo la carga el juego b2b.
 *
 * Ajustes nuestros, escritos a mano (no es CSS vendorizado). Tokens y criterios en
 * .claude/skills/mancii-diseno/references/tokens-y-marca.md.
 *
 * Calco del lienzo aprobado (`Escritorio-landing` a 1440 y los cinco móviles a 390). Los colores son
 * los del diseño, declarados UNA vez como tokens `--pi-*` en `.pi-page`; ninguna regla de abajo
 * escribe un hex suelto salvo los de las banderas y el QR, que van en el SVG.
 *
 * Dos cosas del núcleo del sitio que esta hoja tiene que vencer, y por eso hay `!important`:
 *  - `:is(h1..h6){font-size:var(--type-size)!important; letter-spacing:0!important; …}`: los títulos
 *    se dimensionan con `--type-size`/`--type-leading`/`--type-weight`, y el interletrado del diseño
 *    (−0.03em / −0.02em) solo entra con `!important` y más especificidad (`.pi-page .pi-h1`).
 *  - `a:active,button:active{transform:translateY(1px) scale(.99)}`: aquí presionar es scale(0.97).
 *
 * Movimiento (nota `s4` e `Interacciones`): solo transform y opacity (el tecleo es un recorte), nada de
 * `transition: all`, hover solo con puntero y TODO se apaga con `prefers-reduced-motion` (al final).
 */

/* ---------- Tokens y base ---------- */
.pi-page {
  --pi-pink: #e0007d;
  --pi-pink-ink: #c70070;
  --pi-pink-deep: #a3005c;
  --pi-pink-dark: #9f005a;
  --pi-pink-mid: #f452c9;
  --pi-pink-light: #fcccfb;
  --pi-pink-soft: #fff0f7;
  --pi-pink-pale: #fffafe;
  --pi-pink-dash: #f3c2dd;
  --pi-plum: #631f52;
  --pi-plum-soft: #f5f3f6;
  --pi-ink: #25001c;
  --pi-text: #3b393d;
  --pi-muted: #555157;
  --pi-muted-2: #6f6a72;
  --pi-line: #ecdfe8;
  --pi-border: #d3ccd3;
  --pi-gray: #a29da4;
  --pi-panel: #f8f6f8;
  --pi-green: #18794e;
  --pi-green-soft: #e6f6ec;
  --pi-lavender: #dbcbdf;
  --pi-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --pi-ease-io: cubic-bezier(0.645, 0.045, 0.355, 1);
  --pi-ring: 0 0 0 1px rgba(37, 0, 28, 0.07);
  background: #ffffff;
  color: var(--pi-ink);
  font-family: var(--mancii-font-name, Poppins), system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.pi-page main { display: block; outline: none; }
:where(.pi-page main) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; }
:where(.pi-page main) :where(ul, ol) { padding: 0; list-style: none; }
.pi-page :is(h1, h2, h3) { text-wrap: balance; }
.pi-page :is(p, li, dd) { text-wrap: pretty; }
.pi-page :focus-visible { outline: 3px solid var(--pi-plum); outline-offset: 2px; }
.pi-page img { max-width: 100%; height: auto; }
.pi-page section[id] { scroll-margin-top: 76px; }
.pi-ico, .pi-page .mancii-icon { width: 20px; height: 20px; flex: none; }

.pi-wrap { max-width: 1248px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.pi-stack { display: flex; flex-direction: column; gap: 44px; }
.pi-stack--32 { gap: 32px; }
.pi-section { background: #ffffff; }
.pi-section > .pi-wrap { padding-top: 80px; padding-bottom: 88px; }

.pi-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; line-height: 1.5; color: var(--pi-pink-ink); }
.pi-page .pi-h1 { --type-size: 52px; --type-leading: 1.08; --type-weight: 700; letter-spacing: -0.03em !important; color: var(--pi-ink); }
.pi-page .pi-h1 span { color: var(--pi-pink); }
.pi-page .pi-h2 { --type-size: 40px; --type-leading: 1.12; --type-weight: 700; letter-spacing: -0.02em !important; color: var(--pi-ink); }
.pi-page main h3 { --type-size: 22px; --type-leading: 1.25; --type-weight: 700; color: var(--pi-ink); }
.pi-page main h4 { --type-size: 17px; --type-leading: 1.3; --type-weight: 700; color: var(--pi-ink); }
.pi-intro { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.pi-intro > p { font-size: 17px; line-height: 1.6; color: var(--pi-text); }
.pi-lead { font-size: 18px; line-height: 1.6; color: var(--pi-text); max-width: 520px; }

.pi-only-narrow { display: none !important; }
@media (max-width: 767px) {
  .pi-only-wide { display: none !important; }
  .pi-only-narrow { display: revert !important; }
}

/* ---------- Botones ---------- */
.pi-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 12px; box-sizing: border-box;
  font-size: 14.5px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--pi-ease), filter 150ms ease, background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}
.pi-page .pi-btn:active { transform: scale(0.97); }
.pi-btn .mancii-icon { width: 18px; height: 18px; }
.pi-btn--pink { background: var(--pi-pink); color: #ffffff; }
.pi-btn--plum { background: var(--pi-plum); color: #ffffff; }
.pi-btn--outline { box-shadow: inset 0 0 0 1.5px var(--pi-plum); color: var(--pi-plum); background: transparent; }
.pi-btn--ghost { background: #ffffff; color: var(--pi-plum); box-shadow: inset 0 0 0 1.5px var(--pi-plum); }
.pi-btn--light { color: #ffffff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); }
.pi-btn--lg { height: 54px; padding: 0 26px; border-radius: 14px; font-size: 16px; }
.pi-btn--md { height: 52px; padding: 0 26px; font-size: 16px; }
.pi-btn--block { display: flex; width: 100%; height: 52px; border-radius: 14px; font-size: 16px; }
.pi-page a.pi-btn--pink, .pi-page a.pi-btn--plum { color: #ffffff; }
@media (hover: hover) {
  .pi-btn:hover { filter: brightness(0.95); }
  .pi-btn--pink:hover, .pi-btn--plum:hover { color: #ffffff; }
}

/* ---------- Piezas comunes ---------- */
.pi-card { background: #ffffff; border-radius: 12px; box-shadow: 0 10px 24px rgba(37, 0, 28, 0.10); box-sizing: border-box; }
.pi-avatar { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--pi-pink-light); color: var(--pi-pink-dark); font-size: 10px; font-weight: 700; }
.pi-avatar--green { background: var(--pi-green-soft); color: var(--pi-green); }
.pi-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-weight: 600; font-style: normal; white-space: nowrap; }
.pi-badge--ok { color: var(--pi-green); background: var(--pi-green-soft); }
.pi-badge .mancii-icon { width: 14px; height: 14px; stroke-width: 2.4; }

/* ---------- Encabezado fijo ---------- */
.pi-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid var(--pi-line); }
.pi-header__inner { max-width: 1248px; margin: 0 auto; padding: 14px 24px; box-sizing: border-box; display: flex; align-items: center; gap: 12px 32px; }
.pi-brand { display: inline-flex; align-items: center; gap: 14px; }
.pi-brand__logo { display: block; line-height: 0; }
.pi-brand__logo img { width: 118px; height: auto; }
.pi-nav { display: flex; flex-wrap: nowrap; gap: 2px 22px; flex: 1; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.pi-nav a, .pi-menu__panel nav a { color: var(--pi-ink); text-decoration: none; padding: 10px 0; }
.pi-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.pi-header__login { font-size: 14.5px; font-weight: 600; color: var(--pi-ink); text-decoration: none; padding: 10px 8px; }
.pi-menu { position: static; }
.pi-menu > summary { list-style: none; width: 44px; height: 44px; box-sizing: border-box; border-radius: 12px; border: 1px solid var(--pi-border); background: #ffffff; color: var(--pi-ink); display: grid; place-items: center; cursor: pointer; }
.pi-menu > summary::-webkit-details-marker { display: none; }
.pi-menu > summary .mancii-icon { width: 20px; height: 20px; grid-area: 1 / 1; }
.pi-menu .pi-menu__close, .pi-menu[open] .pi-menu__open { display: none; }
.pi-menu[open] .pi-menu__close { display: block; }
.pi-menu__panel { position: absolute; left: 0; right: 0; top: 100%; background: #ffffff; border-bottom: 1px solid var(--pi-line); box-shadow: 0 18px 30px rgba(37, 0, 28, 0.10); padding: 8px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.pi-menu__panel nav { display: flex; flex-direction: column; font-size: 16px; font-weight: 600; }
.pi-menu__panel nav a { padding: 12px 0; border-bottom: 1px solid var(--pi-line); }
.pi-menu__panel .pi-btn { height: 50px; font-size: 16px; }
.pi-header__inner { position: relative; }

/* El menú en línea necesita 1186 px desde que el selector de público va junto al
 * logo (2026-11-19). Con el corte en 1140, de 1140 a 1185 px las anclas se partían
 * en dos renglones y «Preguntas» se salía del encabezado (Julián, 2026-11-24). Este
 * lado pasa a compacto abajo de 1280 px: queda holgura para la barra de
 * desplazamiento de Windows y para la letra de respaldo. Estudiantes sigue en 1140,
 * porque su menú es más corto. De 1140 a 1279 px el selector cede a la etiqueta,
 * igual que abajo de 1140 (`tail-site-header.css`). */
@media (min-width: 1280px) {
  .pi-menu { display: none; }
}
@media (max-width: 1279px) {
  .pi-nav { display: none; }
}
@media (min-width: 1140px) and (max-width: 1279px) {
  .pi-header .aud-switch { display: none; }
  .pi-header .aud-label { display: block; padding-left: 14px; border-left: 1px solid #d3ccd3; font-size: 13px; }
}
@media (max-width: 767px) {
  .pi-header__inner { padding: 14px 20px; justify-content: space-between; }
  .pi-brand { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pi-brand__logo img { width: 104px; }
  .pi-header__actions { gap: 8px; }
  .pi-header__login { font-size: 14px; padding: 10px 6px; }
  .pi-header__cta { display: none; }
}

/* El mismo alto que el encabezado de estudiantes (`header--product`, 2026-11-19):
 * 72 px con el borde, 88 px desde 1200 px. Así pasar de un lado al otro con el
 * selector de público no hace saltar la página. Las anclas y la columna pegajosa
 * de preguntas se corren lo mismo que creció el encabezado. */
.pi-header { box-sizing: border-box; height: 72px; }
.pi-header__inner { height: 100%; padding-top: 0; padding-bottom: 0; }
@media (min-width: 1200px) {
  .pi-header { height: 88px; }
  .pi-page section[id] { scroll-margin-top: 92px; }
  .pi-page .pi-faq__aside { top: 112px; }
}

/* ---------- Héroe ---------- */
.pi-hero { background: linear-gradient(180deg, var(--pi-pink-soft) 0%, #ffffff 100%); }
.pi-hero__grid { padding-top: 64px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: center; }
.pi-hero__copy { display: flex; flex-direction: column; gap: 22px; }
.pi-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pi-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--pi-text); }
.pi-checks li { display: inline-flex; align-items: center; gap: 6px; }
.pi-checks .mancii-icon { width: 16px; height: 16px; color: var(--pi-green); stroke-width: 2.4; }
.pi-hero__art { position: relative; min-height: 420px; }
.pi-hero__nubii { position: absolute; left: 0; bottom: 0; width: 200px; }
.pi-sample { position: absolute; right: 0; top: 10px; width: min(100%, 380px); box-sizing: border-box; background: #ffffff; border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 0 0 1px rgba(37, 0, 28, 0.06), 0 2px 4px rgba(37, 0, 28, 0.04), 0 18px 44px rgba(37, 0, 28, 0.12); }
.pi-sample__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.pi-sample .pi-avatar { width: 44px; height: 44px; font-size: 15px; }
.pi-sample__who { display: flex; flex-direction: column; flex: 1 1 auto; }
.pi-sample__who b { font-size: 16px; }
.pi-sample__who span { font-size: 13px; color: var(--pi-muted); }
.pi-sample .pi-badge { font-size: 12.5px; padding: 5px 10px; }
.pi-sample__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border-block: 1px solid var(--pi-line); padding: 12px 0; font-size: 13px; }
.pi-sample__facts span { display: flex; flex-direction: column; gap: 2px; }
.pi-sample small { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; color: var(--pi-muted); }
.pi-sample__areas, .pi-sample__fit { display: flex; flex-direction: column; gap: 8px; }
.pi-meter { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.pi-meter i { display: block; height: 7px; width: var(--w); border-radius: 7px; background: var(--pi-pink); }
.pi-meter--soft i { background: var(--pi-pink-mid); }
.pi-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pi-chips span { font-size: 12.5px; border: 1px solid var(--pi-pink-light); background: var(--pi-pink-pale); border-radius: 999px; padding: 4px 10px; }
.pi-sample__label { align-self: center; font-size: 11.5px; color: var(--pi-muted); border: 1px dashed var(--pi-border); border-radius: 999px; padding: 2px 10px; }
.pi-stats { padding-bottom: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.pi-stats > div { display: flex; align-items: center; gap: 14px; background: #ffffff; border-radius: 18px; padding: 16px 18px; box-shadow: var(--pi-ring); }
.pi-stats dt { font-size: 30px; font-weight: 700; line-height: 1.3; color: var(--pi-pink-ink); font-variant-numeric: tabular-nums; min-width: 44px; }
.pi-stats dd { font-size: 14px; line-height: 1.35; color: var(--pi-text); }

@media (max-width: 767px) {
  .pi-hero { background: linear-gradient(180deg, var(--pi-pink-soft) 0%, #ffffff 62%); }
  .pi-hero__grid { padding: 28px 20px 0; gap: 18px; }
  .pi-hero__copy { gap: 18px; }
  .pi-eyebrow { font-size: 12px; }
  .pi-page .pi-h1 { --type-size: 32px; --type-leading: 1.15; letter-spacing: -0.02em !important; }
  .pi-lead { font-size: 15.5px; line-height: 1.55; }
  .pi-hero__actions { flex-direction: column; gap: 10px; }
  .pi-hero__actions .pi-btn { width: 100%; height: 52px; }
  .pi-hero__actions .pi-btn--outline { height: 48px; font-size: 15px; }
  .pi-checks { gap: 6px 14px; font-size: 13px; }
  .pi-hero__art { min-height: 0; height: 300px; margin-top: 6px; }
  .pi-hero__nubii { left: -6px; bottom: 6px; width: 132px; }
  .pi-sample { top: 0; width: 262px; border: 1px solid var(--pi-line); border-radius: 18px; padding: 14px; gap: 10px; box-shadow: 0 12px 30px rgba(37, 0, 28, 0.10); }
  .pi-sample .pi-avatar { width: 38px; height: 38px; font-size: 13px; }
  .pi-sample__who b { font-size: 14px; }
  .pi-sample__who span { font-size: 12px; }
  .pi-sample .pi-badge { font-size: 12px; padding: 4px 10px; }
  .pi-sample__areas, .pi-sample__fit { gap: 6px; }
  .pi-meter { gap: 3px; font-size: 12px; }
  .pi-meter i { height: 6px; }
  .pi-chips span { font-size: 12px; padding: 3px 9px; }
  .pi-sample__label { font-size: 11px; }
  .pi-stats { padding: 0 20px 32px; margin-top: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pi-stats > div { flex-direction: column; align-items: stretch; gap: 2px; border-radius: 16px; padding: 14px; }
  .pi-stats dt { font-size: 26px; }
  .pi-stats dd { font-size: 13px; }
  .pi-hero > .pi-wrap:has(> .pi-stats) { padding: 0; }
}
@media (max-width: 384px) {
  /* Bajo 384 px el diseño (390) no cabe: la ficha ocuparía el lugar de Nubii, así que va sola y a lo ancho. */
  .pi-hero__art { height: auto; }
  .pi-sample { position: static; width: 100%; }
  .pi-hero__nubii { display: none; }
}

/* ---------- Cómo funciona: dos carriles ---------- */
.pi-lane { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head cta" "rail rail"; align-items: center; gap: 20px 14px; }
.pi-lane__head { grid-area: head; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-width: 0; }
.pi-lane__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.pi-lane__names { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pi-lane__tag { font-size: 13px; font-weight: 600; border-radius: 999px; padding: 4px 11px; line-height: 1.5; }
.pi-lane__rule { flex: 1 1 40px; height: 1px; background: var(--pi-line); }
.pi-lane__hint { display: none; }
.pi-lane__cta { grid-area: cta; display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; font-size: 14.5px; font-weight: 600; text-decoration: none; }
.pi-lane__cta .mancii-icon { width: 16px; height: 16px; stroke-width: 2.2; }
.pi-lane--mql { --lane-bg: var(--pi-pink-soft); --lane-ink: var(--pi-pink-deep); --lane-icon: var(--pi-pink-ink); }
.pi-lane--calificativa { --lane-bg: var(--pi-plum-soft); --lane-ink: var(--pi-plum); --lane-icon: var(--pi-plum); }
.pi-lane__icon { background: var(--lane-bg); color: var(--lane-icon); }
.pi-lane__tag { background: var(--lane-bg); color: var(--lane-ink); }
.pi-page .pi-lane__cta { color: var(--lane-icon); }
.pi-rail { grid-area: rail; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; outline-offset: 4px; }
.pi-step { display: flex; flex-direction: column; gap: 14px; }
.pi-step__panel { height: 222px; box-sizing: border-box; padding: 48px 12px 16px; border-radius: 22px; background-color: var(--lane-bg); display: grid; place-items: center; position: relative; overflow: hidden; }
.pi-lane--mql .pi-step__panel { background-image: radial-gradient(rgba(224, 0, 125, 0.18) 1px, transparent 1.4px); background-size: 14px 14px; }
.pi-lane--calificativa .pi-step__panel { background-image: radial-gradient(rgba(99, 31, 82, 0.16) 1px, transparent 1.4px); background-size: 14px 14px; }
.pi-step__pill { position: absolute; z-index: 2; left: 14px; top: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; line-height: 1.5; color: var(--lane-ink); background: #ffffff; border-radius: 999px; padding: 4px 10px; }
.pi-step__text { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.pi-step__text p { font-size: 14.5px; line-height: 1.55; color: var(--pi-text); }
.pi-step__time { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--lane-ink); }
.pi-step__time .mancii-icon { width: 15px; height: 15px; }

@media (max-width: 767px) {
  .pi-section > .pi-wrap { padding: 36px 20px 40px; }
  .pi-stack { gap: 16px; }
  .pi-page .pi-h2 { --type-size: 26px; --type-leading: 1.18; }
  .pi-intro { gap: 8px; }
  .pi-intro > p { font-size: 15px; line-height: 1.55; margin-top: 8px; }
  .pi-lane { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "rail" "cta"; gap: 14px; margin-top: 12px; }
  .pi-lane__head { flex-wrap: nowrap; gap: 12px; }
  .pi-lane__icon { width: 38px; height: 38px; border-radius: 11px; }
  .pi-lane__icon .pi-ico { width: 19px; height: 19px; }
  .pi-lane__names { flex-direction: column; align-items: flex-start; gap: 0; flex: 1; min-width: 0; }
  .pi-page .pi-lane h3 { --type-size: 18px; }
  .pi-lane__tag { background: none; padding: 0; font-size: 12.5px; }
  .pi-lane__rule { display: none; }
  .pi-lane__hint { display: inline-flex; flex: none; align-items: center; gap: 4px; font-size: 12px; color: var(--pi-muted-2); transition: opacity 200ms ease; }
  .pi-lane__hint .mancii-icon { width: 14px; height: 14px; }
  .pi-lane.is-swiped .pi-lane__hint { opacity: 0; }
  .pi-lane__cta { padding: 6px 0; justify-self: start; }
  .pi-rail { display: flex; gap: 12px; margin: 0 -20px; padding: 0 20px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .pi-rail::-webkit-scrollbar { display: none; }
  .pi-step { flex: 0 0 290px; scroll-snap-align: start; gap: 12px; }
  .pi-step__panel { height: 204px; padding: 44px 10px 14px; border-radius: 20px; }
  .pi-step__pill { left: 12px; top: 12px; font-size: 11.5px; }
  .pi-step__text { padding: 0 2px; }
  .pi-page .pi-step h4 { --type-size: 16px; }
  .pi-step__text p { font-size: 14px; line-height: 1.5; }
  .pi-step__time { font-size: 12.5px; }
  .pi-step__time .mancii-icon { display: none; }
}
@media (max-width: 384px) {
  .pi-step { flex-basis: min(290px, calc(100vw - 56px)); }
}

/* ---------- Los dibujos de los pasos ---------- */
.pi-art { position: static; display: grid; place-items: center; font-size: 11px; line-height: 1.35; color: var(--pi-ink); }
.pi-art b { font-weight: 700; }
.pi-art small { font-size: 9.5px; color: var(--pi-muted); }
.pi-art__form { width: 196px; padding: 14px; border-radius: 14px; display: flex; flex-direction: column; gap: 8px; }
.pi-art__form b { font-size: 11.5px; }
.pi-art__input { height: 26px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--pi-plum); display: flex; align-items: center; padding: 0 8px; font-size: 11px; gap: 1px; }
.pi-art__input span { white-space: nowrap; }
.pi-art__input i { width: 1.5px; height: 13px; background: var(--pi-plum); }
.pi-art__button { height: 26px; border-radius: 7px; background: var(--pi-pink); color: #ffffff; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.pi-art__toast { position: absolute; right: 16px; bottom: 18px; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--pi-green); background: #ffffff; border-radius: 999px; padding: 5px 10px; box-shadow: 0 6px 16px rgba(37, 0, 28, 0.10); }
.pi-art__toast .mancii-icon { width: 12px; height: 12px; stroke-width: 3; }
.pi-art__sheet { width: 206px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.pi-art__drop { height: 34px; border-radius: 10px; border: 1.5px dashed var(--pi-pink); background: rgba(255, 255, 255, 0.7); display: grid; place-items: center; font-size: 10.5px; font-weight: 600; color: var(--pi-pink-deep); }
.pi-art__file { position: absolute; left: 86px; top: -6px; width: 34px; height: 40px; border-radius: 6px; background: var(--pi-green); color: #ffffff; display: grid; place-items: center; font-size: 9px; font-weight: 700; box-shadow: 0 8px 18px rgba(24, 121, 78, 0.3); }
.pi-art__rows { overflow: hidden; font-size: 10.5px; }
.pi-art__rows > span { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-bottom: 1px solid var(--pi-line); }
.pi-art__rows > span:last-child { border-bottom: 0; }
.pi-art__rows em, .pi-art__offer em { font-style: normal; font-size: 9.5px; color: var(--pi-pink-deep); background: var(--pi-pink-soft); border-radius: 999px; padding: 2px 7px; }
.pi-art__leads { width: 206px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.pi-art__ping { position: absolute; right: -8px; top: -14px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600; color: #ffffff; background: var(--pi-plum); border-radius: 999px; padding: 4px 9px; }
.pi-art__ping .mancii-icon { width: 11px; height: 11px; stroke-width: 2.4; }
.pi-art__lead { padding: 10px 12px; display: flex; align-items: center; gap: 10px; }
.pi-art__lead > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pi-art__lead b { font-size: 11.5px; }
.pi-art__lead > i { width: 18px; height: 18px; border-radius: 50%; background: var(--pi-green); color: #ffffff; display: grid; place-items: center; }
.pi-art__lead > i .mancii-icon { width: 10px; height: 10px; stroke-width: 3.5; }
.pi-art__board { width: 216px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pi-art__board > .pi-card { border-radius: 10px; padding: 7px; min-height: 92px; display: flex; flex-direction: column; gap: 5px; box-shadow: 0 6px 16px rgba(37, 0, 28, 0.08); }
.pi-art__board b, .pi-art__columns b { font-size: 9.5px; }
.pi-art__board i, .pi-art__columns i { display: block; height: 22px; border-radius: 6px; background: var(--pi-pink-soft); }
.pi-art__board i.is-green, .pi-art__columns i.is-green { background: var(--pi-green-soft); }
.pi-art__chip { height: 22px; border-radius: 6px; background: var(--pi-pink-light); box-shadow: 0 4px 10px rgba(224, 0, 125, 0.25); display: flex; align-items: center; padding: 0 6px; font-size: 9px; font-weight: 600; color: var(--pi-pink-dark); position: relative; z-index: 1; }
.pi-art__whatsapp { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600; color: var(--pi-green); background: #ffffff; border-radius: 999px; padding: 4px 9px; box-shadow: 0 4px 12px rgba(37, 0, 28, 0.08); }
.pi-art__whatsapp .mancii-icon { width: 11px; height: 11px; stroke-width: 2.2; }
.pi-art__qr { padding: 12px; border-radius: 14px; display: flex; align-items: center; gap: 12px; }
.pi-art__code { position: relative; width: 76px; height: 76px; overflow: hidden; flex: none; }
.pi-art__code svg { display: block; }
.pi-art__code i { position: absolute; left: 0; right: 0; top: 6px; height: 3px; border-radius: 3px; background: var(--pi-pink); box-shadow: 0 0 10px rgba(224, 0, 125, 0.6); }
.pi-art__qr > span:last-child { display: flex; flex-direction: column; gap: 4px; font-size: 10.5px; }
.pi-art__qr b { font-size: 12px; }
.pi-art__qr small { font-size: 10.5px; }
.pi-art__qr em { font-style: normal; font-weight: 600; color: var(--pi-pink-deep); }
.pi-art__test { width: 206px; padding: 12px; border-radius: 14px; display: flex; flex-direction: column; gap: 8px; }
.pi-art__test small { font-size: 10px; font-variant-numeric: tabular-nums; }
.pi-art__test b { font-size: 11.5px; }
.pi-art__progress { height: 5px; border-radius: 5px; background: var(--pi-line); overflow: hidden; }
.pi-art__progress i { display: block; height: 5px; border-radius: 5px; background: var(--pi-pink); transform-origin: left center; transform: scaleX(0.85); }
.pi-art__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; font-size: 9.5px; text-align: center; }
.pi-art__options span { border-radius: 6px; padding: 5px 0; box-shadow: inset 0 0 0 1px var(--pi-border); }
.pi-art__options .pi-a-pick { font-weight: 600; background: var(--pi-pink-light); box-shadow: inset 0 0 0 1.5px var(--pi-pink); }
.pi-art__otp { padding: 14px; border-radius: 14px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.pi-art__otp small { font-size: 10.5px; }
.pi-art__digits { display: flex; gap: 5px; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pi-art__digits span { width: 24px; height: 30px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--pi-pink); display: grid; place-items: center; }
.pi-art__otp .pi-badge { font-size: 10.5px; padding: 3px 9px; }

/* ---------- Productos ---------- */
.pi-products { background: linear-gradient(180deg, #ffffff 0%, var(--pi-pink-soft) 100%); }
.pi-products__intro { display: grid; grid-template-columns: minmax(0, 640px) auto; grid-template-areas: "eyebrow img" "title img" "text img"; justify-content: space-between; align-items: end; gap: 12px 16px; }
.pi-products__intro .pi-eyebrow { grid-area: eyebrow; }
.pi-products__intro h2 { grid-area: title; }
.pi-products__intro p { grid-area: text; font-size: 17px; line-height: 1.6; color: var(--pi-text); }
.pi-products__intro img { grid-area: img; width: 110px; align-self: end; }
.pi-products__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.pi-product { border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 18px; background: #ffffff; box-shadow: 0 0 0 1px rgba(37, 0, 28, 0.08), 0 12px 30px rgba(37, 0, 28, 0.06); }
.pi-product--mql { --card-soft: var(--pi-pink-soft); --card-ink: var(--pi-pink-ink); --card-tag: var(--pi-pink-deep); }
.pi-product--calificativa { --card-soft: var(--pi-plum-soft); --card-ink: var(--pi-plum); --card-tag: var(--pi-plum); }
.pi-product__head { display: flex; align-items: center; gap: 14px; }
.pi-product__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--card-soft); color: var(--card-ink); display: grid; place-items: center; flex: none; }
.pi-product__icon .pi-ico { width: 24px; height: 24px; }
.pi-product__head > div { display: flex; flex-direction: column; }
.pi-page .pi-product h3 { --type-size: 24px; }
.pi-product__head span { font-size: 13px; font-weight: 600; color: var(--card-tag); }
.pi-product > p { font-size: 15.5px; line-height: 1.55; color: var(--pi-text); }
.pi-product ul { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }
.pi-product li { display: flex; gap: 10px; }
.pi-product li .mancii-icon { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--card-ink); stroke-width: 2.4; }
.pi-product__foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.pi-product__trial { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--card-soft); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.pi-product__trial b { font-variant-numeric: tabular-nums; }
.pi-compare { background: #ffffff; border-radius: 24px; padding: 8px; box-shadow: 0 0 0 1px rgba(37, 0, 28, 0.07), 0 16px 40px rgba(37, 0, 28, 0.06); overflow-x: auto; }
.pi-compare table { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.pi-compare th, .pi-compare td { text-align: left; vertical-align: middle; }
.pi-compare thead th { padding: 14px 16px; }
.pi-compare thead th:first-child { width: 34%; padding: 14px 20px; font-size: 18px; font-weight: 700; color: var(--pi-ink); }
.pi-compare thead span { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.pi-compare thead .pi-ico { width: 18px; height: 18px; }
.pi-compare thead .pi-compare__mql { background: var(--pi-pink-soft); color: var(--pi-pink-deep); border-radius: 16px 0 0 0; }
.pi-compare thead .pi-compare__cal { background: var(--pi-plum-soft); color: var(--pi-plum); border-radius: 0 16px 0 0; }
.pi-compare tbody th { padding: 16px 20px; border-top: 1px solid var(--pi-line); font-weight: 600; }
.pi-compare tbody th span { display: inline-flex; align-items: center; gap: 10px; }
.pi-compare tbody th .mancii-icon { width: 18px; height: 18px; color: var(--pi-muted-2); }
.pi-compare tbody td { padding: 16px; border-top: 1px solid var(--pi-line); }
.pi-compare tbody .pi-compare__mql { background: rgba(255, 240, 247, 0.55); }
.pi-compare tbody .pi-compare__cal { background: rgba(245, 243, 246, 0.6); }
.pi-compare tbody tr:last-child .pi-compare__mql { border-radius: 0 0 0 16px; }
.pi-compare tbody tr:last-child .pi-compare__cal { border-radius: 0 0 16px 0; }
.pi-compare b { font-weight: 700; font-variant-numeric: tabular-nums; }
.pi-yes { display: inline-flex; align-items: center; gap: 6px; color: var(--pi-green); font-weight: 600; }
.pi-yes .mancii-icon { width: 18px; height: 18px; stroke-width: 2.6; }

@media (max-width: 767px) {
  .pi-products > .pi-wrap { padding: 36px 20px 32px; gap: 18px; }
  .pi-products__intro { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "eyebrow img" "title img" "text text"; gap: 8px 12px; }
  .pi-products__intro p { font-size: 15px; line-height: 1.55; margin-top: 10px; }
  .pi-products__intro img { width: 70px; }
  .pi-products__cards { gap: 18px; }
  .pi-product { border-radius: 22px; padding: 20px; gap: 14px; box-shadow: 0 0 0 1px rgba(37, 0, 28, 0.08), 0 10px 26px rgba(37, 0, 28, 0.06); }
  .pi-product__head { gap: 12px; }
  .pi-product__icon { width: 46px; height: 46px; border-radius: 13px; }
  .pi-product__icon .pi-ico { width: 22px; height: 22px; }
  .pi-page .pi-product h3 { --type-size: 20px; }
  .pi-product__head span { font-size: 12.5px; }
  .pi-product > p { font-size: 14.5px; line-height: 1.5; }
  .pi-product ul { gap: 8px; font-size: 14px; }
  .pi-product li .mancii-icon { width: 17px; height: 17px; margin-top: 2px; }
  .pi-product__trial { border-radius: 12px; padding: 11px 13px; font-size: 13.5px; }
  .pi-product .pi-btn--block { height: 50px; font-size: 15px; }
  .pi-compare { display: none; }
}

/* ---------- Qué incluye ---------- */
.pi-platform { background: linear-gradient(180deg, var(--pi-pink-soft) 0%, #ffffff 100%); }
.pi-platform .pi-intro { max-width: 640px; }
.pi-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.pi-feature { border-radius: 22px; background: #ffffff; box-shadow: var(--pi-ring); overflow: hidden; display: flex; flex-direction: column; }
.pi-feature__art { margin: 10px; height: 150px; border-radius: 16px; background: var(--pi-pink-pale); border: 1px dashed var(--pi-pink-dash); display: grid; place-items: center; position: relative; overflow: hidden; }
.pi-feature__text { padding: 6px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.pi-page .pi-feature h3 { --type-size: 18px; }
.pi-feature p { font-size: 14.5px; line-height: 1.55; color: var(--pi-text); }
.pi-art__profile { width: 210px; padding: 10px 12px; display: flex; flex-direction: column; gap: 7px; box-shadow: 0 8px 20px rgba(37, 0, 28, 0.08); }
.pi-art__row { display: flex; align-items: center; justify-content: space-between; }
.pi-art__row b { font-size: 11.5px; }
.pi-art__profile .pi-badge { font-size: 9.5px; padding: 2px 7px; }
.pi-art__profile > i { display: block; height: 6px; width: var(--w); border-radius: 6px; background: var(--pi-pink); }
.pi-art__profile > i.is-soft { background: var(--pi-pink-mid); }
.pi-art__columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 220px; }
.pi-art__columns > .pi-card { border-radius: 9px; padding: 7px; display: flex; flex-direction: column; gap: 5px; box-shadow: 0 4px 12px rgba(37, 0, 28, 0.07); }
.pi-art__columns i { height: 18px; border-radius: 5px; }
.pi-art__columns i.is-pink { background: var(--pi-pink-light); }
.pi-art__browser { width: 210px; overflow: hidden; box-shadow: 0 8px 20px rgba(37, 0, 28, 0.08); }
.pi-art__bar { height: 18px; background: var(--pi-plum-soft); display: flex; align-items: center; gap: 4px; padding: 0 8px; }
.pi-art__bar i { width: 5px; height: 5px; border-radius: 50%; background: var(--pi-border); }
.pi-art__bar small { font-size: 8px; color: var(--pi-muted-2); margin-left: 6px; }
.pi-art__offer { display: flex; justify-content: space-between; align-items: center; font-size: 10px; padding: 0 10px; margin: 8px 0; }
.pi-art__offer + .pi-art__offer { margin-top: 0; margin-bottom: 9px; }
.pi-art__browser .pi-art__offer em { font-size: 9px; font-weight: 600; color: #ffffff; background: var(--pi-pink); border-radius: 6px; padding: 3px 7px; }
.pi-art__crm { display: flex; align-items: center; gap: 14px; }
.pi-art__csv { width: 48px; height: 58px; border-radius: 8px; background: var(--pi-green); color: #ffffff; display: grid; place-items: center; font-size: 10px; font-weight: 700; box-shadow: 0 8px 18px rgba(24, 121, 78, 0.25); }
.pi-art__crms { display: flex; flex-direction: column; gap: 5px; }
.pi-art__crms span { font-size: 10px; font-weight: 600; background: #ffffff; border-radius: 7px; padding: 4px 9px; box-shadow: 0 3px 10px rgba(37, 0, 28, 0.08); }
.pi-art__team { display: flex; flex-direction: column; gap: 6px; width: 210px; }
.pi-art__team > .pi-card { display: flex; align-items: center; gap: 8px; border-radius: 9px; padding: 6px 9px; box-shadow: 0 4px 12px rgba(37, 0, 28, 0.07); font-size: 10px; }
.pi-art__team i { width: 20px; height: 20px; border-radius: 50%; background: var(--pi-pink-light); flex: none; }
.pi-art__team i.is-green { background: var(--pi-green-soft); }
.pi-art__team i.is-gray { background: var(--pi-plum-soft); }
.pi-art__team span { flex: 1; }
.pi-art__team small { font-size: 10px; color: var(--pi-muted-2); }
.pi-art__radar { display: flex; align-items: flex-end; gap: 8px; height: 96px; padding: 0 6px; }
.pi-art__radar i { width: 22px; height: var(--h); border-radius: 6px 6px 3px 3px; background: var(--pi-pink-light); }
.pi-art__radar i.is-mid { background: var(--pi-pink-mid); }
.pi-art__radar i.is-strong { background: var(--pi-pink); }

@media (hover: hover) {
  .pi-product, .pi-feature { transition: transform 200ms var(--pi-ease), box-shadow 200ms ease; }
  .pi-product:hover, .pi-feature:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(37, 0, 28, 0.08), 0 18px 36px rgba(37, 0, 28, 0.10); }
}

/* ---------- Calculadora (rediseño 2026-11-19: clara, con Nubii y en palabras) ---------- */
.pi-calc { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.pi-calc__side { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.pi-calc__label { font-size: 15px; font-weight: 600; color: var(--pi-pink-ink); }
.pi-calc-section .pi-intro > p b { color: var(--pi-ink); }
.pi-guide { display: flex; align-items: flex-end; gap: 10px; }
.pi-guide img { width: 84px; flex: none; }
.pi-guide__bubble { margin-bottom: 22px; background: #ffffff; border-radius: 18px 18px 18px 6px; padding: 12px 16px; font-size: 15px; line-height: 1.45; color: var(--pi-ink); box-shadow: 0 0 0 1px var(--pi-line), 0 6px 20px rgba(37, 0, 28, 0.06); }
.pi-calc__group { display: flex; flex-direction: column; gap: 10px; }
.pi-calc__legend { font-size: 14px; font-weight: 600; color: var(--pi-ink); }
.pi-calc__options { display: grid; gap: 10px; }
.pi-calc__options--country { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pi-calc__options--size { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pi-choice { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; border-radius: 16px; box-sizing: border-box; color: var(--pi-ink); background: #ffffff; box-shadow: inset 0 0 0 1px var(--pi-line); text-decoration: none; line-height: 1.35; transition: transform 160ms var(--pi-ease), background-color 150ms ease, color 150ms ease, box-shadow 150ms ease; }
.pi-choice span { display: flex; flex-direction: column; align-items: flex-start; }
.pi-choice b { font-size: 15px; }
.pi-choice small { font-size: 13px; color: var(--pi-muted); }
.pi-choice__flag { flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(37, 0, 28, 0.12); }
.pi-choice--size { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 72px; }
.pi-page .pi-choice[aria-current="true"] { color: var(--pi-ink); background: var(--pi-pink-soft); box-shadow: inset 0 0 0 2px var(--pi-pink); }
.pi-page .pi-choice:active { transform: scale(0.97); }
/* Con foco de teclado la ficha elegida conserva su anillo rosa (el núcleo lo cambia por uno blanco). */
.pi-page .pi-choice[aria-current="true"]:focus-visible { box-shadow: inset 0 0 0 2px var(--pi-pink) !important; outline: 3px solid var(--pi-plum); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .pi-choice:hover { box-shadow: inset 0 0 0 1px var(--pi-pink-deep); }
  .pi-page .pi-choice[aria-current="true"]:hover { box-shadow: inset 0 0 0 2px var(--pi-pink); }
}
.pi-calc__note { font-size: 13px; line-height: 1.5; color: var(--pi-muted); }

.pi-calc__result { flex: 1.35 1 520px; min-width: 0; box-sizing: border-box; display: flex; flex-direction: column; gap: 26px; padding: 32px; border-radius: 28px; background: #ffffff; box-shadow: 0 0 0 1px var(--pi-line), 0 16px 40px rgba(37, 0, 28, 0.06); }
.pi-calc__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.pi-page .pi-calc__head h3 { --type-size: 18px; }
.pi-calc__chip { font-size: 12px; font-weight: 600; color: var(--pi-pink-dark); background: var(--pi-pink-soft); border-radius: 999px; padding: 6px 12px; }
.pi-calc__costs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
/* Los costos en COP son largos («$1.736.085 COP»): el número se ajusta a la tarjeta en vez de partirse. */
@media (min-width: 768px) {
  .pi-calc__result { container-type: inline-size; }
  .pi-calc__costs .pi-cost b { font-size: clamp(24px, 5.6cqi, 32px); white-space: nowrap; }
}
.pi-cost { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 20px; background: var(--pi-panel); }
.pi-cost > span { font-size: 14px; color: var(--pi-muted); }
.pi-cost b { font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; color: var(--pi-ink); font-variant-numeric: tabular-nums; }
.pi-cost small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--pi-muted); }
.pi-cost em { font-style: normal; font-size: 13px; font-weight: 600; }
.pi-cost--with { background: var(--pi-pink-soft); }
.pi-cost--with > span, .pi-cost--with small, .pi-cost--with em { color: var(--pi-pink-dark); }
.pi-cost--with b { color: var(--pi-pink-ink); }

.pi-calc__bars { display: flex; flex-direction: column; gap: 14px; }
.pi-calc__bars-title { font-size: 14px; font-weight: 600; color: var(--pi-ink); }
.pi-bars { --label: 96px; --value: 72px; --gap: 12px; position: relative; display: flex; flex-direction: column; gap: 14px; padding-top: 30px; }
.pi-bars__row { display: grid; grid-template-columns: var(--label) minmax(0, 1fr) var(--value); align-items: center; column-gap: var(--gap); }
.pi-bars__row > span:first-child { font-size: 14px; color: var(--pi-muted); }
.pi-bars__row > b { text-align: right; font-size: 16px; font-variant-numeric: tabular-nums; color: var(--pi-ink); }
.pi-bars__row--with > span:first-child { font-weight: 600; color: var(--pi-pink-ink); }
.pi-bars__row--with > b { color: var(--pi-pink-ink); }
.pi-bar { display: block; height: 14px; border-radius: 999px; background: var(--pi-plum-soft); overflow: hidden; }
.pi-bar i { display: block; height: 100%; border-radius: 999px; background: var(--pi-gray); transform-origin: left center; transform: scaleX(var(--ratio, 1)); transition: transform 250ms var(--pi-ease); }
.pi-bars__row--with .pi-bar { background: var(--pi-pink-soft); }
.pi-bars__row--with .pi-bar i { background: var(--pi-pink); }
/* La meta: una marca punteada sobre el tramo de las barras (entre rótulo y cifra), en --goal. */
.pi-bars__goal { position: absolute; top: 0; bottom: -4px; left: calc(var(--label) + var(--gap) + (100% - var(--label) - var(--value) - 2 * var(--gap)) * var(--goal, 0.5)); border-left: 2px dashed var(--pi-border); pointer-events: none; }
/* La etiqueta se corre hacia la izquierda en la misma proporción que la meta: nunca se sale de la tarjeta. */
.pi-bars__goal > span { position: absolute; top: 0; left: 0; padding: 0 6px; background: #ffffff; white-space: nowrap; font-size: 12px; color: var(--pi-muted); transform: translateX(calc(var(--goal, 0.5) * -100%)); }
.pi-calc__delta { font-size: 14px; color: var(--pi-muted); }
.pi-calc__delta b { color: var(--pi-ink); }
.pi-calc__tip { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: var(--pi-pink-pale); box-shadow: inset 0 0 0 1px var(--pi-pink-dash); }
.pi-calc__tip img { width: 60px; flex: none; }
.pi-calc__tip p { font-size: 15px; line-height: 1.5; color: var(--pi-ink); }
.pi-calc__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.pi-calc__actions .pi-btn { min-height: 52px; padding: 0 24px; border-radius: 14px; font-size: 15px; }
.pi-calc__actions .pi-btn--ghost { color: var(--pi-ink); box-shadow: inset 0 0 0 1px var(--pi-line); }

@media (max-width: 767px) {
  .pi-calc { gap: 24px; }
  .pi-calc__side { gap: 20px; }
  .pi-guide img { width: 64px; }
  .pi-guide__bubble { margin-bottom: 16px; font-size: 14px; }
  .pi-calc__options { gap: 8px; }
  .pi-choice { gap: 10px; min-height: 56px; padding: 10px 12px; border-radius: 12px; }
  .pi-choice b { font-size: 14px; }
  .pi-choice small { font-size: 12px; }
  .pi-choice__flag { width: 28px; height: 18px; }
  .pi-choice--size { min-height: 60px; padding: 10px; }
  .pi-choice--size b { font-size: 13px; }
  .pi-choice--size small { font-size: 11.5px; }
  .pi-calc__result { padding: 20px; gap: 20px; border-radius: 22px; }
  .pi-calc__costs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pi-cost { padding: 16px 18px; border-radius: 16px; }
  .pi-cost b { font-size: 26px; }
  .pi-bars { --label: 84px; --value: 60px; --gap: 10px; }
  .pi-bar { height: 12px; }
  .pi-calc__tip { padding: 12px 14px; }
  .pi-calc__tip p { font-size: 14px; }
  .pi-calc__actions .pi-btn { width: 100%; }
}

/* ---------- Preguntas frecuentes ---------- */
.pi-faq { background: linear-gradient(180deg, #ffffff 0%, var(--pi-pink-soft) 100%); }
.pi-faq > .pi-wrap { padding-bottom: 104px; }
.pi-faq__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.pi-faq__aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; }
.pi-faq__head { display: flex; flex-direction: column; gap: 14px; }
.pi-page .pi-faq .pi-h2 { --type-size: 36px; --type-leading: 1.15; }
.pi-faq__head img { width: 150px; margin-top: 8px; }
.pi-faq__contact { background: #ffffff; border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--pi-ring); font-size: 14px; color: var(--pi-text); }
.pi-faq__contact b { font-size: 14.5px; color: var(--pi-ink); }
.pi-faq__contact a { color: var(--pi-pink-ink); font-weight: 700; text-decoration: none; }
.pi-faq__list { grid-column: span 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.pi-faq__item { background: #ffffff; border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 0 0 1px rgba(37, 0, 28, 0.06), 0 6px 18px rgba(37, 0, 28, 0.04); }
.pi-faq__item dt { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; font-weight: 700; line-height: 1.35; }
.pi-faq__item dt span { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--pi-pink-soft); color: var(--pi-pink-ink); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.pi-faq__item dd { font-size: 14.5px; line-height: 1.6; color: var(--pi-text); }

@media (max-width: 1023px) {
  .pi-faq__grid { grid-template-columns: minmax(0, 1fr); }
  .pi-faq__aside { position: static; }
  .pi-faq__list { grid-column: auto; }
}
@media (max-width: 767px) {
  .pi-faq > .pi-wrap { padding: 36px 20px 28px; }
  .pi-faq__grid { gap: 14px; }
  .pi-faq__aside { display: contents; }
  .pi-faq__head { order: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "eyebrow img" "title img"; align-items: end; gap: 8px 10px; }
  .pi-faq__head .pi-eyebrow { grid-area: eyebrow; }
  .pi-faq__head h2 { grid-area: title; }
  .pi-faq__head img { grid-area: img; width: 74px; margin: 0; }
  .pi-page .pi-faq .pi-h2 { --type-size: 26px; --type-leading: 1.18; }
  .pi-faq__list { order: 1; gap: 10px; }
  .pi-faq__item { border-radius: 18px; padding: 16px; gap: 8px; box-shadow: 0 0 0 1px rgba(37, 0, 28, 0.06), 0 6px 16px rgba(37, 0, 28, 0.04); }
  .pi-faq__item dt { font-size: 15px; }
  .pi-faq__item dt span { width: 24px; height: 24px; border-radius: 7px; font-size: 12px; }
  .pi-faq__item dd { font-size: 13.5px; }
  .pi-faq__contact { order: 2; display: block; border-radius: 16px; padding: 14px 16px; font-size: 13.5px; }
  .pi-faq__contact b { font-size: 13.5px; }
}

/* ---------- Cierre (misma forma que el CTA global) ---------- */
.pi-closing { background: var(--pi-pink-soft); }
.pi-closing__band { background: var(--pi-ink); color: #ffffff; border-radius: 48px 48px 0 0; position: relative; overflow: hidden; }
.pi-closing__inner { position: relative; padding-top: 80px; padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.pi-closing__nubii { position: absolute; right: 40px; bottom: 0; width: 170px; opacity: 0.95; }
.pi-closing__eyebrow { font-size: 14px; font-weight: 600; }
.pi-page .pi-closing .pi-h2 { --type-size: 42px; color: #ffffff; max-width: 620px; position: relative; }
.pi-closing p { font-size: 16px; color: var(--pi-lavender); position: relative; }
.pi-closing__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; position: relative; }
.pi-page .pi-closing .pi-btn--light { color: #ffffff; }
.pi-closing + .footer, .pi-page .footer--global { border-top: 1px solid rgba(255, 255, 255, 0.10); }

@media (max-width: 767px) {
  .pi-closing__band { border-radius: 28px 28px 0 0; }
  .pi-closing__inner { padding: 56px 20px 48px; gap: 14px; }
  .pi-closing__nubii { display: none; }
  .pi-page .pi-closing .pi-h2 { --type-size: 28px; --type-leading: 1.18; }
  .pi-closing p { font-size: 15px; }
  .pi-closing__actions { flex-direction: column; width: 100%; }
  .pi-closing__actions .pi-btn { width: 100%; }
}

/* ---------- Barra de abajo en el celular ---------- */
.pi-dock { display: none; }
@media (max-width: 767px) {
  .pi-page { padding-bottom: 80px; }
  .pi-dock { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: #ffffff; border-top: 1px solid var(--pi-line); box-shadow: 0 -8px 24px rgba(37, 0, 28, 0.06); transition: transform 200ms var(--pi-ease), opacity 200ms ease; }
  .pi-dock p { display: flex; flex-direction: column; flex: 1; min-width: 0; }
  .pi-dock b { font-size: 14px; }
  .pi-dock span { font-size: 12px; color: var(--pi-muted); }
  .pi-dock .pi-btn { flex: none; height: 48px; padding: 0 20px; border-radius: 14px; font-size: 15px; }
  .pi-dock.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
}

/* ---------- Animaciones de los pasos (keyframes del diseño, bucle de 6 s) ---------- */
.pi-a-type { animation: pi-a-type 6s steps(22, end) infinite; }
.pi-a-caret { animation: pi-a-caret 1s steps(1) infinite; }
.pi-a-press { animation: pi-a-press 6s var(--pi-ease) infinite; }
.pi-a-pop { animation: pi-a-pop 6s var(--pi-ease) infinite; }
.pi-a-drop { animation: pi-a-drop 6s var(--pi-ease) infinite; }
.pi-a-row { animation: pi-a-row 6s var(--pi-ease) infinite both; }
.pi-a-row.pi-d2 { animation-delay: 120ms; }
.pi-a-row.pi-d3 { animation-delay: 240ms; }
.pi-a-lead { animation: pi-a-lead 6s var(--pi-ease) infinite both; }
.pi-a-lead.pi-d2 { animation-delay: 600ms; }
.pi-a-ping { animation: pi-a-ping 6s ease-out infinite; }
.pi-a-move { animation: pi-a-move 6s var(--pi-ease-io) infinite; }
.pi-a-scan { animation: pi-a-scan 2.4s var(--pi-ease-io) infinite alternate; }
.pi-a-fill { animation: pi-a-fill 6s var(--pi-ease) infinite; transform-origin: left center; }
.pi-a-pick { animation: pi-a-pick 6s var(--pi-ease) infinite; }
.pi-a-digit { animation: pi-a-digit 6s var(--pi-ease) infinite both; }
.pi-a-digit.pi-d2 { animation-delay: 250ms; }
.pi-a-digit.pi-d3 { animation-delay: 500ms; }
.pi-a-digit.pi-d4 { animation-delay: 750ms; }
.pi-a-digit.pi-d5 { animation-delay: 1000ms; }
.pi-a-digit.pi-d6 { animation-delay: 1250ms; }
@keyframes pi-a-type { 0%, 8% { clip-path: inset(0 100% 0 0); } 40%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes pi-a-caret { 50% { opacity: 0; } }
@keyframes pi-a-press { 0%, 48% { transform: scale(1); } 52% { transform: scale(0.95); } 58%, 100% { transform: scale(1); } }
@keyframes pi-a-pop { 0%, 56% { opacity: 0; transform: translateY(6px) scale(0.9); } 64%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes pi-a-drop { 0% { opacity: 0; transform: translateY(-26px) rotate(-6deg); } 14%, 30% { opacity: 1; transform: none; } 38%, 100% { opacity: 0; transform: scale(0.9); } }
@keyframes pi-a-row { 0%, 34% { opacity: 0; transform: translateY(8px); } 46%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes pi-a-lead { 0%, 6% { opacity: 0; transform: translateY(-14px) scale(0.96); } 18%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(6px); } }
@keyframes pi-a-ping { 0%, 20% { opacity: 0; transform: scale(0.6); } 28% { opacity: 1; transform: scale(1.08); } 34%, 86% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes pi-a-move { 0%, 24% { transform: translateX(0); } 46%, 70% { transform: translateX(70px); } 86%, 100% { transform: translateX(140px); opacity: 0; } }
@keyframes pi-a-scan { from { transform: translateY(0); } to { transform: translateY(58px); } }
@keyframes pi-a-fill { 0% { transform: scaleX(0.15); } 70%, 100% { transform: scaleX(0.85); } }
@keyframes pi-a-pick { 0%, 40% { background: #ffffff; box-shadow: inset 0 0 0 1px #d3ccd3; } 48%, 100% { background: #fcccfb; box-shadow: inset 0 0 0 1.5px #e0007d; } }
@keyframes pi-a-digit { 0%, 14% { opacity: 0; transform: translateY(5px); } 22%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Con «reducir movimiento» todo queda quieto en su estado final: el dibujo se lee completo. */
@media (prefers-reduced-motion: reduce) {
  .pi-page :is(.pi-btn, .pi-choice, .pi-product, .pi-feature, .pi-bar i, .pi-dock, .pi-lane__hint) { transition: none; }
  .pi-page :is(.pi-btn, .pi-choice):active, .pi-page :is(.pi-product, .pi-feature):hover { transform: none; }
  .pi-page [class*="pi-a-"] { animation: none !important; }
  .pi-page .pi-a-type { clip-path: none; }
  .pi-page .pi-a-fill { transform: scaleX(0.85); }
}

/* Sin JS, cada bandera o tamaño de la calculadora recarga la página en #calculadora, y el
 * scroll suave del sitio la animaba desde arriba durante un segundo. Al llegar con ese
 * ancla, el salto es directo. */
:root:has(#calculadora:target) { scroll-behavior: auto; }

/* «Cómo funciona» con selector de producto (Julián, 2026-11-17: los dos carriles a
 * la vez se veían cargados). El selector nace `hidden` y lo enciende el script; sin
 * JavaScript no existe y los dos carriles se ven completos. Pestaña activa en blanco
 * sobre la pista gris, con el ícono de su producto: nada de fondos oscuros. */
.pi-tabs { align-self: flex-start; display: inline-grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: #f5f3f6; }
.pi-tabs[hidden] { display: none; }
.pi-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: transparent; color: var(--pi-muted); font: 600 14.5px/1.2 Poppins, system-ui, sans-serif; cursor: pointer; transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 160ms var(--pi-ease); }
.pi-tab .pi-ico { width: 18px; height: 18px; flex: none; }
.pi-tab[aria-selected="true"] { background: #ffffff; color: var(--pi-ink); box-shadow: 0 1px 3px rgba(37, 0, 28, 0.12), 0 0 0 1px rgba(37, 0, 28, 0.04); }
.pi-tab--mql[aria-selected="true"] .pi-ico { color: var(--pi-pink-ink); }
.pi-tab--calificativa[aria-selected="true"] .pi-ico { color: var(--pi-plum); }
.pi-tab:active { transform: scale(0.97); }
.pi-tab:focus-visible { outline: 3px solid var(--pi-plum); outline-offset: 2px; }
@media (hover: hover) { .pi-tab[aria-selected="false"]:hover { color: var(--pi-ink); } }
.pi-steps .pi-lane[hidden] { display: none; }
.pi-steps.is-tabbed .pi-lane__head { display: none; }
.pi-steps.is-tabbed .pi-lane { grid-template-areas: "rail rail" ". cta"; animation: pi-lane-in 240ms var(--pi-ease); }
@keyframes pi-lane-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
  .pi-tabs { align-self: stretch; display: grid; margin-top: 4px; }
  .pi-tab { padding: 0 10px; font-size: 14px; }
  .pi-steps.is-tabbed .pi-lane { grid-template-areas: "rail" "cta"; }
}
@media (prefers-reduced-motion: reduce) {
  .pi-tab { transition: none; }
  .pi-tab:active { transform: none; }
  .pi-steps.is-tabbed .pi-lane { animation: none; }
}

/*
 * /creadores, el Programa de Creadores de Mancii (2026-11-29). Prefijo de clases cr-. Solo la carga
 * el juego `creators`, que suma antes `tail-b2b-landing.css` por las piezas compartidas con
 * /para-instituciones: tokens --pi-*, `pi-btn` y `pi-closing`. El encabezado es el global del sitio
 * (`mancii/_header`, estilos en `tail-site-header.css`), no lleva reglas aquí.
 *
 * Calco del lienzo aprobado por Julián (página «Creadores», tableros de 1440, 768 y 390; la copia de
 * medición es `creadores-renderizada.html`). Cada medida de abajo es la del estilo en línea del
 * lienzo; los cortes son los suyos: 1000, 760 (aquí 767, el de `pi-`) y 600 px. Los colores
 * que no traen los tokens --pi-* se declaran UNA vez como --cr-* en `.cr-page`.
 *
 * Reglas que Julián ya fijó (no cambiarlas): fondos de sección rosa claro y blanco, con degradado
 * solo en las transiciones; tarjetas sin degradados; ciruela solo de acento; en el celular se ocultan
 * la ilustración de la portada y el Nubii del formulario; pasos, ruta y pagos en filas en el celular;
 * sin antetítulos sobre los títulos de sección ni sobre el
 * del cierre (v16 del lienzo, 2026-11-29: «todo ese antetítulo me parece feo»). La pastilla del H1 se queda.
 *
 * Lo que esta hoja tiene que vencer del núcleo del sitio, y por eso hay `!important`: los títulos se
 * dimensionan con --type-size/--type-leading/--type-weight y el interletrado solo entra con
 * `!important` (igual que en `tail-b2b-landing.css`); `* { box-sizing: border-box }`, que cambiaría
 * cómo se reparten las tarjetas con base flexible (el lienzo es content-box arriba de 1000 px); y los
 * estilos globales de `button`, `input` y `a:active`.
 *
 * Movimiento: solo transform, opacity y sombras; hover solo con puntero; TODO se apaga con
 * `prefers-reduced-motion` (al final).
 */

/* El lienzo usa Poppins 500 en dos lugares (los datos del héroe y la lista de «verificado») y el núcleo
 * solo declara 400, 600 y 700: sin esto, 500 cae a 400. Va con un nombre propio y SOLO en esos dos
 * textos: declarada como «Poppins» también subía a 500 la etiqueta del selector del encabezado global,
 * que en el resto del sitio se ve en 400. Ni aquí ni en `head.css` cambia el peso de otra cosa. */
@font-face {
  font-family: 'Poppins 500';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/poppins-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens y base ---------- */
.cr-page {
  --cr-ring: #f6d5e6;
  --cr-rose: #ebd3e1;
  --cr-ramp-1: #f9c2de;
  --cr-ramp-2: #f08bc0;
  --cr-bar-light: #fce1ee;
  --cr-tier-ring: #f1e4ec;
  --cr-tag-ring: #f6cfe3;
  --cr-green-soft: #e7f6ee;
  --cr-green-pale: #f3fbf6;
  --cr-green-ring: #a7ddbf;
  --cr-indigo: #4338ca;
  --cr-indigo-soft: #ecebfd;
  --cr-red: #b01e22;
  --cr-red-soft: #fdecec;
  --cr-red-dot: #e5484d;
  --cr-disc: #ffe3f1;
  --cr-mauve: #e6d6ea;
  --cr-number: #f0b3d3;
  --cr-check: #c9b8c6;
  --cr-edge: 0 0 0 1px rgba(37, 0, 28, 0.06);
  --cr-lift: 0 10px 24px rgba(37, 0, 28, 0.06);
}
.cr-page main { line-height: normal; }
/* El lienzo no equilibra ni «embellece» los saltos de línea salvo donde lo dice: así los textos se
 * parten igual que en el diseño y las tarjetas pareadas miden lo mismo. */
.cr-page main :is(h3, p, li, dd, dt) { text-wrap: wrap; }
.cr-page main :is(.cr-h2, .cr-hero__headline, .cr-closing .pi-h2) { text-wrap: balance; }
.cr-page main .cr-h2--faq { text-wrap: wrap; }
.cr-page main :where(svg) { flex-shrink: 0; }
.cr-page main b { font-weight: 700; }

.cr-wrap { max-width: 1248px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.cr-pad { padding-top: 88px; padding-bottom: 88px; }
.cr-pad--earn { padding-bottom: 80px; }
.cr-pad--content { padding-bottom: 96px; }
.cr-pad--faq { padding-top: 72px; padding-bottom: 96px; }
.cr-pad--apply { padding-bottom: 104px; }
.cr-stack { display: flex; flex-direction: column; }
.cr-stack--40 { gap: 40px; }
.cr-stack--36 { gap: 36px; }
.cr-stack--32 { gap: 32px; }

/* Fondos: blanco y rosa claro; el degradado solo en la transición entre los dos. */
.cr-bg--white { background: #ffffff; }
.cr-bg--pink { background: var(--pi-pink-soft); }
.cr-bg--pink-white { background: linear-gradient(180deg, var(--pi-pink-soft) 0%, #ffffff 100%); }
.cr-bg--white-pink { background: linear-gradient(180deg, #ffffff 0%, var(--pi-pink-soft) 100%); }

/* ---------- Tipografía ---------- */
.cr-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.cr-head--grow { flex: 1 1 520px; min-width: 0; max-width: none; }
.cr-page .cr-h2 { --type-size: clamp(28px, 2.8vw, 40px); --type-leading: 1.12; --type-weight: 700; letter-spacing: -0.02em !important; color: var(--pi-ink); }
.cr-page .cr-h2--faq { --type-size: clamp(26px, 2.5vw, 36px); --type-leading: 1.15; }
.cr-page .cr-h2--apply { --type-size: clamp(30px, 3vw, 44px); --type-leading: 1.1; }
.cr-page main .cr-h3 { --type-leading: 1.3; --type-weight: 700; color: var(--pi-ink); }
.cr-page main .cr-h3--22 { --type-size: 22px; }
.cr-page main .cr-h3--21 { --type-size: 21px; }
.cr-page main .cr-h3--20 { --type-size: 20px; }
.cr-page main .cr-h3--19 { --type-size: 19px; }
.cr-sub { font-size: 18px; line-height: 1.55; color: var(--pi-muted); }
.cr-text { font-size: 15.5px; line-height: 1.55; color: var(--pi-text); }
.cr-text--sm { font-size: 14.5px; line-height: 1.5; }
.cr-text--15 { font-size: 15px; line-height: 1.55; }
.cr-text--14 { font-size: 14px; line-height: 1.5; }
.cr-page .cr-muted { color: var(--pi-muted); }
.cr-page .cr-link { font-weight: 600; color: var(--pi-pink-ink); text-decoration: underline; }
.cr-page .cr-link--strong { font-weight: 700; }
@media (hover: hover) {
  .cr-page .cr-link:hover { color: var(--pi-pink-dark); }
}

/* Botones: `pi-btn` con el espacio de 10 px del lienzo cuando llevan flecha o avión. */
.cr-page .cr-btn--arrow { gap: 10px; }
.cr-page .cr-btn--full { width: 100%; }

/* El encabezado global vive dentro de `.pi-page`, y `.pi-page .mancii-icon` (20 px, de la hoja compartida)
 * agrandaba sus íconos. Aquí vuelven a los tamaños de `tail-site-header.css`, para que se vea igual que en
 * el resto del sitio. */
.cr-page .site-header .aud-switch__chevron { width: 15px; height: 15px; }
.cr-page .site-header .aud-icon { width: 18px; height: 18px; }

/* Etiquetas («EJEMPLO», «MANCII PONE», plazos). */
.cr-tag { padding: 3px 9px; border-radius: 999px; background: var(--pi-pink-soft); color: var(--pi-pink-deep); box-shadow: inset 0 0 0 1px var(--cr-tag-ring); font-size: 11.5px; font-weight: 700; }
.cr-tag--lg { align-self: flex-start; padding: 5px 12px; font-size: 12.5px; }
.cr-tag--md { padding: 4px 10px; font-size: 12.5px; }

/* ---------- Tarjetas ---------- */
.cr-card { min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 30px 28px; border-radius: 26px; background: #ffffff; box-shadow: var(--cr-edge), var(--cr-lift); }
.cr-card--accent { box-shadow: inset 0 0 0 1.5px var(--cr-ring), 0 10px 24px rgba(37, 0, 28, 0.05); }
.cr-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cr-card__intro { display: flex; flex-direction: column; gap: 8px; }
.cr-card__lead { max-width: 470px; }
.cr-lift { box-sizing: content-box; transition: transform 220ms var(--pi-ease), box-shadow 220ms var(--pi-ease); }
@media (hover: hover) {
  .cr-lift:hover { transform: translateY(-4px); box-shadow: var(--cr-edge), 0 18px 36px rgba(37, 0, 28, 0.12); }
}

/* ---------- Héroe ---------- */
.cr-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 40px 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.cr-hero__copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.cr-page .cr-hero__title { --type-size: 52px; --type-leading: 1.1; --type-weight: 700; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; color: var(--pi-ink); }
.cr-pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #ffffff; box-shadow: 0 0 0 1px var(--cr-rose); font-size: 13px; font-weight: 600; line-height: normal; letter-spacing: 0.04em; color: var(--pi-plum); text-transform: uppercase; }
.cr-pill__icon { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: var(--pi-plum); color: #ffffff; align-items: center; justify-content: center; }
.cr-page .cr-pill__icon svg { width: 12px; height: 12px; stroke-width: 3; }
.cr-hero__headline { display: block; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.cr-hero__headline > span { color: var(--pi-pink); }
.cr-hero__lead { max-width: 560px; font-size: 19px; line-height: 1.55; color: var(--pi-muted); }
.cr-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cr-hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 500; font-family: 'Poppins 500', var(--mancii-font-name, Poppins), system-ui, sans-serif; }
.cr-hero__facts li { display: flex; align-items: center; gap: 6px; }
.cr-page .cr-hero__facts svg { width: 18px; height: 18px; color: var(--pi-plum); stroke-width: 2.4; }

.cr-hero__art { position: relative; min-width: 0; min-height: 460px; display: flex; align-items: flex-end; justify-content: center; }
.cr-hero__disc { position: absolute; left: 50%; top: 50%; width: min(440px, 92%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background-color: var(--cr-disc); background-image: radial-gradient(rgba(224, 0, 125, 0.14) 1.5px, transparent 1.5px); background-size: 18px 18px; }
.cr-page .cr-hero__nubii { position: relative; display: block; width: min(360px, 74%); height: auto; }
.cr-float-card { position: absolute; box-sizing: content-box; display: flex; border-radius: 14px; background: #ffffff; box-shadow: 0 10px 24px rgba(37, 0, 28, 0.12); }
.cr-float-card--link { left: 0; top: 18px; max-width: 58%; flex-direction: column; gap: 4px; padding: 12px 14px; }
.cr-float-card--earn { right: 0; top: 42%; max-width: 54%; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; }
.cr-float-card--panel { left: 4%; bottom: 10px; max-width: 52%; flex-direction: column; gap: 2px; padding: 12px 16px; box-shadow: 0 0 0 1.5px var(--pi-line), 0 10px 24px rgba(37, 0, 28, 0.12); }
.cr-float-card__label { font-size: 11.5px; font-weight: 600; color: var(--pi-muted-2); }
.cr-float-card__url { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--pi-ink); }
.cr-page .cr-float-card__url svg { width: 15px; height: 15px; color: var(--pi-pink-ink); }
.cr-float-card__ok { display: inline-flex; flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--cr-green-soft); color: var(--pi-green); align-items: center; justify-content: center; }
.cr-page .cr-float-card__ok svg { width: 18px; height: 18px; stroke-width: 2.4; }
.cr-float-card__earn { display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.35; color: var(--pi-muted); }
.cr-float-card__earn b { font-size: 15px; color: var(--pi-ink); }
.cr-float-card__value { font-size: 14px; font-weight: 600; color: var(--pi-ink); }

.cr-float { animation: cr-float 4.8s ease-in-out infinite; }
.cr-float-b { animation: cr-float 5.6s ease-in-out infinite; animation-delay: -2.2s; }
.cr-float-c { animation: cr-float 6.2s ease-in-out infinite; animation-delay: -1.1s; }
@keyframes cr-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Qué recibes ---------- */
.cr-cards { display: flex; flex-wrap: wrap; gap: 16px; }
.cr-card--link { flex: 2 1 540px; justify-content: space-between; gap: 20px; }
.cr-card--panel { flex: 1 1 320px; }
.cr-card--small { flex: 1 1 300px; }

.cr-share { display: flex; flex-direction: column; gap: 10px; max-width: 540px; }
.cr-url-field { display: flex; align-items: center; gap: 8px; min-height: 56px; box-sizing: border-box; padding: 6px 6px 6px 16px; border-radius: 14px; background: #ffffff; box-shadow: inset 0 0 0 1.5px var(--pi-pink-dash); }
.cr-url-field__icon { display: inline-flex; color: var(--pi-pink-ink); }
.cr-page .cr-url-field__icon svg { width: 18px; height: 18px; }
.cr-url-field__text { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-page .cr-copy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; width: auto; height: auto; min-width: 118px; min-height: 44px; margin: 0; padding: 0 16px; border: 0; border-radius: 10px; background: var(--pi-pink-soft); color: var(--pi-pink-ink); box-shadow: inset 0 0 0 1.5px var(--pi-pink-dash); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: transform 160ms var(--pi-ease), background-color 160ms ease, color 160ms ease, box-shadow 160ms ease; }
.cr-page .cr-copy[hidden] { display: none; }
.cr-page .cr-copy svg { width: 16px; height: 16px; }
.cr-page .cr-copy.is-copied { background: var(--cr-green-soft); color: var(--pi-green); box-shadow: inset 0 0 0 1.5px var(--cr-green-ring); }
.cr-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cr-chips__label { margin-right: 2px; font-size: 13px; color: var(--pi-muted-2); }
.cr-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: #ffffff; box-shadow: inset 0 0 0 1px var(--pi-pink-dash); font-size: 12.5px; font-weight: 600; color: var(--pi-ink); }

.cr-flow { position: relative; }
.cr-flow__line { position: absolute; left: 16%; right: 16%; top: 19px; border-top: 2px dashed var(--pi-pink-dash); }
.cr-flow__steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cr-flow__steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--pi-ink); }
.cr-flow__steps li.is-last { color: var(--pi-pink-ink); }
.cr-flow__dot { display: inline-flex; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: #ffffff; box-shadow: inset 0 0 0 1.5px var(--pi-pink-dash); color: var(--pi-pink-ink); align-items: center; justify-content: center; }
.is-last > .cr-flow__dot { box-shadow: inset 0 0 0 1.5px var(--pi-pink); }
.cr-page .cr-flow__dot svg { width: 20px; height: 20px; }

.cr-chart { display: flex; align-items: flex-end; gap: 8px; box-sizing: content-box; height: 96px; padding: 0 4px; border-bottom: 1.5px solid var(--cr-rose); }
.cr-chart__bar { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; }
.cr-chart__bar--1 { background: var(--cr-bar-light); }
.cr-chart__bar--2 { background: var(--cr-ramp-1); }
.cr-chart__bar--3 { background: var(--cr-ramp-2); }
.cr-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cr-stats dt { font-size: 12px; color: var(--pi-muted-2); }
.cr-stats dd { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cr-stats .cr-stats__money { color: var(--pi-plum); }

.cr-tests { position: relative; height: 128px; }
.cr-tests span { position: absolute; white-space: nowrap; padding: 10px 14px; border-radius: 14px; font-size: 13px; font-weight: 600; }
.cr-tests__a { left: 0; top: 4px; background: var(--pi-pink-soft); box-shadow: 0 0 0 1px var(--cr-ramp-1); transform: rotate(-6deg); }
.cr-tests__b { left: 16%; top: 44px; background: #ffffff; box-shadow: 0 0 0 1px var(--cr-rose), 0 8px 18px rgba(37, 0, 28, 0.08); transform: rotate(3deg); }
.cr-tests__c { left: 6%; top: 84px; background: #ffffff; color: var(--pi-ink); box-shadow: 0 0 0 1.5px var(--pi-pink), 0 8px 18px rgba(37, 0, 28, 0.08); transform: rotate(-2deg); }

.cr-community { display: flex; flex-direction: column; justify-content: center; gap: 10px; height: 118px; }
.cr-faces { display: flex; align-items: center; }
.cr-page .cr-faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #ffffff; }
.cr-page .cr-faces img + img { margin-left: -10px; }
.cr-community__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cr-dot-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.cr-dot-chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cr-dot-chip--green { background: var(--cr-green-soft); color: var(--pi-green); }
.cr-dot-chip--indigo { background: var(--cr-indigo-soft); color: var(--cr-indigo); }

.cr-event { display: flex; align-items: center; gap: 14px; height: 118px; }
.cr-event__date { display: flex; flex-direction: column; width: 92px; border-radius: 16px; overflow: hidden; background: #ffffff; box-shadow: 0 0 0 1px var(--cr-rose), 0 8px 18px rgba(37, 0, 28, 0.08); text-align: center; }
.cr-event__date span { padding: 5px 0; background: var(--pi-pink-soft); color: var(--pi-pink-deep); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; }
.cr-event__date b { padding: 8px 0 10px; font-size: 30px; font-weight: 700; line-height: 1; }
.cr-event__live { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--cr-red-soft); color: var(--cr-red); font-size: 12.5px; font-weight: 700; }
.cr-event__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--cr-red-dot); }

/* ---------- Cómo ganas ---------- */
.cr-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 24px; align-items: stretch; }
.cr-panel { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 28px 26px; border-radius: 28px; background: #ffffff; box-shadow: var(--cr-edge), var(--cr-lift); }
.cr-panel--ladder { position: relative; gap: 16px; }
.cr-panel--accent { box-shadow: inset 0 0 0 1.5px var(--cr-ring), 0 10px 24px rgba(37, 0, 28, 0.05); }
.cr-panel--quiet { padding: 26px 24px; border-radius: 24px; box-shadow: var(--cr-edge); }

.cr-page .cr-ladder__nubii { position: absolute; right: 18px; top: 10px; width: 104px; height: auto; }
.cr-ladder__title { max-width: 62%; }
.cr-ladder { flex: 1 1 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; min-height: 230px; }
.cr-page .cr-tier { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 0; color: var(--pi-ink); text-align: center; text-decoration: none; cursor: pointer; transition: transform 160ms var(--pi-ease); }
.cr-page .cr-tier:active { transform: scale(0.97); }
.cr-tier__amount { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cr-tier__bar { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 16px; background: transparent; box-shadow: inset 0 0 0 1px var(--cr-tier-ring); transition: box-shadow 200ms ease, transform 220ms var(--pi-ease); }
.cr-tier[aria-current="true"] .cr-tier__bar { background: var(--pi-pink-soft); box-shadow: inset 0 0 0 2px var(--pi-plum); }
.cr-tier__test { display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; border-radius: 10px; background: #ffffff; box-shadow: inset 0 0 0 1.5px var(--pi-pink-dash); color: var(--pi-pink-ink); font-size: 12.5px; font-weight: 600; }
.cr-page .cr-tier__test svg { width: 15px; height: 15px; stroke-width: 2.6; }
.cr-tier__label { font-size: 14px; font-weight: 600; line-height: 1.3; }
@media (hover: hover) {
  .cr-tier:hover .cr-tier__bar { transform: translateY(-4px); }
}
.cr-note { font-size: 13.5px; line-height: 1.5; color: var(--pi-muted); }

.cr-count { display: flex; flex-direction: column; gap: 10px; }
.cr-count__label { font-size: 14px; font-weight: 600; }
.cr-count__options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: var(--pi-pink-soft); }
.cr-page .cr-count__options a { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; background: transparent; color: var(--pi-muted); box-shadow: 0 0 0 0 transparent; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none; transition: transform 160ms var(--pi-ease), background-color 160ms ease, color 160ms ease, box-shadow 160ms ease; }
.cr-page .cr-count__options a:active { transform: scale(0.97); }
.cr-page .cr-count__options a[aria-current="true"] { background: #ffffff; color: var(--pi-pink-ink); box-shadow: 0 2px 8px rgba(37, 0, 28, 0.10), inset 0 0 0 1.5px var(--pi-pink-dash); }

.cr-result { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px 20px; border-radius: 18px; background: #ffffff; box-shadow: inset 0 0 0 1.5px var(--pi-pink-dash); }
.cr-result__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--pi-muted); }
.cr-result__row b { color: var(--pi-ink); font-variant-numeric: tabular-nums; }
.cr-result__rule { border-top: 2px dashed var(--pi-pink-dash); }
.cr-result__total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.cr-result__total > span:first-child { font-size: 14.5px; font-weight: 600; color: var(--pi-ink); }
.cr-result__amount { font-size: clamp(34px, 3.6vw, 46px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; color: var(--pi-ink); font-variant-numeric: tabular-nums; }
.cr-result__currency { font-size: 16px; letter-spacing: 0; color: var(--pi-pink-ink); }

.cr-verified { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 10px; }
.cr-verified li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--cr-green-pale); font-size: 15px; font-weight: 500; font-family: 'Poppins 500', var(--mancii-font-name, Poppins), system-ui, sans-serif; }
.cr-page .cr-verified svg { width: 20px; height: 20px; color: var(--pi-green); stroke-width: 2.4; }

.cr-pay { position: relative; }
.cr-pay__line { position: absolute; left: 44px; right: 30%; top: 21px; border-top: 2px dashed var(--pi-pink-dash); }
.cr-pay__steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 16px; }
.cr-pay-li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cr-pay__dot { display: inline-flex; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: #ffffff; box-shadow: inset 0 0 0 1.5px var(--pi-pink-dash); color: var(--pi-pink-ink); align-items: center; justify-content: center; }
.is-last > .cr-pay__dot { box-shadow: inset 0 0 0 1.5px var(--pi-pink); }
.cr-page .cr-pay__dot svg { width: 22px; height: 22px; }
.cr-pay__step { font-size: 12px; font-weight: 600; color: var(--pi-pink-deep); }
.cr-pay-li b { font-size: 15px; }
.cr-pay__text { font-size: 14px; line-height: 1.5; color: var(--pi-text); }
.cr-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--pi-pink-soft); box-shadow: inset 0 0 0 1px var(--cr-tag-ring); font-size: 13.5px; font-weight: 600; color: var(--pi-pink-deep); }
.cr-page .cr-badge svg { width: 15px; height: 15px; }

/* ---------- Quién hace qué ---------- */
.cr-roles { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; }
.cr-roles__card { flex: 1 1 330px; gap: 16px; }
.cr-roles__list { display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; line-height: 1.4; color: var(--pi-text); }
.cr-roles__list li { display: flex; align-items: center; gap: 12px; }
.cr-roles__icon { display: inline-flex; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: #ffffff; box-shadow: inset 0 0 0 1.5px var(--pi-pink-dash); color: var(--pi-pink-ink); align-items: center; justify-content: center; }
.cr-page .cr-roles__icon svg { width: 17px; height: 17px; }
.cr-roles__duo { flex: 0 1 300px; min-width: 0; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.cr-page .cr-roles__duo img { width: 100%; max-width: 300px; height: auto; }
.cr-roles__together { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #ffffff; box-shadow: inset 0 0 0 1.5px var(--pi-pink-dash); font-size: 14px; font-weight: 700; color: var(--pi-pink-ink); }

/* ---------- Cómo te unes ---------- */
.cr-join__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.cr-page .cr-join__nubii { width: 130px; height: auto; }
.cr-steps { position: relative; }
.cr-steps__line { position: absolute; left: 6%; right: 6%; top: 31px; border-top: 3px dashed var(--cr-ramp-2); }
.cr-steps__list { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; }
.cr-step-li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cr-step__dot { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: #ffffff; color: var(--pi-pink-ink); align-items: center; justify-content: center; }
.cr-step__dot--1 { box-shadow: 0 0 0 3px var(--cr-ramp-1); }
.cr-step__dot--2 { box-shadow: 0 0 0 3px var(--cr-ramp-2); }
.cr-step__dot--3 { box-shadow: 0 0 0 3px var(--pi-pink); }
.cr-step__dot--4 { background: var(--pi-plum); color: #ffffff; }
.cr-page .cr-step__dot svg { width: 26px; height: 26px; }

.cr-route { display: flex; flex-direction: column; gap: 28px; padding: 32px 28px; border-radius: 28px; background: #ffffff; box-shadow: var(--cr-edge), var(--cr-lift); }
.cr-route__intro { display: flex; flex-direction: column; gap: 6px; max-width: 700px; }
.cr-route__track { position: relative; }
.cr-route__bar { position: absolute; left: 11px; right: 11px; top: 9px; height: 4px; border-radius: 999px; background: var(--cr-ramp-1); }
.cr-route__list { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px 20px; }
.cr-road-li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cr-road-li b { font-size: 18px; }
.cr-route__dot { width: 22px; height: 22px; border-radius: 50%; background: #ffffff; box-shadow: inset 0 0 0 6px var(--cr-ramp-1); }
.cr-road-li--2 .cr-route__dot { box-shadow: inset 0 0 0 6px var(--cr-ramp-2); }
.cr-road-li--3 .cr-route__dot { box-shadow: inset 0 0 0 6px var(--pi-pink); }
.cr-road-li--4 .cr-route__dot { background: var(--pi-plum); box-shadow: 0 0 0 4px var(--cr-mauve); }
.cr-road-li--4 .cr-route__when { background: var(--pi-plum); color: #ffffff; box-shadow: none; }
.cr-route__text { font-size: 14.5px; line-height: 1.55; color: var(--pi-text); }

/* ---------- Qué contenido funciona ---------- */
.cr-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: center; }
.cr-content__copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.cr-tabs { display: inline-flex; align-self: flex-start; padding: 4px; border-radius: 14px; background: #ffffff; box-shadow: 0 0 0 1px var(--cr-rose); }
.cr-tabs[hidden] { display: none; }
.cr-page .cr-tab { display: inline-flex; align-items: center; gap: 8px; width: auto; height: auto; min-height: 44px; margin: 0; padding: 0 18px; border: 0; border-radius: 10px; background: transparent; color: var(--pi-muted); box-shadow: none; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform 160ms var(--pi-ease), background-color 160ms ease, color 160ms ease; }
.cr-page .cr-tab:active { transform: scale(0.97); }
.cr-page .cr-tab svg { width: 16px; height: 16px; stroke-width: 2.6; }
.cr-page .cr-tab--yes[aria-selected="true"] { background: var(--cr-green-soft); color: var(--pi-green); }
.cr-page .cr-tab--no[aria-selected="true"] { background: var(--cr-red-soft); color: var(--cr-red); }
.cr-rules-list { display: flex; flex-direction: column; gap: 10px; }
.cr-rules-list[hidden] { display: none; }
.cr-rules-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #ffffff; box-shadow: var(--cr-edge); font-size: 15.5px; }
.cr-rules-list__icon { display: inline-flex; flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; align-items: center; justify-content: center; }
.cr-rules-list--yes .cr-rules-list__icon { background: var(--cr-green-soft); color: var(--pi-green); }
.cr-rules-list--no .cr-rules-list__icon { background: var(--cr-red-soft); color: var(--cr-red); }
.cr-page .cr-rules-list__icon svg { width: 16px; height: 16px; stroke-width: 2.6; }
.cr-rules-list .cr-rules-list__note { background: var(--pi-pink-soft); box-shadow: none; font-size: 14.5px; color: var(--pi-text); }

.cr-videos { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cr-videos__title { font-size: 15px; font-weight: 600; color: var(--pi-muted-2); }
.cr-videos__row { display: flex; justify-content: center; align-items: flex-end; gap: 14px; }
.cr-page .cr-video { position: relative; display: block; flex: 1 1 0; min-width: 0; max-width: 200px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--cr-mauve); box-shadow: 0 14px 30px rgba(37, 0, 28, 0.16); color: #ffffff; text-decoration: none; transition: transform 260ms var(--pi-ease), box-shadow 260ms var(--pi-ease); }
.cr-video--left { transform: rotate(-5deg) translateY(10px); }
.cr-page .cr-video--center { transform: translateY(-6px); box-shadow: 0 0 0 3px #ffffff, 0 18px 36px rgba(37, 0, 28, 0.20); }
.cr-video--right { transform: rotate(5deg) translateY(10px); }
.cr-page .cr-video:focus-visible { outline: 3px solid var(--pi-pink); outline-offset: 3px; }
@media (hover: hover) {
  .cr-page .cr-video:hover { transform: translateY(-8px) rotate(0deg); box-shadow: 0 24px 44px rgba(37, 0, 28, 0.22); }
}
.cr-page .cr-video img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.cr-video__handle { position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--pi-ink); font-size: 11.5px; font-weight: 600; }
.cr-video__play { position: absolute; left: 50%; top: 50%; margin: -26px 0 0 -26px; display: inline-flex; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--pi-plum); align-items: center; justify-content: center; }
.cr-page .cr-video__play svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.cr-videos__hint { text-align: center; font-size: 13.5px; color: var(--pi-muted); }

/* ---------- Las reglas claras ---------- */
.cr-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.cr-rule { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px 22px; border-radius: 22px; background: #ffffff; box-shadow: inset 0 0 0 1.5px var(--cr-ring); }
.cr-rule__number { position: absolute; right: 20px; top: 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--cr-number); }
.cr-rule__icon { display: inline-flex; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: #ffffff; box-shadow: inset 0 0 0 1.5px var(--pi-pink-dash); color: var(--pi-pink-ink); align-items: center; justify-content: center; }
.cr-page .cr-rule__icon svg { width: 22px; height: 22px; }
.cr-rule__title { font-size: 17px; line-height: 1.3; }
.cr-rule__text { font-size: 15px; line-height: 1.55; color: var(--pi-text); }

/* ---------- Preguntas frecuentes (visibles, sin acordeón) ---------- */
.cr-faq { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.cr-faq__aside { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cr-faq__contact { padding: 16px 18px; border-radius: 18px; background: #ffffff; box-shadow: 0 0 0 1px rgba(37, 0, 28, 0.07); font-size: 14px; line-height: 1.5; color: var(--pi-text); }
.cr-faq__contact b { color: var(--pi-ink); }
.cr-faq__list { flex: 999 1 600px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 14px; min-width: 0; }
.cr-faq__item { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border-radius: 20px; background: #ffffff; box-shadow: var(--cr-edge), 0 6px 18px rgba(37, 0, 28, 0.04); }
.cr-faq__item dt { font-size: 16px; line-height: 1.35; font-weight: 700; }
.cr-faq__item dd { font-size: 14.5px; line-height: 1.6; color: var(--pi-text); }

/* ---------- Postúlate ---------- */
.cr-apply { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px 56px; align-items: start; }
.cr-apply__copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cr-apply__lead { max-width: 520px; font-size: 18px; line-height: 1.55; color: var(--pi-muted); }
.cr-page .cr-apply__nubii { width: 220px; max-width: 60%; height: auto; margin-top: 8px; }
.cr-form { display: flex; flex-direction: column; gap: 18px; padding: 32px 28px; border-radius: 24px; background: #ffffff; box-shadow: 0 10px 24px rgba(37, 0, 28, 0.10); min-width: 0; }
.cr-form__alert { padding: 10px 14px; border-radius: 12px; background: var(--cr-red-soft); color: var(--cr-red); font-size: 14px; font-weight: 600; }
.cr-field { display: flex; flex-direction: column; gap: 6px; }
.cr-field label { font-size: 14px; font-weight: 600; }
.cr-field__phone { display: flex; gap: 8px; }
.cr-page .cr-field input:not([type="checkbox"]) { width: 100%; height: 48px; box-sizing: border-box; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--pi-border); background: #ffffff; color: var(--pi-ink); font: inherit; font-size: 16px; }
.cr-page .cr-field__phone input:not([type="checkbox"]) { flex: 1 1 auto; min-width: 0; width: auto; }
.cr-field__prefix { display: inline-flex; align-items: center; flex-shrink: 0; height: 48px; box-sizing: border-box; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--pi-border); font-size: 16px; color: var(--pi-ink); }
.cr-page .cr-field.is-error input:not([type="checkbox"]) { border-color: var(--cr-red); }
.cr-field__error { font-size: 13px; line-height: 1.4; color: var(--cr-red); }
.cr-page .cr-field--check { gap: 4px; }
.cr-page .cr-field .cr-consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--pi-text); cursor: pointer; }
.cr-check { position: relative; display: inline-flex; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; }
.cr-page .cr-check input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cr-check > span { display: inline-flex; width: 22px; height: 22px; box-sizing: border-box; border-radius: 6px; border: 2px solid var(--cr-check); background: #ffffff; align-items: center; justify-content: center; color: #ffffff; transition: background-color 160ms ease, border-color 160ms ease; }
.cr-page .cr-check svg { width: 14px; height: 14px; stroke-width: 3.2; opacity: 0; transition: opacity 120ms ease; }
.cr-check input:checked + span { background: var(--pi-pink); border-color: var(--pi-pink); }
.cr-check input:checked + span svg { opacity: 1; }
.cr-check input:focus-visible + span { outline: 3px solid var(--pi-pink); outline-offset: 2px; }
.cr-field.is-error .cr-check > span { border-color: var(--cr-red); }
.cr-page .cr-form__submit svg { width: 18px; height: 18px; }
.cr-form__help { text-align: center; font-size: 14px; line-height: 1.5; color: var(--pi-muted); }
.cr-form--done { align-items: flex-start; gap: 14px; }
.cr-form--done .cr-form__help { text-align: left; }
.cr-form__done-icon { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; background: var(--cr-green-soft); color: var(--pi-green); align-items: center; justify-content: center; }
.cr-page .cr-form__done-icon svg { width: 24px; height: 24px; stroke-width: 2.6; }

/* ---------- Cierre: la banda pi-closing con las medidas del lienzo ---------- */
.cr-page .cr-closing .pi-h2 { --type-size: clamp(28px, 3vw, 42px); --type-leading: 1.12; max-width: 640px; }
.cr-closing .pi-closing__inner > p { max-width: 520px; line-height: 1.6; }
.cr-page .cr-closing .pi-closing__nubii { opacity: 1; }

/* ---------- Cortes del lienzo ---------- */
@media (max-width: 1000px) {
  .cr-lift { box-sizing: border-box; }
  .cr-steps__line, .cr-route__bar { display: none; }
  .cr-roles__duo { order: -1; flex-basis: 100%; }
}
@media (max-width: 767px) {
  .cr-pay__line, .cr-video__handle, .cr-copy__text { display: none; }
  .cr-page .cr-copy { min-width: 44px; padding: 0 12px; }
  .cr-url-field__text { font-size: 14px; white-space: normal; overflow-wrap: anywhere; }
  /* El cierre en el celular es el del lienzo, no el compacto de `pi-closing`: Nubii abajo al
   * centro, la misma esquina de 48 px y el botón a su ancho. */
  .cr-closing .pi-closing__band { border-radius: 48px 48px 0 0; }
  .cr-page .cr-closing .pi-closing__inner { padding: 80px 24px 150px; gap: 18px; }
  .cr-page .cr-closing .pi-closing__nubii { display: block; width: 120px; right: 50%; margin-right: -60px; }
  .cr-closing .pi-closing__inner > p { font-size: 16px; }
  .cr-closing .pi-closing__actions { flex-direction: row; width: auto; }
  .cr-closing .pi-closing__actions .pi-btn { width: auto; }
}
@media (max-width: 600px) {
  .cr-hero__art, .cr-apply__nubii { display: none; }
  /* Cada fila conserva su propio espacio (12, 10 y 8 px): en el lienzo el `gap` en línea de cada paso le gana
   * al de la regla del celular, y eso es lo que se aprobó. */
  .cr-step-li, .cr-road-li, .cr-pay-li { display: grid; align-items: start; position: relative; }
  .cr-step-li { grid-template-columns: 48px 1fr; }
  .cr-road-li { grid-template-columns: 22px 1fr; }
  .cr-pay-li { grid-template-columns: 44px 1fr; }
  .cr-step-li > *, .cr-road-li > *, .cr-pay-li > * { grid-column: 2; justify-self: start; }
  .cr-step-li > :first-child, .cr-road-li > :first-child, .cr-pay-li > :first-child { grid-column: 1; grid-row: 1 / span 4; }
  .cr-step-li > .cr-step__dot { width: 48px; height: 48px; }
  .cr-page .cr-step-li > .cr-step__dot svg { width: 22px; height: 22px; }
  .cr-step-li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 56px; bottom: -18px; border-left: 2px dashed var(--pi-pink-dash); }
  .cr-road-li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 28px; bottom: -20px; border-left: 2px dashed var(--pi-pink-dash); }
  .cr-pay-li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: -14px; border-left: 2px dashed var(--pi-pink-dash); }
}

/* Con «reducir movimiento» nada flota ni se desliza: la página se lee completa y quieta. */
@media (prefers-reduced-motion: reduce) {
  .cr-float, .cr-float-b, .cr-float-c { animation: none; }
  .cr-page :is(.cr-lift, .cr-tier, .cr-tier__bar, .cr-video, .cr-copy, .cr-tab, .cr-count__options a, .cr-check > span, .cr-check svg) { transition: none; }
  .cr-page .cr-lift:hover, .cr-page .cr-tier:hover .cr-tier__bar, .cr-page :is(.cr-tier, .cr-tab, .cr-copy, .cr-count__options a):active { transform: none; }
  .cr-page .cr-video:hover { transform: none; }
  .cr-page .cr-video--left:hover { transform: rotate(-5deg) translateY(10px); }
  .cr-page .cr-video--center:hover { transform: translateY(-6px); }
  .cr-page .cr-video--right:hover { transform: rotate(5deg) translateY(10px); }
}

/* La página caducó (sesión vencida): el filtro CSRF regresa arriba de la página, así que el aviso va ahí. */
.cr-expired-wrap { padding-top: 16px; }
.cr-expired { padding: 12px 16px; border-radius: 12px; background: var(--cr-red-soft); color: var(--cr-red); font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.cr-page .cr-expired .cr-link { color: var(--cr-red); }

/*
 * /sobre-mancii: historia, fundadores y misión (rediseño del lienzo v19, 2026-11-29). Prefijo sm-.
 * Solo la carga el juego `about`, que suma antes `tail-b2b-landing.css` (tokens --pi-*, `pi-btn`,
 * `pi-closing`) y `tail-creators.css` (el andamiaje de las páginas del lienzo: `cr-wrap`, fondos,
 * títulos, `cr-lift`, las preguntas frecuentes y el cierre). Aquí va solo lo de esta página.
 *
 * Calco del lienzo (escritorio 1440; 768 y 390 son la misma página, la copia de medición está en
 * `writable/diseno-sobre/copia-medicion`). Cada medida es la del estilo en línea del lienzo y los
 * cortes son los suyos: 1000, 900, 760 (aquí 767) y 600 px. Hover solo con puntero; con
 * `prefers-reduced-motion` nada se mueve (al final).
 */

/* ---------- Andamiaje propio ---------- */
.sm-pad { padding-top: 96px; padding-bottom: 96px; }
.sm-stack--48 { gap: 48px; }
.sm-stack--56 { gap: 56px; }
.sm-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.sm-head .cr-sub { max-width: 680px; }
.sm-bg--history { background: linear-gradient(180deg, #ffffff 70%, var(--pi-pink-soft) 100%); }
.cr-page main :is(.sm-h3--press, .sm-today__title) { text-wrap: balance; }
.cr-page main .sm-h3--26 { --type-size: 26px; --type-leading: 1.2; letter-spacing: -0.01em !important; }
.cr-page main .sm-h3--press { --type-size: 20px; --type-leading: 1.35; }
.sm-dot { display: inline-flex; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: #ffffff; box-shadow: inset 0 0 0 1.5px var(--pi-pink-dash); color: var(--pi-pink-ink); align-items: center; justify-content: center; }
.cr-page .sm-dot svg { width: 20px; height: 20px; }
.sm-dot--sm { width: 36px; height: 36px; }
.cr-page .sm-dot--sm svg { width: 17px; height: 17px; }
.sm-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--pi-pink-soft); box-shadow: inset 0 0 0 1px var(--cr-tag-ring); font-size: 12.5px; font-weight: 600; color: var(--pi-pink-deep); }
.cr-page .sm-chip svg { width: 13px; height: 13px; }

/* El enlace de la página: en tinta, subrayado y con flecha que se mueve al pasar el cursor. */
.cr-page .sm-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--pi-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; transition: text-decoration-color 160ms ease, color 160ms ease; }
.cr-page .sm-link svg { width: 16px; height: 16px; stroke-width: 2.2; transition: transform 200ms var(--pi-ease); }
.cr-page .sm-link--light { margin-top: 2px; color: #ffffff; }
@media (hover: hover) {
  .cr-page .sm-link:hover { color: var(--pi-ink); text-decoration-color: var(--pi-pink); }
  .cr-page .sm-link:hover svg { transform: translate(2px, -2px); }
  .cr-page .sm-link--light:hover { color: #ffffff; }
}
.cr-page .sm-link:focus-visible { outline: 3px solid var(--pi-pink); outline-offset: 3px; border-radius: 6px; }

/* ---------- Portada ---------- */
.sm-hero__wrap { display: flex; flex-direction: column; gap: 56px; padding-top: 64px; padding-bottom: 88px; }
.sm-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px 56px; align-items: center; }
.sm-hero__copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.cr-page .sm-hero__title { --type-size: clamp(36px, 4.2vw, 58px); --type-leading: 1.08; --type-weight: 700; letter-spacing: -0.035em !important; color: var(--pi-ink); text-wrap: balance; }
.sm-hero__title > span { color: var(--pi-pink); }
.sm-hero__lead { max-width: 560px; font-size: 19px; line-height: 1.55; color: var(--pi-muted); }
.sm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sm-hero__note { display: flex; align-items: center; gap: 8px; font-size: 14.5px; line-height: 1.5; color: var(--pi-muted); }
.sm-hero__note > span { display: inline-flex; color: var(--pi-pink-ink); }
.cr-page .sm-hero__note svg { width: 17px; height: 17px; stroke-width: 2.4; }

/* El collage: decorativo, todo en porcentajes de su caja (580 × 560). */
.sm-collage { position: relative; justify-self: center; width: 100%; max-width: 580px; aspect-ratio: 580 / 560; }
.sm-collage__outline { position: absolute; left: 25%; top: 27%; width: 58%; height: 69%; border-radius: 40px; box-shadow: inset 0 0 0 1.5px var(--pi-plum); transform: rotate(6deg); }
.sm-collage__arch { position: absolute; left: 19%; top: 24%; width: 64%; height: 73%; border-radius: 999px 999px 40px 40px; background-color: var(--cr-disc); background-image: linear-gradient(rgba(224, 0, 125, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(224, 0, 125, 0.09) 1px, transparent 1px); background-size: 28px 28px; transform: rotate(-3deg); }
.cr-page .sm-collage__people { position: absolute; left: 21%; bottom: 3%; width: 60%; height: auto; z-index: 2; filter: drop-shadow(0 18px 22px rgba(37, 0, 28, 0.16)); }
.sm-collage__arrow { position: absolute; left: 6%; top: 44%; width: 16%; z-index: 3; color: var(--pi-pink); }
.sm-spark { position: absolute; z-index: 3; color: var(--pi-pink); }
.sm-spark--a { right: 12%; top: 3%; width: 38px; height: 38px; }
.sm-spark--b { left: 36%; top: 2%; width: 22px; height: 22px; }
.sm-spark--c { right: 3%; bottom: 14%; width: 26px; height: 26px; }
.cr-page .sm-collage__nubii { position: absolute; left: 1%; bottom: 1%; width: 19%; height: auto; z-index: 3; }

/* Las polaroids guardan su ángulo en --rot; al pasar el cursor se enderezan. La nota va con Caveat (la
 * del lienzo) y, mientras no esté alojada, con la letra a mano del sistema que más se le parece. */
.sm-polaroid { position: absolute; z-index: 3; box-sizing: content-box; margin: 0; padding: 8px 8px 0; background: #ffffff; border-radius: 6px; box-shadow: var(--cr-edge), 0 14px 30px rgba(37, 0, 28, 0.16); transform: rotate(var(--rot)); transition: transform 260ms var(--pi-ease), box-shadow 260ms var(--pi-ease); }
.sm-polaroid--a { --rot: -8deg; left: 0; top: 4%; width: 25%; }
.sm-polaroid--b { --rot: 7deg; right: 0; top: 34%; width: 24%; }
.sm-polaroid__tape { position: absolute; left: 50%; top: -11px; width: 66px; height: 22px; margin-left: -33px; background: rgba(240, 139, 192, 0.55); transform: rotate(-4deg); }
.cr-page .sm-polaroid img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 40%; border-radius: 3px; }
.sm-polaroid figcaption { padding: 8px 2px 10px; font-family: Caveat, 'Bradley Hand', 'Segoe Print', Noteworthy, cursive; font-size: 23px; font-weight: 600; line-height: 1; text-align: center; white-space: nowrap; color: var(--pi-ink); }
@media (hover: hover) {
  .sm-polaroid:hover { transform: rotate(0deg) scale(1.04); box-shadow: var(--cr-edge), 0 20px 40px rgba(37, 0, 28, 0.2); }
}
/* Al entrar (la aparición del sitio, `data-site-reveal` + `mancii-sitio.js`), cada polaroid gira poco hasta su
 * ángulo: el giro va en `rotate` y la subida en `translate`, así que se suman al `transform` del hover. */
@keyframes sm-settle { from { opacity: 0; translate: 0 16px; rotate: var(--from); } }
.sm-polaroid--a { --from: -6deg; }
.sm-polaroid--b { --from: 6deg; }
.site--motion .sm-polaroid[data-site-reveal].is-in { animation-name: sm-settle; animation-duration: 0.5s; }

/* Las cuatro cifras. */
.sm-stats { align-self: stretch; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 0; }
.sm-stats li { display: flex; flex-direction: column; gap: 6px; padding: 4px 28px; border-left: 1.5px solid var(--pi-pink-dash); }
/* Todas las cifras llevan su línea a la izquierda, también la primera: así se ve en el lienzo aprobado (allí
 * el estilo en línea le gana a la regla que se la quitaba). */
.sm-stats__num { font-size: clamp(28px, 2.7vw, 40px); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; color: var(--pi-plum); }
.sm-stats li > span { font-size: 14.5px; line-height: 1.45; color: var(--pi-muted); }

/* ---------- Qué es Mancii y a quién ayuda ---------- */
.sm-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 0; margin-left: -28px; }
.sm-col { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 0 28px; border-left: 1.5px solid var(--pi-pink-dash); }
.sm-col__copy { display: flex; flex-direction: column; gap: 12px; }
.sm-col__who { display: flex; align-items: center; gap: 12px; }
.sm-col__who > span:last-child { font-size: 14px; font-weight: 600; color: var(--pi-pink-deep); }
.sm-sample { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 18px; background: #ffffff; box-shadow: inset 0 0 0 1px var(--cr-tier-ring); }
.sm-sample__top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--pi-muted-2); }
.sm-sample__top > span { color: var(--pi-pink-deep); }
.sm-sample__note { font-size: 13px; color: var(--pi-text); }
.sm-sample__note b { color: var(--pi-ink); }
.sm-meter { display: flex; flex-direction: column; gap: 8px; }
.sm-meter li { display: grid; grid-template-columns: 92px 1fr 38px; align-items: center; gap: 10px; font-size: 13px; color: var(--pi-text); }
.sm-meter--careers li { grid-template-columns: 1fr 70px 28px; }
.sm-meter li > span:first-child { font-weight: 600; }
.sm-meter li > b { font-weight: 600; text-align: right; color: var(--pi-plum); }
.sm-bar { position: relative; height: 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--pi-pink-dash); overflow: hidden; }
.sm-bar > span { position: absolute; left: 3px; top: 3px; bottom: 3px; width: calc(var(--w) - 6px); border-radius: 999px; background: var(--cr-ramp-1); }
.sm-seats { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.sm-seats > span { display: block; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--cr-rose); }
.sm-seats > .is-on { background: var(--cr-disc); box-shadow: inset 0 0 0 1.5px var(--pi-pink); }
.sm-institutions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 28px; border-top: 1.5px dashed var(--pi-pink-dash); }
.sm-institutions p { flex: 1 1 380px; max-width: 640px; font-size: 16.5px; line-height: 1.55; color: var(--pi-text); }
.sm-institutions b { color: var(--pi-ink); }

/* ---------- Misión ---------- */
.sm-mission { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; padding-top: 24px; padding-bottom: 72px; }
.cr-page .sm-mission__photo { flex: 1 1 440px; min-width: 0; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 32px; }
.sm-mission__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.sm-mission__quote { display: inline-flex; color: var(--pi-pink); }
.cr-page .sm-mission__quote svg { width: 40px; height: 40px; stroke-width: 1.5; }
.cr-page .sm-h2--mission { --type-size: clamp(26px, 2.6vw, 36px); --type-leading: 1.25; }
.sm-h2--mission > span { color: var(--pi-pink-ink); }
.sm-mission__copy > p { max-width: 560px; font-size: 17px; line-height: 1.6; color: var(--pi-muted); }

/* ---------- Historia ---------- */
.sm-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: start; }
.sm-sticky { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 16px; }
.cr-page .sm-sticky__text { max-width: 460px; }
.sm-years { display: flex; flex-direction: column; }
.sm-year { display: grid; grid-template-columns: 170px 1fr; gap: 8px 32px; align-items: start; padding: 28px 0; border-top: 1.5px solid var(--cr-ring); }
.sm-year:last-child { border-bottom: 1.5px solid var(--cr-ring); }
.sm-year__num { font-size: 64px; line-height: 0.9; font-weight: 700; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--pi-pink); transition: color 260ms ease; }
.sm-year--now .sm-year__num { -webkit-text-stroke-color: var(--pi-plum); }
@media (hover: hover) {
  .sm-year:hover .sm-year__num { color: var(--cr-disc); }
}
.sm-year__copy { display: flex; flex-direction: column; gap: 6px; }
.sm-year__copy > p { max-width: 560px; font-size: 16px; line-height: 1.6; color: var(--pi-text); }
.sm-year__copy > div { margin-top: 2px; }

/* «Hoy, en dos países». Sin JS se ven los dos, cada uno con su nombre; con las pestañas, el nombre sobra. */
.sm-today { display: flex; flex-wrap: wrap; gap: 28px 56px; padding: 36px; border-radius: 32px; background: var(--pi-pink-soft); }
.sm-today__intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cr-page main .sm-today__title { --type-size: 26px; --type-leading: 1.2; --type-weight: 700; letter-spacing: -0.01em !important; color: var(--pi-ink); }
.sm-today__intro > p { font-size: 15.5px; line-height: 1.55; color: var(--pi-muted); }
.sm-tabs { display: inline-flex; align-self: flex-start; padding: 4px; border-radius: 14px; background: #ffffff; box-shadow: inset 0 0 0 1px var(--cr-tag-ring); }
.sm-tabs[hidden] { display: none; }
.cr-page .sm-tab { display: inline-flex; align-items: center; width: auto; height: auto; min-height: 44px; margin: 0; padding: 0 20px; border: 0; border-radius: 10px; background: transparent; color: var(--pi-muted); box-shadow: none; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform 160ms var(--pi-ease), background-color 160ms ease, color 160ms ease, box-shadow 160ms ease; }
.cr-page .sm-tab:active { transform: scale(0.97); }
.cr-page .sm-tab[aria-selected="true"] { background: var(--pi-pink-soft); color: var(--pi-pink-ink); box-shadow: inset 0 0 0 1.5px var(--pi-pink-dash); }
.sm-today__panels { flex: 1.4 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.sm-country { display: flex; flex-direction: column; gap: 18px; }
.sm-country[hidden] { display: none; }
.sm-country__name { font-size: 17px; font-weight: 700; color: var(--pi-ink); }
.sm-today:has(.sm-tabs:not([hidden])) .sm-country__name { display: none; }
.sm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-country__list { display: flex; flex-direction: column; gap: 12px; }
.sm-country__list li { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--pi-text); }
.sm-country__logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.sm-country__logos > span { display: inline-flex; align-items: center; justify-content: center; height: 64px; border-radius: 14px; background: #ffffff; box-shadow: inset 0 0 0 1px var(--cr-tier-ring); }
.cr-page .sm-country__logos img { display: block; max-width: 70px; max-height: 48px; width: auto; height: auto; }
.sm-updated { margin-top: -32px; font-size: 13px; color: var(--pi-muted-2); }

/* ---------- Fundadores ---------- */
.sm-founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
.sm-founder { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px 28px; align-items: start; min-width: 0; }
.cr-page .sm-founder__photo { display: block; width: 200px; height: 200px; object-fit: cover; border-radius: 24px; background: #ffffff; box-shadow: 0 0 0 1.5px var(--cr-ring); }
.sm-founder__copy { display: flex; flex-direction: column; gap: 10px; }
.sm-founder__role { font-size: 16px; font-weight: 600; color: var(--pi-pink-deep); }
.sm-founder__bio { margin-top: 4px; max-width: 540px; font-size: 16px; line-height: 1.6; color: var(--pi-text); }
.sm-founder__facts { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: 'Poppins 500', var(--mancii-font-name, Poppins), system-ui, sans-serif; font-size: 14.5px; font-weight: 500; color: var(--pi-text); }
.sm-founder__facts li { display: flex; align-items: center; gap: 8px; }
.sm-founder__facts li > span { display: inline-flex; color: var(--pi-pink-ink); }
.cr-page .sm-founder__facts svg { width: 16px; height: 16px; }

/* ---------- Prensa y eventos ---------- */
.sm-press { border-bottom: 1.5px solid var(--cr-ring); }
.sm-press__row { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 8px 40px; align-items: start; padding: 28px 0; border-top: 1.5px solid var(--cr-ring); }
.sm-press__source { display: flex; flex-direction: column; gap: 4px; }
.sm-press__source b { font-size: 15px; color: var(--pi-plum); }
.sm-press__source span { font-size: 14px; color: var(--pi-muted-2); }
.sm-press__copy { display: flex; flex-direction: column; gap: 6px; }
.sm-press__copy > p { max-width: 620px; font-size: 15px; line-height: 1.55; color: var(--pi-muted); }
.sm-events { display: flex; flex-direction: column; gap: 24px; }
.sm-events__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px 40px; max-width: 880px; }
.sm-events__list > li { display: flex; gap: 18px; align-items: flex-start; min-width: 0; }
.sm-cal { display: flex; flex-direction: column; flex-shrink: 0; width: 76px; border-radius: 16px; overflow: hidden; background: #ffffff; box-shadow: inset 0 0 0 1.5px var(--pi-pink-dash); text-align: center; }
.sm-cal__year { display: block; padding: 5px 0; border-bottom: 1.5px dashed var(--pi-pink-dash); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: var(--pi-pink-ink); }
.sm-cal__day { display: flex; box-sizing: content-box; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 4px 0 8px; }
.sm-cal__day > span { font-size: 12px; font-weight: 600; color: var(--pi-muted-2); }
.sm-cal__day > b { font-size: 22px; line-height: 1.1; color: var(--pi-ink); }
.sm-events__copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sm-events__copy > b { font-size: 17px; line-height: 1.3; color: var(--pi-ink); }
.sm-events__place { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--pi-muted-2); }
.sm-events__place > span { display: inline-flex; color: var(--pi-pink-ink); }
.cr-page .sm-events__place svg { width: 13px; height: 13px; }
.sm-events__text { font-size: 14.5px; line-height: 1.5; color: var(--pi-text); }

/* ---------- Respaldo ---------- */
.sm-trio { display: flex; flex-wrap: wrap; gap: 16px; }
.sm-backer { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 26px 24px; border-radius: 26px; background: #ffffff; box-shadow: inset 0 0 0 1.5px var(--cr-ring), 0 10px 24px rgba(37, 0, 28, 0.05); }
.sm-backer__copy { display: flex; flex-direction: column; gap: 14px; }
.sm-backer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sm-backer__copy > p { font-size: 15px; line-height: 1.55; color: var(--pi-text); }
.sm-backer__stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding-top: 16px; border-top: 2px dashed var(--pi-pink-dash); }
.sm-backer__stat b { font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; color: var(--pi-plum); }
.sm-backer__stat span { font-family: 'Poppins 500', var(--mancii-font-name, Poppins), system-ui, sans-serif; font-size: 13px; font-weight: 500; color: var(--pi-muted-2); }
.sm-rail-wrap { display: flex; flex-direction: column; gap: 16px; }
.sm-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.sm-rail > li { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 12px 12px; border-radius: 18px; background: #ffffff; box-shadow: inset 0 0 0 1.5px var(--cr-ring); }
.sm-rail__logo { display: flex; align-items: center; justify-content: center; height: 72px; }
.cr-page .sm-rail__logo img { display: block; max-width: 96px; max-height: 72px; width: auto; height: auto; }
.sm-rail__name { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.cr-page .sm-rail__name b { font-size: 12.5px; line-height: 1.3; font-weight: 600; color: var(--pi-ink); }
.sm-rail__name span { font-size: 12px; color: var(--pi-muted-2); }
/* Aquí las tarjetas suben con el borde rosa (el del lienzo de esta página), no con el de /creadores. */
@media (hover: hover) {
  .cr-page .sm-backer.cr-lift:hover, .cr-page .sm-rail > li.cr-lift:hover { box-shadow: inset 0 0 0 1.5px var(--pi-pink-dash), 0 18px 36px rgba(37, 0, 28, 0.12); }
}

/* ---------- Cierre (la banda de /creadores con dos botones y un enlace) ---------- */
.sm-page .cr-closing .pi-closing__inner > p { max-width: 560px; }
.cr-page .sm-btn--on-dark { box-shadow: inset 0 0 0 1.5px #ffffff; }

/* ---------- Cortes del lienzo ---------- */
@media (max-width: 1000px) {
  .sm-hero__grid { grid-template-columns: 1fr; }
  .sm-collage { max-width: 520px; }
  .sm-founders { grid-template-columns: 1fr; row-gap: 40px; }
  .sm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .sm-cols { grid-template-columns: 1fr; margin-left: 0; row-gap: 0; }
  .sm-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 32px 0; border-left: 0; border-top: 1.5px solid var(--pi-pink-dash); }
  .sm-col:first-child { border-top: 0; padding-top: 0; }
  .sm-split { grid-template-columns: 1fr; }
  .sm-sticky { position: static; }
  .sm-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cr-page .sm-mission__photo { flex-basis: 100%; }
}
@media (max-width: 1000px) and (min-width: 601px) {
  .sm-trio > * { flex-basis: 100%; }
  .sm-backer { flex-direction: row; align-items: center; gap: 28px; }
  .sm-backer > * { flex: 1 1 0; min-width: 0; }
  .sm-backer .sm-backer__stat { box-sizing: content-box; flex: 0 0 190px; flex-direction: column; align-items: flex-start; padding: 4px 0 4px 24px; border-top: 0; border-left: 2px dashed var(--pi-pink-dash); }
}
@media (max-width: 900px) {
  .sm-press__row { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 600px) {
  .sm-polaroid { padding: 5px 5px 0; }
  .sm-polaroid figcaption { font-size: 17px; padding: 6px 2px 8px; }
  .sm-founder { grid-template-columns: 1fr; }
  .cr-page .sm-founder__photo { width: 160px; height: 160px; }
  .sm-stats li { padding: 0 0 0 16px; }
  .sm-stats li:nth-child(odd) { padding-left: 0; }
  .sm-stats__num { font-size: 24px; }
  .sm-col { grid-template-columns: 1fr; }
  .sm-year { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .sm-year__num { font-size: 48px; }
  .sm-today { padding: 24px 20px; border-radius: 24px; }
  .sm-rail { gap: 8px; }
  .sm-rail > li { padding: 10px 4px 8px; gap: 6px; }
  .sm-rail__logo { height: 48px; }
  .cr-page .sm-rail__logo img { max-width: 56px; max-height: 48px; }
}

/* Con «reducir movimiento» nada se mueve: ni la polaroid al pasar el cursor, ni el año, ni la flecha. */
@media (prefers-reduced-motion: reduce) {
  .cr-page :is(.sm-polaroid, .sm-link, .sm-link svg, .sm-year__num, .sm-tab) { transition: none; }
  .sm-polaroid:hover { transform: rotate(var(--rot)); }
  .cr-page .sm-link:hover svg, .cr-page .sm-tab:active { transform: none; }
}
