﻿@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --bg: #070707;
  --bg-elev: #111111;
  --text: #f5f5f5;
  --muted: #a1a1aa;
  --accent: #f5b800;
  --accent-soft: rgba(245, 184, 0, 0.2);
  --outline: rgba(255, 255, 255, 0.08);
  --glow: rgba(245, 184, 0, 0.45);
  --road-width: 20%;
  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  background: linear-gradient(90deg, rgba(245, 184, 0, 0.9), rgba(245, 184, 0, 0.3));
  box-shadow: 0 0 12px rgba(245, 184, 0, 0.4);
  z-index: 999;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.page-loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 12% 8%, rgba(245, 184, 0, 0.18), transparent 62%),
    radial-gradient(circle at 75% 18%, rgba(255, 255, 255, 0.035), transparent 70%),
    linear-gradient(180deg, #070707 0%, #050505 55%, #040404 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.page-loader.is-visible {
  opacity: 1;
  pointer-events: all;
}

.loader-card {
  text-align: center;
  padding: 28px 32px;
  border-radius: 16px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 14px;
  min-width: min(320px, 80vw);
}

.loader-logo {
  width: 160px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.loader-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 35%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(245, 184, 0, 0.3), rgba(245, 184, 0, 0.9));
  animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader-text {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-family: "JetBrains Mono", monospace;
}

@keyframes loaderPulse {
  0% {
    transform: translateX(-10%);
    opacity: 0.4;
  }
  50% {
    transform: translateX(70%);
    opacity: 1;
  }
  100% {
    transform: translateX(160%);
    opacity: 0.4;
  }
}

.page {
  position: relative;
  overflow-x: hidden;
}

.services-body {
  background: radial-gradient(circle at 12% 8%, rgba(245, 184, 0, 0.18), transparent 62%),
    radial-gradient(circle at 75% 18%, rgba(255, 255, 255, 0.035), transparent 70%),
    linear-gradient(180deg, #070707 0%, #050505 55%, #040404 100%);
}

.services-video-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.services-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.9);
}

.services-page {
  position: relative;
  z-index: 1;
}


.services-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(245, 184, 0, 0.08), transparent 45%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0px,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 120px
    );
  pointer-events: none;
  z-index: 0;
}

.road-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  z-index: 0;
}

.road {
  width: var(--road-width);
  transition: width 0.2s ease-out;
  height: 100%;
  background: rgba(18, 18, 18, 0.65);
  position: relative;
  display: flex;
  justify-content: center;
}

.road-lines {
  width: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 20px 0;
  opacity: 0.18;
}

.road-line {
  display: block;
  width: 100%;
  height: 44px;
  background: var(--accent);
  animation: road-flow 1.1s linear infinite;
}

.road-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(245, 184, 0, 0.35);
  box-shadow: 0 0 18px rgba(245, 184, 0, 0.4);
}

.road-edge-left {
  left: 0;
}

.road-edge-right {
  right: 0;
}

.hero {
  min-height: 100vh;
  padding: 0 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 900px;
  animation: hero-rise 1s ease-out both;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.brand-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
}

.brand-title-accent {
  color: var(--accent);
}

.brand-underline {
  width: 100%;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 20px var(--glow);
}

.brand-subtitle {
  font-family: "JetBrains Mono", "Space Grotesk", monospace;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.btn {
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #fff1bf;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  transition: opacity 0.2s ease;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: pulse 1.8s ease-in-out infinite;
}

.stats {
  padding: 140px 6vw 120px;
  position: relative;
  z-index: 1;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .section-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--outline);
  background: rgba(14, 14, 14, 0.7);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border 0.2s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(245, 184, 0, 0.28);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 184, 0, 0.4);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.immersive {
  padding: 120px 6vw 160px;
  position: relative;
  z-index: 1;
}

.immersive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.immersive-copy h2 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 24px;
  text-align: center;
}

.immersive-copy h2 span {
  color: var(--accent);
  font-style: italic;
}

.immersive-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.immersive-list {
  list-style: none;
  display: grid;
  gap: 12px;
  color: #d4d4d8;
}

.immersive-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-right: 12px;
}

.immersive-panel {
  position: relative;
  border-radius: var(--radius);
}

.panel-glow {
  position: absolute;
  inset: 10% 0 0;
  background: radial-gradient(circle at top, rgba(245, 184, 0, 0.2), transparent 65%);
  filter: blur(40px);
  z-index: 0;
}

.panel-body {
  position: relative;
  background: rgba(13, 13, 13, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 420px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.panel-status {
  text-align: right;
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.panel-status strong {
  display: block;
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 6px;
}

.panel-metrics {
  display: grid;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
}

.divider {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
}

.metric {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--muted);
}

.metric strong {
  color: var(--text);
}

.panel-chart {
  position: relative;
  flex: 1;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.6);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.icon-ghost {
  position: absolute;
  width: 120px;
  height: 120px;
  color: rgba(245, 184, 0, 0.15);
}

.bars {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 140px;
  z-index: 1;
}

.bars span {
  width: 10px;
  background: rgba(245, 184, 0, 0.4);
  border-radius: 6px 6px 0 0;
  height: 0;
  transition: height 0.8s ease;
}

.bars.is-visible span {
  height: calc(var(--bar-height) * 1%);
}

.control-center {
  display: grid;
  gap: 20px;
}

.control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.control-kicker {
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.control-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.control-badge {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(245, 184, 0, 0.15);
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.control-card {
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 8px;
  position: relative;
}

.control-card span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
}

.control-card strong {
  font-size: 1rem;
}

.control-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.control-bar span {
  display: block;
  height: 100%;
  width: var(--level, 50%);
  background: linear-gradient(90deg, var(--accent), rgba(245, 184, 0, 0.25));
  box-shadow: 0 0 12px rgba(245, 184, 0, 0.35);
}

.control-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: center;
}

.control-track {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 12px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.control-track::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 55%;
  background: linear-gradient(90deg, var(--accent), rgba(245, 184, 0, 0.2));
  animation: timeline-flow 3s ease-in-out infinite;
}

.control-step {
  text-align: center;
  display: grid;
  gap: 6px;
  z-index: 1;
  position: relative;
}

.control-step .step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto;
}

.control-step.is-active .step-dot {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(245, 184, 0, 0.5);
}

.control-step span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e4e4e7;
  font-family: "JetBrains Mono", monospace;
}

.control-card[data-tip]::after,
.control-step[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%);
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(245, 184, 0, 0.3);
  color: #f8f8f8;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.7rem;
  text-transform: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.control-card[data-tip]::before,
.control-step[data-tip]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: rgba(245, 184, 0, 0.3) transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.control-card[data-tip]:hover::after,
.control-card[data-tip]:hover::before,
.control-step[data-tip]:hover::after,
.control-step[data-tip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.control-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.control-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 720px) {
  .control-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .control-timeline {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
  }

  .control-track {
    display: none;
  }

  .control-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

.panel-timeline {
  position: relative;
  flex: 1;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.6);
  padding: 28px 24px;
  overflow: hidden;
}

.timeline-track {
  position: absolute;
  left: 36px;
  right: 36px;
  top: 50%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.timeline-track::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, var(--accent), rgba(245, 184, 0, 0.2));
  box-shadow: 0 0 20px rgba(245, 184, 0, 0.35);
  animation: timeline-flow 3s ease-in-out infinite;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}

.timeline-step {
  text-align: center;
  display: grid;
  gap: 8px;
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 6px;
  position: relative;
}

.timeline-step.is-active .step-dot {
  background: var(--accent);
  box-shadow: 0 0 18px rgba(245, 184, 0, 0.6);
}

.step-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #e4e4e7;
  font-family: "JetBrains Mono", monospace;
}

.step-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

@keyframes timeline-flow {
  0% {
    width: 25%;
  }
  50% {
    width: 75%;
  }
  100% {
    width: 45%;
  }
}

.footer {
  padding: 80px 6vw 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #000000;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  align-items: center;
  text-align: center;
}

@media (min-width: 900px) {
  .immersive-copy h2,
  .immersive-copy p,
  .immersive-list {
    text-align: left;
  }
}

@media (max-width: 1024px) {
  :root {
    --road-width: 26%;
  }

  .stats {
    padding: 110px 6vw 100px;
  }

  .immersive {
    padding: 100px 6vw 120px;
  }
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer-logo {
  display: block;
  height: 72px;
  width: auto;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--muted);
  justify-content: center;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.7rem;
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.35);
  flex-basis: 100%;
  text-align: center;
  margin-top: 18px;
}

.footer-meta {
  font-size: 0.75rem;
  font-family: "JetBrains Mono", monospace;
  color: rgba(255, 255, 255, 0.55);
  flex-basis: 100%;
  text-align: center;
  margin-top: 6px;
}

.services-hero {
  min-height: 80vh;
  padding: 120px 6vw 80px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.65));
  background-image: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.nav-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-brand {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-transform: none;
  justify-self: center;
}

.nav-logo {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}

.page-nav .nav-link:last-child {
  justify-self: end;
}

.services-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
}

.services-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  justify-items: center;
}

.services-hero-content {
  text-align: center;
  margin: 0 auto;
}

.services-hero-content .hero-actions {
  justify-content: center;
}

.services-hero {
  text-align: center;
}

.services-hero-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  transform: none;
  max-width: 720px;
}

.services-hero-mockup {
  display: grid;
  gap: 14px;
  justify-items: center;
  justify-self: center;
  transform: none;
}

.mockup-frame {
  width: min(640px, 92vw);
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: hidden;
  position: relative;
}


.mockup-frame model-viewer {
  width: 100%;
  height: 100%;
  background: transparent;
}

.mockup-caption {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.hero-kicker {
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.services-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 20px;
}

.services-hero h1 span {
  color: var(--accent);
  font-style: italic;
}

.services-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  padding: 40px 6vw 120px;
  position: relative;
  z-index: 1;
}

.section-title {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-title p {
  color: var(--muted);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  background: rgba(12, 12, 12, 0.8);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(245, 184, 0, 0.28);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 184, 0, 0.35);
}

.service-icon {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent);
  letter-spacing: 0.2em;
  font-size: 0.75rem;
}

.service-card h3 {
  font-size: 1.2rem;
}

.service-card p {
  color: var(--muted);
}

.service-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: #d4d4d8;
  font-size: 0.95rem;
}

.service-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-right: 10px;
}

.scope {
  padding: 120px 6vw;
  position: relative;
  z-index: 1;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.scope-copy h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 18px;
}

.scope-copy p {
  color: var(--muted);
  margin-bottom: 28px;
}

.scope-highlight {
  display: grid;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.scope-panel .panel-body {
  min-height: 360px;
}

.cta {
  padding: 120px 6vw 140px;
  position: relative;
  z-index: 1;
}

.cta-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  border-radius: 24px;
  padding: 64px 32px;
  background: linear-gradient(135deg, rgba(245, 184, 0, 0.18), rgba(12, 12, 12, 0.9));
  border: 1px solid rgba(245, 184, 0, 0.25);
}

.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-inner p {
  color: var(--muted);
  margin-bottom: 28px;
}

.contact-hero {
  min-height: auto;
  padding: 120px 6vw 12px;
  position: relative;
  z-index: 1;
}

.contact-hero .page-nav,
.contact-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.contact-hero .page-nav {
  margin-bottom: 28px;
}

.contact-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 8px;
  margin-top: 0;
}

.contact-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 10px;
}

.contact-hero h1 span {
  color: var(--accent);
  font-style: italic;
}

.contact-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.contact-grid {
  padding: 0 6vw 120px;
  margin-top: 0;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  justify-content: center;
}

.contact-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.85);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-card:hover,
.contact-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(245, 184, 0, 0.28);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
}

.contact-card .btn {
  width: fit-content;
}

.contact-card h2 {
  font-size: 1.3rem;
}

.contact-card p {
  color: var(--muted);
}

.contact-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.contact-card-wide {
  grid-column: span 2;
}

.map-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 300px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.icon {
  width: 32px;
  height: 32px;
}

.icon-inline {
  width: 18px;
  height: 18px;
}

.icon-small {
  width: 18px;
  height: 18px;
}

.icon-muted {
  width: 42px;
  height: 42px;
  color: rgba(245, 184, 0, 0.4);
}

@keyframes road-flow {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(40px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  :root {
    --road-width: 40%;
  }

  .brand-subtitle {
    letter-spacing: 0.2em;
    font-size: 0.8rem;
  }

  .hero {
    min-height: auto;
    padding: 90px 8vw 80px;
  }

  .brand-title {
    font-size: clamp(2.4rem, 9vw, 3.2rem);
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .panel-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .panel-status {
    text-align: left;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    justify-content: center;
    text-align: center;
  }

  .footer-copy {
    text-align: center;
  }

  .page-nav {
    grid-template-columns: 1fr;
    justify-items: flex-start;
    gap: 12px;
  }

  .page-nav .nav-link:last-child {
    justify-self: start;
  }

  .services-hero-grid {
    gap: 32px;
    grid-template-columns: 1fr;
  }

  .mockup-frame {
    width: min(460px, 90vw);
  }

  .contact-card-wide {
    grid-column: span 1;
  }
}

@media (max-width: 520px) {
  .stats {
    padding: 90px 7vw 80px;
  }

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

  .immersive {
    padding: 80px 7vw 100px;
  }

  .immersive-grid,
  .scope-grid {
    gap: 36px;
  }

  .footer-logo {
    height: 56px;
  }
}

@media (min-width: 980px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }

  .contact-card-wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
  }
}
