/* ==========================================================================
   ENGINEAR — Ingeniería Civil Forense
   Dirección de arte: "expediente técnico". Grafito + amarillo Enginear
   (el amarillo de la cinta métrica), retícula técnica, fisuras que se dibujan.
   Mobile-first. Sin frameworks.
   ========================================================================== */

/* ---------- Fuentes (autoalojadas, variables) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0e0f0f;
  --ink-2: #151717;
  --ink-3: #1d2020;
  --paper: #f4f2ed;
  --concrete: #e6e3dc;
  --grey: #818080;           /* gris del logo */
  --grey-d: #5d5d5c;
  --muted-d: #a6a5a2;        /* texto secundario sobre oscuro */
  --muted-l: #545452;        /* texto secundario sobre claro */
  --y: #f2e423;              /* amarillo del logo */
  --y-deep: #d8ca12;
  --error: #b9381f;
  --line-d: rgba(244, 242, 237, 0.14);
  --line-l: rgba(14, 15, 15, 0.14);

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1360px;
  --gutter: clamp(16px, 4.2vw, 56px);
  --section: clamp(84px, 12vw, 184px);
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.75, 0.1, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--y); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200; padding: 0.7em 1.1em;
  background: var(--y); color: var(--ink); font-weight: 700; transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.label { display: block; color: var(--grey-d); margin-bottom: 0.9rem; }
.section { padding-block: var(--section); position: relative; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .label { color: var(--muted-d); }
.section--concrete { background: var(--concrete); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Tipografía display ---------- */
.sec-head { max-width: 62rem; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head__label {
  display: inline-flex; align-items: center; gap: 0.75em; margin-bottom: 1.4rem; color: var(--grey-d);
}
.sec-head__label span {
  display: inline-grid; place-items: center; min-width: 2.4em; height: 1.8em; padding-inline: 0.4em;
  background: var(--y); color: var(--ink); font-weight: 700;
}
.section--dark .sec-head__label, .page-hero .sec-head__label { color: var(--muted-d); }
.sec-head__title, .page-hero__title, .intro__statement, .svc__title, .team-teaser__title, .cta-band__title, .notfound__title, .form__title {
  font-stretch: 112%;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}
.sec-head__title { font-size: clamp(2.1rem, 1.3rem + 4vw, 5rem); }
.sec-head__lead { margin-top: 1.6rem; max-width: 40rem; color: var(--muted-l); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); }
.section--dark .sec-head__lead { color: var(--muted-d); }

/* Énfasis: subrayado amarillo en claro, amarillo pleno en oscuro */
.sec-head__title em, .intro__statement em, .page-hero__title em, .notfound__title em {
  background: linear-gradient(transparent 62%, var(--y) 62%, var(--y) 92%, transparent 92%);
  padding-inline: 0.05em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.section--dark .sec-head__title em, .page-hero__title em, .notfound__title em, .section--dark .intro__statement em {
  background: none; color: var(--y);
}

/* ---------- Botones ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor; --hover-bg: var(--y); --hover-fg: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65em;
  min-height: 48px; padding: 0.85em 1.4em;
  border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
  font-weight: 650; font-stretch: 108%; font-size: 0.98rem; line-height: 1.1; letter-spacing: 0.005em;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.2s;
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover-bg);
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:hover, .btn:focus-visible { color: var(--hover-fg); border-color: var(--hover-bg); }
.btn .icon { transition: transform 0.35s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--sm { min-height: 40px; padding: 0.55em 1em; font-size: 0.9rem; }
.btn--lg { min-height: 54px; padding: 0.9em 1.25em; font-size: 1rem; white-space: nowrap; }
@media (min-width: 640px) { .btn--lg { min-height: 56px; padding: 1em 1.6em; font-size: 1.02rem; } }
.btn--block { width: 100%; }
.btn--yellow { --bg: var(--y); --fg: var(--ink); --bd: var(--y); --hover-bg: var(--paper); --hover-fg: var(--ink); }
.section:not(.section--dark) .btn--yellow, .svc .btn--yellow, .form .btn--yellow { --hover-bg: var(--ink); --hover-fg: var(--y); }
.btn--ghost { --fg: var(--paper); --bd: rgba(244, 242, 237, 0.4); }
.btn--ghost-dark { --fg: var(--ink); --bd: rgba(14, 15, 15, 0.35); }
.btn--ink { --bg: var(--ink); --fg: var(--y); --bd: var(--ink); --hover-bg: var(--paper); --hover-fg: var(--ink); }
.btn--outline-ink { --fg: var(--ink); --bd: var(--ink); --hover-bg: var(--ink); --hover-fg: var(--y); }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55em; font-weight: 650; font-stretch: 108%;
  padding-block: 0.4em; border-bottom: 1.5px solid currentColor; transition: gap 0.3s var(--ease), color 0.3s;
}
.link-arrow:hover { gap: 0.9em; }
.link-arrow--light { color: var(--paper); }
.link-arrow--light:hover { color: var(--y); }

/* ---------- Cinta métrica de progreso ---------- */
.tape {
  position: fixed; inset: 0 0 auto 0; height: 5px; z-index: 120; pointer-events: none;
}
.tape__fill {
  height: 100%; background-color: var(--y);
  background-image: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 10px);
  background-size: 100% 45%; background-repeat: no-repeat; background-position: bottom;
  transform-origin: left; transform: scaleX(0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--paper);
  transition: transform 0.45s var(--ease), background-color 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(14, 15, 15, 0.92);
  border-color: var(--line-d);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled { background: rgba(14, 15, 15, 0.78); backdrop-filter: blur(14px) saturate(1.2); }
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
  max-width: var(--max); margin-inline: auto; height: 100%; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand img { width: 128px; height: auto; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.main-nav a {
  position: relative; font-size: 0.95rem; font-weight: 550; font-stretch: 106%; padding-block: 0.4em; opacity: 0.86;
  transition: opacity 0.25s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--y);
  transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { opacity: 1; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-header__cta { display: flex; align-items: center; gap: 12px; }
.site-header__cta .btn { display: none; }

.menu-toggle { width: 48px; height: 48px; display: grid; place-items: center; margin-right: -8px; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  content: ""; display: block; width: 24px; height: 2px; background: currentColor; transition: transform 0.4s var(--ease), opacity 0.2s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before { position: absolute; top: -7px; }
.menu-toggle__bars::after { position: absolute; top: 7px; width: 16px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { width: 24px; transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + 28px) var(--gutter) 28px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.6s var(--ease-io);
}
.mobile-menu[hidden] { display: flex; visibility: hidden; }
.mobile-menu.is-open { clip-path: inset(0); visibility: visible; }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid var(--line-d); }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 0.35em 0;
  font-size: clamp(2.1rem, 9vw, 3.6rem); font-weight: 750; font-stretch: 115%; letter-spacing: -0.02em; line-height: 1.15;
  transform: translateY(105%); transition: transform 0.6s var(--ease), color 0.25s;
}
.mobile-menu nav a .mono { color: var(--y); font-size: 0.75rem; }
.mobile-menu nav a[aria-current="page"] { color: var(--y); }
.mobile-menu.is-open nav a { transform: none; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: 0.05s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: 0.1s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: 0.15s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: 0.2s; }
.mobile-menu__foot { display: grid; gap: 14px; }
.mobile-menu__line { display: flex; align-items: center; gap: 10px; color: var(--muted-d); min-height: 44px; }
body.menu-open { overflow: hidden; }
body.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Revelados (solo con JS activo) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }            /* defensivo (gotcha A.4.5) */
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-io); }
.js .reveal-img img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.js .reveal-img.is-visible { clip-path: inset(0); }
.js .reveal-img.is-visible img { transform: none; }
/* Servicios: las fotos son protagonistas → revelado corto y sin espera */
.js .svc .reveal-img { transition-duration: 0.55s; }
.js .svc .reveal-img img { transition-duration: 0.8s; }
.js .svc .reveal-img:not(.is-visible) img { transform: scale(1.05); }
.js .svc--wide .reveal-img img { transition: none; } /* el parallax de GSAP maneja el transform */
.js [data-split]:not(.split-ready) { visibility: hidden; animation: split-safety 0s 2.8s forwards; }
@keyframes split-safety { to { visibility: visible; } }
.split-line { overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* Marco técnico de imágenes */
.frame { position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::after {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid rgba(244, 242, 237, 0.5);
  -webkit-mask: linear-gradient(#000 0 0) top left / 22px 22px no-repeat, linear-gradient(#000 0 0) top right / 22px 22px no-repeat,
    linear-gradient(#000 0 0) bottom left / 22px 22px no-repeat, linear-gradient(#000 0 0) bottom right / 22px 22px no-repeat;
  mask: linear-gradient(#000 0 0) top left / 22px 22px no-repeat, linear-gradient(#000 0 0) top right / 22px 22px no-repeat,
    linear-gradient(#000 0 0) bottom left / 22px 22px no-repeat, linear-gradient(#000 0 0) bottom right / 22px 22px no-repeat;
}
.frame__tag {
  position: absolute; left: 0; bottom: 0; z-index: 2; padding: 0.55em 0.9em; background: var(--ink); color: var(--paper); font-size: 0.68rem;
}

/* ---------- Fisura (SVG) ---------- */
.crack { pointer-events: none; }
.crack svg { width: 100%; height: 100%; overflow: visible; }
.crack path { fill: none; stroke: var(--y); stroke-width: 2; stroke-linejoin: bevel; vector-effect: non-scaling-stroke; }
.crack .crack__branch { stroke-width: 1.2; }

/* ==========================================================================
   HOME — Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); color: var(--paper); overflow: clip; isolation: isolate;
  padding-top: calc(var(--header-h) + 40px);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture { display: contents; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(0.85) contrast(1.05); }
@media (min-width: 768px) { .hero__img { object-position: 62% 50%; } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 15, 15, 0.55) 0%, rgba(14, 15, 15, 0.15) 30%, rgba(14, 15, 15, 0.82) 72%, var(--ink) 100%),
    linear-gradient(90deg, rgba(14, 15, 15, 0.7) 0%, rgba(14, 15, 15, 0) 70%);
}
.hero__lens {
  --size: 180px; --x: 60%; --y: 40%; --bx: 0px; --by: 0px; --bs: 200%;
  position: absolute; z-index: 1; left: 0; top: 0; width: var(--size); height: var(--size);
  border-radius: 50%; border: 1.5px solid var(--y);
  background-image: var(--lens-img); background-repeat: no-repeat; background-size: var(--bs); background-position: var(--bx) var(--by);
  box-shadow: 0 0 0 6px rgba(14, 15, 15, 0.35), 0 30px 60px rgba(0, 0, 0, 0.45);
  transform: translate3d(calc(var(--lx, 60vw) - 50%), calc(var(--ly, 40vh) - 50%), 0);
  opacity: 0; transition: opacity 0.5s;
  pointer-events: none; will-change: transform;
  display: none;
}
@media (min-width: 960px) { .hero__lens { display: block; } }
.hero__lens.is-on { opacity: 1; }
.hero__lens-cross::before, .hero__lens-cross::after {
  content: ""; position: absolute; background: rgba(242, 228, 35, 0.85);
}
.hero__lens-cross::before { left: 50%; top: 18%; bottom: 18%; width: 1px; }
.hero__lens-cross::after { top: 50%; left: 18%; right: 18%; height: 1px; }
.hero__lens-read {
  position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); white-space: nowrap;
  background: var(--y); color: var(--ink); padding: 0.3em 0.6em; font-size: 0.64rem; font-weight: 700;
}
.hero__rule {
  position: absolute; left: 0; top: var(--header-h); bottom: 0; width: 8px; z-index: 1; opacity: 0.35;
  background-image: repeating-linear-gradient(180deg, var(--paper) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(180deg, var(--paper) 0 1px, transparent 1px 60px);
  background-size: 7px 100%, 14px 100%; background-repeat: no-repeat;
}
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(28px, 5vw, 56px); }
.kicker { display: inline-flex; align-items: center; gap: 0.6em; color: var(--y); margin-bottom: clamp(18px, 3vw, 28px); }
.hero__title { display: flex; flex-direction: column; font-weight: 800; letter-spacing: -0.035em; line-height: 0.88; }
/* La línea más larga, "Civil Forense", mide 7.3em (ancho expandido). El tamaño
   se calcula sobre el ancho útil (sin barra de scroll y sin pasar el contenedor
   máximo) dividido 8.4, así entra siempre en un solo renglón con margen. */
.hero__line {
  display: block; font-stretch: 122%; white-space: nowrap;
  font-size: min(calc((100vw - 2 * var(--gutter) - 20px) / 8.4), calc((var(--max) - 2 * var(--gutter)) / 8.4), 11rem);
}
.hero__line--hl { color: var(--y); }
.hero__line--sub {
  font-size: clamp(1.25rem, 0.9rem + 2.3vw, 2.9rem); font-stretch: 105%; font-weight: 600; letter-spacing: -0.015em; line-height: 1.1;
  margin-top: 0.55em; max-width: 22ch; white-space: normal;
}
.hero__lead { margin-top: clamp(18px, 2.6vw, 28px); max-width: 34rem; color: rgba(244, 242, 237, 0.82); font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3.4vw, 40px); }
.hero__actions .btn { flex: 1 1 auto; }
.hero__facts {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--line-d); padding-bottom: 8px;
}
.hero__facts > div { padding: 16px 12px 14px 0; border-right: 1px solid var(--line-d); }
.hero__facts > div:nth-child(2) { padding-left: 12px; border-right: 0; }
.hero__facts > div:nth-child(3) { display: none; }
.hero__facts dt { color: var(--muted-d); font-size: 0.66rem; margin-bottom: 4px; }
.hero__facts dd { font-weight: 650; font-stretch: 108%; font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.2rem); line-height: 1.25; }
.hero__scroll { display: none; }

/* ---------- Intro ---------- */
.intro__grid { display: grid; gap: clamp(40px, 6vw, 96px); align-items: end; }
.intro__statement { font-size: clamp(2rem, 1.2rem + 3.6vw, 4.4rem); margin-bottom: clamp(24px, 3vw, 40px); }
.intro__statement .w { transition: opacity 0.2s; }
.intro__body { max-width: 36rem; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); color: var(--muted-l); margin-bottom: 28px; }
.intro__body strong { color: var(--ink); font-weight: 650; }
.intro__media { aspect-ratio: 4 / 3; overflow: hidden; }
.intro__years {
  position: relative; margin-top: clamp(64px, 9vw, 140px); display: grid; gap: 12px 48px; align-items: end;
  padding-bottom: 36px;
}
.years { display: flex; align-items: flex-start; line-height: 0.78; font-stretch: 125%; font-weight: 800; letter-spacing: -0.05em; }
.years__num { font-size: clamp(8rem, 4rem + 22vw, 22rem); font-variant-numeric: tabular-nums; }
.years__plus { font-size: clamp(4rem, 2rem + 10vw, 10rem); color: transparent; -webkit-text-stroke: 2px var(--ink); margin-left: 0.05em; }
.years__label { max-width: 26rem; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.35rem); font-weight: 550; font-stretch: 105%; line-height: 1.35; }
.ruler {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 22px;
  background-image:
    repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 100px),
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 50px),
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 10px);
  background-size: 100% 22px, 100% 14px, 100% 8px; background-repeat: no-repeat; background-position: left bottom;
  border-bottom: 1.5px solid var(--ink);
  transform-origin: left;
}

/* ---------- Marquee ---------- */
.marquee { overflow: clip; padding-block: clamp(16px, 2.2vw, 26px); }
.marquee--yellow { background: var(--y); color: var(--ink); }
.marquee--dark { background: var(--ink); color: var(--paper); border-block: 1px solid var(--line-d); }
.marquee--dark .marquee__dot { color: var(--y); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__row { display: flex; align-items: center; flex: none; }
.marquee__row span {
  font-size: clamp(1.5rem, 1rem + 2.6vw, 3.4rem); font-weight: 750; font-stretch: 118%; letter-spacing: -0.02em; white-space: nowrap; line-height: 1;
}
.marquee__dot { width: clamp(22px, 2.4vw, 36px); height: clamp(22px, 2.4vw, 36px); margin-inline: clamp(18px, 2.4vw, 36px); }
.marquee__dot { fill: none; stroke: currentColor; stroke-width: 2.2; }
.marquee--css .marquee__track { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Índice de servicios ---------- */
.services-index .sec-head { margin-bottom: clamp(32px, 4vw, 56px); }
.sidx { border-top: 1px solid var(--line-d); margin-bottom: clamp(36px, 5vw, 64px); }
.sidx__item { border-bottom: 1px solid var(--line-d); }
.sidx__link {
  position: relative; display: grid; grid-template-columns: 2.6rem 1fr 72px; grid-template-areas: "num title thumb" "num text thumb";
  gap: 4px 14px; align-items: start; padding: 22px 0;
}
.sidx__num { grid-area: num; color: var(--y); padding-top: 0.45em; }
.sidx__title { grid-area: title; font-size: clamp(1.25rem, 1rem + 1.6vw, 2.4rem); font-weight: 700; font-stretch: 110%; line-height: 1.08; letter-spacing: -0.015em; transition: color 0.3s, transform 0.5s var(--ease); }
.sidx__text { grid-area: text; color: var(--muted-d); font-size: 0.95rem; line-height: 1.5; }
.sidx__go { display: none; }
.sidx__thumb { grid-area: thumb; width: 72px; aspect-ratio: 1; overflow: hidden; }
.sidx__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3); }
.sidx__preview { display: none; }

/* ---------- Enfoque ---------- */
.approach__grid { display: grid; gap: clamp(40px, 6vw, 96px); }
.approach__media { aspect-ratio: 3 / 4; overflow: hidden; max-height: 78vh; }
.approach__body { position: relative; }
.steps { display: grid; gap: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line-l); }
.step:last-child { border-bottom: 1px solid var(--line-l); }
.step__icon { width: 56px; height: 56px; display: grid; place-items: center; border: 1.5px solid var(--ink); transition: background 0.3s, color 0.3s; }
.step__icon .icon { width: 26px; height: 26px; }
.step:hover .step__icon { background: var(--y); border-color: var(--y); }
.step h3 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 750; font-stretch: 115%; letter-spacing: -0.02em; line-height: 1; margin-bottom: 0.4em; }
.step p { color: var(--muted-l); max-width: 34rem; }
.steps__crack { height: 70px; margin-top: 28px; }
.steps__crack path { stroke: var(--ink); }

/* ---------- Para quién ---------- */
.aud { border-top: 1.5px solid var(--ink); }
.aud__item {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(14px, 2vw, 28px);
  padding: clamp(16px, 2.2vw, 26px) 0; border-bottom: 1.5px solid var(--ink);
  background: linear-gradient(var(--y), var(--y)) left / 0% 100% no-repeat; transition: background-size 0.6s var(--ease), padding 0.5s var(--ease);
}
.aud__item:hover { background-size: 100% 100%; padding-left: 16px; }
.aud__icon .icon { width: clamp(28px, 3vw, 44px); height: clamp(28px, 3vw, 44px); stroke-width: 1.4; }
.aud__title { font-size: clamp(1.5rem, 1rem + 3vw, 4rem); font-weight: 750; font-stretch: 116%; letter-spacing: -0.025em; line-height: 1.02; }
.aud__num { color: var(--grey-d); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(32px, 4vw, 48px); }
.chips li { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.65em 1em; border: 1px solid var(--line-l); background: var(--paper); }

/* ---------- Equipo (home) ---------- */
.team-teaser__grid { display: grid; gap: clamp(36px, 6vw, 96px); align-items: center; }
.team-teaser__media { position: relative; aspect-ratio: 1; overflow: hidden; }
.team-teaser__media img { width: 100%; height: 100%; object-fit: cover; }
.team-teaser__title { font-size: clamp(2rem, 1.3rem + 3.2vw, 4.2rem); margin-bottom: clamp(28px, 3.5vw, 44px); }
.person { border-left: 3px solid var(--y); padding-left: 20px; margin-bottom: 32px; }
.person__name { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); font-weight: 750; font-stretch: 112%; margin-bottom: 6px; }
.person__role { color: var(--paper); }
.person__detail { color: var(--muted-d); margin-top: 6px; }
.team-teaser__links { display: flex; flex-wrap: wrap; gap: 14px 32px; }

/* ---------- Trabajo de campo (scroll horizontal) ---------- */
.field { overflow: clip; }
.field__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(32px, 4vw, 56px); }
.field__head .sec-head { margin-bottom: 0; }
.field__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
.field__viewport::-webkit-scrollbar { display: none; }
.field__track { display: flex; gap: clamp(14px, 1.6vw, 24px); padding-inline: var(--gutter); width: max-content; }
.field__item { flex: none; width: min(78vw, 420px); scroll-snap-align: start; }
.field__item figure { aspect-ratio: 4 / 5; overflow: hidden; position: relative; background: var(--concrete); }
.field__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.field__item figure:hover img { transform: scale(1.05); }
.field__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; color: var(--paper); font-size: 0.66rem; background: linear-gradient(transparent, rgba(14, 15, 15, 0.75)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field__item--end { display: flex; }
.field__more {
  width: 100%; aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: space-between; padding: 28px;
  background: var(--ink); color: var(--paper); transition: background 0.35s, color 0.35s;
}
.field__more strong { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 750; font-stretch: 115%; line-height: 1; letter-spacing: -0.02em; }
.field__more .icon { width: 44px; height: 44px; }
.field__more:hover { background: var(--y); color: var(--ink); }

/* ---------- CTA amarilla ---------- */
.cta-band { position: relative; background: var(--y); color: var(--ink); padding-block: clamp(72px, 10vw, 150px); overflow: clip; }
.cta-band .label { color: var(--ink); opacity: 0.7; }
.cta-band__crack { position: absolute; left: 0; right: 0; top: 18px; height: 80px; opacity: 0.9; }
.cta-band__crack path { stroke: var(--ink); }
.cta-band__inner { position: relative; display: grid; gap: 36px; align-items: end; }
.cta-band__title { font-size: clamp(2.1rem, 1.3rem + 4vw, 5rem); max-width: 18ch; }
.cta-band__text { margin-top: 18px; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); max-width: 30rem; }
.cta-band__actions { display: grid; gap: 12px; }
.cta-band__phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; min-height: 44px; justify-self: start; border-bottom: 1.5px solid; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(64px, 8vw, 110px); }
.site-footer__grid { display: grid; gap: 40px; padding-bottom: 56px; }
.site-footer__brand img { width: 163px; margin-bottom: 10px; }
.site-footer__slogan { color: var(--y); margin-bottom: 18px; }
.site-footer__brand p { color: var(--muted-d); max-width: 22rem; }
.site-footer__col .label { color: var(--grey); margin-bottom: 16px; }
.site-footer__col ul { display: grid; gap: 4px; }
.site-footer__col a, .site-footer__col span { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: rgba(244, 242, 237, 0.86); transition: color 0.25s; }
.site-footer__col a:hover { color: var(--y); }
.site-footer__col .icon { width: 18px; height: 18px; color: var(--y); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px 96px; border-top: 1px solid var(--line-d); color: var(--grey); font-size: 0.85rem; }
.site-footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bottom a:hover { color: var(--y); }

.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 80; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--y); color: var(--ink);
  box-shadow: 0 10px 30px rgba(14, 15, 15, 0.3), 0 0 0 0 rgba(242, 228, 35, 0.6);
  transition: transform 0.45s var(--ease), opacity 0.3s; animation: wa-pulse 3.2s 2s infinite;
}
.js .wa-float:not(.is-visible) { opacity: 0; transform: translateY(24px) scale(0.8); pointer-events: none; }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
@keyframes wa-pulse { 0%, 70%, 100% { box-shadow: 0 10px 30px rgba(14, 15, 15, 0.3), 0 0 0 0 rgba(242, 228, 35, 0.55); } 85% { box-shadow: 0 10px 30px rgba(14, 15, 15, 0.3), 0 0 0 14px rgba(242, 228, 35, 0); } }

/* ==========================================================================
   PÁGINAS INTERNAS
   ========================================================================== */
.page-hero {
  position: relative; background: var(--ink); color: var(--paper); overflow: clip;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) 0 clamp(120px, 12vw, 180px);
}
.page-hero__grid {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 80px 80px; background-position: -1px -1px;
  -webkit-mask: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 75%);
  mask: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 75%);
}
.page-hero__inner { position: relative; z-index: 1; }
.crumbs ol { display: flex; gap: 10px; color: var(--muted-d); margin-bottom: clamp(28px, 4vw, 48px); font-size: 0.7rem; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--grey-d); }
.crumbs a:hover { color: var(--y); }
.page-hero__title { font-size: clamp(2.6rem, 1.2rem + 7vw, 8rem); font-weight: 800; font-stretch: 120%; letter-spacing: -0.035em; line-height: 0.92; max-width: 14ch; }
.page-hero__lead { margin-top: clamp(22px, 3vw, 36px); max-width: 38rem; color: rgba(244, 242, 237, 0.78); font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); }
.page-hero__media { position: relative; z-index: 1; margin: clamp(36px, 5vw, 0px) var(--gutter) 0; aspect-ratio: 1; max-width: 460px; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__crack { position: absolute; left: 0; right: 0; bottom: 6px; height: 64px; }

/* ---------- Servicios ---------- */
.jump { position: sticky; top: var(--header-h); z-index: 60; background: var(--ink-2); color: var(--paper); border-bottom: 1px solid var(--line-d); transition: top 0.45s var(--ease); }
.header-hidden .jump { top: 0; }
.jump .container { padding-inline: 0; }
.jump__list { display: flex; overflow-x: auto; scrollbar-width: none; padding-inline: var(--gutter); }
.jump__list::-webkit-scrollbar { display: none; }
.jump__list a {
  display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 16px 14px; min-height: 52px; font-size: 0.9rem; font-weight: 550;
  color: var(--muted-d); border-bottom: 2px solid transparent; transition: color 0.25s, border-color 0.25s;
}
.jump__list a .mono { color: var(--grey); font-size: 0.66rem; }
.jump__list a:hover, .jump__list a.is-active { color: var(--paper); border-color: var(--y); }
.jump__list a.is-active .mono { color: var(--y); }

.svc { position: relative; padding-block: clamp(72px, 10vw, 150px); scroll-margin-top: calc(var(--header-h) + 52px); }
.svc:nth-child(even) { background: var(--concrete); }
.svc__grid { display: grid; gap: clamp(28px, 4vw, 72px); align-items: center; }
.svc__media { aspect-ratio: 16 / 10; overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__body { position: relative; }
.svc__num {
  position: absolute; right: 0; top: -0.35em; z-index: -1;
  font-size: clamp(7rem, 4rem + 12vw, 15rem); font-weight: 800; font-stretch: 125%; line-height: 1; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(14, 15, 15, 0.16);
}
.svc { isolation: isolate; }
.svc__title { font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3.8rem); margin-bottom: 20px; max-width: 16ch; }
.svc__text { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.45rem); line-height: 1.45; max-width: 32rem; color: var(--muted-l); }
.svc__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* variante wide: foto a sangre con ficha superpuesta */
.svc--wide { padding-top: 0; background: var(--ink) !important; color: var(--paper); }
.svc--wide .svc__grid { max-width: none; padding: 0; gap: 0; }
.svc--wide .svc__media { aspect-ratio: auto; height: min(78vh, 760px); width: 100%; }
.svc--wide .svc__body { margin: -120px var(--gutter) 0; padding: clamp(28px, 4vw, 56px); background: var(--ink); max-width: 760px; border-top: 3px solid var(--y); }
.svc--wide .svc__text { color: var(--muted-d); }
.svc--wide .label { color: var(--muted-d); }
.svc--wide .svc__num { -webkit-text-stroke-color: rgba(244, 242, 237, 0.14); top: -0.2em; right: 0.1em; }
.svc--wide .btn--yellow { --hover-bg: var(--paper); --hover-fg: var(--ink); }
.svc--wide .btn--ghost-dark { --fg: var(--paper); --bd: rgba(244, 242, 237, 0.4); }

.areas__grid { display: grid; gap: 24px; }
.areas__list { border-top: 1px solid var(--line-d); }
.areas__list li { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-d); font-size: clamp(1.3rem, 1rem + 1.4vw, 2.2rem); font-weight: 700; font-stretch: 112%; letter-spacing: -0.015em; line-height: 1.15; transition: color 0.3s, padding 0.4s var(--ease); }
.areas__list li .mono { color: var(--y); }
.areas__list li:hover { color: var(--y); padding-left: 10px; }

/* ---------- Nosotros ---------- */
.who__grid { display: grid; gap: clamp(28px, 4vw, 80px); }
.who__text { display: grid; gap: 1.2em; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.22rem); color: var(--muted-l); align-self: end; }
.pillars__grid { display: grid; border-top: 1px solid var(--line-d); }
.pillar { position: relative; padding: 32px 0; border-bottom: 1px solid var(--line-d); }
.pillar__num { color: var(--y); display: block; margin-bottom: 26px; }
.pillar__icon { width: 40px; height: 40px; color: var(--y); margin-bottom: 18px; stroke-width: 1.3; }
.pillar h3 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem); font-weight: 750; font-stretch: 112%; letter-spacing: -0.015em; line-height: 1.1; margin-bottom: 10px; }
.pillar p { color: var(--muted-d); }
.team__intro { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem); max-width: 54rem; color: var(--muted-l); margin-bottom: clamp(40px, 5vw, 72px); }
.team__grid { display: grid; gap: clamp(28px, 3vw, 40px); }
.member__media { aspect-ratio: 1; overflow: hidden; margin-bottom: 20px; background: var(--concrete); }
.member__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 0.6s; filter: grayscale(0.15); }
.member:hover .member__media img { transform: scale(1.04); filter: none; }
.member__name { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); font-weight: 750; font-stretch: 114%; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 10px; }
.member__role { font-weight: 600; }
.member__detail { color: var(--muted-l); margin: 6px 0 18px; }
.team__office { aspect-ratio: 16 / 10; overflow: hidden; }

/* ---------- Galería ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 28px 0 0; margin-bottom: -24px; }
.filters::-webkit-scrollbar { display: none; }
.filters__btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; min-height: 44px; padding: 0.55em 1.1em;
  border: 1.5px solid var(--line-l); font-weight: 600; font-size: 0.92rem; transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.filters__btn .mono { font-size: 0.66rem; color: var(--grey-d); }
.filters__btn:hover { border-color: var(--ink); }
.filters__btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters__btn[aria-pressed="true"] .mono { color: var(--y); }
.gallery { padding-top: 56px; }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; grid-auto-flow: dense; gap: 8px; }
.gallery__item { position: relative; overflow: hidden; background: var(--concrete); }
.gallery__item.is-hidden { display: none; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__btn { position: relative; display: block; width: 100%; height: 100%; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 0.5s; }
.gallery__btn:hover img { transform: scale(1.05); }
.gallery__zoom {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--y); color: var(--ink); transform: scale(0.6); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.3s;
}
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 10px; text-align: left; color: var(--paper); font-size: 0.62rem;
  background: linear-gradient(transparent, rgba(14, 15, 15, 0.8)); transform: translateY(100%); transition: transform 0.45s var(--ease);
}
.gallery__btn:hover .gallery__zoom, .gallery__btn:focus-visible .gallery__zoom { transform: none; opacity: 1; }
.gallery__btn:hover .gallery__cap, .gallery__btn:focus-visible .gallery__cap { transform: none; }
.gallery__btn:focus-visible { outline-offset: -3px; outline-color: var(--y); outline-width: 3px; }

.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(14, 15, 15, 0.97); color: var(--paper);
}
.lightbox::backdrop { background: rgba(14, 15, 15, 0.7); }
.lightbox[open] { display: grid; place-items: center; animation: lb-in 0.35s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__fig { display: grid; gap: 14px; justify-items: center; padding: 72px 16px 80px; }
.lightbox__fig img { max-width: min(92vw, 1600px); max-height: calc(100dvh - 180px); width: auto; height: auto; object-fit: contain; }
.lightbox__fig figcaption { color: var(--muted-d); text-align: center; max-width: 60ch; }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border: 1.5px solid var(--line-d); color: var(--paper);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.lightbox__btn:hover { background: var(--y); color: var(--ink); border-color: var(--y); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; bottom: 14px; }
.lightbox__next { right: 14px; bottom: 14px; }
.lightbox__count { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); color: var(--muted-d); }

/* ---------- Contacto ---------- */
.contact { padding-top: clamp(56px, 7vw, 110px); }
.contact__grid { display: grid; gap: clamp(48px, 6vw, 96px); align-items: start; }
.form__head { margin-bottom: 32px; }
.form__title { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); margin-bottom: 10px; }
.form__sub { color: var(--muted-l); }
.field-row { display: grid; gap: 0 28px; }
.field { position: relative; margin-bottom: 26px; }
.field label { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; color: var(--muted-l); margin-bottom: 6px; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 2px; border: 0; border-bottom: 1.5px solid rgba(14, 15, 15, 0.35); border-radius: 0;
  background: transparent; font-size: 1.1rem; outline: none; transition: border-color 0.25s, background 0.25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(14, 15, 15, 0.38); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--ink); background: rgba(242, 228, 35, 0.16); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: 0 2px 0 0 var(--ink); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-75%) rotate(45deg); pointer-events: none; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--error); }
.field__error { color: var(--error); font-size: 0.85rem; margin-top: 6px; min-height: 0; }
.field--check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.field--check label { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 0.95rem; color: var(--muted-l); margin: 0; }
.field--check label a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.field--check .field__error { grid-column: 2; margin-top: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form__actions .btn { flex: 1 1 220px; }
.form__status:empty { display: none; }
.form__status { margin-top: 24px; padding: 18px 20px; border-left: 4px solid var(--ink); background: var(--concrete); font-weight: 550; }
.form__status.is-ok { border-color: var(--ink); background: var(--y); }
.form__status.is-error { border-color: var(--error); color: var(--error); background: #f6e3de; }
.btn.is-loading .btn__label::after { content: "…"; }

.channels { display: grid; gap: 10px; }
.channel {
  display: grid; grid-template-columns: 48px 1fr 22px; align-items: center; gap: 16px; padding: 16px 18px; min-height: 76px;
  border: 1.5px solid var(--line-l); background: var(--paper); transition: border-color 0.25s, background 0.25s, transform 0.3s var(--ease);
}
.channel .label { margin: 0 0 2px; font-size: 0.66rem; }
.channel strong { display: block; font-weight: 650; font-stretch: 106%; font-size: 1.05rem; word-break: break-word; }
.channel small { display: block; color: var(--muted-l); font-size: 0.85rem; }
.channel__icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--ink); color: var(--y); }
.channel__icon .icon { width: 24px; height: 24px; }
.channel__go { width: 20px; height: 20px; transition: transform 0.3s var(--ease); }
a.channel:hover { border-color: var(--ink); transform: translateX(4px); }
a.channel:hover .channel__go { transform: translate(3px, -3px); }
.channel--wa { background: var(--y); border-color: var(--y); }
.channel--wa .label { color: var(--ink); opacity: 0.7; }
.channel--wa small { color: rgba(14, 15, 15, 0.7); }
.channel--static { grid-template-columns: 48px 1fr; }
.channels__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.channels__social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0.5em 0.9em; border: 1.5px solid var(--line-l); font-size: 0.9rem; font-weight: 550; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.channels__social a:hover { background: var(--ink); color: var(--y); border-color: var(--ink); }
.channels__media { margin-top: 18px; aspect-ratio: 16 / 10; overflow: hidden; }

/* ---------- Privacidad / 404 ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); font-weight: 750; font-stretch: 110%; margin: 1.8em 0 0.5em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted-l); }
.prose a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.notfound { position: relative; min-height: 100svh; display: grid; align-items: center; background: var(--ink); color: var(--paper); padding: calc(var(--header-h) + 40px) 0 60px; overflow: clip; }
.notfound__crack { position: absolute; left: 0; right: 0; top: 30%; height: 140px; opacity: 0.8; }
.notfound__inner { position: relative; }
.notfound .label { color: var(--y); }
.notfound__title { font-size: clamp(2.6rem, 1.2rem + 6vw, 7rem); font-stretch: 120%; max-width: 14ch; margin-bottom: 20px; }
.notfound p { color: var(--muted-d); max-width: 32rem; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ==========================================================================
   BREAKPOINTS
   ========================================================================== */
@media (min-width: 640px) {
  .hero__facts { grid-template-columns: repeat(3, 1fr); }
  .hero__facts > div:nth-child(2) { border-right: 1px solid var(--line-d); }
  .hero__facts > div:nth-child(3) { display: block; padding-left: 12px; }
  .hero__actions .btn { flex: 0 0 auto; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 28vw; gap: 10px; }
  .cta-band__actions { grid-template-columns: auto auto; justify-content: start; align-items: center; }
  .cta-band__phone { grid-column: 1 / -1; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .pillars__grid { grid-template-columns: 1fr 1fr; }
  .pillar { padding: 36px 28px 36px 0; }
  .pillar:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line-d); }
  .team__grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .wa-float { right: 24px; bottom: 24px; }
}

@media (min-width: 960px) {
  :root { --header-h: 80px; }
  .brand img { width: 150px; }
  .main-nav { display: block; }
  .site-header__cta .btn { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }

  .hero__content { padding-bottom: 48px; }
  .hero__line--sub { max-width: none; }
  .hero__scroll {
    display: flex; position: absolute; right: var(--gutter); bottom: 132px; z-index: 2; flex-direction: column; align-items: center; gap: 12px;
    color: var(--muted-d); writing-mode: vertical-rl; font-size: 0.66rem;
  }
  .hero__scroll i { display: block; width: 1px; height: 64px; background: linear-gradient(var(--y) 50%, var(--line-d) 50%); background-size: 1px 200%; animation: scroll-cue 2s var(--ease-io) infinite; }
  @keyframes scroll-cue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
  .hero__rule { width: 20px; opacity: 0.55; }

  .intro__grid { grid-template-columns: 7fr 5fr; }
  .intro__years { grid-template-columns: auto 1fr; }

  .sidx__link {
    grid-template-columns: 4rem minmax(0, 1.15fr) minmax(0, 1fr) 48px; grid-template-areas: "num title text go";
    gap: 32px; align-items: center; padding: 30px 0;
  }
  .sidx__num { padding-top: 0; }
  .sidx__go { display: grid; place-items: center; grid-area: go; width: 48px; height: 48px; border: 1.5px solid var(--line-d); transition: background 0.3s, color 0.3s, transform 0.5s var(--ease), border-color 0.3s; }
  .sidx__thumb { display: none; }
  .sidx__link:hover .sidx__title { color: var(--y); transform: translateX(14px); }
  .sidx__link:hover .sidx__go { background: var(--y); color: var(--ink); border-color: var(--y); transform: rotate(45deg); }
  .sidx:hover .sidx__item:not(:hover) { opacity: 0.45; }
  .sidx__item { transition: opacity 0.4s; }
  .sidx__preview {
    display: block; position: fixed; left: 0; top: 0; z-index: 70; width: 340px; aspect-ratio: 16 / 10; pointer-events: none; overflow: hidden;
    clip-path: inset(50% 50% 50% 50%); transition: clip-path 0.5s var(--ease-io); border: 1.5px solid var(--y);
  }
  .sidx__preview.is-on { clip-path: inset(0); }
  .sidx__preview img { width: 100%; height: 100%; object-fit: cover; }

  .approach__grid { grid-template-columns: 5fr 7fr; align-items: start; }
  .approach__media { position: sticky; top: calc(var(--header-h) + 32px); }

  .team-teaser__grid { grid-template-columns: 5fr 7fr; }

  .field__viewport { overflow: visible; scroll-snap-type: none; }
  .field__item { width: clamp(300px, 28vw, 460px); }
  .field.is-pinned { padding-top: calc(var(--header-h) + 48px); padding-bottom: 48px; min-height: 100vh; }
  .field.is-pinned .field__head { margin-bottom: 32px; }
  .field.is-pinned .field__item { width: min(clamp(300px, 28vw, 460px), calc((100vh - var(--header-h) - 330px) * 0.8)); }
  .field.is-pinned .field__track { will-change: transform; }

  .cta-band__inner { grid-template-columns: 7fr 5fr; }

  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1.3fr 1fr; }

  .page-hero__inner { display: grid; }
  .page-hero:has(.page-hero__media) .page-hero__inner { padding-right: 40%; }
  .page-hero__media { position: absolute; right: var(--gutter); bottom: clamp(120px, 12vw, 180px); width: 32%; margin: 0; aspect-ratio: 1; }

  .svc__grid { grid-template-columns: 7fr 5fr; }
  .svc--split--rev .svc__grid { grid-template-columns: 5fr 7fr; }
  .svc--split--rev .svc__media { order: 2; }
  .svc--wide .svc__grid { grid-template-columns: 1fr; }
  .svc--wide .svc__body { margin: -220px 0 0 var(--gutter); }

  .areas__grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .who__grid { grid-template-columns: 7fr 5fr; }
  .pillars__grid { grid-template-columns: repeat(4, 1fr); }
  .pillar { padding: 40px 28px; border-left: 1px solid var(--line-d); }
  .pillar:first-child { border-left: 0; padding-left: 0; }
  .pillar:nth-child(even) { padding-left: 28px; }
  .team__grid { grid-template-columns: 5fr 7fr; gap: clamp(40px, 5vw, 80px); }
  .team__office { aspect-ratio: 4 / 3; }

  .gallery__grid { grid-auto-rows: 22vw; max-height: none; }
  .contact__grid { grid-template-columns: 7fr 5fr; }
  .channels { position: sticky; top: calc(var(--header-h) + 24px); }
}

@media (min-width: 1360px) {
  .gallery__grid { grid-auto-rows: 300px; }
}

/* Hover solo en dispositivos con puntero fino */
@media (hover: none) {
  .gallery__cap { transform: none; }
  .gallery__zoom { opacity: 1; transform: none; width: 34px; height: 34px; }
}

/* Movimiento reducido: solo se apagan los efectos intrusivos (no las microinteracciones) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wa-float { animation: none; }
  .hero__scroll i { animation: none; }
}

@media print {
  .site-header, .tape, .wa-float, .mobile-menu, .hero__lens, .cta-band__actions { display: none !important; }
  .js .reveal, .js .reveal-img, .js [data-split] { opacity: 1 !important; transform: none !important; clip-path: none !important; visibility: visible !important; }
}
