/* SICAT Multiservicios — hoja de estilos de producción */

:root {
  --ink: #14161A;
  --ink-soft: #1C1F24;
  --brand: #2540E8;
  --text-body: #4B5057;
  --text-muted: #6B6F77;
  --text-quiet: #6E727A;
  --text-faint: #72767E;
  --line: #E7E8EB;
  --line-input: #D7D9DE;
  --surface: #F6F7F9;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--ink); }

input, select, textarea, button { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--brand); color: #fff; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: var(--white);
  padding: 14px 20px;
  font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .09em; text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }

.eyebrow {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding-inline: 28px;
}

.section { padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(72px, 9vw, 120px); }
.section--dark { background: var(--ink); color: var(--white); }
.section--surface { background: var(--surface); }

h1, h2, h3 { margin: 0; }

.h2 {
  margin-top: 18px;
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -.032em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  padding-block: 14px;
  display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between;
}
.site-header .logo-link { display: flex; align-items: center; color: var(--ink); }
.site-header .logo-link img { height: 44px; width: auto; display: block; }

.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--brand); }

.main-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 30px;
  font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .09em; text-transform: uppercase;
}
.main-nav a { color: var(--ink); }
.main-nav a:hover { color: var(--brand); }
.btn-nav { background: var(--brand); color: var(--white) !important; padding: 13px 22px; font-size: 13.5px; letter-spacing: .07em; }
.btn-nav:hover { background: var(--ink); }
@media (max-width: 760px) { .btn-nav { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: -4% 0 -22%; will-change: transform; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-gradient {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,22,26,.74) 0%, rgba(20,22,26,.3) 30%, rgba(20,22,26,.55) 62%, rgba(20,22,26,.97) 100%);
}
.hero-ghost {
  position: absolute; right: -5%; bottom: -10%; width: min(54vw, 680px); opacity: .11; pointer-events: none;
}
.hero-ghost rect { fill: var(--white); }
.hero-content {
  position: relative; width: 100%; max-width: 1320px; margin: 0 auto;
  padding: 120px 28px 72px; min-height: clamp(560px, 86vh, 880px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
@keyframes sc-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-intro { animation: sc-rise 1s cubic-bezier(.16,1,.3,1) both; }
.hero-kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.hero-kicker .bar { width: 30px; height: 3px; background: var(--brand); display: block; }
.hero h1 {
  margin-top: 26px; font-weight: 800; font-size: clamp(40px, 7.4vw, 104px);
  line-height: .98; letter-spacing: -.035em; max-width: 16ch;
}
.hero-lead { margin: 26px 0 0; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.5; max-width: 50ch; color: rgba(255,255,255,.8); }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.btn-primary {
  background: var(--brand); color: var(--white); padding: 21px 32px;
  font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 14px; border: 0; cursor: pointer;
  transition: background .25s, color .25s, letter-spacing .25s;
}
.btn-primary:hover { background: var(--white); color: var(--ink); letter-spacing: .13em; }
.btn-primary .arrow { font-family: 'Archivo', sans-serif; }
.hero-note {
  font-family: 'Archivo Narrow', sans-serif; font-weight: 500; font-size: 14px; letter-spacing: .11em; text-transform: uppercase; color: rgba(255,255,255,.62);
}

/* ---------- Marquee ---------- */
.marquee { background: var(--brand); color: var(--white); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; width: max-content; animation: sc-marquee 30s linear infinite; }
@keyframes sc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-set {
  display: flex; align-items: center; gap: 30px; padding-right: 30px;
  font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: .18em; text-transform: uppercase;
}
.marquee-set .dot { width: 8px; height: 8px; background: rgba(255,255,255,.55); display: block; flex: none; }

/* ---------- Servicios ---------- */
.servicios-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.servicios-copy p { margin: 22px 0 0; font-size: 17.5px; line-height: 1.6; color: var(--text-body); max-width: 46ch; }
.isotipo-wrap { width: min(280px, 100%); }
.isotipo-wrap--center { justify-self: center; }
.isotipo-wrap svg rect { transition: fill .25s; }
.isotipo-wrap svg rect[data-service] { cursor: pointer; }
.isotipo-hint {
  margin-top: 16px; text-align: center;
  font-family: 'Archivo Narrow', sans-serif; font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint);
}

.servicios-rows { margin-top: clamp(48px, 6vw, 76px); border-top: 3px solid var(--ink); }
.servicio-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 34px;
  padding: 34px 26px; border-bottom: 1px solid var(--line);
  background: var(--white); color: var(--ink);
  transition: background .35s cubic-bezier(.16,1,.3,1), color .35s;
}
.servicio-row:hover, .servicio-row.is-active { background: var(--ink); color: var(--white); }
.servicio-num { flex: none; font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .16em; opacity: .62; }
.servicio-icon { flex: none; width: 44px; height: 44px; display: block; fill: none; stroke: currentColor; stroke-linecap: square; }
.servicio-row h3 { flex: 1 1 240px; font-weight: 700; font-size: clamp(21px, 2.1vw, 30px); letter-spacing: -.022em; }
.servicio-row p { flex: 1 1 330px; margin: 0; font-size: 15.5px; line-height: 1.6; opacity: .66; }
.servicio-arrow { flex: none; font-size: 20px; opacity: .7; }

/* ---------- Franja "Personal propio" ---------- */
.statement-band { background: var(--brand); color: var(--white); overflow: hidden; }
.statement-inner {
  padding-block: clamp(64px, 8vw, 112px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: center;
}
.statement-text { margin: 20px 0 0; font-weight: 800; font-size: clamp(28px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -.032em; max-width: 24ch; }
.statement-ghost { justify-self: end; width: min(240px, 100%); }
.statement-ghost svg { width: 100%; display: block; fill: var(--white); }

/* ---------- Compromiso / Proceso ---------- */
.grid-head { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; }
.grid-outline { margin-top: clamp(44px, 5.5vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; }
.grid-outline--proceso { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 0; }
.grid-outline.on-dark { border-top: 3px solid var(--brand); }
.grid-outline.on-light { border-top: none; }
.outline-cell { padding: 36px 30px 42px; }
.outline-cell.on-dark { background: var(--ink); outline: 1px solid rgba(255,255,255,.13); }
.outline-cell.on-light { background: var(--white); outline: 1px solid var(--line); padding: 34px 30px 40px; }
.outline-cell .idx { font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: .16em; color: var(--brand); }
.outline-cell.on-light .idx { text-transform: uppercase; }
.outline-cell h3 { margin-top: 24px; font-weight: 700; font-size: 22px; letter-spacing: -.015em; }
.outline-cell.on-light h3 { margin-top: 14px; }
.outline-cell p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.62; }
.outline-cell.on-dark p { color: rgba(255,255,255,.66); }
.outline-cell.on-light p { color: var(--text-body); margin-top: 11px; }

.compromiso-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.compromiso-icon { width: 34px; height: 34px; display: block; fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linecap: square; }
.compromiso-ghost-num { font-weight: 900; font-size: 60px; line-height: .72; letter-spacing: -.05em; color: rgba(255,255,255,.12); }

.grow-line-track { margin-top: clamp(44px, 5.5vw, 68px); height: 3px; background: var(--line); overflow: hidden; }
.grow-line { height: 3px; background: var(--ink); transform-origin: left center; transform: scaleX(0); }
.proceso-cell { position: relative; }
.proceso-connector { display: flex; align-items: center; margin: -14px -30px 24px 0; }
.proceso-connector .dot { flex: none; width: 13px; height: 13px; background: var(--brand); display: block; }
.proceso-connector .line { flex: 1; height: 1px; background: var(--line-input); display: block; }

/* ---------- Dónde trabajamos ---------- */
.casos-grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.caso-card { background: var(--white); border-top: 3px solid var(--brand); }
.caso-icon-badge {
  margin: 34px 0 0 30px; width: 78px; height: 78px; border: 1px solid var(--brand);
  display: flex; align-items: center; justify-content: center; background: var(--white);
}
.caso-icon-badge svg { width: 46px; height: 46px; fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linecap: square; }
.caso-body { padding: 22px 30px 36px; }
.caso-body h3 { font-weight: 700; font-size: 22px; letter-spacing: -.015em; }
.caso-body p { margin: 13px 0 0; font-size: 16px; line-height: 1.62; color: var(--text-body); }
.caso-tags {
  margin-top: 24px; font-family: 'Archivo Narrow', sans-serif; font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-quiet);
}

/* ---------- Cobertura ---------- */
.cobertura-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cobertura-grid > div > div > p { margin: 22px 0 0; font-size: 17.5px; line-height: 1.6; color: var(--text-body); max-width: 44ch; }
.mapa-wrap { margin-top: 34px; position: relative; aspect-ratio: 4/3; background: var(--surface); }
.mapa-wrap img.mapa-svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.mapa-label {
  position: absolute; font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint);
}
.mapa-logo { position: absolute; left: 54.5%; top: 51%; width: 16%; height: auto; transform: translate(-50%, -50%); }
.mapa-bcn { position: absolute; left: 62%; top: 60.5%; font-weight: 700; font-size: 14px; letter-spacing: -.01em; color: var(--ink); }
.mapa-ring {
  position: absolute; left: 66%; top: 57%; width: 16%; aspect-ratio: 1;
  border: 2px solid var(--brand); border-radius: 50%; transform: translate(-50%, -50%);
  animation: sc-ring 2.8s cubic-bezier(.16,1,.3,1) infinite; pointer-events: none;
}
@keyframes sc-ring { 0% { transform: translate(-50%,-50%) scale(.5); opacity: .5; } 100% { transform: translate(-50%,-50%) scale(2.8); opacity: 0; } }
.mapa-legend {
  margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
  font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--text-quiet);
}
.mapa-legend span { display: flex; align-items: center; gap: 9px; }
.swatch { flex: none; width: 14px; height: 14px; display: block; }
.swatch--brand { background: var(--brand); }
.swatch--line { background: var(--line); }

.cobertura-side .grid-outline.stacked { grid-template-columns: 1fr; border-top: 3px solid var(--ink); margin-top: 0; }
.cobertura-label {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--text-quiet);
}
.cobertura-label svg { width: 22px; height: 22px; flex: none; display: block; fill: none; stroke: var(--brand); stroke-width: 2.6; stroke-linecap: square; }
.cobertura-side .outline-cell .body { margin-top: 12px; font-size: 17px; line-height: 1.58; }

.cobertura-cta {
  margin-top: 22px; background: var(--ink); color: var(--white); padding: 30px 26px;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.cobertura-cta p { margin: 0; font-size: 16.5px; line-height: 1.5; max-width: 32ch; }
.cobertura-cta a {
  color: var(--white); font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: .09em; text-transform: uppercase;
  border-bottom: 2px solid var(--brand); padding-bottom: 4px; transition: border-color .25s;
}
.cobertura-cta a:hover { color: var(--white); border-bottom-color: var(--white); }

/* ---------- Sobre nosotros ---------- */
.nosotros-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.team-photo-diptych { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.team-photo-slot {
  position: relative; aspect-ratio: 3/4; background: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo Narrow', sans-serif; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3);
  text-align: center; padding: 20px; overflow: hidden;
}
.team-photo-slot--filled { padding: 0; }
.team-photo-slot--filled img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo-caption {
  margin-top: 13px; font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5);
}
.nosotros-copy p { margin: 24px 0 0; font-size: 17.5px; line-height: 1.62; color: rgba(255,255,255,.76); }
.nosotros-datos { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 20px 44px; }
.dato-item { display: flex; align-items: flex-start; gap: 14px; }
.dato-icon { width: 28px; height: 28px; flex: none; margin-top: 2px; display: block; fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linecap: square; }
.dato-label { font-family: 'Archivo Narrow', sans-serif; font-weight: 500; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.dato-valor { margin-top: 7px; font-weight: 700; font-size: 21px; letter-spacing: -.01em; }

/* ---------- Contacto ---------- */
.contacto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contacto-copy p { margin: 22px 0 0; font-size: 17.5px; line-height: 1.6; color: var(--text-body); max-width: 42ch; }
.contacto-stack { margin-top: 40px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contacto-item {
  background: var(--white); padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink);
  transition: background .25s;
}
a.contacto-item:hover { background: var(--surface); color: var(--ink); }
.contacto-item-main { display: flex; align-items: center; gap: 18px; min-width: 0; }
.contacto-icon { flex: none; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.contacto-icon svg { width: 21px; height: 21px; display: block; }
.contacto-icon--brand { background: var(--brand); }
.contacto-icon--brand svg { fill: var(--white); }
.contacto-icon--ink { background: var(--ink); }
.contacto-icon--ink svg { fill: none; stroke: var(--white); stroke-width: 2.6; stroke-linecap: square; }
.contacto-icon--outline { border: 1px solid var(--line-input); }
.contacto-icon--outline svg { fill: none; stroke: var(--text-quiet); stroke-width: 2.6; stroke-linecap: square; }
.contacto-item .label {
  display: block; font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--text-quiet);
}
.contacto-item .valor { display: block; margin-top: 7px; font-weight: 700; font-size: 23px; letter-spacing: -.015em; }
.contacto-item .arrow { color: var(--brand); font-size: 20px; }
.contacto-item .valor--txt { font-weight: 400; font-size: 16px; line-height: 1.5; margin-top: 7px; }
.rrhh-note { margin-top: 24px; font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }

.form-panel { background: var(--surface); padding: clamp(28px, 3.5vw, 48px); }
.form-field { display: grid; gap: 8px; min-width: 0; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.form-panel form { display: grid; gap: 20px; }
.form-field label {
  font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted);
}
.form-field label .optional { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--text-quiet); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-width: 0; padding: 15px 14px; border: 1px solid var(--line-input); background: var(--white);
  font-size: 16px; border-radius: 0; appearance: none; transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { line-height: 1.55; font-family: inherit; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); outline: none;
}
.rgpd-field { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.rgpd-field input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.btn-submit {
  margin-top: 4px; background: var(--brand); color: var(--white); border: 0; padding: 21px 26px;
  font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  transition: background .25s, letter-spacing .25s;
}
.btn-submit:hover { background: var(--ink); letter-spacing: .13em; }
.btn-submit:disabled { opacity: .6; cursor: default; }

.form-success { min-height: 440px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.form-success .dot { width: 36px; height: 36px; background: var(--brand); display: block; }
.form-success h3 { font-weight: 800; font-size: 30px; letter-spacing: -.025em; }
.form-success p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--text-body); max-width: 40ch; }

.form-error { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--ink); background: #FBE9E9; border: 1px solid #E7B9B9; padding: 12px 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); border-top: 3px solid var(--brand); overflow: hidden; position: relative; }
.footer-grid { padding: clamp(52px, 6vw, 88px) 28px 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 44px; }
.footer-brand img { width: 132px; height: auto; display: block; }
.footer-brand p { margin-top: 24px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.66); }
.footer-col-title { font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.footer-links { margin-top: 18px; display: grid; gap: 11px; font-size: 15.5px; }
.footer-links a { color: var(--white); }
.footer-links a:hover { color: var(--brand); }
.footer-links span { color: rgba(255,255,255,.8); }

.footer-ghost {
  max-width: 1320px; margin: 0 auto; padding: 0 28px;
  font-weight: 900; font-size: min(19vw, 270px); line-height: .78; letter-spacing: -.055em;
  color: rgba(255,255,255,.055); user-select: none;
}

.footer-bottom {
  max-width: 1320px; margin: 0 auto; padding: 26px 28px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between;
  font-family: 'Archivo Narrow', sans-serif; font-weight: 500; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5);
}
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-legal-links a { color: rgba(255,255,255,.5); }
.footer-legal-links a:hover { color: var(--white); }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 1; transform: none; clip-path: none; }
[data-reveal].pre-reveal {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1), clip-path .9s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
[data-reveal="up"].pre-reveal { transform: translateY(26px); }
[data-reveal="pop"].pre-reveal { transform: scale(.94); }
[data-reveal="mask"].pre-reveal { transform: translateY(18px); clip-path: inset(0 0 100% 0); }

/* ---------- Página legal ---------- */
.legal-header { background: var(--ink); color: var(--white); }
.legal-header .container { padding-block: clamp(48px, 6vw, 80px) clamp(36px, 4vw, 52px); }
.legal-header .eyebrow { color: var(--brand); }
.legal-header h1 { margin-top: 16px; font-weight: 800; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.03em; max-width: 18ch; }
.legal-header p { margin-top: 20px; font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,.72); max-width: 60ch; }
.legal-tabs {
  margin-top: clamp(28px, 3.5vw, 40px);
  display: flex; flex-wrap: wrap; gap: 1px;
  background: rgba(255,255,255,.16);
  border-top: 3px solid var(--brand);
}
.legal-tabs a {
  flex: 1 1 200px;
  background: var(--ink);
  color: var(--white);
  padding: 20px 22px;
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 600; font-size: 14px; letter-spacing: .09em; text-transform: uppercase;
}
.legal-tabs a:hover { background: var(--ink-soft); color: var(--white); }

.legal-doc { scroll-margin-top: 80px; }
.legal-doc .container { padding-block-start: clamp(56px, 7vw, 96px); padding-block-end: 0; }
.legal-doc:last-of-type .container { padding-block-end: clamp(56px, 7vw, 96px); }
.legal-doc-inner { border-top: 3px solid var(--ink); padding-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(20px, 4vw, 56px); }
.legal-doc-num { font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-quiet); }
.legal-doc-title { margin-top: 12px; font-weight: 800; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.06; letter-spacing: -.025em; }
.legal-body { max-width: 74ch; min-width: 0; }
.legal-body > p:first-child { font-size: 16.5px; line-height: 1.7; color: var(--text-body); }
.legal-body h3 { margin-top: 36px; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.legal-body h3 + * { margin-top: 14px; }
.legal-body p, .legal-body li { font-size: 16.5px; line-height: 1.7; color: var(--text-body); }
.legal-body ul { display: grid; gap: 8px; }
.legal-body .fineprint { margin-top: 14px; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }

.legal-datagrid { margin-top: 18px; border: 1px solid var(--line); display: grid; gap: 1px; background: var(--line); }
.legal-datagrid-row { background: var(--white); padding: 16px 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 6px 18px; align-items: baseline; }
.legal-datagrid-row dt { font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-quiet); }
.legal-datagrid-row dd { margin: 0; font-size: 16px; line-height: 1.5; }
.legal-pending { background: #FFF3C4; padding: 2px 6px; justify-self: start; }

.legal-table-wrap { margin-top: 18px; overflow-x: auto; }
.legal-table { min-width: 480px; }
.legal-table th { text-align: left; padding: 12px 14px; border-bottom: 2px solid var(--ink); font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.legal-table td { padding: 14px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--text-body); vertical-align: top; }
.legal-table td.strong { color: var(--ink); font-weight: 600; }

.browser-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.browser-links a {
  flex: 1 1 130px; background: var(--white); padding: 16px 18px; color: var(--ink);
  font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 13.5px; letter-spacing: .09em; text-transform: uppercase;
}
.browser-links a:hover { background: var(--surface); color: var(--brand); }

.legal-footer { background: var(--ink); color: var(--white); border-top: 3px solid var(--brand); }
.legal-footer .container { padding: clamp(40px, 5vw, 64px) 28px 32px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.legal-footer img { height: 36px; width: auto; display: block; }
.legal-footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-family: 'Archivo Narrow', sans-serif; font-weight: 500; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.legal-footer-links a { color: rgba(255,255,255,.6); }
.legal-footer-links a:hover { color: var(--white); }

/* ---------- Página 404 ---------- */
.error-404 { background: var(--ink); color: var(--white); min-height: 60vh; display: flex; align-items: center; }
.error-404-inner { padding-block: clamp(72px, 11vw, 140px); text-align: center; }
.error-404-isotipo { width: 64px; height: auto; margin: 0 auto 24px; display: block; }
.error-404-num {
  margin: 14px 0 0; font-weight: 900; font-size: clamp(64px, 11vw, 150px); line-height: .9;
  letter-spacing: -.04em; color: rgba(255,255,255,.14);
}
.error-404-title {
  margin: 8px auto 0; font-weight: 800; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -.02em; max-width: 20ch;
}
.error-404-lead { margin: 20px auto 0; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.72); max-width: 48ch; }
.error-404-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: center; }
.error-404-link {
  color: rgba(255,255,255,.7); font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .07em; text-transform: uppercase;
  border-bottom: 2px solid var(--brand); padding-bottom: 3px;
}
.error-404-link:hover { color: var(--white); }

/* ---------- Banner de cookies ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin: 0 auto; }
.cookie-banner__panel { background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(20,22,26,.18); padding: 22px 24px; }
.cookie-banner__text { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-body); max-width: 62ch; }
.cookie-banner__actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-btn {
  font-family: 'Archivo Narrow', sans-serif; font-weight: 600; font-size: 13.5px; letter-spacing: .07em; text-transform: uppercase;
  padding: 12px 18px; border: 1px solid transparent; cursor: pointer;
}
.cookie-btn--solid { background: var(--brand); color: #fff; }
.cookie-btn--solid:hover { background: var(--ink); }
.cookie-btn--outline { background: transparent; color: var(--ink); border-color: var(--line-input); }
.cookie-btn--outline:hover { border-color: var(--ink); }
.cookie-btn--ghost { background: transparent; color: var(--text-muted); }
.cookie-btn--ghost:hover { color: var(--ink); }

.cookie-settings { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.cookie-settings__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cookie-settings__row strong { font-size: 14.5px; }
.cookie-settings__row p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); max-width: 42ch; }
.cookie-toggle { flex: none; position: relative; width: 42px; height: 24px; border-radius: 999px; background: var(--line-input); display: inline-flex; align-items: center; cursor: pointer; }
.cookie-toggle input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.cookie-toggle span { position: absolute; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .18s; }
.cookie-toggle input:checked + span { transform: translateX(18px); }
.cookie-toggle:has(input:checked) { background: var(--brand); }
.cookie-toggle--locked { background: var(--text-muted); font-family: 'Archivo Narrow', sans-serif; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; width: auto; height: auto; padding: 5px 10px; border-radius: 999px; }
.cookie-settings__actions { display: flex; justify-content: flex-end; }

@media (max-width: 480px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .cookie-banner__panel { padding: 18px; }
}
