/* ============================================
   ZYRØ LMC — Executive Minimal Landing Page
   ============================================ */

:root {
  --ink:      #0a0a0a;
  --ink-soft: #111111;
  --z-900:    #1a1a1a;
  --z-800:    #252525;
  --z-700:    #363636;
  --z-600:    #505050;
  --z-500:    #707070;
  --z-400:    #999999;
  --z-300:    #c0c0c0;
  --z-200:    #dedede;
  --z-100:    #f0f0f0;
  --white:    #ffffff;

  --sans:     'Space Grotesk', sans-serif;
  --body:     'Inter', sans-serif;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  --border: 1px solid var(--z-800);
  --nav-h: 64px;
  --ease: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  color-scheme: dark;
}

body {
  background: var(--ink);
  color: var(--z-300);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body.menu-open { overflow: hidden; }

img, svg, video, iframe { max-width: 100%; }
iframe { display: block; }

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 400;
  background: linear-gradient(to right, var(--z-600), var(--white) 60%, var(--z-400));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  opacity: 0.9;
}

.touch-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 68%);
  pointer-events: none;
  z-index: 40;
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: transform, opacity;
}
.touch-glow.is-on { opacity: 1; }

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  transform: scale(0);
  animation: ripple-out 0.65s ease-out forwards;
  pointer-events: none;
  z-index: 3;
}
@keyframes ripple-out {
  to { transform: scale(1); opacity: 0; }
}

/* ============================================
   INTRO
   ============================================ */
.intro {
  position: fixed;
  inset: 0;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
}

.intro-logo-img {
  height: clamp(40px, 8vw, 72px);
  width: auto;
  visibility: hidden;
  filter: invert(1);
  mix-blend-mode: lighten;
}

.loading-gif-img {
  position: fixed;
  bottom: 20px;
  left: 0;
  height: clamp(28px, 4vw, 44px);
  width: auto;
  pointer-events: none;
  will-change: transform;
  z-index: 50;
  opacity: 0;
}

/* ============================================
   MAIN — starts hidden, GSAP reveals it
   ============================================ */
.main {
  visibility: hidden;
  opacity: 0;
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--z-500);
  text-transform: uppercase;
}

.section-title {
  font-family: var(--sans);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--z-800);
}

section[id] {
  scroll-margin-top: calc(var(--nav-h) + env(safe-area-inset-top) + 12px);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  min-height: 44px;
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              transform 0.18s ease, box-shadow 0.18s ease;
  border: none;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background: var(--white);
  color: var(--ink);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  animation: btn-shimmer 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes btn-shimmer {
  0%, 100% { left: -80%; opacity: 0; }
  20%       { opacity: 1; }
  50%       { left: 130%; opacity: 0; }
}
.btn-primary:active { background: var(--z-200); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--z-700);
}
.btn-outline:active { border-color: var(--z-400); background: var(--z-900); }
.btn-ghost {
  background: transparent;
  color: var(--z-400);
  padding: 0.7rem 0;
  font-size: 0.9rem;
  overflow: visible;
}
.btn-ghost:active { color: var(--white); }
.btn-full { width: 100%; justify-content: center; }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--z-200);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,255,255,0.07);
  }
  .btn-outline:hover {
    border-color: var(--z-400);
    transform: translateY(-1px);
  }
  .btn-ghost:hover { color: var(--white); }
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: env(safe-area-inset-top)
    max(clamp(1.25rem, 4vw, 3rem), env(safe-area-inset-right))
    0
    max(clamp(1.25rem, 4vw, 3rem), env(safe-area-inset-left));
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px) saturate(0);
  border-bottom: 1px solid rgba(255,255,255,0.045);
  transition: transform 0.28s ease, border-color 0.2s ease;
}
.nav.is-hidden { transform: translateY(-100%); }

.nav-logo {
  margin-right: auto;
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand-logo {
  height: 26px;
  width: auto;
  display: block;
  filter: invert(1);
  mix-blend-mode: lighten;
}
.brand-logo--lg { height: 32px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}
.nav-links a {
  color: var(--z-500);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transition: transform 0.22s ease;
  transform-origin: center;
}
.nav-links a.is-active { color: var(--white); }
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-cta { margin-left: 2.5rem; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  z-index: 110;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  top: calc(var(--nav-h) + env(safe-area-inset-top));
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  padding: 1.5rem clamp(1.25rem, 4vw, 2rem) 2.5rem;
  padding-bottom: calc(2.5rem + env(safe-area-inset-bottom));
  flex-direction: column;
  gap: 2rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}
.nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-drawer-links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  color: var(--z-300);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--z-800);
  transition: color 0.2s;
}
.nav-drawer-links a.is-active,
.nav-drawer-links a:active { color: var(--white); }
.nav-drawer-cta { align-self: stretch; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 4rem) clamp(1.25rem, 4vw, 3rem) 5rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}
.hero-photo {
  grid-column: 1 / -1;
  border-radius: var(--r-lg);
  border: var(--border);
  overflow: hidden;
  width: 100%;
  max-width: min(100%, 72dvh);
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  background: var(--ink-soft);
}
.hero-photo.has-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, black 10%, transparent 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -10%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.01) 40%, transparent 68%);
  pointer-events: none;
}

.hero > *,
.about-inner > *,
.contact-grid > *,
.services-grid > *,
.coverage-grid > * {
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--z-500);
  border: 1px solid var(--z-800);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2.2rem;
  text-transform: uppercase;
  max-width: 100%;
}
.hero-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--z-500);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

.hero-title {
  font-family: var(--sans);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
}
.hero-title-gradient {
  background: linear-gradient(165deg, var(--white) 30%, var(--z-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--z-600);
}

.hero-desc {
  color: var(--z-500);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2.75rem;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 2.2rem;
}

/* Hero right column */
.hero-right {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--z-800);
  border: 1px solid var(--z-800);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.hero-metric {
  background: var(--ink-soft);
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem);
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.hero-metric-value {
  font-family: var(--sans);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 48px rgba(255,255,255,0.18);
}
.hero-metric-label {
  font-size: 0.8rem;
  color: var(--z-500);
  letter-spacing: 0.04em;
}

.hero-quote {
  background: var(--z-900);
  padding: 2rem 2.2rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--z-300);
  line-height: 1.5;
  border-top: none;
}
.hero-quote span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--z-600);
  text-transform: uppercase;
  margin-top: 0.75rem;
}

/* ============================================
   MARQUEE / TICKER
   ============================================ */
.ticker {
  border-top: var(--border);
  border-bottom: var(--border);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.ticker-track {
  display: inline-flex;
  gap: 3rem;
  animation: ticker 22s linear infinite;
}
.ticker-item {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--z-600);
  text-transform: uppercase;
  flex-shrink: 0;
}
.ticker-item span { color: var(--z-800); margin-right: 3rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: clamp(4rem, 10vw, 8rem) 0;
  border-top: var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.about-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: var(--border);
  align-self: start;
  width: 100%;
  max-width: min(100%, 70dvh);
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  background: var(--ink-soft);
}
.about-photo.has-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-inner:has(.about-photo.has-img) .about-caps {
  grid-column: 1 / -1;
  padding-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4rem;
}

.about-label { margin-bottom: 1.5rem; }
.about-title { margin-bottom: 2rem; }

.about-body {
  color: var(--z-500);
  font-size: 0.98rem;
  line-height: 1.8;
}
.about-body p + p { margin-top: 1.2rem; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 3rem;
}

.stat-block {
  padding: 1.75rem 1.5rem;
  border-right: var(--border);
}
.stat-block:last-child { border-right: none; }

.stat-num {
  font-family: var(--sans);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  text-shadow: 0 0 40px rgba(255,255,255,0.15);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--z-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* About right: capabilities list */
.about-caps {
  padding-top: 3.5rem;
}

.cap-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.75rem 0.5rem;
  border-bottom: var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease;
  border-radius: var(--r-sm);
}
.cap-item:first-child { border-top: var(--border); }

@media (hover: hover) and (pointer: fine) {
  .cap-item:hover { background: var(--z-900); }
}

.cap-num {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--z-700);
  letter-spacing: 0.1em;
  padding-top: 0.15rem;
  width: 24px;
  flex-shrink: 0;
}

.cap-body h4 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.cap-body p {
  font-size: 0.88rem;
  color: var(--z-600);
  line-height: 1.6;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: clamp(4rem, 10vw, 8rem) 0;
  border-top: var(--border);
}

.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.svc {
  padding: 0;
  border-right: var(--border);
  border-bottom: var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  flex-direction: column;
}
.svc-body {
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.4rem, 3vw, 2.5rem);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.svc-photo {
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}
.svc-photo.has-img { display: block; }
.svc:has(.svc-photo.has-img) .svc-icon { display: none; }
.svc:has(.svc-photo.has-img) .svc-num { margin-bottom: 1.1rem; }
.svc:active { background: var(--z-900); }
.svc:nth-child(3n) { border-right: none; }
.svc:nth-child(4), .svc:nth-child(5), .svc:nth-child(6) { border-bottom: none; }

.svc-num {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--z-700);
  margin-bottom: 2rem;
}

.svc-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
  color: var(--z-500);
}
.svc-icon svg { width: 100%; height: 100%; }

.svc h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.svc p {
  font-size: 0.88rem;
  color: var(--z-600);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.svc-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--z-600);
  border: 1px solid var(--z-800);
  padding: 0.18rem 0.55rem;
  border-radius: 3px;
}

/* ============================================
   PROJECTS
   ============================================ */
.projects {
  padding: 8rem 0;
  border-top: var(--border);
}

.projects-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 320px 240px;
  border: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  gap: 1px;
  background: var(--z-800);
}

.proj {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink-soft);
}
.proj.featured { grid-row: span 2; }

.proj-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.proj:hover .proj-bg { transform: scale(1.04); }

.proj-bg-1 { background: linear-gradient(150deg, #1c1c1c 0%, #141414 100%); }
.proj-bg-2 { background: linear-gradient(150deg, #181818 0%, #0f0f0f 100%); }
.proj-bg-3 { background: linear-gradient(150deg, #202020 0%, #161616 100%); }
.proj-bg-4 { background: linear-gradient(150deg, #1a1a1a 0%, #111111 100%); }

.proj-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.proj-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--z-500);
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.proj h3 {
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.proj.featured h3 { font-size: 2rem; }

.proj p {
  font-size: 0.88rem;
  color: var(--z-500);
  line-height: 1.6;
  max-width: 340px;
  margin-bottom: 1.25rem;
}

.proj-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--z-300);
  text-decoration: none;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s;
}
.proj:hover .proj-arrow { opacity: 1; transform: translateX(0); }
.proj-arrow:hover { color: var(--white); }

/* ============================================
   PROCESS
   ============================================ */
.process {
  padding: clamp(4rem, 10vw, 8rem) 0;
  border-top: var(--border);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 4rem;
}

.step {
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.4rem, 3vw, 2rem);
  border-right: var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease;
}
.step:last-child { border-right: none; }
.step:active { background: var(--z-900); }

.step-num {
  font-family: var(--sans);
  font-size: 3rem;
  font-weight: 700;
  color: var(--z-800);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  display: block;
}

.step h4 {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.85rem;
  color: var(--z-600);
  line-height: 1.65;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: clamp(4rem, 10vw, 8rem) 0;
  border-top: var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: start;
}

.contact-info .label { margin-bottom: 1.5rem; }
.contact-info .section-title { margin-bottom: 1.5rem; }

.contact-info > p {
  color: var(--z-500);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.c-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--z-400);
}
.c-item svg { width: 18px; height: 18px; color: var(--z-600); flex-shrink: 0; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--z-600);
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background: var(--ink-soft);
  border: 1px solid var(--z-800);
  border-radius: var(--r-sm);
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: var(--body);
  font-size: 0.93rem;
  transition: border-color 0.2s;
  resize: vertical;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--z-700); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--z-600); }

/* ============================================
   MEXICO MAP
   ============================================ */
.mexico-map-wrap {
  margin: 3rem 0 3.5rem;
}

.mexico-map-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  line-height: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: var(--border);
}

.mexico-map-img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%) brightness(0.3) contrast(1.8);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              transform-origin 0s;
  will-change: transform;
}

.mexico-map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.map-hit-area {
  fill: transparent;
  cursor: crosshair;
  transition: fill 0.2s ease;
}
.map-hit-area:hover {
  fill: rgba(255,255,255,0.05);
}

@keyframes map-pulse {
  0%   { r: 5px; opacity: 0.7; }
  100% { r: 20px; opacity: 0; }
}

.pin-ring {
  fill: none;
  stroke: var(--white);
  stroke-width: 0.8;
  r: 5px;
  opacity: 0;
  animation: map-pulse 2.8s ease-out infinite;
  animation-delay: var(--delay, 0s);
}
.pin-ring-2 { animation-delay: calc(var(--delay, 0s) + 1.4s); }

.pin-dot {
  fill: var(--z-300);
}
.pin-dot--hq {
  fill: var(--white);
}

.pin-label {
  font-family: var(--sans);
  font-size: 9px;
  fill: var(--z-500);
  font-weight: 700;
  letter-spacing: 0.08em;
  pointer-events: none;
  text-transform: uppercase;
}
.pin-label--end { text-anchor: end; }

@media (prefers-reduced-motion: reduce) {
  .pin-ring { animation: none; r: 9px; opacity: 0.2; }
}

/* ============================================
   COVERAGE
   ============================================ */
.coverage {
  padding: clamp(4rem, 10vw, 8rem) 0;
  border-top: var(--border);
}

.coverage-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.coverage-sub {
  color: var(--z-500);
  font-size: 0.98rem;
  line-height: 1.75;
  padding-bottom: 0.25rem;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--z-800);
  border: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.coverage-card {
  background: var(--ink-soft);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: background 0.2s ease;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.coverage-card:active { background: var(--z-900); }
.coverage-card.hq    {
  background: var(--z-900);
  background-image: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255,255,255,0.04) 0%, transparent 60%);
}
.coverage-card.hq:active { background: var(--z-800); }

.coverage-card-top {}

.coverage-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--z-600);
  text-transform: uppercase;
  border: 1px solid var(--z-800);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}
.coverage-card.hq .coverage-badge {
  color: var(--z-300);
  border-color: var(--z-600);
}

.coverage-card-body {
  flex: 1;
}

.coverage-city {
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.coverage-state {
  font-size: 0.82rem;
  color: var(--z-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.coverage-detail {
  font-size: 0.82rem;
  color: var(--z-600);
  margin-top: 0.5rem;
}

.coverage-card-foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--z-800);
}

.coverage-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--z-500);
  flex-shrink: 0;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.coverage-status {
  font-size: 0.75rem;
  color: var(--z-600);
  letter-spacing: 0.04em;
}

/* ============================================
   SERVICE WIDE CARD
   ============================================ */
.svc-highlight {
  grid-column: span 2;
  background: var(--z-900);
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.4rem, 3vw, 2.5rem);
}
.svc-highlight h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 0.75rem;
}
.svc-wide-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.svc-wide-content .btn { flex-shrink: 0; }
.svc-wide-content p { max-width: 520px; }
.svc-wide-content h3 { color: var(--white); }
.svc-wide-content p  { color: var(--z-500); font-size: 0.92rem; line-height: 1.7; }

/* ============================================
   PHOTO SLOTS — assets/imagenes
   ============================================ */
.photo-slot {
  margin: 0;
  position: relative;
  background: var(--ink-soft);
  overflow: hidden;
}
.photo-slot:not(.has-img) { display: none; }
@keyframes photo-reveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.photo-slot.has-img > img { animation: photo-reveal 0.6s ease-out both; }
.photo-slot img,
.photo-slot-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: grayscale(1) contrast(1.05) brightness(0.88);
  transition: filter 0.45s ease;
}
html.is-scrolling .photo-slot.has-img img {
  filter: grayscale(0.25) contrast(1.05) brightness(0.96);
}
@media (prefers-reduced-motion: reduce) {
  .photo-slot.has-img > img { animation: none; }
  .photo-slot img,
  .photo-slot-img {
    filter: grayscale(0.25) contrast(1.05) brightness(0.96);
  }
}

.gallery {
  padding: clamp(4rem, 10vw, 8rem) 0;
  border-top: var(--border);
}
.gallery.is-empty { display: none; }
.gallery .label { margin-bottom: 0.8rem; }
.gallery .section-title { margin-bottom: 3rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 1px;
  background: var(--z-800);
  border: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.gallery-item {
  min-height: 0;
  overflow: hidden;
}
.gallery-item.has-img { display: block; }
.gallery-item--wide {
  grid-column: 2 / -1;
}

.contact-visual {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--z-800);
  border: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.office-photo {
  width: 100%;
  max-width: min(100%, 70dvh);
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  height: auto;
  background: var(--ink-soft);
}
.office-photo.has-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-visual .map-wrap {
  border: none;
  border-radius: 0;
  flex: 1;
}

/* ============================================
   MAP
   ============================================ */
.map-wrap {
  border: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 280px;
  height: min(420px, 55vh);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%) contrast(0.9) brightness(0.8);
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: var(--border);
  padding: 4rem 0 2.5rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: var(--border);
  margin-bottom: 2rem;
}

.footer-logo {
  margin-bottom: 0.8rem;
}

.footer-brand p {
  color: var(--z-600);
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--z-600);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.25rem;
}

.footer-col a {
  color: var(--z-600);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p { color: var(--z-700); font-size: 0.82rem; }

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--white); }
  .nav-links a:hover::after { transform: scaleX(1); }
  .hero-metric:hover { background: var(--z-900); }
  .svc:hover { background: var(--z-900); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
  .coverage-card:hover { background: var(--z-900); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
  .coverage-card.hq:hover { background: var(--z-800); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }
  .step:hover { background: var(--z-900); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
  .footer-col a:hover { color: var(--z-200); }
  .nav-drawer-links a:hover { color: var(--white); }
}

/* ============================================
   RESPONSIVE — desktop / tablet / phone
   ============================================ */
@media (max-width: 1200px) {
  .hero { grid-template-columns: 1fr minmax(260px, 360px); gap: 3rem; }
}

@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-drawer { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: calc(var(--nav-h) + env(safe-area-inset-top) + 3rem) clamp(1.25rem, 4vw, 2rem) 4rem;
  }
  .hero-title { font-size: clamp(2.4rem, 6vw, 4rem); }
  .hero-desc { max-width: none; }

  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-caps { padding-top: 0; }
  .about-inner:has(.about-photo.has-img) .about-caps { grid-template-columns: 1fr; }
  .about-photo {
    width: 100%;
    max-width: min(100%, 78dvh);
  }
  .hero-photo {
    max-width: min(100%, 78dvh);
  }
  .office-photo {
    max-width: min(100%, 78dvh);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
  }
  .gallery-item--wide { grid-column: auto; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc:nth-child(3n) { border-right: var(--border); }
  .svc:nth-child(2n) { border-right: none; }
  .svc:nth-child(4) { border-bottom: var(--border); }
  .svc:nth-child(5), .svc:nth-child(6) { border-bottom: none; }
  .svc-highlight { grid-column: 1 / -1; }

  .coverage-grid { grid-template-columns: 1fr 1fr; }
  .coverage-head { gap: 2rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .process-steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(3) { border-right: var(--border); border-top: var(--border); }
  .step:nth-child(4) { border-right: none; border-top: var(--border); }

  .services-head { flex-wrap: wrap; gap: 1.25rem; }
}

@media (max-width: 768px) {
  .hero-title { font-size: clamp(2.05rem, 9vw, 2.75rem); }
  .hero-title-outline { -webkit-text-stroke-width: 0.8px; }
  .hero-badge { letter-spacing: 0.1em; font-size: 0.62rem; max-width: 100%; }

  .coverage-head { grid-template-columns: 1fr; gap: 1.25rem; }
  .services-head, .projects-head { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .services-head .btn { width: 100%; }

  .footer-top { flex-direction: column; gap: 2.5rem; }
  .footer-nav { gap: 2rem; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }

  .ticker-item { font-size: 0.68rem; }
  .hero-photo,
  .about-photo,
  .office-photo {
    max-width: min(100%, 85dvh);
    border-radius: var(--r-md);
  }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-item { height: 220px; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; border-radius: var(--r-md); }
  .svc { border-right: none !important; border-bottom: var(--border) !important; }
  .svc:last-child { border-bottom: none !important; }
  .svc-highlight { grid-column: 1 / -1; }
  .svc-wide-content { flex-direction: column; align-items: flex-start; }
  .svc-wide-content .btn { width: 100%; }

  .coverage-grid { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr; }
  .step { border-right: none !important; border-top: none !important; border-bottom: var(--border); }
  .step:last-child { border-bottom: none; }

  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .stat-block { padding: 1.1rem 0.75rem; }
  .stat-num { font-size: 1.45rem; }

  .map-wrap { height: 280px; }

  .hero-quote { font-size: 0.95rem; padding: 1.4rem 1.5rem; }

  .hero-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero-metric:nth-child(3) { grid-column: 1 / -1; }
  .hero-quote { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .intro-logo-img { height: 36px; }
  .about-stats { grid-template-columns: 1fr; }
  .stat-block { border-right: none; border-bottom: var(--border); }
  .stat-block:last-child { border-bottom: none; }
  .footer-nav { flex-direction: column; gap: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.85rem; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-ghost { justify-content: center; }
}

@media (min-width: 1440px) {
  .hero { max-width: 1360px; }
  .container { max-width: 1240px; }
}

/* ─── LOCOMOTIVE-STYLE EFFECTS ──────────────────────────────────────────────── */

/* Overscroll */
html { overscroll-behavior: none; }

/* Custom cursor — desktop only */
#cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  #cursor { display: block; }
  html, a, button { cursor: none; }
}
.cursor-dot {
  position: absolute;
  width: 5px; height: 5px;
  background: var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: absolute;
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease, border-color 0.4s;
}
.cursor-ring.is-hovered {
  width: 54px; height: 54px;
  border-color: rgba(255,255,255,0.75);
}

/* Text line reveal */
.reveal-line {
  display: block;
  overflow: hidden;
  line-height: inherit;
}
.reveal-line-inner {
  display: block;
  line-height: inherit;
}

/* Photo slot subtle parallax container */
.photo-slot { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; overscroll-behavior: auto; }
  .ticker-track,
  .coverage-dot { animation: none; }
  .ripple { animation: none; display: none; }
  .touch-glow,
  .scroll-progress,
  .nav { transition: none; }
}
