/* ==========================================================================
   Aula Sofía · DISEÑO 2026 (aprobado por Francis el 26/09/2026, ronda 8 «combinada» del laboratorio)
   SIEMPRE modo claro: no hay reglas de modo oscuro a propósito.
   Origen: Laboratorio visual · reglas de diseño de Apple
   Reglas tomadas de GitHub:
     - emilkowalski/skills → skills/apple-design (WWDC traducido a la web)
     - dickwu/apple-design-skill → Human Interface Guidelines (123 páginas)
   Tesis: la interfaz se calla para que hablen Sofía y los simuladores.
   - Letra del sistema (SF en Apple, Segoe en Windows, Roboto en Android).
   - Color de marca SOLO en acciones principales y estados (branding.md).
   - Contenido colorido → interfaz monocroma (color.md).
   - Jerarquía por peso + tamaño + interlineado; tracking negativo en títulos.
   Ronda 08 · COMBINADA: base Apple + las piezas que Francis escogió de otras rondas.
   ========================================================================== */

:root {
  color-scheme: only light; /* "only" = Chrome no la oscurece aunque el celular tenga "oscurecer sitios" */
  /* Superficies */
  --bg: #ffffff;
  --bg-agrupado: #f5f5f7;
  --bg-elevado: #ffffff;
  --relleno: rgba(120, 120, 128, 0.14);
  --relleno-2: rgba(120, 120, 128, 0.08);
  /* Texto */
  --tinta: #1d1d1f;
  --tinta-2: #6e6e73;           /* 5.07:1 sobre blanco */
  --tinta-3: #86868b;           /* solo texto grande o no esencial */
  --separador: rgba(60, 60, 67, 0.18);
  /* Marca: el violeta del logo, sólido. Nunca degradado en la interfaz. */
  --acento: #5546e8;            /* 6.1:1 con texto blanco */
  --acento-hover: #4b3cde;
  --acento-press: #4031c9;
  --acento-texto: #4f40e3;      /* enlaces sobre blanco: 6.5:1 */
  --acento-tinte: #efedfd;
  /* El punto ámbar del logo: solo logros y "aquí vas" */
  --sol: #f4a825;
  --sol-tinte: #fff5e0;
  --sol-tinta: #8a5a00;         /* texto sobre --sol-tinte: 5.6:1 */
  /* Señales */
  --bien: #248a3d;
  --bien-tinte: #e8f5eb;
  --mal: #d70015;
  /* Materiales */
  --nav-bg: rgba(255, 255, 255, 0.72);
  --sombra-tarjeta: 0 1px 1px rgba(0, 0, 0, 0.03), 0 6px 20px rgba(0, 0, 0, 0.06);
  --sombra-producto: 0 40px 80px -30px rgba(29, 29, 31, 0.35), 0 20px 40px -24px rgba(29, 29, 31, 0.3);
  /* Tipos */
  --f-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-texto: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-marca: "Sora", var(--f-display);
  /* Formas y medidas */
  --r-control: 12px;
  --r-tarjeta: 18px;
  --r-grande: 28px;
  --r-pastilla: 980px;
  --ancho: 980px;
  --ancho-amplio: 1180px;
  --ancho-lectura: 692px;
  --margen: 22px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--acento-texto); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
p + p { margin-top: 0.8em; }
:focus-visible { outline: 3px solid rgba(85, 70, 232, 0.45); outline-offset: 2px; border-radius: 6px; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Tipografía (tracking por tamaño, interlineado inverso al tamaño) ---------- */
.t-hero    { font-family: var(--f-display); font-weight: 600; font-size: 56px; line-height: 1.07; letter-spacing: -0.024em; text-wrap: balance; }
.t-titulo  { font-family: var(--f-display); font-weight: 600; font-size: 40px; line-height: 1.1;  letter-spacing: -0.02em;  text-wrap: balance; }
.t-titulo2 { font-family: var(--f-display); font-weight: 600; font-size: 28px; line-height: 1.14; letter-spacing: -0.016em; text-wrap: balance; }
.t-titular { font-family: var(--f-display); font-weight: 600; font-size: 21px; line-height: 1.24; letter-spacing: -0.01em; }
.t-grande  { font-family: var(--f-display); font-weight: 700; font-size: 34px; line-height: 1.12; letter-spacing: -0.02em; } /* título grande de app */
.t-intro   { font-size: 21px; line-height: 1.4; color: var(--tinta-2); text-wrap: pretty; }
.t-cuerpo  { font-size: 17px; line-height: 1.47; text-wrap: pretty; }
.t-nota    { font-size: 14px; line-height: 1.43; color: var(--tinta-2); letter-spacing: 0.005em; }
.t-legal   { font-size: 12px; line-height: 1.34; color: var(--tinta-2); letter-spacing: 0.01em; }
.t-etiqueta{ font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--tinta-2); }
.t-cita    { font-family: var(--f-display); font-weight: 600; font-size: 34px; line-height: 1.18; letter-spacing: -0.02em; text-wrap: balance; }
.gris { color: var(--tinta-2); }
.centro { text-align: center; }
.centro .t-intro, .centro.t-intro { margin-left: auto; margin-right: auto; }

/* ---------- Estructura ---------- */
.contenedor { width: 100%; max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto; padding: 0 var(--margen); }
.contenedor.amplio { max-width: calc(var(--ancho-amplio) + 2 * var(--margen)); }
.contenedor.lectura { max-width: calc(var(--ancho-lectura) + 2 * var(--margen)); }
.seccion { padding: 100px 0; }
.seccion.compacta { padding: 64px 0; }
.seccion.gris-fondo { background: var(--bg-agrupado); }
.cabeza { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.cabeza .t-intro { margin-top: 16px; }
.pila > * + * { margin-top: 16px; }
.fila-botones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.centro .fila-botones, .fila-botones.centro { justify-content: center; }
.rejilla { display: grid; gap: 20px; }
.rejilla.dos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rejilla.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rejilla.cuatro { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Íconos (estilo SF Symbols: trazo redondo, peso del texto) ---------- */
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.i.relleno { fill: currentColor; stroke: none; }
.i.chico { width: 0.8em; height: 0.8em; vertical-align: -0.05em; stroke-width: 2.4; }
.simbolo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--relleno-2); color: var(--tinta); }
.simbolo .i { width: 24px; height: 24px; }

/* ---------- Botones (pastilla; respuesta al presionar, no al soltar) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 22px;
  border-radius: var(--r-pastilla); border: 1px solid transparent;
  font-family: var(--f-texto); font-size: 17px; font-weight: 400; line-height: 1; letter-spacing: -0.005em;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.1s ease-out;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-pri { background: var(--acento); color: #fff; }
.btn-pri:hover { background: var(--acento-hover); }
.btn-pri:active { background: var(--acento-press); }
.btn-sec { background: transparent; color: var(--acento-texto); border-color: var(--acento); }
.btn-sec:hover { background: var(--acento-tinte); }
.btn-gris { background: var(--relleno); color: var(--tinta); }
.btn-gris:hover { background: rgba(120, 120, 128, 0.2); }
.btn-oscuro { background: var(--tinta); color: var(--bg); }
.btn-mini { min-height: 30px; padding: 0 14px; font-size: 14px; }
.btn-grande { min-height: 52px; padding: 0 30px; font-size: 18px; }
.btn-bloque { width: 100%; }
.enlace { display: inline-flex; align-items: center; gap: 2px; color: var(--acento-texto); font-size: 17px; }
.enlace .i { width: 0.9em; height: 0.9em; stroke-width: 2.2; vertical-align: -0.1em; }
.enlace:hover { text-decoration: underline; }

/* ---------- Navegación global: material translúcido, el contenido pasa por debajo ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--separador); opacity: 0.6; }
.nav-in { max-width: calc(var(--ancho-amplio) + 2 * var(--margen)); margin: 0 auto; padding: 0 var(--margen); height: 52px; display: flex; align-items: center; gap: 30px; }
.nav-in > .marca { margin-right: auto; display: inline-flex; align-items: center; gap: 10px; color: var(--tinta); text-decoration: none !important; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--tinta); opacity: 0.8; font-size: 14px; letter-spacing: 0.005em; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-links a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav-acciones { display: flex; align-items: center; gap: 16px; }
.nav-entrar { font-size: 14px; color: var(--tinta); opacity: 0.8; }
.nav-entrar:hover { opacity: 1; text-decoration: none; }
.nav-menu { display: none; width: 36px; height: 36px; border: 0; background: transparent; border-radius: 8px; color: var(--tinta); }
.nav-menu .i { width: 20px; height: 20px; margin: auto; }
/* Los enlaces del menú nunca se parten en dos líneas. En tabletas y celulares (hasta 1023 px)
   van dentro del botón de menú, que abre as-nav.js poniendo la clase .abierta. */
.nav-links a, .nav-entrar { white-space: nowrap; }
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-menu { display: grid; }
  .nav-links.abierta { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
                        background: var(--bg-elevado); padding: 8px 22px 16px; box-shadow: var(--sombra-tarjeta); gap: 2px; z-index: 60; }
  .nav-links.abierta a { padding: 10px 2px; opacity: 1; }
}

/* ---------- Logo (marca madre, sin repetirse por la página) ---------- */
.logo { font-family: var(--f-marca); letter-spacing: -0.02em; white-space: nowrap; line-height: 1; font-size: 20px; }
.logo .l-aula { font-weight: 400; color: #456179; }
.logo .l-so { font-weight: 800; background: linear-gradient(90deg, #5546e8, #8d2fd8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo .l-ia { font-weight: 800; background: linear-gradient(90deg, #c82bb2, #e0219b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo .l-punto { font-weight: 800; color: var(--sol); }
.logo svg { display: inline-block; height: 1.24em; width: 0.66em; vertical-align: -0.16em; margin: 0 0.015em; }

/* ---------- Tarjetas y mosaicos (sin borde; el gris agrupa) ---------- */
.tile { background: var(--bg-agrupado); border-radius: var(--r-tarjeta); padding: 32px; position: relative; overflow: hidden; }
.gris-fondo .tile { background: var(--bg-elevado); }
.tile.grande { border-radius: var(--r-grande); padding: 48px; }
.tile .t-titular + p, .tile .t-titulo2 + p { margin-top: 8px; }
.tile-enlace { display: block; color: inherit; text-decoration: none !important; transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.tile-enlace:hover { transform: scale(1.01); }
.tile-enlace:active { transform: scale(0.99); }
.tarjeta { background: var(--bg-elevado); border-radius: var(--r-tarjeta); box-shadow: var(--sombra-tarjeta); }

/* ---------- Lista agrupada (como Ajustes de iPhone) ---------- */
.lista { background: var(--bg-elevado); border-radius: var(--r-control); overflow: hidden; }
.seccion:not(.gris-fondo) .lista.sobre-blanco, .lista.sobre-blanco { background: var(--bg-agrupado); }
.lista > .fila, .lista > a.fila {
  position: relative; display: flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 12px 18px; color: var(--tinta); text-decoration: none !important;
}
.lista > .fila + .fila::before { content: ""; position: absolute; top: 0; right: 0; left: 18px; height: 1px; background: var(--separador); transform: scaleY(0.6); }
.lista.con-simbolo > .fila + .fila::before { left: 72px; }
.lista > a.fila:hover { background: var(--relleno-2); }
.fila .fila-texto { flex: 1; min-width: 0; }
.fila .fila-titulo { display: block; font-size: 17px; line-height: 1.3; }
.fila .fila-sub { display: block; font-size: 14px; line-height: 1.35; color: var(--tinta-2); margin-top: 2px; }
.fila .fila-valor { color: var(--tinta-2); font-size: 15px; white-space: nowrap; }
.fila .chev { color: var(--tinta-3); width: 16px; height: 16px; stroke-width: 2.4; }
.encabezado-lista { font-size: 13px; line-height: 1.3; color: var(--tinta-2); padding: 0 18px 8px; letter-spacing: 0.01em; }
.pie-lista { font-size: 13px; line-height: 1.4; color: var(--tinta-2); padding: 8px 18px 0; }

/* ---------- Divulgación progresiva (preguntas) ---------- */
.preguntas { border-bottom: 1px solid var(--separador); }
.preguntas details { border-top: 1px solid var(--separador); }
.preguntas summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; font-family: var(--f-display); font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em;
}
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary .mas { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--relleno); display: grid; place-items: center; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.preguntas summary .mas .i { width: 14px; height: 14px; stroke-width: 2.4; }
.preguntas details[open] summary .mas { transform: rotate(45deg); }
.preguntas .respuesta { padding: 0 52px 24px 0; color: var(--tinta-2); font-size: 17px; line-height: 1.5; }

/* ---------- Controles ---------- */
.segmentado { display: inline-flex; gap: 2px; padding: 2px; background: var(--relleno); border-radius: 10px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.segmentado::-webkit-scrollbar { display: none; }
.segmentado button {
  flex: none; border: 0; background: transparent; cursor: pointer; white-space: nowrap;
  padding: 7px 15px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--tinta);
  transition: background-color 0.2s ease;
}
.segmentado button[aria-selected="true"] { background: var(--bg-elevado); font-weight: 600; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 3px 1px rgba(0, 0, 0, 0.04); }
.campo { display: block; }
.campo > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.entrada {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: var(--r-control);
  border: 1px solid rgba(60, 60, 67, 0.29); background: var(--bg-elevado); color: var(--tinta);
  font: 17px/1.3 var(--f-texto); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
textarea.entrada { padding: 14px 16px; min-height: 96px; resize: vertical; }
select.entrada { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.entrada::placeholder { color: var(--tinta-3); }
.entrada:focus { outline: none; border-color: var(--acento); box-shadow: 0 0 0 4px rgba(85, 70, 232, 0.18); }
.ayuda-campo { font-size: 13px; color: var(--tinta-2); margin-top: 6px; }
.etiqueta-estado { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: var(--r-pastilla); font-size: 13px; font-weight: 600; background: var(--relleno-2); color: var(--tinta-2); }
.etiqueta-estado.sol { background: var(--sol-tinte); color: var(--sol-tinta); }
.etiqueta-estado.bien { background: var(--bien-tinte); color: var(--bien); }
.etiqueta-estado.acento { background: var(--acento-tinte); color: var(--acento-texto); }

/* Progreso: el color de acento indica cuánto; el número siempre acompaña (nunca solo color) */
.barra { height: 6px; border-radius: 3px; background: var(--relleno); overflow: hidden; }
.barra > i { display: block; height: 100%; border-radius: 3px; background: var(--acento); }
.anillo { --p: 50; --c: var(--acento); width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--relleno) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4.5px)); }

/* ---------- La ventana del simulador (el elemento firma: el producto en grande) ---------- */
.ventana { position: relative; border-radius: 26px; background: #1d1d1f; padding: 11px; box-shadow: var(--sombra-producto); }
.ventana::before { content: ""; position: absolute; top: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #3a3a3c; }
.ventana > img { border-radius: 16px; width: 100%; }
.captura { border-radius: 20px; overflow: hidden; box-shadow: var(--sombra-producto); background: var(--bg-elevado); }

/* ---------- Pie ---------- */
.pie { background: var(--bg-agrupado); color: var(--tinta-2); font-size: 12px; line-height: 1.34; padding: 40px 0 32px; border-top: 1px solid var(--separador); }
.pie a { color: var(--tinta-2); }
.pie a:hover { color: var(--tinta); }
.pie-nota { padding-bottom: 18px; border-bottom: 1px solid var(--separador); }
.pie-columnas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 22px 0 26px; }
.pie-columnas h4 { font-size: 12px; font-weight: 600; color: var(--tinta); margin-bottom: 10px; }
.pie-columnas ul { list-style: none; margin: 0; padding: 0; }
.pie-columnas li + li { margin-top: 8px; }
.pie-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; border-top: 1px solid var(--separador); }
.pagos { display: inline-flex; align-items: center; gap: 12px; }
.pagos img { height: 18px; width: auto; }

/* ---------- Movimiento: breve, con propósito, y opcional ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .btn:active, .tile-enlace:hover, .tile-enlace:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --tinta-2: #3a3a3c; --separador: rgba(0, 0, 0, 0.5); }
  .tile, .lista { outline: 1px solid rgba(0, 0, 0, 0.35); }
}

/* ---------- Tamaños (puntos de corte de Apple: 1068 / 734) ---------- */
@media (max-width: 1068px) {
  .t-hero { font-size: 48px; }
  .t-titulo { font-size: 36px; }
  .seccion { padding: 84px 0; }
  .rejilla.cuatro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pie-columnas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 734px) {
  :root { --margen: 20px; }
  .t-hero { font-size: 38px; line-height: 1.1; letter-spacing: -0.02em; }
  .t-titulo { font-size: 30px; line-height: 1.13; }
  .t-titulo2 { font-size: 24px; line-height: 1.17; }
  .t-grande { font-size: 30px; }
  .t-cita { font-size: 26px; }
  .t-intro { font-size: 19px; line-height: 1.42; }
  .seccion { padding: 64px 0; }
  .cabeza { margin-bottom: 36px; }
  .rejilla.dos, .rejilla.tres, .rejilla.cuatro { grid-template-columns: minmax(0, 1fr); }
  .tile { padding: 26px 24px; }
  .tile.grande { padding: 32px 24px; border-radius: var(--r-tarjeta); }
  .nav-links { display: none; }
  .nav-menu { display: grid; }
  .nav-in { gap: 10px; height: 48px; }
  .nav-acciones .solo-escritorio { display: none; }
  .preguntas summary { font-size: 17px; padding: 18px 0; }
  .preguntas .respuesta { padding-right: 0; }
  .pie-columnas { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 8px 0; }
  .pie-columnas > div { padding: 12px 0; border-bottom: 1px solid var(--separador); }
  .ventana { padding: 6px; border-radius: 18px; }
  .ventana::before { display: none; }
  .ventana > img { border-radius: 13px; }
}

/* ---------- Pantallas de la app (fondo agrupado, como iOS) ---------- */
body.app { background: var(--bg-agrupado); }
.barra-app { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.barra-app::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--separador); opacity: .6; }
.barra-app-in { max-width: calc(var(--ancho-amplio) + 2 * var(--margen)); margin: 0 auto; padding: 0 var(--margen); height: 56px; display: flex; align-items: center; gap: 16px; }
.producto-app { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--tinta); text-decoration: none !important; }
.migas { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--tinta-2); min-width: 0; }
.migas a { color: var(--acento-texto); display: inline-flex; align-items: center; gap: 2px; }
.migas .i { width: 14px; height: 14px; stroke-width: 2.4; }
.barra-app .derecha { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; overflow: hidden; background: var(--relleno); display: grid; place-items: center; font-size: 14px; font-weight: 600; color: var(--tinta-2); }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transform: scale(1.9); transform-origin: 50% 12%; }
.quien { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.2; }
.quien small { display: block; color: var(--tinta-2); font-size: 12px; }
.bloque { margin-top: 36px; }
.bloque > h2 { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -0.012em; margin: 0 0 12px 4px; }
.vacio { display: flex; gap: 14px; align-items: flex-start; color: var(--tinta-2); font-size: 15px; }
@media (max-width: 734px) {
  .barra-app-in { height: 52px; gap: 10px; }
  .quien .quien-texto { display: none; }
}

/* ==================== Ronda 08 · piezas traídas de otras rondas ==================== */
/* Título grande de portada: tamaño de Huashu, letra de Apple */
.t-hero-xl { font-size: clamp(56px, 7.1vw, 104px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; }
@media (max-width: 734px) { .t-hero-xl { font-size: 46px; line-height: 1.04; letter-spacing: -0.03em; } }

/* Barra de avance con bolita al final (de Impeccable) */
.barra-avance { --p: 50; --relleno: #1e9e57; --borde: #137344; position: relative; height: 20px; }
.barra-avance::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: #d6dee8; }
.barra-avance > i { position: absolute; left: 0; top: 50%; height: 5px; margin-top: -2.5px; border-radius: 3px; width: calc(var(--p) * 1%); background: var(--relleno); }
.barra-avance > i::after { content: ""; position: absolute; right: -9px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--borde); box-sizing: border-box; }
.barra-avance.laguna { --relleno: #b23a20; --borde: #b23a20; }
.valor-avance { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.valor-avance.laguna, .tema-laguna { color: #b23a20; }
.leyenda-avance { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 600; color: var(--tinta-2); }
.leyenda-avance span { display: inline-flex; align-items: center; gap: 8px; }
.leyenda-avance i { width: 14px; height: 14px; border-radius: 50%; border: 3px solid #137344; box-sizing: border-box; }
.leyenda-avance i.laguna { border-color: #b23a20; }
.escala-avance { display: flex; justify-content: space-between; font-size: 12px; color: var(--tinta-3); font-variant-numeric: tabular-nums; }
