:root {
  --bg: #eef0f2;
  --surface: #ffffff;
  --text: #171a1f;
  --muted: #575e68;
  --navy: #1f2329;
  --navy-2: #353b44;
  --accent: #4a515d;
  --line: rgba(23, 26, 31, 0.14);
  --shadow-lg: 0 24px 56px rgba(10, 10, 12, 0.16);
  --shadow-md: 0 12px 30px rgba(10, 10, 12, 0.12);
  --radius-xl: 26px;
  --radius-lg: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 420px at -8% -12%, rgba(31, 35, 41, 0.08), transparent 65%),
    radial-gradient(760px 360px at 108% 5%, rgba(53, 59, 68, 0.08), transparent 62%),
    radial-gradient(620px 280px at 48% 102%, rgba(74, 81, 93, 0.07), transparent 70%),
    linear-gradient(180deg, #fafbfc 0%, #f1f3f6 48%, #ebedf0 100%),
    var(--bg);
  line-height: 1.65;
  position: relative;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.global-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.map-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(980px, 92vw);
  aspect-ratio: 1000 / 520;
  transform: translate(-50%, -50%);
}

.map-art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  opacity: 0.33;
  filter: drop-shadow(0 0 2px rgba(14, 16, 19, 0.3));
}

.network-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.network-routes path {
  fill: none;
  stroke: rgba(47, 91, 255, 0.38);
  stroke-width: 1.8;
  stroke-dasharray: 5 10;
}

.beam {
  position: absolute;
  width: 68px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 91, 255, 0), rgba(47, 91, 255, 1));
  filter: drop-shadow(0 0 10px rgba(47, 91, 255, 0.95));
  offset-rotate: auto;
}

.beam::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #4d78ff;
  box-shadow: 0 0 14px rgba(77, 120, 255, 0.96);
}

.beam-1 {
  offset-path: path("M160 330 C 300 275, 430 270, 560 293");
  animation: beamTravel 6.8s linear infinite;
}

.beam-3 {
  offset-path: path("M560 293 C 680 333, 770 381, 862 445");
  animation: beamTravel 6.3s linear infinite 0.55s;
}

.beam-4 {
  offset-path: path("M558 295 C 500 315, 448 347, 418 403");
  animation: beamTravelReverse 7.9s linear infinite 1.8s;
}

.beam-5 {
  offset-path: path("M420 403 C 520 435, 620 473, 732 501");
  animation: beamTravel 7.1s linear infinite 2.5s;
}

.beam-6 {
  offset-path: path("M256 371 C 350 389, 445 399, 540 393");
  animation: beamTravelReverse 8.2s linear infinite 3s;
}

.beam-8 {
  offset-path: path("M560 293 C 680 333, 770 381, 862 445");
  animation: beamTravelReverse 8.4s linear infinite 4.6s;
}

.header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 246, 248, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.94rem;
}

.menu a:hover {
  color: var(--navy-2);
}

.menu-btn {
  display: none;
}

.hero {
  padding: 2rem 0 1.2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.1rem;
}

.hero-image {
  min-height: 500px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(120deg, rgba(31, 35, 41, 0.25), rgba(31, 35, 41, 0.05)),
    url("../img/banner.png") center/cover no-repeat;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 20%, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(18, 20, 24, 0.16));
}

.hero-panel {
  border-radius: var(--radius-xl);
  background:
    linear-gradient(155deg, var(--surface), #f4f5f7 68%),
    repeating-linear-gradient(135deg, rgba(31, 35, 41, 0.02) 0 10px, rgba(74, 81, 93, 0.02) 10px 20px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.65rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.lead {
  margin: 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  padding: 0.68rem 1.2rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
}

.btn-outline {
  color: var(--text);
  border-color: var(--line);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.trust-row span {
  border-radius: 999px;
  padding: 0.24rem 0.6rem;
  border: 1px solid rgba(31, 35, 41, 0.2);
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}


.stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.stats article {
  background: linear-gradient(160deg, rgba(31, 35, 41, 0.96), rgba(20, 22, 27, 0.95));
  color: #f5f9ff;
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(103, 110, 121, 0.28);
}

.stats h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.stats p {
  margin: 0;
  color: rgba(245, 249, 255, 0.85);
  font-size: 0.86rem;
}

.section {
  padding: 2.4rem 0;
}

.section-head {
  margin-bottom: 1rem;
}

.glass {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
  padding: 1.25rem;
}

.glass p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.glass p:last-child {
  margin-bottom: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
  padding: 1.15rem;
  transition: transform 200ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.icon-badge {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 47, 82, 0.11);
  border: 1px solid rgba(15, 47, 82, 0.2);
  flex: 0 0 auto;
}

.icon-badge svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: var(--navy);
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.timeline article {
  border-radius: var(--radius-lg);
  padding: 1.05rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(240, 247, 255, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
}

.step {
  display: inline-block;
  border-radius: 999px;
  padding: 0.16rem 0.5rem;
  background: rgba(31, 35, 41, 0.12);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr 1.1fr;
  gap: 1rem;
}

.contact-media {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  min-height: 180px;
}

.contact-media img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  height: 180px;
  box-shadow: 0 8px 18px rgba(15, 16, 19, 0.14);
}

.contact-media h3 {
  font-size: 1.08rem;
}

.contact-media p {
  margin: 0;
  color: var(--muted);
}

.contact-note {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  min-height: 180px;
}

.contact-note img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  height: 180px;
  box-shadow: 0 8px 18px rgba(15, 16, 19, 0.14);
}

.contact-note h3 {
  font-size: 1.08rem;
}

.contact-note p {
  margin: 0;
  color: var(--muted);
}

.contact-info p {
  margin: 0 0 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.48rem;
}

.inline-icon {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 35, 41, 0.1);
  border: 1px solid rgba(31, 35, 41, 0.18);
  flex: 0 0 auto;
}

.inline-icon svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: var(--navy);
}

.form {
  display: grid;
  gap: 0.45rem;
}

label {
  font-size: 0.9rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0.72rem 0.8rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.95);
}

input:focus,
textarea:focus {
  border-color: var(--navy-2);
  outline: 2px solid rgba(74, 81, 93, 0.2);
}

.form-note {
  margin: 0;
  color: var(--navy);
  min-height: 1.4em;
  font-size: 0.92rem;
}

.footer {
  padding: 2.2rem 0 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes beamTravel {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }

  12% {
    opacity: 0.95;
  }

  88% {
    opacity: 0.95;
  }

  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

@keyframes beamTravelReverse {
  0% {
    offset-distance: 100%;
    opacity: 0;
  }

  12% {
    opacity: 0.95;
  }

  88% {
    opacity: 0.95;
  }

  100% {
    offset-distance: 0%;
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .hero,
  .stats,
  .cards,
  .timeline,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 320px;
  }

  .map-layer {
    width: 128vw;
  }

  .map-art-img {
    opacity: 0.22;
  }

  .beam {
    width: 52px;
  }
}

@media (max-width: 760px) {
  .menu-btn {
    display: inline-flex;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    border-radius: 10px;
    padding: 0.42rem 0.62rem;
    font-weight: 700;
  }

  .menu {
    position: absolute;
    top: 66px;
    right: 4%;
    width: min(250px, 82vw);
    display: grid;
    padding: 0.85rem;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
