:root {
  --site-index-shell-gutter: clamp(12px, 3.6vw, 36px);
  --site-index-header-page-padding-top: clamp(12px, 2vw, 19px);
  --site-index-bar-pad-x: clamp(18px, 4.5vw, 44px);
  --site-index-bar-min-height: clamp(64px, 10vw, 84px);
  --site-index-bar-radius: clamp(12px, 2.5vw, 15px);
  --site-index-logo-size: clamp(43px, 11vw, 49px);
  --site-index-menu-font-size: clamp(14px, 1.25vw, 16px);
  --site-index-menu-gap: clamp(20px, 2.5vw, 44px);
  --site-index-nav-margin-left: clamp(24px, 6vw, 110px);
  --site-index-dropdown-font-size: clamp(14px, 1.1vw, 16px);
  --site-index-contacts-gap: clamp(16px, 2.5vw, 32px);
  --site-index-header-menu-color: #000000;
  --site-index-header-city-font-size: clamp(18px, 2.2vw, 20px);
  --site-index-color-white: #ffffff;
  --site-index-color-black: #000000;
  --site-index-color-card-dark: #2e1938;
  --site-index-mobile-title-size: clamp(16px, 4.2vw, 20px);
  --site-index-mobile-link-size: clamp(14px, 3.8vw, 16px);
  --site-index-mobile-city-size: clamp(22px, 6vw, 28px);
  --site-index-mobile-btn-size: clamp(16px, 4.2vw, 18px);
  --site-index-mobile-btn-radius: clamp(12px, 3vw, 16px);
  --site-index-radius-sm: 15px;
}

body.site-index-page #main > .container {
  padding-top: 0;
}

body.site-index-home {
  background-color: #f8f8f8;
}

body.site-index-mobile-menu-open {
  overflow: hidden;
}

.site-index-shell-container {
  width: min(100% - 2 * var(--site-index-shell-gutter), 1370px);
  max-width: 1370px;
  margin-inline: auto;
}

/* Header — обычный блок в потоке страницы (без sticky) */
.site-index-header {
  position: relative;
  z-index: 100;
  margin-top: 0;
  padding: var(--site-index-header-page-padding-top) var(--site-index-shell-gutter) 0;
  font-family: 'Roboto', sans-serif;
}

.site-index-header__bar {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: var(--site-index-bar-min-height);
  background: var(--site-index-color-white);
  border-radius: var(--site-index-bar-radius);
}

.site-index-header__bar.site-index-shell-container {
  margin-inline: auto;
  padding: 0 var(--site-index-bar-pad-x);
}

.site-index-header__logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  align-self: center;
}

.site-index-header__logo img {
  display: block;
  width: var(--site-index-logo-size);
  height: auto;
}

.site-index-header__nav {
  flex: 1;
  min-width: 0;
  margin-left: var(--site-index-nav-margin-left);
}

.site-index-header__menu {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--site-index-menu-gap);
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Бургер: три линии → крестик (как academy.ya-comissar.ru SiteHeader.vue) */
.site-index-header__burger {
  display: none;
  position: relative;
  z-index: 3;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
  margin-left: auto;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
  line-height: 0;
  -webkit-appearance: none;
  appearance: none;
}

.site-index-header__burger-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 28px;
  height: 22px;
  pointer-events: none;
}

.site-index-header__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--site-index-color-black);
  transform-origin: center;
  transition:
    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.22s ease,
    width 0.22s ease;
}

.site-index-header__burger--open .site-index-header__burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-index-header__burger--open .site-index-header__burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-index-header__burger--open .site-index-header__burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-index-header__menu-item {
  --dropdown-gap: 45px;
  position: relative;
}

.site-index-header__menu-item::after {
  content: '';
  position: absolute;
  left: -20px;
  right: -20px;
  top: 100%;
  height: var(--dropdown-gap);
}

.site-index-header__menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  color: var(--site-index-header-menu-color);
  font-size: var(--site-index-menu-font-size);
  white-space: nowrap;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 400;
}

/* Десктопное меню: fluid scaling через rem (эталон 16px root на 1451px+) */
@media (min-width: 901px) {
  .site-index-header {
    font-size: clamp(10px, calc(100vw / 90.6875), 16px);
    --site-index-bar-min-height: 5.25rem;
    --site-index-logo-size: 3.0625rem;
    --site-index-menu-gap: 3.75rem;
    --site-index-menu-font-size: 1rem;
    --site-index-dropdown-font-size: 0.9375rem;
    --site-index-nav-margin-left: clamp(1.5rem, 6vw, 6.875rem);
    --site-index-header-city-font-size: clamp(0.875rem, 1.6vw, 1.25rem);
    --site-index-contacts-gap: 2rem;
  }

  .site-index-header__bar.site-index-shell-container {
    padding: 0 2.75rem;
  }

  .site-index-header__menu-item {
    --dropdown-gap: 2.8125rem;
  }

  .site-index-header__menu-item::after {
    left: -1.25rem;
    right: -1.25rem;
  }

  .site-index-header__menu-trigger {
    gap: 0.5rem;
    padding: 0.25rem 0;
  }

  .site-index-header__menu-trigger,
  .site-index-header__menu-trigger span {
    font-size: 1rem;
  }

  .site-index-header__menu-arrow {
    width: 1.1875rem;
    height: 1.1875rem;
  }

  .site-index-header__dropdown {
    min-width: 17.5rem;
    padding: 0.75rem 0;
  }

  .site-index-header__dropdown-item a {
    padding: 0.625rem 1.25rem;
  }

  .site-index-header__phone,
  .site-index-header__auth-link,
  .site-index-header__auth-link--btn {
    font-size: 1.25rem;
  }

  .site-index-header__contacts {
    margin-left: 1.5rem;
  }
}

.site-index-header__menu-arrow {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.site-index-header__menu-item:hover .site-index-header__menu-arrow,
.site-index-header__menu-item:focus-within .site-index-header__menu-arrow {
  transform: rotate(-90deg);
}

.site-index-header__dropdown {
  position: absolute;
  top: calc(100% + var(--dropdown-gap));
  left: 50%;
  min-width: 280px;
  text-wrap: nowrap;
  padding: 12px 0;
  background: var(--site-index-color-white);
  border-radius: var(--site-index-radius-sm);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -10px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  pointer-events: none;
}

.site-index-header__dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--dropdown-gap));
  height: var(--dropdown-gap);
}

.site-index-header__menu-item:hover .site-index-header__dropdown,
.site-index-header__menu-item:focus-within .site-index-header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.site-index-header__dropdown-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-index-header__dropdown-item {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  transition-delay: calc(var(--item-index) * 45ms);
}

.site-index-header__menu-item:hover .site-index-header__dropdown-item,
.site-index-header__menu-item:focus-within .site-index-header__dropdown-item {
  opacity: 1;
  transform: translateY(0);
}

.site-index-header__dropdown-item a {
  display: block;
  padding: 10px 20px;
  color: var(--site-index-color-black);
  font-size: var(--site-index-dropdown-font-size);
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.15s ease;
}

.site-index-header__dropdown-item a:hover {
  background: #f5f5f5;
}

.site-index-header__dropdown-link--soon {
  cursor: pointer;
}

.site-index-header__contacts {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--site-index-contacts-gap);
  flex-shrink: 0;
  margin-left: clamp(16px, 2vw, 24px);
}

.site-index-header__city,
.site-index-header__phone,
.site-index-header__auth-link,
.site-index-header__auth-link--btn {
  color: var(--site-index-header-menu-color);
  font-size: var(--site-index-header-city-font-size);
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.site-index-header__phone {
  text-decoration: none;
}

.site-index-header__phone:hover {
  text-decoration: underline;
}

.site-index-header__auth-link {
  text-decoration: none;
}

.site-index-header__auth-link:hover,
.site-index-header__auth-link--btn:hover {
  color: var(--site-index-header-menu-color);
  text-decoration: underline;
}

.site-index-header__auth-link--btn {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.site-index-header__logout-form {
  margin: 0;
  padding: 0;
  display: inline-flex;
}

/* Мобильное меню: под шапкой, бургер в header остаётся видимым (как academy) */
.site-index-mobile-menu {
  position: fixed;
  top: calc(var(--site-index-header-page-padding-top) + var(--site-index-bar-min-height) + 46px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 150;
  background: var(--site-index-color-white);
  color: var(--site-index-color-black);
  font-family: 'Roboto', sans-serif;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

body.site-index-mobile-menu-open .site-index-header {
  z-index: 160;
}

.site-index-mobile-menu[hidden] {
  display: none;
}

.site-index-mobile-menu__panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-sizing: border-box;
  color: var(--site-index-color-black);
}

.site-index-mobile-menu__head {
  display: none;
}

.site-index-mobile-menu__body {
  flex: 1;
}

.site-index-mobile-menu__section + .site-index-mobile-menu__section {
  margin-top: 0;
}

.site-index-mobile-menu__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: #111111;
}

.site-index-mobile-menu__list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.site-index-mobile-menu__list li + li {
  margin-top: 0;
}

.site-index-mobile-menu__link {
  display: block;
  padding: 10px 0;
  color: var(--site-index-color-black);
  font-size: 20px;
  line-height: 1.35;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.site-index-mobile-menu__link:active {
  opacity: 0.65;
}

.site-index-mobile-menu__foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 28px;
  opacity: 0;
  animation: site-index-mobile-menu-in 0.45s ease forwards;
  animation-delay: 320ms;
}

.site-index-mobile-menu__city {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--site-index-color-black);
}

.site-index-mobile-menu__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 14px 24px;
  border-radius: var(--site-index-radius-sm);
  font-size: 20px;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.site-index-mobile-menu__btn:active:not(:disabled) {
  transform: scale(0.98);
}

.site-index-mobile-menu__btn--primary {
  border: none;
  background: var(--site-index-color-card-dark);
  color: var(--site-index-color-white);
}

.site-index-mobile-menu__btn--outline {
  border: 1px solid var(--site-index-color-black);
  background: transparent;
  color: var(--site-index-color-black);
}

.site-index-mobile-menu__logout-form {
  margin: 0;
  padding: 0;
  width: 100%;
}

.site-index-mobile-menu__phone {
  display: block;
  margin-top: 8px;
  color: var(--site-index-color-black);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

.site-index-mobile-menu__phone:active {
  opacity: 0.7;
}

@keyframes site-index-mobile-menu-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-index-mobile-menu__section {
  opacity: 0;
  transform: translateY(10px);
  animation: site-index-mobile-menu-in 0.4s ease forwards;
  animation-delay: calc(80ms + var(--group-index, 0) * 60ms);
}

.site-index-mobile-menu__list li {
  opacity: 0;
  transform: translateY(8px);
  animation: site-index-mobile-menu-in 0.35s ease forwards;
  animation-delay: calc(120ms + var(--group-index, 0) * 60ms + var(--item-index, 0) * 35ms);
}

body.site-index-page .site-index-mobile-menu__panel,
body.site-index-page .site-index-mobile-menu__panel a,
body.site-index-page .site-index-mobile-menu__panel h2,
body.site-index-page .site-index-mobile-menu__panel p {
  color: var(--site-index-color-black);
}

body.site-index-page .site-index-mobile-menu__panel .site-index-mobile-menu__btn--primary {
  color: var(--site-index-color-white);
}

body.site-index-page .site-index-header__burger-line {
  background: var(--site-index-color-black);
}

/* Coming soon modal */
.site-index-soon {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(23, 0, 35, 0.72);
  backdrop-filter: blur(6px);
}

.site-index-soon[hidden] {
  display: none;
}

.site-index-soon__dialog {
  position: relative;
  width: min(100%, 440px);
  padding: 40px 36px 36px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  text-align: center;
  font-family: 'Roboto', sans-serif;
}

.site-index-soon__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.site-index-soon__close:hover {
  background: #f0f0f0;
}

.site-index-soon__badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 16px;
  border-radius: 60px;
  background: linear-gradient(90deg, #8800ff 0%, #ff0084 50%, #ee00ff 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-index-soon__title {
  margin: 0 0 12px;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  color: #111;
  text-transform: uppercase;
}

.site-index-soon__product {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 500;
  color: #5a5a5a;
}

.site-index-soon__text {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.45;
  color: #444;
}

.site-index-soon__btn {
  min-width: 160px;
  min-height: 48px;
  padding: 12px 32px;
  border: none;
  border-radius: var(--site-index-radius-sm);
  background: var(--site-index-color-card-dark);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

/* Footer */
.site-index-footer {
  padding: 0 clamp(24px, 5vw, 80px);
  margin-bottom: 80px;
  font-family: 'Roboto', sans-serif;
}

.site-index-footer__line {
  margin: 50px 0 60px;
  border: none;
  border-top: 2px solid #e4e4e4;
}

.site-index-footer__panel {
  background: var(--site-index-color-card-dark);
  border-radius: 30px;
  padding: 51px 52px 40px;
}

.site-index-footer__columns {
  display: grid;
  grid-template-columns: minmax(0, 420fr) minmax(0, 300fr) minmax(0, 466fr);
  column-gap: clamp(16px, 2vw, 24px);
  align-items: start;
}

.site-index-footer__col {
  min-width: 0;
}

.site-index-footer__col--left .site-index-footer__block + .site-index-footer__block {
  margin-top: 32px;
}

.site-index-footer__col--center .site-index-footer__block--career {
  margin-top: 63px;
}

.site-index-footer__block--career-mobile {
  display: none;
}

.site-index-footer__block--b1,
.site-index-footer__block--b2,
.site-index-footer__block--b3 {
  margin-bottom: 24px;
}

.site-index-footer__heading {
  margin: 0 0 30px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.18;
  color: #fff;
}

.site-index-footer__heading--pay {
  font-weight: 400;
}

.site-index-footer__heading--city {
  font-size: 20px;
  margin-bottom: 16px;
}

.site-index-footer__caption {
  margin: 0 0 32px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.18;
  color: #fff;
}

.site-index-footer__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.35;
  color: #d9d9d9;
}

.site-index-footer__list a {
  color: #d9d9d9;
  text-decoration: none;
}

.site-index-footer__list a:hover {
  color: #fff;
}

.site-index-footer__text--body {
  display: block;
  font-size: 16px;
  line-height: 1.15;
  color: #fff;
  text-decoration: none;
}

.site-index-footer__text--phone {
  font-size: 20px;
}

.site-index-footer__text--muted {
  margin: 0 0 20px;
  max-width: min(392px, 100%);
  font-size: 16px;
  line-height: 1.25;
  color: #d9d9d9;
}

.site-index-footer__link {
  display: inline-block;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.18;
  color: #fff;
  text-decoration: none;
}

.site-index-footer__pay-qr-group {
  display: block;
  width: fit-content;
  max-width: min(326px, 100%);
}

.site-index-footer__pay-qr-group .site-index-footer__qr {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1;
  margin-bottom: 40px;
  object-fit: contain;
}

.site-index-footer__pay-qr-group .site-index-footer__pay-btn-wrap {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 2px;
  border: 1px solid #fff;
  border-radius: 16px;
}

.site-index-footer__pay-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 54px;
  padding: 14px 48px;
  border: 0;
  border-radius: 15px;
  background: #fff;
  color: #111;
  font-size: 20px;
  cursor: pointer;
  font-family: inherit;
}

.site-index-footer__legal a {
  display: block;
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.16;
  color: #fff;
  text-decoration: none;
}

.site-index-footer__legal p {
  margin: 0;
  max-width: min(614px, 100%);
  font-size: 16px;
  line-height: 1.2;
  color: #e4e4e4;
}

/* Узкий десктоп: плотнее контакты, телефон не скрываем */
@media (min-width: 901px) and (max-width: 1580px) {
  .site-index-header {
    --site-index-header-city-font-size: clamp(1rem, 1.6vw, 1.125rem);
    --site-index-contacts-gap: 0.75rem;
  }

  .site-index-header__bar.site-index-shell-container {
    padding: 0 clamp(0.875rem, 2vw, 1.75rem);
  }

  .site-index-header__menu-trigger {
    gap: 0.375rem;
  }

  .site-index-header__menu-arrow {
    width: 0.875rem;
    height: 0.875rem;
  }

  .site-index-header__contacts {
    margin-left: 0.75rem;
  }
}

/* Средний десктоп: меню не наезжает на контакты */
@media (min-width: 901px) and (max-width: 1266px) {
  .site-index-header {
    --site-index-menu-gap: clamp(0.5rem, 1.4vw, 1.125rem);
    --site-index-nav-margin-left: clamp(0.625rem, 2vw, 1.25rem);
    --site-index-contacts-gap: 0.375rem;
  }

  .site-index-header__menu-trigger,
  .site-index-header__menu-trigger span,
  .site-index-header__phone,
  .site-index-header__auth-link,
  .site-index-header__auth-link--btn {
    font-size: 0.875rem;
  }

  .site-index-header__contacts {
    margin-left: 0.375rem;
    padding-left: 0.25rem;
  }
}

@media (min-width: 1267px) and (max-width: 1450px) {
  .site-index-header {
    --site-index-menu-gap: clamp(1.25rem, 2.2vw, 2.25rem);
    --site-index-nav-margin-left: clamp(0.875rem, 3.5vw, 3rem);
  }

  .site-index-header__menu-trigger,
  .site-index-header__menu-trigger span {
    font-size: 0.9375rem;
  }

  .site-index-header__phone,
  .site-index-header__auth-link,
  .site-index-header__auth-link--btn {
    font-size: 1.0625rem;
  }
}

@media (min-width: 1451px) {
  .site-index-header {
    --site-index-menu-gap: 3.75rem;
    --site-index-nav-margin-left: clamp(1.5rem, 6vw, 6.875rem);
    --site-index-contacts-gap: 2rem;
  }

  .site-index-header__bar.site-index-shell-container {
    padding: 0 2.75rem;
  }

  .site-index-header__menu-trigger {
    gap: 0.5rem;
  }

  .site-index-header__menu-trigger,
  .site-index-header__menu-trigger span {
    font-size: 1rem;
  }

  .site-index-header__menu-arrow {
    width: 1.1875rem;
    height: 1.1875rem;
  }

  .site-index-header__phone,
  .site-index-header__auth-link,
  .site-index-header__auth-link--btn {
    font-size: 1.25rem;
  }

  .site-index-header__contacts {
    margin-left: 1.5rem;
  }
}

@media (max-width: 900px) {
  .site-index-header__nav--desktop,
  .site-index-header__contacts--desktop {
    display: none;
  }

  .site-index-header {
    padding-inline: 0;
  }

  .site-index-header__bar.site-index-shell-container {
    width: calc(100% - 32px);
    max-width: none;
    margin-inline: auto;
    padding: 6px 18px;
  }

  .site-index-header__burger {
    display: inline-flex;
    align-self: center;
    min-height: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .site-index-header__bar {
    align-items: center;
    justify-content: flex-start;
    gap: clamp(12px, 3vw, 20px);
  }

  .site-index-mobile-menu__panel {
    width: calc(100% - 32px);
    max-width: none;
    margin-inline: auto;
    padding: 20px 24px 40px;
  }

}

@media (max-width: 420px) {
  .site-index-header__burger-box {
    width: 24px;
    height: 18px;
    gap: 5px;
  }

  .site-index-header__burger--open .site-index-header__burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-index-header__burger--open .site-index-header__burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-index-mobile-menu__panel {
    padding-top: 16px;
    padding-inline: 20px;
  }

  .site-index-mobile-menu__title {
    font-size: 16px;
  }

  .site-index-mobile-menu__link {
    font-size: 16px;
    padding: 8px 0;
  }

  .site-index-mobile-menu__city,
  .site-index-mobile-menu__phone {
    font-size: 18px;
  }

  .site-index-mobile-menu__btn {
    font-size: 18px;
    min-height: 48px;
  }
}

@media (max-width: 1240px) {
  .site-index-footer__panel {
    padding: 40px 28px 32px;
  }

  .site-index-footer__line {
    margin: 40px 0 48px;
  }
}

@media (max-width: 1150px) {
  .site-index-footer__columns {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    row-gap: 32px;
  }

  .site-index-footer__col--pay {
    grid-column: 1 / -1;
  }

  .site-index-footer__col--pay .site-index-footer__block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-index-footer__heading--pay {
    margin-bottom: 0;
  }

  .site-index-footer__text--muted {
    margin-bottom: 0;
  }

  .site-index-footer__pay-qr-group {
    max-width: 220px;
  }

  .site-index-footer__pay-qr-group .site-index-footer__qr {
    margin-bottom: 0;
  }
}

@media (max-width: 900px) {
  .site-index-footer__columns {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .site-index-footer__col--pay .site-index-footer__block {
    align-items: center;
    text-align: center;
  }

  .site-index-footer__pay-qr-group {
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .site-index-footer {
    padding-inline: clamp(8px, 2.5vw, 12px);
  }

  .site-index-footer .site-index-shell-container {
    width: 100%;
    max-width: none;
  }

  .site-index-footer__panel {
    padding: clamp(24px, 5vw, 32px) clamp(12px, 3vw, 20px) clamp(20px, 4vw, 24px);
    border-radius: 24px;
  }

  .site-index-footer__pay-qr-group {
    width: 100%;
    max-width: min(280px, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 420px) {
  .site-index-footer {
    padding: 0 8px 10px;
  }

  .site-index-footer .site-index-shell-container {
    width: 100%;
    max-width: none;
  }

  .site-index-footer__line {
    margin: 44px 0 46px;
  }

  .site-index-footer__panel {
    border-radius: 20px;
    padding: 24px 12px 20px;
  }

  .site-index-footer__columns {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .site-index-footer__col {
    display: contents;
  }

  .site-index-footer__col--left .site-index-footer__block + .site-index-footer__block,
  .site-index-footer__col--center .site-index-footer__block--career {
    margin-top: 0;
  }

  .site-index-footer__block--contacts { order: 1; }
  .site-index-footer__block--location { order: 2; }
  .site-index-footer__block--team { order: 3; }
  .site-index-footer__block--partners { order: 4; }
  .site-index-footer__block--clients { order: 5; }
  .site-index-footer__block--career-mobile { order: 6; display: block; margin-top: 0; }
  .site-index-footer__block--career { display: none; }
  .site-index-footer__block--pay { order: 7; }

  .site-index-footer__block--b1,
  .site-index-footer__block--b2,
  .site-index-footer__block--b3,
  .site-index-footer__block--b4 {
    margin-bottom: 0;
  }

  .site-index-footer__heading,
  .site-index-footer__caption,
  .site-index-footer__link {
    font-size: 24px;
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .site-index-footer__heading--city {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .site-index-footer__text--body,
  .site-index-footer__list,
  .site-index-footer__text--muted {
    font-size: 16px;
  }

  .site-index-footer__text--phone {
    font-size: 16px;
  }

  .site-index-footer__list {
    gap: 8px;
    margin-bottom: 20px;
    line-height: 1.25;
  }

  .site-index-footer__text--muted {
    max-width: 267px;
    margin: 0 auto 20px;
    text-align: center;
  }

  .site-index-footer__pay-qr-group {
    max-width: min(260px, 100%);
  }

  .site-index-footer__pay-qr-group .site-index-footer__qr {
    margin-bottom: 24px;
  }

  .site-index-footer__pay-btn {
    min-height: 27px;
    padding: 0 20px;
    border-radius: 6px;
    font-size: 12px;
  }

  .site-index-footer__col--pay .site-index-footer__block,
  .site-index-footer__block--pay {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .site-index-footer__pay-qr-group .site-index-footer__pay-btn-wrap {
    padding: 1px;
    border-radius: 7px;
  }

  .site-index-footer__legal a {
    margin-top: 60px;
    text-align: center;
    margin-bottom: 16px;
    font-size: 16px;
  }

  .site-index-footer__legal p {
    max-width: 329px;
    margin-inline: auto;
    text-align: center;
    font-size: 16px;
    line-height: 1.25;
  }
}
