/* Шапка, первый экран, подвал. */

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo:hover {
  text-decoration: none;
}

.logo img {
  width: 34px;
  height: 34px;
}

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}

.nav a:hover {
  color: var(--brand);
  text-decoration: none;
}

.burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 19px;
  cursor: pointer;
}

/* Первый экран */
.hero {
  background: linear-gradient(180deg, var(--bg-lavender) 0%, #f4f5fe 62%, #fff 100%);
  padding: 72px 0 64px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero__lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 30px;
}

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

.hero__note {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0;
}

.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__art img {
  width: min(420px, 100%);
  filter: drop-shadow(0 26px 44px rgba(35, 30, 140, 0.22));
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding: 30px 0 0;
  margin-top: 34px;
  border-top: 1px solid rgba(35, 30, 140, 0.12);
}

.facts__value {
  font-size: 30px;
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1.1;
}

.facts__label {
  font-size: 14px;
  color: var(--ink-soft);
}

/* Подвал */
.footer {
  background: #0f0f1c;
  color: #c8c9dd;
  padding: 56px 0 32px;
  font-size: 15px;
}

.footer a {
  color: #c8c9dd;
}

.footer a:hover {
  color: #fff;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  margin-bottom: 12px;
}

.footer__brand img {
  width: 32px;
  height: 32px;
}

.footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer__bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: #7c7d96;
  font-size: 13px;
}

@media (max-width: 940px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions,
  .facts {
    justify-content: center;
  }

  .hero__art {
    order: -1;
  }

  .hero__art img {
    width: min(280px, 68%);
  }

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

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }

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

  .nav a {
    padding: 13px var(--gutter);
  }

  .header__inner .btn {
    display: none;
  }

  .burger {
    display: block;
  }

  .facts {
    gap: 22px;
  }

  .facts > div {
    flex: 1 1 40%;
  }

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