/* 26 · Bandas en orden. Base 22: en la columna de cada banda, apilados, Antes de empezar (preguntas), Cómo trabajamos (proceso) y Qué recibes (entrega); la imagen acompaña (sticky). */

:root {
  /* color */
  --bg: #ffffff;
  --fg: #0a0a0a;
  --muted: #6b6b6b;
  --line: #e2e2e2;
  --line-strong: #0a0a0a;
  --signal: #e63312;
  --grid: #f4f4f4;

  /* tipografía: una sola familia, escala 1.333 sobre 17 px */
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --t-0: 1.0625rem; /* 17 px: texto */
  --t-1: 1.25rem; /* 20 px: nombres de sector, pasos, marca */
  --t-2: 1.75rem; /* 28 px: títulos de sección */
  --t-3: 2rem; /* 32 px: nombre de servicio en banda y cifras */
  --t-h1: clamp(1.875rem, 5vw, 3.5rem); /* 30 px móvil, 56 px desktop */
  --t-small: 0.9375rem;
  --t-cap: 0.8125rem; /* 13 px: pies de la rejilla */

  /* retícula */
  --cols: 12;
  --cab-h: 77px; /* altura de la barra fija (76 + filete); 65 px en escritorio */
  --m: 16px;
  --gut: 16px;
  --max: 1680px;

  /* espaciado */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 48px;
  --s-5: 72px;
  --gap: 4px; /* hueco del mosaico de sectores (10) */
  --sec: 56px;
  --ease: 150ms ease;
}

@media (min-width: 640px) { :root { --m: 24px; --gut: 20px; --sec: 72px; } }
@media (min-width: 1024px) { :root { --m: 40px; --gut: 24px; --sec: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font);
  font-size: var(--t-0); font-weight: 400; font-stretch: 100%; line-height: 1.55;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

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

.solo-lectores {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.saltar { position: absolute; left: var(--m); top: -100px; z-index: 100; background: var(--fg); color: #fff; padding: 10px 16px; font-weight: 500; }
.saltar:focus { top: 8px; }

/* ---------- retícula ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }
.g { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gut); }
.g > * { grid-column: 1 / -1; min-width: 0; }

.sec { border-top: 1px solid var(--line-strong); padding-block: var(--sec); }
.sec-cab { row-gap: var(--s-1); margin-bottom: var(--s-3); align-items: end; }
.tit-sec { margin-bottom: var(--s-3); }
@media (min-width: 900px) {
  .sec-cab > h2 { grid-column: 1 / span 6; }
  .sec-cab > .recuento { grid-column: 9 / -1; justify-self: end; }
}

/* ---------- tipografía ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 500; font-stretch: 100%; line-height: 1.02; letter-spacing: -0.02em; }
h1, h1.display { font-size: var(--t-h1); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: var(--t-2); line-height: 1.15; }
h3 { font-size: var(--t-1); line-height: 1.15; letter-spacing: -0.01em; font-weight: 500; font-stretch: 100%; }
.cifra { font-weight: 500; font-stretch: 100%; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; line-height: 1; }
.mut { color: var(--muted); }
.lead { font-size: var(--t-0); line-height: 1.5; max-width: 46ch; }

/* ---------- botones ---------- */
.btn {
  display: inline-block; padding: 12px 22px; background: var(--signal); color: #fff; font-size: var(--t-0); font-weight: 500;
  text-decoration: none; border: 1px solid var(--signal); cursor: pointer; line-height: 1.2;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}
.btn:hover { background: var(--fg); border-color: var(--fg); color: #fff; text-decoration: none; }

/* ---------- cabecera ---------- */
.cab { position: relative; border-bottom: 1px solid var(--line-strong); background: var(--bg); z-index: 20; }
.cab-in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 76px; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; font-stretch: 100%; font-size: 1.125rem; letter-spacing: -0.01em; white-space: nowrap; }
.marca img { width: 36px; height: auto; }
.menu-btn { background: none; border: 1px solid var(--fg); padding: 10px 16px; font-weight: 500; cursor: pointer; transition: background-color var(--ease), color var(--ease); }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { background: var(--fg); color: #fff; }
.nav ul { display: flex; flex-direction: column; }
.nav a { position: relative; display: block; padding: 10px 0; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"]:not(.btn) { text-decoration: underline; text-decoration-thickness: 2px; }
.nav .btn { display: inline-block; padding: 10px 18px; margin-top: var(--s-2); }
.js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line-strong); padding: var(--s-2) var(--m) var(--s-3); }
.js .nav.abierto { display: block; }
@media (min-width: 1180px) {
  :root { --cab-h: 65px; }
  .menu-btn { display: none; }
  .js .nav, .nav { display: block; position: static; border: 0; padding: 0; background: none; }
  /* barra de escritorio compacta: enlaces 15 px, botón 14 px, altura 64 px (+1 de filete) */
  .cab-in { min-height: 64px; }
  .nav ul { flex-direction: row; align-items: center; gap: 24px; }
  .nav a { font-size: 0.9375rem; }
  .nav .btn { margin: 0 0 0 4px; padding: 9px 16px; font-size: 0.875rem; }
  .nav li:last-child { margin-left: 8px; }
}

/* ---------- hero y cabeceras de página ---------- */
.hero { padding-block: var(--s-4) var(--s-3); }
@media (min-width: 900px) { .hero-col { grid-column: 1 / span 7; } }
.hero .lead { margin-top: var(--s-3); }
.cifras { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: var(--s-3); padding-top: 12px; border-top: 1px solid var(--line-strong); }
.cifras > div { display: flex; align-items: baseline; gap: 8px; }
.cifras .cifra { font-size: var(--t-3); }
.cifras .mut { font-size: var(--t-small); line-height: 1.3; }
.datos-s { margin-top: var(--s-2); color: var(--muted); font-variant-numeric: tabular-nums; }

.foto { background: var(--grid); }
.foto img { width: 100%; }
.pie3 { padding-top: 12px; font-size: var(--t-small); grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gut); }
.pie3 > * { grid-column: auto; }
.pie3 > :first-child { font-weight: 500; }
@media (min-width: 900px) { .pie3 { grid-template-columns: repeat(12, minmax(0, 1fr)); } .pie3 > * { grid-column: span 4; } }

.pag-cab { padding-block: var(--s-4) var(--s-4); }
.pag-cab .lead { margin-top: var(--s-3); }
.rej-sec { padding-bottom: var(--sec); }

/* ---------- rejilla de imágenes: la firma ---------- */
.rejilla {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px;
  background: var(--bg); /* juntas blancas de 2 px, como el muro de la portada */
}
@media (min-width: 640px) { .rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rejilla > li { background: var(--bg); min-width: 0; }
/* invitación que cierra la última fila (app.js rellenar): una sola celda que ocupa las columnas que faltan; sin imagen, tono suave */
.rejilla > li.invita { background: var(--grid); display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: var(--s-2); padding: var(--s-3) var(--s-4); }
.invita-t { font-size: var(--t-1); font-weight: 500; line-height: 1.25; max-width: 24ch; }
.invita a { font-weight: 500; text-decoration: none; border-bottom: 3px solid var(--signal); padding-bottom: 2px; transition: background-color var(--ease); }
.invita a:hover { background: var(--signal); color: #fff; border-bottom-color: var(--signal); text-decoration: none; }
@media (max-width: 639.98px) { .rejilla > li.invita { padding: var(--s-3); } }
.pc a { position: relative; display: block; text-decoration: none; }
.pc img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--grid); }
.cap { display: block; padding: 8px 10px 9px; font-size: var(--t-cap); line-height: 1.3; transition: background-color var(--ease), color var(--ease); }
/* capa sobre la imagen: título y cliente solo al pasar, enfocar o tocar */
.velo {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 14px; background: rgba(0, 0, 0, 0.55); color: #fff; line-height: 1.3; text-align: left;
  opacity: 0; visibility: hidden; transition: opacity 200ms ease, visibility 0s linear 200ms; pointer-events: none;
}
.velo-t { font-size: 1rem; font-weight: 500; }
.velo-c { font-size: var(--t-cap); opacity: 0.8; }
.pc a:focus-visible .velo, .pc.tocado .velo { opacity: 1; visibility: visible; transition-delay: 0s; }
@media (hover: hover) { .pc a:hover .velo { opacity: 1; visibility: visible; transition-delay: 0s; } }
.pc a:focus-visible { outline: none; }
.pc a:focus-visible::after { content: ""; position: absolute; inset: 0; outline: 3px solid #fff; outline-offset: -3px; box-shadow: inset 0 0 0 6px var(--fg); }

/* sello «360» de los proyectos con tour (maqueta 129, «Sello redondo»): disco oscuro con la flecha de giro; siempre visible,
   sin título ni cliente. --u escala el sello: 1 en la tarjeta, 0.78 en móvil, 0.6 en la ficha y en la ventana del tour. */
.m360 { --u: 1; position: absolute; top: 10px; right: 10px; z-index: 2; pointer-events: none; }
.sello360 { --u: 1; display: grid; place-items: center; flex: none; width: calc(46px * var(--u)); height: calc(46px * var(--u)); border-radius: 50%;
  background: rgba(10, 10, 10, 0.78); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3); color: #fff; text-decoration: none; }
.m360 .sello360 { --u: inherit; }
.sello360 svg { display: block; overflow: visible; width: calc(39px * var(--u)); height: calc(39px * var(--u)); }
.sello360 text { font: 500 11px var(--mono, "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace); letter-spacing: -0.02em; }
@media (max-width: 479.98px) { .m360 { --u: 0.78; top: 6px; right: 6px; } }

.vacio { padding: var(--s-4) 0; font-size: var(--t-0); }

/* filtro: una línea de texto */
.filtro { display: flex; flex-wrap: wrap; gap: 0 var(--s-3); margin-bottom: var(--s-3); }
.filtro button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 8px 0 6px; cursor: pointer; transition: border-color var(--ease); }
.filtro button:hover { border-bottom-color: var(--line-strong); }
/* «Con tour 360»: al final, tras un separador fino; sello pequeño delante (como en el dato de la ficha) */
.filtro .filtro-tour { position: relative; display: inline-flex; align-items: center; gap: 8px; margin-left: var(--s-2); padding-left: calc(var(--s-3) + 1px); }
.filtro .filtro-tour::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line-strong); }
.filtro .filtro-tour .sello360 { --u: 0.5; }
@media (max-width: 1199.98px) { /* si no cabe en la línea queda solo en su línea: sin sangría ni raya */
  .filtro .filtro-tour { margin-left: 0; padding-left: 0; }
  .filtro .filtro-tour::before { display: none; }
}
.filtro button[aria-pressed="true"] { border-bottom-color: var(--signal); font-weight: 500; }
/* filtro en píldoras con borde fino: botones del filtro de app.js (sectores.html) y enlaces entre sectores (sector-*.html).
   Se escribe como .filtro.filtro-pil para ganar a las marcas de acento.css (.filtro button:hover / [aria-pressed]); --grafito y --mesa vienen de acento.css */
.filtro.filtro-pil { gap: 8px; align-items: center; margin-bottom: var(--s-3); }
.filtro.filtro-pil button, .filtro.filtro-pil a { display: inline-block; border: 1px solid #b9b4aa; border-radius: 999px; background: transparent; color: var(--fg); padding: 8px 16px; font-size: 0.875rem; line-height: 1.2; font-weight: 400; text-decoration: none; transition: background-color var(--ease), border-color var(--ease), color var(--ease); }
.filtro.filtro-pil button:hover, .filtro.filtro-pil a:hover { border-color: var(--grafito); border-bottom-color: var(--grafito); background: var(--mesa); }
.filtro.filtro-pil button[aria-pressed="true"], .filtro.filtro-pil a[aria-current="page"] { background: var(--grafito); border-color: var(--grafito); color: #fff; font-weight: 400; }
.filtro.filtro-pil button:focus-visible, .filtro.filtro-pil a:focus-visible { outline: 2px solid var(--grafito); outline-offset: 2px; }
@media (max-width: 899.98px) { /* píldoras deslizables en una línea */
  .filtro.filtro-pil { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--m)); padding: 4px var(--m); scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .filtro.filtro-pil::-webkit-scrollbar { display: none; }
  .filtro.filtro-pil button, .filtro.filtro-pil a { flex: none; white-space: nowrap; scroll-snap-align: start; }
}
.recuento { display: flex; align-items: baseline; gap: 8px; font-size: var(--t-small); color: var(--muted); }
.recuento .cifra { font-size: var(--t-1); color: var(--fg); }
.rej-sec > .recuento { margin-bottom: var(--s-1); }
/* sectores.html: misma barra que Proyectos, sin recuento; el ::before reserva la altura de la línea del recuento para que la separación del h1 sea idéntica */
.pag-cab:has(+ .filtro-sec) { padding-bottom: var(--s-3); }
/* sector-*.html: la rejilla arranca bajo la barra, sin raya ni título visible */
.filtro-sec + .sec { border-top: 0; padding-top: 0; }

/* ---------- servicios: lista de líneas ---------- */
.servicios { margin-bottom: var(--sec); }
.servicios li { border-top: 1px solid var(--line-strong); padding-block: 14px; display: grid; gap: 4px var(--gut); }
.servicios li:last-child { border-bottom: 1px solid var(--line-strong); }
.servicios h3 { font-weight: 500; }
.servicios p { font-size: var(--t-0); line-height: 1.4; }
.servicios h3 a { text-decoration: none; }
.servicios h3 a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .servicios li { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: baseline; padding-block: 18px; }
  .servicios h3 { grid-column: 1 / span 4; }
  .servicios p { grid-column: 5 / -1; }
}
.sec .servicios { margin-bottom: 0; }

/* ---------- proceso ---------- */
.pasos { position: relative; display: grid; row-gap: var(--s-3); padding-left: 28px; border-left: 1px solid var(--line-strong); margin-left: 5px; }
.pasos li { position: relative; }
.pasos li::before { content: ""; position: absolute; left: -34px; top: 7px; width: 11px; height: 11px; background: var(--fg); }
.pasos h3 { font-weight: 500; font-size: var(--t-0); }
.pasos p { margin-top: 4px; font-size: var(--t-small); line-height: 1.4; }
@media (min-width: 900px) {
  .pasos { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--gut); padding: 0; border: 0; margin: 0; row-gap: 0; }
  .pasos li { padding-top: var(--s-4); }
  .pasos::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--line-strong); }
  .pasos li::before { left: 0; top: 0; }
}
.pasos-p { margin-bottom: var(--sec); }
.pasos-p p { font-size: var(--t-0); }
.mo > li.doble { grid-column: 1 / -1; }
@media (min-width: 1024px) { .mo { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mo figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--grid); }

/* ---------- mosaico de sectores (la firma) ---------- */
.sectores-mosaico { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.sectores-mosaico li { min-width: 0; }
.tile { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); color: #fff; text-decoration: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0) 55%); pointer-events: none; }
.tile-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 18px 16px; display: block; }
.tile-nombre { display: block; font-weight: 500; font-size: var(--t-1); line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; max-width: 20ch; }
.tile-n { display: block; margin-top: 6px; font-size: var(--t-small); }
.tile:hover img { transform: scale(1.025); }
.tile:hover .tile-nombre { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.tile:focus-visible { outline: 3px solid #fff; outline-offset: -6px; box-shadow: inset 0 0 0 9px var(--fg); }
.tile[aria-current="true"] { box-shadow: inset 0 -8px 0 var(--signal); }
.tile[aria-current="true"]:focus-visible { box-shadow: inset 0 0 0 9px var(--fg), inset 0 -8px 0 var(--signal); }
@media (min-width: 600px) {
  .sectores-mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sectores-mosaico li:last-child { grid-column: 1 / -1; }
  .sectores-mosaico li:last-child .tile { aspect-ratio: 16 / 7; }
}
@media (min-width: 1024px) {
  .sectores-mosaico { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .sectores-mosaico .t4 { grid-column: span 4; }
  .sectores-mosaico .t6 { grid-column: span 6; }
  .sectores-mosaico li:last-child { grid-column: span 6; }
  .tile, .sectores-mosaico li:last-child .tile { aspect-ratio: 4 / 3; }
  .sectores-mosaico .t6 .tile, .sectores-mosaico li:last-child .tile { aspect-ratio: 3 / 2; }
}


.cel { position: relative; display: block; overflow: hidden; background: var(--line); text-decoration: none; }
.cel img { width: 100%; height: auto; }
.cel-txt { display: block; }
.cel-txt strong { font-weight: 500; }
.cel:focus-visible { outline: 3px solid var(--fg); outline-offset: -3px; box-shadow: inset 0 0 0 6px #fff; }
@media (hover: hover) {
  .cel-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px 14px; background: rgba(10, 10, 10, 0.9); color: #fff; line-height: 1.25; transform: translateY(101%); transition: transform var(--ease); }
  .cel-txt strong { display: block; font-size: 1.0625rem; }
  .cel-txt span { font-size: 0.875rem; }
  .cel:hover .cel-txt, .cel:focus-visible .cel-txt { transform: none; }
}
@media (hover: none) {
  .cel { overflow: visible; background: none; }
  .cel img { background: var(--line); }
  .cel-txt { padding: 5px 2px 8px; font-size: var(--t-small); line-height: 1.3; }
}


/* botón de línea (el bento de sectores.html vive en sectores-bento.css) */
.btn-linea { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn-linea:hover { background: var(--fg); color: #fff; }


/* ---------- precios ---------- */
.intro { max-width: 52ch; }
.paq .ratio32 { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.paq-t { padding: 14px 14px 20px; }
.paq-t h2 { font-size: var(--t-2); margin-bottom: 8px; }
.acc-fila { margin-top: var(--s-3); }
.paq-t p { max-width: 28ch; }

/* ---------- estudio ---------- */
.bio { row-gap: var(--s-4); padding-bottom: var(--sec); }
.bio-t { font-size: var(--t-0); line-height: 1.55; max-width: 52ch; }
@media (min-width: 900px) { .bio-t { grid-column: 1 / span 7; } .bio > .cifras { grid-column: 8 / -1; align-self: start; margin-top: 0; } }
.clientes { border-top: 1px solid var(--line-strong); }
.clientes li { border-bottom: 1px solid var(--line-strong); padding: 14px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.clientes .cifra { font-size: var(--t-0); }
@media (min-width: 900px) {
  .clientes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s-4); }
}

/* ---------- CTA ---------- */
.cta { border-top: 1px solid var(--line-strong); padding-block: var(--sec); }
.cta h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: var(--s-3); }
.cta .g { row-gap: var(--s-2); }
@media (min-width: 900px) { .cta h2 { grid-column: 1 / span 9; } .cta .acc { grid-column: 1 / span 6; } }

/* ---------- pie ---------- */
.pie-web { border-top: 1px solid var(--line-strong); padding-block: var(--s-4) var(--s-3); }
.pie-web .g { row-gap: var(--s-4); }
.pie-web h2 { font-size: var(--t-0); font-stretch: 100%; letter-spacing: 0; margin-bottom: 12px; }
.pie-web li { padding: 3px 0; }
.pie-web address { font-style: normal; }
@media (min-width: 900px) { .pie-web .col-a { grid-column: 1 / span 4; } .pie-web .col-b { grid-column: 5 / span 4; } .pie-web .col-c { grid-column: 9 / -1; } }
.pie-base { margin-top: var(--s-4); padding-top: var(--s-2); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); font-size: var(--t-small); color: var(--muted); }
.idiomas { display: flex; gap: 4px 14px; flex-wrap: wrap; }
.idiomas button { background: none; border: 0; padding: 2px 0; color: var(--muted); cursor: not-allowed; }
.idiomas [aria-current="true"] { color: var(--fg); font-weight: 500; border-bottom: 2px solid var(--fg); cursor: default; }

/* ---------- ficha de proyecto ---------- */
.ficha-cab { padding-block: var(--s-4) var(--s-3); }
.ficha-cab h1 { font-size: var(--t-h1); max-width: 24ch; }
.ficha { padding-bottom: var(--sec); }
.ficha-nav { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); border-block: 1px solid var(--line-strong); }
.ficha-nav a { display: flex; align-items: center; gap: 10px; padding: 14px 0; text-decoration: none; font-size: var(--t-small); min-width: 0; line-height: 1.25; transition: background-color var(--ease), color var(--ease); }
.ficha-nav a:hover { text-decoration: underline; }
.ficha-nav .sig { text-align: right; justify-content: flex-end; }
.ficha-nav svg { flex: none; width: 14px; height: 22px; }
.ficha-nav .indice { flex: none; }
.ficha-nav .indice svg { width: 20px; height: 20px; }
.ficha-nav .ant, .ficha-nav .sig { flex: 1 1 0; }
@media (max-width: 599px) { .ficha-nav .tx { display: none; } }
.ficha-main { padding-block: var(--s-3); row-gap: var(--s-3); }
.ficha-main figure button, .gal button { display: block; width: 100%; padding: 0; border: 0; background: var(--grid); cursor: zoom-in; }
.ficha-main img, .gal img { width: 100%; height: auto; }
.ficha-main .cap { padding-left: 0; }
.ficha-txt dl { display: grid; row-gap: 2px; font-size: var(--t-small); color: var(--muted); }
.ficha-txt dd { margin: 0; }
.ficha-txt dd a { color: var(--fg); }
.ficha-txt dd:first-child { color: var(--fg); font-weight: 500; }
.ficha-txt .desc { margin-top: var(--s-3); font-size: var(--t-0); line-height: 1.5; max-width: 40ch; }
@media (min-width: 900px) { .ficha-main figure { grid-column: 1 / span 8; } .ficha-txt { grid-column: 9 / -1; } }
.gal { display: flex; flex-direction: column; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.gal:empty { display: none; }
.gal-fila { display: flex; gap: 1px; flex-direction: column; }
.gal-c, .gal-relleno { background: var(--bg); min-width: 0; }
.gal-relleno { display: none; }
.gal-c img { background: var(--grid); transition: opacity var(--ease); }
.gal button:hover img { opacity: 0.88; }
.gal .cap { padding-left: 10px; color: var(--muted); }
@media (min-width: 700px) {
  .gal-fila { flex-direction: row; }
  .gal-c, .gal-relleno { flex: var(--r, 1) 1 0; }
  .gal-relleno { display: block; }
}

/* lightbox blanco */
.lb { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #fff; color: var(--fg); }
.lb::backdrop { background: #fff; }
.lb[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top, .lb-bot { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--m); }
.lb-top { border-bottom: 1px solid var(--line-strong); }
.lb-bot { border-top: 1px solid var(--line-strong); gap: var(--s-2); }
.lb-cont { font-weight: 500; font-variant-numeric: tabular-nums; font-size: var(--t-0); }
.lb-btn { background: none; border: 1px solid var(--fg); padding: 10px 18px; cursor: pointer; font-weight: 500; transition: background-color var(--ease), color var(--ease); }
.lb-btn:hover { background: var(--fg); color: #fff; }
.lb-escena { min-height: 0; display: grid; place-items: center; padding: var(--s-2) var(--m); }
.lb-escena img { max-width: 100%; max-height: calc(100dvh - 190px); width: auto; height: auto; object-fit: contain; }
.lb-pie { font-size: var(--t-small); color: var(--muted); min-width: 0; }

/* ---------- formulario ---------- */
.form-g { row-gap: var(--s-4); }
@media (min-width: 900px) { .form-g .col-form { grid-column: 1 / span 7; } .form-g .col-info { grid-column: 9 / -1; } }
.campos { display: grid; gap: var(--s-3) var(--gut); grid-template-columns: 1fr; }
@media (min-width: 640px) { .campos { grid-template-columns: 1fr 1fr; } .campos .ancho { grid-column: 1 / -1; } }
.campo label { display: block; font-size: var(--t-small); color: var(--muted); margin-bottom: 2px; }
.campo .req { color: var(--fg); }
.campo input, .campo select, .campo textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--fg); border-radius: 0; padding: 10px 0; font-size: var(--t-0); transition: box-shadow var(--ease); }
.campo textarea { resize: vertical; min-height: 8rem; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; box-shadow: 0 3px 0 var(--fg); }
.campo [aria-invalid="true"] { border-bottom-width: 3px; }
.error { color: var(--fg); font-size: var(--t-small); font-weight: 500; margin-top: 6px; }
.error::before { content: attr(data-pre) " "; font-weight: 500; color: var(--muted); } /* «Falta:» lo pone app.js (T) en data-pre */
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--fg); }
.check label { margin: 0; }
.confirm { border-top: 3px solid var(--fg); padding-top: var(--s-3); }
.confirm:focus { outline: none; }
.garantias li { border-top: 1px solid var(--line-strong); padding: 14px 0; }
.garantias li:last-child { border-bottom: 1px solid var(--line-strong); }
.contacto-datos { margin-top: var(--s-3); }
.contacto-datos dt { color: var(--muted); font-size: var(--t-small); margin-top: var(--s-2); }
.contacto-datos dd { margin: 0; overflow-wrap: anywhere; }

/* ---------- servicios: bandas de imagen y texto (la firma) ---------- */
.bandas { padding-bottom: var(--sec); }
.banda { border-top: 1px solid var(--line-strong); padding-block: var(--s-4); row-gap: var(--s-3); align-items: center; }
.banda:last-child { border-bottom: 1px solid var(--line-strong); }
.banda-img { background: var(--grid); }
.banda-img img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.banda-txt h2 { font-size: var(--t-3); line-height: 1.1; margin-bottom: 8px; }
.banda-txt > p { max-width: 36ch; }
.incluye { margin-top: var(--s-3); border-bottom: 1px solid var(--line-strong); }
.incluye li { border-top: 1px solid var(--line-strong); padding: 10px 0; font-size: var(--t-small); line-height: 1.35; }
.banda-link { display: inline-block; margin-top: var(--s-3); font-weight: 500; }
@media (min-width: 900px) {
  .banda { padding-block: var(--s-5); }
  .banda .banda-img { grid-column: 1 / span 7; grid-row: 1; }
  .banda .banda-txt { grid-column: 8 / -1; grid-row: 1; padding-left: var(--s-3); }
  .banda:nth-child(even) .banda-img { grid-column: 6 / -1; }
  .banda:nth-child(even) .banda-txt { grid-column: 1 / span 5; padding-left: 0; padding-right: var(--s-3); }
}

/* home: seis miniaturas 4:3 con el nombre debajo */
.mini-serv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--gut); }
@media (min-width: 640px) { .mini-serv { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mini-serv { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.mini-serv a { display: block; text-decoration: none; }
.mini-serv img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--grid); }
.mini-serv span { display: block; margin-top: 10px; font-weight: 500; font-size: var(--t-small); line-height: 1.25; }
.mini-serv a:hover span { text-decoration: underline; text-decoration-thickness: 2px; }

/* ---------- retícula visible (tecla G) ---------- */
.reticula-fondo { position: fixed; inset: 0; z-index: 60; pointer-events: none; display: none; }
.reticula-fondo.activa { display: block; }
.reticula-fondo .g { height: 100%; }
.reticula-fondo .g > span { background: var(--grid); opacity: 0.85; mix-blend-mode: multiply; }
.reticula-fondo .wrap { height: 100%; }
.aviso-g { position: fixed; right: 12px; bottom: 12px; z-index: 61; background: var(--fg); color: #fff; padding: 6px 12px; font-size: var(--t-small); display: none; }
.reticula-fondo.activa + .aviso-g { display: block; }

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- 22 · recorrido del encargo: diagrama de cuatro pasos, entrega y plazo ---------- */
.ruta { margin-top: var(--s-3); }
.ruta li { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-2); padding: 9px 0 9px 20px; background: linear-gradient(var(--fg), var(--fg)) no-repeat 0 0 / 1px 100%; }
.ruta li:first-child { background-size: 1px 50%; background-position: 0 100%; }
.ruta li:last-child { background-size: 1px 50%; background-position: 0 0; }
.ruta li::before { content: ""; position: absolute; left: -3px; top: calc(50% - 3.5px); width: 7px; height: 7px; border-radius: 50%; background: var(--fg); }
.ruta .paso { font-weight: 500; font-size: var(--t-small); line-height: 1.3; }
.ruta .dato { flex: none; color: var(--muted); font-size: var(--t-cap); white-space: nowrap; }
.ent { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-2); padding-top: var(--s-2); border-top: 1px solid var(--line-strong); }
.ent dt { color: var(--muted); font-size: var(--t-cap); margin-bottom: 2px; }
.ent dd { margin: 0; font-size: var(--t-small); line-height: 1.35; }
.nota-plazos { margin-top: var(--s-2); color: var(--muted); font-size: var(--t-cap); }
.bandas + .wrap .nota-plazos { margin-top: 0; margin-bottom: var(--sec); }
.serv-par { display: grid; gap: var(--s-4) var(--s-4); }
.serv-ruta h3 { font-size: var(--t-1); font-weight: 500; line-height: 1.2; }
.serv-ruta h3 a { text-decoration: none; }
.serv-ruta h3 a:hover { text-decoration: underline; }
@media (min-width: 900px) { .serv-par { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* home: plazo habitual bajo cada miniatura */
.mini-serv .nm { display: block; margin-top: 10px; font-weight: 500; font-size: var(--t-small); line-height: 1.25; }
.mini-serv .plazo { display: block; margin-top: 4px; color: var(--muted); font-size: var(--t-cap); line-height: 1.35; font-weight: 400; }
.mini-serv .plazo span { display: inline; margin: 0; font-size: inherit; font-weight: 400; }
.mini-serv .plazo > span::after { content: ":"; }
.mini-serv a:hover .nm { text-decoration: underline; text-decoration-thickness: 2px; }

/* ---------- 26 · tres bloques apilados en orden, la imagen acompaña ---------- */
.banda-txt h3 { font-size: var(--t-3); line-height: 1.1; margin-bottom: 8px; font-weight: 500; }
.bloque { margin-top: var(--s-3); }
.bloque + .bloque { padding-top: var(--s-3); border-top: 1px solid var(--line); }
.rotulo { margin: 0 0 10px; color: var(--muted); font-size: 0.75rem; font-weight: 500; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; max-width: none; }
.bloque .faq { margin: 0; border-bottom: 0; }
.bloque .ruta { margin-top: 0; }
.bloque .ent { display: block; margin: 0; padding: 0; border-top: 0; }
.bloque .ent > div { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: var(--s-2); align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); }
.bloque .ent > div:last-child { border-bottom: 0; }
.bloque .ent dt { margin: 0; }
.bloque .ent dd { font-size: 0.9375rem; font-weight: 400; line-height: 1.4; }
.bandas-sector { margin-top: var(--s-2); }
@media (min-width: 900px) {
  .banda { align-items: start; }
  .banda .banda-img { position: sticky; top: calc(var(--nav-h, 64px) + 24px); }
}

/* preguntas y respuestas (de la 23): pregunta 500, respuesta 400 gris oscuro, líneas de 1 px */
.faq { margin: var(--s-3) 0 0; border-bottom: 1px solid var(--line); }
.faq > div { border-top: 1px solid var(--line); padding: 12px 0 13px; }
.faq dt { font-size: 0.9375rem; font-weight: 500; line-height: 1.35; }
.faq dd { margin: 4px 0 0; font-size: 0.9375rem; font-weight: 400; line-height: 1.5; color: #4a4a4a; max-width: 52ch; }
.bloque .faq { margin: 0; border-bottom: 0; }

/* estudio: franja de logos de clientes (provisional; se elegirán desde el catálogo) */
.logos-t { font-size: var(--t-0); font-weight: 500; color: var(--ink-3, #6b6b6b); text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--s-3); }
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 24px; display: flex; align-items: center; justify-content: center; }
.logos img { width: 100%; max-width: 180px; height: auto; filter: grayscale(1); opacity: .75; mix-blend-mode: multiply; transition: opacity .2s; }
.logos li:hover img { opacity: 1; }
@media (min-width: 700px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .logos { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---------- zonas táctiles (puntero grueso): ≥ 40 px de alto sin mover la composición (margen negativo compensa) ---------- */
@media (pointer: coarse) {
  .marca { min-height: 40px; margin-block: -9px; }
  .banda-link { display: inline-flex; align-items: center; min-height: 40px; margin-top: calc(var(--s-3) - 7px); margin-bottom: -7px; }
}
