/* Hallmark · SELPASE — LA CASA · house.css (GENERADA, no editar a mano)
   Generador: casa-completa/diseno/build/gen-css.mjs · Regenerar: node gen-css.mjs
   Sistema: BLOQUEADO — casa-completa/diseno/DESIGN.md manda entero.
   Sin reparto de temas (enmienda C1): una sola hoja, un solo régimen,
   cero alas con piel propia (cierra la causa raíz W2-15 y W2-07).
   Género: website institucional editorial de empresa grande, desktop-first;
   el móvil es el pliegue (<1024 hamburguesa; <768 una columna), nunca el amo.
   nav: two-level header — utility bar + sticky main nav, 5 grouped panels,
   stores mega-panel generated from the store registry
   footer: footer-map — brand and entity column + 4 link columns + legal row,
   generated from the same route manifest as the nav
   hero: banner · posture: committed · surface: absolute · copy: verbatim
   (copy: verbatim = el contenido es el de la casa ya aceptado; esta obra es
   solo su presentación — enmienda C8 de la casa.)
   Fotografía: biblioteca de licencia abierta de la casa (Wikimedia Commons),
   acreditada por página en la fila de créditos del pie-mapa (DESIGN §6/§10).
   ── Autocrítica pre-emisión (Hallmark N5) ───────────────────────────────
   Eje más débil: Execution — el riesgo de que los paneles de navegación y
   el mega-panel de tiendas se lean como plantilla si su contenido baja a
   enlaces pelados. Arreglo: cada cuarto del panel lleva nombre + una línea
   de qué resuelve, y el mega-panel se genera del registro de tiendas.
   Picks: ver INFORME-R1.md (compuerta §12 de DESIGN.md)
   ════════════════════════════════════════════════════════════════════════ */
/* Hallmark · waive 7b · guard: DESIGN.md §2 token block fixes --bg and --white at #FFFFFF · the locked house palette declares pure white as the base of this website, and every surface of the house inherits that base unchanged */
/* Hallmark · waive 24b · guard: DESIGN.md §9.1 and §9.7 print the button and field padding verbatim · the locked system fixes the button padding of this website at 14px 26px and its field padding at 12px 14px, as printed in the spec */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap');
:root {
  --bg: #FFFFFF;
  --ground: #F4F7FB;
  --surface: #FFFFFF;
  --surface-hover: #EDF2F9;
  --pale: #EAF0F8;
  --navy: #003876;
  --navy-deep: #002855;
  --navy-hover: #002F63;
  --red: #EE2A24;
  --red-dark: #C81E18;
  --red-on-dark: #FF8A84;
  --ink: #12212F;
  --text: #22303E;
  --muted: #5A6B7B;
  --white: #FFFFFF;
  --line: #D7E0EC;
  --line-strong: #B9C9DC;
  --navy-rgb: 0, 56, 118;
  --navy-deep-rgb: 0, 40, 85;
  --red-rgb: 238, 42, 36;
  --ink-rgb: 18, 33, 47;
  --on-dark-line: rgba(255, 255, 255, .25);
  --on-dark-line-strong: rgba(255, 255, 255, .28);
  --success: #177245;
  --error: #B3261E;
  --warning: #8A5A00;
  --success-bg: #E7F4EC;
  --error-bg: #FBEAE8;
  --warning-bg: #FBF3DF;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --s10: 128px;
  --r0: 0;
  --r-img: 6px;
  --r-ctl: 8px;
  --r-panel: 10px;
  --wrap: 1280px;
  --wrap-wide: 1440px;
  --gutter: 24px;
  --gutter-wide: 40px;
  --font: "Hanken Grotesk", "Segoe UI", Helvetica, Arial, sans-serif;
  --focus-ring: 0 0 0 3px rgba(var(--red-rgb), .38);
  --e1: 0 1px 2px rgba(var(--ink-rgb), .05), 0 4px 16px rgba(var(--navy-rgb), .06);
  --e2: 0 12px 32px rgba(var(--navy-deep-rgb), .16);
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--text); background: var(--bg); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-ctl); }
.band--navy :focus-visible, .band--deep :focus-visible, .foot-map :focus-visible, .utilbar :focus-visible, .hero-photo :focus-visible {
  outline: 2px solid var(--white); outline-offset: 2px; box-shadow: var(--focus-ring); }
::selection { background: var(--pale); }

/* ── Escala tipográfica — una sola (DESIGN §3) ────────────────────────── */
.display { font-size: clamp(3.5rem, 4.6vw, 4.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; color: var(--ink); margin: 0; text-wrap: balance; }
h1, .h1 { font-size: clamp(2.75rem, 3.6vw, 3.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 var(--s5); text-wrap: balance; }
h2, .h2 { font-size: clamp(2rem, 2.6vw, 2.5rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 var(--s4); text-wrap: balance; }
h3, .h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.25; color: var(--ink); margin: 0 0 var(--s3); }
h4, .h4 { font-size: 1.25rem; font-weight: 600; line-height: 1.35; color: var(--ink); margin: 0 0 var(--s2); }
.lede { font-size: 1.3125rem; line-height: 1.55; color: var(--text); margin: 0 0 var(--s5); max-width: 46em; }
.small { font-size: .9375rem; line-height: 1.55; }
.meta { font-size: .8125rem; font-weight: 500; line-height: 1.45; letter-spacing: .01em; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.band--navy h1, .band--navy h2, .band--navy h3, .band--deep h1, .band--deep h2, .band--deep h3,
.foot-map h2, .foot-map h3, .hero-photo .display { color: var(--white); }
.band--navy .lede, .band--deep .lede { color: var(--white); }
.band--navy a, .band--deep a { color: var(--white); }
.rule { border: 0; border-top: 3px solid var(--red); width: 56px; margin: var(--s4) 0; }
.rule--left { margin-inline: 0; }

/* ── Contenedores, rejilla, bandas (DESIGN §4) ────────────────────────── */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5); }
.span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }
.band { padding: var(--s9) 0; }
.band--tight { padding: var(--s8) 0; }
.band--navy { background: var(--navy); color: var(--white); }
.band--deep { background: var(--navy-deep); color: var(--white); }
.band--ground { background: var(--ground); }
main > .band:first-child { margin-top: 0; }

/* ── Botones y enlaces (DESIGN §9.1) ──────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: var(--s2); font: 600 1rem/1 var(--font);
  padding: 14px 26px; border-radius: var(--r-ctl); border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: background-color .18s ease-out, border-color .18s ease-out, color .18s ease-out; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-hover); }
.btn--primary:active { background: var(--navy-deep); }
.btn--primary:disabled { background: var(--line-strong); color: var(--muted); cursor: not-allowed; }
.btn--on-dark { background: var(--white); color: var(--navy-deep); }
.btn--on-dark:hover { background: var(--pale); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--ghost:active { border-color: var(--navy-deep); color: var(--navy-deep); }
.btn:disabled { cursor: not-allowed; }
.link-arrow { font-weight: 600; color: var(--navy); text-decoration: none; }
.link-arrow .arr { display: inline-block; transition: transform .18s ease-out; }
.link-arrow .arr svg { width: 15px; height: 15px; vertical-align: -2px; }
.link-arrow:hover { color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }
.link-arrow:hover .arr { transform: translateX(2px); }
.band--navy .link-arrow, .band--deep .link-arrow { color: var(--white); }
.band--navy .link-arrow:hover, .band--deep .link-arrow:hover { color: var(--red-on-dark); }

/* ── Cabecera: utilidades + navegación principal (DESIGN §7) ──────────── */
.utilbar { background: var(--navy-deep); color: var(--white); font-size: .9375rem; }
.utilbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: var(--s5); }
.utilbar a { color: var(--white); text-decoration: none; }
.utilbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.utilbar .u-right { display: flex; align-items: center; gap: var(--s5); }
.utilbar .u-charge { font-weight: 500; }
.utilbar .lang-switch { display: inline-flex; gap: var(--s2); font-weight: 600; }
.utilbar .lang-switch .sep { color: var(--line-strong); font-weight: 400; }
.utilbar .lang-switch [aria-current] { color: var(--red-on-dark); }
body.is-scrolled .utilbar { display: none; }
.site-head { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: 1px solid var(--line); }
body.is-scrolled .site-head { box-shadow: var(--e1); }
.site-head .wrap { display: flex; align-items: center; gap: var(--s6); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand .wordmark { font-size: 1.375rem; font-weight: 800; letter-spacing: .04em; color: var(--ink); line-height: 1; }
.brand .wordmark::after { content: ""; display: block; height: 3px; background: var(--red); margin-top: 3px; }
.brand .slogan { font-size: .8125rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.main-nav { display: flex; align-items: stretch; gap: var(--s2); }
.nav-group { position: relative; }
.nav-btn { appearance: none; background: none; border: 0; cursor: pointer; font: 600 1rem/1.2 var(--font);
  color: var(--ink); padding: 10px 14px; display: inline-flex; align-items: center; gap: var(--s2);
  border-bottom: 3px solid transparent; border-radius: var(--r-ctl) var(--r-ctl) 0 0; }
.nav-btn:hover { color: var(--navy); }
.nav-btn[aria-expanded="true"] { color: var(--navy); }
.nav-group.is-current .nav-btn { border-bottom-color: var(--red); color: var(--navy); }
.nav-btn .chev { width: 12px; height: 12px; flex: none; }
.nav-panel { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px);
  min-width: 340px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel);
  box-shadow: var(--e2); padding: var(--s5); opacity: 0; visibility: hidden; z-index: 70;
  transition: opacity .18s ease-out, transform .18s ease-out, visibility .18s; }
.nav-group.open .nav-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.nav-panel--wide { min-width: 620px; }
.nav-panel--wide ul { grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s6); }
.nav-item a { display: block; text-decoration: none; padding: var(--s2) var(--s3); border-radius: var(--r-ctl); }
.nav-item a:hover { background: var(--surface-hover); }
.nav-item .ni-name { display: block; font-weight: 600; color: var(--ink); }
.nav-item a[aria-current="page"] .ni-name { box-shadow: inset 3px 0 0 var(--red); padding-left: var(--s2); margin-left: calc(var(--s2) * -1); }
.nav-item .ni-line { display: block; font-size: .9375rem; color: var(--muted); margin-top: 2px; }
/* Mega-panel de Tiendas — el inventario entero, generado del registro (patrón CIBT) */
.mega-panel { min-width: 680px; }
.mega-panel .mega-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s5); margin-bottom: var(--s4); }
.mega-store { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: var(--s4); align-items: center;
  padding: var(--s4) 0; border-top: 1px solid var(--line); text-decoration: none; }
.mega-store img { width: 120px; height: 90px; object-fit: cover; border-radius: var(--r-img); }
.mega-store .ms-name { font-weight: 700; color: var(--ink); font-size: 1.125rem; }
.mega-store .ms-data { display: block; font-size: .9375rem; color: var(--muted); }
.mega-store:hover .ms-name { color: var(--navy); }
.mega-foot { border-top: 1px solid var(--line); padding-top: var(--s4); display: flex; gap: var(--s6); }
/* Pliegue de navegación — hamburguesa SOLO <1024px */
.menu-btn { display: none; appearance: none; background: none; border: 1px solid var(--line-strong);
  border-radius: var(--r-ctl); padding: 10px 14px; font: 600 1rem/1 var(--font); color: var(--ink); cursor: pointer; min-height: 44px; }
.mobile-panel { display: none; }

/* ── Héroe fotográfico (DESIGN §8.1 banda 1) ──────────────────────────── */
.hero-photo { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); color: var(--white); }
.hero-photo .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r0); z-index: -2; }
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(var(--navy-deep-rgb), .55), rgba(var(--navy-deep-rgb), .25) 55%, rgba(var(--navy-deep-rgb), .65)); }
.hero-photo .wrap { padding-top: var(--s10); padding-bottom: var(--s9); min-height: 72dvh; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-photo .lede { color: var(--white); max-width: 38em; }
/* Titular de héroe DE CUARTO dentro de .hero-photo: escala H1 de cuarto
   (DESIGN §3) en blanco sobre la foto — clase propia y nombrada; el nivel
   Display queda reservado al héroe de portada, como manda §3. */
.hero-photo .hero-title { font-size: clamp(2.75rem, 3.6vw, 3.5rem); font-weight: 800; line-height: 1.05;
  letter-spacing: -0.015em; color: var(--white); margin: 0 0 var(--s5); text-wrap: balance; }
/* Línea de datos del héroe de cuarto: los hechos en fila, separados por
   filetes — nunca una cadena con puntos medios (compuerta 63). */
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--s3) 0; font-size: 1.3125rem; line-height: 1.55;
  color: var(--white); margin: 0; max-width: 38em; }
.hero-meta span + span { border-left: 1px solid var(--on-dark-line-strong); margin-left: var(--s4); padding-left: var(--s4); }
/* Fila de enlaces separada por filetes (la línea de puertas de un cuarto):
   cada enlace es su pieza; el separador es un borde, no un carácter. */
.link-row { display: flex; flex-wrap: wrap; gap: var(--s3) 0; }
.link-row a + a { border-left: 1px solid var(--line-strong); margin-left: var(--s5); padding-left: var(--s5); }
.hero-actions { display: flex; align-items: center; gap: var(--s6); flex-wrap: wrap; margin-top: var(--s5); }
.hero-actions .link-arrow { color: var(--white); }
.hero-actions .link-arrow:hover { color: var(--red-on-dark); }
.hero-card { background: var(--surface); color: var(--text); border-radius: var(--r-panel); box-shadow: var(--e1);
  padding: var(--s5); max-width: 520px; }
.hero-card h2, .hero-card h3 { color: var(--ink); }

/* ── Superficies editoriales y de banda ───────────────────────────────── */
.editorial { align-items: start; }
.rail-box { border-top: 3px solid var(--red); padding-top: var(--s4); }
.legal-info dl { margin: 0; display: grid; gap: var(--s4); }
.legal-info dt { font-size: .8125rem; font-weight: 500; letter-spacing: .01em; color: var(--muted); }
.legal-info dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.endorsement { font-weight: 600; color: var(--ink); }
.method { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); margin-top: var(--s7); }
.method .step { border-top: 2px solid var(--line-strong); padding-top: var(--s4); }
.method .step h3 { font-size: 1.25rem; }
.promise-list { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s3); }
.promise-list a { font-size: 1.125rem; font-weight: 600; text-decoration: none; }
.promise-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.proof-list { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s5); }
.proof-list li { border-top: 1px solid var(--line); padding-top: var(--s4); }
.band--navy .proof-list li { border-top-color: var(--on-dark-line-strong); }
.proof-list .pl-name { font-weight: 700; font-size: 1.125rem; }
.help-search { display: flex; gap: var(--s3); max-width: 720px; }
.help-search input { flex: 1; height: 56px; font: 400 1.0625rem/1.4 var(--font); color: var(--text);
  padding: 0 var(--s4); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--surface); }
.help-search input:focus { outline: none; border-color: var(--navy); box-shadow: var(--focus-ring); }
.article-rows { list-style: none; margin: var(--s5) 0 0; padding: 0; }
.article-rows li { border-top: 1px solid var(--line); }
.article-rows a { display: flex; justify-content: space-between; gap: var(--s5); padding: var(--s4) var(--s2);
  text-decoration: none; color: var(--text); }
.article-rows a:hover { background: var(--surface-hover); }
.article-rows .ar-name { font-weight: 600; color: var(--ink); }
.article-rows .ar-col { font-size: .9375rem; color: var(--muted); white-space: nowrap; }
.door-pair { align-items: stretch; }
.door { border-top: 3px solid var(--navy); padding-top: var(--s5); }
.door--red { border-top-color: var(--red); }
.fact-table { width: 100%; }

/* ── Directorio: filas y tablas de datos (DESIGN §8.2, §9.3, §9.4) ────── */
.dir-row { display: grid; grid-template-columns: 300px minmax(0, 1fr) auto; gap: var(--s6); align-items: center;
  padding: var(--s6) var(--s3); border-top: 1px solid var(--line); }
.dir-row:last-child { border-bottom: 1px solid var(--line); }
.dir-row:hover { background: var(--surface-hover); }
.dir-row .dir-photo img { width: 300px; height: 225px; object-fit: cover; border-radius: var(--r-img); }
.dir-row .dir-name { font-size: 1.5rem; font-weight: 700; color: var(--ink); margin: 0 0 var(--s2); }
.dir-row .dir-doors { display: grid; gap: var(--s3); justify-items: end; }
.data-table { border-collapse: collapse; margin-top: var(--s4); }
.data-table th, .data-table td { text-align: left; padding: var(--s2) var(--s5) var(--s2) 0; vertical-align: top; }
.data-table th { font-weight: 500; font-size: .9375rem; color: var(--muted); white-space: nowrap; }
.data-table td { font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.data-table tr { border-bottom: 1px solid var(--line); }
.data-table tr:last-child { border-bottom: 0; }

/* ── Documentos largos (DESIGN §8.5) ─────────────────────────────────── */
.doc-head { padding: var(--s8) 0 var(--s6); }
.doc { display: grid; grid-template-columns: 272px minmax(0, 1fr) 280px; gap: var(--s7); align-items: start; padding-bottom: var(--s9); }
.doc-toc { position: sticky; top: 96px; }
.doc-toc h2 { font-size: 1rem; margin-bottom: var(--s3); }
.doc-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.doc-toc a { display: block; padding: var(--s2) var(--s3); text-decoration: none; color: var(--text);
  border-radius: var(--r-ctl); font-size: .9375rem; }
.doc-toc a:hover { background: var(--surface-hover); }
.doc-toc a.is-active { font-weight: 700; color: var(--navy); box-shadow: inset 3px 0 0 var(--red); }
.doc-body { max-width: 720px; font-size: 1.0625rem; line-height: 1.75; }
.doc-body h2 { font-size: 1.5rem; margin-top: var(--s7); }
.doc-body h2:first-child { margin-top: 0; }
.doc-rail { position: sticky; top: 96px; display: grid; gap: var(--s6); }
.doc-rail .rail-box p { margin: var(--s2) 0 0; }

/* ── Formularios (DESIGN §9.7) ────────────────────────────────────────── */
.field { margin-bottom: var(--s5); }
.field label { display: block; font: 600 .9375rem/1.4 var(--font); color: var(--ink); margin-bottom: var(--s2); }
.field .hint { font-size: .9375rem; color: var(--muted); margin: 0 0 var(--s2); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.5 var(--font); color: var(--text);
  padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--surface); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: var(--focus-ring); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .error { color: var(--error); font-size: .9375rem; margin-top: var(--s1); }
.form-note { background: var(--success-bg); color: var(--success); border-radius: var(--r-ctl); padding: var(--s4); }
.form-note--error { background: var(--error-bg); color: var(--error); }
.form-note--warning { background: var(--warning-bg); color: var(--warning); }

/* Coreografía de estados de formulario (DESIGN §9.7 — el JS aceptado alterna
   clases; la hoja manda la visibilidad): el error de un campo nace oculto y
   aparece cuando su campo se marca .invalid, con el control teñido; la
   confirmación (.confirm) nace oculta y aparece con .show. Los errores
   gobernados por el atributo [hidden] (familia de servicio: llevan
   data-err-for y su JS manda sobre el atributo) quedan FUERA de esta
   coreografía — ninguna de estas reglas los toca. */
.field .error:not([data-err-for]) { display: none; }
.field.invalid .error:not([data-err-for]) { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.form-note.confirm { display: none; }
.form-note.confirm.show { display: block; }

/* ── Interruptor (DESIGN §8.6 — los toggles de Opciones de privacidad) ──
   El checkbox aceptado (<label class="switch"><input><span class="slider">)
   se presenta como interruptor: pista en pastilla (la forma es inherente al
   componente, como el círculo del pomo), pomo que se desplaza, estados
   completo (marcado, foco visible, deshabilitado). */
.switch { position: relative; display: inline-block; width: 52px; height: 28px; flex: none;
  cursor: pointer; vertical-align: middle; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch .slider { position: absolute; inset: 0; border-radius: 999px; background: var(--line-strong);
  transition: background-color .18s ease-out; pointer-events: none; }
.switch .slider::before { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--white); box-shadow: var(--e1); transition: transform .18s ease-out; }
.switch input:checked + .slider { background: var(--navy); }
.switch input:checked + .slider::before { transform: translateX(24px); }
.switch input:focus-visible + .slider { box-shadow: var(--focus-ring); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + .slider { background: var(--pale); }
.switch input:disabled + .slider::before { background: var(--line-strong); box-shadow: none; }

/* ── Acordeón (DESIGN §9.6) ───────────────────────────────────────────── */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { appearance: none; background: none; border: 0; width: 100%; text-align: left; cursor: pointer;
  font: 600 1.125rem/1.35 var(--font); color: var(--ink); padding: var(--s4) var(--s2);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 44px; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease-out; }
.acc-panel > div { overflow: hidden; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel .acc-body { padding: 0 var(--s2) var(--s5); }

/* ── Pie-mapa (DESIGN §10) ────────────────────────────────────────────── */
.foot-map { background: var(--navy-deep); color: var(--white); padding: var(--s9) 0 var(--s7); margin-top: 0; }
.foot-map a { color: var(--white); text-decoration: none; }
.foot-map a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s6); }
.foot-brand { grid-column: span 4; }
.foot-col { grid-column: span 2; }
.foot-col h3 { color: var(--white); font-size: 1rem; margin-bottom: var(--s4); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.foot-col a { font-size: .9375rem; }
.foot-brand .brand .wordmark { color: var(--white); }
.foot-brand .brand .slogan { color: var(--line); }
.foot-entity { margin-top: var(--s5); font-size: .9375rem; max-width: 34em; }
.foot-legal { border-top: 1px solid var(--on-dark-line); margin-top: var(--s8); padding-top: var(--s5);
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6); align-items: baseline; }
.foot-legal nav { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); }
.foot-credits { font-size: .8125rem; font-weight: 500; letter-spacing: .01em; color: var(--line); width: 100%; }
.foot-copy { font-size: .8125rem; color: var(--line); width: 100%; }

/* ── Movimiento L1 (DESIGN §11) ───────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .24s ease-out, transform .24s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Breakpoints que CAMBIAN la composición (DESIGN §4.3) ─────────────── */
@media (min-width: 1600px) {
  .wrap { max-width: var(--wrap-wide); padding-inline: var(--gutter-wide); }
  .grid { gap: var(--s6); }
}
@media (max-width: 1279px) {
  .nav-btn { padding: 10px 9px; font-size: .9375rem; }
  .doc { grid-template-columns: 240px minmax(0, 1fr); }
  .doc-rail { grid-column: 2; position: static; }
  .dir-row { grid-template-columns: 240px minmax(0, 1fr) auto; }
  .dir-row .dir-photo img { width: 240px; height: 180px; }
}
@media (max-width: 1023px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; }
  .mobile-panel { display: block; background: var(--surface); border-bottom: 1px solid var(--line);
    padding: var(--s4) 0 var(--s6); }
  .mobile-panel[hidden] { display: none; }
  .mobile-panel .mp-top { display: flex; gap: var(--s5); padding: 0 var(--gutter) var(--s4); font-weight: 600; }
  .hero-photo .wrap { min-height: 60dvh; padding-top: var(--s9); }
  .method { grid-template-columns: 1fr 1fr; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc-toc { position: static; }
  .doc-rail { grid-column: auto; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: span 2; }
  .foot-col { grid-column: auto; }
}
@media (max-width: 767px) {
  .display { font-size: 2.5rem; }
  h1, .h1 { font-size: 2.125rem; }
  .hero-photo .hero-title { font-size: 2.125rem; }
  .switch { height: 44px; }
  .switch .slider { top: 8px; bottom: 8px; }
  h2, .h2 { font-size: 1.6875rem; }
  .band { padding: var(--s8) 0; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-12 { grid-column: auto; }
  .method { grid-template-columns: minmax(0, 1fr); }
  .dir-row { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .dir-row .dir-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .dir-row .dir-doors { justify-items: stretch; }
  .dir-row .dir-doors .btn { justify-content: center; }
  .help-search { flex-direction: column; }
  .help-search .btn { justify-content: center; min-height: 48px; }
  .hero-photo .wrap { min-height: 0; padding-top: var(--s8); padding-bottom: var(--s8); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-brand { grid-column: auto; }
  .utilbar .u-charge { display: none; }
  .btn, .acc-btn, .field input, .field select, .field textarea { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; }
}
@media print {
  .utilbar, .site-head, .foot-map, .doc-toc, .doc-rail, .mobile-panel { display: none !important; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc-body { max-width: none; }
}
