* {
  box-sizing: border-box;
}

.site-topbar {
  background: #252837;
  color: #f5f5f5;
  min-height: 58px;
}

.site-topbar__inner,
.site-header__inner {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
}

.site-topbar__inner {
  display: flex;
  justify-content: flex-end;
  gap: 48px;
  align-items: center;
  min-height: 58px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-topbar a {
  color: #f4dbe7;
  text-decoration: none;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e6e8ec;
  position: relative;
  z-index: 30;
}

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

.site-logo img {
  display: block;
  width: 301px;
  max-width: 42vw;
  height: auto;
}

.site-logo--text {
  display: inline-flex;
  flex-direction: column;
  color: #10182b;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  text-decoration: none;
  text-transform: uppercase;
}

.site-logo--text span:first-child {
  font-size: clamp(22px, 2.3vw, 31px);
}

.site-logo--text span:last-child {
  margin-top: 4px;
  color: #9c405b;
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 0.18em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #7a8194;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a,
.site-nav button {
  color: inherit;
  background: transparent;
  border: 0;
  padding: 10px 0;
  font: inherit;
  text-transform: inherit;
  text-decoration: none;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav button:hover,
.site-nav .is-active {
  color: #67324c;
}

.site-nav__item {
  position: relative;
}

.site-nav__submenu {
  position: absolute;
  z-index: 40;
  top: 100%;
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid #d8dce5;
  box-shadow: 0 10px 24px rgba(20, 28, 42, 0.16);
  display: none;
}

.site-nav__item:hover .site-nav__submenu,
.site-nav__item:focus-within .site-nav__submenu,
.site-nav__item.is-open .site-nav__submenu {
  display: block;
}

.site-nav__submenu a {
  display: block;
  padding: 9px 14px;
  white-space: nowrap;
}

.site-mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid #d8dce5;
  cursor: pointer;
}

.site-mobile-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  background: #253957;
}

.site-footer {
  background: #252837;
  color: #b3a1a9;
  padding: 46px 20px 22px;
  font-family: Arial, Helvetica, sans-serif;
}

.site-footer__inner {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
}

.site-footer__columns {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.site-footer__column + .site-footer__column {
  border-left: 1px solid rgba(179, 161, 169, 0.35);
  padding-left: 34px;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: #b3a1a9;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0 0 12px;
  color: #b3a1a9;
  font-size: 13px;
  line-height: 1.5;
}

.site-footer a {
  color: #b3a1a9;
  font-weight: 700;
  text-decoration: none;
}

.site-footer__signup {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.site-footer__signup input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(232, 228, 219, 0.7);
  background: transparent;
  color: #ffffff;
  padding: 11px 12px;
  font: inherit;
}

.site-footer__signup button {
  border: 0;
  background: #67324c;
  color: #ffffff;
  padding: 11px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-footer__bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(179, 161, 169, 0.25);
  text-align: center;
  color: #dbdbdb;
  font-size: 14px;
}

@media (max-width: 820px) {
  .site-topbar__inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 12px 0;
    text-align: center;
  }

  .site-header__inner {
    min-height: auto;
    padding: 18px 0;
    flex-wrap: wrap;
  }

  .site-logo img {
    max-width: 72vw;
  }

  .site-logo--text {
    max-width: calc(100% - 58px);
  }

  .site-mobile-toggle {
    display: inline-flex;
    margin-left: auto;
  }

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

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

  .site-nav a,
  .site-nav button {
    width: 100%;
    text-align: left;
    padding: 10px 0;
  }

  .site-nav__submenu {
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 0 0 6px 16px;
  }

  .site-footer__columns {
    grid-template-columns: 1fr;
  }

  .site-footer__column + .site-footer__column {
    border-left: 0;
    border-top: 1px solid rgba(179, 161, 169, 0.35);
    padding: 24px 0 0;
  }

  .site-footer__signup {
    flex-direction: column;
  }
}
