body {
  padding-top: 72px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(8, 21, 44, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.site-header__container,
.footer .container {
  width: min(1180px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
}

.site-header__content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  height: 72px;
  gap: 36px;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo__img {
  display: block;
  width: auto;
  height: 64px;
  padding: 5px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  display: block;
  box-sizing: border-box;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #7a90b0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.site-nav__link:hover {
  color: #fff;
}

.site-nav__link--gochat {
  color: #fff;
  background: rgba(0, 120, 212, 0.2);
  border-color: rgba(26, 143, 227, 0.5);
  box-shadow:
    0 0 0 1px rgba(26, 143, 227, 0.16) inset,
    0 0 22px rgba(0, 120, 212, 0.36);
  text-shadow: 0 0 12px rgba(215, 232, 255, 0.34);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.site-header__phone {
  color: #7a90b0;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, #1a8fe3, #0078d4);
  box-shadow: 0 10px 22px rgba(0, 120, 212, 0.28);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-header__burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.6);
}

.footer {
  background: linear-gradient(180deg, #0d1b35 0%, #08152c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 64px 0 max(0px, env(safe-area-inset-bottom));
  color: #7a90b0;
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer__main {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
}

.footer__logo-img {
  height: 68px;
  width: auto;
  padding: 5px;
  filter: brightness(0) invert(1);
  opacity: 0.82;
}

.footer__tagline {
  margin: 0;
  color: #7a90b0;
  font-size: 14px;
  line-height: 1.6;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__column-title {
  margin: 0 0 4px;
  color: #3a5070;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__link {
  color: #7a90b0;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.footer__link:hover {
  color: #d7e8ff;
}

.footer__text {
  color: #7a90b0;
  font-size: 14px;
  line-height: 1.5;
}

.footer__requisites {
  max-width: 760px;
  margin-top: 44px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.footer__requisites-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__requisite-line {
  margin: 0;
  color: #6f83a4;
}

.footer__requisite-separator {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.18);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.22);
  font-size: 12px;
}

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

.footer__legal-link {
  color: rgba(255, 255, 255, 0.22);
  font-size: 12px;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .site-header__phone {
    display: none;
  }

  .site-nav__list {
    gap: 0;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .site-header__content {
    display: flex;
    justify-content: space-between;
  }

  .site-header__nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: calc(100vh - 72px);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 16px 16px 24px;
    background: rgba(8, 21, 44, 0.97);
    border-bottom: 1px solid rgba(26, 143, 227, 0.14);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: all 0.25s ease;
  }

  .site-header__nav--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav__list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav__link {
    width: 100%;
    padding: 10px 12px;
    font-size: 16px;
  }

  .site-nav__link--gochat {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
  }

  .site-header__actions .site-header__cta {
    display: none;
  }

  .site-header__burger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 48px 0 max(0px, env(safe-area-inset-bottom));
  }

  .footer__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  body {
    padding-top: 68px;
  }

  .site-header,
  .site-header__content {
    height: 68px;
  }

  .site-logo__img {
    height: 58px;
  }

  .site-header__nav {
    top: 68px;
    min-height: calc(100vh - 68px);
    max-height: calc(100vh - 68px);
  }
}

@media (max-width: 480px) {
  .footer__links {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
