/* Fuentes autoalojadas (fontsource 5.3.0, subconjunto latin, licencia OFL en
   assets/fonts/). Sin peticiones a terceros: permite font-src 'self' en la CSP. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin-300-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin-300-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/courier-prime-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/courier-prime-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/dm-sans-latin-opsz-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   PROVIDENT.IA — lenguaje editorial: campo morado plano, títulos serif en
   mayúsculas, acento naranja, láminas de papel, grano y marco fijo.
   Los mismos tokens viven en frontend/src/index.css (AdelaIA).
   ========================================================================== */
:root {
  --campo:        #2E1065;  /* fondo plano */
  --campo-hondo:  #140828;  /* lámina oscura (logo, video) */
  --papel:        #FBF7F1;  /* panel claro: tinta 14,3:1 */
  --tinta:        #2E1065;  /* texto sobre papel */
  --tinta-suave:  #4C1D95;  /* etiquetas sobre papel (10,3:1) */
  --texto:        #F6F2FB;  /* texto sobre campo (13,8:1) */
  --texto-suave:  rgba(246, 242, 251, 0.78);
  --linea:        rgba(246, 242, 251, 0.22);
  --linea-papel:  rgba(46, 16, 101, 0.14);
  --acento:       #F97316;  /* 5,4:1 sobre campo */
  --acento-texto: #FDBA74;  /* naranja para texto pequeño (9,0:1) */
  --acento-papel: #C2410C;  /* naranja sobre papel (4,9:1) */
  --marca:        #7C3AED;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:  'DM Sans', system-ui, sans-serif;
  --mono:  'Courier Prime', 'Courier New', monospace;

  --texto-tenue:  rgba(246, 242, 251, 0.64); /* etiquetas mono genéricas (6,3:1 sobre campo) */

  /* Escala tipográfica: 8 pasos, bien separados (Butterick, «Practical
     Typography»; escala de Material 3). Todo tamaño de texto sale de aquí:
     no inventar pasos intermedios (13, 15, 17 px…). Los textos de los SVG van
     en unidades del viewBox y quedan fuera. */
  --fs-etiqueta: 12px;                               /* mono en mayúsculas: kickers, numeraciones, menú */
  --fs-pequeno:  14px;                               /* notas, pies de figura, botones, resúmenes */
  --fs-cuerpo:   16px;                               /* texto de lectura */
  --fs-lead:     clamp(1.0625rem, 1.4vw, 1.1875rem); /* 17–19 px: párrafos de entrada */
  --fs-sub:      clamp(1.25rem, 1.7vw, 1.625rem);    /* 20–26 px: subtítulos serif */
  --fs-h3:       clamp(1.5rem, 2.6vw, 2.4rem);       /* 24–38 px: títulos de tarjeta, preguntas */
  --fs-h2:       clamp(2.5rem, 5.6vw, 5.25rem);      /* 40–84 px: títulos de sección, cifras */
  --fs-h1:       clamp(3rem, 6.4vw, 7rem);           /* 48–112 px: portada */

  /* Medida de lectura (Bringhurst: 45–75 caracteres por línea). En em y no en
     ch: el «0» de DM Sans es ancho y 65ch daban ~88 caracteres reales; 34em
     dan ~65 (carácter medio de DM Sans ≈ 0,53em, medido). */
  --medida: 34em;

  --gutter: clamp(16px, 6vw, 96px);
  --seccion: clamp(96px, 12vw, 176px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--campo); }

body {
  margin: 0;
  background: var(--campo);
  color: var(--texto);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--acento); color: var(--tinta); }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; }

a { color: var(--acento-texto); }
a:hover { color: #fff; }
img, video { display: block; max-width: 100%; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--papel); color: var(--tinta); padding: 10px 16px;
  font-family: var(--mono); font-size: var(--fs-pequeno);
}
.skip-link:focus { left: 24px; top: 24px; }

/* Medida de lectura por defecto: párrafos y listas sin clase dentro de main. :where() deja la especificidad en 0, así que
   cualquier regla propia (grillas, tarjetas, max-width explícito) manda. */
main :where(p, ul:not([class]) > li, ol:not([class]) > li) { max-width: var(--medida); }

.wrap { max-width: 1360px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Marco fijo y grano ---------- */
.frame {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  border: 14px solid var(--campo);
}
.noise {
  position: fixed; inset: 0; z-index: 80; pointer-events: none;
  opacity: 0.16; mix-blend-mode: color-burn;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 205px;
}

/* ---------- Tipografía base ---------- */
/* Kicker / numeración «01 —»: orienta, no compite con el título. Más pequeño,
   más tenue y con menos tracking que antes (era 13 px, 0.18em, 78 %). */
.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: var(--fs-etiqueta);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texto-tenue);
  text-wrap: balance; /* sin palabras sueltas al partir en móvil */
}
.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  /* Regla tipográfica: ≥ 1 en títulos en mayúsculas. Con menos, las tildes
     del español (Á, Í, Ó…) invaden la línea de arriba. */
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: break-word; /* a 320 px, palabras como «OPERACIÓN» desbordaban */
}
/* Cormorant usa por defecto cifras de estilo antiguo: en mayúsculas el «2» o el
   «10» se ven diminutos. Cifras de caja alta en todos los títulos. */
h1, h2, h3, .display, .cifras dd, .metricas dd, .dato-grande { font-variant-numeric: lining-nums; }
.display em, .display .em {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--acento);
}
.lead {
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: rgba(246, 242, 251, 0.92);
}

/* ---------- Botones y chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding: 14px 24px;
  font-family: var(--mono); font-size: var(--fs-pequeno); letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn svg { flex: none; }
.btn-primary { background: var(--acento); color: var(--tinta); font-weight: 700; min-height: 60px; font-size: var(--fs-cuerpo); }
.btn-primary:hover { background: #fff; color: var(--tinta); }
.btn-ghost { border-color: rgba(246, 242, 251, 0.6); color: var(--texto); justify-content: center; }
.btn-ghost:hover { background: rgba(246, 242, 251, 0.12); color: #fff; }
.btn-ghost.btn-flecha { justify-content: space-between; }
.btn-tinta { background: var(--tinta); color: var(--papel); font-weight: 700; min-height: 60px; }
.btn-tinta:hover { background: var(--marca); color: #fff; }
.papel .btn-tinta { color: var(--papel); }
.papel .btn-tinta:hover { color: #fff; }

/* ---------- Grupos de enlaces y etiquetas ----------
   Nada de nubes de recuadros de ancho variable (se ven desordenadas): todo va
   en rejillas de columnas iguales o en listas con filetes, alineado al texto. */

/* Índice «En esta página»: columnas iguales con filete y número */
.indice-lista {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 24px;
  list-style: none; margin: 0; padding: 0;
}
.indice-lista li { border-top: 1px solid var(--linea); }
.indice-lista a {
  display: flex; align-items: baseline; gap: 12px; min-height: 48px; padding: 14px 0 10px;
  color: var(--texto); text-decoration: none; font-size: var(--fs-pequeno);
}
.indice-lista a span { font-family: var(--mono); font-size: var(--fs-etiqueta); color: var(--texto-tenue); }
.indice-lista a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.3em; }

/* Control segmentado: opciones de igual ancho, bordes compartidos */
.segmentos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(246, 242, 251, 0.32); }
.segmentos a {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 10px;
  font-family: var(--mono); font-size: var(--fs-pequeno); letter-spacing: 0.08em; color: var(--texto); text-decoration: none;
  border-left: 1px solid rgba(246, 242, 251, 0.32); transition: background-color 0.15s ease, color 0.15s ease;
}
.segmentos a:first-child { border-left: 0; }
.segmentos a:hover { background: var(--texto); color: var(--tinta); }
@media (max-width: 479px) {
  .segmentos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .segmentos a:nth-child(3) { border-left: 0; }
  .segmentos a:nth-child(n+3) { border-top: 1px solid rgba(246, 242, 251, 0.32); }
}

/* Lista de enlaces con filete: texto a la izquierda, flecha a la derecha */
.lista-enlaces { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linea); }
.lista-enlaces li { border-bottom: 1px solid var(--linea); }
.lista-enlaces a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding: 12px 0;
  color: var(--texto); text-decoration: none; font-size: var(--fs-cuerpo);
}
.lista-enlaces a span { font-family: var(--mono); color: var(--acento-texto); transition: transform 0.15s ease; }
.lista-enlaces a:hover { color: #fff; }
.lista-enlaces a:hover span { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .lista-enlaces a span { transition: none; } }

/* ---------- Navegación ---------- */
/* Cabecera parcialmente persistente (NN/g, «Sticky headers»): se oculta al bajar
   y reaparece en cuanto se sube, así el menú está a mano en páginas largas sin
   tapar la lectura. La sombra extiende el fondo plano a todo el ancho. */
body > header.wrap {
  position: sticky; top: 0; z-index: 70;
  background: var(--campo); box-shadow: 0 0 0 100vmax var(--campo); clip-path: inset(0 -100vmax);
  padding-bottom: 12px;
  transition: transform 0.35s ease;
}
body > header.wrap.cabecera-oculta { transform: translateY(-100%); }
body > header.wrap.cabecera-flotando { clip-path: inset(0 -100vmax -1px); border-bottom: 1px solid var(--linea); }
html { scroll-padding-top: var(--alto-cabecera, 0px); }
@media (prefers-reduced-motion: reduce) { body > header.wrap { transition: none; } }
.nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px 24px; padding-top: clamp(20px, 2.6vw, 36px);
}
.nav-brand { display: flex; align-items: center; gap: 12px; color: var(--texto); text-decoration: none; }
.nav-brand img { width: 88px; height: 45px; object-fit: contain; margin: -6px -14px -6px -18px; }
.nav-brand span { font-family: var(--mono); font-weight: 700; font-size: 18px; letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links {
  display: flex; flex-wrap: wrap; gap: 12px clamp(18px, 1.9vw, 36px); list-style: none; margin: 0; padding: 0;
  font-family: var(--mono); font-size: var(--fs-etiqueta); letter-spacing: 0.12em; text-transform: uppercase;
}
.nav-links a, .link-plano { color: var(--texto); text-decoration: none; opacity: 0.8; }
.nav-links a:hover, .link-plano:hover { opacity: 1; color: #fff; text-decoration: underline; text-underline-offset: 0.35em; }
.nav-links a[aria-current="page"] { opacity: 1; color: var(--acento-texto); text-decoration: underline; text-underline-offset: 0.35em; }
.nav .btn { min-height: 44px; padding: 10px 16px; gap: 12px; font-size: var(--fs-etiqueta); letter-spacing: 0.1em; }
.nav .btn-ghost { border-color: rgba(246, 242, 251, 0.38); }
/* Por debajo de 1280 px: marca y botón en una fila; los cinco enlaces en una
   segunda fila que se desplaza en horizontal (sin barra visible) y llega al borde. */
@media (max-width: 1279px) {
  .nav { gap: 8px 16px; }
  .nav-links {
    order: 3; flex-basis: calc(100% + 2 * var(--gutter)); flex-wrap: nowrap; overflow-x: auto;
    margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter); /* aire para el foco visible */
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
    gap: 0 clamp(20px, 3vw, 36px);
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links li { flex: none; }
  .nav-links a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.enlace-mas {
  font-family: var(--mono); font-size: var(--fs-pequeno); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--acento-texto); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.35em;
}
.enlace-mas:hover { color: #fff; }

/* ---------- Portada ---------- */
.hero { padding-top: clamp(64px, 11vw, 168px); }

/* Inicio: eslogan, propuesta de valor y CTA primario visibles sin bajar
   (1280×800 y 390×844). En móvil el fénix pasa debajo del CTA. */
.hero-inicio {
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy" "idea" "acciones" "lead" "lamina";
  padding-top: clamp(32px, 5.4vw, 88px);
}
.hero-inicio .hero-copy { grid-area: copy; }
.hero-inicio .hero-idea { grid-area: idea; margin-top: 28px; max-width: 30ch; }
.hero-inicio .hero-actions { grid-area: acciones; margin-top: 28px; max-width: 460px; }
.hero-inicio .hero-lead { grid-area: lead; margin-top: 28px; max-width: 640px; }
.hero-inicio .lamina { grid-area: lamina; margin-top: 48px; width: 100%; max-width: 480px; }
@media (min-width: 900px) {
  .hero-inicio {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    grid-template-areas: "copy lamina" "idea acciones" "lead acciones";
    column-gap: clamp(40px, 5vw, 80px);
  }
  .hero-inicio .lamina { margin-top: 0; align-self: end; max-width: none; }
  .hero-inicio .hero-idea, .hero-inicio .hero-actions { margin-top: clamp(32px, 3.6vw, 56px); }
  .hero-inicio .hero-actions { align-self: start; }
}
.hero-secundario {
  display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px;
  font-family: var(--mono); font-size: var(--fs-pequeno); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--texto); text-decoration: underline; text-decoration-color: rgba(246, 242, 251, 0.45);
  text-decoration-thickness: 1px; text-underline-offset: 0.35em;
}
.hero-secundario:hover { color: #fff; text-decoration-color: var(--acento); }
.hero-copy { min-width: 0; }
.hero-title { margin-top: 24px; font-size: var(--fs-h1); line-height: 1; letter-spacing: 0.01em; }
.hero-title span { display: block; }

.lamina { margin: 0; }
.lamina-plato {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(24px, 3vw, 44px);
  background: var(--campo-hondo);
  border: 1px solid rgba(246, 242, 251, 0.18);
}
.lamina-plato .hero-logo-svg { flex: none; width: 150%; max-width: none; height: auto; opacity: 0; transition: opacity 0.6s ease; }
.lamina-plato .hero-logo-svg.visible { opacity: 1; }
html:not(.js) .lamina-plato .hero-logo-svg { opacity: 1; }
.phoenix-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: lighten; transition: opacity 0.5s ease;
}
.phoenix-video.fade-out { opacity: 0; }
.lamina figcaption {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 12px;
  font-family: var(--mono); font-size: var(--fs-etiqueta); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--texto-tenue);
}

.hero-bottom { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; margin-top: clamp(48px, 6vw, 88px); }
.hero-bottom .lead { flex: 1 1 420px; max-width: 640px; }
.hero-idea {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: var(--fs-h3); line-height: 1.15;
}
.hero-actions { display: flex; flex-direction: column; gap: 12px; }

.cifras {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: clamp(64px, 8vw, 112px) 0 0; border-top: 1px solid var(--linea);
}
.cifras > div { padding: 28px 24px 0 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.cifras dd { margin: 0; font-family: var(--serif); font-weight: 300; font-size: var(--fs-h2); line-height: 0.9; }
.cifras dt { margin-top: 14px; font-family: var(--mono); font-size: var(--fs-etiqueta); letter-spacing: 0.14em; text-transform: uppercase; color: var(--texto-suave); }

/* ---------- Secciones ---------- */
.seccion { padding-top: var(--seccion); scroll-margin-top: 24px; }
.seccion-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-bottom: 40px; border-bottom: 1px solid var(--linea);
}
.seccion-title { margin-top: 20px; font-size: var(--fs-h2); line-height: 1; }
.seccion-head .lead { margin-top: 28px; max-width: 680px; }

.anillo { display: inline-flex; flex: none; border-radius: 999px; padding: 2px; background: linear-gradient(135deg, #7C3AED, #C026D3, #F97316); }
.anillo img { width: 112px; height: 112px; border-radius: 999px; object-fit: cover; }

.dos-col { display: flex; flex-wrap: wrap; gap: 56px; margin-top: 56px; align-items: flex-start; }
.dos-col > * { flex: 1 1 440px; min-width: 0; }

.pregunta-grande { margin-top: 40px; }
.pregunta-grande::before { content: ''; display: block; width: 56px; height: 4px; background: var(--acento); }
.pregunta-grande p { margin: 18px 0 0; font-family: var(--serif); font-style: italic; font-size: var(--fs-h3); line-height: 1.2; }

.lista-num { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid rgba(246, 242, 251, 0.18); }
.lista-num li {
  display: grid; grid-template-columns: 48px minmax(0, var(--medida)); gap: 12px; padding: 16px 0;
  border-bottom: 1px solid rgba(246, 242, 251, 0.18); font-size: var(--fs-cuerpo); line-height: 1.5;
}
.lista-num li > span:first-child { font-family: var(--mono); font-size: var(--fs-pequeno); line-height: 1.7; color: var(--acento-texto); }

.perfiles { margin-top: 36px; }
.perfiles .eyebrow { margin: 0 0 14px; }
.cta-adelaia { display: flex; width: fit-content; margin-top: 32px; min-height: 56px; font-size: var(--fs-cuerpo); }
.nota-mono { margin: 20px 0 0; max-width: 44em; font-family: var(--mono); font-size: var(--fs-pequeno); line-height: 1.6; letter-spacing: 0.04em; color: var(--texto-suave); }

/* Lámina de papel */
.papel { background: var(--papel); color: var(--tinta); padding: clamp(24px, 3.4vw, 48px); }
.papel a { color: #6D28D9; }
.papel-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding-bottom: 20px; border-bottom: 1px solid var(--linea-papel);
}
.etiqueta-papel { margin: 0; font-family: var(--mono); font-size: var(--fs-etiqueta); letter-spacing: 0.14em; text-transform: uppercase; color: var(--tinta-suave); }
.etiqueta-papel.naranja { color: var(--acento-papel); font-weight: 700; }
.sello {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--tinta);
  font-family: var(--mono); font-size: var(--fs-etiqueta); letter-spacing: 0.1em; text-transform: uppercase;
}
.sello::before { content: ''; width: 8px; height: 8px; background: var(--acento-papel); }
.papel .pregunta { margin: 8px 0 0; font-family: var(--serif); font-weight: 500; font-size: var(--fs-h3); line-height: 1.1; }
.papel .respuesta { margin: 8px 0 0; font-size: var(--fs-cuerpo); line-height: 1.65; }
.papel .etiqueta-papel + .pregunta, .papel .etiqueta-papel + .respuesta { margin-top: 8px; }
.papel .pregunta + .respuesta { margin-top: 20px; }
.papel .bloque { margin-top: 28px; }
.citas { list-style: none; margin: 10px 0 0; padding: 0; border-bottom: 1px solid var(--linea-papel); }
.citas li {
  display: grid; grid-template-columns: 36px 1fr; gap: 8px; padding: 12px 0;
  border-top: 1px solid var(--linea-papel); font-family: var(--mono); font-size: var(--fs-pequeno); line-height: 1.5;
}
.citas li > span:first-child { color: var(--acento-papel); font-weight: 700; }
.figura { margin: 0; }
.figura figcaption { margin-top: 14px; font-family: var(--mono); font-size: var(--fs-pequeno); line-height: 1.6; letter-spacing: 0.03em; color: rgba(246, 242, 251, 0.72); }

.metricas { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin: 72px 0 0; }
.metricas > div { padding-top: 20px; border-top: 1px solid var(--linea); display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.metricas dd { margin: 0; font-family: var(--serif); font-weight: 300; font-size: var(--fs-h2); line-height: 1; }
.metricas dd.naranja { color: var(--acento); }
.metricas dt { margin-top: 10px; font-size: var(--fs-pequeno); line-height: 1.5; color: rgba(246, 242, 251, 0.8); }

/* Tarjetas con arco animado (único uso del degradado fuera del logo) */
.tarjetas { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.tarjetas.dos { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.tarjeta {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 32px;
  border: 1px solid var(--linea); transition: background-color 0.2s ease, color 0.2s ease;
}
.tarjeta::before {
  content: ''; position: absolute; inset: -1px; padding: 1.5px; pointer-events: none; opacity: 0;
  transition: opacity 0.25s ease;
  background: linear-gradient(160deg, rgba(124,58,237,0) 0%, #7C3AED 28%, #C026D3 45%, #F97316 62%, rgba(249,115,22,0) 82%);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.tarjeta:hover { background: var(--papel); color: var(--tinta); }
.tarjeta:hover::before { opacity: 1; animation: arco 2.2s linear infinite; }
.tarjeta-num { font-family: var(--mono); font-size: var(--fs-etiqueta); letter-spacing: 0.14em; text-transform: uppercase; color: var(--texto-tenue); }
.tarjeta:hover .tarjeta-num { color: var(--tinta-suave); }
.tarjeta h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); line-height: 1; text-transform: uppercase; }
.tarjeta p { margin: 0; font-size: var(--fs-cuerpo); line-height: 1.6; } /* el texto fluye desde arriba, sin hueco tras el título */
@keyframes arco { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }

/* Inicio: tarjeta grande por línea de servicio (conserva el arco, no se invierte) */
.tarjeta.linea { gap: 20px; padding: clamp(24px, 3vw, 40px); }
.tarjeta.linea:hover { background: rgba(246, 242, 251, 0.04); color: var(--texto); }
.tarjeta.linea .tarjeta-num, .tarjeta.linea:hover .tarjeta-num { color: var(--acento-texto); }
.tarjeta.linea .linea-frase { margin: 0; font-size: var(--fs-lead); line-height: 1.6; color: rgba(246, 242, 251, 0.92); }
.tarjeta.linea .lista-num { margin: 4px 0 0; }
.tarjeta.linea .lista-num li { font-size: var(--fs-cuerpo); padding: 12px 0; }
.linea-ilus { width: 100%; max-width: 360px; height: auto; margin-bottom: 8px; }
.linea-cta { margin-top: auto; align-self: flex-start; }
.ilus-trazo { fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.ilus-acento { fill: var(--acento); }
.ilus-acento-trazo { fill: none; stroke: var(--acento); stroke-width: 3; stroke-linecap: round; }
.ilus-guia { fill: none; stroke: var(--acento); stroke-width: 1.25; stroke-dasharray: 4 4; }
.ilus-texto { font-family: var(--mono); font-size: 15px; font-weight: 700; fill: var(--acento-texto); }

/* Inicio: Fig. 02 «Dos líneas, una fábrica» — lámina grabada sobre #140828
   (horizontal ≥ 960 px, vertical debajo). Texto del SVG ≥ 14 px en pantalla. */
.fabrica { margin-top: clamp(56px, 7vw, 96px); padding-top: 40px; border-top: 1px solid var(--linea); }
.fabrica svg { display: block; width: 100%; height: auto; }
.fabrica .fabrica-h { display: none; }
.fabrica .fabrica-v { max-width: 560px; margin-inline: auto; }
@media (min-width: 960px) {
  .fabrica .fabrica-h { display: block; }
  .fabrica .fabrica-v { display: none; }
}
.fab-plancha { fill: var(--campo-hondo); stroke: rgba(246, 242, 251, 0.18); stroke-width: 1; }
.fab-reticula { fill: none; stroke: rgba(246, 242, 251, 0.06); stroke-width: 1; }
.fab-registro { fill: none; stroke: rgba(246, 242, 251, 0.4); stroke-width: 1; }
.fab-trazo { fill: none; stroke: rgba(246, 242, 251, 0.7); stroke-width: 1.25; stroke-linecap: round; }
.fab-trazo-civico { stroke: var(--acento); stroke-width: 1.5; }
.fab-origen { fill: var(--campo-hondo); stroke: var(--texto); stroke-width: 1.25; }
.fab-anillo { fill: none; stroke: var(--texto); stroke-width: 1.5; }
.fab-anillo-fino { fill: rgba(246, 242, 251, 0.03); stroke: rgba(246, 242, 251, 0.35); stroke-width: 1; }
.fab-dientes { fill: none; stroke: rgba(246, 242, 251, 0.35); stroke-width: 10; stroke-dasharray: 1 7; }
.fab-destino { fill: var(--acento); }
.fab-destino-aro { fill: none; stroke: var(--acento); stroke-width: 1; }
.fab-num { font-family: var(--mono); font-size: 20px; font-weight: 700; letter-spacing: 0.16em; fill: var(--acento-texto); }
.fab-linea { font-family: var(--serif); font-size: 42px; font-weight: 400; fill: var(--texto); }
.fab-linea-v { font-size: 30px; }
.fab-cursiva { font-style: italic; fill: var(--texto-suave); }
.fab-naranja { fill: var(--acento-texto); }
.fab-nucleo { font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: 0.06em; fill: var(--texto); }
.fab-nucleo-v { font-size: 21px; letter-spacing: 0.05em; }
.fab-nota { font-family: var(--mono); font-size: 20px; letter-spacing: 0.14em; fill: var(--texto-suave); }
.fab-nota-v { font-size: 17px; letter-spacing: 0.04em; }
.fab-nota-naranja { fill: var(--acento-texto); }
/* Los trazos se dibujan al aparecer la figura (solo con JS y con movimiento) */
.js .fabrica .fab-trazo { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s ease 0.3s; }
.js .fabrica .fab-trazo-civico { transition-delay: 1.5s; }
.js .fabrica.visible .fab-trazo { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .js .fabrica .fab-trazo { stroke-dashoffset: 0; }
}

/* Inicio: franja «Por qué Provident» */
.franja {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0;
  list-style: none; margin: 48px 0 0; padding: 0;
}
.franja li { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--linea); }
.franja-num { font-family: var(--mono); font-size: var(--fs-etiqueta); letter-spacing: 0.14em; color: var(--acento-texto); }
.franja h3 { margin: 14px 0 0; font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); line-height: 1.05; text-transform: uppercase; }
.franja p { margin: 12px 0 0; max-width: 34ch; font-size: var(--fs-cuerpo); line-height: 1.6; color: rgba(246, 242, 251, 0.88); }
.firma { display: flex; align-items: center; gap: 20px; margin-top: 48px; max-width: 760px; }
.firma img { flex: none; width: 72px; height: 72px; border-radius: 999px; object-fit: cover; border: 1px solid var(--linea); }
.firma p { margin: 0; font-size: var(--fs-cuerpo); line-height: 1.6; color: rgba(246, 242, 251, 0.88); }

/* Inicio: avance de impacto social */
.impacto { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; padding-top: 40px; border-top: 1px solid var(--linea); }
.impacto-texto { flex: 1 1 480px; min-width: 0; }
.impacto-texto .lead { margin-top: 28px; max-width: 720px; }
.impacto-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 32px; }

/* Especialidades (bloque bajo las cuatro capas de servicio) */
.especialidades { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--linea); }
.especialidades .lead { margin-top: 16px; max-width: 680px; }

/* Equipo */
.retrato { flex: 1 1 300px !important; max-width: 420px; margin: 0; }
.retrato img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.retrato figcaption {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 12px;
  font-family: var(--mono); font-size: var(--fs-etiqueta); letter-spacing: 0.14em; text-transform: uppercase; color: var(--texto-tenue);
}
.bio { flex: 999 1 460px !important; }
.bio h3 { font-size: var(--fs-h3); line-height: 1; }
.rol { margin: 14px 0 0; font-family: var(--mono); font-size: var(--fs-etiqueta); letter-spacing: 0.14em; text-transform: uppercase; color: var(--acento-texto); }
.bio p.cuerpo { margin: 16px 0 0; max-width: var(--medida); font-size: var(--fs-cuerpo); line-height: 1.7; color: rgba(246, 242, 251, 0.92); }
.bio p.cuerpo:first-of-type { margin-top: 28px; }
/* Etiquetas: texto corrido con separador, sin recuadros */
.etiquetas {
  display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; margin: 28px 0 0; padding: 0;
  font-family: var(--mono); font-size: var(--fs-etiqueta); letter-spacing: 0.12em; text-transform: uppercase; color: var(--texto-suave);
}
.etiquetas li + li::before { content: "·"; margin: 0 12px; color: var(--acento-texto); }
/* Variante en rejilla: columnas iguales con filete (listas largas, p. ej. sectores) */
.etiquetas.rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 24px; color: var(--texto); }
.etiquetas.rejilla li { padding: 12px 0; border-top: 1px solid var(--linea); }
.etiquetas.rejilla li::before { content: none; }
.nota-academica { margin-top: 48px; padding: 28px; background: rgba(246, 242, 251, 0.06); border: 1px solid rgba(246, 242, 251, 0.18); }
.nota-academica .kicker { margin: 0; font-family: var(--mono); font-weight: 700; font-size: var(--fs-etiqueta); letter-spacing: 0.14em; text-transform: uppercase; color: var(--acento-texto); }
.nota-academica p { margin: 14px 0 0; font-size: var(--fs-cuerpo); line-height: 1.65; }
.nota-academica p.letra-menuda { font-size: var(--fs-pequeno); line-height: 1.6; color: rgba(246, 242, 251, 0.75); }

/* Contacto */
.contacto {
  display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between;
  padding: clamp(28px, 5vw, 72px);
}
.contacto > div:first-child { flex: 999 1 460px; min-width: 0; }
.contacto .display { margin-top: 20px; font-size: var(--fs-h2); line-height: 1; }
.contacto p.texto { margin: 24px 0 0; max-width: 560px; font-size: var(--fs-lead); line-height: 1.6; }
.contacto .correo {
  display: inline-block; margin-top: 28px; color: var(--tinta);
  font-family: var(--serif); font-style: italic; font-size: var(--fs-h3);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; overflow-wrap: anywhere;
}
.contacto .correo:hover { color: var(--marca); }
.contacto-acciones { flex: 1 1 280px; max-width: 380px; display: flex; flex-direction: column; gap: 14px; }
.contacto-acciones p { margin: 0; font-family: var(--mono); font-size: var(--fs-pequeno); line-height: 1.6; letter-spacing: 0.04em; color: var(--tinta-suave); }

/* Pie */
.pie {
  margin-top: clamp(96px, 10vw, 160px); padding-top: 40px; padding-bottom: 48px;
  /* filete superior dentro del margen, como los de las secciones */
  background: linear-gradient(rgba(246, 242, 251, 0.18), rgba(246, 242, 251, 0.18)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.pie-palabra {
  margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 11vw, 10.5rem); line-height: 0.85;
  text-transform: uppercase; color: var(--acento); opacity: 0.28; white-space: nowrap; user-select: none;
  overflow: hidden; padding-block: 0.08em; /* recorta solo la palabra decorativa (el texto del pie no); el relleno evita cortar los trazos */
}
.pie-meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; margin-top: 40px;
  font-family: var(--mono); font-size: var(--fs-pequeno); letter-spacing: 0.08em; line-height: 1.6; color: var(--texto-suave);
}
.pie-meta nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.pie-meta nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* Aparición suave (solo con JS y sin movimiento reducido) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 767px) {
  .frame { display: none; }
  .nav-links { letter-spacing: 0.1em; }
  .nav-brand { gap: 10px; }
  .nav-brand img { width: 64px; height: 33px; margin: -4px -10px -4px -13px; }
  .nav-brand span { font-size: 15px; letter-spacing: 0.08em; }
  .nav .btn { padding: 8px 12px; letter-spacing: 0.08em; }
}
@media (max-width: 479px) {
  .nav .btn svg { display: none; }
  /* desvanecido en el borde derecho: indica que la fila de enlaces se desplaza */
  .nav-links {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent);
    padding-inline-end: max(var(--gutter), 48px); /* al final del recorrido, «Contacto» queda fuera del desvanecido */
  }
}
@media (max-width: 379px) {
  .nav { column-gap: 12px; }
  .nav-brand span { font-size: 13px; letter-spacing: 0.06em; }
  .nav .btn { padding: 8px 10px; letter-spacing: 0.06em; }
}

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

/* ---------- Transición entre páginas (View Transitions entre documentos) ----------
   Fundido corto al ir de una página a otra; la cabecera no se mueve, así se lee
   como un mismo sitio. Solo CSS: los navegadores sin soporte navegan normal. */
@view-transition { navigation: auto; }
body > header.wrap { view-transition-name: cabecera; }
::view-transition-group(cabecera) { animation-duration: 0s; }
::view-transition-old(root) { animation: 160ms ease-in both pagina-sale; }
::view-transition-new(root) { animation: 280ms ease-out 60ms both pagina-entra; }
@keyframes pagina-sale { to { opacity: 0; } }
@keyframes pagina-entra { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* ---------- Recorrido: diagrama interactivo por fases ----------
   Todas las fases visibles (número, nombre y resumen) unidas por flechas; el
   detalle de cada una se abre al elegirla. Sin JS: índice con anclas y todos
   los paneles apilados (mejora progresiva).
   Peso visual bajo (NN/g, diseño minimalista): círculos y flechas en filete
   tenue, sin cajas; el único acento es la fase elegida y la barra de avance.
   El espacio, no las líneas, separa los pasos del panel. */
.recorrido { margin-top: clamp(32px, 4vw, 48px); }
.recorrido-pasos {
  position: relative; display: grid; grid-template-columns: repeat(var(--pasos, 4), minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 48px); list-style: none; margin: 0; padding: 0;
}
.recorrido-pasos li { position: relative; }
/* Flecha entre pasos: une los círculos por arriba (el texto va debajo, sin cruzarse) */
.recorrido-pasos li:not(:last-child)::after {
  content: ""; position: absolute; top: 18px; left: 50px; right: calc(-1 * clamp(20px, 3vw, 48px) + 14px);
  height: 1px; background: var(--linea);
}
.recorrido-pasos li:not(:last-child)::before {
  content: ""; position: absolute; top: 14px; right: calc(-1 * clamp(20px, 3vw, 48px) + 14px);
  width: 8px; height: 8px; border-top: 1px solid var(--linea); border-right: 1px solid var(--linea);
  transform: rotate(45deg);
}
.recorrido-pasos a {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  color: var(--texto); text-decoration: none; padding-bottom: 24px;
}
.recorrido-num {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--linea);
  font-family: var(--mono); font-size: var(--fs-etiqueta); color: var(--texto-tenue);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.recorrido-nombre {
  margin-top: 16px; font-family: var(--serif); font-size: var(--fs-sub); line-height: 1.1;
  text-transform: uppercase; font-variant-numeric: lining-nums; overflow-wrap: break-word; max-width: 100%;
}
.recorrido-resumen { margin-top: 8px; font-size: var(--fs-pequeno); line-height: 1.5; color: var(--texto-suave); }
.recorrido-pasos a:hover .recorrido-num { border-color: var(--acento); color: var(--texto); }
/* Barra de avance bajo los pasos: filete de 1 px, tramo recorrido en naranja */
.recorrido-progreso { position: relative; height: 1px; background: var(--linea); }
.recorrido-progreso::after {
  content: ""; position: absolute; inset: -1px auto -1px 0; background: var(--acento);
  width: calc((var(--paso, 0) + 1) / var(--pasos, 4) * 100%); transition: width 0.35s ease;
}
.recorrido-panel { padding-top: clamp(32px, 4vw, 56px); }
.recorrido-panel + .recorrido-panel { border-top: 1px solid var(--linea); margin-top: clamp(32px, 4vw, 56px); }
.recorrido-nav { display: none; }
/* El panel recibe foco (tabindex 0 y saltos por #ancla): marca sutil, no el naranja de los controles */
.recorrido-panel:focus-visible { outline: 1px solid var(--linea); outline-offset: 10px; }

/* Con JS: pestañas */
.recorrido-activo .recorrido-panel + .recorrido-panel { border-top: 0; margin-top: 0; }
.recorrido-activo .recorrido-panel[hidden] { display: none; }
.recorrido-activo .recorrido-panel:not([hidden]) { animation: recorrido-entra 0.25s ease-out both; }
@keyframes recorrido-entra { from { opacity: 0; transform: translateY(6px); } }
.recorrido-activo .recorrido-pasos a { cursor: pointer; }
.recorrido-activo [aria-selected="true"] .recorrido-num { background: var(--acento); border-color: var(--acento); color: var(--tinta); font-weight: 700; }
.recorrido-activo .visto .recorrido-num { color: var(--acento-texto); }
.recorrido-activo [aria-selected="true"] .recorrido-nombre { color: #fff; }
.recorrido-activo .recorrido-pasos a:not([aria-selected="true"]) .recorrido-nombre { opacity: 0.78; }
.recorrido-activo .recorrido-pasos a:not([aria-selected="true"]):hover .recorrido-nombre { opacity: 1; }
/* Anterior / siguiente: sin filete propio, separado por aire */
.recorrido-activo .recorrido-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(24px, 3vw, 40px); }
.recorrido-nav button {
  min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: var(--fs-etiqueta); letter-spacing: 0.12em; text-transform: uppercase; color: var(--acento-texto);
}
.recorrido-nav button:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.35em; }
.recorrido-nav button[disabled] { visibility: hidden; }
.recorrido:not(.recorrido-activo) .recorrido-progreso { display: none; }

/* Tableta y móvil: pasos en rejilla 2×2, sin flechas horizontales (entre 640 y
   900 px, cuatro columnas partían nombres largos como «DESCUBRIMIENTO»). */
@media (max-width: 899px) {
  .recorrido-pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
  .recorrido-pasos li:not(:last-child)::before, .recorrido-pasos li:not(:last-child)::after { content: none; }
  .recorrido-pasos a { padding-bottom: 16px; }
}
@media (max-width: 639px) {
  .recorrido-num { width: 32px; height: 32px; }
  .recorrido-nombre { margin-top: 10px; font-size: var(--fs-cuerpo); }
}
@media (max-width: 379px) {
  .recorrido-nombre { font-size: var(--fs-pequeno); }
}
@media (prefers-reduced-motion: reduce) {
  .recorrido-activo .recorrido-panel:not([hidden]) { animation: none; }
  .recorrido-progreso::after, .recorrido-num { transition: none; }
}
