/* =========================================================
   AMJ MANTENIMIENTO INDUSTRIAL — styles
   Navy + acero + naranja · mixto claro / oscuro
   ========================================================= */

:root {
  --navy-950: #050d1a;
  --navy-900: #0a1a33;
  --navy-850: #0d2245;
  --navy-800: #0f2a5c;
  --navy-700: #18407f;
  --steel-500: #5f7f9e;
  --steel-400: #7f9cb8;
  --steel-300: #a9c1d6;
  --steel-200: #d3e0eb;
  --steel-100: #e9eff5;
  --paper: #f2f4f7;
  --white: #ffffff;
  --ink: #0b1424;
  --ink-2: #3f4f66;
  --muted: #8593a6;
  --orange: #ff5b1f;
  --orange-2: #ff8a4c;
  --orange-soft: #ffe4d7;
  --line-dark: rgba(169, 193, 214, .14);
  --line-light: rgba(15, 42, 92, .10);

  --font-d: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-m: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;

  --radius: 18px;
  --radius-lg: 28px;
  --container: 1360px;
  --gutter: 56px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--font-d);
  font-stretch: 100%;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--orange); color: #fff; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.mono { font-family: var(--font-m); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico .fill, symbol .fill { fill: currentColor; stroke: none; }
em { font-style: normal; color: var(--orange); }

/* ---------- labels / headings ---------- */
.label {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px;
  font-family: var(--font-m); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.label span {
  display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 8px;
  border: 1px solid currentColor; border-radius: 99px; color: var(--orange); font-weight: 500;
}
.label--dark { color: var(--steel-300); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 32px; font-family: var(--font-m); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow--dark { color: var(--steel-300); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 91, 31, .2); animation: pulse 2s infinite; }

.h2 {
  margin: 0; font-weight: 400; font-stretch: 108%; letter-spacing: -.035em; line-height: .98;
  font-size: clamp(44px, 5.4vw, 88px); color: var(--white);
}
.h2--ink { color: var(--ink); }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.lead strong { color: var(--ink); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 26px; border-radius: 99px;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-m); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500;
  overflow: hidden; isolation: isolate; will-change: transform;
  transition: color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ink); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn .ico { transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--orange { --bg: var(--orange); box-shadow: 0 10px 30px -10px rgba(255, 91, 31, .6); }
.btn--orange::before { background: var(--navy-900); }
.btn--ghost-dark { --bg: transparent; --fg: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.btn--ghost-dark::before { background: #fff; }
.btn--ghost-dark:hover { color: var(--navy-900); }
.btn--line { --bg: transparent; --fg: var(--ink); border: 1px solid var(--line-light); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: #fff; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 12px; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--navy-950); color: var(--steel-300);
  display: grid; place-items: center;
}
.loader__center { position: relative; width: 220px; height: 220px; display: grid; place-items: center; }
.loader__gear { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--steel-300); stroke-width: 1.2; }
.loader__logo { position: relative; width: 120px; opacity: 0; transform: scale(.85); }
.loader__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 64px;
  display: flex; justify-content: space-between; font-family: var(--font-m); font-size: 12px; letter-spacing: .1em;
}
.loader__count b { font-weight: 500; color: #fff; font-size: 44px; font-family: var(--font-d); letter-spacing: -.02em; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .06); }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--orange); }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 999; pointer-events: none; mix-blend-mode: normal; }
.cursor__ring {
  position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  border: 1px solid rgba(255, 91, 31, .9); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
}
.cursor__ring i { position: absolute; background: var(--orange); }
.cursor__ring i:nth-child(1) { left: 50%; top: -6px; width: 1px; height: 6px; }
.cursor__ring i:nth-child(2) { left: 50%; bottom: -6px; width: 1px; height: 6px; }
.cursor__ring i:nth-child(3) { top: 50%; left: -6px; height: 1px; width: 6px; }
.cursor__ring i:nth-child(4) { top: 50%; right: -6px; height: 1px; width: 6px; }
.cursor__dot { position: absolute; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--orange); }
.cursor__label {
  position: absolute; transform: translate(-50%, -50%); font-family: var(--font-m); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .25s; white-space: nowrap;
}
.cursor__coords {
  position: absolute; left: 26px; top: 16px; font-family: var(--font-m); font-size: 9px; letter-spacing: .08em;
  color: var(--orange); opacity: .75; white-space: nowrap;
}
.cursor.is-hover .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--orange); border-color: var(--orange); }
.cursor.is-hover .cursor__ring i { opacity: 0; }
.cursor.is-hover .cursor__label { opacity: 1; }
.cursor.is-hover .cursor__dot, .cursor.is-hover .cursor__coords { opacity: 0; }
.cursor.is-link .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(255, 91, 31, .12); }
.cursor.is-hidden { opacity: 0; }
@media (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor label { cursor: none; }
  body.has-cursor input, body.has-cursor textarea { cursor: text; }
}
@media (pointer: coarse) { .cursor { display: none; } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 18px; left: 50%; z-index: 110; transform: translateX(-50%);
  width: min(100% - 36px, 1400px); height: 68px; padding: 0 12px 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-radius: 99px; border: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.nav.is-scrolled { backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.nav[data-theme="dark"] { color: #fff; }
.nav[data-theme="dark"].is-scrolled { background: rgba(10, 26, 51, .62); border-color: rgba(169, 193, 214, .14); }
.nav[data-theme="light"] { color: var(--ink); }
.nav[data-theme="light"].is-scrolled { background: rgba(255, 255, 255, .7); border-color: var(--line-light); box-shadow: 0 10px 40px -20px rgba(10, 26, 51, .25); }
.nav.is-hidden { transform: translate(-50%, -120%); }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__brand img { width: 44px; height: 44px; object-fit: contain; transition: transform .6s var(--ease); }
.nav__brand:hover img { transform: rotate(-8deg) scale(1.06); }
.nav__word { display: flex; align-items: center; gap: 10px; }
.nav__word b { font-size: 22px; font-weight: 700; font-stretch: 118%; letter-spacing: -.02em; }
.nav__word small { font-family: var(--font-m); font-size: 9px; line-height: 1.25; letter-spacing: .12em; text-transform: uppercase; opacity: .6; padding-left: 10px; border-left: 1px solid currentColor; }
.nav__links { position: relative; display: flex; gap: 4px; }
.nav__links a {
  position: relative; z-index: 1; padding: 10px 16px; border-radius: 99px;
  font-family: var(--font-m); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .72; transition: opacity .3s;
}
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__indicator {
  position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 99px; opacity: 0;
  background: rgba(255, 91, 31, .14); border: 1px solid rgba(255, 91, 31, .4);
  transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s;
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; padding: 150px 0 40px;
  background: radial-gradient(120% 90% at 75% 40%, var(--navy-800) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
}
.hero__grid {
  position: absolute; inset: -80px;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px),
    linear-gradient(rgba(169, 193, 214, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 193, 214, .05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(70% 70% at 60% 45%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 45%, #000 20%, transparent 80%);
}
.hero__glow {
  position: absolute; width: 900px; height: 900px; right: -120px; top: 50%; margin-top: -450px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 91, 31, .20) 0%, rgba(255, 91, 31, 0) 60%); filter: blur(10px);
}
.hero__ghost {
  position: absolute; left: -2vw; bottom: -6vw; font-size: 34vw; line-height: .8; font-weight: 800; font-stretch: 125%;
  letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(169, 193, 214, .10); pointer-events: none; user-select: none;
}
.hero__inner { position: relative; flex: 1; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 40px; }
.hero__copy { position: relative; z-index: 2; }
.hero__title { margin: 0 0 34px; font-weight: 300; font-stretch: 112%; font-size: clamp(54px, 6.1vw, 108px); line-height: .94; white-space: nowrap; letter-spacing: -.05em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line__in { display: inline-block; }
.hero__title .indent-1 { padding-left: 1.1em; }
.hero__title .indent-2 { padding-left: 1.7em; }
.hero__title em { font-weight: 500; }
.hero__dash { display: inline-block; vertical-align: middle; width: .55em; height: .06em; margin-right: .18em; background: var(--steel-300); transform: translateY(-.05em); }
.hero__lead { max-width: 480px; margin: 0 0 40px; font-size: 18px; line-height: 1.6; color: var(--steel-300); }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; flex-direction: column; gap: 22px; position: absolute; right: 0; left: auto; top: calc(50% - 80px); bottom: auto; z-index: 3; }
.hstat { padding-left: 16px; border-left: 2px solid var(--orange); }
.hstat:nth-child(2) { border-color: var(--steel-300); }
.hstat b { display: block; font-size: 34px; font-weight: 400; font-stretch: 110%; letter-spacing: -.03em; }
.hstat small { font-family: var(--font-m); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-300); }

.hero__stage { position: relative; aspect-ratio: 1; width: min(100%, 640px); justify-self: center; margin-right: 150px; }
.stage__layer { position: absolute; inset: 0; will-change: transform; pointer-events: none; }
.stage__logo { pointer-events: auto; }
.stage__gear, .stage__ring { width: 100%; height: 100%; fill: none; overflow: visible; }
.stage__gear { stroke: rgba(169, 193, 214, .28); stroke-width: 1.2; animation: spin 90s linear infinite; }
.stage__gear .thin { stroke-dasharray: 2 8; }
.stage__ring { stroke: rgba(169, 193, 214, .5); stroke-width: 1; animation: spin 140s linear infinite reverse; }
.stage__ring .dash { stroke: rgba(255, 91, 31, .55); stroke-dasharray: 60 520; stroke-width: 2; }
.stage__layer--logo { display: grid; place-items: center; perspective: 900px; }
.stage__halo { position: absolute; width: 58%; height: 58%; border-radius: 50%; background: radial-gradient(circle, rgba(169, 193, 214, .35), rgba(169, 193, 214, 0) 65%); }
.stage__logo {
  position: relative; width: 68%; transform-style: preserve-3d; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5));
  cursor: pointer; user-select: none; -webkit-user-drag: none;
}
.callout { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; }
.callout span {
  position: relative; z-index: 1; padding: 8px 14px; border-radius: 8px; background: rgba(10, 26, 51, .7); border: 1px solid rgba(169, 193, 214, .22);
  backdrop-filter: blur(8px); font-family: var(--font-m); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel-200); white-space: nowrap;
}
.callout span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--orange); vertical-align: middle; }
.callout__line { position: absolute; left: 100%; top: 50%; width: var(--w); height: 1px; background: linear-gradient(90deg, rgba(169, 193, 214, .6), rgba(169, 193, 214, 0)); transform-origin: 0 50%; transform: rotate(var(--r)); }
.callout--r .callout__line { left: 0; }
.callout__line::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--steel-300); }

.hero__bottom { position: relative; display: flex; justify-content: space-between; align-items: center; color: var(--steel-400); padding-top: 24px; border-top: 1px solid var(--line-dark); }
.scroll-cue { display: flex; align-items: center; gap: 12px; color: #fff; }
.scroll-cue__track { position: relative; width: 22px; height: 36px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .35); }
.scroll-cue__track i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 3px; background: var(--orange); animation: cue 1.8s var(--ease) infinite; }

/* ---------- ABOUT ---------- */
.about { position: relative; padding: 160px 0 120px; background: var(--paper); }
.sec-head { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; margin-bottom: 100px; }
.statement { margin: 0; font-weight: 400; font-stretch: 104%; font-size: clamp(32px, 3.4vw, 54px); line-height: 1.12; letter-spacing: -.03em; color: var(--ink); }
.statement .w { color: rgba(11, 20, 36, .16); transition: color .2s; }
.statement .w.is-on { color: var(--ink); }
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.frame { position: relative; margin: 0; aspect-ratio: 4 / 4.6; border-radius: var(--radius-lg); overflow: hidden; background: var(--steel-200); }
.frame img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.frame figcaption { position: absolute; left: 20px; bottom: 20px; padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); color: var(--ink); font-size: 11px; }
.frame--corners::before, .frame--corners::after {
  content: ""; position: absolute; z-index: 2; width: 64px; height: 64px; border: 2px solid var(--orange); pointer-events: none;
}
.frame--corners::before { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.frame--corners::after { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }
.about__text .lead { font-size: 21px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 48px; }
.chip { padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line-light); background: #fff; font-family: var(--font-m); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.quote { position: relative; margin: 0; padding: 32px 0 0 0; border-top: 1px solid var(--line-light); }
.quote__mark { width: 36px; fill: var(--orange); margin-bottom: 18px; }
.quote p { margin: 0; font-size: 30px; line-height: 1.2; letter-spacing: -.02em; font-stretch: 106%; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 110px; }
.kpi {
  position: relative; min-height: 250px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-light);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.kpi b { font-size: 76px; font-weight: 300; font-stretch: 110%; letter-spacing: -.05em; line-height: 1; }
.kpi h4 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.kpi p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.kpi--orange { background: var(--orange); color: #fff; border-color: transparent; }
.kpi--orange p { color: rgba(255, 255, 255, .85); }
.kpi--orange::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.kpi--navy { background: var(--navy-900); color: #fff; border-color: transparent; }
.kpi--navy p { color: var(--steel-300); }

/* proximity glow (shared) */
.prox { --px: 50%; --py: 50%; --prox: 0; }
.prox::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(420px circle at var(--px) var(--py), rgba(255, 91, 31, calc(var(--prox) * .16)), transparent 60%);
}
.prox > * { position: relative; z-index: 1; }
.prox { box-shadow: 0 0 0 1px rgba(255, 91, 31, calc(var(--prox) * .55)); transition: box-shadow .2s; }

/* ---------- CLIENTS ---------- */
.clients { padding: 0 0 130px; background: var(--paper); overflow: hidden; }
.clients__head { display: flex; justify-content: space-between; align-items: center; padding-top: 40px; border-top: 1px solid var(--line-light); margin-bottom: 30px; }
.clients__head .label { margin: 0; }
.clients__note { color: var(--muted); }
.marquee { position: relative; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-size: 64px; font-weight: 600; font-stretch: 118%; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(11, 20, 36, .35); transition: color .4s, -webkit-text-stroke-color .4s; white-space: nowrap; }
.marquee__track span:hover { color: var(--navy-800); -webkit-text-stroke-color: var(--navy-800); }
.marquee__track i { font-style: normal; color: var(--orange); font-size: 22px; }

/* ---------- PLANT / BLUEPRINT ---------- */
.plant { position: relative; padding: 150px 0 140px; color: #fff; background: var(--navy-900); overflow: hidden; }
.plant::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .55;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.plant__head { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.plant__lead { margin: 0; max-width: 440px; font-size: 18px; line-height: 1.6; color: var(--steel-300); }
.plant__stage {
  position: relative; border-radius: var(--radius-lg); border: 1px solid var(--line-dark);
  background: radial-gradient(80% 90% at 40% 50%, rgba(24, 64, 127, .45), rgba(10, 26, 51, 0) 70%), rgba(5, 13, 26, .35);
  padding: 20px; min-height: 800px;
}
.plant__hud { position: absolute; top: 22px; left: 26px; right: 26px; display: flex; gap: 28px; color: var(--steel-400); font-size: 10px; z-index: 3; }
.plant__hud span:last-child { margin-left: auto; color: var(--orange); }
.plant__canvas { position: relative; width: 62%; margin: 20px 0 0 4%; transform-style: preserve-3d; will-change: transform; }
#blueprint { width: 100%; height: auto; overflow: visible; }
#blueprint path, #blueprint polygon { fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s, opacity .4s, fill .4s; }
#blueprint .bp-grid { stroke: rgba(169, 193, 214, .12); stroke-width: .8; }
#blueprint .bp-light { stroke: rgba(169, 193, 214, .35); stroke-width: .9; }
#blueprint .bp-struct { stroke: rgba(211, 224, 235, .85); stroke-width: 1.3; }
#blueprint .bp-accent { stroke: var(--orange); stroke-width: 1.4; }
#blueprint .bp-fill { stroke: rgba(255, 91, 31, .7); stroke-width: 1; fill: rgba(255, 91, 31, .10); }
#blueprint .bp-fill--steel { stroke: rgba(169, 193, 214, .6); fill: rgba(169, 193, 214, .07); }
#blueprint .bp-text { fill: rgba(169, 193, 214, .55); font-family: var(--font-m); font-size: 10px; letter-spacing: .08em; stroke: none; }
#blueprint.has-focus [data-g] { opacity: .28; }
#blueprint.has-focus [data-g].is-focus { opacity: 1; stroke: var(--orange); filter: drop-shadow(0 0 6px rgba(255, 91, 31, .6)); }
#blueprint.has-focus [data-g].is-focus.bp-fill { fill: rgba(255, 91, 31, .22); }
#blueprint.has-focus .bp-shell { opacity: .45; }

.hotspots { position: absolute; inset: 0; pointer-events: none; }
.hotspot {
  position: absolute; left: var(--x); top: var(--y); width: 36px; height: 36px; margin: -18px 0 0 -18px; pointer-events: auto;
  border-radius: 50%; display: grid; place-items: center;
}
.hotspot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(255, 91, 31, .25); animation: ping 2.2s var(--ease) infinite; }
.hotspot i { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(255, 91, 31, .5), 0 0 18px rgba(255, 91, 31, .9); transition: transform .3s var(--ease); }
.hotspot span {
  position: absolute; left: 30px; top: 50%; transform: translate(-6px, -50%); opacity: 0; white-space: nowrap; pointer-events: none;
  padding: 6px 10px; border-radius: 6px; background: #fff; color: var(--ink); font-family: var(--font-m); font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  transition: opacity .3s, transform .3s var(--ease);
}
.hotspot:hover span, .hotspot.is-active span { opacity: 1; transform: translate(0, -50%); }
.hotspot:hover i, .hotspot.is-active i { transform: scale(1.35); }

.bp-card {
  position: absolute; top: 70px; right: 26px; width: 330px; padding: 26px; border-radius: 22px; z-index: 4;
  background: rgba(10, 26, 51, .72); border: 1px solid rgba(169, 193, 214, .18); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
}
.bp-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.bp-card__num { font-size: 13px; color: var(--orange); }
.bp-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--orange); color: #fff; }
.bp-card__icon .ico { width: 26px; height: 26px; }
.bp-card__kicker { margin: 0 0 8px; color: var(--steel-400); font-size: 10px; }
.bp-card h3 { margin: 0 0 12px; font-size: 26px; font-weight: 500; font-stretch: 106%; letter-spacing: -.02em; line-height: 1.1; }
.bp-card p { margin: 0; color: var(--steel-300); font-size: 14px; line-height: 1.6; }
.bp-card__meter { margin: 26px 0 22px; }
.bp-card__meter .mono { display: block; margin-bottom: 10px; font-size: 10px; color: var(--steel-400); }
.meter { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: repeating-linear-gradient(-45deg, var(--orange) 0 6px, var(--orange-2) 6px 12px); transition: width .8s var(--ease); }
.bp-card__link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-m); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #fff; border-bottom: 1px solid var(--orange); padding-bottom: 4px; }
.bp-card.is-swap h3, .bp-card.is-swap p, .bp-card.is-swap .bp-card__icon { animation: swap .5s var(--ease); }

.bp-legend { position: absolute; left: 26px; bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; z-index: 3; max-width: 72%; }
.bp-legend button {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 99px;
  border: 1px solid var(--line-dark); background: rgba(10, 26, 51, .6); color: var(--steel-300);
  font-family: var(--font-m); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; transition: all .3s var(--ease);
}
.bp-legend button b { color: var(--orange); font-weight: 500; }
.bp-legend button:hover, .bp-legend button.is-active { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- SERVICES ---------- */
.services { position: relative; background: var(--paper); }
.services__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 44px; overflow: hidden; padding-top: 70px; }
.services__head { display: flex; justify-content: space-between; align-items: end; }
.services__head .label { margin-bottom: 16px; }
.services__ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.services__count { font-size: 14px; color: var(--muted); }
.services__count b { font-size: 28px; color: var(--ink); font-weight: 500; }
.services__bar { width: 260px; height: 2px; background: var(--line-light); }
.services__bar i { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(.16); }
.services__track { display: flex; gap: 24px; padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-right: 12vw; will-change: transform; }

.svc {
  position: relative; flex: none; width: min(1080px, 76vw); height: min(560px, 62vh); min-height: 460px;
  display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line-light);
}
.svc__media { position: relative; overflow: hidden; background: var(--steel-200); }
.svc__media > img:first-child { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.svc:hover .svc__media > img:first-child { transform: scale(1.12); }
.svc__inset {
  position: absolute; right: 20px; bottom: 20px; width: 38%; aspect-ratio: 1; object-fit: cover; border-radius: 16px;
  border: 4px solid #fff; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45); transform: rotate(3deg); transition: transform .8s var(--ease);
}
.svc:hover .svc__inset { transform: rotate(0) translateY(-8px); }
.svc__body { position: relative; padding: 44px 48px; display: flex; flex-direction: column; overflow: hidden; }
.svc__ghost { position: absolute; right: 18px; top: -30px; font-size: 200px; font-weight: 800; font-stretch: 120%; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(15, 42, 92, .1); line-height: 1; pointer-events: none; }
.svc__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--steel-100); color: var(--navy-800); margin-bottom: 26px; }
.svc__icon .ico { width: 26px; height: 26px; }
.svc__kicker { margin: 0 0 10px; color: var(--orange); font-size: 11px; letter-spacing: .14em; }
.svc h3 { margin: 0 0 16px; font-size: 34px; font-weight: 500; font-stretch: 106%; letter-spacing: -.03em; line-height: 1.04; max-width: 90%; }
.svc__body > p:not(.svc__kicker) { margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.checks { list-style: none; margin: 0 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.35; }
.checks .ico { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--navy-800); color: #fff; stroke-width: 2.4; margin-top: -1px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.tags span { padding: 6px 10px; border-radius: 6px; background: var(--steel-100); font-family: var(--font-m); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.svc--dark { background: var(--navy-900); border-color: transparent; color: #fff; }
.svc--dark .svc__body > p:not(.svc__kicker) { color: var(--steel-300); }
.svc--dark .svc__ghost { -webkit-text-stroke-color: rgba(169, 193, 214, .12); }
.svc--dark .svc__icon { background: rgba(169, 193, 214, .12); color: #fff; }
.svc--dark .checks .ico { background: var(--orange); }
.svc--dark .tags span { background: rgba(169, 193, 214, .1); color: var(--steel-200); }
.svc__media--art { background: radial-gradient(80% 80% at 50% 50%, var(--navy-800), var(--navy-950)); border-right: 1px solid var(--line-dark); display: grid; place-items: center; }
.svc-end { flex: none; width: 420px; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 0 20px; }
.svc-end .mono { color: var(--orange); margin: 0; }
.svc-end h3 { margin: 0 0 14px; font-size: 44px; font-weight: 400; font-stretch: 108%; letter-spacing: -.035em; line-height: 1.02; }
.svc-end .btn { align-self: flex-start; }

/* line illustrations */
.art { width: 92%; height: auto; overflow: visible; }
.art__grid circle { fill: rgba(169, 193, 214, .18); }
.art__line, .art__gear, .art__fan, .art__level { fill: none; stroke: var(--steel-300); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.art__line path:last-child { stroke: rgba(169, 193, 214, .35); }
.art__flow { fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-dasharray: 6 12; stroke-linecap: round; animation: flow 1.2s linear infinite; }
.art__flow--rev { animation-duration: .9s; }
.art__label { fill: var(--steel-400); font-size: 12px; letter-spacing: .08em; }
.art__badge circle { fill: var(--orange); }
.art__badge path { fill: #fff; }
.art__badge { transform-origin: 560px 110px; animation: throb 2.4s var(--ease) infinite; }
.art__fan { stroke: var(--orange); transform-origin: 70px 165px; animation: spin 1.6s linear infinite; }
.art__gear--a { transform-origin: 250px 215px; animation: spin 18s linear infinite; }
.art__gear--b { transform-origin: 405px 330px; stroke: var(--orange); animation: spin 10s linear infinite reverse; }
.art__bubble { fill: var(--orange); stroke: none; animation: bubble 3.2s ease-in-out infinite; }

/* ---------- PROJECTS ---------- */
.projects { position: relative; padding: 150px 0 120px; background: var(--navy-950); color: #fff; }
.project { display: grid; grid-template-columns: 1.55fr .8fr; grid-template-rows: auto auto; gap: 16px; margin-bottom: 110px; }
.project:last-child { margin-bottom: 0; }
.project__main { grid-row: span 2; position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 11; }
.project__main img, .project__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.project__main img { height: 116%; }
.project__main:hover img, .project__thumb:hover img { filter: brightness(1.08); }
.project__thumb:hover img { transform: scale(1.06); }
.project__side { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 16px; grid-template-rows: 1fr 1fr; }
.project__thumb { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 0; }
.project__thumb img { position: absolute; inset: 0; }
.project__info {
  position: relative; grid-column: 1 / -1; display: block;
  margin-top: -110px; margin-left: 40px; width: min(820px, 70%); padding: 32px 36px; border-radius: 22px;
  background: var(--navy-800); border: 1px solid rgba(169, 193, 214, .16); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.project__kicker { margin: 0 0 12px; color: var(--orange); letter-spacing: .2em; }
.project__kicker span { color: var(--steel-400); }
.project__info h3 { margin: 0 0 12px; font-size: 34px; font-weight: 500; font-stretch: 106%; letter-spacing: -.03em; line-height: 1.05; }
.project__info p { margin: 0; color: var(--steel-300); line-height: 1.6; max-width: 620px; }
.tags--dark span { background: rgba(169, 193, 214, .12); color: var(--steel-200); }
.project--rev { grid-template-columns: .8fr 1.55fr; }
.project--rev .project__main { grid-column: 2; grid-row: 1 / span 2; }
.project--rev .project__side { grid-column: 1; grid-row: 1 / span 2; }
.project--rev .project__info { margin-left: auto; margin-right: 40px; }
.reveal-clip { clip-path: inset(0 0 0 0 round var(--radius-lg)); }

/* ---------- TEAM ---------- */
.team { padding: 150px 0; background: var(--white); }
.team__grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: 90px; align-items: center; }
.team__intro .lead { margin-top: 28px; }
.team__seal { position: relative; width: 160px; height: 160px; margin-top: 50px; display: grid; place-items: center; }
.seal { position: absolute; inset: 0; animation: spin 24s linear infinite; }
.seal text { font-family: var(--font-m); font-size: 11.5px; letter-spacing: .18em; fill: var(--ink-2); }
.team__seal b { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font-size: 24px; font-stretch: 115%; }
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.badge { position: relative; aspect-ratio: 1 / 1.12; border-radius: var(--radius); perspective: 900px; }
.badge.prox::before { display: none; }
.badge__in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.badge:hover .badge__in { transform: rotateY(180deg); }
.badge__front, .badge__back {
  position: absolute; inset: 0; border-radius: var(--radius); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
}
.badge__front { background: var(--paper); border: 1px solid var(--line-light); }
.badge__front .ico { width: 40px; height: 40px; stroke-width: 1.3; color: var(--navy-800); }
.badge__front h4 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.2; }
.badge__front .mono { position: absolute; top: 20px; right: 18px; padding: 4px 8px; border-radius: 99px; background: var(--navy-800); color: #fff; font-size: 9px; }
.badge__back { background: var(--navy-900); color: #fff; transform: rotateY(180deg); justify-content: flex-end; }
.badge__back::before { content: "DC3"; font-family: var(--font-m); font-size: 11px; color: var(--orange); letter-spacing: .14em; margin-bottom: auto; }
.badge__back p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--steel-200); }
.badge--orange .badge__front { background: var(--orange); border-color: transparent; color: #fff; }
.badge--orange .badge__front .ico { color: #fff; }
.badge--orange .badge__front .mono { background: #fff; color: var(--orange); }

/* ---------- COVERAGE ---------- */
.coverage { position: relative; padding: 150px 0; background: var(--navy-900); color: #fff; overflow: hidden; }
.coverage__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.coverage__text .plant__lead { margin-top: 28px; }
.zones { list-style: none; padding: 0; margin: 44px 0 0; border-top: 1px solid var(--line-dark); }
.zones li {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line-dark);
  font-size: 18px; transition: padding .4s var(--ease), color .3s; cursor: default;
}
.zones li span { font-family: var(--font-m); font-size: 11px; color: var(--steel-400); letter-spacing: .08em; }
.zones li:hover, .zones li.is-active { padding-left: 16px; color: var(--orange); }
.coverage__map { position: relative; border-radius: var(--radius-lg); border: 1px solid var(--line-dark); background: radial-gradient(60% 60% at 58% 50%, rgba(24, 64, 127, .55), rgba(5, 13, 26, .4)); overflow: hidden; }
#radar { display: block; width: 100%; height: auto; }
#radar .r-dot { fill: rgba(169, 193, 214, .16); }
#radar .r-ring { fill: none; stroke: rgba(169, 193, 214, .22); stroke-width: 1; }
#radar .r-ring--dash { stroke-dasharray: 3 6; }
#radar .r-axis { stroke: rgba(169, 193, 214, .14); stroke-width: 1; }
#radar .r-km { fill: rgba(169, 193, 214, .5); font-family: var(--font-m); font-size: 10px; letter-spacing: .06em; }
#radar .r-state { fill: rgba(169, 193, 214, .16); font-size: 28px; font-weight: 700; font-stretch: 125%; letter-spacing: .3em; }
#radar .r-link { fill: none; stroke: rgba(255, 91, 31, .55); stroke-width: 1.2; stroke-dasharray: 4 5; animation: flow 1.6s linear infinite; }
#radar .r-city circle.core { fill: #fff; stroke: var(--navy-900); stroke-width: 2; transition: r .3s, fill .3s; }
#radar .r-city circle.halo { fill: rgba(169, 193, 214, .15); }
#radar .r-city text { fill: var(--steel-200); font-family: var(--font-m); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
#radar .r-city:hover circle.core, #radar .r-city.is-active circle.core { fill: var(--orange); }
#radar .r-city.is-active text, #radar .r-city:hover text { fill: #fff; }
#radar .r-hq circle.core { fill: var(--orange); stroke: #fff; stroke-width: 3; }
#radar .r-hq .pulse { fill: none; stroke: var(--orange); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: radarPulse 2.6s var(--ease) infinite; }
#radar .r-hq text { fill: #fff; font-size: 13px; font-weight: 500; }
#radar .r-sweep { transform-origin: var(--cx) var(--cy); animation: spin 7s linear infinite; }
.radar__tip {
  position: absolute; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 18px)); padding: 10px 14px; border-radius: 10px;
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; transition: opacity .25s; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .5);
}
.radar__tip small { display: block; font-family: var(--font-m); font-size: 10px; font-weight: 400; color: var(--orange); letter-spacing: .08em; text-transform: uppercase; }
.radar__tip.is-on { opacity: 1; }

/* ---------- CONTACT ---------- */
.contact { padding: 150px 0; background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact__intro .lead { margin: 28px 0 40px; max-width: 460px; }
.person { position: relative; display: flex; align-items: center; gap: 18px; padding: 14px; border-radius: 22px; background: #fff; border: 1px solid var(--line-light); margin-bottom: 26px; width: fit-content; padding-right: 32px; }
.person img { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; }
.person h4 { margin: 0 0 6px; font-size: 19px; font-weight: 600; }
.person .mono { margin: 0; color: var(--orange); font-size: 11px; }
.contact__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.contact__list li > a, .contact__list li > span:first-child:not(.cicon), .contact__list li { }
.contact__list li { border-bottom: 1px solid var(--line-light); }
.contact__list a, .contact__list li:last-child { display: flex; align-items: center; gap: 18px; padding: 18px 0; font-size: 20px; letter-spacing: -.01em; transition: padding .4s var(--ease); }
.contact__list a:hover { padding-left: 12px; }
.contact__list a:hover .cicon { background: var(--orange); color: #fff; }
.contact__list small { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; }
.cicon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line-light); color: var(--navy-800); transition: background .3s, color .3s; }

.form { position: relative; padding: 40px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line-light); box-shadow: 0 40px 80px -50px rgba(10, 26, 51, .35); }
.form__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 30px; gap: 20px; }
.form__head h3 { margin: 0; font-size: 30px; font-weight: 500; font-stretch: 106%; letter-spacing: -.03em; }
.form__head .mono { color: var(--muted); font-size: 10px; }
.form__services { border: 0; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.form__services legend { margin-bottom: 14px; color: var(--ink-2); font-size: 11px; }
.form__services label { position: relative; }
.form__services input { position: absolute; opacity: 0; pointer-events: none; }
.form__services span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-light);
  font-family: var(--font-m); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); transition: all .3s var(--ease);
}
.form__services span:hover { border-color: var(--navy-800); color: var(--ink); }
.form__services input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.form__services input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; display: block; margin-bottom: 18px; }
.field input, .field textarea {
  width: 100%; padding: 26px 0 10px; border: 0; border-bottom: 1px solid var(--line-light); background: transparent; outline: 0;
  font: inherit; font-size: 17px; color: var(--ink); resize: none; transition: border-color .3s;
}
.field span { position: absolute; left: 0; top: 22px; color: var(--muted); font-size: 16px; pointer-events: none; transition: all .3s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--orange); }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span {
  top: 2px; font-family: var(--font-m); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange);
}
.field.is-invalid input { border-color: #d93a0f; }
.form__error { min-height: 20px; margin: 4px 0 10px; color: #d93a0f; font-size: 14px; }
.form__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.footer { position: relative; padding: 110px 0 0; background: var(--navy-950); color: var(--steel-300); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-bottom: 70px; border-bottom: 1px solid var(--line-dark); }
.footer__quote { margin: 0; max-width: 900px; font-size: clamp(36px, 4vw, 64px); font-weight: 300; font-stretch: 108%; letter-spacing: -.04em; line-height: 1.02; color: #fff; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0; }
.footer__cols a, .footer__cols span { display: block; margin-bottom: 10px; font-size: 15px; transition: color .3s; }
.footer__cols a:hover { color: var(--orange); }
.footer__h { margin: 0 0 18px; color: var(--steel-500); font-size: 11px; }
.footer__brand img { width: 84px; margin-bottom: 20px; cursor: pointer; }
.footer__brand p { max-width: 300px; margin: 0; line-height: 1.6; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line-dark); font-size: 11px; color: var(--steel-500); }
.footer__reg { color: var(--steel-400); letter-spacing: .14em; }
.footer__giant {
  font-size: 30vw; line-height: .74; font-weight: 800; font-stretch: 125%; letter-spacing: -.06em; text-align: center; margin-bottom: -2.5vw;
  color: transparent; -webkit-text-stroke: 1px rgba(169, 193, 214, .14); user-select: none;
  background: linear-gradient(180deg, rgba(169, 193, 214, .10), rgba(169, 193, 214, 0) 70%); -webkit-background-clip: text; background-clip: text;
}

/* ---------- floating WA ---------- */
.wa-float {
  position: fixed; right: 28px; bottom: 28px; z-index: 100; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 16px 40px -10px rgba(37, 211, 102, .7);
  transform: scale(0); transition: transform .6s var(--ease);
}
.wa-float.is-on { transform: scale(1); }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s var(--ease) infinite; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; background: rgba(5, 13, 26, .92); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .4s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 86vw; max-height: 84vh; border-radius: 16px; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: scale(1); }
.lightbox__close { position: absolute; top: 28px; right: 28px; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 18px; }

/* ---------- lucky (easter egg) ---------- */
.lucky { position: fixed; inset: 0; z-index: 950; display: grid; place-items: center; pointer-events: none; opacity: 0; visibility: hidden; background: radial-gradient(circle at 50% 50%, rgba(6, 40, 26, .92), rgba(5, 13, 26, .96) 70%); }
.lucky.is-on { pointer-events: auto; visibility: visible; }
.lucky img { position: relative; width: min(460px, 70vw); filter: drop-shadow(0 0 40px rgba(212, 175, 55, .55)); }
.lucky__rays { position: absolute; width: 900px; height: 900px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(212, 175, 55, .10) 0 6deg, transparent 6deg 18deg); mask-image: radial-gradient(circle, #000 20%, transparent 65%); -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 65%); animation: spin 30s linear infinite; }
.lucky__text { position: absolute; bottom: 12vh; margin: 0; font-family: var(--font-m); font-size: 13px; letter-spacing: .5em; text-transform: uppercase; color: #d4af37; }

/* ---------- keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 91, 31, 0); } }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes flow { to { stroke-dashoffset: -36; } }
@keyframes throb { 50% { transform: scale(1.08); } }
@keyframes bubble { 0%, 100% { transform: translateX(-14px); } 50% { transform: translateX(14px); } }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }
@keyframes radarPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4.5); opacity: 0; } }

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

/* =========================================================
   MOBILE MENU (base — hidden on desktop)
   ========================================================= */
.nav__burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); flex: none; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .45s var(--ease), top .45s var(--ease); }
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 26px; }
.menu-open .nav__burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 105; display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px 24px 32px; background: var(--navy-950); color: #fff; overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease-io), visibility 0s .7s;
}
.mnav::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(90% 70% at 80% 20%, #000, transparent); -webkit-mask-image: radial-gradient(90% 70% at 80% 20%, #000, transparent);
}
.menu-open .mnav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-io), visibility 0s; }
.mnav__links { position: relative; display: flex; flex-direction: column; }
.mnav__links a {
  display: flex; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line-dark);
  font-size: clamp(28px, 8.4vw, 44px); font-weight: 400; font-stretch: 108%; letter-spacing: -.035em; line-height: 1.1;
  opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease), color .3s;
}
.mnav__links a small { font-family: var(--font-m); font-size: 11px; letter-spacing: .08em; color: var(--orange); }
.mnav__links a:active { color: var(--orange); }
.menu-open .mnav__links a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .05s); }
.mnav__foot { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.mnav__foot .btn { justify-content: center; padding: 0 14px; }
.menu-open { overflow: hidden; }
.menu-open .nav { color: #fff; background: transparent !important; border-color: transparent !important; box-shadow: none !important; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---------- laptop / tablet landscape ---------- */
@media (max-width: 1180px) {
  :root { --gutter: 36px; }
  .nav__links a { padding: 10px 10px; }
  .hero__stats { display: none; }
  .hero__stage { margin-right: 0; }
  .bp-card { width: 290px; }
  .svc h3 { font-size: 28px; }
  .svc__body { padding: 36px; }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: 1fr 1fr; gap: 60px; }
}

/* ---------- burger navigation ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav { padding: 0 8px 0 14px; }
  .nav__cta { margin-left: auto; margin-right: 8px; }
}

/* ---------- tablet portrait & phones ---------- */
@media (max-width: 900px) {
  :root { --gutter: 22px; --radius-lg: 22px; }
  .h2 { font-size: clamp(38px, 10vw, 60px); }
  .lead { font-size: 17px; }
  .label { margin-bottom: 16px; }

  .nav { top: 10px; height: 62px; width: calc(100% - 20px); }
  .nav__brand img { width: 38px; height: 38px; }
  .nav__word b { font-size: 20px; }

  /* hero */
  .hero { padding: 100px 0 26px; }
  .hero__inner { grid-template-columns: 1fr; gap: 6px; align-content: center; }
  .hero__stage { order: -1; width: min(72vw, 400px); margin: 0 auto; }
  .callout { display: none; }
  .hero__title { font-size: clamp(38px, 11.4vw, 72px); margin-bottom: 22px; }
  .hero__title .indent-1 { padding-left: .45em; }
  .hero__title .indent-2 { padding-left: .9em; }
  .hero__lead { font-size: 16px; margin-bottom: 28px; }
  .hero__ctas .btn { height: 52px; padding: 0 20px; }
  .eyebrow { margin-bottom: 18px; font-size: 10px; }
  .hero__bottom { justify-content: center; margin-top: 28px; }
  .hero__bottom > .mono { display: none; }
  .hero__glow { width: 600px; height: 600px; right: -200px; top: 10%; margin-top: 0; }
  .hero__ghost { font-size: 62vw; bottom: 12vh; }

  /* about */
  .about { padding: 100px 0 70px; }
  .sec-head { grid-template-columns: 1fr; gap: 6px; margin-bottom: 50px; }
  .statement { font-size: clamp(25px, 6.6vw, 38px); }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .frame { aspect-ratio: 4 / 4.2; }
  .about__text .lead { font-size: 18px; }
  .chips { margin: 26px 0 34px; }
  .quote p { font-size: 25px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 60px; }
  .kpi { min-height: 190px; padding: 20px; }
  .kpi b { font-size: 50px; }
  .kpi h4 { font-size: 15px; }
  .kpi p { font-size: 12.5px; }

  /* clients */
  .clients { padding-bottom: 80px; }
  .clients__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .marquee__track { gap: 28px; animation-duration: 30s; }
  .marquee__track span { font-size: 38px; }
  .marquee__track i { font-size: 16px; }

  /* plant */
  .plant { padding: 100px 0 90px; }
  .plant__head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 30px; }
  .plant__lead { font-size: 16px; }
  .plant__stage { min-height: 0; padding: 14px; }
  .plant__hud { position: relative; top: auto; left: auto; right: auto; gap: 14px; font-size: 9px; padding: 4px 6px 0; }
  .plant__hud span:nth-child(3), .plant__hud span:last-child { display: none; }
  .plant__canvas { width: 100%; margin: 10px 0 0; }
  .hotspot { width: 32px; height: 32px; margin: -16px 0 0 -16px; }
  .hotspot span { display: none; }
  .bp-card { position: relative; top: auto; right: auto; width: auto; margin-top: 10px; padding: 22px; }
  .bp-card__top { margin-bottom: 18px; }
  .bp-card h3 { font-size: 23px; }
  .bp-legend {
    position: relative; left: auto; bottom: auto; max-width: none; margin: 12px -14px 0; padding: 0 14px 4px;
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .bp-legend::-webkit-scrollbar { display: none; }
  .bp-legend button { flex: none; }

  /* services — vertical stack */
  .services__pin { height: auto; overflow: visible; padding: 100px 0 80px; gap: 30px; }
  .services__ctrl { display: none; }
  .services__track { flex-direction: column; gap: 16px; padding: 0 var(--gutter); transform: none !important; }
  .svc { width: 100%; height: auto; min-height: 0; grid-template-columns: 1fr; }
  .svc__media { aspect-ratio: 16 / 11; }
  .svc__media--art { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .svc__inset { width: 34%; right: 14px; bottom: 14px; border-width: 3px; border-radius: 12px; }
  .svc__body { padding: 28px 22px 26px; }
  .svc__ghost { font-size: 130px; top: -14px; }
  .svc__icon { width: 48px; height: 48px; margin-bottom: 18px; }
  .svc h3 { font-size: 26px; max-width: 100%; }
  .checks { grid-template-columns: 1fr; margin-bottom: 0; }
  .svc-end { width: auto; padding: 36px 4px 0; }
  .svc-end h3 { font-size: 32px; }

  /* projects */
  .projects { padding: 100px 0 90px; }
  .project, .project--rev { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 70px; }
  .project__main, .project--rev .project__main { grid-column: 1 / -1; grid-row: auto; order: 1; aspect-ratio: 4 / 3.2; }
  .project__info, .project--rev .project__info { grid-column: 1 / -1; order: 2; width: auto; margin: -56px 12px 0; padding: 22px 20px; }
  .project__side, .project--rev .project__side { grid-column: 1 / -1; grid-row: auto; order: 3; grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 10px; }
  .project__thumb { aspect-ratio: 1; }
  .project__info h3 { font-size: 24px; }
  .project__info p { font-size: 15px; }

  /* team */
  .team { padding: 100px 0; }
  .team__grid { grid-template-columns: 1fr; gap: 44px; }
  .team__seal { width: 130px; height: 130px; margin-top: 34px; }
  .team__seal b { width: 68px; height: 68px; font-size: 19px; }
  .badges { gap: 10px; }
  .badge { aspect-ratio: 1 / 1.02; }
  .badge__front, .badge__back { padding: 16px; }
  .badge__front .ico { width: 32px; height: 32px; }
  .badge__front h4 { font-size: 15px; }
  .badge__front .mono { top: 14px; right: 12px; }
  .badge__back p { font-size: 13px; }

  /* coverage */
  .coverage { padding: 100px 0; }
  .coverage__grid { grid-template-columns: 1fr; gap: 40px; }
  .zones { margin-top: 30px; }
  .zones li { font-size: 16px; padding: 13px 2px; }
  #radar .r-city text { display: none; }
  #radar .r-city circle.core { r: 8; }
  #radar .r-city circle.halo { r: 20; }
  #radar .r-km { font-size: 20px; }
  #radar .r-hq text { font-size: 22px; }
  #radar .r-state { font-size: 44px; }
  .coverage__map::after { content: "Toca un punto para ver la ciudad"; position: absolute; left: 14px; bottom: 12px; font-family: var(--font-m); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-400); }

  /* contact */
  .contact { padding: 100px 0; }
  .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .contact__intro .lead { margin: 20px 0 30px; }
  .person { width: 100%; padding-right: 16px; }
  .person img { width: 64px; height: 64px; }
  .person h4 { font-size: 17px; }
  .contact__list a, .contact__list li:last-child { font-size: 17px; padding: 14px 0; }
  .form { padding: 26px 20px; }
  .form__head { flex-direction: column; gap: 6px; margin-bottom: 22px; }
  .form__head h3 { font-size: 25px; }
  .form__services span { height: 38px; padding: 0 13px; font-size: 10px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .field input, .field textarea { font-size: 16px; }
  .form__actions { flex-direction: column; }
  .form__actions .btn { justify-content: center; width: 100%; }

  /* footer */
  .footer { padding-top: 80px; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 30px; padding-bottom: 50px; }
  .footer__quote { font-size: clamp(32px, 8.6vw, 48px); }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 34px 20px; padding: 44px 0; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; }

  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .wa-float .ico { width: 27px; height: 27px; }
  .lightbox img { max-width: 94vw; }
  .lightbox__close { top: 16px; right: 16px; }
}

/* ---------- tablet portrait only ---------- */
@media (min-width: 601px) and (max-width: 900px) {
  .badges { grid-template-columns: repeat(4, 1fr); }
  .badge { aspect-ratio: 1 / 1.25; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .svc { grid-template-columns: 1fr 1fr; }
  .svc__media { aspect-ratio: auto; min-height: 100%; }
  .svc__media--art { border-bottom: 0; border-right: 1px solid var(--line-dark); }
}

/* ---------- small phones ---------- */
@media (max-width: 480px) {
  .nav__word small { display: none; }
  .nav__cta { height: 40px; padding: 0 14px; font-size: 11px; }
  .nav__cta .ico { display: none; }
  .hero__stage { width: 66vw; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; }
  .kpi b { font-size: 42px; }
  .footer__cols a, .footer__cols span { font-size: 14px; }
}

@media (max-width: 360px) {
  .nav__word { display: none; }
  .badge__front h4 { font-size: 13px; }
}
