:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #5e6972;
  --line: #d8dde1;
  --paper: #ffffff;
  --soft: #edf2f5;
  --navy: #0a2538;
  --deep: #061823;
  --teal: #0e6c67;
  --copper: #b95734;
  --gold: #dba945;
  --shadow: 0 24px 70px rgba(6, 24, 35, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  min-height: 76px;
  padding: 18px 48px;
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(6, 24, 35, 0.94);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
}

.site-nav a {
  padding: 9px 0;
  border-bottom: 1px solid transparent;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.nav-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 24, 35, 0.88) 0%, rgba(6, 24, 35, 0.62) 43%, rgba(6, 24, 35, 0.18) 100%),
    linear-gradient(180deg, rgba(6, 24, 35, 0.22) 0%, rgba(6, 24, 35, 0.14) 55%, rgba(6, 24, 35, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 88svh;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 138px 0 86px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.company-name {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero h1 {
  max-width: 820px;
  margin-top: 18px;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.04;
}

.hero-lead {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 34px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.hero-link:hover,
.hero-link:focus-visible {
  border-color: var(--gold);
  background: rgba(219, 169, 69, 0.18);
}

.section {
  padding: 112px 0;
  scroll-margin-top: 76px;
}

.section-inner {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
}

.section-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.section-copy p,
.service-card p,
.why-list p,
.mission-block p,
address {
  color: var(--muted);
  font-size: 1rem;
}

h2 {
  color: var(--ink);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.12;
}

h3 {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

.about-grid,
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  align-items: center;
  gap: 58px;
}

.media-panel,
.wide-media {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-panel img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
}

.split-section {
  background: var(--navy);
  color: #fff;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(380px, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 58px;
}

.wide-media {
  box-shadow: none;
}

.wide-media img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
}

.split-section h2,
.split-section h3 {
  color: #fff;
}

.split-section .section-copy p {
  color: rgba(255, 255, 255, 0.78);
}

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

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

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

.service-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 32, 0.06);
}

.service-card::before {
  display: block;
  width: 46px;
  height: 3px;
  margin-bottom: 24px;
  background: var(--copper);
  content: "";
}

.service-card p {
  margin-top: 14px;
}

.why-section {
  background: #fff;
}

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

.why-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.why-list article {
  min-height: 180px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-list h3 {
  color: var(--teal);
}

.why-list p {
  margin-top: 12px;
}

.mission-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.mission-section::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 24, 35, 0.92) 0%, rgba(6, 24, 35, 0.74) 54%, rgba(6, 24, 35, 0.42) 100%),
    linear-gradient(180deg, rgba(6, 24, 35, 0.1), rgba(6, 24, 35, 0.74));
  content: "";
}

.mission-media {
  position: absolute;
  inset: 0;
}

.mission-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.mission-block {
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.mission-block h2 {
  color: #fff;
}

.mission-block p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
}

.contacts-section {
  background: #fff;
}

address {
  max-width: 660px;
  font-style: normal;
}

.contact-email {
  width: fit-content;
  color: var(--teal);
  font-size: 1.05rem;
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--copper);
}

.contacts-media img {
  min-height: 360px;
}

.site-footer {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    padding: 16px 28px;
  }

  .nav-toggle {
    position: relative;
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 22px;
    left: 22px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(6, 24, 35, 0.98);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  }

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

  .site-nav a {
    padding: 15px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero-content,
  .section-inner {
    width: min(100% - 44px, 780px);
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .about-grid,
  .split-grid,
  .contacts-grid,
  .why-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .split-grid .wide-media {
    order: 2;
  }

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

@media (max-width: 680px) {
  .site-header {
    min-height: 70px;
    padding: 14px 18px;
  }

  .site-nav {
    top: 70px;
    right: 14px;
    left: 14px;
  }

  .hero,
  .hero-content {
    min-height: 86svh;
  }

  .hero-content {
    width: calc(100% - 36px);
    padding: 116px 0 58px;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: 2.52rem;
    line-height: 1.08;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.55;
  }

  .section {
    padding: 76px 0;
    scroll-margin-top: 70px;
  }

  .section-inner {
    width: calc(100% - 36px);
  }

  h2 {
    font-size: 1.68rem;
  }

  .media-panel img,
  .wide-media img {
    min-height: 280px;
  }

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

  .service-card,
  .why-list article {
    min-height: 0;
    padding: 24px;
  }

  .mission-block {
    padding: 22px 0;
  }

  .contacts-media img {
    min-height: 260px;
  }
}
