:root {
  --ink: #07111f;
  --ink-soft: #12233a;
  --paper: #f4f7fb;
  --white: #ffffff;
  --muted: #65758b;
  --line: #dce4ee;
  --silver: #b8c4d1;
  --accent: #4de1c1;
  --accent-dark: #119e86;
  --blue: #6a8cff;
  --shadow: 0 24px 70px rgba(3, 13, 27, 0.15);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--white), var(--silver));
  border-radius: 10px;
  font-size: 19px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.brand-name {
  font-size: 21px;
  letter-spacing: -0.4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.76);
}

.site-nav a {
  transition: color 160ms ease;
}

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

.site-nav .nav-contact {
  padding: 9px 16px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 170px 0 110px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 78% 25%, #183b53 0, var(--ink) 40%, #030912 100%);
  background-size: 48px 48px, 48px 48px, auto;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}

.hero-glow-left {
  width: 320px;
  height: 320px;
  left: -190px;
  bottom: -80px;
  background: rgba(77, 225, 193, 0.12);
}

.hero-glow-right {
  width: 420px;
  height: 420px;
  top: 160px;
  right: -250px;
  background: rgba(106, 140, 255, 0.14);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: 90px;
}

.eyebrow,
.section-label {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 24px;
  height: 1px;
  background: currentColor;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--accent);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #76ecd3;
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.hero-facts {
  display: flex;
  gap: 46px;
  margin-top: 54px;
}

.hero-facts div {
  display: grid;
}

.hero-facts strong {
  color: var(--white);
  font-size: 14px;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.hero-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.card-topline {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(77, 225, 193, 0.12);
}

.tech-symbol {
  position: relative;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  margin: 32px auto;
}

.symbol-core {
  position: relative;
  z-index: 2;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--white), var(--silver));
  border-radius: 24px;
  font-size: 42px;
  font-weight: 800;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(77, 225, 193, 0.25);
  border-radius: 50%;
}

.orbit-one {
  inset: 20px;
}

.orbit-two {
  inset: 0;
  border-color: rgba(106, 140, 255, 0.18);
}

.orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.hero-card p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.activity-code {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.section {
  padding: 110px 0;
  scroll-margin-top: 30px;
}

.section-light {
  background: var(--white);
}

.section-light .section-label,
.section-services .section-label,
.section-company .section-label {
  color: var(--accent-dark);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 100px;
}

.section-copy {
  padding-top: 42px;
  color: var(--muted);
  font-size: 17px;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.section-copy strong {
  color: var(--ink);
}

.section-services {
  background: var(--paper);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 50px;
}

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

.service-card {
  min-height: 260px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.service-card.featured {
  color: var(--white);
  border-color: var(--ink-soft);
  background: var(--ink-soft);
  box-shadow: 0 18px 48px rgba(7, 17, 31, 0.15);
}

.service-number {
  margin-bottom: auto;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.featured .service-number {
  color: var(--accent);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.featured p {
  color: rgba(255, 255, 255, 0.65);
}

.section-company {
  background: var(--white);
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: 80px;
}

.company-intro p:last-child {
  color: var(--muted);
}

.company-details {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.company-details div {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-details div:nth-child(even) {
  border-right: 0;
}

.company-details div:last-child {
  border-bottom: 0;
}

.company-details .detail-wide {
  grid-column: 1 / -1;
  border-right: 0;
}

.company-details dt,
.contact-details span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.company-details dd {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
}

.active-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0a7b65;
}

.active-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-dark);
}

.section-contact {
  color: var(--white);
  background: var(--ink);
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 90px;
  align-items: start;
}

.contact-box > div > p:last-child {
  color: rgba(255, 255, 255, 0.58);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
  font-style: normal;
}

.contact-details a,
.contact-details p {
  margin: 0;
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--accent);
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.48);
  background: #030912;
  font-size: 11px;
  letter-spacing: 0.04em;
}

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

.footer-brand {
  color: var(--white);
}

.footer-inner p {
  margin: 0;
}

.copyright {
  text-align: right;
}

@media (max-width: 900px) {
  .site-nav {
    gap: 18px;
  }

  .hero-grid,
  .split-layout,
  .company-grid,
  .contact-box {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero {
    padding-top: 145px;
  }

  .hero-card {
    max-width: 520px;
  }

  .section-copy {
    padding-top: 0;
  }

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

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

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

  .copyright {
    grid-column: 1 / -1;
    text-align: left;
  }
}

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

  .site-header {
    position: absolute;
  }

  .header-inner {
    min-height: 70px;
  }

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

  .hero {
    min-height: auto;
    padding: 125px 0 82px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

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

  .hero-card {
    padding: 22px;
  }

  .tech-symbol {
    width: 190px;
    height: 190px;
  }

  .section {
    padding: 78px 0;
  }

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

  .company-details div,
  .company-details div:nth-child(even) {
    border-right: 0;
  }

  .company-details div:last-child {
    border-bottom: 0;
  }

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

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

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