:root {
  --bg: #080909;
  --panel: #171818;
  --panel-border: #313333;
  --text: #f4f4f4;
  --muted: #a1a1a9;
  --muted-dark: #74747c;
  --green: #19d36b;
  --green-deep: #0bbf5b;
  --grid: rgba(25, 211, 107, 0.08);
  --max: 1150px;
  --header-height: 56px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(5, 7, 7, 0.72);
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(9, 10, 10, 0.96);
  border-bottom: 1px solid rgba(25, 211, 107, 0.15);
}

.brand {
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #b8b8be;
  font-size: 14px;
  font-weight: 700;
}

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

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.section-grid {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

.narrow {
  max-width: 850px;
  text-align: center;
}

.hero {
  min-height: 636px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 9, 9, 0.32), rgba(7, 9, 9, 0.84)),
    linear-gradient(0deg, rgba(7, 9, 9, 0.22), rgba(7, 9, 9, 0.22)),
    url("../images/hero-modern-glass.png") center / cover no-repeat;
}

.hero-content {
  width: min(620px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: 26px;
  border-left: 4px solid #10d6a0;
}

.hero h1 {
  max-width: 600px;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(39px, 4.1vw, 56px);
  line-height: 1.12;
}

.hero-copy {
  max-width: 550px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 18px;
}

.hero-note {
  max-width: 560px;
  margin: 0 0 40px;
  color: var(--green);
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  background: var(--green);
  color: #020303;
  font-weight: 800;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: #34e580;
  transform: translateY(-1px);
}

.about {
  padding: 95px 0 96px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 56px;
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.image-frame img {
  width: 100%;
  min-height: 330px;
  object-fit: cover;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
}

.about-copy h2,
.contact-box h2 {
  margin: 0 0 20px;
  font-size: 26px;
  line-height: 1.2;
}

.about-copy p,
.region p,
.contact-box p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.facts {
  display: flex;
  gap: 54px;
  margin: 38px 0 30px;
}

.fact {
  min-width: 115px;
  padding-left: 16px;
  border-left: 3px solid #10d6a0;
}

.fact strong,
.service-card h3,
.region-list li {
  color: var(--green);
}

.fact strong {
  display: block;
  margin-bottom: 3px;
}

.fact span {
  color: var(--muted-dark);
}

.services {
  padding: 92px 0 100px;
  background: #121313;
}

.section-title {
  margin: 0 0 56px;
  color: #fff;
  text-align: center;
  font-size: 25px;
  line-height: 1.2;
}

.section-title span {
  color: #fff;
}

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

.service-card {
  display: flex;
  min-height: 487px;
  flex-direction: column;
  background: #191a1a;
  border: 1px solid var(--panel-border);
}

.service-card img {
  width: 100%;
  aspect-ratio: 270 / 192;
  object-fit: cover;
}

.service-card div {
  padding: 24px 24px 28px;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.22;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.28;
}

.service-card .muted {
  margin-top: 17px;
  color: var(--muted-dark);
}

.region {
  padding: 100px 0 190px;
}

.region .section-title {
  margin-bottom: 18px;
}

.region-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 30px auto 0;
  padding: 0;
  list-style: none;
}

.region-list li {
  min-height: 37px;
  padding: 7px 17px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.contact {
  padding: 0 24px 96px;
}

.contact-box {
  width: min(895px, 100%);
  margin: 0 auto;
  padding: 58px 38px;
  text-align: center;
  border: 1px solid rgba(25, 211, 107, 0.35);
  background: rgba(18, 19, 19, 0.78);
}

.contact-box p {
  max-width: 720px;
  margin: 0 auto;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e8e8e8;
  font-size: 16px;
}

.contact-links span {
  color: var(--green);
  font-size: 20px;
}

.site-footer {
  padding: 32px 24px;
  color: #55565e;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer p {
  margin: 0 0 10px;
}

.site-footer a {
  color: #777981;
  font-size: 14px;
  transition: color 160ms ease;
}

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

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

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

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 62px;
  }

  .site-header {
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .container,
  .split {
    width: min(100% - 32px, var(--max));
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    width: min(100% - 32px, 620px);
    margin-left: 16px;
    padding-left: 18px;
  }

  .hero h1 {
    font-size: 40px;
  }

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

  .about,
  .services {
    padding: 72px 0;
  }

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

  .facts {
    gap: 22px;
  }

  .region {
    padding: 76px 0 120px;
  }

  .contact {
    padding-bottom: 70px;
  }

  .contact-box {
    padding: 42px 22px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 34px;
  }

  .button {
    width: 100%;
    padding: 0 18px;
  }

  .facts,
  .contact-links {
    flex-direction: column;
  }
}
