/* ==========================================================================
   GUARDIAS DE SEGURIDAD — Señalética de faena
   Sistema visual: papel de obra, tinta azul marino, bandas de peligro.
   Tipografías: Barlow Condensed (display) · Public Sans (texto) · Space Mono (rótulos).
   ========================================================================== */

/* ------------------------------------------------------------------ base */
:root {
  --wrap: 1280px;
  --gutter: clamp(18px, 4vw, 56px);
  --head-h: 78px;
  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --font-text: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --band: repeating-linear-gradient(135deg, var(--accent) 0 13px, var(--ink) 13px 26px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.sec--ink :focus-visible,
.interior :focus-visible,
.cta :focus-visible,
.foot :focus-visible,
.detalle-hero :focus-visible,
.coleccion-hero :focus-visible {
  outline-color: var(--accent);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  transition: top .2s var(--ease);
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

/* --------------------------------------------------------------- bandas */
/* La cinta de peligro sólo marca una decisión: el borde del bloque de cierre y
   el de la barra de acciones del móvil. Los límites entre secciones se resuelven
   con cambio de fondo o filete de tinta, no con señalética. */
.tape {
  height: 10px;
  background: var(--band);
}

.tape--cta {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 9px;
  z-index: 3;
}

/* --------------------------------------------------------------- rótulos */
.rotulo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

.rotulo--light {
  color: rgba(237, 234, 226, .66);
}

.rotulo-mark {
  flex: none;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border: 1.5px solid currentColor;
  transform: rotate(45deg);
}

/* --------------------------------------------------------------- botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 22px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.btn .arrow {
  display: inline-block;
  transition: transform .25s var(--ease);
}

.btn:hover {
  background: var(--accent);
  border-color: var(--ink);
  color: var(--ink);
}

.btn:hover .arrow {
  transform: translateX(5px);
}

.btn--ink {
  background: var(--ink);
  color: var(--paper);
}

.btn--accent {
  background: var(--accent);
  border-color: var(--ink);
  color: var(--ink);
}

.btn--accent:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn--line {
  background: transparent;
  color: var(--ink);
}

.btn--line:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--onink {
  border-color: rgba(237, 234, 226, .38);
  color: var(--on-dark);
  background: transparent;
}

.btn--onink:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.btn--sm {
  padding: 11px 16px;
  font-size: 10.5px;
}

.btn--lg {
  padding: 18px 28px;
  font-size: 12px;
}

.btn--block {
  display: flex;
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.link-arrow:hover {
  color: var(--primary);
  border-color: var(--accent);
}

/* -------------------------------------------------------------- cabecera */
.head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.head-grid {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  min-height: var(--head-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding-block: 10px;
}

.brand-shield {
  width: auto;
  height: 54px;
  display: block;
}

.brand-type {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 25px;
  line-height: .84;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-l2 {
  color: var(--primary);
}

.brand-tag {
  margin-left: 6px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-list a[aria-current="page"] {
  color: var(--primary);
}

.nav-extra {
  display: none;
}

.head-act {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 4px;
}

.head-tel {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.head-tel-k {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.head-tel-v {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink);
}

.head-tel:hover .head-tel-v {
  color: var(--primary);
}

.nav-btn {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-btn-bar,
.nav-btn-bar::before,
.nav-btn-bar::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.nav-btn-bar {
  position: relative;
}

.nav-btn-bar::before {
  position: absolute;
  top: -5px;
}

.nav-btn-bar::after {
  position: absolute;
  top: 5px;
}

/* ---------------------------------------------------------------- portada */
.portada {
  background: var(--paper);
  position: relative;
}

.portada-grid {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  gap: clamp(20px, 3vw, 48px);
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  min-height: clamp(520px, 70vh, 700px);
}

.portada-copy {
  padding-block: clamp(36px, 5vw, 68px) clamp(30px, 4vw, 52px);
  align-self: center;
}

.portada-title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.7rem, 5.4vw, 5.2rem);
  line-height: .84;
  letter-spacing: .002em;
  text-transform: uppercase;
  color: var(--ink);
}

.portada-title span {
  display: block;
}

.portada-lead {
  margin-top: 22px;
  max-width: 42ch;
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--text);
}

.portada-act {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.portada-coords {
  margin-top: clamp(22px, 3vw, 40px);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.sq {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border: 1px solid var(--ink);
  vertical-align: 1px;
}

.sq--light {
  border-color: rgba(31, 31, 31, .35);
}

.portada-fig {
  position: relative;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}

.portada-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.portada-stamp {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 4;
  padding: 9px 14px 11px;
  background: var(--accent);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
  transform: rotate(-4deg);
}

.portada-cap {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.portada-cap-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.portada-foot {
  border-top: 2px solid var(--ink);
  background: var(--paper);
}

.portada-foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 13px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.portada-foot-k {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .14em;
}

.portada-foot-r {
  color: var(--primary);
}

/* ----------------------------------------------------------------- duo */
.duo {
  position: relative;
  background: var(--primary);
  overflow: hidden;
}

.duo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(1.02);
  mix-blend-mode: luminosity;
}

.duo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(17, 32, 59, .05) 35%, rgba(17, 32, 59, .58) 100%);
}

.duo--archive {
  background: var(--paper);
}

.duo--archive img {
  mix-blend-mode: normal;
  filter: grayscale(1) contrast(1.04) sepia(.14);
}

.duo--archive::after {
  background: linear-gradient(180deg, rgba(242, 240, 234, .04) 45%, rgba(31, 31, 31, .55) 100%);
}

/* ---------------------------------------------------------------- banda */
/* Cinta de estado: era amarilla y funcionaba como separador decorativo.
   Ahora es tinta sobre papel y repite el índice de servicios como un tablero. */
.banda {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding-block: 4px;
}

.banda-track {
  display: flex;
  width: max-content;
  padding-block: 15px;
  animation: banda-loop 46s linear infinite;
}

.banda-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
}

.banda-sep {
  width: 6px;
  height: 6px;
  margin-inline: 18px;
  background: var(--paper);
  opacity: .55;
  transform: rotate(45deg);
}

@keyframes banda-loop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------------- secciones */
.sec {
  position: relative;
  padding-block: clamp(56px, 7vw, 112px);
}

.sec--paper {
  background: var(--paper);
}

.sec--surface {
  background: var(--surface);
}

.sec--tight {
  padding-block: clamp(36px, 4vw, 64px);
}

.sec--ink {
  background: var(--primary);
  color: var(--on-dark);
}

.sec-head {
  display: grid;
  grid-template-columns: minmax(96px, 128px) minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: start;
  margin-bottom: clamp(32px, 4.4vw, 60px);
}

.sec-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(66px, 8.6vw, 124px);
  line-height: .78;
  letter-spacing: .01em;
  color: transparent;
  -webkit-text-stroke: 2px var(--steel);
  user-select: none;
}

.sec-num--empty {
  display: block;
}

/* Una sección sin número conserva la cota vacía para que su titular arranque
   en el mismo eje que las numeradas: la falta de índice no mueve la mancha. */
.sec-head--nonum .sec-num {
  visibility: hidden;
}

.sec-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: .002em;
  color: var(--ink);
  max-width: 22ch;
}

.sec-lead {
  align-self: end;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.62;
  color: var(--muted);
}

.sec-head--light .sec-title {
  color: var(--on-dark);
}

.sec-head--light .sec-lead {
  border-color: rgba(237, 234, 226, .3);
  color: rgba(237, 234, 226, .72);
}

.sec-head--light .sec-num {
  -webkit-text-stroke-color: rgba(237, 234, 226, .26);
}

.sec-head--light .rotulo {
  color: rgba(237, 234, 226, .62);
}

.sec-foot {
  margin-top: clamp(20px, 2.2vw, 30px);
}

/* ---------------------------------------------------------------- fichas */
.fichas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  align-items: stretch;
}

.fichas-item {
  min-width: 0;
  display: flex;
}

.ficha {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  height: 100%;
  min-height: 230px;
  padding: 20px 24px 20px;
  background: var(--surface);
  border: 2px solid var(--ink);
  color: var(--text);
  overflow: hidden;
  transition: background .22s var(--ease), border-color .22s var(--ease);
}

.ficha:hover {
  background: #FFFCEB;
}

.ficha-tab {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s var(--ease);
}

.ficha:hover .ficha-tab {
  color: var(--ink);
}

.ficha-code {
  color: var(--primary);
}

/* El tipo de documento ocupa el extremo derecho de la placa; antes ahí vivía un
   segundo número que repetía el índice de la ficha. */
.ficha-tipo {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .18em;
  color: var(--muted);
}

.ficha-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.ficha-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.3vw, 2.05rem);
  line-height: .94;
  text-transform: uppercase;
  color: var(--ink);
}

.ficha-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.45;
}

.ficha-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.ficha-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}

.ficha-foot .arrow {
  transition: transform .25s var(--ease);
}

.ficha:hover .ficha-foot .arrow {
  transform: translateX(6px);
}

/* Las fichas de una misma fila comparten altura y anclan «Ver ficha» abajo:
   la retícula queda a plomo, sin escalonar la segunda columna. */
@media (min-width: 900px) {
  .fichas-item:nth-child(even) {
    margin-top: 0;
  }
}

/* Servicios del home: métrica distinta a la colección. */
.sec--servicios .ficha-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

/* El cierre del bloque (enlace a la colección) pertenece a la retícula de las
   fichas, no al descanso entre secciones: se pega y el respiro queda abajo. */
.sec--servicios {
  padding-bottom: clamp(40px, 4.4vw, 68px);
}

/* ------------------------------------------------------------- fundador */
.fund-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(26px, 4vw, 68px);
  align-items: start;
}

.fund-fig {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 4.6;
  border: 2px solid var(--ink);
  overflow: hidden;
}

.fund-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 40%;
}

.fund-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px 13px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fund-cap-k {
  font-size: 9.5px;
  letter-spacing: .18em;
  color: rgba(242, 240, 234, .6);
}

.fund-title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  line-height: .92;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 20ch;
}

.fund-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--primary);
}

.fund-role {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--muted);
}

.fund-copy .prose {
  margin-top: 16px;
}

.fund-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  margin-top: 28px;
  border-top: 2px solid var(--ink);
}

.fund-facts > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.fund-facts dt {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.fund-facts dd {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* ------------------------------------------------------------- registro */
.sec--registro {
  padding-top: clamp(64px, 8vw, 120px);
}

.reg-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: clamp(30px, 4vw, 52px);
}

.reg-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: .92;
  text-transform: uppercase;
  color: var(--on-dark);
  max-width: 24ch;
}

.reg-note {
  max-width: 34ch;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.7;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(237, 234, 226, .48);
}

.reg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid rgba(237, 234, 226, .28);
}

.reg-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 26px 0;
  border-right: 1px solid rgba(237, 234, 226, .16);
}

.reg-item:last-child {
  border-right: 0;
}

.reg-item dt {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(237, 234, 226, .56);
}

.reg-val {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: .84;
  color: var(--on-dark);
}

.reg-det {
  display: block;
  margin-top: 10px;
  max-width: 26ch;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(237, 234, 226, .6);
}

/* ------------------------------------------------------------- sectores */
.sectores {
  border-top: 2px solid var(--ink);
}

.sector {
  display: grid;
  grid-template-columns: 62px minmax(0, 1.02fr) minmax(0, 1.18fr);
  gap: clamp(16px, 2.4vw, 34px);
  align-items: baseline;
  padding: 20px 14px 20px 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s var(--ease), padding-left .2s var(--ease);
}

.sector:hover {
  background: #F8F6EF;
  padding-left: 12px;
}

/* El número se pega al nombre como la cota de un plano: placa de tinta pequeña
   alineada con la línea base del sector, no un índice huérfano bajo el pictograma. */
.sector-idx {
  display: inline-block;
  margin-right: 10px;
  padding: 2px 5px 3px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  vertical-align: 2px;
}

.sector-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  line-height: .98;
  text-transform: uppercase;
  color: var(--ink);
}

.sector-ex {
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.sector-det {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* --------------------------------------------------------- instalaciones */
.inst-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px 40px;
  margin-bottom: clamp(26px, 3.4vw, 42px);
}

.inst-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: .94;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 24ch;
}

.inst-count {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-left: 18px;
  border-left: 3px solid var(--ink);
}

.inst-count-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 5vw, 68px);
  line-height: .8;
  color: var(--primary);
}

.inst-count-label {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.inst-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.inst-list li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.5;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
}

.inst-mark {
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border: 1px solid var(--ink);
  transform: translateY(-1px);
}

.inst-note {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----------------------------------------------------------- operación */
.op-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
}

.op-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--ink);
}

.op-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.op-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--primary);
  padding-top: 3px;
}

.op-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
}

.op-body p {
  margin-top: 7px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.op-fig {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border: 2px solid var(--ink);
  position: sticky;
  top: calc(var(--head-h) + 20px);
  overflow: hidden;
}

.op-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 46%;
}

.op-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------- proceso */
.proceso {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 30px);
  border-top: 2px solid var(--ink);
  padding-top: 26px;
}

.proceso-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.proceso-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 4vw, 54px);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--steel);
}

.proceso-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}

.proceso-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.proceso--row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ------------------------------------------------------------------ faq */
/* La lista usa la misma cabecera de sección que el resto del home y se
   despliega a plomo bajo ella: una sola retícula para 01–05. */
.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted);
  padding-top: 4px;
}

.faq-q {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.faq-plus {
  position: relative;
  width: 16px;
  height: 16px;
  margin-top: 4px;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  background: var(--primary);
  transition: transform .25s var(--ease);
}

.faq-plus::before {
  left: 0;
  top: 7px;
  width: 16px;
  height: 2px;
}

.faq-plus::after {
  left: 7px;
  top: 0;
  width: 2px;
  height: 16px;
}

.faq-item[open] .faq-plus::after {
  transform: scaleY(0);
}

.faq-item[open] .faq-q {
  color: var(--primary);
}

.faq-a {
  padding: 0 24px 22px 54px;
}

.faq-a p {
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
}

/* ------------------------------------------------------------------ cta */
.cta {
  position: relative;
  background: var(--primary);
  color: var(--on-dark);
  padding-block: clamp(56px, 6vw, 92px) clamp(46px, 5.2vw, 74px);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.96fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: center;
}

.cta-title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  line-height: .92;
  text-transform: uppercase;
  color: var(--on-dark);
  max-width: 22ch;
}

.cta-text {
  margin-top: 16px;
  max-width: 48ch;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(237, 234, 226, .7);
}

.cta-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

.cta-side .btn {
  width: 100%;
  justify-content: space-between;
}

.cta-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid rgba(237, 234, 226, .22);
}

.cta-data dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(237, 234, 226, .5);
}

.cta-data dd {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--on-dark);
}

.cta-data a:hover {
  color: var(--accent);
}

.cta-phone {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(237, 234, 226, .72);
}

.cta-phone span {
  display: block;
  font-size: 8.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(237, 234, 226, .45);
}

.cta-phone a {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--on-dark);
}

.cta-phone a:hover {
  color: var(--accent);
}

/* ------------------------------------------------------------- interior */
.interior {
  position: relative;
  background: var(--primary);
  color: var(--on-dark);
  padding-top: 0;
  overflow: hidden;
}

.interior-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 40px);
  padding-block: clamp(28px, 4vw, 46px) clamp(38px, 5vw, 62px);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(237, 234, 226, .52);
}

.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: .55;
}

.crumbs a:hover {
  color: var(--accent);
}

.interior .rotulo {
  margin-top: clamp(22px, 3vw, 34px);
}

.interior-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  line-height: .9;
  letter-spacing: .002em;
  text-transform: uppercase;
  color: var(--on-dark);
  max-width: 24ch;
}

.interior-lead {
  margin-top: 18px;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.62;
  color: rgba(237, 234, 226, .74);
}

.interior-meta {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(237, 234, 226, .55);
}

.interior-meta .sq {
  margin-right: 7px;
}

.interior-num {
  align-self: start;
  margin-top: 26px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(96px, 15vw, 210px);
  line-height: .74;
  color: transparent;
  -webkit-text-stroke: 2px rgba(237, 234, 226, .24);
  user-select: none;
}

.interior--slim .interior-title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-top: 10px;
}

.interior--slim {
  padding-bottom: 6px;
}

/* --------------------------------------------------------- colección */
.coleccion-hero {
  position: relative;
  background: var(--primary);
  color: var(--on-dark);
  padding-top: 0;
  overflow: hidden;
}

.coleccion-hero .wrap {
  padding-block: clamp(26px, 3.4vw, 42px) clamp(36px, 4.6vw, 58px);
}

.coleccion-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 48px);
  align-items: end;
  margin-top: clamp(24px, 3vw, 36px);
}

.coleccion-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.4vw, 4.8rem);
  line-height: .9;
  text-transform: uppercase;
  color: var(--on-dark);
  max-width: 22ch;
}

.coleccion-lead {
  margin-top: 18px;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.62;
  color: rgba(237, 234, 226, .72);
}

.coleccion-count {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 18px;
  border-left: 3px solid var(--on-dark);
}

.coleccion-count-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 6vw, 86px);
  line-height: .76;
  color: var(--on-dark);
}

.coleccion-count-label {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(237, 234, 226, .6);
}

.fichas--wide {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}

.fichas--wide .fichas-item:nth-child(even) {
  margin-top: 0;
}

.ficha--wide {
  display: grid;
  grid-template-columns: clamp(180px, 24vw, 260px) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 30px);
  align-items: stretch;
  padding: 0;
  min-height: 0;
}

.ficha--wide .ficha-media {
  display: block;
  position: relative;
  min-height: 190px;
  background: var(--primary);
}

.ficha--wide .ficha-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ficha--wide .ficha-body {
  padding: 20px clamp(18px, 2.4vw, 30px) 20px 0;
}

.ficha--wide .ficha-foot {
  margin-top: 16px;
  border-top: 0;
  padding-top: 0;
}

.ficha--wide:hover {
  background: #FFFCEB;
}

/* ------------------------------------------------------------- detalle */
.detalle-hero {
  position: relative;
  background: var(--primary);
  color: var(--on-dark);
  padding-top: 0;
  overflow: hidden;
}

.detalle-hero .wrap {
  padding-block: clamp(24px, 3vw, 38px) 0;
}

.detalle-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(24px, 3.6vw, 56px);
  align-items: end;
  margin-top: clamp(22px, 3vw, 34px);
}

.detalle-copy {
  padding-bottom: clamp(30px, 4vw, 54px);
}

.detalle-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.8vw, 4.3rem);
  line-height: .9;
  text-transform: uppercase;
  color: var(--on-dark);
  max-width: 20ch;
}

.detalle-sub {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(237, 234, 226, .58);
}

.detalle-lead {
  margin-top: 14px;
  max-width: 48ch;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(237, 234, 226, .76);
}

.detalle-act {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.detalle-fig {
  position: relative;
  margin: 0;
  min-height: 340px;
  align-self: stretch;
  overflow: hidden;
}

.detalle-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detalle-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: clamp(26px, 4vw, 68px);
  align-items: start;
}

.detalle-main .prose {
  margin-top: 16px;
}

.detalle-h2 {
  margin-top: clamp(30px, 3.6vw, 44px);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: .96;
  text-transform: uppercase;
  color: var(--ink);
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
  margin-top: 18px;
}

.checks li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border: 1.5px solid var(--ink);
}

.galeria {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.galeria img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--ink);
  filter: grayscale(1) contrast(1.04);
}

.detalle-side {
  position: sticky;
  top: calc(var(--head-h) + 22px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spec {
  background: var(--surface);
  border: 2px solid var(--ink);
  padding: 20px 22px 22px;
}

.spec-k {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
}

.spec-data > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.spec-data dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-data dd {
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  color: var(--ink);
}

.spec .btn {
  margin-top: 18px;
}

.side-note {
  padding: 16px 18px;
  border-left: 6px solid var(--ink);
  background: #FAF8F1;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.side-note-k {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.side-note-text {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.rel-head {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.rel-title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: .94;
  text-transform: uppercase;
  color: var(--ink);
}

.sec--relacionados .fichas {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sec--relacionados .fichas-item:nth-child(even) {
  margin-top: 0;
}

/* ------------------------------------------------------------ formulario */
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 366px);
  gap: clamp(24px, 3.4vw, 48px);
  align-items: start;
}

.form-main {
  background: var(--surface);
  border: 2px solid var(--ink);
  padding: clamp(22px, 3.2vw, 42px);
}

.form-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: .94;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 24ch;
}

.form-text {
  margin-top: 14px;
  max-width: 58ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.form {
  margin-top: 24px;
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
}

.req {
  color: var(--primary);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.45;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 237, 0, .55);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

.consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--primary);
}

.consent a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 24px;
}

.form-note {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  margin-top: 22px;
  padding: 16px 18px;
  border: 2px solid #9E2B22;
  background: #FCEDEA;
}

.alert-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7E2019;
}

.alert ul {
  margin-top: 8px;
  padding-left: 18px;
  list-style: disc;
  font-size: 13.5px;
  color: #7E2019;
}

.contact-plate {
  background: var(--primary);
  color: var(--on-dark);
  padding: 24px 24px 26px;
  border: 2px solid var(--ink);
}

.contact-plate-k {
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255, 237, 0, .6);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-data > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(237, 234, 226, .16);
}

.contact-data dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(237, 234, 226, .5);
}

.contact-data dd {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--on-dark);
  overflow-wrap: anywhere;
}

.contact-data a:hover {
  color: var(--accent);
}

.contact-map {
  display: inline-block;
  margin-top: 16px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-note {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(237, 234, 226, .6);
}

.contact-note a {
  color: var(--on-dark);
  border-bottom: 1px solid rgba(237, 234, 226, .3);
}

.contact-note a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------------------------------------------------------------- aviso */
.aviso {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px 34px;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 36px);
  background: var(--surface);
  border: 2px solid var(--ink);
  overflow: hidden;
}

.aviso::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: var(--band);
}

.aviso-body {
  padding-left: 8px;
}

.aviso-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: .98;
  text-transform: uppercase;
  color: var(--ink);
}

.aviso-text {
  margin-top: 8px;
  max-width: 68ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.aviso-cta {
  justify-self: end;
}

/* --------------------------------------------------------- texto y prose */
.texto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 4.4vw, 72px);
  align-items: start;
}

.texto-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: .94;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 26ch;
}

.prose {
  margin-top: 20px;
  max-width: 66ch;
  color: var(--text);
}

.prose p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.68;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--ink);
}

.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose--lead p:first-child {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
}

.texto-aside {
  position: sticky;
  top: calc(var(--head-h) + 24px);
  border-top: 3px solid var(--ink);
  padding-top: 16px;
}

.aside-title {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.aside-list > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.aside-list dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.aside-list dd {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------------------------------------------------------- lista técnica */
.stencil-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 64px);
}

.stencil-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-top: 2px solid var(--ink);
}

.stencil-item:nth-child(-n + 2) {
  border-top-width: 2px;
}

.stencil-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: .82;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--steel);
}

.stencil-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}

.stencil-text {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* --------------------------------------------------------------- buscar */
.buscar {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  max-width: 640px;
}

.buscar input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  font-family: var(--font-text);
  font-size: 15px;
  color: var(--text);
}

.buscar input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 237, 0, .55);
}

.buscar-note {
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.buscar-note a {
  color: var(--primary);
  text-decoration: underline;
}

.resultados {
  border-top: 2px solid var(--ink);
}

.resultado {
  border-bottom: 1px solid var(--line);
}

.resultado a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 4px 18px;
  padding: 18px 0;
}

.resultado-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}

.resultado-excerpt {
  grid-column: 1;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.resultado-go {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font-size: 18px;
  color: var(--primary);
  transition: transform .2s var(--ease);
}

.resultado a:hover .resultado-go {
  transform: translateX(4px);
}

/* --------------------------------------------------------------- gracias */
.gracias-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 366px);
  gap: clamp(24px, 3.4vw, 48px);
  align-items: start;
}

.gracias-main .proceso {
  margin-top: 22px;
}

/* ---------------------------------------------------------------- footer */
.foot {
  background: var(--ink);
  color: var(--paper);
}

.foot .wrap {
  padding-top: clamp(34px, 4.4vw, 58px);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.85fr));
  gap: clamp(24px, 3.4vw, 48px);
}

.foot-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.foot-shield {
  width: auto;
  height: 68px;
  flex: none;
}

.foot-word {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3vw, 38px);
  line-height: .84;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--paper);
}

.foot-word span {
  color: rgba(237, 234, 226, .58);
}

.foot-note {
  margin-top: 16px;
  max-width: 36ch;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(237, 234, 226, .6);
}

.foot-seal {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(237, 234, 226, .5);
}

.foot-h {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(237, 234, 226, .48);
}

.foot-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.foot-col a {
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(237, 234, 226, .86);
}

.foot-col a:hover {
  color: var(--accent);
}

.foot-contact li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.foot-k {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(237, 234, 226, .42);
}

.foot-contact span {
  font-size: 13.5px;
  color: rgba(237, 234, 226, .86);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(30px, 4vw, 48px);
  padding-block: 18px 26px;
  border-top: 1px solid rgba(237, 234, 226, .16);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(237, 234, 226, .46);
}

.foot-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.foot-bottom-links a:hover {
  color: var(--accent);
}

/* ------------------------------------------------------------- whatsapp */
.wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 11px;
  background: var(--accent);
  border: 2px solid var(--ink);
  color: var(--ink);
  transition: background .2s var(--ease), transform .2s var(--ease);
}

.wa:hover {
  background: var(--paper);
  transform: translateY(-2px);
}

.wa-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wa-num {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
}

/* --------------------------------------------------------- movimiento */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: raise linear both;
      animation-timeline: view();
      animation-range: entry 6% cover 24%;
    }

    @keyframes raise {
      from {
        opacity: 0;
        transform: translateY(18px);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* --------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .brand-tag {
    display: none;
  }

  .head-tel {
    display: none;
  }
}

@media (max-width: 1040px) {
  .nav-btn {
    display: inline-flex;
    margin-left: auto;
  }

  .head-act {
    margin-left: 0;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    display: none;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    max-height: calc(100vh - var(--head-h));
    overflow-y: auto;
  }

  .nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter) 10px;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line);
  }

  .nav-list a {
    display: block;
    padding: 15px 0;
    font-size: 12px;
  }

  .nav-list a::after {
    display: none;
  }

  .nav-list a[aria-current="page"] {
    color: var(--primary);
  }

  .nav-extra {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px var(--gutter) 20px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--primary);
  }

  .nav-mail {
    font-size: 10.5px;
    color: var(--muted);
    overflow-wrap: anywhere;
  }

  .head-cta {
    display: none;
  }

  .portada-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 0;
    min-height: 0;
    gap: 0;
  }

  .portada-copy {
    padding-inline: var(--gutter);
    padding-block: clamp(30px, 5vw, 48px) clamp(26px, 4vw, 40px);
  }

  .portada-fig {
    aspect-ratio: 16 / 10;
    min-height: 0;
    border-top: 2px solid var(--ink);
  }

  .portada-img {
    object-position: 62% 42%;
  }

  .portada-stamp {
    top: 16px;
    right: 16px;
    font-size: 24px;
    padding: 8px 11px 9px;
  }


  .portada-cap {
    left: 12px;
    top: 12px;
    font-size: 8px;
  }

  .portada-foot-inner {
    padding-inline: var(--gutter);
  }

  .sec-head {
    grid-template-columns: 88px minmax(0, 1fr);
  }


  .sec-head .sec-lead {
    grid-column: 2;
    max-width: 52ch;
  }


  .sec-num {
    font-size: clamp(58px, 9vw, 92px);
  }

  .fund-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .fund-fig {
    aspect-ratio: 16 / 11;
    max-height: 460px;
  }

  .fund-img {
    object-position: 50% 32%;
  }

  .reg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reg-item:nth-child(2n) {
    border-right: 0;
  }

  .op-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .op-fig {
    position: relative;
    top: auto;
    aspect-ratio: 16 / 10;
    max-height: 420px;
  }

  .proceso {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .proceso--row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }



  .cta-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-side {
    max-width: 520px;
  }

  .detalle-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .detalle-copy {
    padding-bottom: 0;
  }

  .detalle-fig {
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin-bottom: 0;
  }

  .detalle-hero .wrap {
    padding-bottom: 0;
  }

  .detalle-fig {
    border-top: 2px solid var(--ink);
  }

  .detalle-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .detalle-side {
    position: static;
  }

  .form-grid,
  .gracias-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .texto-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .texto-aside {
    position: static;
  }

  .inst-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ficha--wide {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  }

  .sec--relacionados .fichas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sec--relacionados .fichas-item:nth-child(3) {
    display: none;
  }
}

@media (max-width: 860px) {
  .brand-shield {
    height: 46px;
  }

  .brand-type {
    font-size: 21px;
  }

  .fichas {
    grid-template-columns: minmax(0, 1fr);
  }

  .fichas-item:nth-child(even) {
    margin-top: 0;
  }

  .sec--relacionados .fichas {
    grid-template-columns: minmax(0, 1fr);
  }

  .sec--relacionados .fichas-item:nth-child(3) {
    display: block;
  }

  .sector {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px 16px;
  }

  .sector-det {
    grid-column: 2;
  }

  .stencil-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .stencil-item:nth-child(2) {
    border-top: 1px solid var(--line);
  }

  .checks {
    grid-template-columns: minmax(0, 1fr);
  }

  .galeria {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .interior-num {
    display: none;
  }

  .interior-grid,
  .coleccion-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .coleccion-count {
    justify-self: start;
  }

  .form-main {
    padding: 22px 18px;
  }

  .aviso {
    grid-template-columns: minmax(0, 1fr);
  }

  .aviso-cta {
    justify-self: start;
  }

  .inst-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .banda-item {
    font-size: 10.5px;
  }

  .banda-sep {
    margin-inline: 13px;
  }
}

@media (max-width: 620px) {
  .fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .proceso {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .proceso--row {
    grid-template-columns: minmax(0, 1fr);
  }

  .reg-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .reg-item {
    border-right: 0;
    padding-block: 18px;
    border-bottom: 1px solid rgba(237, 234, 226, .16);
  }

  .fund-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .inst-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .ficha--wide {
    grid-template-columns: minmax(0, 1fr);
  }

  .ficha--wide .ficha-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-bottom: 2px solid var(--ink);
  }

  .ficha--wide .ficha-body {
    padding: 16px 18px 20px;
  }

  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .portada-title {
    font-size: clamp(2.3rem, 10.4vw, 3.1rem);
  }

  .portada-fig {
    aspect-ratio: 5 / 4;
  }

  .sec-num {
    font-size: 52px;
  }

  .sec-head {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
  }


  .sec-head .sec-lead {
    grid-column: 1 / -1;
  }

  .sec-title {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .cta-data {
    grid-template-columns: minmax(0, 1fr);
  }

  .wa {
    right: 10px;
    bottom: 10px;
    padding: 7px 9px;
  }

  .wa-num {
    display: none;
  }

  .portada-coords {
    font-size: 8.5px;
    letter-spacing: .1em;
  }

  .portada-title {
    font-size: clamp(2.35rem, 9.6vw, 3rem);
  }

  .buscar {
    flex-direction: column;
  }

  .buscar .btn {
    width: 100%;
  }

  .faq-a {
    padding-left: 0;
  }

  .detalle-act .btn {
    width: 100%;
  }

  .form-act .btn {
    width: 100%;
  }

  .portada-act .btn {
    width: 100%;
  }

  .op-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

/* ----------------------------------------------------------- página de error */
body.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 72px) var(--gutter);
  background: var(--paper);
}

body.error-page::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--band);
  z-index: 5;
}

.error-wrap {
  width: min(100%, 760px);
}

.error-code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(84px, 16vw, 168px);
  line-height: .78;
  letter-spacing: .01em;
  color: transparent;
  -webkit-text-stroke: 2px var(--steel);
}

.error-wrap h1 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: .92;
  text-transform: uppercase;
  color: var(--ink);
}

.error-message {
  margin-top: 12px;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.error-page .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
}

.error-page .btn-primary:hover {
  background: var(--accent);
  color: var(--ink);
}

.error-page .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
}

.error-page .btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.error-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 34px;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.error-nav a {
  color: var(--primary);
  border-bottom: 2px solid transparent;
}

.error-nav a:hover {
  border-color: var(--accent);
}

/* === ajuste-tipografico === */
/* Titulares: el aire del letrero se resuelve por tamaño y no con un padding
   global sobre todos los rótulos. La Ñ de Barlow Condensed 800 tiene el ápice
   alto; con 1.02–1.07 el tilde queda libre y el bloque recupera la densidad de
   la señalética (antes: 1.14/1.17 + 0.1em de aire sumado a cada titular). */
:is(h1, h2, h3, h4, h5, h6,
  .portada-title, .sec-title, .fund-title, .reg-title, .inst-title,
  .cta-title, .interior-title, .detalle-title, .rel-title, .ficha-title,
  .proceso-title, .sector-name, .turnos-titulo, .aviso-title, .coleccion-title,
  .stencil-title, .form-title, .texto-title) {
  line-height: 1.07;
  letter-spacing: 0.002em;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: manual;
  font-kerning: normal;
}

:is(h1, .portada-title, .interior-title, .detalle-title, .cta-title, .coleccion-title) {
  line-height: 1.02;
}

:is(.ficha-title, .sector-name, .stencil-title, .op-body h3) {
  line-height: 1.04;
}
/* El pie de página no es un titular: conserva su tracking abierto de rótulo
   y necesita aire porque «Compañía» lleva Ñ. */
:where(.foot-h) {
  line-height: 1.5 !important;
  letter-spacing: 0.18em !important;
}
/* Rótulos y etiquetas en mayúsculas: mismo cuidado con el tilde */
:where(.rotulo, .eyebrow, .kicker, .overline, .label, .tag) {
  line-height: 1.5 !important;
}
/* Párrafos: sin palabras huérfanas y sin ríos */
.prose p,
.portada-lead,
.sec-lead,
.ficha-desc,
.sector-det,
.reg-det,
.cta-text,
.interior-lead,
.detalle-lead,
.op-body p,
.proceso-text,
.faq-a p {
  text-wrap: pretty;
}
/* === fin ajuste-tipografico === */

/* ==========================================================================
   Gráficas del sistema: pictogramas de sector y rueda de turnos 24/7
   Dibujadas a mano; el trazo hereda currentColor y el amarillo es el acento.
   ========================================================================== */

/* ------------------------------------------------- pictogramas de sector */
.picto {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  color: var(--primary);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}

.picto-svg {
  width: 35px;
  height: 35px;
  display: block;
}

.picto .picto-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.picto .picto-accent {
  fill: var(--accent);
  stroke: var(--ink);
  stroke-width: 1.4;
}

.picto .picto-fill {
  fill: currentColor;
  stroke: none;
}

.picto .picto-punta {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
}

.sector {
  grid-template-columns: 74px minmax(0, 1.02fr) minmax(0, 1.18fr);
  align-items: center;
}

/* El número se pega a la esquina de la placa, como el código de un plano:
   así el índice no queda flotando bajo el pictograma ni desalinea la fila. */
.sector-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.sector:hover .picto {
  background: var(--accent);
  border-color: var(--ink);
  color: var(--ink);
}

/* --------------------------------------------------- rueda de turnos 24/7 */
.op-figuras {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 22px);
  min-width: 0;
}

/* La columna de figuras ya tiene dos piezas: la foto deja de ser pegajosa
   para no montarse sobre la rueda. */
.op-figuras .op-fig {
  position: relative;
  top: auto;
}

.turnos {
  position: relative;
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--surface);
  overflow: hidden;
}


.turnos-cab {
  padding: 24px 18px 0;
}

.turnos-k {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.turnos-titulo {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink);
}

.turnos-svg {
  display: block;
  width: 100%;
  height: auto;
  padding: 2px 10px 4px;
  color: var(--ink);
  overflow: visible;
}

.turnos-aro {
  fill: none;
  stroke: var(--line);
  stroke-width: 30;
}

.turnos-turno {
  fill: none;
  stroke-width: 30;
}

.turnos-turno--dia {
  stroke: var(--primary);
}

.turnos-turno--tarde {
  stroke: var(--steel);
}

.turnos-turno--noche {
  stroke: var(--ink);
}

.turnos-peligro {
  fill: none;
  stroke: url(#turnos-peligro);
  stroke-width: 20;
}

.turnos-hz-base {
  fill: var(--accent);
}

.turnos-hz-tape {
  fill: var(--ink);
}

.turnos-marca {
  stroke: var(--muted);
  stroke-width: 1;
}

.turnos-marca--fuerte {
  stroke: var(--ink);
  stroke-width: 2;
}

.turnos-svg text {
  font-family: var(--font-mono);
}

.turnos-hora {
  font-size: 10.5px;
  fill: var(--muted);
  letter-spacing: .02em;
}

.turnos-hora--fuerte {
  font-size: 13px;
  font-weight: 700;
  fill: var(--ink);
}

.turnos-aguja {
  stroke: var(--ink);
  stroke-width: 3;
}

.turnos-aguja--cola {
  stroke: var(--muted);
  stroke-width: 2;
}

.turnos-aguja--halo {
  stroke: var(--paper);
  stroke-width: 8.5;
}

.turnos-punta {
  fill: var(--accent);
  stroke: var(--ink);
  stroke-width: 2;
}

.turnos-punta--halo {
  fill: var(--paper);
  stroke: none;
}

.turnos-centro {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 2;
}

.turnos-big {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: .01em;
  fill: var(--ink);
}

.turnos-centro-k {
  font-size: 10px;
  letter-spacing: .2em;
  fill: var(--muted);
}

.turnos-eje {
  fill: var(--ink);
}

.turnos-leyenda {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  padding: 10px 18px 0;
}

.turnos-leyenda li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.turnos-leyenda b {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .1em;
}

.turnos-leyenda em {
  font-style: normal;
  color: var(--primary);
}

.turnos-sw {
  flex: none;
  width: 11px;
  height: 11px;
  border: 1px solid var(--ink);
}

.turnos-sw--dia {
  background: var(--primary);
}

.turnos-sw--tarde {
  background: var(--steel);
}

.turnos-sw--noche {
  background: var(--ink);
}

.turnos-sw--peligro {
  background: repeating-linear-gradient(135deg, var(--accent) 0 3.5px, var(--ink) 3.5px 7px);
}

.turnos-leyenda--peligro {
  grid-column: 1 / -1;
  color: var(--ink);
}

.turnos-pie {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 14px;
  padding: 10px 18px 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   Transiciones de página (View Transitions API)
   Salida y entrada suaves, con la curva del sitio; la cabecera no parpadea.
   ========================================================================== */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: vt-salida .3s var(--ease) both;
}

::view-transition-new(root) {
  animation: vt-entrada .4s var(--ease) both;
}

@keyframes vt-salida {
  to {
    opacity: 0;
    transform: translateY(7px) scale(.996);
    filter: blur(1px);
  }
}

@keyframes vt-entrada {
  from {
    opacity: 0;
    transform: translateY(-7px) scale(1.004);
    filter: blur(1px);
  }
}

/* La cabecera se mantiene: es el mismo elemento en las dos páginas. */
.head {
  view-transition-name: sitio-header;
}

::view-transition-group(sitio-header) {
  animation-duration: .4s;
  animation-timing-function: var(--ease);
}

/* Elemento compartido de ficha: el título viaja de la colección al detalle. */
body.is-item .detalle-title {
  view-transition-name: titulo-ficha;
}

::view-transition-group(titulo-ficha) {
  animation-duration: .4s;
  animation-timing-function: var(--ease);
}

/* En las fichas el costado ya tiene sus propias acciones (ficha técnica, CTA):
   el acceso flotante duplicaría la llamada y taparía el botón lateral. */
body.is-item .wa {
  display: none;
}

/* Correos y direcciones largas: nunca empujan la retícula ni se montan sobre
   la columna vecina. Ocupan la fila completa cuando no caben. */
.cta-data > div {
  min-width: 0;
}

.cta-data > div:has(a[href^="mailto:"]),
.cta-data > div:last-child {
  grid-column: 1 / -1;
}

.cta-data dd {
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }

  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-group(sitio-header),
  ::view-transition-group(titulo-ficha) {
    animation: none !important;
  }
}

/* ---------------------------------------------------------------- agenda */
/* (las hojas del tema para la agenda de citas están al final del archivo) */

/* ==========================================================================
   Capa app: bajo 860 px el sitio no se «adapta», se convierte en una app.
   Barra inferior con cinta de peligro, hoja de menú a pantalla completa,
   portada a sangre y servicios en carrusel.
   ========================================================================== */

/* Piezas que sólo existen en la app (en escritorio no se dibujan). */
.mobile-dock,
.sheet-top,
.sheet-close,
.sheet-estado,
.nav-wa,
.carrusel-pista {
  display: none;
}

@media (max-width: 860px) {
  @media (prefers-reduced-motion: no-preference) {
    html {
      scroll-behavior: smooth;
    }
  }

  html {
    -webkit-tap-highlight-color: transparent;
  }

  body {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
    overscroll-behavior-y: contain;
  }

  a,
  button,
  summary,
  .dock-item {
    touch-action: manipulation;
  }

  /* La hoja abierta bloquea el scroll del documento y esconde la barra. */
  html.nav-open,
  html.nav-open body {
    overflow: hidden;
  }

  html.nav-open .mobile-dock {
    display: none;
  }

  /* ------------------------------------------------ barra inferior de app */
  .mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    padding: 14px 6px calc(8px + env(safe-area-inset-bottom));
    background: rgba(31, 31, 31, .94);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border-top: 2px solid var(--ink);
  }

  /* cinta de peligro en el borde superior de la barra */
  .mobile-dock::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    background: repeating-linear-gradient(135deg, var(--accent) 0 11px, var(--ink) 11px 22px);
  }

  .dock-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 52px;
    padding: 6px 2px 5px;
    color: rgba(242, 240, 234, .74);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: color .15s var(--ease), background .15s var(--ease), transform .12s var(--ease);
  }

  .dock-ico {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: square;
    stroke-linejoin: miter;
  }

  .dock-item:active {
    transform: scale(.93);
  }

  .dock-item.is-active {
    color: var(--paper);
    background: rgba(242, 240, 234, .1);
    box-shadow: inset 0 2px 0 var(--paper);
  }

  .dock-item--cta {
    background: var(--accent);
    color: var(--ink);
  }

  .dock-item--cta.is-active {
    background: var(--paper);
    color: var(--ink);
  }

  /* El WhatsApp vive en la hoja de menú y en la página de contacto:
     en móvil no flota sobre el contenido ni sobre la barra. */
  .wa {
    display: none;
  }

  /* ----------------------------------------------- cabecera compacta app */
  .head-grid {
    min-height: 58px;
    gap: 12px;
  }

  .brand {
    padding-block: 8px;
  }

  .brand-shield {
    height: 41px;
  }

  .brand-type {
    font-size: 19.5px;
  }

  .brand-tag {
    display: none;
  }

  .nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    margin-left: auto;
    padding: 0 13px;
    font-size: 9.5px;
    letter-spacing: .1em;
  }

  .head-act {
    display: none;
  }

  /* --------------------------------------- hoja de menú a pantalla completa */
  .nav.is-open {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    margin: 0;
    max-height: none;
    width: auto;
    padding: calc(30px + env(safe-area-inset-top)) var(--gutter) calc(20px + env(safe-area-inset-bottom));
    background-color: var(--paper);
    background-image: repeating-linear-gradient(0deg, rgba(31, 31, 31, .055) 0 1px, transparent 1px 34px);
    border: 0;
    z-index: 120;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    animation: hoja-in .32s var(--ease) both;
  }

  /* Esténcil de marca en el aire de la hoja: el mismo trazo de los números
     de sección, a modo de marca de agua. */
  .nav.is-open::after {
    content: "24/7";
    position: absolute;
    left: 50%;
    top: 58%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(96px, 17vh, 150px);
    line-height: .8;
    letter-spacing: .01em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(31, 31, 31, .13);
    pointer-events: none;
    user-select: none;
    z-index: -1;
  }

  @media (max-height: 720px) {
    .nav.is-open::after {
      display: none;
    }
  }


  .sheet-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--ink);
  }

  .sheet-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
    line-height: .9;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--ink);
  }

  .sheet-brand span {
    display: block;
    color: var(--primary);
  }

  .sheet-close {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 12px;
    border: 2px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .12s var(--ease), background .15s var(--ease);
  }

  .sheet-close:active {
    transform: scale(.93);
  }

  .sheet-x {
    position: relative;
    width: 13px;
    height: 13px;
  }

  .sheet-x::before,
  .sheet-x::after {
    content: "";
    position: absolute;
    left: 0;
    top: 5.5px;
    width: 13px;
    height: 2px;
    background: var(--accent);
  }

  .sheet-x::before {
    transform: rotate(45deg);
  }

  .sheet-x::after {
    transform: rotate(-45deg);
  }

  .nav.is-open .nav-list {
    display: block;
    padding: 0;
    counter-reset: hoja;
  }

  .nav.is-open .nav-list li {
    counter-increment: hoja;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open .nav-list li:last-child {
    border-bottom: 2px solid var(--ink);
  }

  .nav.is-open .nav-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    padding: 10px 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.7rem, 7.6vw, 2.1rem);
    line-height: 1;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--ink);
  }

  .nav.is-open .nav-list a::before {
    content: counter(hoja, decimal-leading-zero);
    flex: none;
    width: 22px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--muted);
  }

  .nav.is-open .nav-list a::after {
    content: "→";
    display: block;
    position: static;
    width: auto;
    height: auto;
    margin-left: auto;
    background: none;
    transform: none;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 400;
    color: var(--primary);
  }

  .nav.is-open .nav-list a[aria-current="page"] {
    color: var(--primary);
  }

  .nav.is-open .nav-list a[aria-current="page"]::before {
    color: var(--primary);
  }

  .nav.is-open .sheet-estado {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .sheet-dot {
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    border: 1.5px solid var(--ink);
    box-shadow: 0 0 0 3px rgba(255, 237, 0, .28);
  }

  .nav.is-open .nav-extra {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: auto;
    padding: 22px 0 0;
    border-top: 2px solid var(--ink);
    font-family: var(--font-mono);
    color: var(--primary);
  }

  .nav.is-open .nav-tel {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    letter-spacing: .02em;
    color: var(--ink);
  }

  .nav.is-open .nav-mail {
    font-size: 10.5px;
    letter-spacing: .04em;
    color: var(--muted);
    overflow-wrap: anywhere;
  }

  .nav.is-open .nav-wa {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    margin-bottom: 4px;
    padding: 0 14px;
    background: var(--accent);
    border: 2px solid var(--ink);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .nav-wa-num {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: .02em;
  }

  .sheet-nota {
    font-size: 8.5px;
    line-height: 1.7;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
  }

  @keyframes hoja-in {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  /* -------------------------------------------------- portada a sangre */
  .portada-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 0;
    min-height: 0;
  }

  .portada-fig {
    order: 1;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-top: 0;
    border-bottom: 2px solid var(--ink);
  }

  .portada-copy {
    order: 2;
    padding: 20px var(--gutter) 26px;
  }

  .portada-title {
    margin-top: 12px;
    font-size: clamp(2.5rem, 10.6vw, 3.3rem);
  }

  .portada-lead {
    margin-top: 14px;
    max-width: none;
    font-size: 16px;
    line-height: 1.55;
  }

  .portada-act {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    margin-top: 18px;
  }

  .portada-act .btn {
    width: 100%;
    min-height: 52px;
  }

  .portada-coords {
    margin-top: 20px;
    font-size: 8.5px;
    letter-spacing: .1em;
  }

  .portada-cap {
    left: 12px;
    top: 12px;
    max-width: calc(100% - 30px);
    font-size: 8px;
  }

  .portada-stamp {
    top: auto;
    bottom: 14px;
    right: 14px;
    font-size: 26px;
    padding: 7px 11px 8px;
  }


  .portada-foot-inner {
    padding: 12px var(--gutter);
    font-size: 9px;
    gap: 6px 16px;
  }

  /* ------------------------------------ servicios en carrusel con snap */
  .sec {
    padding-block: clamp(46px, 9vw, 68px);
  }

  .sec--tight {
    padding-block: 34px;
  }

  .sec-head {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px 14px;
    margin-bottom: 26px;
  }


  .sec-num {
    font-size: 44px;
    line-height: .8;
  }

  .sec-head .sec-lead {
    grid-column: 1 / -1;
    padding-top: 12px;
    font-size: 14.5px;
  }


  .sec-title {
    margin-top: 8px;
    font-size: clamp(1.9rem, 7.6vw, 2.45rem);
    max-width: none;
  }

  .sec-foot {
    margin-top: 26px;
  }

  .sec--servicios .wrap {
    timeline-scope: --fichas;
  }

  .sec--servicios .fichas {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    grid-auto-rows: auto;
    gap: 12px;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 8px;
    border-top: 0;
    scroll-timeline: --fichas x;
  }

  .sec--servicios .fichas::-webkit-scrollbar {
    display: none;
  }

  .sec--servicios .fichas-item {
    scroll-snap-align: start;
    min-width: 0;
  }

  .sec--servicios .ficha {
    min-height: 0;
    padding: 16px 17px 14px;
    gap: 12px;
  }

  .sec--servicios .ficha-tab {
    padding-bottom: 10px;
  }

  .sec--servicios .ficha-title {
    font-size: 1.4rem;
  }

  .sec--servicios .ficha-sub {
    font-size: 9px;
  }

  .sec--servicios .ficha-desc {
    font-size: .86rem;
  }

  .sec--servicios .ficha-foot {
    padding-top: 11px;
  }

  .carrusel-pista {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .carrusel-pista-k {
    flex: none;
  }

  .carrusel-rail {
    position: relative;
    flex: 1;
    height: 3px;
    background: var(--line);
    overflow: hidden;
  }

  .carrusel-rail i {
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: scaleX(.18);
    transform-origin: left;
    animation: carril linear both;
    animation-timeline: --fichas;
  }

  @keyframes carril {
    from {
      transform: scaleX(.18);
    }
    to {
      transform: scaleX(1);
    }
  }

  /* ---------------------------------- cifras y datos en dos columnas */
  .reg-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
  }

  .reg-title {
    font-size: clamp(1.85rem, 7.8vw, 2.4rem);
    max-width: none;
  }

  .reg-note {
    max-width: none;
    font-size: 9px;
  }

  .reg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reg-item {
    padding: 18px 14px 20px 0;
    border-bottom: 1px solid rgba(237, 234, 226, .16);
  }

  .reg-item:nth-child(2n) {
    border-right: 0;
    padding-left: 14px;
  }

  .reg-val {
    font-size: clamp(38px, 11.4vw, 54px);
  }

  .reg-det {
    font-size: 12px;
    max-width: none;
  }

  /* --------------------------------------- operación en columna de pulgar */
  .op-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .op-copy .sec-head {
    margin-bottom: 20px;
  }

  .op-list {
    border-top: 2px solid var(--ink);
  }

  .op-item {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 15px 0 16px 20px;
  }

  .op-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 21px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border: 1.5px solid var(--ink);
    z-index: 1;
  }

  .op-item::after {
    content: "";
    position: absolute;
    left: 3.5px;
    top: 32px;
    bottom: -1px;
    width: 1px;
    background: var(--line);
  }

  .op-item:last-child::after {
    display: none;
  }

  .op-code {
    padding-top: 0;
    font-size: 9.5px;
  }

  .op-body h3 {
    font-size: 19px;
  }

  .op-body p {
    font-size: 14px;
  }

  .op-fig {
    aspect-ratio: 16 / 10;
  }

  .op-cap {
    font-size: 8px;
    padding: 8px 11px;
  }


  /* ------------------------------- sectores: línea guía y placas táctiles */
  .sectores {
    position: relative;
    border-top: 2px solid var(--ink);
  }

  .sectores::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 28px;
    bottom: 28px;
    width: 1px;
    background: var(--line);
    z-index: 0;
  }

  .sector {
    position: relative;
    z-index: 1;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 4px 13px;
    align-items: start;
    padding: 15px 0 16px;
  }

  .sector:hover {
    background: transparent;
    padding-left: 0;
  }

  .sector-mark {
    grid-row: 1 / span 2;
    gap: 0;
  }

  .picto {
    width: 44px;
    height: 44px;
    background: var(--surface);
  }

  .picto-svg {
    width: 29px;
    height: 29px;
  }

  .sector-idx {
    display: none;
  }

  .sector-name {
    font-size: 1.32rem;
    line-height: 1.02;
  }

  .sector-ex {
    margin-top: 5px;
    font-size: 8.5px;
    line-height: 1.5;
    letter-spacing: .08em;
  }

  .sector-det {
    grid-column: 2;
    margin-top: 6px;
    font-size: 13.5px;
    line-height: 1.5;
  }

  /* ------------------------------------------------------------ preguntas */



  .faq-item summary {
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    gap: 10px;
    min-height: 58px;
    padding: 16px 0;
    align-items: center;
  }

  .faq-num {
    padding-top: 0;
  }

  .faq-q {
    font-size: 15.5px;
  }

  .faq-plus {
    margin-top: 0;
  }

  .faq-a {
    padding: 0 0 20px 40px;
  }

  .faq-a p {
    font-size: 14px;
  }

  /* --------------------------------------------------------- cierre y pie */
  .cta {
    padding-block: 52px;
  }

  .cta-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .cta-title {
    font-size: clamp(1.95rem, 8vw, 2.5rem);
    max-width: none;
  }

  .cta-text {
    font-size: 14.5px;
  }

  .cta-side {
    gap: 18px;
  }

  .cta-side .btn {
    min-height: 52px;
  }

  .cta-data {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-top: 18px;
  }

  .cta-data dd {
    margin-top: 3px;
    font-size: 14px;
  }

  .foot {
    padding-top: 40px;
  }

  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 9.5px;
  }

  /* -------------------------------------------------- formularios táctiles */
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .form-main {
    padding: 22px 18px 24px;
  }

  .fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .field input,
  .field select,
  .field textarea {
    min-height: 50px;
    font-size: 16px;
    padding: 13px 14px;
  }

  .field textarea {
    min-height: 132px;
  }

  .form-act {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .form-act .btn {
    width: 100%;
    min-height: 52px;
  }

  .consent {
    font-size: 11.5px;
  }

  .consent input {
    width: 22px;
    height: 22px;
  }

  /* --------------------------------------------- interiores y fichas */
  .interior-title {
    font-size: clamp(2.3rem, 10vw, 3.2rem);
  }

  .interior-lead {
    font-size: 15px;
  }

  .interior-meta {
    font-size: 8.5px;
    letter-spacing: .1em;
  }

  .detalle-title {
    font-size: clamp(2.2rem, 9.6vw, 3rem);
  }

  .detalle-act {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }

  .detalle-act .btn {
    width: 100%;
    min-height: 52px;
  }

  .crumbs {
    font-size: 8.5px;
  }

  .galeria {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }

  .detalle-hero .wrap,
  .coleccion-hero .wrap {
    padding-inline: var(--gutter);
  }

  .inst-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .banda-item {
    font-size: 11px;
    letter-spacing: .14em;
  }

  .banda-sep {
    margin-inline: 12px;
  }
}

/* ==========================================================================
   AGENDA DE CITAS — la visita técnica como parte del sistema de señalética
   El módulo llega con una hoja neutra (tarjetas redondeadas, tipografía del
   sistema, azul de botón). Aquí se reescribe con papel, tinta azul marino,
   tipografía de letrero y placas; el amarillo queda sólo en la acción de
   reservar y en la alerta de validación.
   ========================================================================== */

/* ------------------------------------------------------------------ cabecera */
.ag-hero {
  background: var(--primary);
  color: var(--on-dark);
  border-bottom: 0;
  padding-block: clamp(26px, 3.6vw, 46px) clamp(30px, 4vw, 52px);
}

.ag-hero--small {
  padding-block: clamp(24px, 3vw, 40px) clamp(26px, 3.4vw, 44px);
}

.ag-wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
}

.ag-crumbs {
  margin-bottom: clamp(18px, 2.4vw, 30px);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: rgba(237, 234, 226, .52);
}

.ag-crumbs a {
  color: rgba(237, 234, 226, .52);
}

.ag-crumbs a:hover {
  color: var(--paper);
}

.ag-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  color: rgba(237, 234, 226, .66);
}

.ag-eyebrow::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border: 1.5px solid rgba(237, 234, 226, .5);
  transform: rotate(45deg);
}

.ag-hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.8vw, 3.7rem);
  letter-spacing: .002em;
  text-transform: uppercase;
  color: var(--on-dark);
  max-width: 26ch;
}

.ag-lead {
  max-width: 58ch;
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(237, 234, 226, .76);
}

.ag-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(237, 234, 226, .22);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(237, 234, 226, .6);
}

.ag-facts strong {
  color: var(--paper);
  font-weight: 700;
}

/* -------------------------------------------------------------------- pasos */
.ag-body {
  background: var(--paper);
  padding-block: clamp(30px, 4.4vw, 62px) clamp(46px, 6vw, 84px);
}

.ag-grid {
  /* La columna de resumen cae sobre el eje de decisión del sitio (nota de
     sección y columna de CTA), no en un ancho propio del módulo. */
  grid-template-columns: minmax(0, 1.96fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 44px);
}

.ag-main {
  gap: clamp(16px, 2.2vw, 26px);
}

.ag-step {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: clamp(16px, 2.2vw, 28px);
}

.ag-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.ag-step-head--inline {
  margin-top: 26px;
  padding-bottom: 12px;
}

.ag-step-num {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  padding: 4px 6px 5px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
}

.ag-step-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------------------------------------------------------------- servicios */
.ag-services {
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.ag-service {
  gap: 7px;
  padding: 14px 16px 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--text);
}

.ag-service:hover {
  background: #FFFCEB;
  border-color: var(--ink);
}

.ag-service.is-active {
  background: #FFFCEB;
  border-color: var(--ink);
  box-shadow: inset 3px 0 0 var(--ink);
}

.ag-service-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.04;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink);
}

.ag-service-detail {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.ag-service-meta {
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--primary);
}

.ag-simple-form label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ag-simple-form input {
  border: 1.5px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}

.ag-simple-form input:focus {
  border-color: var(--ink);
  outline: none;
}

/* ------------------------------------------------------------------- meses */
.ag-months {
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.ag-month {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 12px 10px;
  background: var(--surface);
}

.ag-month-head {
  margin-bottom: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}

.ag-month-nav {
  color: var(--primary);
  font-size: 14px;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 0;
}

.ag-month-nav:hover {
  background: var(--ink);
  color: var(--paper);
}

.ag-cal th {
  padding-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--muted);
}

.ag-cal td {
  padding: 1px;
}

.ag-day {
  border-radius: 0;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

a.ag-day:hover {
  background: var(--line);
}

.ag-day.is-selected {
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}

.ag-day.is-off {
  color: var(--steel);
}

/* ------------------------------------------------------------------- horas */
.ag-chosen {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--muted);
}

.ag-slots {
  gap: 6px;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
}

.ag-slot span {
  padding: 0.7rem 0.4rem;
  border: 1.5px solid var(--line);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
  background: var(--surface);
}

.ag-slot input:hover + span {
  border-color: var(--ink);
}

.ag-slot input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.ag-slot input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.ag-hint {
  font-size: 14px;
  color: var(--muted);
}

/* ------------------------------------------------------------------- datos */
.ag-fields {
  gap: 14px 18px;
}

.ag-field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted);
}

.ag-field input,
.ag-field textarea {
  border: 1.5px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  font-family: var(--font-text);
  font-size: 15px;
}

.ag-field input:focus,
.ag-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(27, 48, 83, .12);
}

.ag-consent {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.ag-consent a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ag-consent input {
  accent-color: var(--ink);
}

/* ----------------------------------------------------------------- botones */
.ag-btn {
  gap: 10px;
  min-height: 52px;
  padding: 0.9rem 1.5rem;
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ag-btn:hover {
  background: var(--paper);
  opacity: 1;
}

.ag-btn:active {
  transform: translateY(1px);
}

.ag-btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.ag-btn-ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
  color: var(--ink);
}

.ag-note {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--muted);
}

/* ------------------------------------------------------------------ lateral */
.ag-aside {
  top: 96px;
  gap: 14px;
}

.ag-card {
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  padding: 18px 20px 20px;
}

.ag-card--soft {
  background: var(--paper);
}

.ag-card-title {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--muted);
}

.ag-summary {
  gap: 9px;
  font-size: 13.5px;
}

.ag-summary > div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.ag-summary dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ag-summary dd {
  font-weight: 600;
  color: var(--ink);
}

/* El comprobante reparte seis datos: se leen en columnas de ficha, con la
   etiqueta arriba y el dato abajo, en vez de una fila que aprieta los valores. */
.ag-summary--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.ag-summary--wide > div {
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 11px 18px 11px 0;
  border-bottom: 1px solid var(--line);
}

.ag-summary--wide > div:last-child {
  border-bottom: 1px solid var(--line);
}

.ag-summary--wide dd {
  text-align: left;
  font-size: 13.5px;
  line-height: 1.4;
}

.ag-card .ag-btn-block {
  margin-top: 16px;
}

.ag-card--soft p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ------------------------------------------------------------------ ticket */
.ag-ticket {
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
}

.ag-ticket-head {
  border-bottom: 1px solid var(--line);
}

.ag-ticket-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--muted);
}

.ag-ticket-code {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 12px 8px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: .16em;
}

.ag-ticket-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
}

.ag-ticket-notes {
  font-size: 13.5px;
  color: var(--muted);
}

.ag-next h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  text-transform: uppercase;
  color: var(--ink);
}

.ag-next-list {
  padding-left: 1.1rem;
  font-size: 14px;
  color: var(--muted);
}

.ag-next-list li + li {
  margin-top: 8px;
}

.ag-contact {
  font-size: 13.5px;
}

.ag-contact span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--muted);
}

/* ------------------------------------------------------------------ alerta */
/* Única banda de peligro dentro de la reserva: marca el error de validación. */
.ag-alert {
  position: relative;
  padding: 16px 18px 16px 30px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
}

.ag-alert::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: var(--band);
}

.ag-alert ul {
  margin-top: 6px;
  padding-left: 1.1rem;
}

/* -------------------------------------------------------------------- móvil */
@media (max-width: 900px) {
  .ag-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ag-body {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }

  .ag-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .ag-wrap {
    width: calc(100% - (var(--gutter) * 2));
  }

  .ag-step {
    padding: 16px 14px;
  }

  .ag-step-head {
    gap: 9px;
  }

  .ag-services {
    grid-template-columns: minmax(0, 1fr);
  }

  .ag-slots {
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  }

  .ag-summary--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ag-slot span {
    min-height: 48px;
    font-size: 13px;
  }

  .ag-btn {
    width: 100%;
    padding-inline: 12px;
    font-size: 10.5px;
    letter-spacing: .05em;
  }

  .ag-hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
}

/* ==========================================================================
   Suelo tipográfico de rótulos
   La señalética se escribe en versalitas mono con tracking abierto; a 8–9.5 px
   ese recurso deja de leerse, sobre todo en móvil. Se fija un mínimo de 10.5 px
   en escritorio y 11 px bajo 620 px para todo rótulo que porte información.
   Las cotas de plano puramente ornamentales conservan su tamaño pequeño.
   ========================================================================== */
.rotulo,
.ficha-tab,
.ficha-sub,
.ficha-tipo,
.sector-ex,
.faq-num,
.op-code,
.op-cap,
.reg-item dt,
.foot-k,
.foot-h,
.foot-seal,
.fund-cap,
.aside-title,
.spec-k,
.spec-data dt,
.detalle-sub,
.portada-cap,
.portada-coords,
.turnos-centro-k,
.turnos-leyenda li,
.turnos-pie,
.banda-item,
.ag-eyebrow,
.ag-field label,
.sec--servicios .ficha-sub,
.sec--servicios .ficha-tab {
  font-size: 10.5px;
}

/* El rótulo de sección es el nivel más alto de la etiqueta: va un paso sobre
   el resto de las micro-etiquetas, no al mismo tamaño. */
.rotulo {
  font-size: 11px;
  letter-spacing: .18em;
}

@media (max-width: 620px) {
  .rotulo,
  .ficha-tab,
  .ficha-sub,
  .sector-ex,
  .faq-num,
  .op-code,
  .op-cap,
  .reg-item dt,
  .foot-k,
  .foot-h,
  .fund-cap,
  .detalle-sub,
  .portada-cap,
  .turnos-leyenda li,
  .sec--servicios .ficha-sub,
  .sec--servicios .ficha-tab { 
    font-size: 11px;
  }
}

/* ==========================================================================
   Pase de detalle · menú móvil compacto, hoja que cabe y cierre del bloque 03
   No cambia el sistema: la placa, el filete y la cinta de peligro son los
   mismos. Corrige medidas del menú, centra las piezas gráficas y cierra la
   retícula de «Un puesto no se improvisa» en 1440, 1024 y 768.
   ========================================================================== */

/* --------------------------------------------------------- A. botón menú */
/* Era una píldora con la palabra «Menú» (82 × 44). Ahora es una placa de
   42 × 42 con la hamburguesa de 19 px: la marca no usa radios y el icono
   hereda el filete de tinta. La etiqueta queda en .sr para lectores. */
@media (max-width: 1040px) {
  .nav-btn {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    gap: 0;
    margin-left: auto;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--paper);
    color: var(--ink);
    transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
  }

  .nav-btn-ico {
    position: relative;
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
  }

  .nav-btn-ico::before,
  .nav-btn-ico::after {
    content: "";
    position: absolute;
    left: 0;
    width: 19px;
    height: 2px;
    background: currentColor;
    transition: top .18s var(--ease), transform .18s var(--ease);
  }

  .nav-btn-ico::before {
    top: -6px;
  }

  .nav-btn-ico::after {
    top: 6px;
  }

  /* Abierto: la placa se llena de tinta y el icono pasa a claro. */
  .nav-btn[aria-expanded="true"] {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
  }

  .nav-btn[aria-expanded="true"] .nav-btn-ico {
    background: transparent;
  }

  .nav-btn[aria-expanded="true"] .nav-btn-ico::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-btn[aria-expanded="true"] .nav-btn-ico::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

/* ------------------------------------------------------ B. hoja de menú */
@media (max-width: 860px) {
  /* La hoja se fija a la pantalla, hace scroll interno y reserva el alto de
     la barra de acciones (aunque esté oculta) para que el último enlace nunca
     quede debajo de nada. */
  .nav.is-open {
    max-height: 100dvh;
    padding: calc(24px + env(safe-area-inset-top)) var(--gutter) calc(96px + env(safe-area-inset-bottom));
    overscroll-behavior: contain;
    justify-content: space-between;
  }

  /* El aire sobrante se reparte entre los cuatro tramos de la hoja en lugar de
     acumularse en un solo hueco antes del bloque de contacto. */
  .nav.is-open .nav-extra {
    margin-top: 0;
  }

  .nav.is-open .sheet-estado {
    margin-top: 0;
  }

  /* Filas de 62 px y titular de 1.3 rem: el menú deja de ser un cartel y se
     lee como el índice de un plano. */
  .nav.is-open .nav-list a {
    min-height: 62px;
    padding: 9px 0;
    font-size: 1.3rem;
    line-height: 1.06;
  }

  .nav.is-open .nav-list a::before {
    font-size: 10px;
  }

  .nav.is-open .nav-list a::after {
    font-size: 14px;
  }

  /* El esténcil de la hoja deja de flotar cruzado sobre el contenido: pasa a
     ser el sello de la placa, en la franja inferior reservada. */
  .nav.is-open::after {
    left: auto;
    right: var(--gutter);
    top: auto;
    bottom: calc(18px + env(safe-area-inset-bottom));
    width: max-content;
    transform: none;
    font-size: clamp(46px, 13vw, 64px);
    line-height: .8;
    z-index: 0;
    -webkit-text-stroke: 1.5px rgba(31, 31, 31, .16);
  }

  .sheet-top {
    padding-bottom: 14px;
  }

  .nav.is-open .nav-extra {
    padding-top: 18px;
  }

  /* Rótulos informativos de la hoja: no bajan del suelo tipográfico del sitio. */
  .nav.is-open .sheet-estado,
  .nav.is-open .sheet-nota {
    font-size: 10px;
  }

  .nav.is-open .sheet-close {
    font-size: 10.5px;
  }
}

/* --------------------------------------- C. sección 03 · retícula cerrada */
/* La lista terminaba 675 px antes que la columna de figuras. La rueda deja de
   colgar de esa columna y pasa a ser la banda de instrumento que remata el
   bloque; la foto comparte fila con la lista y se estira a su alto. */
@media (min-width: 900px) {
  .op-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-areas:
      "lista foto"
      "turnos turnos";
    column-gap: clamp(26px, 3vw, 44px);
    row-gap: clamp(24px, 2.6vw, 32px);
    align-items: stretch;
  }

  .op-copy {
    grid-area: lista;
  }

  .op-figuras {
    grid-area: foto;
    display: flex;
    height: 100%;
  }

  .op-figuras .op-fig {
    flex: 1 1 auto;
    aspect-ratio: auto;
    max-height: none;
    min-height: 0;
  }

  .op-turnos {
    grid-area: turnos;
  }

  /* Banda de instrumento: título a la izquierda, carátula al centro y leyenda
     a la derecha, todas colgadas de la misma línea de base; pie de ancho
     completo. */
  .op-turnos .turnos {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr) minmax(0, 1fr);
    grid-template-areas:
      "cab dial leyenda"
      "pie pie pie";
    column-gap: clamp(18px, 2.6vw, 40px);
    align-items: center;
  }

  .op-turnos .turnos-cab {
    grid-area: cab;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 24px 20px 24px;
    border-right: 1px solid var(--line);
  }

  .op-turnos .turnos-titulo {
    margin-top: 9px;
    font-size: clamp(1.45rem, 2.1vw, 2.1rem);
    line-height: .98;
    text-wrap: balance;
  }

  .op-turnos .turnos-svg {
    grid-area: dial;
    width: 100%;
    max-width: 380px;
    padding: 14px 0 12px;
    margin-inline: auto;
  }

  .op-turnos .turnos-leyenda {
    grid-area: leyenda;
    align-self: stretch;
    align-content: center;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 0 24px;
    border-left: 1px solid var(--line);
  }

  .op-turnos .turnos-pie {
    grid-area: pie;
    margin-top: 0;
    padding: 10px 18px 12px;
  }
}

/* La rueda no se estira con el ancho de la página: a 1024 llegaba a 938 px
   y sus rótulos horarios duplicaban el tamaño del resto del plano. */
@media (max-width: 899px) {
  .op-turnos .turnos-svg {
    max-width: 340px;
    margin-inline: auto;
  }
}

/* Entre 900 y 1180 la carátula conserva 340 px —el tamaño con el que se leen
   sus rótulos horarios— y cede ancho a las dos columnas de texto. */
@media (min-width: 900px) and (max-width: 1179px) {
  .op-turnos .turnos {
    grid-template-columns: minmax(0, 1fr) 340px minmax(0, 1fr);
    column-gap: clamp(18px, 2.4vw, 30px);
  }

  .op-turnos .turnos-leyenda {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------- D. rueda y pictogramas */
/* El pictograma se centra en la placa desde el propio trazo (ver picto.php):
   no todos los dibujos apoyan en el centro de la retícula de 48. */
.picto-svg {
  overflow: visible;
}
