@font-face {
  font-family: CenturyGothic;
  font-display: swap;
  src: url(../fonts/CenturyGothic.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: Gotham;
  font-display: swap;
  src: url(../fonts/Gotham-Book.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: CenturyGothic;
  font-display: swap;
  src: url(../fonts/CenturyGothic-Bold.woff2) format('woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: GothamPro;
  font-display: swap;
  src: url(../fonts/GothamPro-Black.woff2) format('woff2');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: GothamPro;
  font-display: swap;
  src: url(../fonts/GothamPro-Light.woff2) format('woff2');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: GothamPro;
  font-display: swap;
  src: url(../fonts/GothamPro-Bold.woff2) format('woff2');
  font-weight: 700;
  font-style: normal;
}
:root {
  --mainColor: #272e66;
  --whiteColor: #ffffff;
  --darkColor: #1b1c1d;
  --lightDark: #2c2d2f;
  --tarifsDark: #272930;
  --blueColor: #5966a4;
  --buttonBlue: #3731e7;
  --lightBlue: #e6edff;
  --darkGray: #747474;
  --tarifsGray: #575757;
  --grayGolor: #e4e4eb;
  --lightGray: #f7f8fa;
  --spollerButtonColor: #b0b4ba;
  --redColor: #ff0000;
  --blackColor: #000000;
  --yellowColor: #ffc700;
  --pinkColor: #ff99d4;
  --darkPink: #ff60bb;
  --lightPink: #fff0f9;
  --greenColor: #8cd1a4;
  --darkGreen: #6dec88;
  --lightGreen: #ebfef2;
  --violetColor: #aec5ff;
  --lightViolet: #eff6ff;
}
* {
  padding: 0;
  margin: 0;
  border: 0;
}
*,
*::after,
*::before {
  box-sizing: border-box;
}
*::after,
*::before {
  display: inline-block;
}
body,
html {
  height: 100%;
  min-width: 320px;
}
body {
  color: var(--mainColor);
  background-color: var(--whiteColor);
  line-height: 1;
  font-family: GothamPro;
  font-size: 0.875rem;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.dark body {
  color: var(--whiteColor);
  background-color: var(--darkColor);
}
button,
input,
textarea {
  font-family: GothamPro;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background-color: rgba(0, 0, 0, 0);
}
input,
textarea {
  width: 100%;
}
label {
  display: inline-block;
}
button,
option,
select {
  cursor: pointer;
}
a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}
ul li {
  list-style: none;
}
img {
  vertical-align: top;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}
.lock body {
  overflow: hidden;
  touch-action: none;
  -ms-scroll-chaining: none;
  overscroll-behavior: none;
}
.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@supports (overflow: clip) {
  .wrapper {
    overflow: clip;
  }
}
.wrapper > main {
  flex: 1 1 auto;
}
.wrapper > * {
  min-width: 0;
}
[class*='__container'] {
  max-width: 76.25rem;
  margin: 0 auto;
  padding: 0 0.625rem;
}
[class*='--gc'] {
  display: grid;
  min-width: 0;
  grid-template-columns: 0.625rem 1fr minmax(auto, 75rem) 1fr 0.625rem;
}
[class*='--gc'] > * {
  min-width: 0;
  grid-column: 3/4;
}
.button {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 1.125rem 3.4375rem;
  box-shadow: 0 10px 30px 0 rgba(147, 164, 208, 0.251);
  border-radius: 6.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 122.611111%;
  background-color: var(--mainColor);
  color: var(--whiteColor);
  transition: background-color 0.3s;
  font-weight: 700;
}
.dark .button {
  box-shadow: none;
  overflow: hidden;
  position: relative;
  background-color: var(--buttonBlue);
}
.dark .button::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, #4c57fe 0, #7d4efe 100%);
  opacity: 1;
  transition: opacity 0.3s;
}
.dark .button span {
  position: relative;
  z-index: 1;
}
.button--fw {
  width: 100%;
}
.qs-datepicker-container {
  margin: 5px;
  font-size: 1rem;
  font-family: sans-serif;
  color: #000;
  position: absolute;
  width: 15.625em;
  display: flex;
  flex-direction: column;
  z-index: 9001;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  overflow: hidden;
  background: var(--mainColor);
  box-shadow: 0 1.25em 1.25em -0.9375em rgba(0, 0, 0, 0.3);
  border-right: 1px solid #fff;
  border-left: 1px solid #f1ad70;
  padding: 5px;
}
.qs-datepicker-container:after,
.qs-datepicker-container:before {
  content: '';
  width: 100%;
  height: 2px;
  left: 0;
  z-index: 2;
  position: absolute;
  background-image: linear-gradient(to right, #f1ad70 0, #fffdf2 100%);
}
.qs-datepicker-container:before {
  top: 0;
}
.qs-datepicker-container:after {
  bottom: 0;
}
.qs-datepicker-container * {
  box-sizing: border-box;
}
.qs-datepicker-container.qs-centered {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.qs-datepicker-container.qs-hidden {
  display: none;
}
.qs-datepicker .qs-overlay {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  width: 100%;
  height: 100%;
  padding: 0.5em;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.3s;
  display: flex;
  flex-direction: column;
}
.qs-datepicker .qs-overlay.qs-hidden {
  opacity: 0;
  z-index: -1;
}
.qs-datepicker .qs-overlay .qs-overlay-year {
  background: rgba(0, 0, 0, 0);
  border: none;
  border-bottom: 1px solid #fff;
  border-radius: 0;
  color: #fff;
  font-size: 0.875em;
  padding: 0.25em 0;
  width: 80%;
  text-align: center;
  margin: 0 auto;
  display: block;
}
.qs-datepicker .qs-overlay .qs-overlay-year::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.qs-datepicker .qs-overlay .qs-close {
  padding: 0.5em;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
}
.qs-datepicker .qs-overlay .qs-submit {
  border: 1px solid #fff;
  border-radius: 0.26392em;
  padding: 0.5em;
  margin: 0 auto auto;
  cursor: pointer;
  background: rgba(128, 128, 128, 0.4);
}
.qs-datepicker .qs-overlay .qs-submit.qs-disabled {
  color: gray;
  border-color: gray;
  cursor: not-allowed;
}
.qs-datepicker .qs-overlay .qs-overlay-month-container {
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
}
.qs-datepicker .qs-overlay .qs-overlay-month {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 33.33333%;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.15s;
}
.qs-datepicker .qs-overlay .qs-overlay-month.active,
.qs-datepicker .qs-overlay .qs-overlay-month:hover {
  opacity: 1;
}
.qs-datepicker .qs-controls {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  flex-shrink: 0;
  background: var(--mainColor);
  color: #fff;
  -webkit-filter: blur(0);
  filter: blur(0);
  transition: -webkit-filter 0.3s;
  transition: filter 0.3s;
  transition:
    filter 0.3s,
    -webkit-filter 0.3s;
  transition:
    filter 0.3s,
    -webkit-filter 0.3s;
}
.qs-datepicker .qs-controls.qs-blur {
  -webkit-filter: blur(5px);
  filter: blur(5px);
}
.qs-datepicker .qs-arrow {
  height: 1.5625em;
  width: 1.5625em;
  position: relative;
  cursor: pointer;
  border-radius: 0.26392em;
  transition: background 0.15s;
}
.qs-datepicker .qs-arrow:hover {
  background: rgba(0, 0, 0, 0.1);
}
.qs-datepicker .qs-arrow:hover.qs-left:after {
  border-right-color: #000;
}
.qs-datepicker .qs-arrow:hover.qs-right:after {
  border-left-color: #000;
}
.qs-datepicker .qs-arrow:after {
  content: '';
  border: 0.39062em solid transparent;
  position: absolute;
  top: 50%;
  transition: border 0.2s;
}
.qs-datepicker .qs-arrow.qs-left:after {
  border-right-color: gray;
  right: 50%;
  -webkit-transform: translate(25%, -50%);
  transform: translate(25%, -50%);
}
.qs-datepicker .qs-arrow.qs-right:after {
  border-left-color: gray;
  left: 50%;
  -webkit-transform: translate(-25%, -50%);
  transform: translate(-25%, -50%);
}
.qs-datepicker .qs-month-year {
  font-weight: 700;
  transition: border 0.2s;
  border-bottom: 1px solid transparent;
  cursor: pointer;
}
.qs-datepicker .qs-month-year:hover {
  border-bottom: 1px solid gray;
}
.qs-datepicker .qs-month-year:active:focus,
.qs-datepicker .qs-month-year:focus {
  outline: 0;
}
.qs-datepicker .qs-month {
  padding-right: 0.5ex;
}
.qs-datepicker .qs-year {
  padding-left: 0.5ex;
}
.qs-datepicker .qs-squares {
  display: flex;
  color: #fff;
  flex-wrap: wrap;
  padding: 0.3125em;
  -webkit-filter: blur(0);
  filter: blur(0);
  transition: -webkit-filter 0.3s;
  transition: filter 0.3s;
  transition:
    filter 0.3s,
    -webkit-filter 0.3s;
  transition:
    filter 0.3s,
    -webkit-filter 0.3s;
}
.qs-datepicker .qs-squares.qs-blur {
  -webkit-filter: blur(5px);
  filter: blur(5px);
}
.qs-datepicker .qs-square {
  width: 14.28571%;
  height: 1.5625em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.1s;
  border-radius: 0.26392em;
}
.qs-datepicker .qs-square.qs-current {
  font-weight: 700;
}
.qs-datepicker .qs-square.qs-current span {
  text-decoration: underline;
}
.qs-datepicker .qs-square.qs-active {
  background: #fff;
  color: #000;
}
.qs-datepicker .qs-square.qs-range-date-start:not(.qs-range-date-6) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.qs-datepicker .qs-square.qs-range-date-middle {
  background: #d4ebf2;
}
.qs-datepicker .qs-square.qs-range-date-middle:not(.qs-range-date-0):not(.qs-range-date-6) {
  border-radius: 0;
}
.qs-datepicker .qs-square.qs-range-date-middle.qs-range-date-0 {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.qs-datepicker .qs-square.qs-range-date-end:not(.qs-range-date-0),
.qs-datepicker .qs-square.qs-range-date-middle.qs-range-date-6 {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.qs-datepicker .qs-square.qs-disabled span {
  opacity: 0.2;
}
.qs-datepicker .qs-square.qs-empty {
  cursor: default;
}
.qs-datepicker .qs-square.qs-disabled {
  cursor: not-allowed;
}
.qs-datepicker .qs-square.qs-day {
  cursor: default;
  font-weight: 700;
  color: gray;
}
.qs-datepicker .qs-square:not(.qs-empty):not(.qs-disabled):not(.qs-day):not(.qs-active):hover {
  background: orange;
}
.qs-datepicker .qs-event {
  position: relative;
}
.qs-datepicker .qs-event:after {
  content: '';
  position: absolute;
  width: 0.46875em;
  height: 0.46875em;
  border-radius: 50%;
  background: #07f;
  bottom: 0;
  right: 0;
}
.qs-datepicker .qs-event.qs-disabled:after,
.qs-datepicker .qs-event.qs-empty:after {
  background: #cce4ff;
}
body::after {
  content: '';
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease 0s;
  pointer-events: none;
  z-index: 149;
}
.popup-show body::after {
  opacity: 1;
}
.popup {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 30px 10px;
  transition: visibility 0.8s ease 0s;
  visibility: hidden;
  pointer-events: none;
}
.popup_show {
  z-index: 150;
  visibility: visible;
  overflow: auto;
  pointer-events: auto;
}
.popup_show .popup__content {
  visibility: visible;
  -webkit-transform: scale(1);
  transform: scale(1);
}
.popup__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup__content {
  visibility: hidden;
  -webkit-transform: scale(0);
  transform: scale(0);
  transition: -webkit-transform 0.3s ease 0s;
  transition: transform 0.3s ease 0s;
  transition:
    transform 0.3s ease 0s,
    -webkit-transform 0.3s ease 0s;
  width: 100%;
  border-radius: 1.25rem;
  position: relative;
  overflow: hidden;
  background: url(../img/popbg.svg) center/cover no-repeat var(--whiteColor);
}
.dark .popup__content {
  background: url(../img/popbg-w.svg) center/cover no-repeat var(--darkColor);
}
.lock .popup__content {
  visibility: visible;
}
.popup__close {
  width: 2.5rem;
  height: 2.5rem;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition:
    transform 0.3s,
    -webkit-transform 0.3s;
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  z-index: 2;
  background: url(../img/close.svg) center/1.25rem 1.25rem no-repeat;
}
.dark .popup__close {
  background: url(../img/close-w.svg) center/1.25rem 1.25rem no-repeat;
}
.popup__inner {
  position: relative;
  z-index: 1;
}
.popup__title {
  font-size: 2.1875rem;
  font-weight: 900;
  line-height: 130%;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  text-align: center;
  max-width: 29.5625rem;
  margin: 0 auto 0.625rem auto;
}
.popup__sub {
  font-size: 1.25rem;
  line-height: 110%;
  color: var(--blackColor);
  text-align: center;
  max-width: 29.5625rem;
  margin: 0 auto 2rem auto;
}
.dark .popup__sub {
  color: var(--whiteColor);
}
.popup__image {
  aspect-ratio: 1/1;
  margin: 0 auto;
}
.popup__button {
  position: relative;
  z-index: 1;
  width: 100%;
}
.spollers {
  position: relative;
  z-index: 1;
  max-width: 62.75rem;
  margin-left: auto;
  margin-right: auto;
}
.spollers__title {
  font-weight: 700;
  text-align: center;
  line-height: 130%;
  width: 100%;
  cursor: default;
  border: 1px solid var(--whiteColor);
  border-radius: 3.5rem;
  position: relative;
  list-style: none;
  box-shadow: 0 11px 23px 0 #e3e8fc;
  transition: border-color 0.3s;
  cursor: pointer;
  background-color: var(--whiteColor);
}
.dark .spollers__title {
  box-shadow: none;
  background-color: var(--darkColor);
  color: var(--whiteColor);
}
.spollers__title.spollers__title--disable {
  background-color: var(--lightGray);
  border-color: var(--lightGray);
  box-shadow: none;
  color: var(--spollerButtonColor);
}
.dark .spollers__title.spollers__title--disable {
  background-color: var(--darkColor);
  color: var(--darkGray);
}
.spollers__title:not(button) {
  color: var(--mainColor);
}
.spollers__title:not(button)::-webkit-details-marker,
.spollers__title:not(button)::marker {
  display: none;
}
.spollers__body {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.spollers__body > .spollers__content {
  min-height: 0;
  line-height: 130%;
  box-shadow: 0 11px 23px 0 #e3e8fc;
  border-radius: 1.375rem;
  border: 1px solid var(--whiteColor);
  background-color: var(--whiteColor);
  color: var(--mainColor);
  position: relative;
  padding: 1.5rem;
}
.dark .spollers__body > .spollers__content {
  box-shadow: none;
  background-color: var(--darkColor);
  color: var(--whiteColor);
}
.spollers__content ol {
  list-style-type: none;
  counter-reset: item;
  padding-left: 0.3125rem;
}
.spollers__content ol li {
  display: flex;
  gap: 0.3125rem;
}
.spollers__content ol li:before {
  counter-increment: item;
  content: counter(item) '.';
}
.spollers__content {
  max-height: 29.8125rem;
  overflow: auto;
}
.spollers__content::-webkit-scrollbar {
  width: 5px;
}
.spollers__content::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: var(--darkGray);
}
.spollers__closebutton {
  background: url(../img/backarrow.svg) center/90% 90% no-repeat;
  display: block;
  transition: box-shadow 0.3s;
}
.dark .spollers__closebutton {
  background: url(../img/backarrow-w.svg) center/90% 90% no-repeat;
}
.ibg {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.ibg--top {
  -o-object-position: top;
  object-position: top;
}
.ibg--bottom {
  -o-object-position: bottom;
  object-position: bottom;
}
.ibg--left {
  -o-object-position: left;
  object-position: left;
}
.ibg--right {
  -o-object-position: right;
  object-position: right;
}
.ibg--contain {
  -o-object-fit: contain;
  object-fit: contain;
}
.title {
  line-height: 130%;
  font-weight: 900;
}
.header {
  position: relative;
  z-index: 3;
}
.header__container {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
}
.header__switch {
  position: relative;
  display: inline-block;
}
.header__input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.header__input:checked + .header__slider {
  background-color: #222c5e;
  box-shadow: 0 5px 4.5px -1px rgba(0, 0, 0, 0.4) inset;
}
.header__input:checked + .header__slider::before {
  background: url(../img/moon.svg) 0 0/100% 100% no-repeat;
}
.header__input:focus + .header__slider {
  box-shadow: 0 5px 4.5px -1px rgba(0, 0, 0, 0.2) inset;
}
.header__slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 3.125rem;
  background-color: #fff;
  transition: background-color 0.3s;
  box-shadow: 0 5px 4.5px -1px rgba(0, 0, 0, 0.1019607843) inset;
}
.header__slider::before {
  content: '';
  position: absolute;
  border-radius: 50%;
  transition:
    background-image 0.3s,
    -webkit-transform 0.3s;
  transition:
    background-image 0.3s,
    transform 0.3s;
  transition:
    background-image 0.3s,
    transform 0.3s,
    -webkit-transform 0.3s;
  box-shadow: 2px 1px 6px 0 rgba(0, 0, 0, 0.2509803922);
  background: url(../img/sun.svg) 0 0/100% 100% no-repeat;
}

/* Language Select Styles */
.language-select {
  position: relative;
  display: flex;
}

.language-select__current {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  box-shadow: 0 5px 4.5px -1px rgba(0, 0, 0, 0.1019607843) inset;
}

.dark .language-select__current {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.language-select__current:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.dark .language-select__current:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.language-select__flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 15px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.language-select__text {
  font-weight: 600;
  font-size: 14px;
  color: var(--darkColor);
  letter-spacing: 0.5px;
}
.dark .language-select__text {
  color: var(--whiteColor);
}
.language-select__arrow {
  display: flex;
  align-items: center;
  color: var(--darkColor);
  transition: transform 0.3s ease;
  margin-left: auto;
}
.dark .language-select__arrow {
  color: var(--whiteColor);
}
.language-select__current.active .language-select__arrow {
  transform: rotate(180deg);
}

.language-select__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.dark .language-select__dropdown {
  background: rgba(43, 45, 47, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

.language-select__dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-select__option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--mainColor);
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dark .language-select__option {
  color: var(--whiteColor);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.language-select__option:last-child {
  border-bottom: none;
}

.language-select__option:hover {
  background: rgba(89, 102, 164, 0.1);
  transform: translateX(4px);
}

.dark .language-select__option:hover {
  background: rgba(255, 255, 255, 0.05);
}

.language-select__option .language-select__flag {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.language-select__option .language-select__text {
  font-weight: 500;
  font-size: 14px;
  color: inherit;
}
.first {
  position: relative;
}
.first__top {
  position: relative;
  display: flex;
  gap: 1.25rem;
  z-index: 2;
}
.first__content {
  position: relative;
  z-index: 1;
}
.first__title {
  line-height: 120%;
  text-transform: uppercase;
  font-weight: 900;
}
.first__title:not(:last-child) {
  margin-bottom: 0.5rem;
}
.first__subtitle {
  letter-spacing: -0.03em;
  font-weight: 500;
  line-height: 133.333333%;
}
.first__subtitle:not(:last-child) {
  margin-bottom: 1.25rem;
}
.first__right {
  position: relative;
}
.first__right::before {
  content: '';
  position: absolute;
  width: 135%;
  height: 135%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(103deg);
  transform: translate(-50%, -50%) rotate(103deg);
  background: url(../img/matrix-bg.svg) 0 0/100% 100% no-repeat;
}
.dark .first__right::before {
  display: none;
}
.first__right img,
.first__right svg {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
}
.dark .first__rect-1 {
  stroke: var(--whiteColor);
}
.dark .first__rect-2 {
  stroke: var(--whiteColor);
}
.dark .first__line-1 {
  stroke: var(--whiteColor);
}
.dark .first__line-2 {
  stroke: var(--whiteColor);
}
.dark .first__path-1 {
  fill: var(--whiteColor);
}
.dark .first__path-2 {
  fill: var(--lightGray);
}
.first-form__top {
  display: flex;
  gap: 0.3125rem;
}
.first-form__top:not(:last-child) {
  margin-bottom: 0.3125rem;
}

/* Обеспечиваем позиционирование для контейнера ошибок */
.first-form__top {
  position: relative;
}

.first-form__input {
  font-family: CenturyGothic;
  width: 100%;
  display: block;
  caret-color: inherit;
  padding: 1.125rem;
  text-align: center;
  border: 1px solid var(--lightBlue);
  border-radius: 6.25rem;
  line-height: 100%;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: var(--whiteColor);
  outline: 0;
  color: var(--mainColor);
}
.dark .first-form__input {
  border-color: var(--grayGolor);
  color: var(--mainColor);
}
.first-form__input[placeholder]:not([data-placeholder-nohiden])::-webkit-input-placeholder {
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.first-form__input[placeholder]:not([data-placeholder-nohiden]):-ms-input-placeholder {
  -ms-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.first-form__input[placeholder]:not([data-placeholder-nohiden])::-ms-input-placeholder {
  -ms-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.first-form__input[placeholder]:not([data-placeholder-nohiden])::placeholder {
  transition: opacity 0.3s;
}
.first-form__input[placeholder]:not([data-placeholder-nohiden]):focus::-webkit-input-placeholder {
  opacity: 0;
}
.first-form__input[placeholder]:not([data-placeholder-nohiden]):focus:-ms-input-placeholder {
  opacity: 0;
}
.first-form__input[placeholder]:not([data-placeholder-nohiden]):focus::-ms-input-placeholder {
  opacity: 0;
}
.first-form__input[placeholder]:not([data-placeholder-nohiden]):focus::placeholder {
  opacity: 0;
}
.first-form__input._form-error {
  border-color: var(--redColor);
}
.first-form__input._form-focus {
  box-shadow: 5px 0 10px 0 rgba(0, 0, 0, 0.14);
}
.dark .first-form__input._form-focus {
  box-shadow: 5px 0 10px 0 rgba(255, 255, 255, 0.5);
}
.first-form .options {
  font-family: CenturyGothic;
  flex: 0 0 8.1875rem;
  display: flex;
  border-radius: 6.25rem;
}
.first-form .options:has(._form-focus) {
  box-shadow: 5px 0 10px 0 rgba(0, 0, 0, 0.14);
}
.dark .first-form .options:has(._form-focus) {
  box-shadow: 5px 0 10px 0 rgba(255, 255, 255, 0.5);
}
.first-form .options__item {
  flex: 1 1 50%;
  position: relative;
  cursor: pointer;
}
.first-form .options__item:first-child .options__text {
  border-radius: 6.25rem 0 0 6.25rem;
}
.first-form .options__item:first-child .options__text::before {
  border-radius: 6.25rem 0 0 6.25rem;
  width: calc(100% + 0.125rem);
  height: calc(100% + 0.125rem);
  left: -0.0625rem;
  top: -0.0625rem;
  background: linear-gradient(90deg, #4c57fe 0, #7d4efe 100%);
}
.first-form .options__item:last-child .options__text {
  border-radius: 0 6.25rem 6.25rem 0;
  border-left: none;
}
.first-form .options__item:last-child .options__text::before {
  border-radius: 0 6.25rem 6.25rem 0;
  width: calc(100% + 0.0625rem);
  height: calc(100% + 0.125rem);
  left: 0;
  top: -0.0625rem;
  background: linear-gradient(270deg, #4c57fe 0, #7d4efe 100%);
}
.first-form .options__label {
  cursor: pointer;
  height: 100%;
  width: 100%;
}
.first-form .options__input {
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
}
.first-form .options__input._form-focus + .options__text {
  box-shadow: 5px 0 10px 0 rgba(0, 0, 0, 0.24);
}
.first-form .options__input:checked + .options__text {
  box-shadow: 5px 0 10px 0 rgba(0, 0, 0, 0.24);
  background-color: var(--mainColor);
  color: var(--whiteColor);
  border-color: var(--mainColor);
}
.dark .first-form .options__input:checked + .options__text {
  box-shadow: none;
  color: var(--whiteColor);
  border-color: transparent;
  background-color: var(--whiteColor);
}
.dark .first-form .options__input:checked + .options__text::before {
  opacity: 1;
}
.first-form .options__text {
  position: relative;
  border: 1px solid var(--lightBlue);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.3125rem;
  height: 100%;
  line-height: 122.611111%;
  color: var(--mainColor);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s;
  background-color: var(--whiteColor);
}
.dark .first-form .options__text {
  border-color: var(--grayGolor);
  color: var(--mainColor);
  background-color: var(--whiteColor);
}
.dark .first-form .options__text::before {
  content: '';
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s;
}
.first-form .options__text span {
  position: relative;
  z-index: 1;
}
.purpose__block:nth-child(1) .purpose__blockyears {
  color: var(--yellowColor);
}
.purpose__block:nth-child(2) .purpose__blockyears {
  color: var(--pinkColor);
}
.dark .purpose__block:nth-child(2) .purpose__blockyears {
  color: var(--darkPink);
}
.purpose__block:nth-child(3) .purpose__blockyears {
  color: var(--greenColor);
}
.dark .purpose__block:nth-child(3) .purpose__blockyears {
  color: var(--darkGreen);
}
.purpose__blocktitle {
  font-weight: 700;
  line-height: 120%;
}
.purpose__blockyears {
  line-height: 130%;
  font-weight: 700;
}
.purpose__cont {
  display: flex;
  align-items: center;
  font-family: Gotham;
  gap: 2.0625rem;
}
.purpose__leftrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.purpose__leftrow:not(:last-child) {
  margin-bottom: 0.75rem;
}
.purpose__leftround {
  border-radius: 50%;
  border: 1px solid var(--mainColor);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  background-color: var(--whiteColor);
  color: var(--mainColor);
}
.purpose__decor {
  flex: 0 0 0.0625rem;
  width: 0.0625rem;
  height: 3.8125rem;
  background-color: var(--mainColor);
  position: relative;
}
.dark .purpose__decor {
  background-color: var(--whiteColor);
}
.purpose__decor span,
.purpose__decor::after,
.purpose__decor::before {
  content: '';
  position: absolute;
  height: 0.0625rem;
  width: 1.375rem;
  background-color: var(--mainColor);
}
.dark .purpose__decor span,
.dark .purpose__decor::after,
.dark .purpose__decor::before {
  background-color: var(--whiteColor);
}
.purpose__decor::before {
  top: 0;
  right: 0;
}
.purpose__decor::after {
  bottom: 0;
  right: 0;
}
.purpose__decor span {
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.purpose__right {
  border-radius: 50%;
  border: 1px solid var(--mainColor);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  background-color: var(--whiteColor);
  color: var(--mainColor);
}
.health__table {
  background-color: var(--lightGray);
  border-radius: 1.25rem;
  overflow: hidden;
}
.dark .health__table {
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid var(--whiteColor);
}
.health__table table {
  width: 100%;
  font-weight: 700;
  border-collapse: collapse;
  list-style-type: none;
  counter-reset: item;
  table-layout: fixed;
  word-break: break-word;
}
.dark .health__table table thead tr {
  background-color: var(--lightDark);
}
.dark .health__table table tr:nth-child(even) {
  background-color: var(--lightDark);
}
.health__table table tr:has(td) {
  counter-increment: item;
}
.health__table table tr td:first-child::before {
  content: counter(item);
  color: var(--whiteColor);
}
.health__table table tr:first-child td:first-child {
  background: linear-gradient(180deg, #bd6cff 0, #9666fa 100%);
}
.health__table table tr:nth-child(2) td:first-child {
  background: linear-gradient(180deg, #6a86ff 0, #4969fe 100%);
}
.health__table table tr:nth-child(3) td:first-child {
  background: linear-gradient(180deg, #49faf7 0, #59d5fb 100%);
}
.health__table table tr:nth-child(4) td:first-child {
  background: linear-gradient(180deg, #74f19b 0, #76ea3a 100%);
}
.health__table table tr:nth-child(5) td:first-child {
  background: linear-gradient(180deg, #ffe87f 0, #ffd333 100%);
}
.health__table table tr:nth-child(6) td:first-child {
  background: linear-gradient(180deg, #fdc226 0, #fe8551 100%);
}
.health__table table tr:nth-child(7) td:first-child {
  background: linear-gradient(180deg, #ff6c77 0, #ff5c5e 100%);
}
.health__table table tr:nth-child(8) td:first-child {
  background: linear-gradient(180deg, #6a86ff 0, #4969fe 100%);
}
.health__table table tr:last-child td:first-child {
  background: var(--grayGolor);
}
.health__table table tr:last-child td:first-child::before {
  color: var(--mainColor);
}
.health__table table td,
.health__table table th {
  text-align: center;
}
.health__table table td:first-child,
.health__table table th:first-child {
  width: 1.75rem;
}
.health__table table td:nth-child(2),
.health__table table th:nth-child(2) {
  text-align: left;
}
.health__table table td:nth-child(2) span,
.health__table table th:nth-child(2) span {
  font-size: 0.875rem;
  line-height: 130%;
  display: block;
  font-weight: 400;
  font-family: CenturyGothic;
}
.health__table table th {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 130%;
}
.health__table table th:first-child {
  background-color: var(--grayGolor);
}
.health__table table td {
  font-size: 1.375rem;
  line-height: 130%;
}
.health__quest {
  position: relative;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  background: url(../img/question.svg) center/1rem 1rem no-repeat;
  display: inline-block;
  margin-left: 0.375rem;
}
.dark .health__quest {
  background-image: url(../img/question-w.svg);
}
.health__quest:hover .health__answer {
  opacity: 1;
  visibility: visible;
}
.health__answer {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0.3s,
    opacity 0.3s;
  font-size: 0.875rem;
  left: 100%;
  bottom: 100%;
  background-color: var(--whiteColor);
  padding: 0.9375rem 0.625rem;
  line-height: 120%;
  font-weight: 400;
  width: 15.625rem;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  border-radius: 0.625rem;
}
.dark .health__answer {
  color: var(--mainColor);
}
.tarifs-item {
  background-color: var(--whiteColor);
  border-radius: 3.125rem;
  display: flex;
  flex-direction: column;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition:
    transform 0.3s,
    -webkit-transform 0.3s;
  box-shadow: 1px 9px 19.3px 0 #b5bbd4;
}
.dark .tarifs-item {
  box-shadow: 1px 9px 19.3px 0 rgba(3, 3, 4, 0.4);
  background-color: var(--tarifsDark);
}
.tarifs-item--pink .tarifs-item__top {
  background-color: var(--lightPink);
}
.dark .tarifs-item--pink .tarifs-item__top {
  background-color: var(--tarifsDark);
  border: 1px solid var(--pinkColor);
}
.tarifs-item--pink .tarifs-item__name,
.tarifs-item--pink .tarifs-item__price {
  color: var(--pinkColor);
}
.tarifs-item--violet .tarifs-item__top {
  background-color: var(--lightViolet);
}
.dark .tarifs-item--violet .tarifs-item__top {
  background-color: var(--tarifsDark);
  border: 1px solid var(--violetColor);
}
.tarifs-item--violet .tarifs-item__name,
.tarifs-item--violet .tarifs-item__price {
  color: var(--violetColor);
}
.tarifs-item--green .tarifs-item__top {
  background-color: var(--lightGreen);
}
.dark .tarifs-item--green .tarifs-item__top {
  background-color: var(--tarifsDark);
  border: 1px solid var(--greenColor);
}
.tarifs-item--green .tarifs-item__name,
.tarifs-item--green .tarifs-item__price {
  color: var(--greenColor);
}
.tarifs-item__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 3.125rem;
  text-align: center;
}
.tarifs-item__name {
  font-weight: 700;
  line-height: 120%;
  text-transform: uppercase;
}
.tarifs-item__price {
  line-height: 1;
  font-weight: 900;
}
.tarifs-item__desc {
  font-size: 0.875rem;
  line-height: 178.571429%;
  font-family: CenturyGothic;
}
.tarifs-item__button {
  margin-top: -1.8125rem;
  width: calc(100% - 3.75rem);
  margin-left: auto;
  margin-right: auto;
}
.tarifs-item__text {
  font-family: CenturyGothic;
  color: var(--tarifsGray);
}
.dark .tarifs-item__text {
  color: var(--whiteColor);
}
@media (min-width: 29.99875em) {
  .first {
    padding-top: 1.875rem;
  }
  .first__title {
    font-size: 2.1875rem;
  }
  .tarifs-item__top {
    padding: 3.125rem 1.875rem 3.25rem 1.875rem;
  }
  .tarifs-item__name {
    font-size: 1rem;
    margin-bottom: 0.3125rem;
  }
  .tarifs-item__price {
    margin-bottom: 1.375rem;
    font-size: 3.125rem;
  }
  .tarifs-item__text {
    padding: 1.75rem 1.5rem 2.75rem 1.5rem;
    max-width: 20.5rem;
    align-self: center;
    font-size: 0.875rem;
    line-height: 178.571429%;
  }
  .tarifs-item__text p:not(:last-child) {
    margin-bottom: 1.5625rem;
  }
}
@media (min-width: 47.99875em) {
  .button {
    font-size: 1.125rem;
  }
  .popup__content {
    padding: 4.25rem 1.25rem 4rem 1.25rem;
    max-width: 44.5rem;
  }
  .popup__image {
    width: 16.5rem;
  }
  .popup__button {
    margin-top: -1.75rem;
  }
  .spollers__spollers:not(:last-child) {
    margin-bottom: 1.5rem;
  }
  .spollers__item:not(:last-child) {
    margin-bottom: 1.5rem;
  }
  .spollers__title {
    padding: 1.6875rem 0.9375rem;
    font-size: 1.25rem;
  }
  .spollers__title.spollers__title--disable:not(:last-child) {
    margin-bottom: 1.5rem;
  }
  .spollers__body > .spollers__content {
    margin-top: 1.5rem;
    font-size: 1.25rem;
    padding: 2.5rem 1.875rem;
  }
  .spollers__content p + p {
    margin-top: 2.1875rem;
  }
  .spollers__content:not(:last-child) {
    margin-bottom: 1.75rem;
  }
  .spollers__closebutton {
    width: 3.5rem;
    height: 3.5rem;
  }
  .header {
    padding: 1.75rem 0;
  }
  .header__switch {
    width: 5rem;
    height: 2.5rem;
  }
  .header__input:checked + .header__slider::before {
    -webkit-transform: translateX(2.5rem);
    transform: translateX(2.5rem);
  }
  .header__slider::before {
    height: 2rem;
    width: 2rem;
    left: 0.25rem;
    top: 0.25rem;
  }
  .first::before {
    content: '';
    position: absolute;
    width: 136.9375rem;
    height: 106rem;
    top: -18.75rem;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background: url(../img/first-bg.svg) 0 0/100% 100% no-repeat;
  }
  .dark .first::before {
    width: 90.875rem;
    height: 78.125rem;
    top: 15vh;
    background: url(../img/first-dark-bg.svg) 0 0/100% 100% no-repeat;
  }
  .first__top {
    justify-content: space-between;
  }
  .first__top:not(:last-child) {
    margin-bottom: 1.875rem;
  }
  .first__content {
    padding-top: 2.5rem;
    flex: 0 0 21.875rem;
  }
  .first__title {
    font-size: 2.5rem;
  }
  .first__subtitle {
    font-size: 1.375rem;
  }
  .first__form {
    max-width: 27.9375rem;
  }
  .first__form:not(:first-child) {
    margin-top: 3.5rem;
  }
  .first__right {
    max-width: 40.1875rem;
  }
  .first-form__input {
    font-size: 1.125rem;
  }
  .first-form .options__text {
    font-size: 1.125rem;
  }
  .purpose {
    padding-top: 4.6875rem;
    background: url(../img/purpose-bg-w.svg) center top 0/129.3125rem 44.375rem no-repeat;
  }
  .purpose__title:not(:last-child) {
    margin-bottom: 2rem;
  }
  .purpose__top:not(:last-child) {
    margin-bottom: 4rem;
  }
  .purpose__blocktitle:not(:last-child) {
    margin-bottom: 0.5rem;
  }
  .purpose__blockyears:not(:last-child) {
    margin-bottom: 1.75rem;
  }
  .purpose__leftrow {
    gap: 1.1875rem;
  }
  .purpose__lefttext {
    font-size: 1.5rem;
  }
  .purpose__leftround {
    font-size: 1.75rem;
    width: 4rem;
    height: 4rem;
    flex: 0 0 4rem;
  }
  .purpose__right {
    font-size: 1.75rem;
    width: 4rem;
    height: 4rem;
    flex: 0 0 4rem;
  }
  .programs {
    padding-top: 4.8125rem;
    background: url(../img/programs-bg-w.svg) center top 0/139.4375rem 73.25rem no-repeat;
  }
  .dark .programs {
    background: url(../img/programs-bg-d.svg) center top 0/88.5rem 76.1875rem no-repeat;
  }
  .programs__top:not(:last-child) {
    margin-bottom: 4.25rem;
  }
  .programs__title:not(:last-child) {
    margin-bottom: 2.1875rem;
  }
  .programs__subtitle {
    line-height: 150%;
  }
  .health {
    padding-top: 4.6875rem;
    margin-bottom: 1.5rem;
  }
  .health__top:not(:last-child) {
    margin-bottom: 2.75rem;
  }
  .health__title:not(:last-child) {
    margin-bottom: 1.75rem;
  }
  .health__table table tr td:first-child::before {
    font-size: 1.125rem;
  }
  .health__table table td:not(:first-child),
  .health__table table th:not(:first-child) {
    padding: 1rem 1.625rem;
    height: 4.9375rem;
  }
  .health__table table th:nth-child(n + 3) {
    width: 20%;
  }
  .tarifs {
    padding-top: 3.625rem;
    padding-bottom: 17.125rem;
    background: url(../img/tarifs-bg-w.webp) center bottom 0/104rem 32rem no-repeat;
  }
  .dark .tarifs {
    background: url(../img/tarifs-bg-d.webp) center bottom 0/104rem 32rem no-repeat;
  }
  .tarifs__title {
    margin-bottom: 2.1875rem;
  }
}
@media (min-width: 61.99875em) {
  .spollers__title {
    font-size: 1.5rem;
  }
  .spollers__body > .spollers__content {
    padding: 3.375rem 5.125rem 1.75rem 5.125rem;
  }
  .first__content {
    padding-top: 5.0625rem;
    flex: 0 0 28.125rem;
  }
  .first__title {
    font-size: 3.75rem;
  }
  .first__subtitle {
    font-size: 1.625rem;
  }
  .dark .purpose {
    background: url(../img/purpose-bg-d.svg) center top 0/133.875rem 52.875rem no-repeat;
  }
  .purpose__top {
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
  }
  .purpose__block {
    max-width: 19.125rem;
    flex: 0 1 calc((100% - 40px) / 3);
  }
  .tarifs__row {
    display: flex;
    gap: 1.5625rem;
  }
  .tarifs__row .tarifs-item {
    flex: 0 1 calc((100% - 50px) / 3);
  }
}
@media (min-width: 76.25em) {
  .title {
    font-size: 3.125rem;
  }
  .first__title {
    font-size: 5rem;
  }
  .first__subtitle {
    font-size: 1.875rem;
  }
  .purpose__blocktitle {
    font-size: 2.1875rem;
  }
  .purpose__blockyears {
    font-size: 2.5rem;
  }
  .programs__subtitle {
    font-size: 1.75rem;
  }
}
@media (max-width: 20em) {
  .title {
    font-size: 1.625rem;
  }
  .purpose__blocktitle {
    font-size: 1.25rem;
  }
  .purpose__blockyears {
    font-size: 1.625rem;
  }
  .programs__subtitle {
    font-size: 1.25rem;
  }
}
@media (max-width: 61.99875em) {
  .dark .purpose {
    background: url(../img/purpose-bg-d-small.svg) center top 0/100% 52.1875rem no-repeat;
  }
  .purpose__block:not(:last-child) {
    margin-bottom: 3.75rem;
  }
  .tarifs__row {
    max-width: 31.25rem;
    margin-left: auto;
    margin-right: auto;
  }
  .tarifs__row .tarifs-item:not(:last-child) {
    margin-bottom: 1.5625rem;
  }
}
@media (max-width: 47.99875em) {
  .button {
    padding: 0.875rem;
  }
  .popup__content {
    padding: 3.875rem 1.25rem 0.875rem 1.25rem;
    max-width: 28.125rem;
  }
  .popup__title {
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
  }
  .popup__sub {
    font-size: 0.875rem;
    margin-bottom: 1.3125rem;
  }
  .popup__image {
    width: 10rem;
  }
  .spollers__spollers:not(:last-child) {
    margin-bottom: 0.625rem;
  }
  .spollers__item:not(:last-child) {
    margin-bottom: 0.625rem;
  }
  .spollers__title {
    padding: 0.8125rem;
    font-size: 0.875rem;
  }
  .spollers__title.spollers__title--disable:not(:last-child) {
    margin-bottom: 0.625rem;
  }
  .spollers__body > .spollers__content {
    margin-top: 0.625rem;
    font-size: 1rem;
    padding: 1.25rem 1.25rem 0.5rem 1.25rem;
  }
  .spollers__content p + p {
    margin-top: 0.9375rem;
  }
  .spollers__content {
    max-height: 29.8125rem;
    overflow: auto;
  }
  .spollers__content:not(:last-child) {
    margin-bottom: 0.5rem;
  }
  .spollers__closebutton {
    width: 2rem;
    height: 2rem;
  }
  .header {
    padding: 0.9375rem 0;
  }
  .header__switch {
    width: 2.75rem;
    height: 1.25rem;
  }
  .header__input:checked + .header__slider::before {
    -webkit-transform: translateX(1.5rem);
    transform: translateX(1.5rem);
  }
  .header__slider::before {
    height: 1rem;
    width: 1rem;
    left: 0.125rem;
    top: 0.125rem;
  }
  .first {
    padding-bottom: 0.625rem;
  }
  .first::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 40.75rem;
    top: -4.125rem;
    left: 0;
    background: url(../img/first-bg-small.svg) 0 0/100% 100% no-repeat;
  }
  .dark .first::before {
    width: calc(100% + 21.875rem);
    aspect-ratio: 432/343;
    height: auto;
    top: 14vh;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background: url(../img/first-dark-bg.svg) 0 0/100% 100% no-repeat;
    opacity: 0.7;
  }
  .first__top {
    flex-direction: column-reverse;
    gap: 2.5rem;
  }
  .first__top:not(:last-child) {
    margin-bottom: 0.625rem;
  }
  .first__content {
    width: 100%;
  }
  .first__title {
    font-size: 1.75rem;
    text-align: center;
    display: none;
  }
  .first__subtitle {
    font-size: 1.125rem;
    text-align: center;
    display: none;
  }
  .first__right {
    max-width: 31.25rem;
    width: 100%;
    margin: 0 auto;
  }
  .first-form__input {
    padding: 0.6875rem;
    font-size: 1rem;
  }
  .first-form .options__text {
    font-size: 1rem;
  }
  .purpose {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    background: url(../img/purpose-bg-w-small.svg) center top 0/100% 67.5rem no-repeat;
  }
  .purpose__title:not(:last-child) {
    margin-bottom: 0.25rem;
  }
  .purpose__top:not(:last-child) {
    margin-bottom: 1.25rem;
  }
  .purpose__block:not(:last-child) {
    margin-bottom: 1.25rem;
  }
  .purpose__blocktitle:not(:last-child) {
    margin-bottom: 0.25rem;
  }
  .purpose__blockyears:not(:last-child) {
    margin-bottom: 0.5rem;
  }
  .purpose__leftrow {
    gap: 1rem;
  }
  .purpose__lefttext {
    font-size: 1rem;
  }
  .purpose__leftround {
    font-size: 1.375rem;
    width: 4rem;
    height: 4rem;
    flex: 0 0 4rem;
  }
  .purpose__right {
    font-size: 1.375rem;
    width: 4rem;
    height: 4rem;
    flex: 0 0 4rem;
  }
  .programs {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    background: url(../img/programs-bg-w-small.svg) center top 0/100% 30rem no-repeat;
  }
  .dark .programs {
    background: url(../img/programs-bg-d-small.svg) center top 3.125rem/200% 50rem no-repeat;
  }
  .programs__top:not(:last-child) {
    margin-bottom: 1.25rem;
  }
  .programs__title:not(:last-child) {
    margin-bottom: 0.25rem;
  }
  .programs__subtitle {
    line-height: 130%;
  }
  .health {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
  }
  .health__top:not(:last-child) {
    margin-bottom: 1.25rem;
  }
  .health__title:not(:last-child) {
    margin-bottom: 0.5rem;
  }
  .health__table table tr td:first-child::before {
    font-size: 0.875rem;
  }
  .health__table table td:not(:first-child),
  .health__table table th:not(:first-child) {
    padding: 1rem 0.625rem;
  }
  .health__table table td:nth-child(2) span,
  .health__table table th:nth-child(2) span {
    font-size: 0.75rem;
  }
  .health__table table th {
    font-size: 0.875rem;
  }
  .health__table table th:nth-child(n + 3) {
    width: 19%;
    padding: 0.9375rem 0.125rem;
  }
  .health__table table td {
    font-size: 1rem;
  }
  .health__quest {
    width: 0.625rem;
    height: 0.625rem;
    flex: 0 0 0.625rem;
    background-size: 0.625rem 0.625rem;
  }
  .tarifs {
    padding-top: 2.1875rem;
    padding-bottom: 14.375rem;
    background: url(../img/tarifs-bg-w-small.webp) center bottom 0/100% no-repeat;
  }
  .dark .tarifs {
    background: url(../img/tarifs-bg-d-small.webp) center bottom 0/100% no-repeat;
  }
  .tarifs__title {
    margin-bottom: 0.625rem;
  }
  .tarifs__row .tarifs-item:not(:last-child) {
    margin-bottom: 0.75rem;
  }
}
@media (max-width: 29.99875em) {
  .first-form .options {
    flex: 0 0 7.6875rem;
  }
  .health__table table tr td:first-child::before {
    font-size: 0.75rem;
  }
  .health__table table td:not(:first-child),
  .health__table table th:not(:first-child) {
    font-size: 0.625rem;
  }
  .health__table table td:nth-child(2) span,
  .health__table table th:nth-child(2) span {
    font-size: 0.625rem;
  }
  .health__table table th {
    font-size: 0.625rem;
  }
  .health__table table td {
    font-size: 0.75rem;
  }
  .health__answer {
    font-size: 0.75rem;
    width: 12.5rem;
  }
  .tarifs-item__top {
    padding: 1.75rem 1.125rem 2.8125rem 1.125rem;
  }
  .tarifs-item__name {
    font-size: 0.875rem;
    margin-bottom: 0.875rem;
  }
  .tarifs-item__price {
    font-size: 2.75rem;
    margin-bottom: 0.625rem;
  }
  .tarifs-item__text {
    font-size: 0.8125rem;
    line-height: 192.307692%;
    padding: 1.5rem 1.875rem 2.5rem 1.875rem;
  }
  .tarifs-item__text p:not(:last-child) {
    margin-bottom: 1.25rem;
  }
}
@media (min-width: 20em) and (max-width: 76.25em) {
  .title {
    font-size: clamp(1.625rem, 1.0916666667rem + 2.6666666667vw, 3.125rem);
  }
  .purpose__blocktitle {
    font-size: clamp(1.25rem, 0.9166666667rem + 1.6666666667vw, 2.1875rem);
  }
  .purpose__blockyears {
    font-size: clamp(1.625rem, 1.3138888889rem + 1.5555555556vw, 2.5rem);
  }
  .programs__subtitle {
    font-size: clamp(1.25rem, 1.0722222222rem + 0.8888888889vw, 1.75rem);
  }
}
@media (any-hover: hover) {
  .button:hover {
    background-color: var(--blueColor);
  }
  .dark .button:hover {
    background-color: var(--buttonBlue);
  }
  .dark .button:hover::before {
    opacity: 0;
  }
  .popup__close:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
  .dark .spollers__title:hover {
    border-color: var(--mainColor);
  }
  .spollers__title.spollers__title--disable:hover {
    border-color: var(--lightGray);
  }
  .dark .spollers__title.spollers__title--disable:hover {
    border-color: var(--whiteColor);
  }
  .spollers__title:hover {
    border-color: var(--lightBlue);
  }
  .spollers__closebutton:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  }
  .dark .spollers__closebutton:hover {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  }
  .dark .first-form .options__text:hover {
    color: var(--whiteColor);
    border-color: transparent;
    background-color: var(--whiteColor);
  }
  .dark .first-form .options__text:hover::before {
    opacity: 1;
  }
  .first-form .options__text:hover {
    box-shadow: 5px 0 10px 0 rgba(0, 0, 0, 0.4);
    background-color: var(--mainColor);
    color: var(--whiteColor);
    border-color: var(--mainColor);
  }
  .tarifs-item:hover {
    -webkit-transform: translateY(-22px);
    transform: translateY(-22px);
  }
}

/* Скрытие секций по умолчанию */
.purpose,
.programs,
.health,
.tarifs,
.first__bottom {
  display: none;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-in-out;
}

/* Показ секций с анимацией */
.purpose.show-section,
.programs.show-section,
.health.show-section,
.tarifs.show-section,
.first__bottom.show-section {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Анимация появления */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.show-section {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Индикатор загрузки для формы */
.first-form__loading {
  position: relative;
  pointer-events: none;
}

.first-form__loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--mainColor);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Стили для toast уведомлений */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 6px;
  color: white;
  font-weight: 500;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  background-color: #4caf50;
}

.toast.error {
  background-color: #f44336;
}

.toast.info {
  background-color: #2196f3;
}

/* Стили для ошибок полей */
.field-error {
  border-color: var(--redColor) !important;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

.field-error-message {
  position: absolute;
  top: -45px;
  right: 0;
  background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(255, 71, 87, 0.3);
  z-index: 1000;
  white-space: nowrap;
  animation: errorSlideIn 0.3s ease-out;
  min-width: 120px;
  text-align: center;
}

.field-error-message::before {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 15px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #ff4757;
}
/* 
.field-error-message::after {
  content: '⚠️';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
} */

@keyframes errorSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Обеспечиваем позиционирование родителя */
.first-form__input:focus + .field-error-message,
.first-form__input + .field-error-message {
  position: relative;
  top: 5px;
  right: auto;
  left: 0;
  margin-top: 5px;
  animation: errorFadeIn 0.3s ease-out;
}

@keyframes errorFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 47.99875em) {
  .field-error-message {
    top: -40px;
    right: 10px;
    left: 10px;
    min-width: auto;
    font-size: 0.7rem;
    padding: 6px 10px;
  }

  .field-error-message::before {
    right: 20px;
  }

  /* .field-error-message::after {
    left: 6px;
    font-size: 10px;
  } */
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 29.99875em) {
  .field-error-message {
    top: -35px;
    font-size: 0.65rem;
    padding: 5px 8px;
  }

  /* .field-error-message::after {
    left: 5px;
    font-size: 9px;
  } */
}

/* Стили для активного состояния спойлеров */
.spollers__title--active {
  background-color: var(--mainColor) !important;
  color: var(--whiteColor) !important;
  border-color: var(--mainColor) !important;
}

.dark .spollers__title--active {
  background-color: var(--whiteColor) !important;
  color: var(--darkColor) !important;
  border-color: var(--whiteColor) !important;
}
/* Анимация заполнения матрицы для SVG */
.matrix-filling [data-key] {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.matrix-filling [data-key].matrix-animate {
  animation: svgMatrixAppear 0.4s ease-out forwards;
}

/* Эффект рулетки */
.matrix-filling [data-key].matrix-roulette {
  /* Убираем анимацию движения, оставляем только смену чисел */
}

@keyframes svgMatrixAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Легкая пульсация для SVG элементов */
.matrix-filling [data-key].matrix-pulse {
  animation: svgMatrixPulse 0.2s ease-out;
}

@keyframes svgMatrixPulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

/* Эффект свечения через фильтры SVG */
.matrix-filling [data-key].matrix-glow {
  animation: svgMatrixGlow 2s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 6px rgba(82, 223, 255, 0.8));
}

@keyframes svgMatrixGlow {
  from {
    filter: drop-shadow(0 0 4px rgba(82, 223, 255, 0.6));
  }
  to {
    filter: drop-shadow(0 0 10px rgba(82, 223, 255, 1));
  }
}

/* Волновая анимация с задержками */
.matrix-wave-1 {
  animation-delay: 0s;
}
.matrix-wave-2 {
  animation-delay: 0.1s;
}
.matrix-wave-3 {
  animation-delay: 0.2s;
}
.matrix-wave-4 {
  animation-delay: 0.3s;
}
.matrix-wave-5 {
  animation-delay: 0.4s;
}
.matrix-wave-6 {
  animation-delay: 0.5s;
}
.matrix-wave-7 {
  animation-delay: 0.6s;
}
.matrix-wave-8 {
  animation-delay: 0.7s;
}

/* Специальные эффекты для центральных элементов */
.matrix-center-element {
  animation: centerElementSpecial 1s ease-out;
}

@keyframes centerElementSpecial {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

/* Показ спойлеров */
.spollers__body.show {
  grid-template-rows: 1fr;
}
.spollers__wrapper {
  overflow: hidden;
}
.spollers__body {
  line-height: 130%;
  box-shadow: 0 11px 23px 0 #e3e8fc;
  border-radius: 1.375rem;
  background-color: var(--whiteColor);
  color: var(--mainColor);
  transition: all 0.3s ease-in-out;
  position: relative;
}
.spollers__body.show {
  border: 1px solid var(--whiteColor);
  margin-top: 0.5rem;
}
.dark .spollers__body {
  box-shadow: none;
  background-color: var(--darkColor);
  color: var(--whiteColor);
}
@media (min-width: 47.9988em) {
  .spollers__body {
    font-size: 1.25rem;
  }
  .spollers__body.show {
    padding: 2.5rem 1.875rem;
    margin-top: 1.5rem;
  }
}
@media (min-width: 61.9988em) {
  .spollers__body.show {
    padding: 3.375rem 5.125rem 1.75rem 5.125rem;
  }
}
@media (max-width: 61.9988em) {
  .spollers__body.show {
    padding: 2rem;
  }
}
/* Показ popup */
.popup_show {
  visibility: visible;
  opacity: 1;
}

.popup_show .popup__content {
  transform: scale(1);
}

.chakra-physics,
.chakra-energy {
  margin-bottom: 2rem;
}
