/* ===== Origen Creactivo Industrial — "plano de ingeniería" ===== */
:root {
  --ink: #0e0f10;
  --steel: #16181a;
  --line: #2c2f33;
  --metal: #8b9096;
  --metal-2: #b9bdc2;
  --paper: #f1efea;
  --paper-2: #e6e3dc;
  --paper-line: #d3cfc6;
  --yellow: #ffc400;
  --yellow-ink: #1a1400;
  --f-display: "Archivo", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.dark { background: var(--ink); color: var(--paper); }
.paper { background: var(--paper); color: var(--ink); }

/* ---------- tipografía utilitaria ---------- */
.spec, .tag, .kicker, .f span, .chips li, .filtro, .ficha__code {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.kicker { display: flex; align-items: center; gap: 12px; color: var(--metal); margin-bottom: 22px; }
.kicker span { color: var(--ink); background: var(--yellow); padding: 2px 7px; font-weight: 500; }
.h2 {
  font-size: clamp(36px, 6.2vw, 92px);
  line-height: .95;
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  letter-spacing: -.025em;
}
.h2 mark { background: none; color: inherit; box-shadow: inset 0 -.16em 0 var(--yellow); }
.sec-head { margin-bottom: clamp(40px, 7vw, 88px); }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec-head__note { max-width: 360px; color: var(--metal-2); }

section { position: relative; padding: clamp(84px, 12vw, 168px) 0; }

/* ---------- botones ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 26px;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bd);
  font-family: var(--f-display); font-weight: 650; font-size: 15px;
  font-variation-settings: "wdth" 108;
  letter-spacing: .01em;
  text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill, var(--paper));
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: none; }
.btn span { transition: transform .35s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--yellow { --bg: var(--yellow); --fg: var(--ink); --bd: var(--yellow); --fill: var(--paper); }
.btn--yellow:hover { border-color: var(--paper); }
.btn--ghost { --fg: var(--paper); --bd: #4a4e54; --fill: var(--paper); }
.btn--ghost:hover { color: var(--ink); border-color: var(--paper); }
.btn--dark { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); --fill: var(--yellow); }
.btn--dark:hover { color: var(--ink); }
.btn--sm { padding: 11px 18px; font-size: 13.5px; }

/* ---------- navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gut);
  color: var(--paper);
  transition: background .4s, transform .5s var(--ease), padding .4s;
}
.nav.is-solid { background: rgba(14, 15, 16, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding-top: 10px; padding-bottom: 10px; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.nav__brand img { width: 26px; height: auto; }
.nav__word { font-weight: 850; font-size: 17px; letter-spacing: .06em; font-variation-settings: "wdth" 125; line-height: 1; }
.nav__word small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--metal); margin-top: 4px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { text-decoration: none; font-size: 14px; color: var(--metal-2); position: relative; padding: 4px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--paper); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--paper); transition: transform .35s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 90px var(--gut) 40px;
}
.menu[hidden] { display: none; }
.menu a { text-decoration: none; font-size: clamp(34px, 9vw, 56px); font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -.02em; border-bottom: 1px solid var(--line); padding: 8px 0; }
.menu .menu__cta { color: var(--yellow); border: 0; margin-top: 18px; font-size: 22px; }

/* ---------- HERO ---------- */
.hero { min-height: 100svh; padding: 118px 0 0; display: flex; flex-direction: column; overflow: hidden; }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--steel) 1px, transparent 1px),
    linear-gradient(90deg, var(--steel) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; flex: 1; padding-bottom: clamp(190px, 26vh, 380px); }
.tag { display: inline-flex; align-items: center; gap: 10px; color: var(--metal-2); border: 1px solid var(--line); padding: 8px 14px; margin-bottom: 34px; }
.dot { width: 7px; height: 7px; background: var(--yellow); border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 196, 0, .15); }
.hero__title {
  font-size: clamp(34px, 5.8vw, 100px);
  line-height: .92;
  font-weight: 850;
  font-variation-settings: "wdth" 108;
  letter-spacing: -.035em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; color: var(--yellow); }
.hero__lead { max-width: 560px; margin-top: 30px; font-size: clamp(17px, 1.4vw, 19px); color: var(--metal-2); }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

/* ciudad industrial */
.city-wrap { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(280px, 50vh, 560px); pointer-events: none; }
.city-wrap::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--ink) 0%, rgba(14,15,16,.55) 22%, transparent 48%); }
.city { width: 100%; height: 100%; display: block; }
.city .l, .city .t, .city .y { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.city .l { stroke: #737a82; stroke-width: 1.6; }
.city .t { stroke: #3a3f45; stroke-width: 1; }
.city .dash { stroke-dasharray: 14 12; }
.city .y { stroke: var(--yellow); stroke-width: 2; }
.city .y-fill, .city .blink { fill: var(--yellow); }
.city .wheel { fill: var(--ink); }
.city .puff { fill: #5b6168; opacity: 0; transform-box: fill-box; transform-origin: center; animation: puff 7s linear infinite; filter: blur(1.5px); }
.city .p2 { animation-delay: 2.3s; } .city .p3 { animation-delay: 4.6s; }
.city .p4 { animation-delay: 1.1s; } .city .p5 { animation-delay: 4.2s; }
@keyframes puff { 0% { opacity: 0; transform: translate(0,0) scale(.6); } 12% { opacity: .55; } 100% { opacity: 0; transform: translate(34px,-120px) scale(3.4); } }
.city .blink { animation: blink 2.4s steps(1) infinite; }
.city .b2 { animation-delay: .8s; } .city .b3 { animation-delay: 1.6s; }
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .15; } }
.city .gancho { animation: gancho 9s ease-in-out infinite; }
@keyframes gancho { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(70px); } }
.city .truck { animation: truck 26s linear infinite; }
@keyframes truck { from { transform: translateX(-200px); } to { transform: translateX(1640px); } }
.city .mixer { animation: mixer 34s linear infinite; animation-delay: -12s; }
@keyframes mixer { from { transform: translateX(1640px); } to { transform: translateX(-200px); } }

/* ---------- marquee ---------- */
.marquee { background: var(--yellow); color: var(--ink); overflow: hidden; padding: 16px 0; border-block: 1px solid var(--ink); }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-weight: 800; font-size: clamp(18px, 2vw, 26px); font-variation-settings: "wdth" 120; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.marquee i { font-style: normal; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- EMPRESA ---------- */
.empresa__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.empresa__text p { color: #4a4d52; max-width: 520px; }
.empresa__text .big { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.35; color: var(--ink); margin-bottom: 22px; font-weight: 500; }
.valores { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.valor { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--paper-line); }
.valor svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.valor svg :last-child { stroke: #b38900; }
.valor h3 { font-size: 21px; font-weight: 750; font-variation-settings: "wdth" 110; margin-bottom: 6px; letter-spacing: -.01em; }
.valor p { color: #55595e; font-size: 16px; }

/* ---------- SERVICIOS (acordeón) ---------- */
.srv { border-top: 1px solid var(--line); }
.srv__item { border-bottom: 1px solid var(--line); }
.srv__head { width: 100%; display: grid; grid-template-columns: 80px 1fr 44px; align-items: center; gap: 16px; padding: clamp(22px, 2.6vw, 34px) 0; text-align: left; }
.srv__n { font-family: var(--f-mono); font-size: 13px; color: var(--metal); transition: color .3s; }
.srv__head h3 { font-size: clamp(22px, 3.2vw, 46px); font-weight: 750; font-variation-settings: "wdth" 110; letter-spacing: -.02em; line-height: 1.05; transition: transform .5s var(--ease), color .3s; }
.srv__plus { width: 44px; height: 44px; border: 1.5px solid #3b3f44; position: relative; transition: background .3s, border-color .3s, transform .5s var(--ease); }
.srv__plus::before, .srv__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.srv__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.srv__head:hover h3 { color: #fff; }
.srv__head:hover .srv__n, .srv__item.is-open .srv__n { color: var(--yellow); }
.srv__item.is-open .srv__plus { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.srv__item.is-open .srv__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.srv__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.srv__item.is-open .srv__body { grid-template-rows: 1fr; }
.srv__body-in { overflow: hidden; display: grid; grid-template-columns: 80px 1fr 1fr; gap: 16px 32px; }
.srv__body-in > p { grid-column: 2; color: var(--metal-2); max-width: 520px; padding-bottom: 8px; }
.srv__body-in .chips { grid-column: 2; align-self: start; }
.srv__body-in .ph { grid-column: 3; grid-row: 1 / span 2; margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chips li { border: 1px solid #3b3f44; padding: 7px 11px; color: var(--metal-2); font-size: 11px; }

/* ---------- placeholders de foto ---------- */
.ph {
  position: relative; aspect-ratio: 4 / 3; width: 100%;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(139, 144, 150, .08) 14px 15px),
    var(--steel);
  border: 1px solid var(--line);
  overflow: hidden;
}
.ph--wide { aspect-ratio: 16 / 9; }
.ph::before {
  content: attr(data-label);
  position: absolute; left: 14px; bottom: 12px; right: 14px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--metal);
}
.ph::after {
  content: ""; position: absolute; inset: 12px;
  background:
    linear-gradient(var(--metal), var(--metal)) left top / 14px 1px,
    linear-gradient(var(--metal), var(--metal)) left top / 1px 14px,
    linear-gradient(var(--metal), var(--metal)) right top / 14px 1px,
    linear-gradient(var(--metal), var(--metal)) right top / 1px 14px,
    linear-gradient(var(--metal), var(--metal)) right bottom / 14px 1px,
    linear-gradient(var(--metal), var(--metal)) right bottom / 1px 14px;
  background-repeat: no-repeat; opacity: .6;
}
.ph img, .ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- CAPACIDADES (ficha) ---------- */
.ficha { border: 1.5px solid var(--ink); }
.ficha__row { display: grid; grid-template-columns: 120px minmax(180px, 1fr) 2fr; gap: 24px; align-items: baseline; padding: 26px 28px; border-bottom: 1px solid var(--paper-line); transition: background .35s; position: relative; }
.ficha__row:last-child { border-bottom: 0; }
.ficha__row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--yellow); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.ficha__row:hover { background: var(--paper-2); }
.ficha__row:hover::before { transform: scaleY(1); }
.ficha__code { color: #6c7076; }
.ficha h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 750; font-variation-settings: "wdth" 110; letter-spacing: -.01em; }
.ficha p { color: #4a4d52; }

/* ---------- PROYECTOS ---------- */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; }
.filtro { padding: 10px 14px; border: 1px solid #3b3f44; color: var(--metal-2); transition: background .3s, color .3s, border-color .3s; }
.filtro:hover { border-color: var(--paper); color: var(--paper); }
.filtro.is-on { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); grid-auto-flow: dense; }
.obra { cursor: default; }
.obra--tall { grid-row: span 2; }
.obra--tall .ph { aspect-ratio: auto; height: calc(100% - 92px); min-height: 360px; }
.obra--wide { grid-column: span 2; }
.obra--wide .ph { aspect-ratio: 16 / 7.6; }
.obra .ph { transition: transform .8s var(--ease); }
.obra figcaption { padding-top: 16px; min-height: 92px; }
.obra .spec { color: var(--yellow); }
.obra h3 { font-size: 19px; font-weight: 650; font-variation-settings: "wdth" 105; line-height: 1.25; margin-top: 6px; }
.obra.is-out { display: none; }

/* ---------- SECTORES ---------- */
.sect { border-top: 1.5px solid var(--ink); }
.sect li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: clamp(16px, 2vw, 26px) 0; border-bottom: 1px solid var(--paper-line); position: relative; isolation: isolate; }
.sect li::before { content: ""; position: absolute; inset: 0 calc(var(--gut) * -1); background: var(--yellow); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.sect li:hover::before { transform: scaleY(1); }
.sect span { font-size: clamp(26px, 4.4vw, 64px); font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -.025em; line-height: 1; }
.sect em { font-style: normal; font-family: var(--f-mono); font-size: 12.5px; max-width: 300px; letter-spacing: .08em; text-transform: uppercase; color: #6c7076; text-align: right; }
.sect li:hover em { color: var(--ink); }

/* ---------- PROCESO ---------- */
.pasos { position: relative; }
.pasos__line { position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: var(--line); }
.pasos__line span { position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.pasos ol { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; }
.pasos b { display: grid; place-items: center; width: 40px; height: 40px; background: var(--ink); border: 1.5px solid #4a4e54; font-family: var(--f-mono); font-weight: 500; font-size: 13px; margin-bottom: 26px; transition: background .4s, color .4s, border-color .4s; }
.pasos li.is-on b { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.pasos h3 { font-size: 22px; font-weight: 750; font-variation-settings: "wdth" 110; margin-bottom: 8px; }
.pasos p { color: var(--metal); font-size: 15px; }

/* ---------- CONTACTO ---------- */
.contacto__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contacto__side > p { color: #4a4d52; margin-top: 26px; max-width: 420px; }
.contacto__datos { margin-top: 40px; border-top: 1px solid var(--paper-line); }
.contacto__datos li { display: grid; grid-template-columns: 110px 1fr; padding: 14px 0; border-bottom: 1px solid var(--paper-line); font-weight: 600; }
.contacto__datos .spec { color: #6c7076; font-weight: 400; }
.pend { font-family: var(--f-mono); font-size: 12px; background: var(--paper-2); padding: 2px 8px; justify-self: start; color: #6c7076; }

.form { background: #fff; border: 1.5px solid var(--ink); padding: clamp(22px, 3.4vw, 44px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.f { display: flex; flex-direction: column; gap: 8px; }
.f--full { grid-column: 1 / -1; }
.f span { color: #55595e; font-size: 11px; }
.f input, .f select, .f textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--paper-line); border-radius: 0;
  padding: 13px 14px; width: 100%;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.f textarea { resize: vertical; min-height: 130px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: inset 3px 0 0 var(--yellow); }
.f.is-bad input, .f.is-bad select, .f.is-bad textarea { border-color: #c2410c; }
.f--file input { padding: 18px 14px; border-style: dashed; cursor: pointer; font-size: 14px; }
.f__hint { font-style: normal; font-size: 13px; color: #6c7076; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.form__msg { font-size: 15px; font-weight: 600; }
.form__msg.ok { color: #166534; }
.form__msg.err { color: #b91c1c; }
.form.is-sending button { opacity: .6; pointer-events: none; }

/* ---------- FOOTER ---------- */
.foot { padding: 64px 0 40px; border-top: 1px solid var(--line); }
.foot__inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 40px; align-items: end; }
.foot__brand { display: flex; gap: 20px; align-items: flex-end; }
.foot__brand img { width: 46px; height: auto; }
.foot__brand p { color: var(--metal); font-size: 14px; max-width: 360px; }
.foot__brand b { color: var(--paper); font-variation-settings: "wdth" 115; }
.foot__nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot__nav a { color: var(--metal-2); text-decoration: none; font-size: 14px; }
.foot__nav a:hover { color: var(--yellow); }
.foot__copy { color: var(--metal); }

/* ---------- WhatsApp ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 58px; height: 58px; border-radius: 50%; background: #1fa855; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .3s var(--ease); }
.wa:hover { transform: scale(1.07); }
.wa svg { width: 28px; fill: #fff; }
.wa[hidden] { display: none; }

/* ---------- estados de animación (solo con JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .pasos ol { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .pasos__line { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { padding-top: 112px; }
  .city-wrap { height: 300px; }
  .hero__inner { padding-bottom: 250px; }
  .empresa__grid, .contacto__grid { grid-template-columns: 1fr; }
  .srv__head { grid-template-columns: 44px 1fr 40px; gap: 12px; }
  .srv__plus { width: 40px; height: 40px; }
  .srv__body-in { grid-template-columns: 1fr; padding-left: 56px; }
  .srv__body-in > p, .srv__body-in .chips, .srv__body-in .ph { grid-column: 1; grid-row: auto; }
  .srv__body-in .chips { margin-bottom: 18px; }
  .ficha__row { grid-template-columns: 1fr; gap: 6px; padding: 22px 20px; }
  .galeria { grid-template-columns: 1fr 1fr; }
  .obra--wide { grid-column: span 2; }
  .obra--tall { grid-row: auto; }
  .obra--tall .ph { height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .sect li { flex-direction: column; gap: 6px; }
  .sect em { text-align: left; }
  .foot__inner { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 600px) {
  .nav__cta { display: none; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .form__grid { grid-template-columns: 1fr; }
  .galeria { grid-template-columns: 1fr; }
  .obra--wide { grid-column: auto; }
  .obra--wide .ph { aspect-ratio: 4 / 3; }
  .pasos ol { grid-template-columns: 1fr 1fr; gap: 36px 18px; }
  .srv__body-in { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track, .city * { animation: none !important; }
  .city .puff { opacity: 0; }
}

.contacto__datos a { text-decoration: none; border-bottom: 1px solid var(--paper-line); transition: border-color .3s; justify-self: start; }
.contacto__datos a:hover { border-color: var(--yellow); }

/* ---------- CLIENTES ---------- */
.clientes { padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cli { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); padding-top: 26px; padding-bottom: 26px; }
.cli__label { color: var(--metal); line-height: 1.6; font-size: 11px; flex: none; padding-right: clamp(28px, 4vw, 64px); border-right: 1px solid var(--line); }
.cli__list { display: flex; align-items: center; gap: clamp(32px, 5vw, 80px); flex-wrap: wrap; }
.cli__item { display: flex; align-items: center; gap: 18px; opacity: .62; transition: opacity .4s; }
.cli__item:hover { opacity: 1; }
.cli__item img { height: 34px; width: auto; }
.cli__item img[src*=femsa] { height: 40px; }
.cli__where { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--metal-2); max-width: 220px; line-height: 1.5; }
@media (max-width: 860px) {
  .cli { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cli__label { border-right: 0; padding-right: 0; }
  .cli__label br { display: none; }
  .cli__list { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ciudad v2: piezas sólidas, cerro al fondo */
.city .s { fill: var(--ink); }
.city .m { fill: none; stroke: #2a2e33; stroke-width: 1.4; }
.city .m2 { fill: none; stroke: #202327; stroke-width: 1; }

/* ---------- pantalla de carga ---------- */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--ink); display: none; place-items: center; }
.js .loader { display: grid; }
.cargado .loader { display: none; }
.loader::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--steel) 1px, transparent 1px), linear-gradient(90deg, var(--steel) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 60%);
}
.loader__in { position: relative; width: min(280px, 70vw); display: flex; flex-direction: column; align-items: center; }
.loader__logo { width: 112px; height: auto; margin-bottom: 40px; overflow: visible; }
.loader__bar { width: 100%; height: 2px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.loader__meta { width: 100%; display: flex; justify-content: space-between; margin-top: 14px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--metal); }
.loader__meta #loaderPct { color: var(--paper); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .js .loader { display: none; } }

/* ---------- casilla de privacidad ---------- */
.f--check { flex-direction: row; align-items: flex-start; gap: 12px; cursor: pointer; }
.f--check input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--ink); padding: 0; cursor: pointer; }
.f--check span { font-family: var(--f-display); font-size: 14.5px; letter-spacing: 0; text-transform: none; color: #3d4045; line-height: 1.45; }
.f--check a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.f--check.is-bad span { color: #b91c1c; }

/* ---------- página legal ---------- */
.legal-page .nav { position: sticky; }
.legal { padding: clamp(56px, 8vw, 110px) 0; }
.legal__wrap { max-width: 860px; }
.legal .h2 { font-size: clamp(40px, 6vw, 76px); }
.legal__date { color: #6c7076; margin: 18px 0 clamp(36px, 5vw, 60px); }
.legal section { padding: 28px 0; border-top: 1px solid var(--paper-line); }
.legal h2 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 750; font-variation-settings: "wdth" 110; letter-spacing: -.01em; margin-bottom: 14px; }
.legal p, .legal li { color: #3d4045; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: none; margin: 12px 0; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--yellow); }
.legal a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal__back { margin-top: 36px; }

/* ---------- transición entre páginas ---------- */
.curtain { position: fixed; inset: 0; z-index: 400; background: var(--ink); pointer-events: all; }
.curtain::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--yellow); }

/* ---------- página legal: refuerzo de espaciados ---------- */
.legal-page .legal section { padding: 30px 0; }
.legal-page .legal p, .legal-page .legal li { font-size: 17px; line-height: 1.65; }
@media (max-width: 600px) {
  .legal-page .nav .btn { padding: 9px 12px; font-size: 12.5px; }
  .legal-page .legal p, .legal-page .legal li { font-size: 16px; }
}
