:root {
  --bg: #f5f7fb;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: #ffffff;
  --surface-dark: #0d1d37;
  --text: #10223f;
  --muted: #596983;
  --heading: #07172f;
  --primary: #0b2246;
  --primary-2: #153b77;
  --accent: #d89b2b;
  --accent-soft: rgba(216, 155, 43, 0.12);
  --border: rgba(16, 34, 63, 0.1);
  --shadow: 0 24px 70px rgba(8, 20, 44, 0.12);
  --shadow-strong: 0 26px 90px rgba(5, 16, 37, 0.24);
  --radius: 24px;
  --radius-sm: 16px;
  --container: min(1180px, calc(100% - 40px));
  --transition: 260ms ease;
  --hero-overlay: linear-gradient(120deg, rgba(4, 13, 28, 0.78), rgba(11, 34, 70, 0.58), rgba(216, 155, 43, 0.18));
  --grid-line: rgba(255, 255, 255, 0.08);
}

body.theme-future {
  --bg: #040a14;
  --surface: rgba(9, 17, 33, 0.8);
  --surface-strong: #091121;
  --surface-dark: #050c17;
  --text: #d7e1f5;
  --muted: #93a2be;
  --heading: #f5f8ff;
  --primary: #d9861c;
  --primary-2: #ffb34e;
  --accent: #43b6ff;
  --accent-soft: rgba(67, 182, 255, 0.16);
  --border: rgba(150, 176, 223, 0.15);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 35px 110px rgba(0, 0, 0, 0.58);
  --hero-overlay: radial-gradient(circle at top left, rgba(67, 182, 255, 0.28), transparent 35%), linear-gradient(120deg, rgba(2, 7, 16, 0.84), rgba(6, 16, 34, 0.7), rgba(217, 134, 28, 0.22));
  --grid-line: rgba(67, 182, 255, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top, rgba(216, 155, 43, 0.08), transparent 26%),
    linear-gradient(180deg, #f7f9fd 0%, var(--bg) 40%, #eef2f7 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.theme-future {
  background:
    radial-gradient(circle at 20% 20%, rgba(67, 182, 255, 0.1), transparent 24%),
    radial-gradient(circle at 80% 10%, rgba(217, 134, 28, 0.12), transparent 22%),
    linear-gradient(180deg, #030814 0%, var(--bg) 55%, #02060d 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 48px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-tag,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.section-tag::before,
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  color: var(--heading);
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 18px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.site-header.scrolled .navbar {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 60px rgba(3, 13, 28, 0.12);
  backdrop-filter: blur(16px);
}

body.theme-future .site-header.scrolled .navbar {
  background: rgba(5, 12, 23, 0.82);
  border-color: rgba(91, 138, 212, 0.22);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  aspect-ratio: 1;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 70%, var(--accent) 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(4, 13, 28, 0.12);
}

body.theme-future .brand-logo-wrap {
  background: rgba(255, 255, 255, 0.97);
}

.brand-logo {
  width: 132px;
  height: auto;
  display: block;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 0.98rem;
  color: var(--heading);
}

.brand-text small {
  color: var(--muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
}

.nav-menu a {
  position: relative;
  color: var(--heading);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  transform: scaleX(1);
}

.nav-alt-link {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.56);
}

body.theme-future .nav-alt-link {
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--heading);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.hero-media,
.hero-video,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}

.hero-overlay {
  background: var(--hero-overlay);
}

.hero-grid {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 90%);
  opacity: 0.55;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 160px 0 90px;
}

.hero-content::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 16%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 155, 43, 0.16), transparent 68%);
  filter: blur(8px);
  z-index: -1;
  animation: pulseGlow 7s ease-in-out infinite;
}

body.theme-future .hero-content::after {
  background:
    radial-gradient(circle, rgba(67, 182, 255, 0.18), transparent 58%),
    radial-gradient(circle at 60% 60%, rgba(217, 134, 28, 0.2), transparent 62%);
}

.hero-copy {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(238, 244, 255, 0.86);
}

.hero h1,
.hero .eyebrow {
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-command {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  max-width: 920px;
  margin-top: 26px;
}

.command-card {
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.command-card-primary {
  background:
    linear-gradient(135deg, rgba(11, 34, 70, 0.72), rgba(216, 155, 43, 0.22)),
    rgba(255, 255, 255, 0.08);
}

body.theme-future .command-card-primary {
  background:
    linear-gradient(135deg, rgba(67, 182, 255, 0.18), rgba(217, 134, 28, 0.24)),
    rgba(255, 255, 255, 0.05);
}

.command-label,
.panel-kicker {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.command-card strong,
.operations-panel strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.4;
}

.command-card p {
  margin: 8px 0 0;
  color: rgba(240, 245, 255, 0.74);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #f0ae37 100%);
  color: #081221;
  box-shadow: 0 16px 40px rgba(216, 155, 43, 0.26);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 22px 50px rgba(216, 155, 43, 0.34);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}

.ops-strip {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: -34px;
  padding: 18px 0;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-future .ops-strip {
  background: linear-gradient(90deg, #071224, #0a1d38, #102b4e);
}

.ops-strip-track {
  display: flex;
  gap: 38px;
  min-width: max-content;
  padding-left: 28px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: stripMove 24s linear infinite;
}

.ops-strip-track span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 38px;
  white-space: nowrap;
}

.ops-strip-track span::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(216, 155, 43, 0.75);
}

.hero-metrics article,
.value-card,
.service-card,
.stat-card,
.cta-panel,
.map-panel,
.media-panel,
.slider,
.navbar,
.site-footer,
.footer-bottom {
  backdrop-filter: blur(16px);
}

.hero-metrics article {
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.5rem;
  color: #fff;
}

.hero-metrics span {
  color: rgba(234, 240, 249, 0.8);
}

.split-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 38px;
}

.split-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.content-block > p:last-of-type {
  margin-bottom: 26px;
}

.value-list {
  display: grid;
  gap: 16px;
}

.value-card,
.service-card,
.stat-card,
.contact-card,
.map-panel,
.media-panel,
.slider,
.cta-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value-card,
.service-card,
.stat-card {
  padding: 26px;
}

.media-panel {
  overflow: hidden;
  min-height: 520px;
}

.media-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.media-panel:hover img {
  transform: scale(1.04);
}

.services-grid,
.stats-grid {
  display: grid;
  gap: 22px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% auto;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--accent-soft), transparent 68%);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-10px);
  border-color: rgba(216, 155, 43, 0.3);
  box-shadow: var(--shadow-strong);
}

.service-icon,
.stat-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
}

.service-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(11, 34, 70, 0.12), rgba(216, 155, 43, 0.18));
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--primary);
}

.why-section::before,
.cta-section::before {
  content: "";
  position: absolute;
  inset: 10% auto auto -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.stat-card {
  text-align: center;
}

.stat-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  font-weight: 800;
}

.counter {
  font-size: 2.3rem;
  color: var(--heading);
}

.slider {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.operations-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.operations-panel article {
  padding: 22px 24px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(11, 34, 70, 0.92), rgba(20, 59, 119, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-strong);
}

body.theme-future .operations-panel article {
  background:
    linear-gradient(135deg, rgba(6, 16, 34, 0.94), rgba(15, 41, 76, 0.82));
}

.slider-track {
  position: relative;
  min-height: 580px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px) scale(0.985);
  transition: opacity 400ms ease, transform 500ms ease, visibility 500ms ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}

.slide img {
  width: 100%;
  height: 580px;
  border-radius: 22px;
  object-fit: cover;
}

.slide figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(5, 15, 29, 0.72);
  color: #f3f7ff;
  backdrop-filter: blur(16px);
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(4, 14, 28, 0.56);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

.slider-control.prev {
  left: 24px;
}

.slider-control.next {
  right: 24px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 34, 63, 0.22);
  cursor: pointer;
}

.dot.active {
  width: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(11, 34, 70, 0.92), rgba(20, 59, 119, 0.85)),
    linear-gradient(135deg, rgba(216, 155, 43, 0.18), transparent);
}

.cta-panel h2,
.cta-panel .section-tag,
.cta-panel p {
  color: #fff;
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.contact-row {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.contact-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-row span {
  color: var(--heading);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-row strong,
.contact-row a {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-row a:hover,
.contact-row a:focus-visible,
.footer-copy a:hover,
.footer-copy a:focus-visible {
  color: var(--primary);
}

.map-panel {
  overflow: hidden;
  min-height: 520px;
}

.map-panel iframe {
  width: 100%;
  min-height: 520px;
  height: 520px;
  border: 0;
}

.site-footer {
  background: var(--surface-dark);
  color: rgba(234, 241, 252, 0.82);
  border-radius: 32px 32px 0 0;
  margin-top: 40px;
}

.footer-grid {
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  padding: 50px 0 30px;
  align-items: start;
}

.footer-brand .brand-text strong,
.site-footer h3 {
  color: #fff;
}

.site-footer .brand-logo-wrap {
  background: rgba(255, 255, 255, 0.96);
}

.footer-copy {
  max-width: 420px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: rgba(234, 241, 252, 0.76);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 18px 20px 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.theme-future .reveal {
  transform: translateY(32px) scale(0.985);
}

body.theme-future .reveal.is-visible {
  transform: translateY(0) scale(1);
}

@keyframes stripMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .services-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-command,
  .operations-panel {
    grid-template-columns: 1fr;
  }

  .media-panel,
  .map-panel,
  .map-panel iframe {
    min-height: 440px;
  }

  .map-panel iframe {
    height: 440px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 20px;
    left: 20px;
    display: grid;
    gap: 16px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  body.theme-future .nav-menu {
    background: rgba(5, 12, 23, 0.96);
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero-content {
    padding-top: 180px;
  }

  .hero-metrics,
  .services-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content::after {
    right: -18%;
    top: 10%;
    width: 300px;
    height: 300px;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .slider-track,
  .slide img {
    min-height: 430px;
    height: 430px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 88px 0;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  .navbar {
    padding: 14px 16px;
    margin-top: 10px;
  }

  .brand-mark {
    width: 44px;
  }

  .brand-logo {
    width: 112px;
  }

  .hero-content {
    padding: 150px 0 70px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ops-strip-track {
    gap: 24px;
    font-size: 0.75rem;
  }

  .btn {
    width: 100%;
  }

  .hero-metrics article,
  .value-card,
  .service-card,
  .stat-card,
  .contact-card,
  .cta-panel {
    padding: 22px;
  }

  .slide figcaption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
