/* ==========================================================================
   EFFI MUÑIZ — Restauración de trucks y coches
   Hoja de estilos principal
   --------------------------------------------------------------------------
   1. Tokens          6. Hero              11. Contacto
   2. Base            7. El taller         12. Footer
   3. Utilidades      8. Servicios         13. Ficha de proyecto
   4. Componentes     9. Proyectos         14. Responsive
   5. Navegación     10. Proceso           15. Movimiento reducido
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Paleta inspirada en el garaje americano: negro, crema y rojo */
  --ink: #111111;
  --char: #161616;
  --graphite: #1b1b1b;
  --steel: #2a2a2a;
  --line: rgba(245, 239, 223, .13);
  --line-dark: rgba(17, 17, 17, .14);

  --cream: #f5efdf;
  --bone: #faf6ec;
  --paper: #f1ead8;
  --muted: #a8a399;
  --muted-dark: #5a564e;
  --text-dark: #34312b;

  --red: #b9170e;          /* rojo de marca: botones, bloques */
  --accent-deep: #b9170e;
  --accent-ink: #a8140c;   /* rojo para texto sobre crema */
  --accent: #e0372a;       /* rojo para detalles sobre negro */
  --accent-hi: #e8463a;    /* palabras destacadas sobre negro */

  --f-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', monospace;
  --f-script: 'Mrs Saint Delafield', 'Brush Script MT', cursive;

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 1440px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  /* Siluetas técnicas para huecos de foto (se ven sólo si falta la imagen) */
  --sil-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 170' fill='none' stroke='%23f5efdf' stroke-width='1.1' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M22 120V84h176V44q0-8 10-8h54q9 0 13 9l13 35 62 4q22 3 28 18l3 18h-29a32 32 0 0 0-64 0H127a32 32 0 0 0-64 0z'/%3E%3Cpath d='M208 46h52q6 0 8 5l10 25h-70z'/%3E%3Cpath d='M198 84v32M240 84v28M231 92h8M374 94h6M380 110h9'/%3E%3Ccircle cx='320' cy='122' r='24'/%3E%3Ccircle cx='320' cy='122' r='9'/%3E%3Ccircle cx='95' cy='122' r='24'/%3E%3Ccircle cx='95' cy='122' r='9'/%3E%3Cpath d='M8 148h384' stroke-dasharray='2 5' opacity='.6'/%3E%3Cpath d='M22 162h359M22 157v10M381 157v10M198 20v10M198 25h-176M22 20v10' opacity='.45'/%3E%3C/svg%3E");
  --sil-car: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 170' fill='none' stroke='%23f5efdf' stroke-width='1.1' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M18 118l2-18q4-10 24-13l74-7q22-26 60-30h58q26 2 54 30l62 6q26 4 32 18v14h-40a32 32 0 0 0-64 0H130a32 32 0 0 0-64 0z'/%3E%3Cpath d='M130 80q16-20 48-22h28v24zM214 58h22q20 2 40 24h-62z'/%3E%3Cpath d='M210 86v28M30 100h30M362 96h14'/%3E%3Ccircle cx='312' cy='120' r='23'/%3E%3Ccircle cx='312' cy='120' r='9'/%3E%3Ccircle cx='98' cy='120' r='23'/%3E%3Ccircle cx='98' cy='120' r='9'/%3E%3Cpath d='M8 146h384' stroke-dasharray='2 5' opacity='.6'/%3E%3Cpath d='M18 160h366M18 155v10M384 155v10' opacity='.45'/%3E%3C/svg%3E");
  --sil-detail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23f5efdf' stroke-width='1.1'%3E%3Ccircle cx='100' cy='100' r='62'/%3E%3Ccircle cx='100' cy='100' r='36'/%3E%3Ccircle cx='100' cy='100' r='8'/%3E%3Ccircle cx='100' cy='51' r='4'/%3E%3Ccircle cx='142' cy='75' r='4'/%3E%3Ccircle cx='142' cy='125' r='4'/%3E%3Ccircle cx='100' cy='149' r='4'/%3E%3Ccircle cx='58' cy='125' r='4'/%3E%3Ccircle cx='58' cy='75' r='4'/%3E%3Cpath d='M100 14v24M100 162v24M14 100h24M162 100h24' opacity='.6'/%3E%3C/svg%3E");
  --sil-person: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 240' fill='none' stroke='%23f5efdf' stroke-width='1.4'%3E%3Ccircle cx='100' cy='88' r='40'/%3E%3Cpath d='M26 240c4-54 34-86 74-86s70 32 74 86'/%3E%3C/svg%3E");
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@view-transition { navigation: auto; }

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}
html.no-scroll { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  font-weight: 350;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Grano de película sobre toda la web */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .06;
  background-image: var(--noise);
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-weight: 400; margin: 0; }
::selection { background: var(--red); color: var(--cream); }

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

/* 3. UTILIDADES ------------------------------------------------------------ */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.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 {
  position: fixed; left: 1rem; top: -120px; z-index: 300;
  background: var(--cream); color: var(--ink); padding: .8rem 1.2rem;
  font-family: var(--f-mono); font-size: .8rem;
}
.skip:focus { top: 1rem; }

.mono {
  font-family: var(--f-mono);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.h2 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(2.5rem, 5.8vw, 5.4rem);
  line-height: .94;
  letter-spacing: .008em;
}
.h2 em, .h1 em {
  font-family: var(--f-serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.06em;
  color: var(--accent-hi);
}
.section--paper .h2 em { color: var(--accent-ink); }

.lead {
  font-family: var(--f-serif);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.22;
  letter-spacing: -.005em;
}

/* 4. COMPONENTES ----------------------------------------------------------- */

/* Placa de taller (rótulos de sección) */
.plate {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem 1.05rem;
  border: 1px solid currentColor;
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  position: relative;
  line-height: 1;
}
.plate::before, .plate::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .8;
}
.plate b { font-weight: 500; }
.plate i { width: 18px; height: 1px; background: currentColor; opacity: .5; }
.section--paper .plate { color: var(--accent-ink); }

.sec-head { display: grid; gap: 1.75rem; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.sec-head > .plate { justify-self: start; }
.sec-head--split {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  column-gap: clamp(2rem, 6vw, 7rem);
}
.sec-head--split .plate { grid-column: 1 / -1; justify-self: start; }
.sec-head__intro { color: var(--muted); max-width: 46ch; margin: 0; }
.section--paper .sec-head__intro { color: var(--text-dark); }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  padding: 1.05rem 1.6rem;
  border: 1px solid currentColor;
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--solid { background: var(--red); color: var(--cream); border-color: var(--red); }
.btn--solid:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--ghost { color: var(--cream); border-color: rgba(245, 239, 223, .38); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(245, 239, 223, .07); }
.btn--dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--dark:hover { background: var(--red); border-color: var(--red); }
.btn--line-dark { color: var(--ink); border-color: rgba(17, 17, 17, .4); }
.btn--line-dark:hover { border-color: var(--ink); background: rgba(17, 17, 17, .05); }
.btn--sm { padding: .78rem 1.1rem; font-size: .68rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .45s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* Marco de imagen con hueco técnico.
   Si la foto existe, la cubre por completo; si falta, se ve una lámina
   de taller con la silueta y el nombre del archivo esperado. */
.media {
  position: relative;
  overflow: hidden;
  background-color: #161616;
  background-image:
    linear-gradient(rgba(245, 239, 223, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 223, .035) 1px, transparent 1px),
    radial-gradient(120% 90% at 65% 35%, #2c2c2c 0%, #191919 55%, #0f0f0f 100%);
  background-size: 48px 48px, 48px 48px, 100% 100%;
}
.media::before {
  content: "";
  position: absolute;
  inset: 16% 10%;
  background: var(--sil-truck) center / contain no-repeat;
  opacity: .3;
}
.media[data-ph="car"]::before { background-image: var(--sil-car); }
.media[data-ph="detail"]::before { background-image: var(--sil-detail); inset: 24%; }
.media[data-ph="person"]::before { background-image: var(--sil-person); inset: 16% 12% 0; background-position: bottom center; }
.media[data-ph="none"]::before { display: none; }
.media::after {
  content: "Foto · " attr(data-label);
  position: absolute;
  left: 1rem; bottom: .85rem;
  font-family: var(--f-mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245, 239, 223, .42);
}
.media > img, .media > video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
  transition: transform 1.3s var(--ease), filter .9s var(--ease);
}
.media > img.is-missing { display: none; }

.media--antes {
  background-image:
    linear-gradient(rgba(245, 239, 223, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 223, .03) 1px, transparent 1px),
    radial-gradient(120% 90% at 40% 60%, #3a1a16 0%, #1e1210 55%, #110b0a 100%);
  background-size: 48px 48px, 48px 48px, 100% 100%;
}
.media--antes::before { filter: sepia(1) saturate(2.2) hue-rotate(-18deg); opacity: .4; }

/* Comparador antes / después */
.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  user-select: none;
  background: var(--char);
}
.ba__img { position: absolute; inset: 0; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__after::after { left: auto; right: 1rem; }
.ba__tag {
  position: absolute; top: 1rem; z-index: 3;
  padding: .42rem .7rem;
  background: rgba(17, 17, 17, .7);
  backdrop-filter: blur(6px);
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  pointer-events: none;
}
.ba__tag--l { left: 1rem; }
.ba__tag--r { right: 1rem; color: var(--accent-hi); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 1px; background: var(--cream);
  pointer-events: none;
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%;
  width: 54px; height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--cream);
  background: rgba(17, 17, 17, .55);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  transition: transform .3s var(--ease), background-color .3s;
}
.ba__handle span::before {
  content: "‹  ›";
  font-family: var(--f-mono);
  font-size: 1.05rem;
  letter-spacing: .1em;
  line-height: 1;
  color: var(--cream);
}
.ba__range {
  position: absolute; inset: 0; z-index: 4;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
  touch-action: pan-y;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100vh; cursor: ew-resize; }
.ba__range::-moz-range-thumb { width: 60px; height: 100vh; border: 0; cursor: ew-resize; }
.ba:hover .ba__handle span { transform: translate(-50%, -50%) scale(1.08); }
.ba:has(.ba__range:focus-visible) .ba__handle span { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Aparición al hacer scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* 5. NAVEGACIÓN ------------------------------------------------------------ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color .45s var(--ease), border-color .45s var(--ease), backdrop-filter .45s;
}
.nav.is-solid, .nav.is-open {
  background: rgba(17, 17, 17, .84);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-color: var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  height: var(--nav-h);
}

.logo { display: flex; align-items: center; gap: .85rem; flex: none; }
.logo__mark { width: 50px; height: 32px; color: var(--cream); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--f-display); font-size: 1.28rem; letter-spacing: .09em; }
.logo__sub {
  font-family: var(--f-mono); font-size: .56rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); margin-top: .38rem;
}

.nav__links { display: flex; gap: clamp(1.25rem, 2.4vw, 2.4rem); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative;
  display: block;
  padding: .5rem 0;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .17em; text-transform: uppercase;
  color: rgba(245, 239, 223, .72);
  transition: color .3s;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: .1rem;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .55s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--cream); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }

.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__phone { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; color: var(--muted); transition: color .3s; }
.nav__phone:hover { color: var(--cream); }

.nav__toggle {
  display: none;
  align-items: center; gap: .75rem;
  height: 44px;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
}
.nav__burger { position: relative; width: 26px; height: 10px; }
.nav__burger::before, .nav__burger::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.nav__burger::before { top: 0; }
.nav__burger::after { top: 8.5px; }
.nav__toggle[aria-expanded="true"] .nav__burger::before { top: 4.25px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__burger::after { top: 4.25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: calc(var(--nav-h) + 2.5rem) var(--pad) 2rem;
  background: var(--ink);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .75s var(--ease), visibility 0s linear .75s;
  overflow-y: auto;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .75s var(--ease), visibility 0s; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list li { border-bottom: 1px solid var(--line); }
.menu__list a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .9rem 0;
  font-family: var(--f-display); font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 1; text-transform: uppercase;
}
.menu__list a span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .15em; color: var(--accent); }
.menu__foot { display: grid; gap: 1rem; }
.menu__foot .btn { width: 100%; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50;
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .85rem 1.15rem .85rem .95rem;
  border-radius: 999px;
  background: var(--cream); color: var(--ink);
  font-family: var(--f-mono); font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
  transform: translateY(160%);
  transition: transform .6s var(--ease), background-color .3s;
}
.wa-float.is-visible { transform: none; }
.wa-float { background: var(--red); color: var(--cream); }
.wa-float:hover { background: var(--cream); color: var(--ink); }
.wa-float svg { width: 20px; height: 20px; }

/* 6. HERO ------------------------------------------------------------------ */
/* Portada tipo estudio: el vehículo arriba a todo el ancho, el mensaje debajo */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.hero__stage { position: relative; flex: 1 1 auto; min-height: 56svh; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media::before { inset: 20% 14% 12% 14%; opacity: .3; }
.hero__media::after { left: auto; right: var(--pad); bottom: auto; top: calc(var(--nav-h) + 1.25rem); }
.hero__media > img, .hero__media > video { animation: kenburns 22s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__stage::after {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(17, 17, 17, .65) 0%, rgba(17, 17, 17, 0) 24%, rgba(17, 17, 17, 0) 70%, var(--ink) 100%);
}
.hero__stamp {
  position: absolute; z-index: 2; left: var(--pad); bottom: 1.5rem;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem .8rem;
  background: var(--red); color: var(--cream);
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: end;
  gap: 2rem clamp(2rem, 5vw, 5rem);
  padding-top: clamp(1.25rem, 3vh, 2.25rem);
  padding-bottom: clamp(2rem, 4.5vh, 3.25rem);
}
.hero__eyebrow { display: flex; align-items: center; gap: 1rem; color: var(--accent-hi); }
.hero__eyebrow::before { content: ""; width: 48px; height: 1px; background: currentColor; }

.hero__title {
  margin: 1.1rem 0 0;
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(2.8rem, 6.6vw, 7.4rem);
  line-height: .94;
  letter-spacing: .004em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span {
  display: block;
  transform: translateY(108%);
  transition: transform 1.3s var(--ease);
}
.hero__title .line:nth-child(2) > span { transition-delay: .14s; }
.is-loaded .hero__title .line > span { transform: none; }
.hero__title .serif {
  font-family: var(--f-serif);
  font-style: italic;
  text-transform: none;
  font-size: .92em;
  line-height: 1;
  letter-spacing: -.012em;
  color: var(--cream);
}
.hero__title .serif b { font-weight: 400; color: var(--accent-hi); }

.hero__aside { padding-bottom: .6rem; }
.hero__sub { max-width: 46ch; margin: 0; color: rgba(245, 239, 223, .84); font-size: clamp(1rem, 1.2vw, 1.12rem); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.6rem; }

.hero__bar { border-top: 1px solid var(--line); }
.hero__bar .wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding-block: 1.1rem;
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll { display: inline-flex; align-items: center; gap: .8rem; color: var(--cream); }
.hero__scroll i { position: relative; width: 1px; height: 28px; background: var(--line); overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--accent);
  animation: drip 2.2s var(--ease) infinite;
}
@keyframes drip { to { top: 100%; } }

.js .hero .fade-up { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s; }
.js .is-loaded .hero .fade-up { opacity: 1; transform: none; }

/* Cinta de valores */
.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  padding-block: 1.2rem;
}
.ticker__track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker__group { display: flex; }
.ticker__group span {
  display: flex; align-items: center; gap: 2.5rem;
  padding-right: 2.5rem;
  font-family: var(--f-display); font-size: 1.35rem; letter-spacing: .07em; text-transform: uppercase;
  white-space: nowrap;
  color: rgba(245, 239, 223, .82);
}
.ticker__group span:nth-child(even) { font-family: var(--f-serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 1.6rem; color: var(--ink); }
.ticker__group span::after { content: ""; width: 7px; height: 7px; border: 1px solid var(--cream); border-radius: 50%; }
/* Cinta roja a sangre, como franja de marca */
.ticker { background: var(--red); border-color: var(--red); }
.ticker__group span { color: var(--cream); }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* Secciones */
.section { position: relative; padding-block: clamp(5.5rem, 11vw, 10rem); }
.section--paper { background: var(--paper); color: var(--ink); isolation: isolate; }
.section--paper::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--noise); opacity: .09; mix-blend-mode: multiply;
}
.section--steel {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #151515 0%, var(--graphite) 100%);
}

/* 7. EL TALLER ------------------------------------------------------------- */
.taller__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 clamp(1rem, 2vw, 2rem);
  align-items: start;
}
.taller__visual { grid-column: 1 / span 5; position: relative; padding-bottom: 5rem; }
.taller__visual .media--big { aspect-ratio: 4 / 5; }
.taller__visual .media--small {
  position: absolute; right: -16%; bottom: 0;
  width: 56%; aspect-ratio: 1;
  outline: 10px solid var(--paper);
}
.taller__caption {
  margin-top: 1rem;
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-dark);
  max-width: 34ch;
}
.taller__copy { grid-column: 7 / span 6; }
.taller__copy .lead { margin-bottom: 2rem; color: var(--ink); }
.taller__copy p { color: var(--text-dark); max-width: 60ch; }
/* Bloque personal: retrato, cita y firma manuscrita */
.effi {
  margin: 2.75rem 0 0;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: clamp(6.5rem, 11vw, 10rem) minmax(0, 1fr);
  gap: 1.25rem clamp(1.25rem, 2.5vw, 2.25rem);
  align-items: start;
}
.effi__photo { grid-row: span 2; aspect-ratio: 4 / 5; }
.effi__photo > img { filter: grayscale(1) contrast(1.08); }
.effi__photo::after { display: none; }
.effi__quote { margin: 0; }
.effi__quote p {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem); line-height: 1.2;
  color: var(--ink);
  margin: 0;
}
.effi__cap { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.effi__sign {
  font-family: var(--f-script);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--accent-ink);
  transform: rotate(-5deg);
  transform-origin: left center;
}
.effi__cap .mono { color: var(--muted-dark); }

.principles {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--ink);
}
.principle { padding: 2rem clamp(1rem, 2.5vw, 2.5rem) 0 0; }
.principle + .principle { padding-left: clamp(1rem, 2.5vw, 2.5rem); border-left: 1px solid var(--line-dark); }
.principle__n { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .18em; color: var(--accent-ink); }
.principle h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 1.85rem; line-height: 1; margin: .9rem 0 .8rem; }
.principle p { color: var(--text-dark); font-size: .98rem; margin: 0; }

/* 8. SERVICIOS ------------------------------------------------------------- */
.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.svc { position: relative; display: flex; flex-direction: column; background: var(--ink); }
.svc::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease);
}
.svc:hover::after, .svc:focus-within::after { transform: scaleX(1); }
.svc .media { aspect-ratio: 4 / 3; }
.svc .media > img { filter: grayscale(.4) contrast(1.04) brightness(.9); }
.svc:hover .media > img { transform: scale(1.05); filter: none; }
.svc__body { display: flex; flex-direction: column; gap: .7rem; flex: 1; padding: 1.75rem 1.75rem 2rem; }
.svc__num { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .2em; color: var(--accent); }
.svc__title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.5rem, 2vw, 1.85rem); line-height: 1.02; }
.svc__text { color: var(--muted); font-size: .97rem; margin: 0; }
.svc__link { margin-top: auto; padding-top: 1.1rem; color: var(--cream); align-self: flex-start; }
.svc__link::before { content: ""; position: absolute; inset: 0; z-index: 3; }

/* 9. PROYECTOS ------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-self: end; }
.filters button {
  padding: .7rem 1.05rem;
  border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
  transition: color .3s, border-color .3s, background-color .3s;
}
.filters button:hover { color: var(--cream); border-color: rgba(245, 239, 223, .4); }
.filters button[aria-pressed="true"] { background: var(--red); color: var(--cream); border-color: var(--red); }

/* Fila horizontal de proyectos: misma altura, anchos alternos */
.prow {
  --row-h: clamp(300px, 56vh, 560px);
  --edge: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad)));
  position: relative;
}
.prow__track {
  display: flex;
  gap: clamp(1rem, 1.8vw, 1.75rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  padding: 0 var(--edge) .5rem;
  scrollbar-width: none;
  cursor: grab;
}
.prow__track::-webkit-scrollbar { display: none; }
.prow__track:focus-visible { outline-offset: -2px; }
.prow__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.prow__track.is-dragging a { pointer-events: none; }

.pcard { flex: none; scroll-snap-align: start; width: min(calc(var(--row-h) * 1.45), 84vw); }
.pcard--b { width: min(calc(var(--row-h) * .82), 72vw); }
.pcard__link { display: block; -webkit-user-drag: none; }
.pcard .media { height: var(--row-h); }
.pcard img { -webkit-user-drag: none; user-select: none; }

/* Tarjeta final de llamada a la acción */
.pcard--cta .pcard__cta {
  height: var(--row-h);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--red); color: var(--cream);
  transition: background-color .4s var(--ease);
}
.pcard--cta .pcard__cta:hover { background: var(--accent-ink); }
.pcard__cta strong { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: .92; }
.pcard__cta em { display: block; font-family: var(--f-serif); text-transform: none; font-size: 1.05em; line-height: 1; }
.pcard__cta svg { width: 44px; height: 44px; transition: transform .5s var(--ease); }
.pcard__cta:hover svg { transform: translateX(8px); }

.prow__ctrl { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.25rem; }
.prow__bar { position: relative; flex: 1; height: 1px; background: var(--line); overflow: hidden; }
.prow__bar i {
  position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleX(var(--p, .3)); transform-origin: left;
  transition: transform .25s linear;
}
.prow__count { color: var(--muted); min-width: 5.5rem; text-align: right; }
.prow__btns { display: flex; gap: .5rem; }
.prow__btn {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  transition: background-color .3s, border-color .3s, color .3s, opacity .3s;
}
.prow__btn svg { width: 20px; height: 20px; }
.prow__btn:hover:not(:disabled) { background: var(--red); border-color: var(--red); }
.prow__btn:disabled { opacity: .3; cursor: default; }
.pcard .media > img { filter: grayscale(.25) brightness(.92); }
.pcard .media::marker { content: none; }
.pcard__view {
  position: absolute; z-index: 2; left: 50%; top: 50%;
  width: 104px; height: 104px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--red); color: var(--cream);
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  transform: translate(-50%, -50%) scale(.4);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .4s var(--ease);
}
.pcard__link:hover .media > img, .pcard__link:focus-visible .media > img { transform: scale(1.045); filter: none; }
.pcard__link:hover .pcard__view, .pcard__link:focus-visible .pcard__view { transform: translate(-50%, -50%) scale(1); opacity: 1; }

.pcard__body {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: .3rem 1.25rem;
  padding-top: 1.3rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.2rem;
  position: relative;
}
.pcard__body::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease);
}
.pcard__link:hover .pcard__body::after { transform: scaleX(1); }
.pcard__num { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; color: var(--accent); }
.pcard__title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1; }
.pcard__year { font-family: var(--f-serif); font-style: italic; font-size: 1.25rem; color: var(--muted); }
.pcard__meta { grid-column: 2 / -1; margin: 0; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pgrid__empty { color: var(--muted); padding-block: 4rem; }

/* Destacado antes/después */
.feature {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem clamp(1rem, 2vw, 2rem);
  align-items: center;
  margin-top: clamp(6rem, 12vw, 10rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}
.feature__copy { grid-column: 1 / span 4; }
.feature__copy h3 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: .95; margin: 1.5rem 0 1.25rem; }
.feature__copy h3 em { font-family: var(--f-serif); text-transform: none; color: var(--accent-hi); font-size: 1.05em; }
.feature__copy p { color: var(--muted); }
.feature__ba { grid-column: 5 / -1; }
.feature__hint { margin-top: .9rem; color: var(--muted); font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; }

/* Banco de trabajo (galería de detalles) */
.bench-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin: clamp(6rem, 12vw, 10rem) 0 2.5rem; }
.bench-head h3 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: .95; }
.bench-head h3 em { font-family: var(--f-serif); text-transform: none; color: var(--accent-hi); }
.bench-head p { color: var(--muted); max-width: 40ch; margin: 0; }

.bench {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(170px, 19vw, 290px);
  grid-auto-flow: dense;
  gap: .75rem;
}
.bench li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bench li:nth-child(4) { grid-row: span 2; }
.bench li:nth-child(6) { grid-column: span 2; }
.bench__item { position: relative; display: block; width: 100%; height: 100%; text-align: left; }
.bench__item .media { position: absolute; inset: 0; }
.bench__item .media > img { filter: grayscale(.3) brightness(.9); }
.bench__item:hover .media > img, .bench__item:focus-visible .media > img { transform: scale(1.05); filter: none; }
.bench__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: end; gap: 1rem;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 6, .85));
  opacity: 0; transform: translateY(8px);
  transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.bench__cap strong { display: block; font-family: var(--f-mono); font-weight: 400; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-hi); }
.bench__cap span { font-size: .92rem; }
.bench__cap svg { width: 18px; height: 18px; flex: none; }
.bench__item:hover .bench__cap, .bench__item:focus-visible .bench__cap { opacity: 1; transform: none; }
@media (hover: none) { .bench__cap { opacity: 1; transform: none; } }

/* Visor de imágenes */
.lb {
  inset: 0; margin: 0; padding: 0; border: 0;
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  background: transparent; color: var(--cream);
  overflow: hidden;
}
.lb::backdrop { background: rgba(8, 7, 6, .95); }
.lb[open] { animation: lbIn .45s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb__fig { margin: 0; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 1rem; padding: 4.75rem var(--pad) 1.5rem; }
.lb__media { width: 100%; height: 100%; background-color: transparent; }
.lb__media > img { object-fit: contain; }
.lb__cap { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lb__cap b { color: var(--cream); font-weight: 400; }
.lb__btn {
  position: absolute; z-index: 3;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: rgba(17, 17, 17, .6);
  transition: border-color .3s, background-color .3s;
}
.lb__btn:hover { border-color: var(--cream); background: rgba(245, 239, 223, .08); }
.lb__btn svg { width: 20px; height: 20px; }
.lb__close { top: 1rem; right: var(--pad); }
.lb__prev { left: var(--pad); top: 50%; transform: translateY(-50%); }
.lb__next { right: var(--pad); top: 50%; transform: translateY(-50%); }

/* 10. PROCESO -------------------------------------------------------------- */
.process-intro {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem clamp(2rem, 6vw, 7rem); align-items: end;
}
.process-intro .plate { grid-column: 1 / -1; justify-self: start; }

.process {
  --progress: 0;
  position: relative;
  list-style: none; margin: clamp(4rem, 8vw, 6.5rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
}
.process__track { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.process__track i {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transform: scaleX(var(--progress)); transform-origin: left;
}
.step { position: relative; padding-right: clamp(.75rem, 1.8vw, 2rem); }
.step__node {
  position: relative; z-index: 1;
  display: block; width: 15px; height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(245, 239, 223, .4);
  background: var(--graphite);
  transition: background-color .5s var(--ease), border-color .5s, box-shadow .6s var(--ease);
}
.step.is-active .step__node { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 7px rgba(214, 38, 26, .18); }
.step__num {
  display: block;
  margin: 2.25rem 0 1.4rem;
  font-family: var(--f-display);
  font-size: clamp(3.6rem, 6.2vw, 6.4rem);
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 239, 223, .3);
  transition: -webkit-text-stroke-color .6s var(--ease), color .6s var(--ease);
}
.step.is-active .step__num { -webkit-text-stroke-color: var(--accent); }
.step__icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 1rem; }
.step__phase { color: var(--muted); font-size: .62rem; }
.step__title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: 1.02; margin: .55rem 0 .8rem; }
.step__text { color: var(--muted); font-size: .94rem; margin: 0; }

.process-note {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem;
  margin-top: clamp(4rem, 7vw, 6rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.process-note p { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.35rem, 2vw, 1.75rem); max-width: 40ch; }

/* Banda CTA */
.cta-band {
  position: relative;
  min-height: 84vh; min-height: 84svh;
  display: grid; place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  padding: 6rem var(--pad);
}
.cta-band .media { position: absolute; inset: 0; z-index: -2; }
.cta-band .media::before { inset: 22% 18%; opacity: .18; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(80% 80% at 50% 50%, rgba(17, 17, 17, .55), rgba(17, 17, 17, .92));
}
.cta-band__title {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(2.8rem, 7.5vw, 7.6rem); line-height: .9;
  margin: 1.75rem 0 2.5rem;
}
.cta-band__title em { display: block; font-family: var(--f-serif); text-transform: none; color: var(--accent-hi); font-size: .95em; line-height: 1.05; }

/* 11. CONTACTO ------------------------------------------------------------- */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3rem clamp(1rem, 2vw, 2rem);
  align-items: start;
}
.contact__info { grid-column: 1 / span 5; }
.contact__info .h2 { margin: 1.75rem 0 1.5rem; }
.contact__info > p { color: var(--text-dark); max-width: 46ch; }

.clist { list-style: none; margin: 2.5rem 0 0; padding: 0; border-top: 1px solid var(--ink); }
.clist li {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.clist__k { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); }
.clist__v { font-size: 1.08rem; color: var(--ink); line-height: 1.45; }
a.clist__v { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease); }
a.clist__v:hover { background-size: 100% 1px; }
.clist__sub { display: block; font-size: .9rem; color: var(--muted-dark); }

.socials { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.socials a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .85rem;
  border: 1px solid currentColor;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  opacity: .8;
  transition: opacity .3s, background-color .3s, color .3s;
}
.socials a:hover { opacity: 1; }
.contact .socials a:hover { background: var(--ink); color: var(--paper); }
.socials svg { width: 14px; height: 14px; }

.cform {
  grid-column: 7 / -1;
  position: relative;
  background: var(--bone);
  border: 1px solid var(--line-dark);
  box-shadow: 0 30px 60px -30px rgba(17, 17, 17, .3);
}
.cform__head {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1rem clamp(1.5rem, 3.5vw, 2.75rem);
  border-bottom: 1px dashed rgba(17, 17, 17, .25);
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted-dark);
}
.cform__body { padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.cform__title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1; color: var(--ink); margin-bottom: 2rem; }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.7rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.field label abbr { text-decoration: none; color: var(--accent-ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .55rem 0 .6rem;
  border: 0; border-bottom: 1px solid rgba(17, 17, 17, .3); border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit; font-size: 1.02rem;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.55; }
.field select {
  -webkit-appearance: none; appearance: none;
  padding-right: 2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%230d0c0b' stroke-width='1.3'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") right .2rem center / 12px 8px no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(17, 17, 17, .38); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #a3341a; box-shadow: 0 1px 0 0 #a3341a; }

.check { display: flex; align-items: flex-start; gap: .75rem; margin-top: 1.75rem; font-size: .9rem; color: var(--text-dark); line-height: 1.5; }
.check input { width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--ink); flex: none; }
.check a { text-decoration: underline; text-underline-offset: 3px; }

.cform__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; margin-top: 2rem; }
.cform__status { margin: 1.25rem 0 0; font-size: .92rem; color: var(--text-dark); min-height: 1.5em; }
.cform__status.is-ok { color: #2f5a2c; }
.cform__status.is-error { color: #a3341a; }
.cform__note { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px dashed rgba(17, 17, 17, .2); font-size: .88rem; color: var(--muted-dark); }
.cform__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* 12. FOOTER --------------------------------------------------------------- */
.footer { background: var(--ink); padding: clamp(4rem, 8vw, 7rem) 0 1.75rem; overflow: hidden; }
.footer__word {
  font-family: var(--f-display);
  font-size: clamp(4rem, 17.5vw, 17rem);
  line-height: .8;
  letter-spacing: .01em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 239, 223, .2);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  user-select: none;
}
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer__brand p { color: var(--muted); max-width: 34ch; margin-top: 1.25rem; font-size: .95rem; }
.footer h4 { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__grid a { color: rgba(245, 239, 223, .78); transition: color .3s; font-size: .96rem; }
.footer__grid a:hover { color: var(--cream); }
.footer__grid li span { color: var(--muted); font-size: .96rem; }
.footer .socials { display: grid; gap: .55rem; }
.footer .socials a { border: 0; padding: 0; font-family: var(--f-body); font-size: .96rem; letter-spacing: 0; text-transform: none; opacity: 1; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.5rem;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__bottom a:hover { color: var(--cream); }

/* 13. FICHA DE PROYECTO ---------------------------------------------------- */
.phero {
  position: relative;
  min-height: 88vh; min-height: 88svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate;
}
.phero > .media { position: absolute; inset: 0; z-index: -2; }
.phero > .media::before { inset: 18% 8% 30% 30%; }
.phero > .media::after { left: auto; right: var(--pad); bottom: auto; top: calc(var(--nav-h) + 1.25rem); }
.phero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17, 17, 17, .65) 0%, rgba(17, 17, 17, .1) 30%, rgba(17, 17, 17, .45) 65%, rgba(17, 17, 17, .97) 100%);
}
.phero__content { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: clamp(2.5rem, 6vh, 4rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .6rem; color: var(--muted); }
.crumbs a:hover { color: var(--cream); }
.phero__title {
  margin: 1.5rem 0 .5rem;
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(3rem, 8.6vw, 8.6rem); line-height: .9;
}
.phero__sub { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.5rem, 2.8vw, 2.5rem); color: var(--accent-hi); line-height: 1.1; margin: 0; }
.phero__meta { display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: center; margin-top: 2rem; color: var(--muted); }

.pintro {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3rem clamp(1rem, 2vw, 2rem);
  align-items: start;
}
.spec { grid-column: 1 / span 5; border: 1px solid var(--line); background: rgba(17, 17, 17, .4); position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.spec__head {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.spec dl { margin: 0; }
.spec__row { display: grid; grid-template-columns: 42% 1fr; border-bottom: 1px solid var(--line); }
.spec__row:last-child { border-bottom: 0; }
.spec dt, .spec dd { padding: .95rem 1.25rem; margin: 0; }
.spec dt { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--line); }
.spec dd { font-size: .98rem; }

.pstory { grid-column: 7 / -1; }
.pstory .lead { margin: 1.75rem 0 1.75rem; }
.pstory p { color: rgba(245, 239, 223, .8); max-width: 62ch; }

.pba { margin-top: clamp(5rem, 10vw, 8rem); }
.pba__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.pba__head h2, .pstages__head h2, .pgal__head h2 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(2rem, 4vw, 3.6rem); line-height: .95; margin-top: 1.25rem; }
.pba__head h2 em, .pstages__head h2 em, .pgal__head h2 em { font-family: var(--f-serif); text-transform: none; color: var(--accent-hi); }

.pstages__head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.stage {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem clamp(1rem, 2vw, 2rem);
  align-items: center;
}
.stage + .stage { margin-top: clamp(4rem, 8vw, 7rem); }
.stage .media { grid-column: 1 / span 7; aspect-ratio: 3 / 2; }
.stage__copy { grid-column: 9 / -1; }
.stage:nth-of-type(even) .media { grid-column: 6 / -1; grid-row: 1; }
.stage:nth-of-type(even) .stage__copy { grid-column: 1 / span 4; grid-row: 1; }
.stage__n { font-family: var(--f-display); font-size: 4.5rem; line-height: .85; color: transparent; -webkit-text-stroke: 1px var(--accent); display: block; margin-bottom: 1.25rem; }
.stage__copy h3 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; margin-bottom: 1rem; }
.stage__copy p { color: var(--muted); }

.pgal__head { margin-bottom: 2.5rem; }

.pnext {
  position: relative; display: block;
  min-height: 70vh;
  overflow: hidden; isolation: isolate;
}
.pnext .media { position: absolute; inset: 0; z-index: -2; }
.pnext .media > img { filter: grayscale(.5) brightness(.75); }
.pnext:hover .media > img { transform: scale(1.04); filter: none; }
.pnext::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17, 17, 17, .3), rgba(17, 17, 17, .9)); }
.pnext__inner { position: absolute; inset: auto 0 0; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.pnext__title {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  margin-top: 1rem;
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 7rem); line-height: .9;
}
.pnext__title svg { width: clamp(40px, 6vw, 90px); height: auto; flex: none; transition: transform .6s var(--ease); }
.pnext:hover .pnext__title svg { transform: translateX(12px); }

.p404 { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 8rem var(--pad) 4rem; }
.p404 h1 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(2.5rem, 6vw, 5rem); margin: 1.5rem 0 1rem; }
.p404 p { color: var(--muted); }

/* 14. RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav__phone { display: none; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step__text { font-size: .9rem; }
}

@media (max-width: 980px) {
  :root { --nav-h: 68px; }
  .nav__links, .nav__actions .btn { display: none; }
  .nav__toggle { display: inline-flex; }

  .hero__content { grid-template-columns: 1fr; }
  .hero__stage { min-height: 46svh; }

  .sec-head--split, .process-intro { grid-template-columns: 1fr; }
  .filters { justify-self: start; }

  .taller__visual { grid-column: 1 / -1; padding-bottom: 0; margin-bottom: 4rem; }
  .taller__visual .media--big { aspect-ratio: 4 / 3; }
  .taller__visual .media--small { position: relative; right: auto; width: 46%; margin: -18% 0 0 auto; outline-width: 8px; }
  .taller__copy { grid-column: 1 / -1; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 1.75rem 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }

  .prow { --row-h: clamp(280px, 48vh, 440px); }
  .prow__count { display: none; }

  .feature__copy, .feature__ba { grid-column: 1 / -1; }
  .bench-head { flex-direction: column; align-items: start; }
  .bench { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 34vw, 260px); }
  .bench li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .bench li:nth-child(4) { grid-row: span 2; }
  .bench li:nth-child(6) { grid-column: span 2; }

  .process { grid-template-columns: 1fr; padding-left: 2.75rem; }
  .process__track { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .process__track i { transform: scaleY(var(--progress)); transform-origin: top; }
  .step { padding: 0 0 3rem; display: grid; grid-template-columns: auto 1fr; column-gap: 1.5rem; }
  .step__node { position: absolute; left: -2.75rem; top: .4rem; }
  .step__num { margin: 0; grid-row: span 4; font-size: 3.8rem; }
  .step__icon { display: none; }
  .step__title { margin-top: .35rem; }

  .contact__info, .cform { grid-column: 1 / -1; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .spec { grid-column: 1 / -1; position: static; }
  .pstory { grid-column: 1 / -1; }
  .stage .media, .stage:nth-of-type(even) .media { grid-column: 1 / -1; grid-row: auto; }
  .stage__copy, .stage:nth-of-type(even) .stage__copy { grid-column: 1 / -1; grid-row: auto; }
  .pba__head { flex-direction: column; align-items: start; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__bar .wrap span:nth-child(2) { display: none; }
  .services { grid-template-columns: 1fr; }
  .cform__grid { grid-template-columns: 1fr; }
  .cform__actions .btn { flex: 1 1 100%; }
  .clist li { grid-template-columns: 1fr; gap: .2rem; }
  .ba { aspect-ratio: 4 / 3.4; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { padding: .95rem; }
  .wa-float span { display: none; }
  .pcard__body { grid-template-columns: auto 1fr; }
  .pcard__year { display: none; }
  .logo__sub { display: none; }
  .step__num { font-size: 3rem; }
}

/* 15. MOVIMIENTO REDUCIDO -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal, .js .hero .fade-up { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
}
