:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-muted: #eef3f7;
  --text: #17212b;
  --muted: #5a6875;
  --line: #d9e2ea;
  --primary: #146c94;
  --primary-dark: #0d4966;
  --accent: #f2a541;
  --shadow: 0 18px 50px rgba(23, 33, 43, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(247, 249, 251, 0.9);
  border-bottom: 1px solid rgba(217, 226, 234, 0.8);
  backdrop-filter: blur(16px);
}

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

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--text);
  color: #ffffff;
  font-size: 14px;
}

.brand__text {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.nav a,
.footer a,
.requisites a {
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.nav a:hover,
.footer a:hover,
.requisites a:hover {
  color: var(--primary);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--primary-dark);
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: calc(100vh - 75px);
  display: flex;
  align-items: center;
  padding: 64px clamp(20px, 5vw, 72px) 92px;
  overflow: hidden;
  background: #0f1f2e;
  color: #ffffff;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  content: "";
  background: linear-gradient(180deg, rgba(15, 31, 46, 0), var(--bg));
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 78px);
}

.hero__lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

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

.button--primary {
  background: var(--accent);
  color: #1b1f24;
}

.button--primary:hover {
  background: #ffc15f;
}

.button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

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

.section {
  padding: 84px clamp(20px, 5vw, 72px);
}

.section--intro {
  padding-top: 56px;
}

.section--muted {
  background: var(--surface-muted);
}

.section__inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.section h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

.intro-grid p:last-child,
.contacts__text {
  margin: 40px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(23, 33, 43, 0.03);
}

.service-card__icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: var(--radius);
  background: #d9eef7;
  color: var(--primary-dark);
  font-weight: 800;
}

.service-card h3 {
  margin: 24px 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.process-item strong {
  color: var(--primary-dark);
  font-size: 20px;
}

.process-item span {
  color: var(--muted);
  font-size: 18px;
}

.contacts__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: start;
}

.contacts__text {
  max-width: 560px;
  margin: 18px 0 28px;
}

.requisites {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.requisites div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

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

.requisites dt {
  color: var(--muted);
  font-weight: 700;
}

.requisites dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 700px;
    padding-top: 74px;
  }

  .intro-grid,
  .cards-grid,
  .contacts__inner {
    grid-template-columns: 1fr;
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .footer {
    flex-wrap: wrap;
  }

  .brand__text {
    display: none;
  }

  .header-action {
    min-height: 38px;
  }

  .hero {
    min-height: 680px;
    padding-bottom: 80px;
  }

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

  .button {
    width: 100%;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

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

  .requisites div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
