:root {
  --ink: #10242c;
  --muted: #5d6e75;
  --paper: #f3f7f8;
  --white: #ffffff;
  --night: #06171e;
  --night-soft: #0a222c;
  --line: rgba(16, 55, 68, 0.14);
  --blue: #168ec0;
  --blue-light: #58c4e6;
  --teal: #124d62;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(4, 31, 42, 0.09);
  --type-label: 13px;
  --type-small: 15px;
  --type-body: 17px;
  --type-lead: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--type-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body,
a,
button {
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--night);
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 42%, rgba(22, 142, 192, 0.2), transparent 28%),
    radial-gradient(circle at 96% 6%, rgba(88, 196, 230, 0.08), transparent 24%),
    linear-gradient(135deg, #06171e 0%, #082631 64%, #0c3442 100%);
}

.hero::after {
  position: absolute;
  right: -220px;
  bottom: -320px;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(105, 207, 238, 0.14);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(117, 203, 229, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 203, 229, 0.12) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to right, transparent 8%, black 55%, transparent 100%);
}

.topline {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-name {
  display: inline-block;
  color: #299ec9;
  background: linear-gradient(180deg, #54c8e9 0%, #258fbd 52%, #0a5d89 100%);
  background-clip: text;
  font-family: "Arial Black", Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(20px, 1.7vw, 25px);
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: var(--type-small);
  font-weight: 600;
}

.nav a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--white);
}

.nav .nav-contact {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--white);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1fr) 560px;
  align-items: center;
  gap: 50px;
  padding: 72px 0 84px;
}

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

.eyebrow {
  display: flex;
  margin: 0 0 18px;
  align-items: center;
  gap: 10px;
  color: var(--blue-light);
  font-size: var(--type-label);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: currentColor;
}

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

p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  text-wrap: balance;
}

h1 {
  max-width: 800px;
  margin: 0 0 28px;
  font-size: clamp(44px, 5.7vw, 76px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 em,
h2 em {
  color: var(--blue-light);
  font-style: normal;
}

.lead {
  max-width: 690px;
  margin: 0;
  color: rgba(231, 244, 248, 0.77);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  color: #04151c;
  background: var(--blue-light);
}

.button-primary:hover {
  background: #7bd6f0;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.17);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts {
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 58px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-facts div {
  display: grid;
  gap: 4px;
  padding-right: 18px;
}

.hero-facts strong {
  color: var(--white);
  font-size: 17px;
  line-height: 1.35;
}

.hero-facts span {
  color: rgba(211, 231, 237, 0.53);
  font-size: 14px;
  line-height: 1.35;
}

.system-map {
  position: relative;
  width: 560px;
  height: 480px;
  overflow: visible;
  justify-self: end;
  border: 1px solid rgba(117, 210, 238, 0.17);
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 56%, rgba(28, 139, 177, 0.18), transparent 39%),
    linear-gradient(145deg, rgba(7, 37, 47, 0.86), rgba(5, 24, 31, 0.54));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 34px 80px rgba(0, 10, 14, 0.18);
  isolation: isolate;
}

.system-map::before {
  position: absolute;
  z-index: -1;
  top: 55%;
  left: 50%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(35, 160, 202, 0.08);
  filter: blur(46px);
  transform: translate(-50%, -50%);
  content: "";
}

.map-caption {
  position: absolute;
  z-index: 5;
  top: 20px;
  right: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(207, 235, 243, 0.49);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.map-caption strong {
  color: rgba(226, 244, 249, 0.68);
  font-size: 11px;
  font-weight: 800;
}

.map-orbit {
  position: absolute;
  z-index: 1;
  top: 55%;
  left: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.map-orbit-outer {
  width: 290px;
  border: 1px solid rgba(111, 213, 242, 0.23);
  box-shadow: 0 0 70px rgba(35, 160, 202, 0.08);
}

.map-orbit-inner {
  width: 202px;
  border: 1px dashed rgba(111, 213, 242, 0.2);
}

.map-spokes {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.map-spokes i {
  position: absolute;
  top: 55%;
  left: 50%;
  width: 145px;
  height: 1px;
  background: linear-gradient(90deg, rgba(106, 209, 239, 0.42), rgba(106, 209, 239, 0.08));
  transform: rotate(var(--angle));
  transform-origin: 0 50%;
}

.map-spokes i::after {
  position: absolute;
  top: 50%;
  right: -2px;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(137, 222, 246, 0.7);
  border-radius: 50%;
  background: #0b3341;
  box-shadow: 0 0 14px rgba(88, 196, 230, 0.6);
  transform: translateY(-50%);
  content: "";
}

.map-center {
  position: absolute;
  z-index: 3;
  top: 55%;
  left: 50%;
  display: flex;
  width: 166px;
  height: 166px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(111, 213, 242, 0.52);
  border-radius: 50%;
  color: rgba(225, 244, 249, 0.62);
  background: linear-gradient(145deg, rgba(12, 65, 82, 0.96), rgba(5, 31, 40, 0.98));
  box-shadow:
    inset 0 0 44px rgba(46, 183, 224, 0.11),
    0 0 0 8px rgba(35, 160, 202, 0.035),
    0 0 72px rgba(7, 103, 139, 0.22);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.map-center strong {
  margin: 6px 0 7px;
  color: var(--white);
  font-size: 25px;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-align: center;
  text-transform: none;
}

.map-center small {
  padding-top: 7px;
  border-top: 1px solid rgba(134, 220, 245, 0.2);
  color: var(--blue-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.map-nodes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-node {
  position: absolute;
  z-index: 4;
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 7px;
  border: 1px solid rgba(117, 210, 238, 0.28);
  border-radius: 14px;
  color: rgba(235, 248, 251, 0.9);
  background: rgba(4, 27, 35, 0.93);
  box-shadow:
    0 12px 28px rgba(0, 12, 17, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  line-height: 1;
  white-space: nowrap;
}

.map-node > span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(104, 210, 241, 0.22);
  border-radius: 9px;
  color: var(--blue-light);
  background: rgba(56, 171, 207, 0.09);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.map-node strong {
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.01em;
}

.map-node::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.node-1::after,
.node-4::after {
  left: 50%;
  width: 1px;
  height: 17px;
  background: linear-gradient(rgba(106, 209, 239, 0.5), rgba(106, 209, 239, 0.16));
  transform: translateX(-50%);
}

.node-1::after {
  top: 100%;
}

.node-4::after {
  bottom: 100%;
  background: linear-gradient(rgba(106, 209, 239, 0.16), rgba(106, 209, 239, 0.5));
}

.node-2::after,
.node-3::after,
.node-5::after,
.node-6::after {
  top: 50%;
  width: 33px;
  height: 1px;
  transform: translateY(-50%);
}

.node-2::after,
.node-3::after {
  right: 100%;
  background: linear-gradient(90deg, rgba(106, 209, 239, 0.16), rgba(106, 209, 239, 0.5));
}

.node-5::after,
.node-6::after {
  left: 100%;
  background: linear-gradient(90deg, rgba(106, 209, 239, 0.5), rgba(106, 209, 239, 0.16));
}

.node-1 { top: calc(55% - 209px); left: 50%; transform: translateX(-50%); }
.node-2 { top: calc(55% - 96px); left: calc(50% + 158px); }
.node-3 { top: calc(55% + 49px); left: calc(50% + 158px); }
.node-4 { top: calc(55% + 161px); left: 50%; transform: translateX(-50%); }
.node-5 { top: calc(55% + 49px); right: calc(50% + 158px); }
.node-6 { top: calc(55% - 96px); right: calc(50% + 158px); }

.section {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 42px;
}

.section-heading h2,
.about h2,
.contacts h2 {
  margin: 0;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.section-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: var(--type-lead);
}

.services {
  background:
    radial-gradient(circle at 5% 20%, rgba(68, 177, 211, 0.08), transparent 25%),
    var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  padding: 24px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 0 0 rgba(4, 31, 42, 0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::after {
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(22, 142, 192, 0.12);
  border-radius: 50%;
  content: "";
}

.service-card:hover {
  border-color: rgba(22, 142, 192, 0.25);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(22, 142, 192, 0.09);
  font-size: 12px;
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: #4c626b;
  font-size: var(--type-body);
  line-height: 1.5;
}

.statement {
  color: var(--white);
  background: linear-gradient(110deg, #0d4c61 0%, #116c8d 58%, #168ec0 100%);
}

.statement-inner {
  position: relative;
  display: grid;
  min-height: 340px;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 28px;
  overflow: hidden;
}

.statement-mark {
  align-self: start;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.14);
  font-family: Georgia, serif;
  font-size: 220px;
  line-height: 1;
}

.statement p {
  max-width: 940px;
  margin: 0;
  font-size: clamp(29px, 4vw, 49px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.statement strong {
  color: #bdefff;
  font-weight: 740;
}

.cycle {
  color: var(--white);
  background:
    radial-gradient(circle at 90% 0%, rgba(26, 144, 184, 0.18), transparent 30%),
    var(--night);
}

.section-heading-light > p {
  color: rgba(218, 237, 242, 0.6);
}

.cycle-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.cycle-list li {
  display: grid;
  min-height: 168px;
  align-content: start;
  padding: 24px 26px 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.cycle-list span {
  margin-bottom: 26px;
  color: var(--blue-light);
  font-size: 14px;
  font-weight: 800;
}

.cycle-list strong {
  margin-bottom: 6px;
  font-size: 23px;
  line-height: 1.25;
}

.cycle-list small {
  max-width: 270px;
  color: rgba(219, 237, 242, 0.72);
  font-size: 16px;
  line-height: 1.45;
}

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 100px;
}

.about-copy {
  padding-top: 35px;
}

.about-copy p {
  color: var(--muted);
  font-size: var(--type-lead);
}

.about-copy .about-lead {
  margin-top: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 570;
  line-height: 1.45;
}

.object-types {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 38px;
}

.object-types span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #36515b;
  background: #f7fafb;
  font-size: 14px;
  font-weight: 700;
}

.contacts {
  padding: 108px 0 0;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 28%, rgba(24, 145, 186, 0.2), transparent 25%),
    linear-gradient(135deg, #07191f, #092631);
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
  gap: 100px;
  padding-bottom: 95px;
}

.contacts-lead {
  max-width: 600px;
  margin: 25px 0 0;
  color: rgba(218, 237, 242, 0.65);
  font-size: var(--type-lead);
}

.contact-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-item {
  display: grid;
  gap: 5px;
  padding: 22px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

a.contact-item {
  transition: padding-left 0.2s ease, background 0.2s ease;
}

a.contact-item:hover {
  padding-left: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.contact-item span {
  color: rgba(211, 234, 240, 0.52);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item strong {
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 580;
}

.contact-placeholder strong {
  color: rgba(255, 255, 255, 0.42);
}

.footer {
  display: grid;
  min-height: 118px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(210, 232, 238, 0.47);
  font-size: 14px;
}

.footer-brand {
  display: inline-flex;
  justify-self: start;
  text-decoration: none;
}

.footer-brand .brand-name {
  font-size: 18px;
}

.footer p {
  margin: 0;
  text-align: center;
}

.footer > a:last-child {
  justify-self: end;
  color: rgba(233, 247, 250, 0.75);
  font-weight: 700;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 4px;
}

@media (max-width: 1120px) {
  .hero-content {
    display: block;
    min-height: 0;
  }

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

  .system-map {
    margin: 72px auto 0;
    justify-self: auto;
  }
}

@media (max-width: 1040px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 220px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 32px, 680px);
  }

  .hero {
    min-height: auto;
  }

  .topline {
    min-height: 86px;
  }

  .brand-name {
    font-size: 19px;
  }

  .nav a:not(.nav-contact) {
    display: none;
  }

  .nav .nav-contact {
    padding: 8px 15px;
  }

  .hero-content {
    display: block;
    min-height: 0;
    padding: 84px 0 72px;
  }

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

  .system-map {
    width: 560px;
    margin: 70px auto 0;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading,
  .about-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .statement-inner {
    min-height: 300px;
    grid-template-columns: 80px 1fr;
  }

  .statement-mark {
    font-size: 150px;
  }

  .cycle-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    gap: 5px;
  }

  .about-copy {
    padding-top: 20px;
  }

  .contacts-grid {
    gap: 52px;
    padding-bottom: 72px;
  }
}

@media (max-width: 640px) {
  .brand-name {
    font-size: 17px;
  }

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

  h1 {
    font-size: clamp(40px, 11.7vw, 48px);
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-facts div {
    grid-template-columns: 120px 1fr;
    align-items: baseline;
  }

  .system-map {
    display: none;
  }

  .section-heading h2,
  .about h2,
  .contacts h2 {
    font-size: 36px;
  }

  .service-grid,
  .cycle-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-number {
    margin-bottom: 20px;
  }

  .statement-inner {
    display: block;
    min-height: 0;
    padding: 72px 0;
  }

  .statement-mark {
    position: absolute;
    top: -15px;
    left: -5px;
    margin: 0;
  }

  .statement p {
    position: relative;
    z-index: 1;
    font-size: 30px;
  }

  .cycle-list li {
    min-height: 0;
  }

  .cycle-list span {
    margin-bottom: 24px;
  }

  .about-copy .about-lead {
    font-size: 20px;
  }

  .contacts {
    padding-top: 80px;
  }

  .footer {
    min-height: 190px;
    grid-template-columns: 1fr auto;
  }

  .footer p {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
