/* =========================================================
   FRSKO Marketing · sistema del sitio, marca v4.1
   Fuente: Manual de marca v4.1 y Tokens_y_agentes/frsko_tokens.css
   Modo claro (crema) para todos los días, modo profundo (teal)
   para portadas, cierres y piezas con presencia.
   ========================================================= */

@font-face { font-family: "Poppins"; src: url("fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  /* Color de marca */
  --teal: #0A4A4C;
  --teal-hondo: #052B2E;
  --teal-medio: #0E7C74;
  --menta: #2EE0BE;
  --menta-oscura: #0FA69A;
  --crema: #F6F4EC;
  --blanco: #FDFEFD;
  --espuma: #D9F7EF;
  --tinta: #17363A;
  --gris: #54706F;
  --linea: #D9D5C6;
  --exito: #0B7A5B;
  --aviso: #9A6400;
  --error: #C2412D;

  /* Familia activa (marca madre por defecto) */
  --fam-1: #2EE0BE;
  --fam-2: #2EE0BE;
  --fam-1-hondo: #2EE0BE;
  --fam-2-hondo: #2EE0BE;
  --fam-texto: #15766D;
  --fam-tinte: #DAF1E6;
  --fam-patron: url("patrones/madre_mosaico_claro.svg");
  --fam-patron-hondo: url("patrones/madre_mosaico_profundo.svg");

  /* Tipografía */
  --f-titulos: "Poppins", Arial, system-ui, sans-serif;
  --f-texto: "Plus Jakarta Sans", Arial, system-ui, sans-serif;

  /* Escala de espacio del manual: 4 8 12 16 24 32 48 64 96 */
  --e-1: 4px; --e-2: 8px; --e-3: 12px; --e-4: 16px; --e-5: 24px;
  --e-6: 32px; --e-7: 48px; --e-8: 64px; --e-9: 96px;
  --e-franja: clamp(64px, 9vw, 128px);

  /* Formas */
  --r-tarjeta: 18px;
  --r-campo: 12px;
  --r-pildora: 999px;
  --r-gota: 48px 18px 48px 48px;

  /* Movimiento */
  --entrar: cubic-bezier(.16, 1, .3, 1);
  --burbujear: cubic-bezier(.22, 1, .36, 1);

  /* Degradados aprobados */
  --deg-profundo: linear-gradient(135deg, #0A4A4C, #052B2E);
  --deg-marea: linear-gradient(135deg, #0A4A4C, #0E7C74);
  --liquido-profundo: radial-gradient(circle at 12% 95%, #2EE0BE40 0, transparent 42%), radial-gradient(circle at 92% 8%, #12A09088 0, transparent 48%), radial-gradient(circle at 70% 110%, #0E7C74 0, transparent 45%), #052B2E;
  --liquido-claro: radial-gradient(circle at 10% 100%, #2EE0BE33 0, transparent 45%), radial-gradient(circle at 95% 0%, #9AF3DF66 0, transparent 50%), #F6F4EC;

  /* Escala tipográfica: diez tamaños para todo el sitio (un rol, un tamaño). Los títulos se fluyen con clamp();
     el texto de lectura y las etiquetas son fijos. Para pasar una hoja a esta escala: node tools/escala-tipografica.cjs */
  --t-display: clamp(38px, 4.6vw, 64px);       /* h1 de portada */
  --t-declaracion: clamp(32px, 3.6vw, 52px);   /* manifiesto y cifra grande */
  --t-seccion: clamp(28px, 2.8vw, 40px);       /* h2 y cifra media */
  --t-gancho: clamp(24px, 2vw, 28px);          /* h3 destacado, nombre en el detalle */
  --t-tarjeta: clamp(20px, 1.6vw, 22px);       /* h3 de fichas, diferencias y caminos */
  --t-entrada: 18px;                           /* párrafo de entrada y nombres en listas */
  --t-subtitulo: var(--t-entrada);
  --t-texto: 16px;                             /* lectura */
  --t-detalle: 14px;                           /* fuentes, meta y etiquetas */
  --t-micro: 13px;                             /* sellos y píldoras diminutas */
  --t-cifra: var(--t-declaracion);
  --t-cifra-media: var(--t-seccion);
  --t-cifra-escena: clamp(88px, min(13vw, 24svh), 168px);  /* la cifra fija de la escena; una vez por página */

  --ancho: 1200px;
  --margen: clamp(16px, 5vw, 48px);
  --alto-encabezado: 76px;
}

/* Familias: tiñen solo burbujas y un acento */
[data-familia="start"]       { --fam-1: #1E76BD; --fam-2: #6FB6EA; --fam-1-hondo: #4FA3E3; --fam-2-hondo: #A5D2F5; --fam-texto: #1A66A1; --fam-tinte: #D8E2E5; --fam-patron: url("patrones/start_mosaico_claro.svg"); --fam-patron-hondo: url("patrones/start_mosaico_profundo.svg"); }
[data-familia="interactive"] { --fam-1: #FF6B35; --fam-2: #F8B62D; --fam-1-hondo: #FF6B35; --fam-2-hondo: #F8B62D; --fam-texto: #905639; --fam-tinte: #F7E1D2; --fam-patron: url("patrones/interactive_mosaico_claro.svg"); --fam-patron-hondo: url("patrones/interactive_mosaico_profundo.svg"); }
[data-familia="leadgen"]     { --fam-1: #5CC463; --fam-2: #2196F3; --fam-1-hondo: #5CC463; --fam-2-hondo: #2196F3; --fam-texto: #297551; --fam-tinte: #E0EDD9; --fam-patron: url("patrones/leadgen_mosaico_claro.svg"); --fam-patron-hondo: url("patrones/leadgen_mosaico_profundo.svg"); }
[data-familia="neuro"]       { --fam-1: #8511C9; --fam-2: #B57BEA; --fam-1-hondo: #B57BEA; --fam-2-hondo: #DDC2F7; --fam-texto: #8511C9; --fam-tinte: #E6D4E7; --fam-patron: url("patrones/neuro_mosaico_claro.svg"); --fam-patron-hondo: url("patrones/neuro_mosaico_profundo.svg"); }
[data-familia="academy"]     { --fam-1: #234FE8; --fam-2: #4FA8E5; --fam-1-hondo: #5B8CFF; --fam-2-hondo: #A9CBF7; --fam-texto: #234FE8; --fam-tinte: #D8DDEB; --fam-patron: url("patrones/academy_mosaico_claro.svg"); --fam-patron-hondo: url("patrones/academy_mosaico_profundo.svg"); }
[data-familia="freshup"]     { --fam-1: #8BD943; --fam-2: #C9F27E; --fam-1-hondo: #8BD943; --fam-2-hondo: #C9F27E; --fam-texto: #347645; --fam-tinte: #E7F0D4; --fam-patron: url("patrones/freshup_mosaico_claro.svg"); --fam-patron-hondo: url("patrones/freshup_mosaico_profundo.svg"); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--alto-encabezado) + 16px); }
body {
  margin: 0;
  background: var(--crema);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: var(--t-texto);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--menta-oscura); outline-offset: 3px; border-radius: 6px; }
.profundo :focus-visible { outline-color: var(--menta); }
::selection { background: var(--espuma); color: var(--teal); }

h1, h2, h3, h4, .t-titulo { font-family: var(--f-titulos); color: var(--teal); margin: 0; font-weight: 700; text-wrap: balance; }
h1, .t-1 { font-size: var(--t-display); line-height: 1.04; font-weight: 800; letter-spacing: -0.025em; }
h2, .t-2 { font-size: var(--t-seccion); line-height: 1.1; letter-spacing: -0.02em; }
h3, .t-3 { font-size: var(--t-tarjeta); line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
h4, .t-4 { font-size: var(--t-entrada); line-height: 1.35; font-weight: 600; }
.t-entrada { font-size: var(--t-tarjeta); line-height: 1.6; color: var(--tinta); max-width: 62ch; }
.t-chica { font-size: var(--t-detalle); line-height: 1.5; color: var(--gris); }
.t-texto { max-width: 66ch; }
strong, b { font-weight: 600; color: var(--teal); }

.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--teal); color: var(--crema); padding: 10px 18px; border-radius: var(--r-pildora); font-family: var(--f-titulos); font-weight: 600; text-decoration: none; transition: top .2s var(--entrar); }
.saltar:focus { top: 12px; }

/* ---------- Retícula ---------- */
.contenedor { width: 100%; max-width: calc(var(--ancho) + 2 * var(--margen)); margin-inline: auto; padding-inline: var(--margen); }
.reticula { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: var(--e-7); }
.col-12 { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .col-4 { grid-column-end: span 4; } .col-5 { grid-column-end: span 5; } .col-6 { grid-column-end: span 6; }
  .col-7 { grid-column-end: span 7; } .col-8 { grid-column-end: span 8; }
  .col-3 { grid-column-end: span 3; }
  .desde-2 { grid-column-start: 2; } .desde-7 { grid-column-start: 7; } .desde-8 { grid-column-start: 8; } .desde-9 { grid-column-start: 9; }
  .al-fondo { align-self: end; }
  .baja-1 { margin-top: var(--e-8); } .baja-2 { margin-top: calc(var(--e-9) + var(--e-6)); }
}
@media (max-width: 899px) { .reticula > * { grid-column: 1 / -1; } }

/* ---------- Franjas (secciones) ---------- */
.franja { position: relative; padding-block: var(--e-franja); isolation: isolate; }
.franja--corta { padding-block: clamp(48px, 6vw, 80px); }
.franja--espuma { background: var(--espuma); }
.franja--tinte { background: var(--fam-tinte); }
.profundo { background: var(--liquido-profundo); color: rgba(246, 244, 236, .86); }
.profundo h1, .profundo h2, .profundo h3, .profundo h4, .profundo .t-titulo, .profundo strong { color: var(--crema); }
.profundo .t-entrada { color: rgba(246, 244, 236, .9); }
.profundo .t-chica { color: rgba(246, 244, 236, .72); }
.profundo { --fam-1: var(--fam-1-hondo); --fam-2: var(--fam-2-hondo); }
.franja__encabezado { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.franja__encabezado .t-entrada { margin-top: var(--e-5); }

/* Fondo suave con el patrón de la familia (detrás de texto) */
.con-patron::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--fam-patron); background-size: 520px auto; background-repeat: repeat;
  opacity: .22;
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 85%);
  mask-image: linear-gradient(100deg, transparent 30%, #000 85%);
}
.profundo.con-patron::before { background-image: var(--fam-patron-hondo); opacity: .18; }

/* La ola fuera del logo: solo como borde entre franjas.
   Vive dentro de la franja y se pinta con el color de la franja vecina (--onda),
   así el fondo propio (sólido o líquido) siempre empata. Dos crestas por pantalla. */
.franja:has(> .onda--arriba) { padding-top: calc(var(--e-franja) + 32px); }
.franja:has(> .onda--abajo) { padding-bottom: calc(var(--e-franja) + 32px); }
.franja > .contenedor { position: relative; z-index: 1; }
.onda { position: absolute; left: 0; right: 0; height: clamp(36px, 5vw, 72px); line-height: 0; pointer-events: none; z-index: 0; --onda: var(--crema); }
.onda svg { width: 100%; height: 100%; }
.onda--arriba { top: -1px; transform: scaleY(-1); }
.onda--abajo { bottom: -1px; }
.onda path { fill: var(--onda); }
.onda path.onda__espuma { fill: var(--menta); opacity: .22; }

/* ---------- Burbujas: el único adorno ---------- */
.burbujas { position: absolute; pointer-events: none; z-index: -1; }
.burbujas i { position: absolute; display: block; border-radius: 50%; background: var(--fam-1); }
.burbujas i:nth-child(2) { background: var(--fam-2); }
.burbujas--sube { width: 220px; height: 200px; }
.burbujas--sube i:nth-child(1) { width: 84px; height: 84px; left: 0; bottom: 0; }
.burbujas--sube i:nth-child(2) { width: 59px; height: 59px; left: 104px; bottom: 76px; }
.burbujas--sube i:nth-child(3) { width: 42px; height: 42px; left: 172px; bottom: 150px; background: var(--fam-1); opacity: .55; }
.burbujas--chica { width: 64px; height: 48px; }
.burbujas--chica i:nth-child(1) { width: 26px; height: 26px; left: 0; bottom: 0; }
.burbujas--chica i:nth-child(2) { width: 18px; height: 18px; left: 34px; bottom: 24px; }
.flota i { animation: flotar 2.4s ease-in-out 2 alternate; }
.flota i:nth-child(2) { animation-delay: .3s; }
.flota i:nth-child(3) { animation-delay: .6s; }
@keyframes flotar { from { transform: translateY(0); } to { transform: translateY(-8px); } }

/* Par de burbujas como marca de familia o de bloque */
.par { display: inline-block; position: relative; width: 34px; height: 26px; flex: none; }
.par::before, .par::after { content: ""; position: absolute; border-radius: 50%; }
.par::before { width: 18px; height: 18px; left: 0; bottom: 0; background: var(--fam-1); }
.par::after { width: 12px; height: 12px; left: 20px; top: 0; background: var(--fam-2); }

/* ---------- Etiqueta: una palabra con una burbuja delante, sin caja ---------- */
.etiqueta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-texto); line-height: 1.3; color: var(--teal); }
.etiqueta::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--fam-1); flex: none; }
.profundo .etiqueta { color: var(--crema); }
.etiqueta--familia { color: var(--fam-texto); }
.profundo .etiqueta--familia { color: var(--crema); }
.titulo-con-etiqueta .etiqueta { margin-bottom: var(--e-5); }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: var(--r-pildora);
  font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-texto); line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s var(--burbujear), background-color .2s, color .2s, border-color .2s;
}
.boton:hover { transform: translateY(-2px); }
.boton:active { transform: translateY(0) scale(.98); }
.boton--principal { background: var(--menta); color: var(--teal); }
.boton--principal:hover { background: #4BE8C9; }
.boton--contorno { border-color: var(--teal); color: var(--teal); background: transparent; }
.boton--contorno:hover { background: var(--teal); color: var(--crema); }
.profundo .boton--contorno { border-color: rgba(246, 244, 236, .7); color: var(--crema); }
.profundo .boton--contorno:hover { background: var(--crema); color: var(--teal); }
.boton--chico { min-height: 44px; padding: 10px 20px; font-size: var(--t-texto); }
.boton .flecha { width: 18px; height: 18px; transition: transform .2s var(--entrar); }
.boton:hover .flecha { transform: translateX(3px); }
.enlace { font-family: var(--f-titulos); font-weight: 600; color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--menta); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; transition: text-decoration-color .2s, gap .2s var(--entrar); }
.enlace:hover { text-decoration-color: currentColor; gap: 12px; }
.profundo .enlace { color: var(--crema); }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-4) var(--e-6); margin-top: var(--e-6); }

/* ---------- Cifra destacada ---------- */
.cifras { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--e-6) clamp(24px, 4vw, 56px); }
.cifra { display: flex; flex-direction: column; gap: 6px; }
.cifra__valor { font-family: var(--f-titulos); font-weight: 600; font-variant-numeric: tabular-nums; font-size: var(--t-declaracion); line-height: 1; letter-spacing: -0.02em; color: var(--teal); }
.cifra__texto { font-size: var(--t-texto); line-height: 1.45; color: var(--tinta); max-width: 24ch; }
.cifra__fuente { font-size: var(--t-micro); line-height: 1.45; color: var(--gris); }
.profundo .cifra__valor { color: var(--crema); }
.profundo .cifra__texto { color: rgba(246, 244, 236, .9); }
.profundo .cifra__fuente { color: rgba(246, 244, 236, .66); }
.cifra--acento .cifra__valor { color: var(--menta); }
.cifra--acento:not(.profundo *) .cifra__valor { color: var(--teal); }

/* ---------- Bloques abiertos (sin cajas) ---------- */
.bloques { display: grid; gap: var(--e-7) clamp(24px, 4vw, 64px); }
@media (min-width: 760px) { .bloques--2 { grid-template-columns: repeat(2, 1fr); } .bloques--3 { grid-template-columns: repeat(3, 1fr); } .bloques--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bloques--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 760px) {
  .bloques--escalonados > :nth-child(3n+2) { margin-top: var(--e-8); }
  .bloques--escalonados > :nth-child(3n+3) { margin-top: calc(var(--e-8) * 2); }
  .bloques--2.bloques--escalonados > :nth-child(even) { margin-top: var(--e-8); }
  .bloques--2.bloques--escalonados > :nth-child(odd) { margin-top: 0; }
}
.bloque { display: flex; flex-direction: column; gap: var(--e-3); }
.bloque h3 { margin-top: var(--e-2); }
.bloque p { color: var(--tinta); }
.profundo .bloque p { color: rgba(246, 244, 236, .82); }
.bloque .enlace { margin-top: auto; padding-top: var(--e-2); }

/* Iconos: trazo redondo con una burbuja menta */
.icono { width: 48px; height: 48px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icono .a { fill: var(--fam-1); stroke: none; }
.profundo .icono { stroke: var(--crema); }

/* Lista con burbuja como viñeta */
.lista { list-style: none; display: grid; gap: var(--e-3); }
.lista li { position: relative; padding-left: 26px; }
.lista li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--fam-1); }

/* Lista de enlaces con flecha (industrias, rutas) */
.rutas { list-style: none; border-top: 1px solid var(--linea); }
.rutas li { border-bottom: 1px solid var(--linea); }
.rutas a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 24px; padding: 22px 4px; text-decoration: none; transition: padding .3s var(--entrar), background-color .2s; }
.rutas a:hover { padding-left: 14px; }
.rutas .rutas__nombre { font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-tarjeta); color: var(--teal); }
.rutas .rutas__texto { grid-column: 1; color: var(--gris); font-size: var(--t-texto); }
.rutas .flecha { grid-row: 1 / span 2; grid-column: 2; width: 22px; height: 22px; color: var(--teal); transition: transform .3s var(--entrar); }
.rutas a:hover .flecha { transform: translateX(4px); }
.profundo .rutas, .profundo .rutas li { border-color: rgba(246, 244, 236, .16); }
.profundo .rutas .rutas__nombre, .profundo .rutas .flecha { color: var(--crema); }
.profundo .rutas .rutas__texto { color: rgba(246, 244, 236, .7); }

/* Formas que fluyen: esquinas desiguales */
.gota { border-radius: var(--r-gota); overflow: hidden; }
.circulo { border-radius: 50%; overflow: hidden; aspect-ratio: 1; }

/* Cita */
.cita { font-family: var(--f-titulos); font-weight: 500; font-size: var(--t-gancho); line-height: 1.4; color: var(--teal); margin: 0; max-width: 34ch; }
.cita footer { font-family: var(--f-texto); font-size: var(--t-texto); font-weight: 400; color: var(--gris); margin-top: var(--e-5); }
.profundo .cita { color: var(--crema); }

/* Nombres de clientes en gris teal, del mismo alto */
.clientes { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-4) clamp(28px, 4vw, 56px); list-style: none; }
.clientes li { font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-entrada); color: var(--gris); white-space: nowrap; }

/* ---------- Formulario: etiqueta arriba, una línea sin caja ---------- */
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label { font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-texto); color: var(--teal); }
.campo input, .campo select, .campo textarea {
  font: inherit; color: var(--tinta); background: transparent; border: 0; border-bottom: 2px solid var(--linea);
  border-radius: 0; padding: 10px 2px; min-height: 48px; width: 100%; transition: border-color .2s;
}
.campo textarea { min-height: 112px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-bottom-color: var(--menta-oscura); }
.campo [aria-invalid="true"] { border-bottom-color: var(--error); }
.campo .campo__error { font-size: var(--t-detalle); color: var(--error); min-height: 0; }
.campo .campo__ayuda { font-size: var(--t-detalle); color: var(--gris); }
.profundo .campo label { color: var(--crema); }
.profundo .campo input, .profundo .campo select, .profundo .campo textarea { color: var(--crema); border-bottom-color: rgba(246, 244, 236, .3); }
.profundo .campo select option { color: var(--tinta); }
.formulario { display: grid; gap: var(--e-6) var(--e-6); }
@media (min-width: 700px) { .formulario--2 { grid-template-columns: 1fr 1fr; } .formulario .ancho-total { grid-column: 1 / -1; } }
.aviso-form { font-size: var(--t-texto); padding: 14px 18px; border-radius: var(--r-campo); }
.aviso-form--ok { background: #E1F4EC; color: var(--exito); }
.aviso-form--error { background: #F8E3DE; color: var(--error); }

/* ---------- Preguntas frecuentes ---------- */
.preguntas { border-top: 1px solid var(--linea); max-width: 860px; }
.preguntas details { border-bottom: 1px solid var(--linea); }
.preguntas summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 2px; font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-tarjeta); color: var(--teal); }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--linea); flex: none; transition: background-color .2s, transform .3s var(--burbujear); }
.preguntas details[open] summary::after { background: var(--menta); transform: scale(1.3); }
.preguntas .respuesta { padding: 0 2px 28px; max-width: 68ch; }
.profundo .preguntas, .profundo .preguntas details { border-color: rgba(246, 244, 236, .16); }
.profundo .preguntas summary { color: var(--crema); }

/* ---------- Encabezado del sitio ---------- */
.encabezado { position: sticky; top: 0; z-index: 50; background: var(--crema); border-bottom: 1px solid transparent; transition: border-color .3s; }
.encabezado.con-scroll { border-bottom-color: var(--linea); }
.encabezado__fila { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--alto-encabezado); }
.encabezado__logo { display: block; width: 116px; flex: none; }
.encabezado__logo img { width: 100%; height: auto; }
.navegacion { display: flex; align-items: center; gap: 4px; }
.navegacion > ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.navegacion > ul > li { position: relative; }
.nav-enlace, .navegacion summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: var(--r-pildora); font-family: var(--f-titulos); font-weight: 500; font-size: var(--t-texto); color: var(--teal); text-decoration: none; cursor: pointer; list-style: none; transition: background-color .2s; white-space: nowrap; }
.navegacion summary::-webkit-details-marker { display: none; }
.nav-enlace:hover, .navegacion summary:hover, .navegacion details[open] > summary { background: var(--espuma); }
.nav-enlace[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--menta); border-radius: 0; }
.navegacion summary svg { width: 12px; height: 12px; transition: transform .25s var(--entrar); }
.navegacion details[open] > summary svg { transform: rotate(180deg); }
/* Título del menú que además lleva a su página: el texto navega; el chevron y el borde siguen abriendo el menú */
.navegacion summary.con-enlace { padding: 0; gap: 0; }
.navegacion summary.con-enlace a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 6px 8px 14px; border-radius: var(--r-pildora) 0 0 var(--r-pildora); color: inherit; text-decoration: none; }
.navegacion summary.con-enlace svg { margin-right: 14px; }
/* ---------- Mega menús: se abren al pasar el cursor, con teclado y con clic ---------- */
.navegacion > ul > li { position: static; }
.mega { position: absolute; top: 100%; left: 50%; translate: -50% 0; width: min(var(--w, 1060px), calc(100vw - 2 * var(--margen))); padding-top: 12px; z-index: 60; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; } /* puente: el cursor no pierde el menú al bajar */
.mega__caja { display: grid; grid-template-columns: var(--cols, 1fr); gap: 8px; padding: 14px; background: var(--superficie); border-radius: 40px 16px 40px 40px; box-shadow: 0 36px 70px -30px rgba(5, 43, 46, .45), 0 0 0 1px rgba(10, 74, 76, .08); animation: mega-entra .4s var(--entrar); transform-origin: top center; }
@keyframes mega-entra { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.mega--soluciones { --w: 1120px; --cols: 1.15fr 1fr .85fr; }
.mega--servicios { --w: 820px; --cols: 1.4fr 1fr; }
.mega--industrias { --w: 980px; --cols: 1.75fr 1fr; }
.mega--nosotros { --w: 900px; --cols: 1.6fr 1fr; }
.mega--recursos { --w: 820px; --cols: 1.4fr 1fr; }

.mega__col { padding: 16px 8px 10px; min-width: 0; }
.mega__titulo { display: flex; align-items: center; gap: 10px; margin: 0 0 12px 12px; font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-detalle); color: var(--gris); }
.mega__chip { padding: 3px 11px; border-radius: var(--r-pildora); background: var(--menta); color: var(--teal); font-size: var(--t-micro); }
.mega__chip--suave { background: var(--espuma); }
.mega ul { list-style: none; display: grid; gap: 2px; margin: 0; padding: 0; }
.mega__dos { grid-template-columns: 1fr 1fr; column-gap: 6px; }
.mega li a { display: flex; align-items: center; gap: 14px; padding: 9px 12px; border-radius: 18px; text-decoration: none; color: var(--teal); transition: background-color .2s; }
.mega li a:hover, .mega li a:focus-visible { background: color-mix(in srgb, var(--fam-tinte, var(--espuma)) 55%, transparent); }
.mega__icono { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 15px 9px 15px 15px; background: var(--fam-tinte, var(--espuma)); color: var(--fam-texto, var(--teal)); transition: transform .4s var(--entrar); }
.mega__icono-svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mega__icono-svg .a { fill: var(--fam-1, var(--menta)); stroke: none; transition: transform .4s var(--entrar); transform-box: fill-box; transform-origin: center; }
.mega li a:hover .mega__icono, .mega li a:focus-visible .mega__icono { transform: rotate(-7deg) scale(1.09); }
.mega li a:hover .mega__icono-svg .a { transform: translate(1px, -2px) scale(1.35); }
.mega__txt { min-width: 0; }
.mega__nombre { display: block; font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-texto); line-height: 1.25; color: var(--teal); }
.mega__desc { display: block; margin-top: 2px; font-size: var(--t-detalle); line-height: 1.35; color: var(--gris); }
.mega__mas { margin: 12px 0 0 12px; font-size: var(--t-detalle); }
.mega__mas svg { width: 16px; height: 16px; }

.mega__promo { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 26px; border-radius: 30px 12px 30px 30px; background: var(--liquido-profundo); color: rgba(246, 244, 236, .86); }
.mega__pildora { align-self: flex-start; padding: 5px 13px; border-radius: var(--r-pildora); background: rgba(46, 224, 190, .16); color: var(--menta); font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-micro); }
.mega__promo h3 { margin: 6px 0 0; font-size: var(--t-tarjeta); line-height: 1.12; letter-spacing: -0.02em; color: var(--crema); max-width: 14ch; }
.mega__promo p { margin: 0; max-width: 30ch; font-size: var(--t-texto); line-height: 1.5; }
.mega__promo-acciones { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: auto; padding-top: 14px; }
.mega__promo .boton svg { width: 18px; height: 18px; }
.mega__promo .enlace { color: var(--crema); text-decoration-color: var(--menta); }
.mega__burbujas { position: absolute; z-index: -1; right: 18px; bottom: 18px; width: 120px; height: 130px; pointer-events: none; }
.mega__burbujas i { position: absolute; border-radius: 50%; background: var(--menta); }
.mega__burbujas i:nth-child(1) { width: 52px; height: 52px; right: 0; bottom: 0; opacity: .22; }
.mega__burbujas i:nth-child(2) { width: 30px; height: 30px; right: 62px; bottom: 44px; opacity: .3; }
.mega__burbujas i:nth-child(3) { width: 16px; height: 16px; right: 26px; bottom: 90px; opacity: .4; }

/* Los renglones entran en cascada al abrir */
.mega-menu[open] .mega li { animation: mega-item .5s var(--entrar) both; animation-delay: calc(var(--n, 0) * 38ms + 70ms); }
.mega li:nth-child(1) { --n: 0; } .mega li:nth-child(2) { --n: 1; } .mega li:nth-child(3) { --n: 2; } .mega li:nth-child(4) { --n: 3; }
.mega li:nth-child(5) { --n: 4; } .mega li:nth-child(6) { --n: 5; } .mega li:nth-child(7) { --n: 6; } .mega li:nth-child(8) { --n: 7; }
@keyframes mega-item { from { opacity: 0; transform: translateX(-8px); } }
.mega-menu[open] .mega__burbujas i { animation: mega-burbuja 5s ease-in-out infinite alternate; }
.mega-menu[open] .mega__burbujas i:nth-child(2) { animation-delay: -1.6s; } .mega-menu[open] .mega__burbujas i:nth-child(3) { animation-delay: -3s; }
@keyframes mega-burbuja { to { transform: translateY(-8px); } }

/* Un velo suave detrás del menú abierto ayuda a enfocar */
body::before { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(5, 43, 46, .32); opacity: 0; pointer-events: none; transition: opacity .3s; }
body:has(.navegacion details[open])::before { opacity: 1; }

/* Acciones del encabezado: varios caminos */
.encabezado__diag { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: var(--r-pildora); font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-texto); color: var(--teal); text-decoration: none; transition: background-color .2s, color .35s; }
.encabezado__diag:hover { background: var(--espuma); }
.encabezado__accion .boton svg { width: 18px; height: 18px; transition: transform .3s var(--entrar); }
.encabezado__accion .boton:hover svg { transform: translateX(3px); }
@media (max-width: 1099px) { .encabezado__diag { display: none; } }
.encabezado__accion { display: flex; align-items: center; gap: 12px; }
.menu-movil { display: none; }
@keyframes entrar { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .navegacion, .encabezado__accion > .boton { display: none; }
  .menu-movil { display: block; }
  .menu-movil > summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border-radius: var(--r-pildora); border: 2px solid var(--teal); font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-texto); color: var(--teal); cursor: pointer; }
  .menu-movil > summary::-webkit-details-marker { display: none; }
  .menu-movil[open] > summary { background: var(--teal); color: var(--crema); }
  .menu-movil__panel { position: fixed; inset: var(--alto-encabezado) 0 0 0; background: var(--crema); overflow-y: auto; padding: 8px var(--margen) 48px; border-top: 1px solid var(--linea); animation: entrar .3s var(--entrar); }
  .menu-movil__panel details { border-bottom: 1px solid var(--linea); }
  .menu-movil__panel summary, .menu-movil__panel > a { display: flex; justify-content: space-between; align-items: center; min-height: 60px; font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-entrada); color: var(--teal); text-decoration: none; list-style: none; cursor: pointer; }
  .menu-movil__panel > a { border-bottom: 1px solid var(--linea); }
  .menu-movil__panel summary::-webkit-details-marker { display: none; }
  .menu-movil__panel summary::after { content: "+"; font-weight: 500; font-size: var(--t-tarjeta); color: var(--teal); }
  .menu-movil__panel details[open] summary::after { content: "−"; }
  .menu-movil__panel ul { list-style: none; padding-bottom: 14px; }
  .menu-movil__panel ul a { display: block; padding: 10px 0 10px 18px; text-decoration: none; color: var(--tinta); position: relative; }
  .menu-movil__panel ul a::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--menta); }
  .menu-movil__panel .boton { width: 100%; margin-top: 28px; }
  body:has(.menu-movil[open]) { overflow: hidden; }
}

/* ---------- Pie del sitio (modo profundo) ---------- */
.pie { --pie-fondo: #031A1D; background: radial-gradient(circle at 6% 100%, #2EE0BE26 0, transparent 38%), radial-gradient(circle at 96% 55%, #0E7C7440 0, transparent 42%), var(--pie-fondo); color: rgba(246, 244, 236, .78); padding-block: clamp(64px, 7vw, 96px) 32px; position: relative; isolation: isolate; }
/* El borde superior es una onda del propio color del pie: cierra la página sobre cualquier franja anterior */
.pie::before { content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * clamp(32px, 4vw, 48px) + 1px); height: clamp(32px, 4vw, 48px); background: var(--pie-fondo); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 26Q180 2 360 26T720 26T1080 26T1440 26V48H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 26Q180 2 360 26T720 26T1080 26T1440 26V48H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; pointer-events: none; }
.pie a { color: rgba(246, 244, 236, .86); text-decoration: none; transition: color .2s; }
.pie a:hover { color: var(--menta); }
.pie ul a { background: linear-gradient(var(--menta), var(--menta)) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: color .2s, background-size .35s var(--entrar); }
.pie ul a:hover, .pie ul a:focus-visible { background-size: 100% 1px; }
.pie nav h2 { display: flex; align-items: center; gap: 10px; }
.pie nav h2::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--menta); flex: none; }
.pie .pie__correo { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(246, 244, 236, .3); color: var(--crema); font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-texto); transition: border-color .25s, background-color .25s, color .2s; }
.pie .pie__correo:hover { border-color: var(--menta); background: rgba(46, 224, 190, .1); color: var(--menta); }
.pie .pie__correo svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pie .pie__subir { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(246, 244, 236, .3); transition: border-color .25s, background-color .25s, transform .4s var(--entrar); }
.pie .pie__subir:hover, .pie .pie__subir:focus-visible { border-color: var(--menta); background: rgba(46, 224, 190, .1); transform: translateY(-3px); }
.pie .pie__subir svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pie__arriba { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pie__arriba { grid-template-columns: 1fr 2.5fr; } }
.pie__logo { width: 168px; }
.pie__lema { font-family: var(--f-titulos); font-weight: 700; font-size: var(--t-gancho); line-height: 1.15; color: var(--crema); margin-top: 28px; }
.pie__columnas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
@media (min-width: 700px) { .pie__columnas { grid-template-columns: repeat(4, 1fr); } }
.pie h2 { font-size: var(--t-texto); font-weight: 600; color: var(--crema); letter-spacing: 0; margin-bottom: 14px; }
.pie ul { list-style: none; display: grid; gap: 8px; font-size: var(--t-texto); }
.pie__abajo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; border-top: 1px solid rgba(246, 244, 236, .14); margin-top: 56px; padding-top: 24px; font-size: var(--t-detalle); }
.pie__abajo ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.sello { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-titulos); font-weight: 700; font-size: var(--t-texto); color: var(--crema); margin-top: 20px; }
.sello .par { width: 28px; height: 22px; }
.sello .par::before { width: 14px; height: 14px; }
.sello .par::after { width: 10px; height: 10px; left: 16px; }
.redes { display: flex; gap: 8px; margin-top: 28px; }
.redes a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(246, 244, 236, .24); transition: border-color .2s, background-color .2s; }
.redes a:hover { border-color: var(--menta); background: rgba(46, 224, 190, .08); }
.redes svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Héroe ---------- */
.heroe { position: relative; padding-block: clamp(48px, 8vw, 112px) clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.heroe h1 { max-width: 15ch; }
.heroe .t-entrada { margin-top: var(--e-6); }
.heroe .etiqueta { margin-bottom: var(--e-6); }
.heroe .burbujas--sube { right: max(var(--margen), calc((100vw - var(--ancho)) / 2)); top: clamp(24px, 6vw, 72px); }
@media (max-width: 899px) { .heroe .burbujas--sube { top: auto; bottom: 8px; transform: scale(.42); transform-origin: bottom right; } }
@media (max-width: 599px) { .heroe .burbujas--sube { display: none; } }

/* ---------- Bloque de solución ---------- */
.soluciones { display: grid; gap: clamp(48px, 5vw, 72px) clamp(24px, 4vw, 64px); }
@media (min-width: 700px) { .soluciones { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .soluciones { grid-template-columns: repeat(3, 1fr); } .soluciones > :nth-child(3n+2) { transform: translateY(48px); } }
.solucion { display: flex; flex-direction: column; gap: 10px; }
.solucion .par { margin-bottom: 8px; }
.solucion .etiqueta::before { display: none; }
.solucion h3 { font-size: var(--t-tarjeta); }
.solucion .solucion__gancho { font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-entrada); color: var(--crema); }
.franja:not(.profundo) .solucion .solucion__gancho { color: var(--teal); }

/* ---------- Caminos para arrancar ---------- */
.caminos { display: grid; gap: 40px; counter-reset: camino; }
@media (min-width: 900px) { .caminos { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.camino { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 2px solid rgba(246, 244, 236, .2); }
.camino--destacado { border-top-color: var(--menta); }
.camino__tiempo { font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-detalle); color: var(--menta); }
.camino h3 { font-size: var(--t-tarjeta); }
.camino .acciones { margin-top: auto; padding-top: 12px; }

/* ---------- Imagen con esquinas desiguales y burbujas ---------- */
.figura { position: relative; }
.figura img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Aparición suave al hacer scroll (solo con JS) ---------- */
.js .aparece { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--entrar), transform .5s var(--entrar); }
.js .aparece.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .aparece { opacity: 1; transform: none; }
}

/* =========================================================
   Componentes v4.2 · mezcla del sitio anterior con la marca v4.1
   Nacieron en el inicio (index.html). Son los preferidos para todo el sitio:
   superficies tintadas con esquinas desiguales, tarjetas con el color de su
   familia, mosaicos con icono, franjas profundas con datos, diagramas y
   tarjetas de cierre. Ver MARCA-V4-SITIO.md.
   ========================================================= */

:root { --superficie: #FBFAF5; --superficie-2: #EFEDE3; --sombra-suave: 0 1px 2px rgba(10, 74, 76, .06), 0 10px 30px -18px rgba(10, 74, 76, .28); --sombra-alza: 0 2px 4px rgba(10, 74, 76, .06), 0 24px 48px -20px rgba(10, 74, 76, .34); }

/* Botón principal con presencia (el amarillo anterior, ahora menta) */
.boton--principal { box-shadow: 0 10px 24px -10px rgba(15, 166, 154, .55); }
.boton--principal:hover { box-shadow: 0 14px 30px -10px rgba(15, 166, 154, .7); }

/* ---------- Héroe ---------- */
.portada { position: relative; padding-block: clamp(36px, 6vw, 88px) clamp(40px, 5vw, 72px); overflow: hidden; isolation: isolate; }
.portada__reticula { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 1000px) { .portada__reticula { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.portada h1 { font-size: var(--t-display); line-height: 1.02; letter-spacing: -0.03em; max-width: 12ch; }
.resalta { position: relative; white-space: nowrap; z-index: 0; }
.resalta::before { content: ""; position: absolute; z-index: -1; left: -.08em; right: -.1em; bottom: .06em; height: .5em; border-radius: 999px; background: var(--menta); transform-origin: left center; animation: resaltar .9s var(--entrar) .35s both; }
@keyframes resaltar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes entrar-burbuja { from { transform: scale(0); } to { transform: scale(1); } }
.portada .t-entrada { margin-top: var(--e-6); max-width: 54ch; }
.portada .acciones { margin-top: var(--e-7); }
.portada__confianza { display: flex; align-items: center; gap: 14px; margin-top: var(--e-7); font-size: var(--t-texto); color: var(--gris); }
.portada__confianza strong { font-family: var(--f-titulos); font-weight: 700; font-size: var(--t-gancho); color: var(--teal); font-variant-numeric: tabular-nums; }

/* Panel profundo con la corriente de soluciones */
.corriente { position: relative; aspect-ratio: 1 / 1.02; border-radius: 64px 22px 64px 64px; background: var(--liquido-profundo); overflow: hidden; box-shadow: var(--sombra-alza); isolation: isolate; }
.corriente::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: url("patrones/madre_mosaico_profundo.svg"); background-size: 420px auto; opacity: .06; }
.corriente__titulo { position: absolute; left: 32px; top: 30px; right: 32px; font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-texto); color: rgba(246, 244, 236, .82); display: flex; align-items: center; gap: 10px; }
.corriente__titulo::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--menta); box-shadow: 0 0 0 5px rgba(46, 224, 190, .18); }
.corriente__pie { position: absolute; left: 32px; bottom: 26px; font-size: var(--t-micro); color: rgba(246, 244, 236, .6); }
.corriente ul { list-style: none; position: absolute; inset: 0; }
.burbuja { position: absolute; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border-radius: 50%; text-decoration: none; color: #052B2E; font-family: var(--f-titulos); font-weight: 600; line-height: 1.15; padding: .6em; min-height: 0; overflow: hidden; background: var(--fam-1); transition: transform .35s var(--burbujear), box-shadow .3s; animation: subir 2.6s var(--entrar) both, flotar-suave 2.4s ease-in-out 2.6s 2 alternate; }
.burbuja small { display: block; font-family: var(--f-texto); font-weight: 500; font-size: .74em; opacity: .78; margin-top: 3px; }
.burbuja:hover, .burbuja:focus-visible { transform: scale(1.07); box-shadow: 0 0 0 6px rgba(246, 244, 236, .16); }
.burbuja:focus-visible { outline: 3px solid var(--crema); outline-offset: 4px; }
.profundo .burbuja, .corriente .burbuja { --fam-1: var(--fam-1-hondo); }
.corriente [data-familia="madre"] .burbuja { background: var(--menta); }
/* tres tamaños: 1, .7 y .5 */
.burbuja--g { width: 34%; font-size: var(--t-entrada); }
.burbuja--m { width: 24%; font-size: clamp(12px, .95vw, 14px); }
.burbuja--c { width: 17%; font-size: clamp(11px, .85vw, 13px); padding: .4em; }
.burbuja { aspect-ratio: 1; }
@keyframes subir { from { opacity: 0; transform: translateY(40px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes flotar-suave { from { translate: 0 0; } to { translate: 0 -7px; } }
.corriente li:nth-child(1) .burbuja { animation-delay: .1s, 2.7s; }
.corriente li:nth-child(2) .burbuja { animation-delay: .2s, 2.9s; }
.corriente li:nth-child(3) .burbuja { animation-delay: .3s, 3.1s; }
.corriente li:nth-child(4) .burbuja { animation-delay: .4s, 2.8s; }
.corriente li:nth-child(5) .burbuja { animation-delay: .5s, 3s; }
.corriente li:nth-child(6) .burbuja { animation-delay: .6s, 3.2s; }
.corriente li:nth-child(7) .burbuja { animation-delay: .7s, 2.75s; }

@media (max-width: 640px) {
  .corriente { aspect-ratio: auto; padding: 88px 20px 56px; border-radius: 40px 16px 40px 40px; }
  .corriente ul { position: static; display: flex; flex-wrap: wrap; gap: 10px; }
  .corriente li { display: contents; }
  .burbuja { position: static !important; width: auto !important; aspect-ratio: auto; border-radius: 999px; padding: 10px 16px 10px 12px; font-size: 14px !important; display: inline-flex; gap: 8px; }
  .burbuja small { display: none; }
  .corriente__titulo { left: 20px; top: 26px; }
  .corriente__pie { left: 20px; bottom: 20px; }
}

/* ---------- Marquesina de clientes ---------- */
.marquesina { border-block: 1px solid var(--linea); padding-block: 22px; overflow: hidden; background: var(--superficie); }
.marquesina__fila { display: flex; align-items: center; gap: 28px; }
.marquesina__intro { flex: none; font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-detalle); color: var(--teal); max-width: 240px; line-height: 1.35; padding-left: var(--margen); }
.marquesina__pista { display: flex; width: max-content; animation: deslizar 42s linear infinite; }
.marquesina:hover .marquesina__pista { animation-play-state: paused; }
.marquesina__ventana { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquesina ul { display: flex; align-items: center; list-style: none; flex: none; }
.marquesina li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-tarjeta); color: var(--gris); white-space: nowrap; }
.marquesina li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--menta); opacity: .8; }
@keyframes deslizar { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .marquesina__fila { flex-direction: column; align-items: flex-start; gap: 14px; } .marquesina__ventana { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .marquesina__pista { animation: none; } .marquesina__ventana { overflow-x: auto; } }
.sin-movimiento .marquesina__pista { animation: none; } .sin-movimiento .marquesina__ventana { overflow-x: auto; }

/* ---------- Manifiesto del problema (modo profundo) ---------- */
.manifiesto { font-family: var(--f-titulos); font-weight: 700; font-size: var(--t-declaracion); line-height: 1.06; letter-spacing: -0.025em; color: var(--crema); max-width: 16ch; }
.manifiesto em { font-style: normal; color: var(--menta); }
.sintomas { display: grid; gap: 28px; }
.sintoma { display: grid; grid-template-columns: 52px 1fr; gap: 6px 18px; align-items: start; }
.sintoma .icono { grid-row: span 2; width: 44px; height: 44px; }
.sintoma h3 { font-size: var(--t-entrada); color: var(--crema); }
.sintoma p { color: rgba(246, 244, 236, .76); font-size: var(--t-texto); }

/* ---------- Tres diferencias: superficies tintadas con esquinas desiguales ---------- */
.diferencias { display: grid; gap: 20px; }
@media (min-width: 900px) { .diferencias { grid-template-columns: repeat(3, 1fr); align-items: start; } .diferencias > :nth-child(2) { margin-top: 56px; } .diferencias > :nth-child(3) { margin-top: 112px; } }
.diferencia { position: relative; background: var(--espuma); border-radius: 40px 14px 40px 40px; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; transition: transform .4s var(--entrar); }
.diferencia:hover { transform: translateY(-4px); }
.diferencia__num { font-family: var(--f-titulos); font-weight: 800; font-size: var(--t-declaracion); line-height: .9; letter-spacing: -0.04em; color: var(--teal); opacity: .14; position: absolute; right: 28px; top: 24px; }
.diferencia .icono { width: 52px; height: 52px; background: var(--crema); border-radius: 50%; padding: 10px; }
.diferencia h3 { font-size: var(--t-tarjeta); margin-top: 8px; padding-right: 48px; }
.diferencia .remate { font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-texto); color: var(--teal); border-top: 1px solid rgba(10, 74, 76, .14); padding-top: 14px; margin-top: 4px; }

/* ---------- Mosaico de soluciones ---------- */
.mosaico { display: grid; gap: 18px; }
@media (min-width: 720px) { .mosaico { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .mosaico { grid-template-columns: repeat(3, 1fr); } .mosaico .ficha--ancha { grid-column: span 2; } }
.ficha { position: relative; display: flex; flex-direction: column; background: var(--superficie); border-radius: 28px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--sombra-suave); transition: transform .4s var(--entrar), box-shadow .4s var(--entrar); }
.ficha:hover { transform: translateY(-5px); box-shadow: var(--sombra-alza); }
.ficha__cabeza { position: relative; min-height: 132px; background: var(--fam-tinte); padding: 22px 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; overflow: hidden; }
.ficha__cabeza .etiqueta { font-size: var(--t-detalle); color: var(--fam-texto); }
.ficha__cabeza .etiqueta::before { display: none; }
.ficha__burbujas { position: absolute; right: 22px; bottom: -18px; width: 120px; height: 120px; }
.ficha__burbujas i { position: absolute; border-radius: 50%; display: block; transition: transform .5s var(--burbujear); }
.ficha__burbujas i:nth-child(1) { width: 74px; height: 74px; left: 0; bottom: 0; background: var(--fam-1); }
.ficha__burbujas i:nth-child(2) { width: 52px; height: 52px; left: 66px; bottom: 50px; background: var(--fam-2); }
.ficha__burbujas i:nth-child(3) { width: 26px; height: 26px; left: 40px; bottom: 92px; background: var(--fam-1); opacity: .45; }
.ficha:hover .ficha__burbujas i:nth-child(1) { transform: translate(-4px, -8px); }
.ficha:hover .ficha__burbujas i:nth-child(2) { transform: translate(4px, -14px); }
.ficha:hover .ficha__burbujas i:nth-child(3) { transform: translate(2px, -18px); }
.ficha__cuerpo { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ficha__nombre { font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-detalle); color: var(--fam-texto); }
.ficha h3 { font-size: var(--t-tarjeta); }
.ficha p { color: var(--tinta); font-size: var(--t-texto); }
.ficha__ir { margin-top: auto; padding-top: 10px; font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-texto); color: var(--teal); display: inline-flex; align-items: center; gap: 8px; }
.ficha__ir svg { width: 18px; height: 18px; transition: transform .3s var(--entrar); }
.ficha:hover .ficha__ir svg { transform: translateX(4px); }
@media (min-width: 1080px) {
  .ficha--ancha { flex-direction: row; }
  .ficha--ancha .ficha__cabeza { width: 42%; min-height: 0; }
  .ficha--ancha .ficha__burbujas { width: 170px; height: 170px; right: 28px; bottom: 18px; }
  .ficha--ancha .ficha__burbujas i:nth-child(1) { width: 104px; height: 104px; }
  .ficha--ancha .ficha__burbujas i:nth-child(2) { width: 73px; height: 73px; left: 94px; bottom: 72px; }
  .ficha--ancha .ficha__burbujas i:nth-child(3) { width: 36px; height: 36px; left: 58px; bottom: 132px; }
  .ficha--ancha h3 { font-size: var(--t-gancho); }
}

/* ---------- Industrias en mosaicos ---------- */
.industrias { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.industria { display: grid; grid-template-columns: 48px 1fr 20px; gap: 4px 14px; align-items: start; padding: 22px 20px; border-radius: 22px; background: var(--superficie); text-decoration: none; box-shadow: 0 0 0 1px rgba(10, 74, 76, .07); transition: background-color .25s, transform .35s var(--entrar), box-shadow .35s; }
.industria:hover { background: #fff; transform: translateY(-3px); box-shadow: var(--sombra-suave); }
.industria .icono { grid-row: span 2; width: 44px; height: 44px; }
.industria b { font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-entrada); color: var(--teal); line-height: 1.3; }
.industria span { grid-column: 2; font-size: var(--t-detalle); line-height: 1.45; color: var(--gris); }
.industria svg.flecha { grid-row: 1; grid-column: 3; width: 18px; height: 18px; color: var(--teal); opacity: .5; transition: opacity .2s, transform .3s var(--entrar); }
.industria:hover svg.flecha { opacity: 1; transform: translateX(3px); }

/* ---------- Resultados profundos ---------- */
.resultados { display: grid; gap: 1px; background: rgba(246, 244, 236, .12); border-radius: 32px; overflow: hidden; }
@media (min-width: 760px) { .resultados { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .resultados { grid-template-columns: repeat(4, 1fr); } }
.resultado { background: #083B3E; padding: 32px 28px 30px; display: flex; flex-direction: column; gap: 10px; transition: background-color .3s; }
.resultado:hover { background: #0A4447; }
.resultado .cifra__valor { color: var(--crema); font-size: var(--t-declaracion); }
.resultado:first-child .cifra__valor { color: var(--menta); }
.resultado:last-child .cifra__valor { font-size: var(--t-seccion); }
.resultado .cifra__texto { color: rgba(246, 244, 236, .88); max-width: none; }
.resultado .cifra__fuente { margin-top: auto; padding-top: 14px; color: rgba(246, 244, 236, .58); }

/* ---------- Academy ---------- */
.academy { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .academy { grid-template-columns: 1fr 1fr; } }

.programas { position: relative; display: grid; gap: 14px; }
.programa { background: var(--superficie); border-radius: 24px 10px 24px 24px; padding: 22px 24px; display: grid; grid-template-columns: 46px 1fr; gap: 4px 16px; box-shadow: var(--sombra-suave); transition: transform .35s var(--entrar); }
.programa:nth-child(2) { margin-left: clamp(0px, 4vw, 48px); }
.programa:nth-child(3) { margin-left: clamp(0px, 8vw, 96px); }
.programa:hover { transform: translateX(6px); }
.programa .icono { grid-row: span 2; width: 44px; height: 44px; stroke: var(--fam-texto); }
.programa b { font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-entrada); color: var(--teal); display: flex; align-items: center; gap: 10px; }
.programa .vivo { font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-micro); color: #fff; background: var(--fam-1); padding: 3px 10px; border-radius: 999px; }
.programa span { font-size: var(--t-texto); color: var(--gris); }

/* ---------- Equipo: IA + estratega = resultado ---------- */
.flujo { position: relative; display: grid; gap: 16px; }
@media (min-width: 760px) { .flujo { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.flujo__paso { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.flujo__burbuja { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-titulos); font-weight: 700; font-size: var(--t-entrada); }
.flujo__paso:nth-of-type(1) .flujo__burbuja { background: var(--menta); color: var(--teal); }
.flujo__paso:nth-of-type(2) .flujo__burbuja { background: var(--teal); color: var(--crema); width: 108px; height: 108px; }
.flujo__paso:nth-of-type(3) .flujo__burbuja { background: var(--crema); color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); }
.flujo__paso b { font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-entrada); color: var(--teal); }
.flujo__paso span { font-size: var(--t-texto); color: var(--gris); max-width: 26ch; }
.flujo__onda { display: none; }
@media (min-width: 760px) {
  .flujo__onda { display: block; position: absolute; left: 60px; right: calc((100% - 40px) / 3 - 46px); top: 34px; height: 40px; z-index: -1; }
  .flujo__onda path { fill: none; stroke: var(--linea); stroke-width: 2; stroke-dasharray: 6 8; }
}
.equipo__cifras { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: var(--e-7); padding-top: var(--e-6); border-top: 1px solid var(--linea); }
.equipo__cifras .cifra__valor { font-size: var(--t-seccion); }

/* ---------- Tres caminos ---------- */
.caminos { align-items: stretch; }
.camino-tarjeta { position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--superficie); border-radius: 32px 12px 32px 32px; padding: 32px 28px; box-shadow: var(--sombra-suave); }
.camino-tarjeta .icono { width: 46px; height: 46px; }
.camino-tarjeta h3 { font-size: var(--t-tarjeta); }
.camino-tarjeta p { color: var(--tinta); }
.camino-tarjeta .acciones { margin-top: auto; padding-top: 14px; }
.camino-tarjeta__tiempo { font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-detalle); color: var(--menta-oscura); }
.camino-tarjeta--destacada { background: var(--liquido-profundo); color: rgba(246, 244, 236, .86); box-shadow: var(--sombra-alza); }
@media (min-width: 900px) { .camino-tarjeta--destacada { transform: translateY(-20px); } }
.camino-tarjeta--destacada h3 { color: var(--crema); }
.camino-tarjeta--destacada p { color: rgba(246, 244, 236, .82); }
.camino-tarjeta--destacada .icono { stroke: var(--crema); }
.camino-tarjeta--destacada .camino-tarjeta__tiempo { color: var(--menta); }
.camino-tarjeta__sello { position: absolute; top: -13px; right: 26px; background: var(--menta); color: var(--teal); font-family: var(--f-titulos); font-weight: 600; font-size: var(--t-micro); padding: 5px 14px; border-radius: 999px; }
.titulo-centrado { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: clamp(48px, 6vw, 80px); }
.titulo-centrado h2 span { display: block; color: var(--teal-medio); }
.titulo-centrado .t-entrada { margin: var(--e-5) auto 0; }

@media (prefers-reduced-motion: reduce) {
  .resalta::before, .burbuja { animation: none !important; }
}

/* Utilidades mínimas */
.centro { text-align: center; }
.mt-5 { margin-top: var(--e-5); } .mt-6 { margin-top: var(--e-6); } .mt-7 { margin-top: var(--e-7); } .mt-8 { margin-top: var(--e-8); }
.separa { border: 0; border-top: 1px solid var(--linea); margin: 0; }
.franja__encabezado--ancho { max-width: none; }

/* ---------- Franja blanca: respiro entre crema, espuma y profundo ----------
   Las superficies (tarjetas, programas) pasan a crema para seguir contrastando. */
.fondo-blanco { background: var(--blanco); --superficie: var(--crema); --superficie-2: #EFEDE3; }
.marquesina.fondo-blanco { border-top-color: transparent; }
.logo--sobre-profundo { display: none; }

/* Encabezado: sin saltos de línea y sin apretar el menú en pantallas medianas */
.encabezado__accion { flex: none; }
.encabezado__accion .boton, .encabezado__diag { white-space: nowrap; }
@media (max-width: 1279px) { .encabezado__diag { display: none; } }
@media (max-width: 1099px) { .encabezado__accion .boton svg { display: none; } .navegacion summary, .nav-enlace { padding-inline: 10px; } .navegacion summary.con-enlace { padding-inline: 0; } .navegacion summary.con-enlace a { padding-left: 10px; } .navegacion summary.con-enlace svg { margin-right: 10px; } }
