/* ==========================================================================
   INMTEC — Variante A "ACERO" · Autoridad Oscura + Presencia Bold
   Director de arte: fuerza industrial, poder, solidez.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Fondo / superficies (navy casi negro cálido, nunca #000) */
  --bg:        #10151c;
  --surface-1: #151b24;
  --surface-2: #1b2330;
  --surface-3: #222c3c;

  /* Tinta (off-white cálido, nunca #fff puro) */
  --ink:       #eef0f2;
  --muted:     #9aa4b0;
  --faint:     #5c6672;

  /* Acento ÚNICO — ámbar seguridad */
  --accent:      #ff7a1a;
  --accent-soft: #ff9445;
  --accent-tint: rgba(255,122,26,.12);

  /* Azul de marca (apoyo frío para gradientes de acero) */
  --steel-1: #2e4a6b;
  --steel-2: #3d6899;
  --navy:    #1b2a41;

  /* Hairlines / bordes */
  --line:        rgba(154,164,176,.14);
  --line-strong: rgba(154,164,176,.28);

  /* Gradientes de acero */
  --grad-steel: linear-gradient(135deg, #1b2a41 0%, #223650 42%, #2e4a6b 100%);
  --grad-steel-soft: linear-gradient(150deg, #151b24 0%, #1b2330 60%, #22344c 100%);

  /* Sombras sutiles */
  --shadow-sm: 0 2px 10px rgba(0,0,0,.35);
  --shadow-md: 0 18px 45px -20px rgba(0,0,0,.7);
  --shadow-accent: 0 12px 30px -12px rgba(255,122,26,.45);

  /* Easings (cubic-bezier siempre, nunca ease) */
  --e-out:  cubic-bezier(.16,.84,.34,1);
  --e-in-out: cubic-bezier(.65,.05,.36,1);
  --e-spring: cubic-bezier(.34,1.56,.64,1);

  /* Ritmo */
  --pad-x: clamp(1.25rem, 5vw, 6rem);
  --section-y: clamp(5rem, 10vw, 9rem);
  --radius: 4px;
  --nav-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: clamp(1rem, .55vw + .9rem, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Film grain / ruido sutil (SVG data-uri, decorativo) ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Tipografía display
   ========================================================================== */
.hero__title, .section__title, .cta-band__title, .footer__wordmark,
.stat__num, .step__num, .card__idx, .section__idx, .project__cap strong {
  font-family: "Oswald", "Inter", sans-serif;
}

/* ==========================================================================
   Botones
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .85em 1.6em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .5s var(--e-out), background-color .4s var(--e-out),
              box-shadow .5s var(--e-out), color .4s var(--e-out), border-color .4s var(--e-out);
  will-change: transform;
}
.btn--lg { padding: 1.05em 2em; font-size: .88rem; }
.btn--block { width: 100%; }

.btn--accent {
  background: var(--accent);
  color: #140a02;
  box-shadow: var(--shadow-accent);
}
.btn--accent:hover {
  background: var(--accent-soft);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -12px rgba(255,122,26,.6);
}
.btn--accent:active { transform: translateY(-1px); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color .5s var(--e-out), backdrop-filter .5s var(--e-out),
              border-color .5s var(--e-out), height .4s var(--e-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  height: 68px;
  background: rgba(16,21,28,.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: 100%;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__brand { display: flex; align-items: center; }
.nav__logo {
  height: 42px;
  width: auto;
  border-radius: 3px;
  transition: transform .5s var(--e-out);
}
.nav__brand:hover .nav__logo { transform: scale(1.04); }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.4rem);
  margin-left: auto;
}
.nav__links > a:not(.btn) {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted);
  position: relative;
  padding: .25rem 0;
  transition: color .35s var(--e-out);
}
.nav__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--e-out);
}
.nav__links > a:not(.btn):hover { color: var(--ink); }
.nav__links > a:not(.btn):hover::after { transform: scaleX(1); }

.nav__cta { margin-left: clamp(1rem, 2vw, 2rem); }
.nav__cta-mobile { display: none; }

/* Hamburguesa */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  z-index: 60;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .45s var(--e-out), opacity .3s var(--e-out);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: var(--nav-h) var(--pad-x) clamp(2.5rem, 6vh, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* tipografía bottom-aligned */
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(46,74,107,.35), transparent 55%),
    var(--bg);
}
.hero::before { /* velo cálido inferior */
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 40%, rgba(16,21,28,.7) 100%);
}
.hero__truss {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  height: 62%;
  z-index: -2;
  opacity: .5;
}
.hero__truss .truss__lines * {
  fill: none;
  stroke: var(--steel-2);
  stroke-width: 1.25;
  opacity: .5;
}
.hero__truss .truss__lines polyline {
  stroke: var(--accent);
  opacity: .28;
  stroke-width: 1.5;
}

.hero__inner { max-width: 1180px; width: 100%; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(1.4rem, 3vh, 2.4rem);
}
.dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,122,26,.55);
  animation: pulse 2.4s var(--e-in-out) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,122,26,.5); }
  70%  { box-shadow: 0 0 0 12px rgba(255,122,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,122,26,0); }
}

.hero__title {
  font-weight: 700;
  font-size: clamp(2.8rem, 9vw, 9rem);
  line-height: .9;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-bottom: clamp(2rem, 5vh, 3.2rem);
}
.hero__title span { display: block; }
.hero__title em {
  font-style: normal;
  color: var(--accent);
  -webkit-text-stroke: 0;
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(1.6rem, 3vh, 2.4rem);
}
.hero__sub {
  max-width: 42ch;
  color: var(--muted);
  font-size: clamp(1rem, .5vw + .95rem, 1.2rem);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__scroll {
  position: absolute;
  right: var(--pad-x);
  top: 50%;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--faint);
}
@media (max-width: 900px) { .hero__scroll { display: none; } }

/* ==========================================================================
   Stats / trust bar
   ========================================================================== */
.stats {
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--pad-x);
  background: var(--grad-steel);
  border-block: 1px solid var(--line-strong);
  position: relative;
  z-index: 2;
}
.stats__grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
}
.stat__num {
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
}
.stat__label {
  font-size: .82rem;
  color: rgba(238,240,242,.72);
  letter-spacing: .02em;
}

/* ==========================================================================
   Secciones genéricas
   ========================================================================== */
.section { padding: var(--section-y) var(--pad-x); position: relative; z-index: 2; }
.section__head {
  max-width: 1240px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section__kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.section__idx {
  font-size: .8rem;
  color: var(--faint);
  font-weight: 500;
  letter-spacing: 0;
}
.section__title {
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3.5rem);
  line-height: .98;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

/* ---------- Servicios ---------- */
.services__grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.card {
  position: relative;
  padding: clamp(1.6rem, 2.5vw, 2.2rem);
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .6s var(--e-out), border-color .5s var(--e-out),
              background-color .5s var(--e-out);
  will-change: transform;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-steel-soft);
  opacity: 0;
  transition: opacity .6s var(--e-out);
  z-index: 0;
}
.card > * { position: relative; z-index: 1; }
.card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
}
.card:hover::before { opacity: 1; }
.card__idx {
  font-size: .8rem;
  color: var(--faint);
  letter-spacing: .1em;
  font-weight: 500;
}
.card__icon {
  width: 44px; height: 44px;
  margin: 1.4rem 0 1.5rem;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .6s var(--e-spring);
}
.card:hover .card__icon { transform: translateY(-4px) scale(1.06); }
.card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .55rem;
  letter-spacing: -.01em;
}
.card__text { color: var(--muted); font-size: .95rem; }

/* ---------- Misión & Visión (asimétrico) ---------- */
.mv__grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr; /* asimetría */
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
}
.mv__col {
  padding: clamp(2rem, 3.5vw, 3.2rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.mv__col--mission {
  background: var(--grad-steel);
  border-color: var(--line-strong);
}
.mv__col--vision {
  background: var(--surface-1);
  display: flex;
  flex-direction: column;
}
.mv__text {
  font-size: clamp(1rem, .6vw + .95rem, 1.28rem);
  line-height: 1.55;
  color: var(--ink);
  max-width: 60ch;
}
.mv__col--mission .mv__text { font-weight: 500; }
.mv__blueprint {
  margin-top: auto;
  width: 180px;
  height: auto;
  align-self: flex-end;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .55;
}
.mv__blueprint circle { fill: var(--accent); stroke: none; }

/* ---------- Valores (marquee) ---------- */
.values {
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  position: relative;
  z-index: 2;
}
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: clamp(1.2rem, 2.5vw, 1.8rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee__track span {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: clamp(1.4rem, 3.5vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__track .sep { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

.values__list { display: none; } /* fallback listado semántico si no hay marquee */

/* ---------- Proceso ---------- */
.process__steps {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  padding: clamp(1.6rem, 2.5vw, 2.2rem) 0 0;
  border-top: 2px solid var(--line-strong);
  position: relative;
  transition: border-color .5s var(--e-out);
}
.step:hover { border-top-color: var(--accent); }
.step__num {
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--surface-3);
  -webkit-text-stroke: 1px var(--line-strong);
  transition: color .5s var(--e-out), -webkit-text-stroke-color .5s var(--e-out);
  display: block;
  margin-bottom: 1.1rem;
}
.step:hover .step__num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step__title { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.step__text { color: var(--muted); font-size: .95rem; }

/* ---------- Proyectos ---------- */
.projects__grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 1.25rem;
}
.project { position: relative; overflow: hidden; border-radius: var(--radius); }
.project--wide { grid-column: span 2; }
.project__ph {
  position: relative;
  height: 100%;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(46,74,107,.16) 0 2px, transparent 2px 22px),
    var(--grad-steel);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  transition: transform .7s var(--e-out);
  will-change: transform;
}
.project:hover .project__ph { transform: scale(1.04); }
.project__ph::after { /* velo para legibilidad del caption */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(16,21,28,.85));
}
.project__tag {
  position: relative;
  z-index: 1;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: .3rem .8rem;
  background: rgba(16,21,28,.5);
}
.project__cap {
  position: absolute;
  left: 1.25rem; bottom: 1.25rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.project__cap strong {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.project__cap span { font-size: .82rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  padding: clamp(3.5rem, 8vw, 7rem) var(--pad-x);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255,122,26,.16), transparent 60%),
    var(--grad-steel);
  border-block: 1px solid var(--line-strong);
  position: relative;
  z-index: 2;
}
.cta-band__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-band__title {
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  line-height: .98;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

/* ---------- Contacto ---------- */
.contact__grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr; /* asimetría leve */
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact__info .section__title { margin-bottom: 2rem; }
.contact__list { display: flex; flex-direction: column; gap: 1.1rem; }
.contact__list li {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.contact__label {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}
.contact__list a, .contact__list li > span:last-child {
  font-size: 1.1rem;
  font-weight: 500;
  transition: color .35s var(--e-out);
}
.contact__list a:hover { color: var(--accent); }

.contact__form {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label {
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.field input, .field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  transition: border-color .4s var(--e-out), box-shadow .4s var(--e-out), background-color .4s var(--e-out);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.contact__note { font-size: .78rem; color: var(--faint); text-align: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: clamp(3.5rem, 6vw, 5.5rem) var(--pad-x) 2rem;
  border-top: 1px solid var(--line);
  background: var(--surface-1);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.footer__top {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 2rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer__kick {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.footer__col { display: flex; flex-direction: column; gap: .6rem; }
.footer__col a, .footer__col span { color: var(--muted); font-size: .95rem; transition: color .35s var(--e-out); }
.footer__col a:hover { color: var(--ink); }
.footer__col--brandmark { align-items: flex-start; }
.footer__logo { height: 48px; width: auto; border-radius: 3px; margin-bottom: .3rem; }
.footer__desc { color: var(--muted); }

.footer__wordmark {
  font-weight: 700;
  font-size: clamp(4rem, 22vw, 20rem);
  line-height: .8;
  letter-spacing: -.03em;
  text-align: center;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  margin: clamp(1rem, 2vw, 2rem) 0;
  user-select: none;
}

.footer__bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  font-size: .82rem;
  color: var(--faint);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--e-out), transform .8s var(--e-out);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .26s; }
.reveal.d4 { transition-delay: .36s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .services__grid, .process__steps { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
  .mv__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__col--brandmark { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  /* Nav mobile */
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    height: 100svh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem clamp(1.5rem, 6vw, 2.5rem);
    background: var(--surface-2);
    border-left: 1px solid var(--line-strong);
    transform: translateX(100%);
    transition: transform .5s var(--e-in-out);
    box-shadow: var(--shadow-md);
    margin-left: 0;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links > a:not(.btn) { font-size: 1.35rem; color: var(--ink); }
  .nav__cta-mobile { display: inline-flex; margin-top: 1rem; }

  .projects__grid { grid-template-columns: 1fr; }
  .project--wide { grid-column: auto; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 460px) {
  .services__grid, .process__steps, .stats__grid { grid-template-columns: 1fr; }
  .hero__cta .btn, .cta-band__inner .btn { width: 100%; }
}

/* ==========================================================================
   Reduced motion — muestra todo, sin animación
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; transform: none; }
  .dot { animation: none; }
}
