:root {
  --bg: #eef2f6;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --text: #1b2533;
  --muted: #5f6c7a;
  --dark: #0b1f35;
  --dark-2: #102a46;
  --line: #dbe3ec;
  --accent: #3f6e9f;
  --shadow: 0 18px 50px rgba(16, 42, 70, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(63, 110, 159, 0.08), transparent 32%),
    var(--bg);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 248, 251, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 227, 236, 0.9);
  box-shadow: 0 8px 24px rgba(16, 42, 70, 0.04);
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: grid;
  gap: 4px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand__mark {
  font-size: 15px;
}

.brand__tag {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--text);
}

.page {
  min-height: 100vh;
}

.section {
  padding: 78px 0;
}

.section--alt {
  background: var(--surface-alt);
  border-top: 1px solid rgba(219, 227, 236, 0.55);
  border-bottom: 1px solid rgba(219, 227, 236, 0.55);
}

.section--dark {
  background:
    radial-gradient(circle at top right, rgba(63, 110, 159, 0.18), transparent 30%),
    linear-gradient(135deg, var(--dark), var(--dark-2));
  color: #fff;
}

.hero {
  padding: 66px 0 58px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.hero__content {
  padding-right: 8px;
  max-width: 820px;
}

.eyebrow,
.section__label {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}

.section__label--light {
  color: rgba(255, 255, 255, 0.78);
}

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

h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero__lead,
.section__text {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.section--dark .hero__lead,
.section--dark .hero__detail,
.section--dark .section__text {
  color: rgba(255, 255, 255, 0.82);
}

.hero__detail {
  max-width: 780px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.service-card:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: #fff;
  color: var(--dark);
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.hero__panel {
  display: grid;
  gap: 10px;
}

.hero__panel-card {
  padding: 15px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.hero__panel-card span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.hero__panel-card strong {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.section__lead {
  max-width: 920px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.section__lead--narrow {
  max-width: 960px;
}

.section__grid {
  display: grid;
  gap: 26px;
}

.section__grid--text {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.contacts__intro {
  max-width: 520px;
}

.documents__body {
  display: grid;
  gap: 18px;
}

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

.documents-card {
  padding: 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(16, 42, 70, 0.05);
}

.documents-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e9eff5;
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.documents-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.documents-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.documents-note {
  margin: 2px 0 0;
  padding: 14px 16px;
  border-left: 3px solid rgba(63, 110, 159, 0.35);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

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

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 10px 24px rgba(16, 42, 70, 0.05);
}

.service-card--stacked {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-card--stacked h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.service-card--stacked p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

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

.process-card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.process-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e9eff5;
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.process-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.contacts {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contacts__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.contact-card--static {
  cursor: default;
}

.contact-card--static:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.contacts__region {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  line-height: 1.5;
}

.contact-card span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.contact-card strong {
  font-size: 16px;
  line-height: 1.45;
}

.contact-card em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.4;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.site-footer p {
  margin: 4px 0 0;
  color: var(--muted);
}

.site-footer__details {
  font-size: 13px;
  line-height: 1.45;
}

.site-footer strong {
  display: block;
}

@media (max-width: 980px) {
  .hero__grid,
  .section__grid--text {
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: none;
    padding-right: 0;
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

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

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

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

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

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

  .site-header__inner,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }

  .site-nav {
    gap: 10px 14px;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding: 54px 0 46px;
  }

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

  h1 {
    font-size: clamp(29px, 8vw, 42px);
    line-height: 1.1;
  }

  .hero__lead,
  .section__text {
    font-size: 16px;
  }

  .section__lead {
    font-size: 16px;
  }

  .hero__actions {
    gap: 10px;
  }

  .hero__actions .button {
    width: 100%;
    flex: 1 1 100%;
  }

  .hero__panel {
    display: none;
  }

  .hero__panel-card {
    padding: 14px 15px;
  }

  .service-list li {
    padding: 9px 10px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
  }

  .service-card--stacked {
    padding: 20px;
  }

  .process-card {
    padding: 20px;
  }

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

  .documents-card {
    padding: 16px;
  }

  .documents-note {
    padding: 13px 14px;
  }

  .contact-card {
    padding: 16px;
  }
}
