/* ══════════════════════════════════════════════════════════════════════
   NOVA · piel documental (10-nov-2026, Diego eligió la A de la propuesta).
   La misma familia que kenavia.com y BiteSales por dentro: foto a sangre,
   titulares grandes, cifras sin tarjeta, tablas con regla negra, pastillas
   = punto + palabra, menú en tinta sin iconos, 8 px, sin sombras.
   Lo propio de NOVA: Newsreader (letra de escritura) en los títulos, oro
   como subrayado y la hoja de papel sobre la mesa en el texto notarial.

   Va la ÚLTIMA en los layouts y todo cuelga de body.doc: quitar la clase
   (o esta hoja) devuelve NOVA a como estaba. Mismas pantallas, botones,
   textos y flujo; solo cambia lo visual.
   ══════════════════════════════════════════════════════════════════════ */

@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-cursiva.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

body.doc {
  --tinta: #15171b;
  --tinta-2: #23262c;
  --tinta-suave: #4d4c48;
  --tinta-tenue: #6b6a66;
  --piedra: #6b6a66;
  --linea: #e6e1d8;
  --linea-fuerte: #cfc8ba;
  --papel: #f6f3ec;
  --papel-hundido: #ede8dd;
  --papel-blanco: #ffffff;
  --hoja: #fbf8f1;
  --oro: #c9a45c;
  --oro-oscuro: #8f7031;
  --oro-claro: #f3ead8;
  --radio: 8px;
  --serif: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  --ui: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #fff;
  color: var(--tinta);
  font-family: var(--ui);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
body.doc mark { background: none; color: inherit; box-shadow: inset 0 -.14em 0 var(--oro); padding: 0 .02em; }
body.doc :focus-visible { outline: 2px solid var(--oro); outline-offset: 2px; }

/* ── Menú en tinta, sin iconos ─────────────────────────────────────── */
.doc .barra-lateral { background: var(--tinta); color: #fff; border-right: 0; width: 236px; padding: 26px 0 18px; }
.doc .barra-lateral .marca { padding: 0 26px 22px; border-bottom: 0; }
.doc .marca-nombre { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: .32em; color: var(--oro); }
.doc .marca-notaria { font-size: 12.5px; color: rgba(255,255,255,.5); margin-top: 4px; }
.doc .menu { padding: 0; gap: 0; }
.doc .menu-grupo { margin: 18px 26px 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.38); list-style: none; }
.doc .menu a { display: block; padding: 8px 26px; margin: 0; border-radius: 0; font-size: 14.5px; font-weight: 400; color: rgba(255,255,255,.72); background: none; border-left: 3px solid transparent; box-shadow: none; transition: color .2s, padding .2s; }
.doc .menu a:hover { color: #fff; background: none; padding-left: 30px; }
.doc .menu a.activo { color: #fff; font-weight: 650; background: rgba(255,255,255,.06); border-left-color: var(--oro); box-shadow: none; }
.doc .menu a.nuevo::after { color: var(--oro); }
.doc .pie-lateral { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 26px 0; color: #fff; }
.doc .pie-lateral .usuario { font-weight: 600; color: #fff; }
.doc .pie-lateral .rol { color: rgba(255,255,255,.5); }
.doc .pie-lateral .boton-secundario { background: transparent; color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.22); }
.doc .pie-lateral .boton-secundario:hover { color: #fff; border-color: rgba(255,255,255,.5); }

/* ── El lienzo: ancho completo; lo que va a sangre usa .doc-sangre ────── */
.doc .contenido { max-width: none; padding: 34px 44px 64px; background: #fff; }
.doc .doc-sangre { margin-left: -44px; margin-right: -44px; }
.doc .contenido > .doc-sangre:first-child,
.doc .contenido > .banda:first-child,
.doc .contenido > .aviso + .doc-sangre { margin-top: -34px; }

/* ── Títulos ───────────────────────────────────────────────────────── */
.doc h1, .doc h2, .doc h3 { text-wrap: balance; }
.doc .cabecera-pagina { border-bottom: 2px solid var(--tinta); padding-bottom: 18px; margin-bottom: 26px; }
.doc .cabecera-pagina h1 { font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1.04; letter-spacing: -.015em; }
.doc .cabecera-pagina p { color: var(--piedra); font-size: 15px; margin-top: 6px; }
.doc .tarjeta h2, .doc .paso h2, .doc .doc-titulo { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; letter-spacing: -.01em; }

/* ── Bloques: sin sombra, 8 px, filete fino ─────────────────────────── */
.doc .tarjeta { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); box-shadow: none; padding: 26px 28px; }

/* ── Botones ───────────────────────────────────────────────────────── */
.doc .boton { border-radius: var(--radio); font-family: var(--ui); font-weight: 650; padding: 11px 20px; box-shadow: none; transition: transform .2s, background .2s; }
/* El principal en tinta con letra blanca (la capa «Protocolo» lo dejaba grafito con letra oro). */
body.doc .boton:not(.boton-secundario):not(.boton-peligro) { background: var(--tinta); color: #fff; border: 1px solid var(--tinta); }
body.doc .boton:not(.boton-secundario):not(.boton-peligro):hover { background: var(--tinta-2); border-color: var(--tinta-2); color: #fff; transform: translateY(-1px); }
.doc .boton-secundario { background: #fff; color: var(--tinta); border-color: var(--linea-fuerte); }
.doc .boton-secundario:hover { background: var(--papel); color: var(--tinta); border-color: var(--linea-fuerte); }
/* El oro, solo en la acción que manda: portada, mesa de luz, «Pídale a NOVA», armar. */
body.doc .boton.boton-oro:not(.boton-secundario), body.doc .mesa .boton:not(.boton-secundario):not(.boton-peligro), body.doc .pidele .boton:not(.boton-secundario), body.doc #boton-armar.boton { background: var(--oro); border-color: var(--oro); color: var(--tinta); }
body.doc .boton.boton-oro:not(.boton-secundario):hover, body.doc .mesa .boton:not(.boton-secundario):not(.boton-peligro):hover, body.doc .pidele .boton:not(.boton-secundario):hover, body.doc #boton-armar.boton:hover { background: #d8b56f; border-color: #d8b56f; color: var(--tinta); }
.doc .boton-peligro { background: #a8382f; border-color: #a8382f; color: #fff; }
.doc .boton-pequeno { padding: 6px 12px; font-size: 14px; }
.doc .enlace-discreto { color: inherit; box-shadow: inset 0 -1px 0 var(--oro); text-decoration: none; }

/* ── Pastillas = punto + palabra ───────────────────────────────────── */
.doc .etiqueta { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 0; font-size: 13px; font-weight: 650; letter-spacing: 0; white-space: nowrap; }
.doc .etiqueta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.doc .etiqueta-neutra { color: var(--piedra); }

/* ── Avisos: planos, con franja ────────────────────────────────────── */
.doc .aviso { border: 0; border-left: 3px solid currentColor; border-radius: 0; box-shadow: none; }

/* ── Tablas con regla negra ────────────────────────────────────────── */
.doc table thead th { font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--piedra); background: none; border-bottom: 2px solid var(--tinta); padding-top: 0; }
.doc table tbody td { border-bottom: 1px solid var(--linea); }
.doc table tbody tr:hover td { background: var(--papel); }
.doc .tabla-expedientes td:first-child a { font-weight: 650; color: var(--tinta); }

/* ── Portada de pantalla (hero) ────────────────────────────────────── */
.doc-hero { position: relative; height: clamp(420px, 62vh, 560px); background: var(--tinta); color: #fff; overflow: hidden; margin-bottom: 0; }
.doc-hero.bajo { height: clamp(300px, 42vh, 380px); }
.doc-capa { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.doc-capa.on, .doc-hero:not([data-rota]) .doc-capa:first-child { opacity: 1; }
.doc-capa img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.doc-capa.on img { animation: doc-kb 10s ease-out forwards; }
@keyframes doc-kb { from { transform: scale(1.07); } to { transform: scale(1); } }
.doc-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(21,23,27,.55) 0, rgba(21,23,27,.08) 26%, rgba(21,23,27,.34) 54%, rgba(21,23,27,.95) 100%), linear-gradient(90deg, rgba(21,23,27,.62) 0, rgba(21,23,27,0) 64%); }
.doc-hero-txt { position: absolute; z-index: 3; left: 44px; right: 44px; bottom: 88px; }
.doc-hero.sin-pestanas .doc-hero-txt { bottom: 40px; }
.doc-dice { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.86); margin-bottom: 14px; }
.doc-dice::before { content: ""; width: 28px; height: 2px; background: var(--oro); }
.doc-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.4vw, 66px); line-height: 1.03; letter-spacing: -.02em; max-width: 980px; margin: 0; color: #fff; }
.doc-hero h1 em { font-style: italic; box-shadow: inset 0 -.1em 0 var(--oro); }
.doc-hero h1.rota span { display: inline-block; opacity: 0; transform: translateY(.26em); transition: opacity .5s, transform .5s cubic-bezier(.2,.8,.2,1); }
.doc-hero h1.rota.ver span { opacity: 1; transform: none; }
.doc-hero p.entrada { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.84); max-width: 660px; margin-top: 16px; }
.doc-hero .acciones { margin-top: 24px; gap: 12px; }
.doc-hero .boton-secundario { background: rgba(255,255,255,.14); color: #fff; border-color: transparent; }
.doc-hero .boton-secundario:hover { background: rgba(255,255,255,.22); color: #fff; }
.doc-pestanas { position: absolute; z-index: 3; left: 44px; right: 44px; bottom: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 18px; border-top: 1px solid rgba(255,255,255,.2); }
.doc-pestanas button { position: relative; background: none; border: 0; padding: 15px 0 20px; text-align: left; font: inherit; font-size: 13.5px; font-weight: 550; color: rgba(255,255,255,.58); cursor: pointer; }
.doc-pestanas button i { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--oro); }
.doc-pestanas button:hover, .doc-pestanas button.on { color: #fff; }
.doc-pestanas button.on i { animation: doc-corre 6.5s linear forwards; }
@keyframes doc-corre { to { width: 100%; } }

/* ── Cifras sin tarjeta ────────────────────────────────────────────── */
.doc-cifras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--linea); }
.doc-cifra { position: relative; display: block; padding: 30px 24px 26px 44px; border-left: 1px solid var(--linea); color: var(--tinta); text-decoration: none; transition: background .2s; }
.doc-cifra:first-child { border-left: 0; }
.doc-cifra:hover { background: var(--papel); text-decoration: none; color: var(--tinta); }
.doc-cifra .n { font-family: var(--serif); font-size: 56px; line-height: 1; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.doc-cifra .q { font-size: 15px; font-weight: 650; margin-top: 10px; }
.doc-cifra .d { font-size: 13.5px; color: var(--piedra); margin-top: 2px; }
.doc-cifra.viva::after, .doc-cifra.activa::after { content: ""; position: absolute; left: 44px; top: 0; width: 36px; height: 3px; background: var(--oro); }
.doc-cifra.activa { background: var(--oro-claro); }

/* ── Secciones del panel ───────────────────────────────────────────── */
.doc-seccion { padding: 40px 0 8px; }
.doc-seccion.tinta { background: var(--tinta); color: #fff; padding: 40px 44px 44px; margin-top: 44px; }
.doc-seccion.tinta .doc-cifras { border: 0; }
.doc-seccion.tinta .doc-cifra { border-color: rgba(255,255,255,.14); color: #fff; padding-left: 0; padding-right: 24px; }
.doc-seccion.tinta .doc-cifra + .doc-cifra { padding-left: 32px; }
.doc-seccion.tinta .doc-cifra:hover { background: none; }
.doc-seccion.tinta .doc-cifra .d { color: rgba(255,255,255,.55); }
.doc-seccion.tinta p { color: rgba(255,255,255,.6); }
.doc-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.doc-cab h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.05; letter-spacing: -.015em; margin: 0; }
.doc-cab p { color: var(--piedra); font-size: 14.5px; margin: 6px 0 0; }
.doc .doc-expedientes { border: 0; padding: 36px 0 0; background: none; }
.doc .doc-expedientes .tabla-cabecera { margin-bottom: 14px; }
.doc .doc-expedientes .tabla-titulo h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; }

/* ── Cabecera del expediente: banda en tinta + carril numerado ──────── */
.doc .banda { background: var(--tinta); color: #fff; border: 0; border-radius: 0; box-shadow: none; margin: -34px -44px 30px; padding: 30px 44px 28px; align-items: flex-end; }
.doc .banda:has(+ .linea-fases), .doc .banda:has(+ * + .linea-fases) { margin-bottom: 0; padding-bottom: 8px; }
.doc .banda-datos { color: rgba(255,255,255,.55); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.doc .banda h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.015em; color: #fff; margin-top: 6px; }
.doc .banda-sub { font-family: var(--ui); font-size: 15px; color: rgba(255,255,255,.6); letter-spacing: 0; font-weight: 400; }
.doc .banda-lado { gap: 14px; }
.doc .banda .etiqueta { color: var(--oro); }
.doc .banda .chip { background: transparent; color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.24); }
.doc .banda .enlace-discreto { color: rgba(255,255,255,.75); }
.doc .banda + .linea-fases, .doc .banda + * + .linea-fases { margin: 0 -44px 30px; }
.doc .linea-fases { counter-reset: fase; background: var(--tinta); border: 0; border-radius: 0; box-shadow: none; padding: 18px 44px 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0; }
.doc .linea-fases::before, .doc .linea-fases::after, .doc .paso-linea::after { display: none; content: none; }
.doc .paso-linea { counter-increment: fase; position: relative; border-top: 1px solid rgba(255,255,255,.16); padding: 14px 16px 18px 0; text-align: left; }
.doc .paso-linea a { display: block; color: inherit; text-decoration: none; }
.doc .paso-linea .punto-linea { display: none; }
.doc .paso-linea .nombre-linea::before { content: counter(fase, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 22px; line-height: 1.1; color: rgba(255,255,255,.4); margin-bottom: 2px; }
.doc .paso-linea-final .nombre-linea::before { content: "—"; }
.doc .paso-linea .nombre-linea { font-size: 13.5px; font-weight: 550; color: rgba(255,255,255,.62); }
.doc .paso-linea .estado-linea { font-size: 12.5px; color: rgba(255,255,255,.42); }
.doc .paso-linea::before { content: none; }
.doc .paso-linea.hecha::before, .doc .paso-linea.actual::before { content: ""; position: absolute; left: 0; right: 18px; top: -2px; height: 3px; background: rgba(255,255,255,.55); }
.doc .paso-linea.actual::before { background: var(--oro); }
.doc .paso-linea.hecha .nombre-linea, .doc .paso-linea.actual .nombre-linea { color: #fff; }
.doc .paso-linea.hecha .nombre-linea::before { color: #fff; }
.doc .paso-linea.actual .nombre-linea::before { color: var(--oro); }
.doc .paso-linea.hecha .estado-linea, .doc .paso-linea.actual .estado-linea { color: rgba(255,255,255,.7); }
.doc .paso-linea.abierta:hover .nombre-linea { color: #fff; }

/* ── Pasos de la pantalla de fase ──────────────────────────────────── */
.doc .paso { align-items: start; }
.doc .acciones { align-items: center; }
.doc .zona.zona-anadir { border-top: 1px dashed var(--linea-fuerte); display: grid; place-items: center; }
.doc .paso-numero { font-family: var(--serif); font-size: 40px; font-weight: 500; color: var(--oro-oscuro); background: none; border: 0; width: auto; height: auto; box-shadow: none; }
.doc .paso-ayuda { color: var(--piedra); }
.doc .zona { border: 0; border-top: 2px solid var(--tinta); border-radius: 0; background: #fff; box-shadow: none; padding: 18px 0 20px; }
.doc .zona h3 { font-size: 16px; font-weight: 650; }
.doc .zona-sub { color: var(--piedra); }
.doc .soltar { border: 1px dashed var(--linea-fuerte); border-radius: var(--radio); background: var(--papel); }
.doc .detectado { background: var(--papel); border: 0; border-left: 3px solid var(--oro); border-radius: 0; }

/* ── La mesa y la hoja: igual que hoy, con la letra nueva ───────────── */
.doc .mesa { border-radius: 0; }
.doc .mesa-titulo, .doc .mesa-cifra { font-family: var(--serif); }
.doc .redaccion, .doc .texto-bloque, .doc .mesa-hoja { border-radius: 2px; }

/* ── Formación: cartelera ──────────────────────────────────────────── */
.doc .formacion-rejilla { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.doc .formacion-tarjeta { position: relative; aspect-ratio: 4 / 5; border: 0; border-radius: var(--radio); overflow: hidden; background: var(--tinta); color: #fff; }
.doc .formacion-tarjeta:hover { transform: none; box-shadow: none; }
.doc .formacion-tarjeta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.doc .formacion-tarjeta:hover img { transform: scale(1.04); }
.doc .formacion-tarjeta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,23,27,0) 30%, rgba(21,23,27,.92) 100%); }
.doc .formacion-portada { display: none; }
.doc .formacion-cuerpo { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22px; background: none; }
.doc .formacion-cuerpo h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.08; color: #fff; }
.doc .formacion-cuerpo .mini { color: rgba(255,255,255,.76); }
.doc .formacion-cuerpo .etiqueta { color: #fff; }
.doc .formacion-ir { color: var(--oro); }

/* ── Entrar: foto a sangre + acceso ────────────────────────────────── */
.doc-puerta { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(360px, .9fr); min-height: 100vh; background: #fff; }
.doc-puerta .doc-hero { height: 100vh; min-height: 600px; }
.doc-puerta .doc-hero-txt { bottom: 104px; }
.doc-puerta .doc-marca { position: absolute; z-index: 3; top: 34px; left: 44px; font-family: var(--serif); font-size: 26px; letter-spacing: .34em; color: var(--oro); text-decoration: none; }
.doc-acceso { display: flex; flex-direction: column; justify-content: center; padding: 48px 56px 28px; }
.doc-acceso .acceso { max-width: 440px; width: 100%; background: none; border: 0; box-shadow: none; padding: 0; }
.doc-acceso h2 { font-family: var(--serif); font-weight: 500; font-size: 38px; line-height: 1.05; margin: 0 0 6px; }
.doc-acceso .lema, .doc-acceso .hoja-ayuda { color: var(--piedra); font-size: 15px; margin: 0 0 8px; }
.doc-acceso .campo { margin-top: 18px; }
.doc-acceso .campo label { font-size: 13.5px; font-weight: 600; }
.doc-acceso input[type=email], .doc-acceso input[type=password], .doc-acceso input[type=text] { height: 48px; border: 0; border-bottom: 2px solid var(--tinta); border-radius: 6px 6px 0 0; background: var(--papel); font-size: 16px; padding: 0 14px; }
.doc-acceso .boton-acceso { width: 100%; margin-top: 22px; padding: 15px; font-size: 15.5px; }
.doc-acceso .nota { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--linea); font-size: 13.5px; color: var(--piedra); }
.doc-acceso .pie { margin-top: auto; padding-top: 28px; font-size: 12.5px; color: var(--piedra); }

/* ── Errores en tinta ──────────────────────────────────────────────── */
.doc-error { min-height: 100vh; display: grid; place-items: center; background: var(--tinta); color: #fff; padding: 40px 24px; }
.doc-error .caja { max-width: 560px; }
.doc-error .doc-marca { font-family: var(--serif); font-size: 24px; letter-spacing: .34em; color: var(--oro); text-decoration: none; }
.doc-error h1 { font-family: var(--serif); font-weight: 500; font-size: 48px; line-height: 1.05; margin: 28px 0 12px; }
.doc-error p { color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.55; }
body.doc .doc-error .boton { display: inline-block; margin-top: 26px; background: var(--oro); border: 1px solid var(--oro); color: var(--tinta); }

/* ── Teléfono ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .doc .barra-lateral { width: auto; padding: 14px 0; }
  .doc .contenido { padding: 22px 18px 48px; }
  .doc .doc-sangre, .doc .banda, .doc .banda + .linea-fases, .doc .banda + * + .linea-fases { margin-left: -18px; margin-right: -18px; }
  .doc .contenido > .doc-sangre:first-child, .doc .contenido > .banda:first-child { margin-top: -22px; }
  .doc .banda, .doc .linea-fases { padding-left: 18px; padding-right: 18px; }
  .doc .linea-fases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .doc-hero-txt, .doc-pestanas { left: 18px; right: 18px; }
  .doc-pestanas { display: none; }
  .doc-hero-txt { bottom: 32px; }
  .doc-cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-cifra { padding: 22px 16px 20px 18px; }
  .doc-cifra:nth-child(3) { border-left: 0; }
  .doc-cifra:nth-child(n+3) { border-top: 1px solid var(--linea); }
  .doc-cifra.viva::after, .doc-cifra.activa::after { left: 18px; }
  .doc-seccion.tinta { padding: 32px 18px; }
  .doc-seccion.tinta .doc-cifra:nth-child(3) { padding-left: 0; }
  /* La tabla se desplaza dentro de su bloque; en escritorio no, para que la cabecera siga fija. */
  .doc .doc-expedientes { overflow-x: auto; }
  .doc-puerta { grid-template-columns: 1fr; }
  .doc-puerta .doc-hero { height: auto; min-height: 460px; }
  .doc-puerta .doc-hero-txt { bottom: 36px; }
  .doc-acceso { padding: 36px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .doc-capa, .doc-capa img, .doc-hero h1.rota span, .doc-pestanas button i { animation: none !important; transition: none !important; }
  .doc-hero h1.rota span { opacity: 1; transform: none; }
}
