/* =========================================================================
   OLS Engineering — Direction B · Architectural Grid
   v2.0 · Drop-in stylesheet
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,500;0,600;0,700;1,500;1,700&family=Barlow:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --navy: #001f56;
  --navy-deep: #00132f;
  --navy-mid: #001a45;
  --navy-soft: #0a1530;
  --blue: #004996;
  --red: #ff1d25;
  --red-deep: #b1101a;
  --red-dark: #630e1e;

  --paper: #f6f4ef;
  --paper-2: #ecebe5;
  --off-white: #f6f4ef;
  --white: #ffffff;
  --ink: #14181f;
  --ink-2: #4a4f57;
  --text-muted: #4a4f57;
  --border: rgba(20, 24, 31, 0.12);

  --rule: rgba(20, 24, 31, 0.12);
  --rule-soft: rgba(20, 24, 31, 0.06);
  --rule-dark: rgba(255, 255, 255, 0.10);

  --container-px: 56px;
  --nav-h: 96px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── TYPE ───────────────────────────────────────────────── */
.mono { font-family: 'JetBrains Mono', monospace; }
.display { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.95; }
.eyebrow,
.section-label,
.content-label,
.page-hero-label {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before,
.section-label::before,
.content-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
}

/* =========================================================================
   NAVIGATION
   ========================================================================= */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--navy-deep);
  color: white;
  border-bottom: 1px solid var(--rule-dark);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 56px;
  padding: 0 48px 0 40px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 64px; width: auto; display: block; }
/* Logo's blue/red on navy ground — keep the original, the red+blue read fine on this navy */
.nav-logo .logo-light { display: none; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
  justify-self: end;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: white; }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-block;
  background: var(--red);
  color: white !important;
  padding: 12px 32px;
  margin-left: 24px;
  margin-right: 24px;
  letter-spacing: 0.16em;
  border: 1px solid var(--red);
  transition: background 0.2s, border-color 0.2s;
}
.nav-cta:hover { background: var(--red-deep); border-color: var(--red-deep); }
.nav-cta::after { display: none !important; }

.nav-hamburger {
  display: none;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-hamburger span { display: block; width: 18px; height: 1.5px; background: white; transition: transform 0.3s, opacity 0.3s; }
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================================
   HERO (homepage)
   ========================================================================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  background: var(--navy-deep);
  color: white;
  overflow: hidden;
  padding: 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('/images/tower.jpg');
  background-size: cover;
  background-position: center;
  filter: saturate(0.55) brightness(0.45);
  z-index: 1;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,31,86,0.85) 0%, rgba(0,15,40,0.7) 55%, rgba(20,8,12,0.6) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 96px 96px;
  z-index: 2;
  pointer-events: none;
}

/* Engineering corner-marks */
.hero::before, .hero::after,
.hero-bg::before {
  position: absolute; width: 28px; height: 28px;
  border: 1px solid rgba(255,255,255,0.4);
  z-index: 3;
  content: '';
}
.hero::before { top: 24px; left: 24px; border-right: none; border-bottom: none; }
.hero::after { bottom: 24px; right: 24px; border-left: none; border-top: none; }
.hero-bg::before { top: 24px; right: 24px; border-left: none; border-bottom: none; }

.hero-content {
  position: relative;
  z-index: 4;
  padding: 90px var(--container-px) 220px;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 29, 37, 0.7);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 36px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255,29,37,0.7);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(255,29,37,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(255,29,37,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,29,37,0); }
}

.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(60px, 8.5vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.005em;
  color: white;
  margin: 0 0 32px;
  max-width: 18ch;
}
.hero-headline em {
  font-style: italic;
  font-weight: 700;
  color: var(--red);
  font-family: inherit;
}
.hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Datum line at bottom of hero */
.hero-scroll {
  position: absolute;
  left: var(--container-px);
  right: var(--container-px);
  bottom: 60px;
  height: 1px;
  background: rgba(255,29,37,0.55);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-scroll::before, .hero-scroll::after {
  content: '';
  position: absolute;
  width: 9px; height: 9px;
  background: var(--red);
  transform: rotate(45deg);
  top: -4px;
}
.hero-scroll::before { left: 0; }
.hero-scroll::after { right: 0; }
.hero-scroll span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--navy-deep);
  padding: 0 14px;
  margin-left: 24px;
}
.hero-scroll .scroll-line { display: none; }

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn-primary,
.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--red);
  color: white;
  padding: 16px 28px;
  border: 1px solid var(--red);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-primary:hover,
.btn-primary-dark:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-primary svg, .btn-primary-dark svg { width: 16px; height: 16px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: white;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { background: white; color: var(--navy-deep); border-color: white; }

/* =========================================================================
   SPEC STRIP (homepage, after hero)
   ========================================================================= */
.spec-strip {
  background: var(--navy-mid);
  color: white;
  padding: 36px var(--container-px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.spec { display: flex; flex-direction: column; gap: 6px; }
.spec-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--red);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.spec-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.spec-sub { font-size: 13px; color: rgba(255, 255, 255, 0.5); }

/* =========================================================================
   STATEMENT
   ========================================================================= */
.statement {
  padding: 120px var(--container-px);
  background: var(--paper);
}
.statement-inner { max-width: 1200px; margin: 0 auto; }
.statement-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.95;
  color: var(--navy);
  margin: 24px 0 32px;
  max-width: 18ch;
}
.statement-body {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  max-width: 64ch;
}

/* =========================================================================
   VERTICALS STRIP (homepage)
   ========================================================================= */
.verticals-strip {
  background: white;
  padding: 120px var(--container-px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.verticals-inner { max-width: 1400px; margin: 0 auto; }
.verticals-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 40px;
  display: inline-flex;
  gap: 14px;
  align-items: center;
}
.verticals-subtitle::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.verticals-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.vertical-item {
  padding: 48px 32px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.1;
  transition: background 0.2s;
}
.vertical-item:last-child { border-right: none; }
.vertical-item:hover { background: var(--paper); }
.vertical-item svg { color: var(--red); width: 48px; height: 48px; }

/* =========================================================================
   SERVICES (homepage)
   ========================================================================= */
.services {
  padding: 120px var(--container-px);
  background: #060a14;
  color: white;
}
.services .container { max-width: 1400px; margin: 0 auto; }
.services .section-label { color: var(--red); margin-bottom: 56px; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.service-card {
  padding: 56px 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  transition: background 0.3s, border-color 0.3s;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 56px;
  height: 2px;
  background: var(--red);
}
.service-card:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255,29,37,0.3); }
.service-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.18em;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
}
.service-icon { width: 40px; height: 40px; color: var(--red); margin-bottom: 24px; }
.service-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 36px;
  line-height: 1;
  color: white;
  margin-bottom: 24px;
  max-width: 14ch;
}
.service-body {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  max-width: 44ch;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: gap 0.2s;
}
.service-link:hover { gap: 18px; }

/* =========================================================================
   NUMBERS (track record)
   ========================================================================= */
.numbers {
  padding: 160px var(--container-px);
  background: var(--paper-2);
}
.numbers .container { max-width: 1400px; margin: 0 auto; }
.numbers .section-label { margin-bottom: 64px; text-align: center; }
.numbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.number-item {
  padding: 72px 48px 72px;
  border-right: 1px solid var(--rule);
  margin-right: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.number-item:last-child { border-right: none; margin-right: 0; }
.number-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(100px, 12vw, 200px);
  line-height: 1;
  color: var(--navy);
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.number-value > span:nth-child(2) { color: var(--red); }
.number-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* =========================================================================
   CTA FINAL
   ========================================================================= */
.cta-final {
  padding: 120px var(--container-px);
  background: var(--navy-deep);
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.cta-final .container { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.cta-final .section-label { color: var(--red); }
.cta-final-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1;
  color: white;
  margin: 24px 0 24px;
}
.cta-final-body {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  max-width: 56ch;
  margin: 0 0 40px;
}

/* =========================================================================
   PAGE HERO (interior pages)
   ========================================================================= */
.page-hero {
  position: relative;
  min-height: 56vh;
  background: var(--navy-deep);
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 65%, #1a0c10 100%);
  z-index: 1;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 2;
  pointer-events: none;
}
.page-hero::before, .page-hero::after {
  content: '';
  position: absolute;
  width: 28px; height: 28px;
  border: 1px solid rgba(255,255,255,0.35);
  z-index: 3;
}
.page-hero::before { top: 24px; left: 24px; border-right: none; border-bottom: none; }
.page-hero::after { bottom: 24px; right: 24px; border-left: none; border-top: none; }

.page-hero-blueprint {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%;
  z-index: 2;
  opacity: 0.7;
  pointer-events: none;
}
.page-hero-blueprint svg { width: 100%; height: 100%; }

.page-hero-content {
  position: relative;
  z-index: 4;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-px);
  width: 100%;
}
.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 29, 37, 0.7);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 32px;
}
.page-hero-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.page-hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(48px, 7vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  color: white;
  margin: 0 0 28px;
  max-width: 18ch;
}
.page-hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 60ch;
}

/* =========================================================================
   CONTENT SECTIONS
   ========================================================================= */
.content-section {
  padding: 120px var(--container-px);
  background: white;
}
.content-section.alt { background: var(--paper); }
.content-inner { max-width: 1400px; margin: 0 auto; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.two-col.reverse > div:first-child { order: 2; }
.two-col.reverse > div:last-child { order: 1; }

.content-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.003em;
  color: var(--navy);
  margin: 24px 0 28px;
  max-width: 22ch;
}
.content-body {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 18px;
  max-width: 56ch;
}

/* Content visual frames (image holders w/ corner brackets) */
.content-visual {
  position: relative;
}
.content-visual::before, .content-visual::after {
  content: '';
  position: absolute;
  width: 24px; height: 24px;
  border: 1px solid var(--red);
  z-index: 2;
}
.content-visual::before { top: -12px; left: -12px; border-right: none; border-bottom: none; }
.content-visual::after { bottom: -12px; right: -12px; border-left: none; border-top: none; }

.geo-image-wrapper,
.team-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 420px;
}
.geo-overlay,
.team-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,31,86,0.4) 0%, transparent 50%, rgba(20,8,12,0.4) 100%);
  z-index: 1;
}
.geo-label,
.team-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  background: rgba(0, 19, 47, 0.8);
  padding: 8px 14px;
  border-left: 2px solid var(--red);
  z-index: 2;
}

/* =========================================================================
   STEPS LIST (how-we-work)
   ========================================================================= */
.steps-list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.step {
  border-bottom: 1px solid var(--rule);
  padding: 48px 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 48px;
  position: relative;
  counter-increment: step-counter;
}
.steps-list { counter-reset: step-counter; }
.step::before {
  content: counter(step-counter, decimal-leading-zero);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  color: var(--red);
  letter-spacing: 0.02em;
}
.step-content { padding-top: 8px; }
.step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 36px;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 16px;
}
.step-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 70ch;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
footer {
  background: var(--navy-deep);
  color: white;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-main { padding: 80px var(--container-px) 56px; }
.footer-main-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
}
.footer-brand .footer-logo { height: 56px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }

.footer-col-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  transition: color 0.2s;
}
.footer-col-links a:hover { color: white; }

.footer-bottom {
  padding: 24px var(--container-px);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-links { display: flex; gap: 28px; }
.footer-bottom-links a:hover { color: white; }
.footer-mobile-bar { display: none; }

/* =========================================================================
   REVEAL ANIMATIONS
   ========================================================================= */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-left { transform: translateX(-24px); }
.reveal-right { transform: translateX(24px); }
.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  :root { --container-px: 32px; --nav-h: 80px; }
  .nav-logo img { height: 48px; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .two-col.reverse > div:first-child,
  .two-col.reverse > div:last-child { order: initial; }
  .services-grid { grid-template-columns: 1fr; }
  .verticals-list { grid-template-columns: repeat(3, 1fr); }
  .vertical-item:nth-child(3n) { border-right: none; }
  .vertical-item:nth-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .spec-strip { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .numbers-grid { grid-template-columns: 1fr; border-top: none; }
  .number-item { border-right: none; border-top: 1px solid var(--rule); margin-right: 0; padding: 36px 0 0; }
  .footer-main-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .page-hero-blueprint { display: none; }
  .step { grid-template-columns: 80px 1fr; gap: 24px; }
  .step::before { font-size: 48px; }
}

@media (max-width: 720px) {
  :root { --container-px: 24px; }
  nav { padding: 0 20px; gap: 16px; }
  .nav-logo img { height: 40px; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    flex-direction: column;
    background: var(--navy-deep);
    padding: 40px 24px;
    gap: 24px;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform 0.3s;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-hamburger { display: flex; }

  .hero-content { padding: 56px var(--container-px) 140px; }
  .hero-scroll { left: var(--container-px); right: var(--container-px); bottom: 32px; }

  .verticals-list { grid-template-columns: repeat(2, 1fr); }
  .vertical-item:nth-child(2n) { border-right: none; }
  .vertical-item { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

  .spec-strip { grid-template-columns: 1fr; gap: 28px; padding: 28px var(--container-px); }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step::before { font-size: 36px; }
  .step-title { font-size: 28px; }

  .footer-main { padding: 56px var(--container-px) 32px; }
  .footer-main-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner > span:first-child,
  .footer-bottom-links { display: none; }
  .footer-mobile-bar {
    display: flex; flex-wrap: wrap; gap: 6px;
    width: 100%;
    align-items: center;
  }
  .footer-mobile-sep { color: rgba(255,255,255,0.2); }
}

/* =========================================================================
   LANGUAGE TOGGLE
   ========================================================================= */
.nav-lang-item { display: flex; align-items: center; }
#lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.45);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 5px 10px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
  line-height: 1;
}
#lang-toggle:hover { border-color: rgba(255, 255, 255, 0.5); color: rgba(255, 255, 255, 0.75); }
.lang-sep { color: rgba(255, 255, 255, 0.18); margin: 0 1px; }
.lang-en, .lang-es { transition: color 0.15s; }
.lang-active { color: white !important; }
