/* Shared accents */
:root {
  --svo-red: #db3030;
  --svo-red-hover: #c22929;
  --svo-green: #4b573f;
}

/* Language switcher removed */
.header__lang {
  display: none !important;
}

/* FAQ: вкладка «Для иностранцев» убрана */
.faq__tabs {
  display: none !important;
}

/* ========== LIGHT ========== */
html[data-theme="light"] {
  --svo-black: #171717;
  --svo-dark: #1f1f1f;
  --svo-card: #ffffff;
  --svo-page: #f5f5f5;
  --svo-border: #e5e5e5;
  --svo-text: #171717;
  --svo-muted: #5f5f5f;
  --svo-surface: #ffffff;
  --svo-soft: #eef1ea;

  --surface-light-grey: #f5f5f5;
  --main-light-gray-blue: #eef1ea;
  --main-blue: #db3030;
  --main-blue-surface: #db3030;
  --main-white: #ffffff;
  --main-black: #171717;
  --additional-red: #db3030;
  --additional-dark-gray-blue-1: #c8c8c8;
  --additional-dark-gray-blue-2: #5f5f5f;
  --additional-grey: #c8c8c8;
  --additional-dark-grey: #2a2a2a;
  --main-cyan: #db3030;
}

html[data-theme="light"],
html[data-theme="light"] body {
  background: var(--svo-page) !important;
  color: var(--svo-text) !important;
}

html[data-theme="light"] .header {
  background: #fff !important;
  border-bottom: 1px solid #ececec;
}

html[data-theme="light"] .header .header__list a,
html[data-theme="light"] .header .header__phone,
html[data-theme="light"] .header .header__phone span,
html[data-theme="light"] .header .header__lang-code,
html[data-theme="light"] .header .header__menu-list a {
  color: #171717 !important;
}

html[data-theme="light"] .header__menu {
  background: #fff;
}

html[data-theme="light"] .section-bg,
html[data-theme="light"] .main__wrapper.section-bg,
html[data-theme="light"] .contract__wrapper,
html[data-theme="light"] .about-us.section-bg,
html[data-theme="light"] .benefits__box,
html[data-theme="light"] .benefits__item,
html[data-theme="light"] .faq__content,
html[data-theme="light"] .ways__item,
html[data-theme="light"] .defender__item,
html[data-theme="light"] .block-xs.bg-white,
html[data-theme="light"] .block-sm.bg-white,
html[data-theme="light"] .bg-white,
html[data-theme="light"] .area__item,
html[data-theme="light"] .vac-page__wrap,
html[data-theme="light"] .blog-page__wrap,
html[data-theme="light"] .advantages__item-small {
  background: #fff !important;
  color: #171717 !important;
  border-color: transparent;
}

html[data-theme="light"] .main__item {
  background: #fff !important;
  border: 1px solid #e8e8e8 !important;
  color: #171717 !important;
}

html[data-theme="light"] .main__item div,
html[data-theme="light"] .title,
html[data-theme="light"] .title-h1,
html[data-theme="light"] .title-h3,
html[data-theme="light"] .text-big,
html[data-theme="light"] .faq__title,
html[data-theme="light"] .advantages__title,
html[data-theme="light"] .contract__title,
html[data-theme="light"] .area__title,
html[data-theme="light"] .ways__title,
html[data-theme="light"] .defender__title,
html[data-theme="light"] .about-us__title,
html[data-theme="light"] .benefits__title,
html[data-theme="light"] .terms__title,
html[data-theme="light"] .reviews-migrant__title,
html[data-theme="light"] .area__body .text-big {
  color: #171717 !important;
}

html[data-theme="light"] .main__item p,
html[data-theme="light"] .text,
html[data-theme="light"] .about-us__desc,
html[data-theme="light"] .city-card__salary,
html[data-theme="light"] .vac-card__meta,
html[data-theme="light"] .blog-page__meta,
html[data-theme="light"] .blog-page__lead,
html[data-theme="light"] .vac-page__back {
  color: #5f5f5f !important;
}

html[data-theme="light"] .main__text {
  background: #fff !important;
  color: #171717 !important;
  border: none;
}

html[data-theme="light"] .color-blue,
html[data-theme="light"] .ways__item .title-h3,
html[data-theme="light"] .defender__item .title-h3,
html[data-theme="light"] .city-card__pay strong {
  color: var(--svo-red) !important;
}

html[data-theme="light"] .bg-blue,
html[data-theme="light"] .advantages .advantages__main,
html[data-theme="light"] .form-reg .form-reg__wrapper {
  background: var(--svo-red) !important;
  color: #fff !important;
  border: none !important;
}

html[data-theme="light"] .vac-page__aside-card.bg-blue {
  background: var(--svo-green) !important;
}

html[data-theme="light"] .bg-blue-l {
  background: #eef1ea !important;
}

html[data-theme="light"] .advantages-tag {
  background: var(--svo-green) !important;
  color: #fff !important;
}

html[data-theme="light"] .advantages__main .color-white,
html[data-theme="light"] .form-reg .form__title,
html[data-theme="light"] .form-reg .form__text,
html[data-theme="light"] .form-reg .form__footer-text,
html[data-theme="light"] .form-reg .form__footer-text a {
  color: #fff !important;
}

html[data-theme="light"] .button {
  background: var(--svo-red) !important;
  border: 1px solid var(--svo-red) !important;
  color: #fff !important;
  border-radius: 8px !important;
}

html[data-theme="light"] .button:hover,
html[data-theme="light"] .button:focus {
  background: var(--svo-red-hover) !important;
}

html[data-theme="light"] .button.button-white,
html[data-theme="light"] .advantages .advantages__main .advantages__main-button {
  background: #fff !important;
  color: var(--svo-red) !important;
  border-color: #fff !important;
}

html[data-theme="light"] .button.area__button,
html[data-theme="light"] .button.area__button-gray {
  background: #fff !important;
  color: var(--svo-red) !important;
  border: 1px solid #c8c8c8 !important;
}

html[data-theme="light"] .button.area__button:hover,
html[data-theme="light"] .button.area__button-gray:hover {
  border-color: var(--svo-red) !important;
  background: #fff !important;
  color: var(--svo-red) !important;
}

html[data-theme="light"] .button-more.button {
  background: var(--svo-red) !important;
  color: #fff !important;
  border-color: var(--svo-red) !important;
}

html[data-theme="light"] .form__button.button {
  background: #fff !important;
  color: var(--svo-red) !important;
  border-color: #fff !important;
}

html[data-theme="light"] .form__button.button:disabled,
html[data-theme="light"] .form__button.button[disabled] {
  background: rgba(255, 255, 255, 0.72) !important;
  color: var(--svo-red) !important;
}

html[data-theme="light"] .form__input,
html[data-theme="light"] .form__tel {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
}

html[data-theme="light"] .faq .faq__tabs li {
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  color: #171717 !important;
}

html[data-theme="light"] .faq .faq__tabs li.active {
  background: var(--svo-red) !important;
  border-color: var(--svo-red) !important;
  color: #fff !important;
}

html[data-theme="light"] .acco__content,
html[data-theme="light"] .acco__content p,
html[data-theme="light"] .acco__content li {
  color: #5f5f5f !important;
}

html[data-theme="light"] .ways__num {
  color: #e8ebe6 !important;
}

html[data-theme="light"] .footer {
  background: #0f1115 !important;
  color: #d9d9d9 !important;
  border-top: none;
}

html[data-theme="light"] .footer a,
html[data-theme="light"] .footer__info-item {
  color: #d9d9d9 !important;
}

html[data-theme="light"] .modal-content {
  background: #fff !important;
  color: #171717 !important;
}

html[data-theme="light"] .modal .form__title,
html[data-theme="light"] .modal .form__footer-text {
  color: #171717 !important;
}

html[data-theme="light"] .btn-close {
  filter: none;
}

html[data-theme="light"] .blog-table th {
  background: #eef1ea !important;
  color: #171717 !important;
}

html[data-theme="light"] .blog-table td,
html[data-theme="light"] .blog-table th {
  border-color: #e5e5e5 !important;
  color: #171717 !important;
}

html[data-theme="light"] .theme-toggle {
  border-color: #c8c8c8;
  color: #171717;
  background: #fff;
}

/* ========== DARK ========== */
html[data-theme="dark"] {
  --svo-black: #0f1115;
  --svo-dark: #14161b;
  --svo-card: #1a1c22;
  --svo-page: #0f1115;
  --svo-border: rgba(255, 255, 255, 0.14);
  --svo-text: #ffffff;
  --svo-muted: #d9d9d9;

  --surface-light-grey: #0f1115;
  --main-light-gray-blue: #14161b;
  --main-blue: #db3030;
  --main-blue-surface: #4b573f;
  --main-white: #ffffff;
  --main-black: #ffffff;
  --additional-red: #db3030;
  --additional-dark-gray-blue-1: #8b8b8b;
  --additional-dark-gray-blue-2: #a7a7a7;
  --additional-grey: #5f5f5f;
  --additional-dark-grey: #d9d9d9;
  --main-cyan: #db3030;
}

html[data-theme="dark"],
html[data-theme="dark"] body {
  background: var(--svo-black) !important;
  color: #fff !important;
}

html[data-theme="dark"] .wrapper,
html[data-theme="dark"] .section,
html[data-theme="dark"] .container {
  color: #fff;
}

html[data-theme="dark"] .header {
  background: var(--svo-black) !important;
  border-bottom: 1px solid var(--svo-border);
}

/* Header brand: soldier mark + СЛУЖБА ПО КОНТРАКТУ */
.header .header__logo.header__brand,
.header .header__brand {
  max-width: none !important;
  width: auto;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
  margin-left: 0;
}

.header__brand-mark {
  display: block;
  width: 3.35rem;
  height: 3.35rem;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  border: 0;
}

@media (min-width: 992px) {
  .header__brand-mark {
    width: 3.75rem;
    height: 3.75rem;
  }
}

.header__brand-text {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.3rem;
  min-width: 0;
  line-height: 1;
}

.header__brand-title {
  font-family: "HeadingNow", "HelveticaNeueCyr", Impact, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff !important;
  white-space: nowrap;
  line-height: 1;
}

.header__brand-tagline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin: 0;
  padding-top: 0;
  border-top: 0;
  font-family: "HelveticaNeueCyr", "Inter", sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  white-space: nowrap;
  line-height: 1;
  color: rgba(255, 255, 255, 0.72) !important;
}

.header__brand-tagline::before {
  display: none;
}

.header__brand-dir {
  color: rgba(255, 255, 255, 0.72);
}

.header__brand-sep {
  color: var(--svo-red, #db3030);
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.9;
  padding: 0 0.1rem;
}

@media (max-width: 767.98px) {
  .header {
    height: 4.35rem !important;
  }

  .header .header__box {
    display: grid !important;
    grid-template-columns: 2.85rem minmax(0, 1fr) 2.85rem;
    align-items: center;
    column-gap: 0.55rem;
    height: 100% !important;
    min-height: 0 !important;
  }

  .header .header__hamburger,
  .header .header__tg {
    width: 2.85rem !important;
    height: 2.85rem !important;
    min-width: 2.85rem !important;
    min-height: 2.85rem !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    line-height: 0 !important;
    align-self: center !important;
    position: relative;
    top: 0 !important;
    transform: none;
  }

  .header .header__hamburger {
    grid-column: 1;
    justify-self: start;
  }

  .header .header__logo.header__brand,
  .header .header__brand {
    grid-column: 2;
    justify-self: center;
    align-self: center !important;
    max-width: 100% !important;
    gap: 0.65rem !important;
  }

  .header .header__tg {
    grid-column: 3;
    justify-self: end;
  }

  .header .header__tg:active,
  .header .header__hamburger:active {
    transform: scale(0.96);
  }

  .header .header__menu {
    grid-column: 1 / -1;
  }

  .header__brand-mark {
    width: 3.4rem !important;
    height: 3.4rem !important;
  }

  .header__brand-text {
    align-items: flex-start;
    gap: 0.38rem;
  }

  .header__brand-title {
    font-size: clamp(0.8rem, 3.7vw, 0.98rem) !important;
    letter-spacing: 0.055em !important;
    white-space: nowrap !important;
    max-width: none !important;
    line-height: 1.05 !important;
  }

  .header__brand-tagline {
    font-size: clamp(0.56rem, 2.6vw, 0.7rem) !important;
    letter-spacing: 0.12em !important;
    gap: 0.28rem !important;
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .header__brand-title {
    font-size: clamp(0.74rem, 3.5vw, 0.88rem) !important;
    letter-spacing: 0.045em !important;
  }

  .header__brand-tagline {
    font-size: clamp(0.52rem, 2.4vw, 0.62rem) !important;
    letter-spacing: 0.1em !important;
  }

  .header__brand-mark {
    width: 3.15rem !important;
    height: 3.15rem !important;
  }
}

@media (min-width: 1200px) {
  .header__brand-mark {
    width: 4rem;
    height: 4rem;
  }

  .header__brand-title {
    font-size: 1.02rem;
    letter-spacing: 0.08em;
  }

  .header__brand-tagline {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }
}

html[data-theme="light"] .header__brand-mark {
  filter: invert(1);
}

html[data-theme="light"] .header__brand-title {
  color: #0f1115 !important;
}

html[data-theme="light"] .header__brand-tagline {
  border-top-color: transparent;
  color: rgba(15, 17, 21, 0.62) !important;
}

html[data-theme="light"] .header__brand-dir {
  color: rgba(15, 17, 21, 0.62);
}

html[data-theme="light"] .header__brand-sep {
  color: var(--svo-red, #db3030);
}

/* Mobile topbar Telegram */
.header__tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  color: #2aabee;
  background: rgba(42, 171, 238, 0.12);
  border: 1px solid rgba(42, 171, 238, 0.28);
  text-decoration: none !important;
  box-sizing: border-box;
  line-height: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header__tg:active {
  transform: scale(0.96);
}

.header__tg svg {
  display: block;
  width: 1.15rem;
  height: auto;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .header__tg {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .header .header__contacts {
    display: none !important;
  }
}

html[data-theme="light"] .header__tg {
  background: rgba(42, 171, 238, 0.1);
}

.header .button.header__button,
.header .button.header__menu-button,
html[data-theme="dark"] .header .button.header__button,
html[data-theme="light"] .header .button.header__button,
html[data-theme="dark"] .header .button.header__menu-button,
html[data-theme="light"] .header .button.header__menu-button {
  border-radius: 1rem !important;
}

html[data-theme="dark"] .header .header__list a,
html[data-theme="dark"] .header .header__phone,
html[data-theme="dark"] .header .header__phone span,
html[data-theme="dark"] .header .header__lang-code,
html[data-theme="dark"] .header .header__menu-list a {
  color: #fff !important;
}

html[data-theme="dark"] .header__menu {
  background: var(--svo-dark);
}

/* Desktop: nav sits in header bar — no separate grey plaque */
@media (min-width: 768px) {
  html[data-theme="dark"] .header__menu,
  html[data-theme="light"] .header__menu,
  .header .header__menu {
    background: transparent !important;
    box-shadow: none !important;
  }

  .header .header__menu-actions,
  .header .header__menu-tg,
  .header .header__menu-phone {
    display: none !important;
  }
}

/* ========== Mobile burger / drawer ========== */
.header-menu-backdrop {
  display: none;
}

@media (max-width: 767.98px) {
  .header .header__hamburger {
    position: relative !important;
    z-index: 2;
    width: 2.85rem !important;
    height: 2.85rem !important;
    min-width: 2.85rem !important;
    min-height: 2.85rem !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 999px !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    align-self: center !important;
    box-sizing: border-box !important;
    line-height: 0 !important;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }

  .header .header__hamburger:active {
    transform: scale(0.96);
  }

  .header .header__hamburger img {
    display: none !important;
  }

  .header .header__hamburger::before,
  .header .header__hamburger::after {
    content: "" !important;
    position: absolute;
    left: 50%;
    width: 1.05rem;
    height: 1.5px;
    border-radius: 99px;
    background: #fff;
    transform: translateX(-50%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      top 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      width 0.28s ease,
      opacity 0.2s ease;
  }

  .header .header__hamburger::before {
    top: calc(50% - 0.38rem);
    width: 1.05rem;
  }

  .header .header__hamburger::after {
    top: calc(50% + 0.38rem);
    width: 0.72rem;
    margin-left: -0.165rem;
  }

  /* middle line */
  .header .header__hamburger {
    background-image: linear-gradient(#fff, #fff) !important;
    background-size: 1.05rem 1.5px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  html.menu-open .header .header__hamburger {
    border-color: rgba(219, 48, 48, 0.45) !important;
    background-color: rgba(219, 48, 48, 0.12) !important;
    background-image: none !important;
  }

  html.menu-open .header .header__hamburger::before {
    top: 50%;
    width: 1.05rem;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  html.menu-open .header .header__hamburger::after {
    top: 50%;
    width: 1.05rem;
    margin-left: 0;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  html[data-theme="light"] .header .header__hamburger {
    background-color: rgba(15, 17, 21, 0.04) !important;
    border-color: rgba(15, 17, 21, 0.14) !important;
    background-image: linear-gradient(#171717, #171717) !important;
    background-size: 1.05rem 1.5px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  html[data-theme="light"] .header .header__hamburger::before,
  html[data-theme="light"] .header .header__hamburger::after {
    background: #171717;
  }

  html[data-theme="light"].menu-open .header .header__hamburger {
    background-color: rgba(219, 48, 48, 0.1) !important;
    background-image: none !important;
    border-color: rgba(219, 48, 48, 0.4) !important;
  }

  .header-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .header-menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Menu lives inside .header (z-index:100). Raise whole header above backdrop. */
  html.menu-open .header {
    z-index: 10050 !important;
  }

  html[data-theme="dark"] .header .header__menu,
  html[data-theme="light"] .header .header__menu,
  .header .header__menu {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    height: 100dvh !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    transform: translateX(100%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: max(0.85rem, env(safe-area-inset-top)) 1.25rem max(1.25rem, env(safe-area-inset-bottom)) !important;
    background: #0a0b0e !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 2 !important;
    overflow: auto !important;
    overscroll-behavior: contain;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1) !important;
    opacity: 1 !important;
    filter: none !important;
  }

  html[data-theme="light"] .header .header__menu {
    background: #f4f4f4 !important;
  }

  html[data-theme="dark"] .header .header__menu.active,
  html[data-theme="light"] .header .header__menu.active,
  .header .header__menu.active {
    transform: translateX(0) !important;
  }

  .header .header__menu .header__menu-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    padding: 0 0 1rem !important;
    margin: 0 0 0.35rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  html[data-theme="light"] .header .header__menu .header__menu-head {
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
  }

  .header .header__menu .header__logo.header__brand {
    order: 1 !important;
    margin: 0 !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .header .header__menu .header__menu-close {
    order: 2 !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    flex: 0 0 auto !important;
    position: relative !important;
    -webkit-appearance: none;
    appearance: none;
  }

  .header .header__menu .header__menu-close img {
    display: none !important;
    visibility: hidden !important;
  }

  .header .header__menu .header__menu-close::before,
  .header .header__menu .header__menu-close::after {
    content: "" !important;
    position: absolute !important;
    width: 0.95rem !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: #fff !important;
  }

  .header .header__menu .header__menu-close::before {
    transform: rotate(45deg) !important;
  }

  .header .header__menu .header__menu-close::after {
    transform: rotate(-45deg) !important;
  }

  html[data-theme="light"] .header .header__menu .header__menu-close {
    background: rgba(23, 23, 23, 0.08) !important;
  }

  html[data-theme="light"] .header .header__menu .header__menu-close::before,
  html[data-theme="light"] .header .header__menu .header__menu-close::after {
    background: #171717 !important;
  }

  .header .header__menu .header__menu-list,
  .header .header__menu-list {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-auto-flow: unset !important;
    gap: 0 !important;
    margin: 0.35rem 0 1.25rem !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
  }

  .header .header__menu .header__menu-list li,
  .header .header__menu-list li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    line-height: 1.2 !important;
  }

  .header .header__menu .header__menu-list a,
  .header .header__menu-list a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 1.05rem 0.1rem !important;
    font-size: 1.2rem !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-decoration: none !important;
  }

  .header .header__menu .header__menu-list a::after,
  .header .header__menu-list a::after {
    content: "" !important;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid rgba(255, 255, 255, 0.35);
    border-bottom: 2px solid rgba(255, 255, 255, 0.35);
    transform: rotate(-45deg);
    flex: 0 0 auto;
    margin-left: 0.75rem;
  }

  html[data-theme="light"] .header .header__menu .header__menu-list a,
  html[data-theme="light"] .header .header__menu-list a {
    color: #171717 !important;
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
  }

  html[data-theme="light"] .header .header__menu .header__menu-list a::after,
  html[data-theme="light"] .header .header__menu-list a::after {
    border-color: rgba(23, 23, 23, 0.35);
  }

  /* Kill default .social full-width grey bar inside drawer */
  .header .header__menu .social {
    display: none !important;
  }

  .header .header__menu .header__menu-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 0.5rem;
  }

  .header .header__menu .header__menu-tg,
  .header .header__menu .header__menu-phone {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.55rem !important;
    width: 100% !important;
    min-height: 3.1rem !important;
    padding: 0.75rem 1rem !important;
    border-radius: 1rem !important;
    font-size: 1rem !important;
    font-weight: 650 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  .header .header__menu .header__menu-tg {
    color: #fff !important;
    background: rgba(42, 171, 238, 0.14) !important;
    border: 1px solid rgba(42, 171, 238, 0.35) !important;
  }

  .header .header__menu .header__menu-tg svg {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
  }

  .header .header__menu .header__menu-phone {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  html[data-theme="light"] .header .header__menu .header__menu-tg {
    color: #0b6e99 !important;
    background: rgba(42, 171, 238, 0.1) !important;
  }

  html[data-theme="light"] .header .header__menu .header__menu-phone {
    color: #171717 !important;
    background: #fff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
  }

  .header .header__menu .header__menu-button.button,
  .header .header__menu .button.header__menu-button {
    width: 100% !important;
    justify-content: center !important;
    min-height: 3.2rem !important;
    margin: 0 !important;
    border-radius: 1rem !important;
    font-size: 1.05rem !important;
  }

  .header .header__menu .header__menu-dev {
    margin-top: 1rem !important;
    padding-top: 0.85rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.75;
  }

  html[data-theme="light"] .header .header__menu .header__menu-dev {
    border-top-color: rgba(0, 0, 0, 0.08);
  }

  .header .header__menu .header__menu-dev div,
  .header .header__menu .header__menu-dev a {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.78rem !important;
  }

  html[data-theme="light"] .header .header__menu .header__menu-dev div,
  html[data-theme="light"] .header .header__menu .header__menu-dev a {
    color: rgba(23, 23, 23, 0.55) !important;
  }

  html.menu-open,
  html.menu-open body {
    overflow: hidden !important;
    touch-action: none;
  }
}



html[data-theme="dark"] .section-bg,
html[data-theme="dark"] .section-bg-mob,
html[data-theme="dark"] .section-mob,
html[data-theme="dark"] .main__wrapper.section-bg,
html[data-theme="dark"] .contract__wrapper,
html[data-theme="dark"] .about-us.section-bg,
html[data-theme="dark"] .benefits__box,
html[data-theme="dark"] .benefits__item,
html[data-theme="dark"] .faq__content,
html[data-theme="dark"] .ways__item,
html[data-theme="dark"] .defender__item,
html[data-theme="dark"] .block-xs.bg-white,
html[data-theme="dark"] .block-sm.bg-white,
html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .area__item,
html[data-theme="dark"] .vac-page__wrap,
html[data-theme="dark"] .blog-page__wrap {
  background: var(--svo-card) !important;
  color: #fff !important;
  border: 1px solid var(--svo-border);
}

html[data-theme="dark"] .main__item {
  background: rgba(26, 28, 34, 0.95) !important;
  border: 1px solid var(--svo-border) !important;
  color: #fff !important;
}

html[data-theme="dark"] .main__item div,
html[data-theme="dark"] .title,
html[data-theme="dark"] .title-h1,
html[data-theme="dark"] .title-h3,
html[data-theme="dark"] .text-big,
html[data-theme="dark"] .faq__title,
html[data-theme="dark"] .faq__content-title,
html[data-theme="dark"] .advantages__title,
html[data-theme="dark"] .contract__title,
html[data-theme="dark"] .area__title,
html[data-theme="dark"] .ways__title,
html[data-theme="dark"] .defender__title,
html[data-theme="dark"] .about-us__title,
html[data-theme="dark"] .about-us__list-item,
html[data-theme="dark"] .benefits__title,
html[data-theme="dark"] .benefits__item-title,
html[data-theme="dark"] .terms__title,
html[data-theme="dark"] .terms__desc,
html[data-theme="dark"] .terms__item,
html[data-theme="dark"] .reviews-migrant__title,
html[data-theme="dark"] .blog-page__content,
html[data-theme="dark"] .area__body .text-big {
  color: #fff !important;
}

html[data-theme="dark"] .main__item p,
html[data-theme="dark"] .text,
html[data-theme="dark"] .about-us__desc,
html[data-theme="dark"] .city-card__salary,
html[data-theme="dark"] .vac-card__meta,
html[data-theme="dark"] .blog-page__meta,
html[data-theme="dark"] .blog-page__lead,
html[data-theme="dark"] .vac-page__back {
  color: var(--svo-muted) !important;
}

/* Advantages of contract service — fix white-on-white in dark theme */
html[data-theme="dark"] .adv-contract-service__title {
  color: #fff !important;
}

html[data-theme="dark"] .adv-contract-service__face--front {
  background: var(--svo-card) !important;
  border: 1px solid var(--svo-border);
  color: #fff !important;
}

html[data-theme="dark"] .adv-contract-service__item-desc {
  color: #fff !important;
}

html[data-theme="light"] .adv-contract-service__face--front {
  background: #fff !important;
  border: 1px solid #e8e8e8;
}

html[data-theme="light"] .adv-contract-service__item-desc {
  color: #171717 !important;
}

html[data-theme="dark"] .main__text {
  background: rgba(20, 22, 27, 0.92) !important;
  color: #fff !important;
  border: 1px solid var(--svo-border);
}

html[data-theme="dark"] .color-blue,
html[data-theme="dark"] .ways__item .title-h3,
html[data-theme="dark"] .defender__item .title-h3,
html[data-theme="dark"] .vac-page__list a,
html[data-theme="dark"] .blog-page__content a,
html[data-theme="dark"] .city-card__pay strong {
  color: var(--svo-red) !important;
}

html[data-theme="dark"] .bg-blue,
html[data-theme="dark"] .advantages .advantages__main,
html[data-theme="dark"] .form-reg .form-reg__wrapper,
html[data-theme="dark"] .vac-page__aside-card.bg-blue {
  background: var(--svo-green) !important;
  border-color: transparent !important;
  color: #fff !important;
}

html[data-theme="dark"] .bg-blue-l {
  background: #1e221c !important;
}

html[data-theme="dark"] .advantages-tag {
  background: var(--svo-red) !important;
  color: #fff !important;
}

html[data-theme="dark"] .advantages__item-small,
html[data-theme="dark"] .advantages__item-title-small,
html[data-theme="dark"] .advantages__item-small .text {
  color: #fff !important;
}

html[data-theme="dark"] .advantages__item-small {
  background: var(--svo-card) !important;
  border: 1px solid var(--svo-border) !important;
}

html[data-theme="dark"] .advantages__main .color-white,
html[data-theme="dark"] .form-reg .form__title,
html[data-theme="dark"] .form-reg .form__text,
html[data-theme="dark"] .form-reg .form__footer-text,
html[data-theme="dark"] .form-reg .form__footer-text a {
  color: #fff !important;
}

html[data-theme="dark"] .button {
  background: var(--svo-red) !important;
  border: 1px solid var(--svo-red) !important;
  color: #fff !important;
  border-radius: 2px !important;
}

html[data-theme="dark"] .button:hover,
html[data-theme="dark"] .button:focus {
  background: var(--svo-red-hover) !important;
  border-color: var(--svo-red-hover) !important;
}

html[data-theme="dark"] .button.button-white,
html[data-theme="dark"] .advantages .advantages__main .advantages__main-button {
  background: #fff !important;
  color: #0f1115 !important;
  border-color: #fff !important;
}

.advantages .advantages__main .advantages__main-amount {
  white-space: nowrap;
  font-size: 1.35rem;
  padding-right: 5.5rem;
}

@media (min-width: 768px) {
  .advantages .advantages__main .advantages__main-amount {
    font-size: clamp(1.35rem, 2.4vw, 2.85rem) !important;
    padding-right: clamp(5.5rem, 8vw, 8.5rem) !important;
  }
}

html[data-theme="dark"] .button.area__button,
html[data-theme="dark"] .button.area__button-gray,
html[data-theme="dark"] .button-more.button {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid var(--svo-border) !important;
}

html[data-theme="dark"] .button.area__button:hover,
html[data-theme="dark"] .button.area__button-gray:hover,
html[data-theme="dark"] .button-more.button:hover {
  background: var(--svo-red) !important;
  border-color: var(--svo-red) !important;
  color: #fff !important;
}

html[data-theme="dark"] .form__button.button {
  background: var(--svo-red) !important;
  color: #fff !important;
  border-color: var(--svo-red) !important;
}

html[data-theme="dark"] .form__button.button:disabled,
html[data-theme="dark"] .form__button.button[disabled] {
  background: #5a2a2a !important;
  border-color: #5a2a2a !important;
  color: #c8c8c8 !important;
  opacity: 1;
}

html[data-theme="dark"] .form__input,
html[data-theme="dark"] .form__tel {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
}

html[data-theme="dark"] .faq .faq__tabs li {
  background: transparent !important;
  border: 1px solid var(--svo-border) !important;
  color: #fff !important;
}

html[data-theme="dark"] .faq .faq__tabs li.active {
  background: var(--svo-red) !important;
  border-color: var(--svo-red) !important;
  color: #fff !important;
}

html[data-theme="dark"] .acco__content,
html[data-theme="dark"] .acco__content p,
html[data-theme="dark"] .acco__content li {
  color: var(--svo-muted) !important;
}

html[data-theme="dark"] .ways__num {
  color: rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .footer {
  background: #0f1115 !important;
  color: var(--svo-muted) !important;
  border-top: 1px solid var(--svo-border);
}

html[data-theme="dark"] .footer a,
html[data-theme="dark"] .footer__info-item,
html[data-theme="dark"] .footer .text {
  color: var(--svo-muted) !important;
}

html[data-theme="dark"] .footer a:hover {
  color: #fff !important;
}

html[data-theme="dark"] .modal-content {
  background: var(--svo-dark) !important;
  color: #fff !important;
}

html[data-theme="dark"] .modal .form__title,
html[data-theme="dark"] .modal .form__footer-text {
  color: #fff !important;
}

html[data-theme="dark"] .btn-close {
  filter: invert(1);
}

html[data-theme="dark"] .blog-table th {
  background: #1e221c !important;
  color: #fff !important;
}

html[data-theme="dark"] .blog-table td,
html[data-theme="dark"] .blog-table th {
  border-color: var(--svo-border) !important;
  color: #fff !important;
}

html[data-theme="dark"] .blog-page__related {
  border-top-color: var(--svo-border) !important;
}

html[data-theme="dark"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  background: transparent;
}

/* Hero: first title line black on desktop (light flag area) */
@media (min-width: 768px) {
  html[data-theme="dark"] .main .main__title,
  html[data-theme="dark"] .main .main__title-lead {
    color: #0f1115 !important;
  }
  html[data-theme="dark"] .main .main__title .color-blue {
    color: var(--svo-red) !important;
  }
}

/* Shared UI bits */
.main__item-link {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

#advantages,
#benefits,
#vacancies {
  scroll-margin-top: 5rem;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.main__item::after,
.main__text::before,
.form__text::after {
  filter: hue-rotate(145deg) saturate(1.35) brightness(1.05);
}

/* Hero bottom cards: trust-blue hover instead of alarm red */
html[data-theme="dark"] .main__item:not(.block-icon-hover):hover,
html[data-theme="light"] .main__item:not(.block-icon-hover):hover {
  background: #2f6fed !important;
}

html[data-theme="dark"] .main__item:not(.block-icon-hover):hover div,
html[data-theme="dark"] .main__item:not(.block-icon-hover):hover p,
html[data-theme="light"] .main__item:not(.block-icon-hover):hover div,
html[data-theme="light"] .main__item:not(.block-icon-hover):hover p {
  color: #fff !important;
}

.acco.active .acco__content {
  grid-template-rows: 1fr;
}

.acco__content {
  display: grid !important;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.acco__body {
  overflow: hidden;
  min-height: 0;
}

.acco__body > :first-child {
  margin-top: 0.65rem;
}

.acco__trigger {
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .acco__content {
    transition: none;
  }
}

.fixed__button {
  background: var(--svo-red) !important;
}

.theme-toggle,
[data-theme-toggle] {
  display: none !important;
}


.theme-toggle:hover {
  border-color: var(--svo-red);
  color: var(--svo-red);
}

.theme-toggle__icon {
  font-size: 1rem;
  line-height: 1;
}

@media (max-width: 991px) {
  .theme-toggle__label {
    display: none;
  }
  .theme-toggle {
    width: 2.5rem;
    padding: 0;
    justify-content: center;
  }
}

/* Dark theme desktop: hero lead readable on light flag area */
@media (min-width: 768px) {
  html[data-theme="dark"] .main h1.main__title.title-h1,
  html[data-theme="dark"] .main .main__title-lead {
    color: #0f1115 !important;
  }
  html[data-theme="dark"] .main .main__title .color-blue {
    color: var(--svo-red) !important;
  }

  .main .main__title.title-h1 {
    line-height: 0.92;
    gap: 0;
  }

  .main .main__title .color-blue {
    margin-top: -0.06em;
  }
}

/* Hero desktop: tighter stack + smaller pill text */
@media (min-width: 768px) {
  .main .main__wrapper {
    min-height: 26.25rem; /* was up to ~583px — less empty air under CTA */
  }

  .main .main__text {
    margin-top: 0.25rem !important;
    font-size: 0.9375rem !important;
    line-height: 1.35;
  }

  .main .main__text--margin-bottom-100 {
    margin-bottom: 0.75rem !important;
  }

  .main .main__button {
    margin-top: 0 !important;
  }

  .main .main__list.f-desktop {
    margin-top: auto;
  }
}

/* Hero CTA row */
.main .main__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .main .main__actions {
    width: fit-content;
  }
}

.main .main__actions .button.main__button {
  border-radius: 1rem !important;
}

.main .main__actions .main__button--consult {
  background: transparent !important;
  color: #0f1115 !important;
  border: 1px solid rgba(15, 17, 21, 0.35) !important;
}

.main .main__actions .main__button--consult:hover,
.main .main__actions .main__button--consult:focus {
  background: #0f1115 !important;
  color: #fff !important;
  border-color: #0f1115 !important;
}

@media (min-width: 768px) and (min-width: 769px) and (max-width: 1920px) {
  .main .main__wrapper {
    min-height: calc(420px + 80 * ((100vw - 768px) / (1920 - 768)));
  }

  .main .main__text {
    font-size: calc(15px + 3 * ((100vw - 768px) / (1920 - 768))) !important;
  }
}

@media (min-width: 1921px) {
  .main .main__wrapper {
    min-height: 500px;
  }

  .main .main__text {
    font-size: 1.125rem !important;
  }
}

/* Hero image must fill the whole card (not a floating right crop) */
@media (min-width: 768px) {
  .main .main__img {
    inset: 0;
    width: 100%;
    height: 100%;
    right: auto;
    bottom: auto;
  }

  .main .main__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }
}

/* Mobile hero: cinematic photo + clear CTA zone at bottom */
@media (max-width: 767.98px) {
  .main .main__wrapper {
    min-height: 36rem;
    padding: 1.15rem 1rem 1.1rem;
    gap: 0.75rem;
    justify-content: flex-start;
  }

  .main .main__title.title-h1 {
    position: relative;
    z-index: 3;
    max-width: 18rem;
    font-size: 1.65rem;
    line-height: 1.05;
    margin-top: 14.5rem; /* leave face open above headline */
  }

  .main .main__text {
    position: relative;
    z-index: 3;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-width: 100%;
  }

  .main .main__img {
    inset: 0;
    width: 100%;
    height: 100%;
    right: auto;
    bottom: auto;
  }

  .main .main__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 8%;
  }

  .main .main__wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 52%;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(15, 17, 21, 0) 0%,
      rgba(15, 17, 21, 0.45) 28%,
      rgba(15, 17, 21, 0.88) 62%,
      #0f1115 100%
    );
  }

  .main .main__wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1;
    height: 28%;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(15, 17, 21, 0.35) 0%,
      rgba(15, 17, 21, 0.12) 55%,
      rgba(15, 17, 21, 0) 100%
    );
  }

  .main .main__actions {
    margin-top: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
    position: relative;
    z-index: 3;
    padding-top: 4.5rem;
  }

  .main .main__actions .button.main__button {
    width: 100%;
    justify-content: center;
    min-height: 3.15rem;
  }

  .main .main__actions .main__button--consult {
    background: #fff !important;
    color: #0f1115 !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
  }

  .main .main__actions .main__button--consult:hover,
  .main .main__actions .main__button--consult:focus {
    background: #f2f2f2 !important;
    color: #0f1115 !important;
    border-color: #f2f2f2 !important;
  }
}

/* ========== Unified modal (#popup-reg) ========== */
#popup-reg.modal {
  --bs-modal-width: 36rem;
  overflow-x: visible;
}

/* Dialog must be transparent — background on .popup caused the side stripes */
#popup-reg .modal-dialog.popup,
#popup-reg .modal-dialog.popup-reg {
  width: calc(100% - 2rem);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible;
  transform: translateY(12px) scale(0.96);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

@media (min-width: 768px) {
  #popup-reg .modal-dialog.popup-reg {
    width: 100%;
    max-width: 36rem;
  }
}

@media (min-width: 992px) {
  #popup-reg .modal-dialog.popup-reg {
    max-width: 38rem;
  }
}

@media (min-width: 1200px) {
  #popup-reg .modal-dialog.popup-reg {
    max-width: 42rem;
  }
}

#popup-reg.modal.fade .modal-dialog.popup-reg {
  transform: translateY(12px) scale(0.96);
  opacity: 0;
}

#popup-reg.modal.show .modal-dialog.popup-reg {
  transform: translateY(0) scale(1);
  opacity: 1;
}

#popup-reg .modal-content {
  background: #14161b !important;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem !important;
  overflow: visible;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  padding: 0;
  width: 100%;
  position: relative;
}

/* Mobile: application form as bottom sheet */
@media (max-width: 767.98px) {
  #popup-reg.modal {
    padding: 0 !important;
    --bs-modal-margin: 0;
  }

  #popup-reg.modal.show {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
  }

  #popup-reg .modal-dialog.popup,
  #popup-reg .modal-dialog.popup-reg,
  #popup-reg .modal-dialog.modal-dialog-centered {
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-height: 0;
    height: auto;
    display: block;
    align-items: stretch;
    transform: translate3d(0, 100%, 0);
    opacity: 1;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  }

  #popup-reg.modal.fade .modal-dialog.popup-reg {
    transform: translate3d(0, 100%, 0);
    opacity: 1;
  }

  #popup-reg.modal.show .modal-dialog.popup-reg {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  #popup-reg .modal-dialog.popup-reg.is-dragging {
    transition: none;
  }

  #popup-reg .modal-content {
    border-radius: 1.25rem 1.25rem 0 0 !important;
    border-bottom: none !important;
    max-height: min(92dvh, 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.5);
  }

  html[data-theme="light"] #popup-reg .modal-content {
    box-shadow: 0 -16px 48px rgba(15, 17, 21, 0.18);
  }

  #popup-reg .modal-content::before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 2.5rem;
    height: 0.28rem;
    margin: 0.7rem auto 0.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
  }

  html[data-theme="light"] #popup-reg .modal-content::before {
    background: rgba(15, 17, 21, 0.18);
  }

  #popup-reg .popup-reg__close {
    top: 0.55rem;
    right: 0.7rem;
    width: 2.25rem;
    height: 2.25rem;
  }

  #popup-reg form.form {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  #popup-reg .form__wrapper {
    padding: 0.35rem 1.15rem calc(1.15rem + env(safe-area-inset-bottom, 0px));
    gap: 1.15rem;
  }

  #popup-reg .form__title {
    font-size: 1.35rem;
    padding-right: 2rem;
  }

  /* Inline lead forms → open bottom sheet instead of in-page submit */
  .form-reg.form-reg--callback .form__items .form__item_text,
  .form-reg.form-reg--callback .form__more,
  .unit-lp__consult-wrap form.form .form__item_text,
  .unit-lp__consult-wrap form.form .form__more {
    display: none !important;
  }

  .form-reg.form-reg--callback .form__button.button[disabled],
  .unit-lp__consult-wrap form.form .form__button.button[disabled] {
    opacity: 1;
    pointer-events: auto;
  }
}

html[data-theme="light"] #popup-reg .modal-content {
  background: #fff !important;
  color: #171717;
  border-color: #e8e8e8;
  box-shadow: 0 24px 64px rgba(15, 17, 21, 0.16);
}

#popup-reg .btn-close {
  display: none;
}

#popup-reg .popup-reg__close {
  position: absolute;
  z-index: 6;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

#popup-reg .popup-reg__close span {
  position: absolute;
  width: 0.9rem;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
}

#popup-reg .popup-reg__close span:first-child {
  transform: rotate(45deg);
}

#popup-reg .popup-reg__close span:last-child {
  transform: rotate(-45deg);
}

#popup-reg .popup-reg__close:hover {
  background: var(--svo-red);
  border-color: var(--svo-red);
  transform: rotate(90deg);
}

#popup-reg .popup-reg__close:hover span {
  background: #fff;
}

html[data-theme="light"] #popup-reg .popup-reg__close {
  background: rgba(15, 17, 21, 0.04);
  border-color: rgba(15, 17, 21, 0.12);
}

html[data-theme="light"] #popup-reg .popup-reg__close span {
  background: #0f1115;
}

html[data-theme="light"] #popup-reg .popup-reg__close:hover {
  background: var(--svo-red);
  border-color: var(--svo-red);
}

html[data-theme="light"] #popup-reg .popup-reg__close:hover span {
  background: #fff;
}

#popup-reg .form__wrapper {
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  #popup-reg .form__wrapper {
    padding: 2.75rem 2.5rem 2.25rem;
    gap: 1.75rem;
  }
}

@media (min-width: 992px) {
  #popup-reg .form__wrapper {
    padding-right: 11.5rem;
    max-width: none;
  }
}

@media (min-width: 1200px) {
  #popup-reg .form__wrapper {
    padding-right: 13rem;
  }
}

/* Soldier cutout — only inside open desktop modal; never in page flow */
.popup-reg__soldier {
  display: none !important;
}

@media (min-width: 992px) {
  #popup-reg .popup-reg__soldier {
    display: block !important;
    position: absolute;
    right: 0;
    bottom: 0;
    height: min(96%, 34rem);
    width: auto;
    z-index: 3;
    pointer-events: none;
    transform: translateX(30%);
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35));
  }

  #popup-reg .popup-reg__soldier img {
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: bottom right;
  }
}

#popup-reg .form__box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
}

#popup-reg .form__title {
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 26rem;
  margin: 0;
  text-align: left;
  color: inherit !important;
}

@media (min-width: 768px) {
  #popup-reg .form__title {
    font-size: 1.85rem;
    max-width: 28rem;
  }
}

#popup-reg .form__text {
  margin: 0;
  background: rgba(47, 111, 237, 0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(47, 111, 237, 0.35);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

#popup-reg .form__text::after {
  filter: none;
  opacity: 0.9;
}

html[data-theme="light"] #popup-reg .form__text {
  background: rgba(47, 111, 237, 0.1) !important;
  color: #0f1115 !important;
}

#popup-reg .popup-reg__pays {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  width: 100%;
  max-width: 22rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

#popup-reg .popup-reg__vacancy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0.15rem 0 0;
  padding: 0.8rem 1rem;
  width: 100%;
  max-width: 22rem;
  border-radius: 0.9rem;
  background: rgba(255, 77, 77, 0.1);
  border: 1px solid rgba(255, 77, 77, 0.28);
}

#popup-reg .popup-reg__vacancy[hidden] {
  display: none !important;
}

#popup-reg .popup-reg__vacancy-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

#popup-reg .popup-reg__vacancy strong {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

#popup-reg .popup-reg__vacancy-unit {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.68);
}

html[data-theme="light"] #popup-reg .popup-reg__vacancy {
  background: rgba(196, 30, 30, 0.08);
  border-color: rgba(196, 30, 30, 0.22);
}

html[data-theme="light"] #popup-reg .popup-reg__vacancy-label {
  color: #6b6b6b;
}

html[data-theme="light"] #popup-reg .popup-reg__vacancy strong {
  color: #0f1115;
}

html[data-theme="light"] #popup-reg .popup-reg__vacancy-unit {
  color: #5f5f5f;
}

#popup-reg .popup-reg__pays li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.65rem;
  align-items: baseline;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.62);
}

#popup-reg .popup-reg__pays li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: #2f6fed;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
}

#popup-reg .popup-reg__pays strong {
  grid-column: 2;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
}

#popup-reg .popup-reg__pays span {
  grid-column: 2;
}

html[data-theme="light"] #popup-reg .popup-reg__pays li {
  color: #5f5f5f;
}

html[data-theme="light"] #popup-reg .popup-reg__pays strong {
  color: #0f1115;
}

#popup-reg .form__phone {
  position: relative;
  width: 100%;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

html[data-theme="light"] #popup-reg .form__phone {
  background: #fff;
  border-color: #d0d0d0;
}

#popup-reg .form__phone.is-focused {
  border-color: #2f6fed;
}

#popup-reg .form__phone-hint {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.32);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  white-space: pre;
}

#popup-reg .form__phone-hint i {
  font-style: normal;
  color: #fff;
}

#popup-reg .form__phone-hint em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.32);
}

/* Formatting (+7, parentheses, dashes) matches typed digits */
#popup-reg .form__phone.is-focused .form__phone-hint,
#popup-reg .form__phone.is-filled .form__phone-hint {
  color: #fff;
}

#popup-reg .form__phone.is-focused .form__phone-hint em,
#popup-reg .form__phone.is-filled .form__phone-hint em {
  color: rgba(255, 255, 255, 0.32);
}

html[data-theme="light"] #popup-reg .form__phone-hint {
  color: rgba(15, 17, 21, 0.35);
}

html[data-theme="light"] #popup-reg .form__phone-hint i {
  color: #0f1115;
}

html[data-theme="light"] #popup-reg .form__phone-hint em {
  color: rgba(15, 17, 21, 0.35);
}

html[data-theme="light"] #popup-reg .form__phone.is-focused .form__phone-hint,
html[data-theme="light"] #popup-reg .form__phone.is-filled .form__phone-hint {
  color: #0f1115;
}

html[data-theme="light"] #popup-reg .form__phone.is-focused .form__phone-hint em,
html[data-theme="light"] #popup-reg .form__phone.is-filled .form__phone-hint em {
  color: rgba(15, 17, 21, 0.35);
}

/* Advantages callback plaque — premium CTA */
.advantages__callback {
  position: relative;
  overflow: hidden;
  border-radius: 0.875rem;
  isolation: isolate;
}

@media (min-width: 768px) {
  .advantages .advantages__items-grid .advantages__callback {
    grid-column: 1 / -1;
  }
}

.advantages__callback::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(219, 48, 48, 0.28), transparent 55%),
    radial-gradient(90% 120% at 0% 100%, rgba(75, 87, 63, 0.55), transparent 50%),
    linear-gradient(135deg, #171a14 0%, #12141a 48%, #1a1214 100%);
}

.advantages__callback::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 10px,
      rgba(255, 255, 255, 0.02) 10px,
      rgba(255, 255, 255, 0.02) 11px
    );
  pointer-events: none;
}

.advantages__callback-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.35rem 1.25rem 1.35rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.875rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.28);
}

.advantages__callback-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--svo-red), #4b573f);
}

@media (min-width: 900px) {
  .advantages__callback-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.75rem 1.75rem 1.75rem 2rem;
  }
}

.advantages__callback-text {
  flex: 1;
  min-width: 0;
  padding-left: 0.5rem;
}

.advantages__callback-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(219, 48, 48, 0.16);
  border: 1px solid rgba(219, 48, 48, 0.35);
  color: #ffb4b4;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.advantages__callback-badge::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--svo-red);
  box-shadow: 0 0 0 3px rgba(219, 48, 48, 0.25);
}

.advantages__callback-title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
  text-align: left;
  max-width: 28rem;
}

@media (min-width: 768px) {
  .advantages__callback-title {
    font-size: 1.45rem;
  }
}

.advantages__callback-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  text-align: left;
  max-width: 30rem;
}

.advantages__callback-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .advantages__callback-actions {
    width: min(100%, 20rem);
  }
}

.advantages__callback-phone-link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none !important;
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 11, 14, 0.45);
  backdrop-filter: blur(8px);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.advantages__callback-phone-link:hover {
  border-color: rgba(219, 48, 48, 0.55);
  background: rgba(219, 48, 48, 0.12);
  transform: translateY(-2px);
}

.advantages__callback-phone-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48) !important;
}

.advantages__callback-phone-num {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff !important;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .advantages__callback-phone-num {
    font-size: 1.65rem;
  }
}

.advantages__callback-phone-hint {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.42) !important;
}

.advantages__callback-btn,
.button.advantages__callback-btn,
html[data-theme="dark"] .button.advantages__callback-btn,
html[data-theme="light"] .button.advantages__callback-btn {
  width: 100%;
  height: 3.35rem;
  border-radius: 1rem !important;
  white-space: nowrap;
  font-weight: 700 !important;
  box-shadow: 0 10px 24px rgba(219, 48, 48, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.advantages__callback-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(219, 48, 48, 0.38);
}

html[data-theme="light"] .advantages__callback::before {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(219, 48, 48, 0.14), transparent 55%),
    radial-gradient(90% 120% at 0% 100%, rgba(75, 87, 63, 0.18), transparent 50%),
    linear-gradient(135deg, #f7f8f5 0%, #ffffff 50%, #f6f1f1 100%);
}

html[data-theme="light"] .advantages__callback-inner {
  border-color: #e5e5e5;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 14px 32px rgba(15, 17, 21, 0.08);
}

html[data-theme="light"] .advantages__callback-title {
  color: #0f1115;
}

html[data-theme="light"] .advantages__callback-desc {
  color: #5f5f5f;
}

html[data-theme="light"] .advantages__callback-phone-link {
  background: #fff;
  border-color: #e0e0e0;
}

html[data-theme="light"] .advantages__callback-phone-label {
  color: #8a8a8a !important;
}

html[data-theme="light"] .advantages__callback-phone-num {
  color: #0f1115 !important;
}

html[data-theme="light"] .advantages__callback-phone-hint {
  color: #8a8a8a !important;
}

html[data-theme="light"] .advantages__callback-badge {
  color: var(--svo-red);
  background: rgba(219, 48, 48, 0.08);
}

#popup-reg .form__phone .form__input {
  position: relative;
  z-index: 1;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: transparent !important;
  caret-color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

html[data-theme="light"] #popup-reg .form__phone .form__input {
  caret-color: #0f1115;
}

#popup-reg .form__items {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

#popup-reg .form__row--2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

@media (min-width: 576px) {
  #popup-reg .form__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

#popup-reg .form__item {
  width: 100%;
  margin: 0;
}

#popup-reg .form__input,
#popup-reg .form__tel {
  width: 100%;
  height: 3.25rem;
  border-radius: 0.875rem !important;
  padding: 0 1rem;
  font-size: 1rem;
}

@media (min-width: 768px) {
  #popup-reg .form__input,
  #popup-reg .form__tel {
    height: 3.5rem;
    font-size: 1.0625rem;
  }
}

#popup-reg .form__button.button {
  width: 100%;
  height: 3.25rem;
  border-radius: 1rem !important;
  background: var(--svo-red) !important;
  border-color: var(--svo-red) !important;
  color: #fff !important;
  font-size: 1rem;
}

@media (min-width: 768px) {
  #popup-reg .form__button.button {
    height: 3.5rem;
    font-size: 1.0625rem;
  }
}

#popup-reg .form__button.button:disabled,
#popup-reg .form__button.button[disabled] {
  background: rgba(219, 48, 48, 0.4) !important;
  border-color: transparent !important;
  color: rgba(255, 255, 255, 0.85) !important;
  opacity: 1;
}

#popup-reg .form__button.button:not(:disabled):hover {
  background: var(--svo-red-hover) !important;
  border-color: var(--svo-red-hover) !important;
}

#popup-reg .form__footer {
  align-items: flex-start;
  gap: 0.65rem;
}

#popup-reg .form__footer-text {
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65) !important;
}

html[data-theme="light"] #popup-reg .form__footer-text {
  color: #5f5f5f !important;
}

#popup-reg .form__footer-text a {
  color: inherit;
  text-decoration: underline;
}

.modal-backdrop.fade {
  opacity: 0;
  transition: opacity 0.28s ease;
}

.modal-backdrop.show {
  opacity: 0.62;
  background: #0a0b0e;
}

/* ========== Expanded footer ========== */
.footer {
  padding: 2.5rem 0 6.5rem !important;
  border-radius: 1.25rem 1.25rem 0 0 !important;
}

@media (min-width: 992px) {
  .footer {
    padding: 3.5rem 0 2rem !important;
  }
}

.footer .footer__wrapper {
  display: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 2.5rem 2rem;
    align-items: start;
  }

  .footer__brand {
    grid-column: auto;
  }
}

.footer__logo {
  display: inline-flex;
  margin-bottom: 1rem;
}

.footer__logo img {
  height: 2rem;
  width: auto;
  display: block;
}

.footer__logo--brand {
  align-items: center;
  gap: 0.9rem;
  text-decoration: none !important;
}

.footer__logo--brand .footer__brand-mark {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  border: 0;
}

.footer__logo--brand .footer__brand-name {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.3rem;
  line-height: 1;
}

.footer__logo--brand .footer__brand-title {
  font-family: "HeadingNow", "HelveticaNeueCyr", Impact, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

.footer__logo--brand .footer__brand-tagline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin: 0;
  padding-top: 0;
  border-top: 0;
  font-family: "HelveticaNeueCyr", "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1;
}

.footer__logo--brand .footer__brand-tagline::before {
  display: none;
}

.footer__logo--brand .footer__brand-dir {
  color: rgba(255, 255, 255, 0.72);
}

.footer__logo--brand .footer__brand-sep {
  color: var(--svo-red, #db3030);
  letter-spacing: 0;
  padding: 0 0.1rem;
}

html[data-theme="light"] .footer__logo--brand .footer__brand-mark {
  filter: invert(1);
}

html[data-theme="light"] .footer__logo--brand .footer__brand-title {
  color: #0f1115;
}

html[data-theme="light"] .footer__logo--brand .footer__brand-tagline {
  border-top-color: transparent;
  color: rgba(15, 17, 21, 0.62);
}

html[data-theme="light"] .footer__logo--brand .footer__brand-dir {
  color: rgba(15, 17, 21, 0.62);
}

html[data-theme="light"] .footer__logo--brand .footer__brand-sep {
  color: var(--svo-red, #db3030);
}

.footer__brand-text {
  margin: 0 0 0.75rem;
  max-width: 22rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.footer__cooperation {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin: 0 0 1.25rem;
  max-width: 36rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
}

.footer__cooperation strong {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
}

.footer__cooperation span {
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.58);
}

html[data-theme="light"] .footer__cooperation {
  border-color: rgba(15, 17, 21, 0.1);
  background: rgba(15, 17, 21, 0.03);
}

html[data-theme="light"] .footer__cooperation strong {
  color: rgba(15, 17, 21, 0.9);
}

html[data-theme="light"] .footer__cooperation span {
  color: rgba(15, 17, 21, 0.58);
}

.footer__phone {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  text-decoration: none !important;
  width: fit-content;
}

.footer__phone-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45) !important;
}

.footer__phone-num {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff !important;
  transition: color 0.2s ease;
}

@media (min-width: 768px) {
  .footer__phone-num {
    font-size: 1.75rem;
  }
}

.footer__phone:hover .footer__phone-num {
  color: var(--svo-red) !important;
}

.footer__social,
.footer .footer__social {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  width: auto !important;
  max-width: none !important;
  grid-column: auto !important;
  justify-self: start !important;
}

.footer__social-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.85rem !important;
  height: 2.85rem !important;
  padding: 0;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.footer__social-btn svg {
  display: block;
  width: 1.25rem;
  height: auto;
  flex-shrink: 0;
}

.footer__social-btn:hover {
  background: var(--svo-red) !important;
  border-color: var(--svo-red) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

html[data-theme="light"] .footer__social-btn {
  border-color: rgba(15, 17, 21, 0.14);
  background: #fff;
  color: #121412 !important;
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.06);
}

html[data-theme="light"] .footer__social-btn:hover {
  background: var(--svo-red) !important;
  border-color: var(--svo-red) !important;
  color: #fff !important;
}

.footer__col-title {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff !important;
}

.footer__links,
.footer__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__links a {
  font-size: 0.9375rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #fff !important;
}

.footer__meta li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer__meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}

.footer__meta span,
.footer__meta a {
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none;
}

.footer__meta a:hover {
  color: #fff !important;
}

html[data-theme="dark"] .button.footer__cta,
html[data-theme="light"] .button.footer__cta,
.footer .button.footer__cta,
.footer__cta {
  margin-top: 1.25rem !important;
  width: 100%;
  max-width: 16rem;
  border-radius: 1rem !important;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .footer__madeby {
    order: 0;
    margin-left: auto;
    margin-right: 1.5rem;
  }

  .footer__legal {
    margin-left: 0;
  }
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__madeby {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4) !important;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer__madeby:hover {
  color: #fff !important;
}

html[data-theme="light"] .footer__madeby {
  color: rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="light"] .footer__madeby:hover {
  color: #111 !important;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer__legal a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55) !important;
  text-decoration: none;
}

.footer__legal a:hover {
  color: #fff !important;
}

html[data-theme="dark"] .footer a,
html[data-theme="light"] .footer a {
  color: inherit;
}

/* ========== Vacancies switch + map ========== */
.vac-switch__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.vac-switch__toggle {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  padding: 0.35rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

html[data-theme="light"] .vac-switch__toggle {
  background: #ececec;
  border-color: #e0e0e0;
}

.vac-switch__btn {
  appearance: none;
  border: none;
  cursor: pointer;
  border-radius: 0.8rem;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

html[data-theme="light"] .vac-switch__btn {
  color: #6a6a6a;
}

.vac-switch:has(#vac-view-units:checked) .vac-switch__btn[data-vac-view="units"],
.vac-switch:has(#vac-view-directions:checked) .vac-switch__btn[data-vac-view="directions"],
.vac-switch__btn.is-active {
  color: #fff;
  background: var(--svo-red);
  box-shadow: 0 10px 22px rgba(219, 48, 48, 0.28);
}

html[data-theme="light"] .vac-switch:has(#vac-view-units:checked) .vac-switch__btn[data-vac-view="units"],
html[data-theme="light"] .vac-switch:has(#vac-view-directions:checked) .vac-switch__btn[data-vac-view="directions"],
html[data-theme="light"] .vac-switch__btn.is-active {
  color: #fff;
}

@media (min-width: 768px) {
  .vac-switch__btn {
    min-height: 3.75rem;
    font-size: 1.15rem;
  }
}

.vac-switch__panel,
.vac-switch__panel[hidden] {
  display: none !important;
}

.vac-switch:has(#vac-view-units:checked) .vac-switch__panel[data-vac-panel="units"],
.vac-switch:has(#vac-view-directions:checked) .vac-switch__panel[data-vac-panel="directions"],
.vac-switch__panel.is-active:not([hidden]) {
  display: block !important;
}

.vac-switch:has(#vac-view-units:checked) .vac-switch__panel[data-vac-panel="directions"],
.vac-switch:has(#vac-view-directions:checked) .vac-switch__panel[data-vac-panel="units"] {
  display: none !important;
}

/* Directions: map flush to plaque sides + bottom, clipped to plaque radius */
.vac-switch:has(#vac-view-directions:checked) {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden;
}

.vac-switch:has(#vac-view-directions:checked) .vac-switch__toggle {
  width: min(42rem, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.vac-switch:has(#vac-view-directions:checked) .vac-map {
  border-radius: 0;
  border: none;
}

.vac-card .area__img {
  position: relative;
}

.vac-card__count {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 17, 21, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  backdrop-filter: blur(6px);
}

/* ========== Unit vacancy cards redesign ========== */
.vac-cards.area__box--mobile-version,
.vac-switch__panel[data-vac-panel="units"] .vac-cards {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1rem !important;
}

@media (min-width: 640px) {
  .vac-switch__panel[data-vac-panel="units"] .vac-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem !important;
  }
}

@media (min-width: 1100px) {
  .vac-switch__panel[data-vac-panel="units"] .vac-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem !important;
  }
}

.vac-switch__panel[data-vac-panel="units"] .vac-card.area__item,
.vac-switch__panel[data-vac-panel="units"] .vac-card.area__item--mobile-version,
html[data-theme="dark"] .vac-switch__panel[data-vac-panel="units"] .vac-card.area__item,
html[data-theme="light"] .vac-switch__panel[data-vac-panel="units"] .vac-card.area__item {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 1rem !important;
  border: 1px solid var(--svo-border) !important;
  background: var(--svo-card) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  order: unset !important;
  width: auto !important;
  max-width: none !important;
}

html[data-theme="light"] .vac-switch__panel[data-vac-panel="units"] .vac-card.area__item {
  box-shadow: 0 12px 28px rgba(23, 23, 23, 0.08);
}

.vac-switch__panel[data-vac-panel="units"] .vac-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  border-color: rgba(219, 48, 48, 0.45) !important;
}

html[data-theme="light"] .vac-switch__panel[data-vac-panel="units"] .vac-card:hover {
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.12);
}

.vac-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #12151b;
  line-height: 0;
  font-size: 0;
  margin-bottom: -1px;
  z-index: 1;
  isolation: isolate;
  border-bottom: none;
}

.vac-card__media .vac-card__photo,
.vac-card__media > img:not(.vac-card__emblem) {
  width: 100%;
  height: calc(100% + 2px);
  margin: 0 0 -1px;
  object-fit: cover;
  object-position: center;
  display: block;
  vertical-align: top;
  transition: transform 0.45s ease;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.vac-card:hover .vac-card__media .vac-card__photo,
.vac-card:hover .vac-card__media > img:not(.vac-card__emblem) {
  transform: scale(1.05) translateZ(0);
}

.vac-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(10, 12, 16, 0.62) 100%);
  pointer-events: none;
  z-index: 1;
}

.vac-card__emblem {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 3;
  width: 3.4rem;
  height: 3.4rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.25);
  background: #0f1115;
  transition: transform 0.25s ease;
}

@media (min-width: 768px) {
  .vac-card__emblem {
    width: 3.75rem;
    height: 3.75rem;
  }
}

.vac-card:hover .vac-card__emblem {
  transform: scale(1.06);
}

.vac-card__count {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  left: auto;
  bottom: auto;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(219, 48, 48, 0.92);
  border: none;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  backdrop-filter: none;
  box-shadow: 0 8px 18px rgba(219, 48, 48, 0.35);
}

.vac-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1rem 1.1rem;
  flex: 1;
  position: relative;
  z-index: 2;
  background: var(--svo-card);
}

.vac-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--svo-text);
  letter-spacing: -0.01em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
}

.vac-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0.18rem 0.5rem;
  border-radius: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  background: #db3030;
  box-shadow: 0 0 0 1px rgba(219, 48, 48, 0.35);
}

.vac-card__facts {
  list-style: none;
  margin: auto 0 0;
  padding: 0.75rem 0.9rem 0.85rem;
  display: grid;
  gap: 0.4rem;
  border-radius: 0.85rem 0.85rem 0 0;
  border: 1px solid rgba(219, 48, 48, 0.28);
  border-bottom: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(219, 48, 48, 0.14) 55%,
    rgba(219, 48, 48, 0.42) 100%
  );
}

html[data-theme="light"] .vac-card__facts {
  border-color: rgba(219, 48, 48, 0.22);
  background: linear-gradient(
    180deg,
    #f7f7f7 0%,
    rgba(219, 48, 48, 0.1) 55%,
    rgba(219, 48, 48, 0.28) 100%
  );
}

.vac-card__fact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.45rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
}

html[data-theme="light"] .vac-card__fact {
  background: transparent;
  border: none;
}

.vac-card__fact-label {
  flex: 0 0 auto;
  font-size: 0.84rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--svo-muted);
  line-height: 1.35;
}

.vac-card__fact-label::after {
  content: ":";
}

.vac-card__fact-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--svo-text);
  line-height: 1.35;
}

.vac-card__fact--year .vac-card__fact-value {
  color: #ff4d4d;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

html[data-theme="light"] .vac-card__fact--year .vac-card__fact-value {
  color: #e11d1d;
}

.vac-card__btn {
  margin-top: 0 !important;
  width: 100%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  min-height: 2.65rem;
  height: 2.65rem;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  border-radius: 0 0 0.85rem 0.85rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  overflow: hidden;
  position: relative;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
  line-height: 1 !important;
  transition: background 0.25s ease, border-color 0.25s ease, gap 0.28s ease;
}

.vac-card__btn-text {
  display: inline-block;
  white-space: nowrap;
  font-size: inherit;
  font-weight: inherit;
  transition: transform 0.28s ease;
}

.vac-card__btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0;
  height: 0.9rem;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-0.25rem);
  transition: opacity 0.28s ease, transform 0.28s ease, width 0.28s ease;
  flex: 0 0 auto;
  pointer-events: none;
}

.vac-card__btn-arrow svg {
  width: 0.9rem;
  height: 0.9rem;
  min-width: 0.9rem;
  display: block;
}

html[data-theme="dark"] .vac-card__btn.button,
html[data-theme="light"] .vac-card__btn.button {
  background: var(--svo-red) !important;
  border: 1px solid var(--svo-red) !important;
  color: #fff !important;
  border-radius: 0 0 0.85rem 0.85rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
}

.vac-card:hover .vac-card__btn.button,
.vac-card:focus-within .vac-card__btn.button,
html[data-theme="dark"] .vac-card:hover .vac-card__btn.button,
html[data-theme="light"] .vac-card:hover .vac-card__btn.button {
  background: var(--svo-red-hover) !important;
  border-color: var(--svo-red-hover) !important;
  color: #fff !important;
  gap: 0.4rem;
}

.vac-card:hover .vac-card__btn-text,
.vac-card:focus-within .vac-card__btn-text {
  transform: translateX(-0.08rem);
}

.vac-card:hover .vac-card__btn-arrow,
.vac-card:focus-within .vac-card__btn-arrow {
  width: 0.9rem;
  opacity: 1;
  transform: translateX(0);
}

/* Hide legacy badge/meta if any remain */
.vac-card__count,
.vac-card__meta {
  display: none;
}

.vac-map {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1118;
  min-height: 26rem;
}

/* Mobile directions: map only, compact height so page stays scrollable */
@media (max-width: 991.98px) {
  .vac-map__sidebar {
    display: none !important;
  }

  .vac-switch:has(#vac-view-directions:checked) {
    padding-top: 0.75rem !important;
  }

  .vac-switch:has(#vac-view-directions:checked) .vac-switch__toggle {
    width: min(42rem, calc(100% - 1.5rem));
    margin-bottom: 0.75rem;
  }

  .vac-switch:has(#vac-view-directions:checked) .vac-map,
  .vac-switch:has(#vac-view-directions:checked) .vac-map__main,
  .vac-switch:has(#vac-view-directions:checked) .vac-map__canvas,
  .vac-switch:has(#vac-view-directions:checked) .vac-map .leaflet-container {
    min-height: 18rem;
    height: min(48vh, 22rem);
    max-height: 22rem;
  }

  .vac-switch:has(#vac-view-directions:checked) .vac-map {
    border-radius: 1rem;
    margin: 0 0.75rem;
    width: auto;
  }
}

@media (min-width: 992px) {
  .vac-map {
    grid-template-columns: minmax(16rem, 20rem) 1fr;
    min-height: 40rem;
    height: 40rem;
  }
}

.vac-map__sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.15rem 1rem 1.25rem;
  background: rgba(12, 14, 18, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
}

@media (min-width: 992px) {
  .vac-map__sidebar {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    overflow: auto;
  }
}

.vac-map__sidebar-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e8c56a;
  line-height: 1.25;
}

.vac-map__sidebar-lead {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}

.vac-map__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.vac-map__item {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 0.8rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.vac-map__item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.vac-map__item.is-active {
  border-color: var(--region-color);
  background: color-mix(in srgb, var(--region-color) 14%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--region-color) 35%, transparent),
    0 10px 24px color-mix(in srgb, var(--region-color) 18%, transparent);
}

.vac-map__item-pin {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1rem;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--region-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--region-color) 28%, transparent);
  position: relative;
}

.vac-map__item-pin::after {
  content: "";
  position: absolute;
  inset: 0.28rem;
  border-radius: 50%;
  background: #0f1115;
}

.vac-map__item-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.vac-map__item-name {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.vac-map__item-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.3;
}

.vac-map__sidebar-note {
  margin: auto 0 0;
  padding-top: 0.35rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.42);
}

.vac-map__main {
  position: relative;
  min-height: 26rem;
}

@media (min-width: 992px) {
  .vac-map__main {
    min-height: 100%;
    height: 100%;
  }
}

.vac-map__canvas {
  width: 100%;
  height: 100%;
  min-height: 26rem;
  z-index: 1;
}

@media (min-width: 992px) {
  .vac-map__canvas {
    min-height: 100%;
  }
}

.vac-map .leaflet-container {
  width: 100%;
  height: 100%;
  min-height: 26rem;
  background: #0d1118;
  font: inherit;
}

@media (min-width: 992px) {
  .vac-map .leaflet-container {
    min-height: 100%;
  }
}

.vac-map .leaflet-control-zoom {
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 0.5rem !important;
  overflow: hidden;
  box-shadow: none !important;
}

.vac-map .leaflet-control-zoom a {
  width: 2.25rem !important;
  height: 2.25rem !important;
  line-height: 2.25rem !important;
  background: rgba(15, 17, 21, 0.88) !important;
  color: #fff !important;
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

.vac-map .leaflet-control-zoom a:hover {
  background: rgba(40, 44, 52, 0.95) !important;
}

.vac-map .leaflet-control-attribution {
  background: rgba(15, 17, 21, 0.7) !important;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.65rem;
}

.vac-map .leaflet-control-attribution a {
  color: rgba(255, 255, 255, 0.75);
}

.vac-map .leaflet-attribution-flag {
  display: none !important;
}

.vac-map__poly {
  /* keep crisp OSM outlines */
}

.vac-map__label {
  background: transparent !important;
  border: none !important;
}

.vac-map__pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  color: #fff;
  text-align: center;
  pointer-events: auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.vac-map__pin i {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--vac-dot, #db3030);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--vac-dot, #db3030) 35%, transparent),
    0 6px 14px rgba(0, 0, 0, 0.45);
  position: relative;
}

.vac-map__pin i::after {
  content: "";
  position: absolute;
  inset: 0.26rem;
  border-radius: 50%;
  background: #0f1115;
}

.vac-map__pin strong {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
  max-width: 9.5rem;
}

.vac-map__pin small {
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.15;
  max-width: 9.5rem;
}

.vac-map__popup {
  position: absolute;
  z-index: 500;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(calc(100% - 1.5rem), 20rem);
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(28, 31, 38, 0.98) 0%, rgba(16, 18, 23, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.vac-map__popup[hidden] {
  display: none !important;
}

.vac-map__popup-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 1.85rem;
  height: 1.85rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.vac-map__popup-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.vac-map__popup-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 1.75rem 0.95rem 0;
  line-height: 1.2;
}

.vac-map__popup-stats {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.vac-map__popup-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vac-map__popup-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.3;
}

.vac-map__popup-stat-value {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

.vac-map__popup-btn {
  width: 100%;
  height: 2.85rem;
  border-radius: 1rem !important;
  font-weight: 700 !important;
}

html[data-theme="light"] .vac-map {
  border-color: #e5e5e5;
  background: #eef1ea;
}

html[data-theme="light"] .vac-map__sidebar {
  background: #f7f7f5;
  border-color: #e5e5e5;
}

html[data-theme="light"] .vac-map__sidebar-title {
  color: #b8860b;
}

html[data-theme="light"] .vac-map__sidebar-lead,
html[data-theme="light"] .vac-map__sidebar-note {
  color: #6a6a6a;
}

html[data-theme="light"] .vac-map__item {
  background: #fff;
  border-color: #e5e5e5;
}

html[data-theme="light"] .vac-map__item-name {
  color: #171717;
}

html[data-theme="light"] .vac-map .leaflet-container {
  background: #eef1ea;
}

html[data-theme="light"] .vac-map .leaflet-control-zoom a {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #171717 !important;
  border-bottom-color: #e5e5e5 !important;
}

html[data-theme="light"] .vac-map .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.8) !important;
  color: #6a6a6a;
}

html[data-theme="light"] .vac-map .leaflet-control-attribution a {
  color: #171717;
}

html[data-theme="light"] .vac-map__pin {
  color: #171717;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.85);
}

html[data-theme="light"] .vac-map__pin small {
  color: #4a4a4a;
}

html[data-theme="light"] .vac-map__popup {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
  border-color: #e5e5e5;
}

html[data-theme="light"] .vac-map__popup-title {
  color: #0f1115;
}

html[data-theme="light"] .vac-map__popup-stat {
  background: #f3f3f3;
  border-color: #e8e8e8;
}

html[data-theme="light"] .vac-map__popup-stat-label {
  color: #6a6a6a;
}

html[data-theme="light"] .vac-map__popup-stat-value {
  color: #0f1115;
}

html[data-theme="light"] .vac-map__popup-close {
  background: rgba(15, 17, 21, 0.06);
  color: #5f5f5f;
}

/* Benefits: remove outer plaque (desktop + mobile) — keep inner cards */
.benefits .benefits__wrapper.section-bg-mob,
.benefits .benefits__wrapper,
html[data-theme="dark"] .benefits .benefits__wrapper.section-bg-mob,
html[data-theme="light"] .benefits .benefits__wrapper.section-bg-mob {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (min-width: 768px) {
  .benefits .benefits__box.block-sm,
  .benefits .benefits__box.bg-white,
  html[data-theme="dark"] .benefits .benefits__box,
  html[data-theme="light"] .benefits .benefits__box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}

@media (max-width: 767.98px) {
  .benefits .benefits__wrapper,
  .benefits .benefits__list {
    gap: 0.75rem !important;
  }

  .benefits .benefits__box.block-sm,
  .benefits .benefits__box.bg-white,
  html[data-theme="dark"] .benefits .benefits__box,
  html[data-theme="light"] .benefits .benefits__box {
    background: var(--svo-card, #1a1c22) !important;
    border: 1px solid var(--svo-border, rgba(255, 255, 255, 0.08)) !important;
    border-radius: 1rem !important;
    box-shadow: none !important;
    padding: 1.15rem 1rem !important;
  }

  html[data-theme="light"] .benefits .benefits__box.block-sm,
  html[data-theme="light"] .benefits .benefits__box.bg-white {
    background: #fff !important;
    border-color: rgba(15, 17, 21, 0.1) !important;
  }
}

/* Adv contract service: remove outer plaque around small cards */
.adv-contract-service .adv-contract-service__wrap.section-mob,
.adv-contract-service .adv-contract-service__wrap,
html[data-theme="dark"] .adv-contract-service .adv-contract-service__wrap.section-mob,
html[data-theme="light"] .adv-contract-service .adv-contract-service__wrap.section-mob {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Max payouts: remove outer plaque on mobile — keep only inner cards */
@media (max-width: 767.98px) {
  .advantages .advantages__wrapper.section-bg,
  .advantages .advantages__wrapper.not-bg,
  html[data-theme="dark"] .advantages .advantages__wrapper.section-bg,
  html[data-theme="light"] .advantages .advantages__wrapper.section-bg {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }

  .advantages .advantages__box {
    gap: 0.75rem;
  }
}

/* Info + FAQ: remove outer plaque wrappers */
.area.info .area__wrapper.section-mob,
.area.info .area__wrapper,
.faq .faq__wrapper.section-mob,
.faq .faq__wrapper,
html[data-theme="dark"] .area.info .area__wrapper.section-mob,
html[data-theme="light"] .area.info .area__wrapper.section-mob,
html[data-theme="dark"] .faq .faq__wrapper.section-mob,
html[data-theme="light"] .faq .faq__wrapper.section-mob {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Flip cards */
.adv-contract-service__item {
  perspective: 900px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  gap: 0 !important;
  display: block !important;
  min-height: 11.5rem;
}

@media (min-width: 768px) {
  .adv-contract-service__item {
    min-height: clamp(13.5rem, 16vw, 17.5rem);
  }
}

.adv-contract-service__flip {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  transition:
    transform 0.42s cubic-bezier(0.22, 1.15, 0.36, 1),
    box-shadow 0.3s ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .adv-contract-service__item:hover .adv-contract-service__flip {
    transform: rotateY(180deg) scale(1.03);
  }
}

/* Tap / keyboard — только класс .is-flipped (не :focus-within: иначе не закрывается) */
.adv-contract-service__item.is-flipped .adv-contract-service__flip {
  transform: rotateY(180deg) scale(1.03);
}

.adv-contract-service__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .adv-contract-service__face {
    padding: 1.15rem 1.25rem;
    border-radius: 1rem;
  }
}

.adv-contract-service__face--front {
  background: #fff;
  transform: rotateY(0deg);
}

.adv-contract-service__face--back {
  justify-content: flex-start;
  gap: 0.85rem;
  background: linear-gradient(155deg, #3d8fd4 0%, #2a6fad 48%, #1f5a8f 100%);
  color: #fff;
  transform: rotateY(180deg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.adv-contract-service__face--back-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.85rem;
  flex: 1;
  min-height: 0;
  width: 100%;
  height: 100%;
}

.adv-contract-service__item-desc--back {
  margin: 0;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.25;
}

.adv-contract-service__item-more {
  margin: 0;
  margin-top: auto;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

@media (min-width: 768px) {
  .adv-contract-service__item-more {
    font-size: 0.98rem;
  }
}

@media (min-width: 1200px) {
  .adv-contract-service__item-more {
    font-size: 1.05rem;
  }
}

html[data-theme="dark"] .adv-contract-service__item-desc--back,
html[data-theme="light"] .adv-contract-service__item-desc--back {
  color: #fff !important;
}

/* Mobile: tap to 3D flip (same as desktop hover) */
@media (max-width: 767.98px) {
  .adv-contract-service__content {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
    align-items: stretch;
  }

  .adv-contract-service__item {
    min-height: 10.5rem !important;
    height: auto !important;
    perspective: 1100px !important;
    -webkit-perspective: 1100px !important;
  }

  .adv-contract-service__flip {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 10.5rem !important;
    transform-style: preserve-3d !important;
    -webkit-transform-style: preserve-3d !important;
    transition: transform 0.55s cubic-bezier(0.22, 1.1, 0.36, 1) !important;
    will-change: transform;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  /* disable hover flip on touch; only .is-flipped */
  .adv-contract-service__item:hover .adv-contract-service__flip {
    transform: none !important;
  }

  .adv-contract-service__item.is-flipped .adv-contract-service__flip {
    transform: rotateY(180deg) !important;
  }

  .adv-contract-service__face {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 10.5rem !important;
    height: 100% !important;
    padding: 0.7rem 0.55rem !important;
    gap: 0.45rem !important;
    border-radius: 0.75rem !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .adv-contract-service__face--front {
    background: #1a1d22 !important;
    transform: rotateY(0deg) !important;
    z-index: 2;
  }

  html[data-theme="light"] .adv-contract-service__face--front {
    background: #fff !important;
  }

  .adv-contract-service__face--back {
    display: flex !important;
    grid-template-rows: unset !important;
    justify-content: flex-start !important;
    background: linear-gradient(155deg, #3d8fd4 0%, #2a6fad 48%, #1f5a8f 100%) !important;
    color: #fff !important;
    transform: rotateY(180deg) !important;
    padding: 0.65rem 0.55rem !important;
    z-index: 1;
  }

  .adv-contract-service__face--back-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .adv-contract-service__item.is-flipped .adv-contract-service__face--front,
  .adv-contract-service__item.is-flipped .adv-contract-service__face--back {
    /* faces stay in place; parent flip handles rotation */
  }

  .adv-contract-service__item-desc--back {
    display: block !important;
    font-size: 0.7rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  .adv-contract-service__item-icon {
    width: 1.85rem !important;
    height: 1.85rem !important;
  }

  .adv-contract-service__item-desc {
    font-size: 0.72rem !important;
    line-height: 1.22 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
  }

  .adv-contract-service__item-more {
    font-size: 0.68rem !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    margin-top: auto !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
  }

  .adv-contract-service.section {
    padding-bottom: 5.5rem;
  }
}

/* ========== Candidate path ========== */
.candidate-path {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3rem;
  background: var(--svo-page);
  color: var(--svo-text);
}

.candidate-path__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.candidate-path__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  opacity: 0.28;
}

.candidate-path__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 17, 21, 0.55) 0%, rgba(15, 17, 21, 0.88) 48%, var(--svo-page) 100%),
    linear-gradient(180deg, var(--svo-page) 0%, transparent 22%, transparent 78%, var(--svo-page) 100%);
}

html[data-theme="light"] .candidate-path__bg img {
  opacity: 0.16;
  filter: grayscale(0.25);
}

html[data-theme="light"] .candidate-path__bg::after {
  background:
    linear-gradient(90deg, rgba(245, 245, 245, 0.72) 0%, rgba(245, 245, 245, 0.92) 45%, var(--svo-page) 100%),
    linear-gradient(180deg, var(--svo-page) 0%, transparent 20%, transparent 80%, var(--svo-page) 100%);
}

.candidate-path__container {
  position: relative;
  z-index: 1;
}

.candidate-path__head {
  margin-bottom: 1.75rem;
  max-width: 44rem;
}

.candidate-path__title {
  margin: 0 0 0.5rem;
  color: var(--svo-text) !important;
}

.candidate-path__lead {
  margin: 0;
  color: var(--svo-muted) !important;
  font-weight: 500;
}

.candidate-path__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .candidate-path {
    padding: 3.25rem 0 4rem;
  }

  .candidate-path__head {
    margin-bottom: 2.25rem;
  }

  .candidate-path__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.15rem 1rem;
  }
}

.candidate-path__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.75rem;
  min-height: 100%;
  padding: 1.35rem 1.15rem 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--svo-border);
  background: var(--svo-card);
}

@media (min-width: 768px) {
  .candidate-path__card {
    padding: 1.5rem 1.2rem 1.4rem;
    border-radius: 16px;
    gap: 0.85rem;
  }

  .candidate-path__card:not(:nth-child(5n))::after {
    content: "";
    position: absolute;
    top: 1.55rem;
    right: -0.55rem;
    width: 0.65rem;
    height: 0.65rem;
    border-top: 2px solid rgba(46, 140, 214, 0.5);
    border-right: 2px solid rgba(46, 140, 214, 0.5);
    transform: rotate(45deg);
    z-index: 2;
  }

  .candidate-path__card:nth-child(5)::after {
    content: none;
  }
}

.candidate-path__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  height: 2.15rem;
  padding: 0 0.45rem;
  border-radius: 8px;
  background: rgba(46, 140, 214, 0.14);
  color: #1f7ec8;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.candidate-path__icon {
  width: 5.5rem;
  height: 5.5rem;
  align-self: center;
  margin: 0.15rem 0 0.1rem;
}

@media (min-width: 768px) {
  .candidate-path__icon {
    width: 6.5rem;
    height: 6.5rem;
  }
}

.candidate-path__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.candidate-path__card-title {
  margin: 0;
  width: 100%;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--svo-text);
}

@media (min-width: 768px) {
  .candidate-path__card-title {
    font-size: 1.08rem;
  }
}

.candidate-path__card-text {
  margin: 0;
  margin-top: auto;
  width: 100%;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--svo-muted);
}

@media (min-width: 768px) {
  .candidate-path__card-text {
    font-size: 1rem;
  }
}

.candidate-path__footer {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 1.75rem;
  padding: 1.25rem 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--svo-border);
  background: var(--svo-card);
}

@media (min-width: 768px) {
  .candidate-path__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    margin-top: 2.25rem;
    padding: 1.5rem 1.75rem;
    border-radius: 16px;
  }
}

.candidate-path__support {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  max-width: 34rem;
}

.candidate-path__support-icon {
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  color: #1f7ec8;
}

.candidate-path__support-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.candidate-path__support strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--svo-text);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.candidate-path__support span {
  display: block;
  font-size: 0.95rem;
  color: var(--svo-muted);
  line-height: 1.4;
}

.candidate-path__cta,
.button.candidate-path__cta,
html[data-theme="dark"] .button.candidate-path__cta,
html[data-theme="light"] .button.candidate-path__cta {
  flex: 0 0 auto;
  min-width: 16rem;
  justify-content: center;
  text-align: center;
  border-radius: 1rem !important;
}

/* ========== Reviews slider ========== */
.reviews-migrant .reviews-migrant__wrapper,
html[data-theme="dark"] .reviews-migrant .reviews-migrant__wrapper,
html[data-theme="light"] .reviews-migrant .reviews-migrant__wrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.reviews-migrant__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.reviews-migrant__title {
  margin: 0 !important;
  max-width: 36rem;
}

.reviews-migrant__controls {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.reviews-migrant__arrow {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  border: 1px solid var(--svo-border, rgba(255, 255, 255, 0.16));
  background: var(--svo-card, #1a1c22);
  color: var(--svo-text, #fff);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.reviews-migrant__arrow:hover {
  background: var(--svo-red);
  border-color: var(--svo-red);
  color: #fff;
  transform: translateY(-1px);
}

.reviews-migrant__dots {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.25rem;
}

.reviews-migrant__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

html[data-theme="light"] .reviews-migrant__dot {
  background: rgba(15, 17, 21, 0.22);
}

.reviews-migrant__dot.is-active {
  width: 1.45rem;
  background: var(--svo-red);
}

.reviews-migrant__viewport {
  overflow: hidden;
  margin-bottom: 0;
  touch-action: pan-y;
  cursor: grab;
}

.reviews-migrant__viewport.is-dragging {
  cursor: grabbing;
}

.reviews-migrant__track {
  display: flex;
  width: 100%;
  gap: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.reviews-migrant__track.is-dragging {
  transition: none;
}

.reviews-migrant__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .reviews-migrant__track {
    gap: 1.15rem;
  }

  .reviews-migrant__slide {
    flex: 0 0 calc((100% - 2.3rem) / 3);
    width: calc((100% - 2.3rem) / 3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-migrant__track {
    transition: none;
  }
}

.reviews-migrant__card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 3 / 4;
  background: #12141a;
  border: 1px solid var(--svo-border, rgba(255, 255, 255, 0.08));
  isolation: isolate;
}

.reviews-migrant__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.45s ease, filter 0.35s ease;
}

.reviews-migrant__photo--chat {
  object-fit: cover;
  object-position: center center;
  background: #1c1e24;
}

.reviews-migrant__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 1.25rem 1.1rem 1.15rem;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.05) 20%, rgba(8, 10, 14, 0.88) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.reviews-migrant__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.reviews-migrant__text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Desktop: show review text on hover */
@media (hover: hover) and (pointer: fine) {
  .reviews-migrant__card:hover .reviews-migrant__photo,
  .reviews-migrant__card:focus-within .reviews-migrant__photo {
    transform: scale(1.04);
    filter: brightness(0.42);
  }

  .reviews-migrant__card:hover .reviews-migrant__overlay,
  .reviews-migrant__card:focus-within .reviews-migrant__overlay {
    opacity: 1;
  }
}

/* Mobile: text plaque always visible, no hover/tap toggle */
@media (hover: none), (max-width: 767.98px) {
  .reviews-migrant__card .reviews-migrant__photo {
    transform: none;
    filter: brightness(0.42);
  }

  .reviews-migrant__card .reviews-migrant__overlay {
    opacity: 1;
  }
}

html[data-theme="light"] .reviews-migrant__card {
  border-color: #e8e8e8;
}

html[data-theme="light"] .reviews-migrant__arrow {
  background: #fff;
  border-color: #e0e0e0;
  color: #0f1115;
}

/* ========== Form-reg callback banner ========== */
.form-reg.form-reg--callback {
  overflow-x: clip;
  overflow-y: visible;
}

.form-reg.form-reg--callback .container {
  overflow: visible;
}

.form-reg.form-reg--callback .form-reg__wrapper {
  position: relative;
  overflow: visible;
  z-index: 1;
  /* Clip bottom/left hard; allow right overhang + top for bubble */
  clip-path: inset(-3rem -5.5rem 0 0 round 1.5rem);
}

@media (min-width: 768px) {
  .form-reg.form-reg--callback .form-reg__wrapper {
    clip-path: inset(-3.25rem -6.5rem 0 0 round 1.5rem);
  }
}

.form-reg.form-reg--callback .form {
  position: relative;
  z-index: 2;
}

.form-reg.form-reg--callback .form-reg__img {
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.form-reg.form-reg--callback .form__title {
  max-width: none;
  line-height: 1.2;
  padding-right: 0.5rem !important;
}

@media (min-width: 768px) {
  .form-reg.form-reg--callback .form__box {
    flex: 1 1 42%;
    min-width: min(19rem, 100%);
    max-width: none;
  }

  .form-reg.form-reg--callback .form__title {
    max-width: none;
    width: 100%;
    white-space: normal;
  }

  .form-reg.form-reg--callback .form__title.br,
  .form-reg.form-reg--callback .form__title {
    word-break: normal;
    overflow-wrap: normal;
  }
}

.form-reg__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.form-reg__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0;
  width: fit-content;
  max-width: max-content;
  padding: 0.6rem 1.1rem 0.6rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  color: var(--svo-red) !important;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-reg__phone::before {
  content: "";
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--svo-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7.5 4.8h2.4l1.2 3.2-1.6.9a12 12 0 005.2 5.2l.9-1.6 3.2 1.2v2.4a2 2 0 01-2 2A14.2 14.2 0 015.5 6.8a2 2 0 012-2z' stroke='%23fff' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.88rem no-repeat;
  flex: 0 0 auto;
}

.form-reg__phone:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
  color: var(--svo-red-hover) !important;
}

html[data-theme="dark"] .form-reg__phone,
html[data-theme="light"] .form-reg__phone {
  color: var(--svo-red) !important;
}

.form-reg__messengers {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.form-reg__messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #fff;
  color: var(--svo-red);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.form-reg__messenger:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
  color: var(--svo-red-hover);
}

.form-reg__messenger svg {
  display: block;
}

.form-reg.form-reg--callback .form__items {
  max-width: 22rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.form-reg.form-reg--callback .form__items .form__item,
.form-reg.form-reg--callback .form__items .form__input,
.form-reg.form-reg--callback .form__items .form__button {
  width: 100%;
  max-width: none;
}

.form-reg.form-reg--callback .form__items .form__input {
  height: 3.55rem !important;
  min-height: 3.55rem;
  font-size: 1.15rem !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
}

.form-reg.form-reg--callback .form__items .form__input::placeholder {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  opacity: 0.72;
}

.form-reg.form-reg--callback .form__items .form__button.button {
  height: 3.55rem !important;
  min-height: 3.55rem !important;
  white-space: nowrap;
  border-radius: 1rem !important;
}

/* Desktop layout: conservative base, then scale up by viewport */
@media (min-width: 992px) {
  .form-reg.form-reg--callback .form-reg__wrapper {
    clip-path: inset(-2.75rem -0.5rem 0 0 round 1.5rem);
  }

  .form-reg.form-reg--callback .form__items {
    max-width: 17.5rem;
    margin-right: 4.75rem;
    flex: 0 0 17.5rem;
    gap: 1.1rem;
    transform: translateX(-5rem);
  }

  .form-reg.form-reg--callback .form__wrapper {
    padding-right: 1.5rem;
    gap: 1.15rem;
  }

  .form-reg.form-reg--callback .form__items .form__input {
    height: 3.55rem !important;
    min-height: 3.55rem;
    font-size: 1.1rem !important;
  }

  .form-reg.form-reg--callback .form__items .form__input::placeholder {
    font-size: 1.1rem;
  }

  .form-reg.form-reg--callback .form__items .form__button.button {
    height: 3.55rem !important;
    min-height: 3.55rem !important;
  }

  .form-reg__phone {
    font-size: 1.3rem;
    padding: 0.48rem 0.9rem 0.48rem 0.7rem;
  }

  .form-reg__phone::before {
    width: 1.3rem;
    height: 1.3rem;
    background-size: 0.72rem;
  }

  .form-reg__messenger {
    width: 2.55rem;
    height: 2.55rem;
  }
}

@media (min-width: 1200px) {
  .form-reg.form-reg--callback .form-reg__wrapper {
    clip-path: inset(-3rem -0.75rem 0 0 round 1.5rem);
  }

  .form-reg.form-reg--callback .form__items {
    max-width: 19.5rem;
    margin-right: 5.25rem;
    flex: 0 0 19.5rem;
    gap: 1.15rem;
    transform: translateX(-5.5rem);
  }

  .form-reg.form-reg--callback .form__wrapper {
    padding-right: 1.75rem;
    gap: 1.25rem;
  }

  .form-reg.form-reg--callback .form__items .form__input {
    height: 3.65rem !important;
    min-height: 3.65rem;
    font-size: 1.18rem !important;
  }

  .form-reg.form-reg--callback .form__items .form__input::placeholder {
    font-size: 1.18rem;
  }

  .form-reg.form-reg--callback .form__items .form__button.button {
    height: 3.65rem !important;
    min-height: 3.65rem !important;
  }

  .form-reg__phone {
    font-size: 1.5rem;
    padding: 0.55rem 1rem 0.55rem 0.75rem;
  }

  .form-reg__messenger {
    width: 2.8rem;
    height: 2.8rem;
  }
}

@media (min-width: 1400px) {
  .form-reg.form-reg--callback .form-reg__wrapper {
    clip-path: inset(-3.1rem -2.5rem 0 0 round 1.5rem);
  }

  .form-reg.form-reg--callback .form__items {
    max-width: 21.5rem;
    margin-right: 6rem;
    flex: 0 0 21.5rem;
    gap: 1.2rem;
    transform: translateX(-6rem);
  }

  .form-reg.form-reg--callback .form__wrapper {
    padding-right: 2rem;
    gap: 1.4rem;
  }

  .form-reg.form-reg--callback .form__items .form__input {
    height: 3.7rem !important;
    min-height: 3.7rem;
    font-size: 1.22rem !important;
  }

  .form-reg.form-reg--callback .form__items .form__input::placeholder {
    font-size: 1.22rem;
  }

  .form-reg.form-reg--callback .form__items .form__button.button {
    height: 3.7rem !important;
    min-height: 3.7rem !important;
  }

  .form-reg__phone {
    font-size: 1.55rem;
    padding: 0.58rem 1.05rem 0.58rem 0.78rem;
  }

  .form-reg__messenger {
    width: 2.9rem;
    height: 2.9rem;
  }
}

@media (min-width: 1600px) {
  .form-reg.form-reg--callback .form-reg__wrapper {
    clip-path: inset(-3.25rem -6.5rem 0 0 round 1.5rem);
  }

  .form-reg.form-reg--callback .form__items {
    max-width: 23.5rem;
    margin-right: 7.5rem;
    flex: 0 0 23.5rem;
    gap: 1.2rem;
    transform: translateX(-6.5rem);
  }

  .form-reg.form-reg--callback .form__wrapper {
    padding-right: 2.25rem;
    gap: 1.5rem;
  }

  .form-reg.form-reg--callback .form__items .form__input {
    height: 3.75rem !important;
    min-height: 3.75rem;
    font-size: 1.25rem !important;
  }

  .form-reg.form-reg--callback .form__items .form__input::placeholder {
    font-size: 1.25rem;
  }

  .form-reg.form-reg--callback .form__items .form__button.button {
    height: 3.75rem !important;
    min-height: 3.75rem !important;
  }

  .form-reg__phone {
    font-size: 1.65rem;
    padding: 0.6rem 1.1rem 0.6rem 0.8rem;
  }

  .form-reg__phone::before {
    width: 1.55rem;
    height: 1.55rem;
    background-size: 0.88rem;
  }

  .form-reg__messenger {
    width: 3rem;
    height: 3rem;
  }
}

.form-reg__advisor {
  display: none;
}

.form-reg__advisor-clip {
  display: none;
}

@media (min-width: 992px) {
  .form-reg__advisor-clip {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: auto;
    right: 0.35rem;
    width: clamp(11.5rem, 16vw, 13.25rem);
    overflow: visible;
    pointer-events: none;
    z-index: 3;
  }

  .form-reg__advisor {
    display: flex;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
  }

  .form-reg__advisor-photo {
    display: block;
    width: auto;
    height: 100%;
    max-width: none;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom right;
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.3));
    transform: translateX(0);
  }

  .form-reg__bubble {
    position: absolute;
    left: auto;
    right: calc(100% - 5.25rem);
    top: 0;
    width: 11.75rem;
    max-width: 11.75rem;
    margin: 0;
    padding: 0.65rem 0.75rem;
    border-radius: 1rem 1rem 0.15rem 1rem;
    background: #fff;
    color: #171717;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transform: translateY(-58%);
    z-index: 5;
  }

  .form-reg__bubble::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -0.5rem;
    width: 0.95rem;
    height: 0.65rem;
    background: #fff;
    transform: none;
    border-radius: 0;
    box-shadow: none;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    filter: drop-shadow(2px 3px 3px rgba(0, 0, 0, 0.12));
  }
}

@media (min-width: 1200px) {
  .form-reg__advisor-clip {
    right: 0.15rem;
    width: clamp(12.5rem, 15.5vw, 14.75rem);
  }

  .form-reg__bubble {
    right: calc(100% - 5.75rem);
    width: 12.25rem;
    max-width: 12.25rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.8rem;
    transform: translateY(-60%);
  }
}

@media (min-width: 1400px) {
  .form-reg__advisor-clip {
    right: -1.35rem;
    width: clamp(13.5rem, 17vw, 16rem);
  }

  .form-reg__bubble {
    right: calc(100% - 6.5rem);
    width: 12.75rem;
    max-width: 12.75rem;
    padding: 0.72rem 0.88rem;
    font-size: 0.82rem;
    transform: translateY(-62%);
  }
}

@media (min-width: 1600px) {
  .form-reg__advisor-clip {
    right: -5rem;
    width: clamp(14rem, 22vw, 18rem);
  }

  .form-reg__bubble {
    right: calc(100% - 7.75rem);
    width: 13.5rem;
    max-width: 13.5rem;
    padding: 0.75rem 0.9rem;
    font-size: 0.84rem;
    transform: translateY(-64%);
  }

  .form-reg__bubble::after {
    bottom: -0.58rem;
    width: 1.05rem;
    height: 0.72rem;
  }
}

@media (max-width: 991.98px) {
  .form-reg.form-reg--callback .form-reg__wrapper {
    clip-path: none;
  }

  .form-reg__advisor-clip,
  .form-reg__advisor,
  .form-reg__advisor-photo,
  .form-reg__bubble,
  .form-reg__contacts,
  .form-reg.form-reg--callback .form-reg__img {
    display: none !important;
  }

  .form-reg.form-reg--callback .form__items {
    max-width: none;
    margin-right: 0;
    transform: none;
  }

  .form-reg.form-reg--callback .form__wrapper {
    padding-right: 0;
  }
}

/* ========== Unit landing pages ========== */
.unit-lp {
  background: var(--svo-page);
  color: var(--svo-text);
}

/* Don't animate opacity on ancestors of <video> — causes edge banding in Chromium */
.unit-lp__hero-inner,
.unit-lp__section,
.unit-lp .form-reg,
.unit-lp .footer {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.unit-lp.is-entered .unit-lp__hero-inner,
.unit-lp.is-entered .unit-lp__section,
.unit-lp.is-entered .form-reg,
.unit-lp.is-entered .footer {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .unit-lp__hero-inner,
  .unit-lp__section,
  .unit-lp .form-reg,
  .unit-lp .footer {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body.page-leave {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.unit-lp__hero {
  position: relative;
  min-height: clamp(28rem, 62vh, 40rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  background: #080a0e;
}

.unit-lp__hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #080a0e;
}

.unit-lp__hero-media img,
.unit-lp__hero-media .unit-lp__hero-video {
  display: block;
  object-fit: cover;
  object-position: center;
}

.unit-lp__hero-media img {
  width: 100%;
  height: 100%;
  transform: scale(1.04);
  transform-origin: center center;
}

.unit-lp__hero-media .unit-lp__hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 106%;
  height: 106%;
  max-width: none;
  transform: translate(-50%, -50%);
  border: 0;
  outline: 0;
  background: #080a0e;
  pointer-events: none;
}

/* Hide iOS/Safari big play glyph when autoplay is blocked */
.unit-lp__hero-media .unit-lp__hero-video::-webkit-media-controls {
  display: none !important;
  -webkit-appearance: none;
}
.unit-lp__hero-media .unit-lp__hero-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}
.unit-lp__hero-media .unit-lp__hero-video::-webkit-media-controls-enclosure {
  display: none !important;
}

.unit-lp__hero-media.is-poster-only .unit-lp__hero-video {
  display: none !important;
}

.unit-lp__hero-media.is-poster-only::after {
  content: "";
  position: absolute;
  inset: 0;
  background: center / cover no-repeat var(--unit-hero-poster);
  transform: scale(1.04);
}

.unit-lp__hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Solid base + soft edges — avoids gradient×video compositor seams */
  background-color: rgba(8, 10, 14, 0.38);
  box-shadow:
    inset 10rem 0 7rem rgba(8, 10, 14, 0.62),
    inset 0 -7rem 5.5rem rgba(8, 10, 14, 0.72),
    inset 0 3.5rem 3rem rgba(8, 10, 14, 0.28);
}

.unit-lp__hero-inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 3rem;
  width: 100%;
}

.unit-lp__hero-inner.container {
  padding-left: clamp(1.25rem, 4.5vw, 3.5rem);
  padding-right: clamp(1.25rem, 4.5vw, 3.5rem);
}

.unit-lp__hero-copy {
  max-width: min(56rem, 100%);
  padding-left: clamp(0.25rem, 1.5vw, 1rem);
}

.unit-lp__back {
  display: inline-flex;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  font-weight: 600;
}

.unit-lp__back:hover {
  color: #fff !important;
}

.unit-lp__hero-top {
  display: block;
}

.unit-lp__emblem {
  display: none !important;
}

.unit-lp__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.unit-lp__title {
  margin: 0 0 1.25rem;
  max-width: 22ch;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}

.unit-lp__hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 1.5rem;
  max-width: min(52rem, 100%);
  width: 100%;
  border-radius: 1.1rem;
  overflow: hidden;
  background: rgba(10, 12, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.unit-lp__stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  padding: 0.85rem 0.75rem 0.9rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  position: relative;
  min-width: 0;
}

/* 2×2 dividers on mobile */
.unit-lp__stat:nth-child(odd)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.unit-lp__stat:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.unit-lp__stat-value {
  display: block;
  order: 1;
  font-size: clamp(0.95rem, 4.2vw, 1.15rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  word-break: break-word;
}

.unit-lp__stat-label {
  display: block;
  order: 2;
  margin: 0;
  font-size: clamp(0.62rem, 2.8vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.25;
}

.unit-lp__stat--pay {
  background: linear-gradient(180deg, rgba(219, 48, 48, 0.22), rgba(219, 48, 48, 0.08));
}

.unit-lp__stat--pay .unit-lp__stat-value {
  color: #ff5c5c;
  font-size: clamp(0.95rem, 4.2vw, 1.2rem);
}

@media (min-width: 768px) {
  .unit-lp__hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .unit-lp__stat {
    padding: 0.75rem 0.55rem 0.8rem;
  }

  .unit-lp__stat:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .unit-lp__stat:nth-child(odd)::after {
    display: none;
  }

  .unit-lp__stat:not(:last-child)::after {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: rgba(255, 255, 255, 0.14);
  }

  .unit-lp__stat-value {
    font-size: clamp(0.78rem, 1.35vw, 1.2rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .unit-lp__stat-label {
    font-size: clamp(0.58rem, 0.85vw, 0.72rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .unit-lp__stat--pay .unit-lp__stat-value {
    font-size: clamp(0.82rem, 1.45vw, 1.28rem);
  }
}

@media (min-width: 1100px) {
  .unit-lp__stat {
    padding: 1rem 1.05rem 1.05rem;
  }

  .unit-lp__stat-value {
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  }

  .unit-lp__stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .unit-lp__stat--pay .unit-lp__stat-value {
    font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  }
}

.unit-lp__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.unit-lp__cta {
  min-height: 2.85rem !important;
  border-radius: 0.65rem !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

.unit-lp__cta--ghost {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  color: #fff !important;
}

.unit-lp__cta--ghost:hover {
  background: #fff !important;
  color: #111 !important;
}

.unit-lp__section {
  padding: 3rem 0;
}

.unit-lp__h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--svo-text);
}

.unit-lp__h2--light {
  color: #fff;
}

.unit-lp__h3 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--svo-text);
}

.unit-lp__lead {
  margin: 0 0 1rem;
  max-width: 54rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--svo-text);
  font-weight: 600;
}

.unit-lp__about-extra {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.35rem;
  max-width: 54rem;
}

.unit-lp__about-extra p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--svo-muted);
}

.unit-lp__facts-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
  .unit-lp__facts-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.unit-lp__fact-chip {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  background: var(--svo-card);
  border: 1px solid var(--svo-border);
}

.unit-lp__fact-chip strong {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--svo-text);
}

.unit-lp__fact-chip span {
  font-size: 0.78rem;
  color: var(--svo-muted);
}

.unit-lp__life {
  margin-top: 2.5rem;
}

.unit-lp__life-head {
  margin-bottom: 1.15rem;
}

.unit-lp__life-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .unit-lp__life-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 11.5rem;
  }

  .unit-lp__life-item--wide {
    grid-column: span 3;
    grid-row: span 2;
  }

  .unit-lp__life-item:not(.unit-lp__life-item--wide) {
    grid-column: span 2;
  }
}

.unit-lp__life-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: #12151b;
  border: 1px solid var(--svo-border);
  min-height: 12rem;
}

.unit-lp__life-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.unit-lp__life-item:hover img {
  transform: scale(1.04);
}

.unit-lp__life-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.85rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.unit-lp__about-grid {
  display: grid;
  gap: 1.5rem;
}

.unit-lp__side {
  display: block;
  min-width: 0;
}

@media (min-width: 992px) {
  .unit-lp__about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(16.5rem, 20rem);
    gap: 1.75rem;
    align-items: start;
  }
}

.unit-lp__life-item figcaption {
  display: none;
}

.unit-lp__panels {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .unit-lp__panels {
    grid-template-columns: 1fr 1fr;
  }
}

.unit-lp__panel {
  padding: 1.25rem 1.3rem;
  border-radius: 1rem;
  background: var(--svo-card);
  border: 1px solid var(--svo-border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.unit-lp__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.unit-lp__list li {
  position: relative;
  padding-left: 1.05rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--svo-text);
}

.unit-lp__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--svo-red);
}

.unit-lp__side-card {
  position: sticky;
  top: 1.25rem;
  padding: 1.25rem;
  border-radius: 1.1rem;
  background: linear-gradient(165deg, #3a3f2f 0%, #2a3124 55%, #1f241c 100%);
  color: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.unit-lp__side-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.unit-lp__side-row span {
  color: rgba(255, 255, 255, 0.7);
}

.unit-lp__side-row strong {
  text-align: right;
  font-weight: 800;
}

.unit-lp__side-pay {
  color: #ff6b6b !important;
  font-size: 1.05rem;
}

html[data-theme="dark"] .button.unit-lp__side-btn,
html[data-theme="light"] .button.unit-lp__side-btn,
.unit-lp .button.unit-lp__side-btn,
.unit-lp__side-btn {
  width: 100%;
  margin-top: 1.1rem;
  border-radius: 1rem !important;
  justify-content: center;
}

.unit-lp .form-reg.form-reg--callback {
  padding: 2.5rem 0 1rem;
}

.unit-lp__consult-wrap {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, #5a6748 0%, #3f4a35 48%, #2f3728 100%);
  color: #fff;
  overflow: hidden;
}

@media (min-width: 900px) {
  .unit-lp__consult-wrap {
    grid-template-columns: 1.2fr 0.9fr;
    align-items: center;
    padding: 2rem 2.25rem;
  }
}

.unit-lp__consult-text {
  margin: 0 0 1rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
}

.unit-lp__consult-phone {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  color: var(--svo-red) !important;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none !important;
}

.unit-lp__consult-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.15rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.unit-lp__consult-form .form__input {
  text-align: center;
  font-size: 1.1rem !important;
  font-weight: 600;
  height: 3.4rem !important;
}

.unit-lp__consult-form .form__button.button {
  width: 100%;
  height: 3.4rem !important;
  border-radius: 1rem !important;
}

.unit-lp__consult-form .form__footer-text {
  color: rgba(255, 255, 255, 0.78);
}

.unit-lp__consult-form .form__footer-text a {
  color: #fff;
}

.unit-lp__roles-head {
  margin-bottom: 1.35rem;
}

.unit-lp__roles-lead {
  margin: 0;
  color: var(--svo-muted);
  max-width: 40rem;
}

.unit-lp__roles-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .unit-lp__roles-grid {
    gap: 1rem;
  }
}

@media (min-width: 1100px) {
  .unit-lp__roles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.unit-lp__role {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--svo-card);
  border: 1px solid var(--svo-border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.unit-lp__role:hover {
  transform: translateY(-3px);
  border-color: rgba(219, 48, 48, 0.4);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.unit-lp__role-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 8.5rem;
  overflow: hidden;
  background: #0d1016;
  flex-shrink: 0;
}

.unit-lp__role-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.unit-lp__role:hover .unit-lp__role-media img {
  transform: scale(1.04);
}

.unit-lp__role-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  min-width: 0;
}

.unit-lp__role-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.3;
  color: var(--svo-text);
}

.unit-lp__role-meta {
  margin: 0;
  font-size: 0.84rem;
  color: var(--svo-muted);
}

.unit-lp__role-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  border-radius: 1rem !important;
  min-height: 2.55rem !important;
}

/* Compact 2-up cards on phones */
@media (max-width: 639.98px) {
  .unit-lp__role {
    border-radius: 0.75rem;
  }

  .unit-lp__role:hover {
    transform: none;
  }

  .unit-lp__role-media {
    aspect-ratio: 4 / 3;
    min-height: 6.75rem;
  }

  .unit-lp__role-body {
    gap: 0.28rem;
    padding: 0.6rem 0.55rem 0.7rem;
  }

  .unit-lp__role-title {
    font-size: 0.78rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .unit-lp__role-meta {
    font-size: 0.68rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .unit-lp__role-btn {
    min-height: 2.35rem !important;
    border-radius: 0.5rem !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    padding: 0.45rem 0.4rem !important;
    white-space: normal;
    text-align: center;
  }
}

html[data-theme="dark"] .unit-lp__cta.button,
html[data-theme="light"] .unit-lp__cta.button {
  border-radius: 0.65rem !important;
}

html[data-theme="dark"] .unit-lp__role-btn.button,
html[data-theme="light"] .unit-lp__role-btn.button {
  border-radius: 1rem !important;
}

@media (max-width: 639.98px) {
  html[data-theme="dark"] .unit-lp__role-btn.button,
  html[data-theme="light"] .unit-lp__role-btn.button,
  .unit-lp .button.unit-lp__role-btn {
    border-radius: 0.5rem !important;
    font-size: 0.84rem !important;
  }
}

html[data-theme="light"] .unit-lp__side-card {
  background: linear-gradient(165deg, #4f5a40 0%, #3a4332 100%);
}

html[data-theme="light"] .unit-lp__consult-wrap {
  background: linear-gradient(135deg, #61724c 0%, #465338 100%);
}

/* ========== Thanks notice ========== */
.thanks-notice {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.38s;
}

.thanks-notice.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.thanks-notice__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.thanks-notice__card {
  position: relative;
  z-index: 1;
  width: min(100%, 24.5rem);
  padding: 2rem 1.65rem 1.35rem;
  border-radius: 1.35rem;
  background: linear-gradient(165deg, #1c1f27 0%, #14161b 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
  color: #fff;
  text-align: center;
  transform: translateY(14px) scale(0.94);
  opacity: 0;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s ease;
}

.thanks-notice.is-visible .thanks-notice__card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.thanks-notice__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.25s ease;
}

.thanks-notice__close span {
  position: absolute;
  width: 0.85rem;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.thanks-notice__close span:first-child {
  transform: rotate(45deg);
}

.thanks-notice__close span:last-child {
  transform: rotate(-45deg);
}

.thanks-notice__close:hover {
  background: var(--svo-red);
  border-color: var(--svo-red);
  transform: rotate(90deg);
}

.thanks-notice__icon {
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto 1rem;
  color: #3dd68c;
}

.thanks-notice.is-error .thanks-notice__icon {
  color: #ff5c5c;
}

.thanks-notice__icon svg {
  width: 100%;
  height: 100%;
  display: none;
}

.thanks-notice:not(.is-error) .thanks-notice__check {
  display: block;
}

.thanks-notice.is-error .thanks-notice__warn {
  display: block;
}

.thanks-notice.is-visible:not(.is-error) .thanks-notice__check circle {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: thanks-ring 0.55s ease forwards 0.08s;
}

.thanks-notice.is-visible:not(.is-error) .thanks-notice__check path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: thanks-check 0.4s ease forwards 0.38s;
}

@keyframes thanks-ring {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes thanks-check {
  to {
    stroke-dashoffset: 0;
  }
}

.thanks-notice__title {
  margin: 0 0 0.45rem;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.thanks-notice__text {
  margin: 0 0 1.35rem;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.thanks-notice__progress {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.thanks-notice__progress-bar {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(1);
  border-radius: inherit;
  background: linear-gradient(90deg, #3dd68c, #2f6fed);
}

.thanks-notice.is-error .thanks-notice__progress-bar {
  background: linear-gradient(90deg, #ff5c5c, #db3030);
}

html[data-theme="light"] .thanks-notice__card {
  background: #fff;
  color: #0f1115;
  border-color: #e8e8e8;
  box-shadow: 0 28px 64px rgba(15, 17, 21, 0.18);
}

html[data-theme="light"] .thanks-notice__text {
  color: #5f5f5f;
}

html[data-theme="light"] .thanks-notice__close {
  background: rgba(15, 17, 21, 0.04);
  border-color: rgba(15, 17, 21, 0.12);
}

html[data-theme="light"] .thanks-notice__close span {
  background: #0f1115;
}

html[data-theme="light"] .thanks-notice__close:hover span {
  background: #fff;
}

html[data-theme="light"] .thanks-notice__progress {
  background: rgba(15, 17, 21, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .thanks-notice,
  .thanks-notice__card {
    transition: none;
  }

  .thanks-notice.is-visible:not(.is-error) .thanks-notice__check circle,
  .thanks-notice.is-visible:not(.is-error) .thanks-notice__check path {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* —— Legal pages (privacy / ads consent) —— */
.legal {
  padding: 2.5rem 0 4.5rem;
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(75, 87, 63, 0.28), transparent 58%),
    radial-gradient(700px 360px at 100% 0%, rgba(219, 48, 48, 0.1), transparent 55%),
    transparent;
}

.legal__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.75rem;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.legal__back:hover {
  color: #fff;
}

.legal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.legal__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal__hero {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--svo-red, #db3030);
}

.legal__title {
  margin: 0 0 0.85rem;
  font-family: "HeadingNow", "HelveticaNeueCyr", Impact, sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
}

.legal__lead {
  margin: 0;
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.legal__layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .legal__layout {
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
  }
}

.legal__toc {
  padding: 1.1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 24, 28, 0.72);
}

@media (min-width: 992px) {
  .legal__toc {
    position: sticky;
    top: 5.5rem;
  }
}

.legal__toc-title {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.legal__toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  counter-reset: legal-toc;
}

.legal__toc a {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  padding: 0.35rem 0.45rem;
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.35;
  transition: background 0.15s ease, color 0.15s ease;
}

.legal__toc a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.legal__toc a::before {
  counter-increment: legal-toc;
  content: counter(legal-toc, decimal-leading-zero);
  flex: 0 0 auto;
  color: var(--svo-red, #db3030);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.legal__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.legal__card {
  padding: 1.25rem 1.3rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 24, 28, 0.65);
}

.legal__card--accent {
  border-color: rgba(219, 48, 48, 0.35);
  background:
    linear-gradient(135deg, rgba(219, 48, 48, 0.1), transparent 55%),
    rgba(20, 24, 28, 0.72);
}

.legal__card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  color: #fff;
  scroll-margin-top: 6rem;
}

.legal__card h3 {
  margin: 1.1rem 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.legal__card p,
.legal__card li {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  font-size: 0.95rem;
}

.legal__card p {
  margin: 0 0 0.75rem;
}

.legal__card p:last-child {
  margin-bottom: 0;
}

.legal__card ul,
.legal__card ol {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
}

.legal__card li + li {
  margin-top: 0.35rem;
}

.legal__card a {
  color: #ff6b6b;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

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

.legal__facts {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

@media (min-width: 640px) {
  .legal__facts {
    grid-template-columns: 1fr 1fr;
  }
}

.legal__fact {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.legal__fact dt {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.legal__fact dd {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.4;
  word-break: break-word;
}

.legal__note {
  margin-top: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.75rem;
  border-left: 3px solid var(--svo-red, #db3030);
  background: rgba(219, 48, 48, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.5;
}

.legal__footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.legal__footer-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 650;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.legal__footer-nav a:hover {
  border-color: rgba(219, 48, 48, 0.55);
  background: rgba(219, 48, 48, 0.12);
}

html[data-theme="light"] .legal__back {
  color: rgba(15, 17, 21, 0.65);
}

html[data-theme="light"] .legal__back:hover {
  color: var(--svo-red, #db3030);
}

html[data-theme="light"] .legal__chip {
  border-color: rgba(15, 17, 21, 0.12);
  background: rgba(15, 17, 21, 0.04);
  color: rgba(15, 17, 21, 0.65);
}

html[data-theme="light"] .legal__hero {
  border-bottom-color: rgba(15, 17, 21, 0.1);
}

html[data-theme="light"] .legal__title {
  color: #0f1115;
}

html[data-theme="light"] .legal__lead,
html[data-theme="light"] .legal__card p,
html[data-theme="light"] .legal__card li {
  color: rgba(15, 17, 21, 0.78);
}

html[data-theme="light"] .legal__toc,
html[data-theme="light"] .legal__card {
  background: #fff;
  border-color: rgba(15, 17, 21, 0.1);
}

html[data-theme="light"] .legal__card--accent {
  background: linear-gradient(135deg, rgba(219, 48, 48, 0.06), #fff 55%);
  border-color: rgba(219, 48, 48, 0.25);
}

html[data-theme="light"] .legal__toc-title {
  color: rgba(15, 17, 21, 0.45);
}

html[data-theme="light"] .legal__toc a {
  color: rgba(15, 17, 21, 0.72);
}

html[data-theme="light"] .legal__toc a:hover {
  background: rgba(15, 17, 21, 0.04);
  color: #0f1115;
}

html[data-theme="light"] .legal__card h2,
html[data-theme="light"] .legal__card h3,
html[data-theme="light"] .legal__fact dd {
  color: #0f1115;
}

html[data-theme="light"] .legal__fact {
  background: rgba(15, 17, 21, 0.03);
  border-color: rgba(15, 17, 21, 0.08);
}

html[data-theme="light"] .legal__fact dt {
  color: rgba(15, 17, 21, 0.45);
}

html[data-theme="light"] .legal__note {
  background: rgba(219, 48, 48, 0.06);
  color: rgba(15, 17, 21, 0.8);
}

html[data-theme="light"] .legal__footer-nav a {
  background: #fff;
  border-color: rgba(15, 17, 21, 0.12);
  color: #0f1115;
}

/* ========== Direction vacancy landings ========== */
.dir-lp {
  background: var(--svo-bg, #0b0d11);
  color: var(--svo-text, #fff);
  min-height: 100vh;
}

.dir-lp__hero {
  padding: 1.5rem 0 1.25rem;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(219, 48, 48, 0.18), transparent 55%),
    linear-gradient(180deg, #141820 0%, var(--svo-bg, #0b0d11) 100%);
  border-bottom: 1px solid var(--svo-border, rgba(255, 255, 255, 0.08));
}

@media (min-width: 768px) {
  .dir-lp__hero {
    padding: 2.25rem 0 1.75rem;
  }
}

.dir-lp__back {
  display: inline-flex;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.dir-lp__back:hover {
  color: #fff;
}

.dir-lp__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.dir-lp__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 4.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 38rem;
}

.dir-lp__lead {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.98rem;
  line-height: 1.5;
}

.dir-lp__meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dir-lp__meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(219, 48, 48, 0.16);
  border: 1px solid rgba(219, 48, 48, 0.35);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
}

.dir-lp__section {
  padding: 1.35rem 0 2.5rem;
}

.dir-lp__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .dir-lp__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1100px) {
  .dir-lp__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.dir-vac {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--svo-card, #161a22);
  border: 1px solid var(--svo-border, rgba(255, 255, 255, 0.08));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.dir-vac:hover {
  transform: translateY(-3px);
  border-color: rgba(219, 48, 48, 0.4);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.dir-vac__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 8rem;
  overflow: hidden;
  background: #0d1016;
}

.dir-vac__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.dir-vac:hover .dir-vac__media img {
  transform: scale(1.04);
}

.dir-vac__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.95rem 1rem 1.05rem;
  flex: 1;
  min-width: 0;
}

.dir-vac__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.3;
  color: var(--svo-text, #fff);
}

.dir-vac__unit {
  margin: 0;
  font-size: 0.84rem;
  color: var(--svo-muted, rgba(255, 255, 255, 0.55));
}

.dir-vac__pays {
  display: grid;
  gap: 0.4rem;
  margin: 0.35rem 0 0.55rem;
}

.dir-vac__pay {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dir-vac__pay dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

.dir-vac__pay dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: right;
}

.dir-vac__pay-year {
  color: #ff6b6b !important;
}

.dir-vac__btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  border-radius: 1rem !important;
  min-height: 2.55rem !important;
}

html[data-theme="dark"] .dir-vac__btn.button,
html[data-theme="light"] .dir-vac__btn.button {
  border-radius: 1rem !important;
}

@media (max-width: 639.98px) {
  .dir-vac__media {
    aspect-ratio: 16 / 9;
    min-height: 7rem;
  }

  .dir-vac__title {
    font-size: 0.98rem;
  }

  .dir-vac__btn {
    min-height: 2.35rem !important;
    border-radius: 0.5rem !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
  }

  html[data-theme="dark"] .dir-vac__btn.button,
  html[data-theme="light"] .dir-vac__btn.button {
    border-radius: 0.5rem !important;
  }
}

.dir-lp__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}

html[data-theme="light"] .dir-lp__hero {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(219, 48, 48, 0.1), transparent 55%),
    linear-gradient(180deg, #f3f1ec 0%, #fff 100%);
  border-bottom-color: #e5e5e5;
}

html[data-theme="light"] .dir-lp__back {
  color: rgba(15, 17, 21, 0.55);
}

html[data-theme="light"] .dir-lp__eyebrow {
  color: rgba(15, 17, 21, 0.4);
}

html[data-theme="light"] .dir-lp__title {
  color: #0f1115;
}

html[data-theme="light"] .dir-lp__lead {
  color: rgba(15, 17, 21, 0.65);
}

html[data-theme="light"] .dir-vac {
  background: #fff;
  border-color: #e5e5e5;
}

html[data-theme="light"] .dir-vac__title {
  color: #0f1115;
}

html[data-theme="light"] .dir-vac__unit {
  color: rgba(15, 17, 21, 0.5);
}

html[data-theme="light"] .dir-vac__pay {
  background: rgba(15, 17, 21, 0.03);
  border-color: rgba(15, 17, 21, 0.06);
}

html[data-theme="light"] .dir-vac__pay dt {
  color: rgba(15, 17, 21, 0.45);
}

html[data-theme="light"] .dir-vac__pay dd {
  color: #0f1115;
}

/* —— Soft Direct landing /direct/ —— */
.direct-lp__hero-panel {
  position: relative;
  overflow: hidden;
}

.direct-lp__brand-line {
  margin: 0 0 0.65rem;
  font-size: clamp(0.78rem, 1.6vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  animation: direct-lp-in 0.55s ease both;
}

.direct-lp .main__title {
  animation: direct-lp-in 0.65s 0.06s ease both;
}

.direct-lp__lead {
  max-width: 34rem;
  margin-bottom: 1rem !important;
  animation: direct-lp-in 0.65s 0.12s ease both;
}

.direct-lp__free {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.15rem;
  padding: 0.38rem 0.85rem;
  border-radius: 0.55rem;
  background: rgba(39, 174, 96, 0.18);
  border: 1px solid rgba(39, 174, 96, 0.45);
  color: #8dffb4;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: direct-lp-in 0.65s 0.16s ease both;
}

.direct-lp .main__actions {
  animation: direct-lp-in 0.7s 0.2s ease both;
}

.direct-lp__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 2;
  animation: direct-lp-in 0.75s 0.26s ease both;
}

.direct-lp__points li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 5.5rem;
}

.direct-lp__points strong {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}

.direct-lp__points span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
}

.direct-lp__section-title {
  margin-bottom: 0.55rem;
}

.direct-lp__section-lead {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
}

/* Units: no outer plate — only individual unit cards */
.direct-lp .area.vacancies .area__wrapper.direct-lp__units,
html[data-theme="dark"] .direct-lp .area.vacancies .area__wrapper.direct-lp__units,
html[data-theme="light"] .direct-lp .area.vacancies .area__wrapper.direct-lp__units {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.direct-lp .vac-cards.area__box--mobile-version {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 0.85rem !important;
}

.direct-lp .vac-cards .vac-card.area__item,
.direct-lp .vac-cards .vac-card.area__item--mobile-version,
html[data-theme="dark"] .direct-lp .vac-cards .vac-card.area__item,
html[data-theme="light"] .direct-lp .vac-cards .vac-card.area__item {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 1rem !important;
  border: 1px solid var(--svo-border) !important;
  background: var(--svo-card) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  order: unset !important;
  width: auto !important;
  max-width: none !important;
}

.direct-lp .vac-cards .vac-card__media {
  flex: 0 0 38%;
  max-width: 9.5rem;
  aspect-ratio: 3 / 4;
  align-self: stretch;
  min-height: 100%;
}

.direct-lp .vac-cards .vac-card__body {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0.85rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.direct-lp .vac-cards .vac-card__title {
  font-size: 0.95rem;
  line-height: 1.25;
}

.direct-lp .vac-cards .vac-card__facts {
  margin: 0;
}

.direct-lp .vac-cards .vac-card__btn {
  margin-top: auto;
}

@media (min-width: 768px) {
  .direct-lp .vac-cards.area__box--mobile-version {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem !important;
  }

  .direct-lp .vac-cards .vac-card.area__item,
  .direct-lp .vac-cards .vac-card.area__item--mobile-version {
    flex-direction: column !important;
  }

  .direct-lp .vac-cards .vac-card__media {
    flex: none;
    max-width: none;
    width: 100%;
    aspect-ratio: 16 / 11;
  }

  .direct-lp .vac-cards .vac-card__body {
    padding: 0.9rem 1rem 1rem;
  }
}

@media (min-width: 1100px) {
  .direct-lp .vac-cards.area__box--mobile-version {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@keyframes direct-lp-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .direct-lp__brand-line,
  .direct-lp .main__title,
  .direct-lp__lead,
  .direct-lp__free,
  .direct-lp .main__actions,
  .direct-lp__points {
    animation: none;
  }
}

html[data-theme="light"] .direct-lp__brand-line {
  color: rgba(15, 17, 21, 0.45);
}

html[data-theme="light"] .direct-lp__free {
  background: rgba(39, 174, 96, 0.12);
  border-color: rgba(39, 174, 96, 0.35);
  color: #1a7a43;
}

html[data-theme="light"] .direct-lp__points strong {
  color: #0f1115;
}

html[data-theme="light"] .direct-lp__points span,
html[data-theme="light"] .direct-lp__section-lead {
  color: rgba(15, 17, 21, 0.55);
}

@media (max-width: 767.98px) {
  .direct-lp__points {
    gap: 0.85rem 1rem;
    margin-top: 1.1rem;
  }

  .direct-lp__points li {
    min-width: 4.75rem;
  }
}


/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 12000;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner__card {
  position: relative;
  overflow: hidden;
  width: min(100%, 28rem);
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(160deg, rgba(36, 42, 52, 0.96), rgba(16, 18, 24, 0.98));
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  gap: 0.95rem;
}
.cookie-banner__glow {
  position: absolute;
  inset: auto -20% -40% auto;
  width: 12rem;
  height: 12rem;
  background: radial-gradient(circle, rgba(219, 48, 48, 0.35), transparent 68%);
  pointer-events: none;
}
.cookie-banner__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 180, 180, 0.85);
}
.cookie-banner__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: #fff;
}
.cookie-banner__text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}
.cookie-banner__link {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.cookie-banner__actions {
  display: flex;
  justify-content: flex-end;
}
.cookie-banner__btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}
.cookie-banner__btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #e23a3a, #b91c1c);
  box-shadow: 0 8px 22px rgba(185, 28, 28, 0.35);
}
.cookie-banner__btn--primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
html[data-theme="light"] .cookie-banner__card {
  border-color: rgba(15, 17, 21, 0.08);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(245, 246, 248, 0.98));
  box-shadow: 0 18px 40px rgba(15, 17, 21, 0.14);
}
html[data-theme="light"] .cookie-banner__title {
  color: #12151a;
}
html[data-theme="light"] .cookie-banner__text {
  color: rgba(18, 21, 26, 0.68);
}
html[data-theme="light"] .cookie-banner__link {
  color: #b91c1c !important;
}
html[data-theme="light"] .cookie-banner__eyebrow {
  color: #b91c1c;
}
@media (max-width: 575.98px) {
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    justify-content: stretch;
  }
  .cookie-banner__card {
    width: 100%;
  }
  .cookie-banner__actions {
    justify-content: stretch;
  }
  .cookie-banner__btn {
    width: 100%;
  }
}

/* ========== Homepage / mobile runtime performance ========== */
html {
  -webkit-text-size-adjust: 100%;
}

a,
button,
.button,
.acco__trigger,
[data-bs-toggle],
.header__hamburger,
.header__menu-close,
.vac-card,
.adv-contract-service__item,
.reviews-migrant__dot,
.reviews-migrant__prev,
.reviews-migrant__next {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(219, 48, 48, 0.18);
}

.reviews-migrant__track {
  will-change: auto;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.adv-contract-service__flip {
  will-change: auto;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  .candidate-path__bg {
    background-image: url("../assets/img/upload/candidate-path-bg.webp?v=20260902perf1");
    background-size: cover;
    background-position: left center;
  }
}

@media (hover: none), (pointer: coarse) {
  html {
    scroll-behavior: auto !important;
  }

  .vac-switch__panel[data-vac-panel="units"] .vac-card:hover,
  .vac-card:hover {
    transform: none !important;
  }

  .vac-card:hover .vac-card__media .vac-card__photo,
  .vac-card:hover .vac-card__media > img:not(.vac-card__emblem) {
    transform: none !important;
  }

  .vac-card__media .vac-card__photo,
  .vac-card__media > img:not(.vac-card__emblem) {
    transition: none !important;
  }

  .advantages__callback-phone-link:hover {
    transform: none !important;
  }

  .cookie-banner__btn:hover,
  .cookie-banner__btn--primary:hover {
    transform: none !important;
    filter: none !important;
  }

  html[data-theme="dark"] .main__item:not(.block-icon-hover):hover,
  html[data-theme="light"] .main__item:not(.block-icon-hover):hover {
    background: rgba(26, 28, 34, 0.95) !important;
  }

  html[data-theme="light"] .main__item:not(.block-icon-hover):hover {
    background: #fff !important;
  }

  html[data-theme="dark"] .main__item:not(.block-icon-hover):active,
  html[data-theme="light"] .main__item:not(.block-icon-hover):active {
    background: #2f6fed !important;
  }

  html[data-theme="dark"] .main__item:not(.block-icon-hover):active div,
  html[data-theme="dark"] .main__item:not(.block-icon-hover):active p,
  html[data-theme="light"] .main__item:not(.block-icon-hover):active div,
  html[data-theme="light"] .main__item:not(.block-icon-hover):active p {
    color: #fff !important;
  }

  .button:active,
  a.button:active,
  .fixed__button:active {
    transform: scale(0.98);
  }

  .main__item::after,
  .main__text::before,
  .form__text::after {
    filter: none;
  }

  .advantages__callback-phone-link,
  .vac-card__count,
  .vac-map__popup,
  .thanks-notice__backdrop,
  .cookie-banner__card,
  .unit-lp__hero-stats {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

@media (max-width: 767.98px) {
  html {
    scroll-behavior: auto !important;
  }

  .candidate-path__bg {
    display: none;
    background-image: none;
  }

  .candidate-path.section,
  .reviews-migrant.section,
  #questions,
  .footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 640px;
  }

  .vac-card {
    contain: layout style;
    content-visibility: auto;
    contain-intrinsic-size: auto 280px;
  }

  .adv-contract-service__item {
    perspective: none !important;
    -webkit-perspective: none !important;
  }

  .adv-contract-service__flip {
    transform: none !important;
    transform-style: flat !important;
    -webkit-transform-style: flat !important;
    transition: none !important;
    will-change: auto !important;
  }

  .adv-contract-service__item.is-flipped .adv-contract-service__flip {
    transform: none !important;
  }

  .adv-contract-service__face {
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
    transform: none !important;
    transition: opacity 0.18s ease, visibility 0.18s ease !important;
  }

  .adv-contract-service__face--back {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .adv-contract-service__item.is-flipped .adv-contract-service__face--front {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .adv-contract-service__item.is-flipped .adv-contract-service__face--back {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .reviews-migrant__track {
    transition: transform 0.22s ease-out;
    will-change: auto;
  }

  .thanks-notice,
  .thanks-notice__card,
  .cookie-banner {
    transition-duration: 0.18s !important;
  }

  .thanks-notice__backdrop {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.page-leave {
    opacity: 1;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .adv-contract-service__flip,
  .reviews-migrant__track,
  .vac-card,
  .vac-card__media .vac-card__photo,
  .button,
  .cookie-banner,
  .thanks-notice,
  .thanks-notice__card {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
