/* suite.css: la marca de La Suite en el portal, en las dos (equipo y comercial, desde el
   19-10). La cargan de origen login, panel, Formación y guía; en la comercial, el paso 2g
   la añade también a Tu cuenta. Las pantallas del paciente no la cargan. Brand kit v2 de La Suite (18-10):
   projects/lanzamientos/2026-11-suite/branding/brand-kit-v2.html */
@font-face {
  font-family: "BW Quinta Pro";
  src: url("/shared/BwQuintaPro-Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
:root {
  --suite-mantequilla: #F3EDB4;
  --suite-tinta: #1B2333;
  --suite-cuerpo: #3E4656;
  --suite-porcelana: #F4F6FA;
  --suite-tesela: 22.5%;
  --suite-grad: linear-gradient(135deg, #2E4C91 0%, #3577C0 55%, #36A9E1 100%);
  --lz-bg: var(--suite-porcelana);
}
body:not(.suite-login) { background: var(--suite-porcelana); }
/* Lo que era de la madre en el cromo del portal se queda fuera: la Suite se reconoce
   por la tesela y su mantequilla, no por el hexágono de agua, el filo celeste bajo
   la cabecera ni la banda «Instituto Lanzas» del pie (el logo ya lo dice). */
body:not(.suite-login)::after { display: none; }
body:not(.suite-login) header { border-bottom: 0; }
body:not(.suite-login) .band { display: none; }

/* 1. El nombre, firmado en Medium y apretado (kit, paso 5) */
header .title { font-weight: 500; font-size: 17px; letter-spacing: -.03em; }
@media (max-width: 900px) {
  header .sep, header .title { display: block; }
}
.marca .suite-nombre {
  font-family: var(--lz-font-display);
  font-weight: 500;
  font-size: 34px;
  line-height: .95;
  letter-spacing: -.045em;
  color: #fff;
}

/* 1b. La cuenta, en un boton con las iniciales (Mobbin: Workable, menu de la cuenta
       https://mobbin.com/screens/c4f60557-0908-4777-b4a5-9c9dd033db2c). Las pestanas
       quedan para el trabajo (Herramientas, Formacion); Tu cuenta y Salir viven en
       el menu, que monta /shared/suite-cuenta.js. Sin flechas ni iconos: palabras. */
nav.secciones a[href="/marca"] { display: none; }
header .who { position: relative; gap: 0; }
header .who .cuenta-boton {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 4px 16px 4px 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .18s ease, transform .16s cubic-bezier(.23, 1, .32, 1);
}
header .who .cuenta-boton #who { color: #fff; max-width: 200px; }
header .who .cuenta-iniciales {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #2E4C91;
  font-family: var(--lz-font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .02em;
}
@media (hover: hover) and (pointer: fine) {
  header .who .cuenta-boton:hover { background: rgba(255, 255, 255, .18); }
}
header .who .cuenta-boton:active { transform: scale(.97); }
header .who .cuenta-boton[aria-expanded="true"] { background: rgba(255, 255, 255, .22); }
/* En Tu cuenta el boton hace de pestana activa: blanco con el texto azul, como
   la pestana marcada de la izquierda. */
header .who .cuenta-boton[data-actual],
header .who .cuenta-boton[data-actual]:hover { background: #fff; box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .25); }
header .who .cuenta-boton[data-actual] #who { color: #2E4C91; }
header .who .cuenta-boton[data-actual] .cuenta-iniciales { background: #2E4C91; color: #fff; }
header .who .cuenta-boton:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

header .who .cuenta-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 20;
  width: 264px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  color: var(--suite-tinta);
  box-shadow: 0 24px 48px -16px rgba(12, 23, 48, .35), 0 0 0 1px rgba(12, 23, 48, .06);
  transform-origin: top right;
  opacity: 0;
  transform: scale(.97) translateY(-4px);
  transition: opacity .16s cubic-bezier(.23, 1, .32, 1), transform .16s cubic-bezier(.23, 1, .32, 1);
}
header .who .cuenta-menu.abierto { opacity: 1; transform: none; }
header .who .cuenta-menu[hidden] { display: none; }
header .who .cuenta-cab {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid #E6EAF1;
  min-width: 0;
}
header .who .cuenta-cab strong {
  font-family: var(--lz-font-display);
  font-weight: 500;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
header .who .cuenta-cab span { color: var(--suite-cuerpo); font-size: 13px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
header .who .cuenta-menu a.cuenta-item {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--suite-tinta);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .15s ease;
}
header .who .cuenta-menu a.cuenta-item[aria-current="page"] { color: #2E4C91; }
@media (hover: hover) and (pointer: fine) {
  header .who .cuenta-menu a.cuenta-item:hover { background: var(--suite-porcelana); border: 0; color: var(--suite-tinta); }
}
header .who .cuenta-menu a.cuenta-item:focus-visible { outline: 0; background: var(--suite-porcelana); box-shadow: inset 0 0 0 2px #2E4C91; }
header .who .cuenta-menu a.cuenta-item:active { transform: none; background: #E9EDF4; }
@media (max-width: 640px) {
  header .who .cuenta-boton { padding: 6px; }
}
/* Con el dedo, todo lo de la barra a 44 px de alto */
@media (pointer: coarse) {
  header .who .cuenta-boton { height: 44px; padding-top: 6px; padding-bottom: 6px; padding-left: 6px; }
  nav.secciones a { padding-top: 15px; padding-bottom: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  header .who .cuenta-menu { transform: none; transition: opacity .12s ease; }
}

/* 2. Titulares en Light, grandes y con aire, como la madre; los de tarjeta en Medium */
.hello h1, .guia-top h1 {
  font-weight: 300;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -.026em;
  color: var(--suite-tinta);
}
@media (max-width: 640px) {
  .hello h1, .guia-top h1 { font-size: 29px; }
}
.panel h1, .bloque-top h2, .paso-top h2, .faq h2 {
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--suite-tinta);
}
.tool h2 { font-weight: 500; letter-spacing: -.01em; }

/* 3. Antetítulos: solo si informan, Lato Bold sin mayúsculas, en azul */
.guia-top .eyebrow, .bloque-top .cuenta, .indice .et,
.paraque .et, nav.otras .et, .figura-cab, .tira .figura.movil .figura-cab {
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--lz-deep, #2E4C91);
}

/* La etiqueta de la vista previa de Tu marca, como los demás antetítulos */
.lz-eyebrow { font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--lz-deep, #2E4C91); }

/* Etiquetas de campo de Tu marca: como las del login, sin mayúsculas */
.campo label, .campo .rotulo { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--suite-tinta); }

/* 4. El panel es el tablero del kit (Mobbin: Webflow, apps destacadas
      https://mobbin.com/sites/sections/4db83ddd-f7c4-4c70-b8f0-4113ca28a2aa):
      cada herramienta es una carta azul (todo lo que se pulsa es azul) con su tesela
      blanca inclinada 8 grados, como en el login y en el grafico. La tarjeta entera
      es el enlace: sin boton «Abrir» ni chevron. */
.hello h1 { margin: 0 0 8px; }
.hello .lz-rule { margin-bottom: 40px; }
/* Sin filete debajo (Tu cuenta): el titulo guarda el mismo aire hasta el contenido. */
.hello h1:last-child { margin-bottom: 40px; }
.grid { gap: 16px; }
.tool {
  justify-content: space-between;
  gap: 24px;
  min-height: 280px;
  padding: 24px;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(165deg, #3577C0 0%, #2E4C91 62%);
  color: #fff;
  box-shadow: none;
  transition: transform .16s cubic-bezier(.23, 1, .32, 1);
}
.tool::before, .tool .go, .tool .chev { display: none !important; }
.tool .txt { flex: none; }
.tool h2 { color: #fff; font-size: 20px; line-height: 1.2; margin: 0 0 8px; }
.tool p { color: rgba(255, 255, 255, .8); margin: 0; }
.tool .glyph {
  width: 88px;
  height: 88px;
  border-radius: var(--suite-tesela);
  background: #fff;
  color: #2E4C91;
  transform: rotate(-8deg);
  box-shadow: 0 24px 40px -22px rgba(12, 23, 48, .6);
  transition: transform .24s cubic-bezier(.23, 1, .32, 1);
}
.tool .glyph svg { width: 54%; height: 54%; }
/* Al pasar por encima la tesela se endereza y se levanta un poco: dice cual
   se va a abrir. La carta no se mueve; al pulsar, se hunde. */
@media (hover: hover) and (pointer: fine) {
  .tool:hover { transform: none; box-shadow: none; color: #fff; }
  .tool:hover .glyph { background: #fff; transform: translateY(-4px) rotate(-3deg); }
}
.tool:active { transform: scale(.98); }
.tool:focus-visible { outline: 3px solid #2E4C91; outline-offset: 3px; }
.tool:focus-visible .glyph { transform: translateY(-4px) rotate(-3deg); }

/* Con la carta del Biograma abierta, su fila «Próximamente» sobra: no puede
   salir disponible y por llegar a la vez. */
.grid:has(> #tool-linea:not([style*="none"])) ~ .soon { display: none; }

/* La del Biograma, cuando la cuenta la tiene: a todo el ancho y en una fila */
#tool-linea { min-height: 0; }
@media (min-width: 901px) {
  #tool-linea { flex-direction: row; align-items: center; justify-content: flex-start; padding: 24px; }
  #tool-linea .glyph { width: 64px; height: 64px; }
  #tool-linea h2 { font-size: 20px; margin: 0 0 8px; }
}

/* 5. Lo que llega: el hueco de la tesela, hundido, y su etiqueta mantequilla
      (la unica marca mantequilla de la pantalla) */
/* La barra es lisa: lo unico hundido es la tesela. Llega la ultima, despues de
   las cuatro cartas: el tablero crece. */
.soon { margin-top: 16px; padding: 16px 24px 16px 16px; gap: 24px; border-radius: 24px; background: #fff; box-shadow: none; animation-delay: .2s; }
.soon .glyph {
  width: 64px;
  height: 64px;
  border-radius: var(--suite-tesela);
  background: rgba(46, 76, 145, .06);
  box-shadow: inset 0 2px 8px rgba(12, 23, 48, .16);
  color: rgba(46, 76, 145, .35);
  transform: rotate(-8deg);
}
.soon .glyph svg { width: 54%; height: 54%; }
.soon h2 { font-weight: 500; color: var(--suite-tinta); }
.soon .chip {
  background: var(--suite-mantequilla);
  color: var(--suite-tinta);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  padding: 8px 12px;
}

/* Tablet y movil: el tablero sigue siendo tablero, en dos columnas */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tool {
    flex-direction: column;
    align-items: flex-start;
    min-height: 232px;
    padding: 20px;
    gap: 16px;
    border-radius: 24px;
    box-shadow: none;
  }
  .tool:active { transform: scale(.98); }
  .tool .glyph { width: 72px; height: 72px; }
  .tool h2 { font-size: 18px; margin: 0 0 8px; }
  .tool p { margin: 0; }
  .hello .lz-rule { margin-bottom: 24px; }
  .hello h1:last-child { margin-bottom: 24px; }
  .soon { margin-top: 12px; padding: 16px; gap: 16px; border-radius: 24px; }
  .soon .glyph { width: 56px; height: 56px; }
}
@media (max-width: 640px) {
  .tool { min-height: 196px; padding: 16px; gap: 12px; border-radius: 20px; }
  .tool .glyph { width: 56px; height: 56px; }
  .tool h2 { font-size: 16px; margin: 0 0 4px; }
  .tool p { font-size: 14px; line-height: 1.4; }
  .hello .lz-rule { margin-bottom: 16px; }
  .hello h1:last-child { margin-bottom: 16px; }
  .soon { border-radius: 20px; }
  .soon .glyph { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .tool, .tool .glyph { transition: none; }
  .tool:hover .glyph { transform: rotate(-8deg); }
}

/* 6. Cuerpo en gris frío (Tu marca queda fuera: su vista previa es la del paciente) */
.grid, .soon, .bloque, .guia { --lz-text: var(--suite-cuerpo); }

/* 7. La puerta de entrada es la portada del kit, partida en dos (Mobbin: Maze, Lovable):
      formulario a la izquierda sobre blanco; a la derecha el panel degradado con el
      tablero de teselas, el hueco de la que viene y la franja mantequilla al pie.
      En el móvil, solo el formulario sobre el degradado y el sello abajo. */
body.suite-login { background: var(--suite-grad); }
.band.suite-sello { background: var(--suite-mantequilla); height: 36px; }
.band.suite-sello span { color: var(--suite-tinta); text-transform: none; letter-spacing: 0; font-size: 13px; }
.marca .suite-logo-color, .suite-tablero { display: none; }
/* El titulo y la alineacion de la tarjeta no cambian con el ancho (escala de ESTILO.md). */
body.suite-login .panel h1 { font-weight: 300; letter-spacing: -.02em; }
body.suite-login form > .aid:not(:first-child) { text-align: left; }
@media (min-width: 860px) {
  body.suite-login {
    background: #fff;
    align-items: flex-start;
    justify-content: center;
    gap: 44px;
    padding: 56px 0 56px max(40px, calc(25vw - 200px));
  }
  body.suite-login .band.suite-sello { display: none; }
  body.suite-login .marca { align-items: flex-start; gap: 18px; width: min(400px, 50vw - 80px); }
  body.suite-login .marca img:not(.suite-logo-color) { display: none; }
  body.suite-login .marca .suite-logo-color { display: block; height: 46px; width: auto; }
  body.suite-login .marca .suite-nombre { color: var(--suite-tinta); font-size: 44px; }
  body.suite-login .panel {
    max-width: min(400px, 50vw - 80px);
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }
  body.suite-login .panel h1 { font-size: 26px; margin-bottom: 24px; }

  .suite-tablero {
    display: block;
    position: fixed;
    top: 16px; right: 16px; bottom: 16px;
    left: 50%;
    border-radius: 28px;
    background: var(--suite-grad);
    overflow: hidden;
    pointer-events: none;
  }
  .suite-tablero .t {
    position: absolute;
    width: 96px;
    height: 96px;
    border-radius: var(--suite-tesela);
    background: #fff;
    color: #2E4C91;
    display: grid;
    place-items: center;
    transform: rotate(-8deg);
    box-shadow: 0 28px 48px -26px rgba(12, 23, 48, .6);
  }
  .suite-tablero .t svg { width: 50px; height: 50px; overflow: visible; }
  .suite-tablero .t1 { left: 20%; top: 22%; }
  .suite-tablero .t2 { left: 50%; top: 16%; }
  .suite-tablero .t3 { left: 32%; top: 47%; }
  .suite-tablero .t4 { left: 62%; top: 41%; }
  .suite-tablero .hueco {
    left: 48%;
    top: 68%;
    background: rgba(12, 23, 48, .16);
    box-shadow: inset 0 2px 8px rgba(12, 23, 48, .28);
  }
  .suite-tablero .franja {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 12px;
    background: var(--suite-mantequilla);
  }
}
/* Movimiento del tablero (login, una vez por sesion): las teselas llegan escalonadas
   y luego flotan despacio, cada una a su ritmo, para que el tablero tenga vida sin
   distraer del formulario. Solo transform y opacity. */
@media (prefers-reduced-motion: no-preference) and (min-width: 860px) {
  .suite-tablero .t {
    animation:
      suiteTesela .7s cubic-bezier(0.23, 1, 0.32, 1) both,
      suiteFlota 7s cubic-bezier(0.77, 0, 0.175, 1) .7s infinite alternate;
  }
  .suite-tablero .t2 { animation-delay: .08s, .78s; animation-duration: .7s, 8.5s; }
  .suite-tablero .t3 { animation-delay: .16s, .86s; animation-duration: .7s, 6.2s; }
  .suite-tablero .t4 { animation-delay: .24s, .94s; animation-duration: .7s, 9s; }
  .suite-tablero .hueco { animation: suiteTesela .7s cubic-bezier(0.23, 1, 0.32, 1) .32s both; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 860px) {
  .suite-tablero .t { animation: suiteAparece .3s ease both; }
}
@keyframes suiteTesela {
  from { opacity: 0; transform: translateY(24px) rotate(-8deg) scale(.94); }
  to { opacity: 1; transform: rotate(-8deg); }
}
@keyframes suiteFlota {
  from { transform: rotate(-8deg); }
  to { transform: translateY(-10px) rotate(-6deg); }
}
@keyframes suiteAparece {
  from { opacity: 0; }
  to { opacity: 1; }
}
