.sh,
.sf {
  --sh-purple: #622599;
  --sh-purple-dark: #4e1d7b;
  --sh-yellow: #d8c54e;
  --sh-yellow-dark: #c9b53f;
  --sh-text: #413d45;
  --sh-muted: #5b5b6e;
  --sh-blue: #5a66cd;
  font-family: "Montserrat", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.sh *,
.sf * {
  box-sizing: border-box;
}

.sh ul,
.sf ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sh {
  position: relative;
  z-index: 1000;
  background: #ffffff;
}

.sh-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1920px;
  height: 76px;
  margin: 0 auto;
  padding: 0 10px 0 20px;
}

.sh-logo {
  display: block;
  flex-shrink: 0;
}

.sh-logo-img {
  display: block;
  width: auto;
  height: 44px;
}

.sh-nav {
  display: none;
}

.sh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.15s;
}

.sh-btn-yellow {
  padding: 12px 20px;
  background: var(--sh-yellow);
  color: var(--sh-text);
}

.sh-btn-yellow:hover {
  background: var(--sh-yellow-dark);
  color: var(--sh-text);
}

.sh-btn-purple {
  padding: 12px 20px;
  background: var(--sh-purple);
  color: #ffffff;
}

.sh-btn-purple:hover {
  background: var(--sh-purple-dark);
  color: #ffffff;
}

.sh-mobile {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sh-btn-mobile {
  height: 46px;
  padding: 0 20px;
  font-weight: 600;
}

.sh-burger,
.sh-close {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sh-burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.sh-burger span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--sh-text);
}

.sh-close::before,
.sh-close::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--sh-text);
  transform: rotate(45deg);
}

.sh-close::after {
  transform: rotate(-45deg);
}

.sh-chevron {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: -4px;
  border-right: 2px solid var(--sh-purple);
  border-bottom: 2px solid var(--sh-purple);
  transform: rotate(45deg);
  transition: transform 0.15s, margin 0.15s;
}

.sh-panel {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: #f4f0f9;
}

.sh-panel[hidden] {
  display: none;
}

.sh-panel-top {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 10px 0 20px;
}

.sh-panel-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sh-switch {
  display: flex;
  padding: 3px;
  border: 1px solid #ddd9e2;
  border-radius: 999px;
  background: #ffffff;
}

.sh-switch-link {
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  color: var(--sh-muted);
  text-decoration: none;
}

.sh-switch-link.is-active {
  background: var(--sh-purple);
  color: #ffffff;
}

.sh-panel-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 16px 0;
}

.sh-acc {
  padding: 0 18px;
  border-radius: 14px;
  background: #ffffff;
}

.sh-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 17px;
  text-align: left;
  color: var(--sh-text);
  cursor: pointer;
}

.sh-acc.is-open .sh-chevron {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.sh-acc-list {
  display: none;
  padding-bottom: 12px;
}

.sh-acc.is-open .sh-acc-list {
  display: block;
}

.sh-acc-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  border-top: 1px solid #f1ecf6;
  font-weight: 500;
  font-size: 15px;
  color: var(--sh-muted);
  text-decoration: none;
}

.sh-acc-link:hover {
  color: var(--sh-purple);
}

.sh-panel-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sh-panel-buttons-single {
  grid-template-columns: 1fr;
}

.sh-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 8px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 17px;
  text-align: center;
  text-decoration: none;
}

.sh-tile-purple {
  background: var(--sh-purple);
  color: #ffffff;
}

.sh-tile-yellow {
  background: var(--sh-yellow);
  color: var(--sh-text);
}

.sh-panel-foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
  padding: 24px 16px 28px;
}

.sh-tagline {
  margin: 0;
  padding: 0 4px;
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  color: var(--sh-text);
}

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

.sh-social {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  font-weight: 700;
  font-size: 15px;
  color: var(--sh-text);
  text-decoration: none;
}

.sh-social:hover {
  color: var(--sh-purple);
}

html.sh-locked,
html.sh-locked body {
  overflow: hidden;
}

@media screen and (min-width: 1280px) {
  .sh-bar {
    height: 104px;
    padding: 0 32px;
  }

  .sh-logo-img {
    height: 66px;
  }

  .sh-nav {
    display: flex;
    align-items: center;
    gap: 22px;
  }

  .sh-mobile,
  .sh-panel {
    display: none;
  }

  .sh-menu {
    display: flex;
    align-items: center;
    gap: 26px;
  }

  .sh-item {
    position: relative;
  }

  .sh-item-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 104px;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-weight: 700;
    font-size: 18px;
    color: var(--sh-text);
    white-space: nowrap;
    cursor: pointer;
  }

  .sh-item-btn:hover,
  .sh-item.is-open .sh-item-btn {
    color: var(--sh-purple);
  }

  .sh-item.is-open .sh-chevron,
  .sh-item:hover .sh-chevron {
    margin-top: 4px;
    transform: rotate(-135deg);
  }

  .sh-drop {
    position: absolute;
    top: 94px;
    left: -16px;
    display: none;
    flex-direction: column;
    width: 270px;
    padding: 8px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(65, 61, 69, 0.16);
  }

  .sh-item:hover .sh-drop,
  .sh-item.is-open .sh-drop {
    display: flex;
  }

  .sh-drop-link {
    display: block;
    padding: 12px 14px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 16px;
    color: var(--sh-text);
    text-decoration: none;
  }

  .sh-drop-link:hover {
    background: #f4f0f9;
    color: var(--sh-purple);
  }

  .sh-divider {
    width: 1px;
    height: 24px;
    background: #ddd9e2;
  }

  .sh-lang {
    display: flex;
    gap: 10px;
  }

  .sh-lang-link {
    padding: 4px 0 2px;
    border-bottom: 2px solid transparent;
    font-weight: 700;
    font-size: 16px;
    color: var(--sh-muted);
    text-decoration: none;
  }

  .sh-lang-link:hover {
    color: var(--sh-purple);
  }

  .sh-lang-link.is-active {
    border-bottom-color: var(--sh-purple);
    color: var(--sh-purple);
  }

  .sh-nav .sh-btn {
    padding: 14px 24px;
    font-size: 17px;
  }
}

@media screen and (min-width: 1440px) {
  .sh-bar {
    padding: 0 64px;
  }

  .sh-nav,
  .sh-menu {
    gap: 30px;
  }
}

.sf {
  background: #faf8f1;
  color: var(--sh-text);
}

.sf-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.sf-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 16px;
  padding: 28px 22px;
  border-radius: 22px;
  background: var(--sh-purple);
  color: #ffffff;
}

.sf-cta-texts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sf-cta-title {
  margin: 0;
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  text-wrap: balance;
}

.sf-cta-text {
  margin: 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
}

.sf-cta-btn {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: 58px;
  margin-top: 6px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--sh-yellow);
  font-weight: 700;
  font-size: 18px;
  color: var(--sh-text);
  text-decoration: none;
  white-space: nowrap;
}

.sf-cta-btn:hover {
  background: var(--sh-yellow-dark);
  color: var(--sh-text);
}

.sf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 16px;
  padding: 36px 20px 24px;
}

.sf-with-cta {
  padding-top: 24px;
}

.sf-logo {
  display: block;
  grid-column: 1 / -1;
  justify-self: start;
}

.sf-logo-img {
  display: block;
  width: auto;
  height: 56px;
}

.sf-col {
  display: flex;
  flex-direction: column;
}

.sf-col-title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sh-blue);
}

.sf-link {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  color: var(--sh-text);
  text-decoration: none;
}

.sf-link:hover {
  color: var(--sh-purple);
}

.sf-contacts {
  grid-column: 1 / -1;
  gap: 10px;
}

.sf-contacts .sf-col-title {
  display: none;
}

.sf-email {
  font-weight: 700;
  font-size: 19px;
  color: var(--sh-purple);
  text-decoration: none;
}

.sf-email:hover {
  color: var(--sh-blue);
}

.sf-sign {
  display: none;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--sh-muted);
}

.sf-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}

.sf-social {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: 16px;
  color: var(--sh-text);
  text-decoration: none;
}

.sf-social:hover {
  color: var(--sh-purple);
}

.sf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 20px;
  padding: 18px 0;
  border-top: 1px solid #e6e2d6;
  font-size: 14px;
  color: var(--sh-muted);
}

.sf-lang {
  display: flex;
  gap: 8px;
}

.sf-lang-link {
  font-weight: 600;
  color: var(--sh-muted);
  text-decoration: none;
}

.sf-lang-link.is-active,
.sf-lang-link:hover {
  color: var(--sh-purple);
}

@media screen and (min-width: 768px) {
  .sf-with-cta {
    padding-top: 56px;
  }

  .sf-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 0 32px;
    padding: 44px;
    border-radius: 28px;
  }

  .sf-cta-texts {
    max-width: 900px;
  }

  .sf-cta-title {
    font-size: 36px;
    line-height: 1.15;
  }

  .sf-cta-text {
    font-size: 18px;
  }

  .sf-cta-btn {
    height: auto;
    margin-top: 0;
    padding: 22px 36px;
    font-size: 20px;
  }

  .sf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 32px;
    padding: 56px 32px 48px;
  }

  .sf-col {
    gap: 14px;
  }

  .sf-col-title {
    margin: 0;
    font-size: 14px;
  }

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

  .sf-link {
    min-height: 0;
    padding: 0;
    font-size: 18px;
  }

  .sf-contacts {
    gap: 14px;
  }

  .sf-contacts .sf-col-title,
  .sf-sign {
    display: block;
  }

  .sf-sign,
  .sf-social {
    font-size: 17px;
  }

  .sf-email {
    font-size: 20px;
  }

  .sf-social {
    min-height: 0;
  }

  .sf-bottom {
    margin: 0 32px;
    padding: 22px 0;
    font-size: 15px;
  }

  .sf-lang {
    gap: 10px;
  }
}

@media screen and (min-width: 1200px) {
  .sf-cta {
    gap: 48px;
    margin: 0 64px;
    padding: 56px;
  }

  .sf-cta-title {
    font-size: 46px;
  }

  .sf-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding: 56px 64px 48px;
  }

  .sf-logo,
  .sf-contacts {
    grid-column: auto;
  }

  .sf-logo-img {
    height: 76px;
  }

  .sf-bottom {
    margin: 0 64px;
  }
}
