:root {
  --navy-950: #020817;
  --navy-900: #061126;
  --navy-800: #0b1b3a;
  --blue-500: #0f8cff;
  --blue-400: #23b3ff;
  --cyan-300: #78f4ff;
  --ink: #081225;
  --muted: #5e6b80;
  --line: #e5edf7;
  --panel: #ffffff;
  --soft: #f6f9fd;
  --shadow: 0 22px 60px rgba(8, 18, 37, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section-dark {
  color: #ffffff;
  background: radial-gradient(circle at 75% 20%, rgba(35, 179, 255, 0.24), transparent 34%), linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(2, 8, 23, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.brand.small {
  font-size: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 28px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: 740px;
  padding: 180px 0 120px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 78%, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 570px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
}

.eyebrow.blue {
  color: var(--blue-500);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.93;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--blue-400);
}

.hero-subtitle {
  max-width: 430px;
  margin-bottom: 34px;
  font-size: clamp(18px, 2vw, 23px);
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  color: #ffffff;
  box-shadow: 0 14px 35px rgba(15, 140, 255, 0.34);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.64);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.route-map {
  position: absolute;
  top: 120px;
  right: -110px;
  width: min(760px, 62vw);
  height: 500px;
  opacity: 0.96;
  z-index: 1;
}

.map-dots {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 42%, rgba(35, 179, 255, 0.55) 1px, transparent 2px),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.28) 1px, transparent 2px),
    radial-gradient(circle at 52% 55%, rgba(35, 179, 255, 0.38) 1px, transparent 2px);
  background-size: 17px 17px, 21px 21px, 26px 26px;
  clip-path: polygon(1% 30%, 14% 20%, 27% 28%, 34% 18%, 48% 24%, 61% 19%, 78% 27%, 94% 20%, 99% 42%, 82% 52%, 72% 74%, 56% 64%, 38% 72%, 25% 61%, 13% 72%, 4% 55%);
  opacity: 0.55;
}

.routes {
  position: absolute;
  inset: 0;
  filter: drop-shadow(0 0 14px rgba(35, 179, 255, 0.4));
}

.routes path {
  fill: none;
  stroke: url(#routeGradient);
  stroke-width: 2.1;
  stroke-linecap: round;
}

.routes .arrow-path {
  stroke-width: 4;
  filter: url(#glow);
}

.routes .hub {
  fill: #ffffff;
  filter: url(#glow);
}

.routes .node {
  fill: var(--cyan-300);
  filter: url(#glow);
}

.services,
.about,
.insights {
  padding: 82px 0;
}

.section-heading.centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.section-heading h2,
.about h2,
.insights h2,
.contact h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.service-card {
  padding: 34px;
  min-height: 286px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.icon-wrap,
.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #e9f5ff;
  color: var(--blue-500);
  font-size: 29px;
  font-weight: 800;
}

.service-card h3 {
  margin: 24px 0 8px;
  font-size: 23px;
  line-height: 1.2;
}

.service-card p,
.about-copy p,
.value-item p,
.insights-panel p {
  color: var(--muted);
}

.accent-line {
  display: block;
  width: 34px;
  height: 3px;
  margin: 0 0 18px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-300));
}

.about {
  background:
    radial-gradient(circle at 88% 20%, rgba(15, 140, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff, var(--soft));
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.about-copy p:last-child {
  font-size: 17px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(8, 18, 37, 0.08);
  overflow: hidden;
}

.value-item {
  padding: 30px 24px;
  text-align: center;
}

.value-item + .value-item {
  border-left: 1px solid var(--line);
}

.value-item h4 {
  margin: 18px 0 8px;
  font-size: 17px;
}

.value-item p {
  margin-bottom: 0;
  font-size: 14px;
}

.insights {
  background: #ffffff;
}

.insights-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(135deg, #ffffff, #f5f9ff);
}

.insights-panel p:last-child {
  font-size: 17px;
  margin-bottom: 0;
}

.contact {
  padding: 66px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 44px;
  align-items: center;
}

.mail-icon {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--blue-400);
  font-size: 42px;
  box-shadow: inset 0 0 35px rgba(35, 179, 255, 0.11);
}

.contact p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.email-link {
  display: inline-block;
  color: var(--blue-400);
  font-size: 20px;
  font-weight: 800;
}

.footer {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.socials {
  display: flex;
  gap: 14px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-weight: 800;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 18px;
    background: rgba(2, 8, 23, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .nav-links a::after {
    bottom: 8px;
    left: 14px;
    right: auto;
    width: 34px;
  }

  .hero {
    min-height: auto;
    padding: 150px 0 86px;
  }

  .route-map {
    opacity: 0.25;
    right: -220px;
    width: 800px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .card-grid,
  .about-grid,
  .insights-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .value-item + .value-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .container,
  .nav-wrap {
    width: min(100% - 28px, 1120px);
  }

  .brand {
    font-size: 27px;
  }

  .hero {
    padding-top: 136px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .card-grid {
    gap: 22px;
  }

  .service-card,
  .insights-panel {
    padding: 26px;
  }

  .services,
  .about,
  .insights {
    padding: 62px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .socials {
    justify-content: center;
  }
}
