/* ===== Tokens ===== */
:root {
  --papel: #eeede8;
  --papel-2: #e5e4de;
  --tinta: #232524;
  --grafito: #5d605d;
  --linea: rgba(35, 37, 36, 0.2);
  --guia: rgba(35, 37, 36, 0.13);
  --teal: #366171;
  --teal-hover: #2b4f5c;
  --sans: "Archivo", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
img { display: block; max-width: 100%; }

/* Marco: la retícula visible de toda la página */
.marco { width: min(1360px, 100% - 32px); margin-inline: auto; border-inline: 1px solid var(--linea); }
.fila { border-bottom: 1px solid var(--linea); position: relative; }
/* Cruces en las esquinas de cada fila */
.fila::before, .fila::after {
  content: ""; position: absolute; bottom: -6px; width: 11px; height: 11px; z-index: 2;
  background:
    linear-gradient(var(--tinta), var(--tinta)) center / 11px 1px no-repeat,
    linear-gradient(var(--tinta), var(--tinta)) center / 1px 11px no-repeat;
}
.fila::before { left: -6px; }
.fila::after { right: -6px; }

/* ===== Tipografía ===== */
.titulo {
  font-family: var(--sans); font-weight: 650; font-stretch: 86%;
  text-transform: uppercase; letter-spacing: -0.012em; line-height: .94; margin: 0;
}
.h1 { font-size: clamp(2.5rem, 4.6vw, 4.4rem); }
.h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); }
.h3 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1; }
.etiqueta { font: 500 .6875rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--grafito); }
.texto { color: var(--grafito); font-size: 1rem; max-width: 46ch; margin: 0; }

/* ===== Navegación ===== */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; padding: 0 20px; }
.nav img { height: 19px; width: auto; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font: 500 .6875rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--tinta); }
.nav ul a:hover { color: var(--teal); }
.nav .boton { justify-self: end; }

.boton {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px;
  background: var(--teal); color: #fff; text-decoration: none;
  font: 500 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em;
  transition: background-color .2s ease;
}
.boton:hover { background: var(--teal-hover); }
.boton-grande { height: 48px; padding: 0 22px; }

/* ===== Portada ===== */
.portada { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 640px; }
.portada-texto { padding: 48px 32px 40px; display: flex; flex-direction: column; justify-content: center; gap: 36px; border-right: 1px solid var(--linea); }
.portada-texto .texto { margin-top: 28px; font-size: 1.0625rem; }
.portada-accion { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.portada-accion small { color: var(--grafito); font-size: .875rem; }

.portada-dibujo { position: relative; overflow: hidden; }
.sol { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--teal); right: 6%; top: 5%; }
.guia-teal { position: absolute; left: 0; right: 0; height: 1px; background: var(--teal); transform-origin: left; }
.guia-teal.g1 { top: 16%; }
.guia-teal.g2 { top: 86%; }
.portada-dibujo { display: grid; place-items: center; padding: 6% 4% 7%; }
/* La escena guarda la proporción del dibujo para que la capa SVG caiga exacta encima */
.escena { position: relative; width: 100%; aspect-ratio: 1320 / 812; will-change: transform; }
.escena img { position: absolute; inset: 0; width: 100%; height: 100%; }
.capa { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.conexion { fill: none; stroke: var(--teal); stroke-width: 2; }
.conexion-fina { stroke-width: 1.4; stroke-dasharray: 5 5; }
.pulso { fill: var(--teal); opacity: 0; transition: opacity .4s ease; }
.sistema-activo .pulso { opacity: 1; }
.nodo rect { fill: var(--papel); stroke: var(--tinta); stroke-width: 1.2; }
.nodo text, .rotulo text { font: 500 20px var(--mono); text-transform: uppercase; letter-spacing: .06em; fill: var(--tinta); text-anchor: middle; }
.marca-svg > rect { fill: var(--teal); }
.marca-svg line { stroke: var(--teal); stroke-width: 1.6; }
.rotulo rect { fill: var(--papel); stroke: var(--linea); }
.cota { stroke: var(--teal); stroke-width: 1.2; }
.cota-texto { font: 500 19px var(--mono); text-transform: uppercase; letter-spacing: .06em; fill: var(--teal); text-anchor: middle; }
.coordenada { position: absolute; left: 16px; bottom: 14px; }

/* Tira de herramientas: marquesina horizontal que se detiene al pasar el mouse */
.herramientas { display: grid; grid-template-columns: 180px minmax(0, 1fr); }
.herramientas > .etiqueta { padding: 18px 16px; border-right: 1px solid var(--linea); display: flex; align-items: center; }
.marquesina { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.pista { display: flex; width: max-content; animation: desplazar 55s linear infinite; }
.marquesina:hover .pista, .marquesina:focus-within .pista { animation-play-state: paused; }
.pista ul { display: flex; list-style: none; margin: 0; padding: 0; }
.pista li { display: flex; align-items: center; gap: 14px; padding: 18px 26px 18px 0; font-weight: 600; font-size: .9375rem; white-space: nowrap; }
.pista li::before { content: ""; width: 7px; height: 7px; background: var(--teal); flex: none; }
@keyframes desplazar { to { transform: translateX(-50%); } }
/* Con movimiento reducido no se mueve sola: se desliza con el dedo o el trackpad */
@media (prefers-reduced-motion: reduce) {
  .marquesina { overflow-x: auto; }
  .pista { animation: none; }
  .pista ul[aria-hidden] { display: none; }
}
.solo-movil { display: none; }

/* ===== Problemas ===== */
.cabecera { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; padding: 56px 32px 48px; align-items: end; }
.cabecera .etiqueta { display: block; margin-bottom: 18px; }
.cabecera .texto { justify-self: end; }
.celdas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.celda { border-right: 1px solid var(--linea); display: grid; grid-template-rows: auto 1fr auto; min-height: 520px; }
.celda:last-child { border-right: 0; }
.celda-cabeza { display: flex; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--linea); }
.celda-dibujo { display: grid; place-items: center; padding: 28px; }
.celda-dibujo svg { width: min(180px, 70%); height: auto; overflow: visible; }
.celda-texto { padding: 0 16px 24px; display: grid; gap: 14px; }
.celda-texto .texto { font-size: .9375rem; }

/* Trazos de los dibujos isométricos */
.iso-linea { fill: none; stroke: var(--tinta); stroke-width: 1; stroke-linejoin: round; }
.iso-oculta { fill: none; stroke: var(--tinta); stroke-width: .8; stroke-dasharray: 3 3; opacity: .45; }
.iso-cara { fill: var(--papel); }
.iso-teal { fill: var(--teal); }

/* ===== Servicios ===== */
.servicios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.servicio { border-right: 1px solid var(--linea); display: grid; grid-template-rows: auto auto 1fr; }
.servicio:last-child { border-right: 0; }
.lamina { position: relative; margin: 20px; border: 1px dashed var(--guia); background-image: linear-gradient(var(--guia) 1px, transparent 1px), linear-gradient(90deg, var(--guia) 1px, transparent 1px); background-size: 24px 24px; background-position: -1px -1px; }
.lamina svg { display: block; width: 100%; height: auto; }
.diagrama-linea { fill: none; stroke: var(--tinta); stroke-width: 1; }
.diagrama-caja { fill: var(--papel); stroke: var(--tinta); stroke-width: 1; }
.diagrama-texto { font: 500 10.5px var(--mono); fill: var(--tinta); text-transform: uppercase; letter-spacing: .04em; }
.diagrama-texto-sm { font: 400 10px var(--mono); fill: var(--grafito); }
.diagrama-codigo { font: 400 11px var(--mono); fill: var(--tinta); }
.diagrama-teal { fill: var(--teal); }
.diagrama-nota { font: 500 9.5px var(--mono); fill: var(--teal); text-transform: uppercase; letter-spacing: .05em; }
.servicio-texto { padding: 4px 20px 28px; display: grid; gap: 14px; align-content: start; }

/* La portada ocupa la pantalla completa en escritorio: al fijarse no deja franjas vacías */
@media (min-width: 901px) { .portada { min-height: 100vh; } }


/* ===== Frase a pantalla completa ===== */
.frase { min-height: 80vh; display: grid; place-items: center; padding: 96px 32px; text-align: center; }
.frase p { margin: 0; max-width: 17ch; font-size: clamp(2.2rem, 5.2vw, 4.8rem); }
.frase .palabra { display: inline-block; }

/* ===== Qué se puede automatizar: acordeón con dibujo ===== */
.ejemplos { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-top: 1px solid var(--linea); }
.ejemplos-figura { position: relative; border-right: 1px solid var(--linea); overflow: hidden; min-height: 620px; margin: 0; }
.ejemplos-figura .area-img { position: absolute; inset: 6% 8%; width: 84%; height: 88%; object-fit: contain; opacity: 0; transition: opacity .6s ease; }
.ejemplos-figura .area-img.activa { opacity: 1; }
.area-sol { position: absolute; width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--teal); left: 6%; top: 8%; }
.area-barra { position: absolute; width: 11%; height: 46%; background: var(--teal); right: 12%; top: 0; }
.ejemplos-figura .etiqueta { position: absolute; left: 16px; bottom: 14px; }
.areas { display: flex; flex-direction: column; }
.area { border-bottom: 1px solid var(--linea); }
.area:last-child { border-bottom: 0; }
.area h3 { margin: 0; }
.area button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left; color: var(--tinta);
  font: 650 clamp(1.15rem, 1.6vw, 1.45rem)/1 var(--sans); font-stretch: 86%; text-transform: uppercase; letter-spacing: -0.01em;
}
.area button:hover { color: var(--teal); }
.area button i { position: relative; width: 14px; height: 14px; flex: none; }
.area button i::before, .area button i::after { content: ""; position: absolute; background: currentColor; left: 0; top: 6.5px; width: 14px; height: 1px; transition: transform .3s ease; }
.area button i::after { transform: rotate(90deg); }
.area.abierta button i::after { transform: rotate(0); }
.area-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease; }
.area.abierta .area-panel { grid-template-rows: 1fr; }
.area-panel > div { overflow: hidden; }
.tareas { list-style: none; margin: 0; padding: 0 24px 22px; display: grid; gap: 12px; }
.tareas li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 14px; align-items: baseline; color: var(--grafito); }
.tareas li::before { content: ""; width: 9px; height: 9px; background: var(--teal); transform: translateY(-1px); }
.tareas small { font: 500 .6875rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--grafito); opacity: .8; text-align: right; }

/* ===== Cómo trabajamos ===== */
.linea-proceso { position: relative; height: 44px; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.linea-proceso .riel { position: absolute; left: 12.5%; right: 12.5%; top: 50%; height: 1px; background: var(--linea); }
.linea-proceso .avance { position: absolute; left: 12.5%; right: 12.5%; top: 50%; height: 2px; margin-top: -.5px; background: var(--teal); transform-origin: left; }
.linea-proceso .hito { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 1px solid var(--teal); background: var(--papel); transition: background-color .3s ease; }
.linea-proceso .hito.lleno { background: var(--teal); }
.pasos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.paso { border-right: 1px solid var(--linea); padding: 22px 20px 32px; display: grid; gap: 14px; align-content: start; min-height: 300px; }
.paso:last-child { border-right: 0; }
.paso > .etiqueta { display: flex; justify-content: space-between; }

/* ===== Nosotros ===== */
.nosotros { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.nosotros-foto { position: relative; border-right: 1px solid var(--linea); overflow: hidden; min-height: 560px; margin: 0; }
.nosotros-foto img { position: absolute; bottom: 0; left: 10%; width: 80%; height: 92%; object-fit: cover; object-position: 50% 15%; filter: grayscale(1) contrast(1.08); }
.nosotros-foto .area-sol { width: 46%; left: 44%; top: 5%; }
.nosotros-texto { padding: 56px 32px 48px; display: grid; gap: 24px; align-content: center; }
.datos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--linea); margin-top: 8px; }
.datos > div { padding: 14px 16px 0 0; display: grid; gap: 6px; }
.datos b { font-weight: 600; }
.datos a { color: var(--teal); }

/* ===== Cierre y footer ===== */
.cierre { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.cierre-texto { padding: 56px 32px 48px; border-right: 1px solid var(--linea); display: flex; flex-direction: column; justify-content: center; }
.cierre-texto .etiqueta { display: block; margin-bottom: 18px; }
.cierre-texto .texto { margin-top: 20px; }
.cierre-dibujo { position: relative; margin: 28px 40px; aspect-ratio: 3 / 2; }
.cierre-dibujo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.cierre-dibujo .area-sol { width: 30%; left: auto; right: 10%; top: 4%; }
.agenda { grid-column: 1 / -1; border-top: 1px solid var(--linea); padding: 24px; display: grid; gap: 12px; align-content: start; min-height: 700px; }
.agenda-widget { position: relative; width: 100%; min-height: 660px; }
.agenda-widget:empty::before { content: "Cargando calendario…"; position: absolute; inset: 0; display: grid; place-items: center; font: 500 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--grafito); border: 1px dashed var(--guia); }
.agenda-alterna { margin: 0; font-size: .875rem; color: var(--grafito); }
.agenda-alterna a { color: var(--teal); }
.footer { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }
.footer > div { padding: 22px 20px 28px; border-right: 1px solid var(--linea); display: grid; gap: 10px; align-content: start; }
.footer > div:last-child { border-right: 0; }
.footer .titulo { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--teal); }
.pie { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .ejemplos, .nosotros, .cierre { grid-template-columns: 1fr; }
  .cierre-texto { border-right: 0; border-bottom: 1px solid var(--linea); padding-bottom: 40px; }
  .cierre-dibujo { display: none; }
  .agenda { padding: 12px 8px; }
  .ejemplos-figura { border-right: 0; border-bottom: 1px solid var(--linea); min-height: 340px; }
  .nosotros-foto { border-right: 0; border-bottom: 1px solid var(--linea); min-height: 420px; }
  .pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paso:nth-child(2) { border-right: 0; }
  .paso:nth-child(-n+2) { border-bottom: 1px solid var(--linea); }
  .linea-proceso { display: none; }
  .footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer > div:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--linea); }
}
@media (max-width: 600px) {
  .pasos, .datos { grid-template-columns: 1fr; }
  .paso { border-right: 0; border-bottom: 1px solid var(--linea); min-height: 0; }
  .paso:last-child { border-bottom: 0; }
  .tareas li { grid-template-columns: 12px minmax(0, 1fr); }
  .tareas small { grid-column: 2; text-align: left; }
  .frase { min-height: 0; padding: 72px 20px; }
  .nosotros-texto { padding-inline: 20px; }
}

.ejemplos-figura .area-sol, .ejemplos-figura .area-barra { transition: left .8s cubic-bezier(.2, .7, .2, 1), top .8s cubic-bezier(.2, .7, .2, 1), right .8s cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) { .ejemplos-figura .area-sol, .ejemplos-figura .area-barra, .ejemplos-figura .area-img { transition: none; } }


/* Logo: ícono junto al nombre y versión en línea en el footer */
.marca-logo { display: flex; align-items: center; gap: 10px; }
.nav img.logo-icono { height: 30px; width: auto; }
.footer-marca { position: relative; min-height: 220px; }
.logo-linea { position: absolute; right: 20px; bottom: 20px; width: 130px; height: 130px; overflow: visible; }
.logo-trazo { fill: var(--papel); stroke: var(--tinta); stroke-width: 1.4; }
.logo-guia { fill: none; stroke: none; }
.logo-teal { fill: var(--teal); }
.logo-pulso { fill: var(--teal); }

/* Íconos de problemas: boceto que se vuelve sólido al pasar el mouse */
.celda .iso-linea { stroke: rgba(35, 37, 36, .45); stroke-dasharray: 4 3; transition: stroke .45s ease, stroke-dasharray .6s ease; }
.celda .iso-cara { fill: rgba(238, 237, 232, 0); transition: fill .5s ease; }
.celda .iso-oculta { transition: opacity .45s ease; }
.celda .iso-teal { fill: transparent; stroke: var(--teal); stroke-width: 1.2; transition: fill .35s ease .15s; }
.celda .celda-dibujo svg { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.celda:hover .iso-linea, .celda.solido .iso-linea { stroke: var(--tinta); stroke-dasharray: 4 0; }
.celda:hover .cara-sup, .celda.solido .cara-sup { fill: #f7f6f2; }
.celda:hover .cara-izq, .celda.solido .cara-izq { fill: #e4e3dc; }
.celda:hover .cara-der, .celda.solido .cara-der { fill: #d6d5ce; }
.celda:hover .iso-oculta, .celda.solido .iso-oculta { opacity: 0; }
.celda:hover .iso-teal, .celda.solido .iso-teal { fill: var(--teal); }
.celda:hover .celda-dibujo svg { transform: translateY(-6px); }

/* Servicios: venas teal y pulsos cuando el diagrama ya está dibujado */
.diagrama-vena { fill: none; stroke: var(--teal); stroke-width: 1.5; }
.pulso-diagrama { fill: var(--teal); opacity: 0; transition: opacity .4s ease; }
.lamina svg.activo .pulso-diagrama { opacity: 1; }

/* La frase ocupa la pantalla mientras se revela */
@media (min-width: 901px) { .frase { min-height: 100vh; } }
@media (prefers-reduced-motion: reduce) { .logo-pulso { display: none; } }

/* ===== Entrada: estado inicial mientras corre la animación ===== */
.intro .nav, .intro .portada-texto > div > *, .intro .portada-accion, .intro .coordenada, .intro .herramientas > * { opacity: 0; }
.intro .escena { --revelado: -10%; }
/* El dibujo se revela de izquierda a derecha detrás de una línea teal, como un plotter */
.escena img {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--revelado, 120%) - 3%), transparent calc(var(--revelado, 120%) + 3%));
  mask-image: linear-gradient(90deg, #000 calc(var(--revelado, 120%) - 3%), transparent calc(var(--revelado, 120%) + 3%));
}
.trazador { position: absolute; top: -3%; bottom: -3%; left: var(--revelado, 120%); width: 2px; background: var(--teal); opacity: 0; pointer-events: none; z-index: 1; }
.palabra-h1 { display: inline-block; }

/* ===== Frase "desencriptada" ===== */
.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; }
.frase .car { display: inline-block; text-align: center; }
.frase .car[data-estado="cifrado"] { color: rgba(93, 96, 93, .45); }
.frase .car[data-estado="fijo"] { animation: destello 420ms cubic-bezier(.2, 0, 0, 1); }
@keyframes destello { 0% { color: var(--teal); text-shadow: 0 0 24px rgba(54, 97, 113, .6); } 100% { text-shadow: 0 0 0 transparent; } }

/* ===== Responsivo ===== */
@media (max-width: 1100px) {
  .celdas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .celda:nth-child(2) { border-right: 0; }
  .celda:nth-child(-n+2) { border-bottom: 1px solid var(--linea); }
}
@media (max-width: 900px) {
  .portada, .cabecera, .servicios { grid-template-columns: 1fr; }
  .portada-texto { border-right: 0; border-bottom: 1px solid var(--linea); }
  .cabecera .texto { justify-self: start; }
  .servicio { border-right: 0; border-bottom: 1px solid var(--linea); }
  .servicio:last-child { border-bottom: 0; }
  .nav ul { display: none; }
  .nav { grid-template-columns: 1fr auto; gap: 24px; padding: 0 16px; }
  .solo-escritorio { display: none; }
  .solo-movil { display: inline; }
  .nav .boton { padding: 0 20px; }
}
@media (max-width: 600px) {
  .celdas { grid-template-columns: 1fr; }
  .celda { border-right: 0; border-bottom: 1px solid var(--linea); min-height: 0; }
  .celda:last-child { border-bottom: 0; }
  .herramientas { grid-template-columns: 1fr; }
  .herramientas > .etiqueta { border-right: 0; border-bottom: 1px solid var(--linea); padding: 10px 16px; }
  .pista li { padding-block: 14px; }
  .portada-texto, .cabecera { padding-inline: 20px; }
  /* En celular el dibujo queda chico: venas, pulsos y marcas teal, sin rótulos ni cajas ilegibles */
  .portada-dibujo { padding: 10% 2% 14%; }
  .rotulo, .marca-svg line, .capa-nodos, .cota-texto { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* Lenis: scroll suave */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ===== Páginas de texto (aviso de privacidad) ===== */
.legal { padding: 56px 32px 72px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; }
.legal-cuerpo { max-width: 72ch; color: var(--grafito); }
.legal-cuerpo h2 { font: 650 1.25rem/1.15 var(--sans); font-stretch: 86%; text-transform: uppercase; color: var(--tinta); margin: 40px 0 12px; }
.legal-cuerpo h2:first-child { margin-top: 0; }
.legal-cuerpo a { color: var(--teal); }
.legal-cuerpo strong { color: var(--tinta); font-weight: 600; }
.error-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 20px; }
.error-404 .boton { margin-top: 28px; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; padding-inline: 20px; } }
