.slider-container {
    position: relative;
    width: 100%;
    margin: 1.5rem 0;
}

.slider {
    position: relative;
    width: 100%;
    height: 1rem;
    background-color: var(--violet);
    margin-top: 10px;
    border-radius: .5rem;
}

.slider-dot {
    position: absolute;
    background-color: #fff;
    border: 5px solid #fff;
    cursor: pointer;
    transition: background-color 0.3s;
    transform: translate(-25%, -60%);
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    background: #fff;
    -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, .5);
}

.slider-dot:hover {
    background-color: var(--violet);
}

.slider-dot.active {
    background-color: var(--violet);
}

.slider-label {
    position: absolute;
    top: -2rem;
    transform: translateX(-30%);
    font-size: 1rem;
    font-weight: 400;
}


.calculator {
    background-color: var(--pink);
    padding: 10rem 0;
}

.calculator__title {
    text-align: center;
    text-wrap: balance;
    margin-bottom: 3.2rem;
}

.calculator__title em {
    color: var(--violet);
    font-weight: 600;
}

.calculator__box {
    display: flex;
    align-items: center;
    gap: 11.2rem;
    background-color: #fff;
    padding: 5rem 4rem;
    border-radius: .5rem;
}

.calculator__left {
    width: 43.8rem;
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
    gap: 2rem;
    flex-direction: column;

}

.calc__description {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.calc__description em {
    color: var(--violet);
}

.calculator__results__inner {
    padding: 3rem 3.5rem;
    background-color: #E7EEFD;
    border-radius: .5rem;
    margin-bottom: 2.2rem;
}

.tarif__name {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.4rem;
    font-weight: 600;
    text-align: center;
    font-style: italic;
    color: var(--violet);
}

.calculator__indiv .tarif__name {
    margin-bottom: 4.8rem;

}

.tarif__description {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 1.8rem;
}

.tarif__items {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 2.6rem;
}

.tarif__item {
    background-color: #fff;
    border: 1px solid var(--violet);
    border-radius: .5rem;
    padding: .8rem 1.5rem;
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--violet);
    text-align: center;
    flex-grow: 1;

    position: relative;
}

.tarif__item .main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.tarif__item .sale {
    position: absolute;
    bottom: -.5rem;
    right: -0.5rem;
    background-color: var(--violet);
    border-radius: 2px;
    padding: 5px 7px;
    color: #fff;
    font-size: 1rem;
}

.tarif__item .old {
    text-decoration: line-through;
    font-size: 1rem;
}

.calculator__free.hidden,
.calculator__indiv.hidden {
    display: none;
}

.calc__question .custom-checkbox {
    font-size: 1.2rem;
}

.calc__question .custom-checkbox>span {
    align-items: center;
}

#tarif-mounth::before {
    content: 'Цена за месяц';
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 500;
    position: absolute;
    top: -2rem;
    left: 0;
    color: #000;
    text-wrap: nowrap;
}

#tarif-half::before {
    content: 'Цена за полгода';
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 500;
    position: absolute;
    top: -2rem;
    left: 0;
    color: #000;
    text-wrap: nowrap;
}

#tarif-year::before {
    content: 'Цена за год';
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 500;
    position: absolute;
    top: -2rem;
    left: 0;
    color: #000;
    text-wrap: nowrap;
}

.tarif__text {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}


@media (max-width: 640px) {

    .calculator {
        padding: 5rem 0;
    }


    .calculator__box {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 2rem;
        background-color: #fff;
        padding: 3rem 2rem;
        border-radius: .5rem;
    }

    .calculator__left {
        width: 100%;
        flex-shrink: 0;
        display: flex;
        align-items: stretch;
        gap: 2rem;
        flex-direction: column;

    }

    .calc__description {
        margin-bottom: 2rem;
        font-size: 1.2rem;

    }

    .calc__description em {
        color: var(--violet);
    }

    .calculator__results__inner {
        padding: 3rem 1rem 2rem;
        background-color: #E7EEFD;
        border-radius: .5rem;
        margin-bottom: 2.2rem;
    }

    .tarif__name {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.4rem;
        font-weight: 600;
        text-align: center;
        font-style: italic;
        color: var(--violet);
    }

    .calculator__indiv .tarif__name {
        margin-bottom: 4.8rem;
        display: none;

    }

    .tarif__description {
        text-align: center;
        font-size: 1.6rem;
        font-weight: 500;
        margin-bottom: 1.8rem;
    }

    .tarif__items {
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        /* flex-direction: column; */
        gap: 1rem;
    }

    .tarif__item {
        background-color: #fff;
        border: 1px solid var(--violet);
        border-radius: .5rem;
        padding: .8rem .5rem;
        font-weight: 600;
        font-size: 1.2rem;
        color: var(--violet);
        text-align: center;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .tarif__item .old {
        text-decoration: line-through;
        font-size: 1rem;
    }

    .calculator__free.hidden,
    .calculator__indiv.hidden {
        display: none;
    }

    .calc__question .custom-checkbox {
        font-size: 1rem;
    }

    .calc__question .custom-checkbox>span {
        align-items: center;
    }

    #tarif-mounth::before {
        content: 'Цена за месяц';
        font-size: 1rem;
        line-height: 1.2;
        font-weight: 500;
        position: absolute;
        top: -1.5rem;
        left: 0;
        color: #000
    }

    #tarif-half::before {
        content: 'Цена за полгода';
        font-size: 1rem;
        line-height: 1.2;
        font-weight: 500;
        position: absolute;
        top: -1.5rem;
        left: 0;
        color: #000
    }

    #tarif-year::before {
        content: 'Цена за год';
        font-size: 1rem;
        line-height: 1.2;
        font-weight: 500;
        position: absolute;
        top: -1.5rem;
        left: 0;
        color: #000
    }

    .tarif__text {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .slider-dot:nth-child(2n) .slider-label {
        bottom: -2rem;
        top: auto;
    }

    .slider-dot {
        height: 1.4rem;
        width: 1.4rem;
        transform: translate(-25%, -80%);
    }

    .calculator__results .main-btn {
        width: 100%;
    }

    .calculator__results {
        width: 100%
    }

    .calc__title {
        font-size: 1.3rem;
    }

    .slider-container {
        margin: 1rem 0;
    }

    .tarif__item .sale {
        bottom: -0.7rem;
        padding: 3px 5px;
        font-size: .8rem;
    }
}

.main-screen__full .main-screen__box {
    width: 100%;
}

.main-screen__description {
    max-width: 100%;
    text-wrap: balance;
}

.success__btns {
    display: flex;
    align-items: end;
    gap: 2.6rem;
}

.succees__span {
    font-size: 1.4rem;
    font-weight: 400;
    display: block;
    margin-bottom: .7rem;
}

.success__copy {
    padding: 1.2rem 2.5rem 1.2rem 2.5rem;
    background-color: var(--violet);
    border-radius: 5px;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 500;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.success__copy svg {
    width: 2rem;
    height: 2rem;
    transition: all .2s linear;
}

.copy__btn {
    position: relative;
}

.hidden-text {
    position: absolute;
    font-size: 1rem;
    line-height: 1.2;
    padding: .5rem .8rem;
    top: -110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--light-pink);
    transition: all .2s linear;

}

.modal__platform__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form__input {
    background-color: #fff;
    border-radius: .5rem;
    padding: 1.5rem 2.5rem;
    font-size: 1.4rem;
    font-weight: 400;
    color: #3a3938;
    width: 100%;
}

.form__input::placeholder {
    opacity: 0.8;
}

.input__label {
    font-size: 1.1rem;
    font-weight: 400;
    color: #3a3938;
    margin-bottom: .7rem;
    display: inline-flex;
}

.modal__platform__send .custom-checkbox {
    font-size: 1.4rem;
}

.modal__platform__send .custom-checkbox::before {
    border-radius: 50%;
}

.modal__platform__send .main-btn {
    margin-top: 2.5rem;
}

.copy__form__link.success__copy {
    background-color: #efefef;
    color: var(--black);
}

.copy__form__link .copy__text {
    font-size: 1.2rem;
}

.input__label.tooltip {
    justify-content: start;
    text-align: left;
    font-style: normal;
    margin-top: 0;
}

.input__wrapper--ref {
    grid-column: 1 / span 2;
}

.input__label .tooltiptext {
    width: 15rem;
    position: right;
    transform: translate(7.5rem);
}

.error-text {
    color: red;
    font-size: 1rem;
}

.modal-form__loader {
    color: var(--violet);
    font-size: 4.5rem;
    text-indent: -9999em;
    overflow: hidden;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    transform: translateZ(0);
    animation: mltShdSpin 1.7s infinite ease, round 1.7s infinite ease;
}

@keyframes mltShdSpin {
    0% {
        box-shadow: 0 -0.83em 0 -0.4em,
            0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
            0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    5%,
    95% {
        box-shadow: 0 -0.83em 0 -0.4em,
            0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
            0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    10%,
    59% {
        box-shadow: 0 -0.83em 0 -0.4em,
            -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em,
            -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
    }

    20% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em,
            -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em,
            -0.749em -0.34em 0 -0.477em;
    }

    38% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em,
            -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em,
            -0.82em -0.09em 0 -0.477em;
    }

    100% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em,
            0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
}

@keyframes round {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.modal-loader__from {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.modal-loader__from .modal__description {
    position: relative;
    margin-bottom: 0;
}

.modal__phrase {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    transition: all .5s linear;
}

.modal__phrase.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    position: relative;
}

.platform-made {
    width: 30rem;
    background-color: #71BC78;
    padding: 1rem 1.5rem;
    position: fixed;
    font-size: 1.4rem;
    color: #fff;
    bottom: 2rem;
    right: 2rem;
    border-radius: 1.5rem;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    transition: all .2s linear;
}

.platform-made.open {
    opacity: 1;
    visibility: visible;
    z-index: 9999;
}

.modal__platform__sms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.modal__platform__sms.hidden {
    display: none;
}

.modal__platform__sms__text em {
    font-weight: 600;
    color: var(--violet);
}

#send-sms.hidden {
    display: none;
}

.process__description .modal__phrase {
    text-align: left;
    font-size: 1.2rem;
}

.process__description {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 4.5rem;
}

.progressbar {
    position: relative;
    max-width: 30rem;
    width: 100%;
    border-radius: 10rem;
    margin: 0 0 2rem 0;
    height: 2rem;
    background: var(--gray);
    overflow: hidden;
}

span.progress {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--violet);
    transition: all .3s;
    border-radius: 10rem;

}

.progress-counter {
    opacity: 0;
    visibility: hidden;
    font-size: 1px;
}

.process__text,
.made__text {
    transition: all .5s linear;
}

@media (max-width:640px) {
    .success__btns {
        align-items: stretch;
        gap: 1.5rem;
        flex-direction: column;
        text-align: center;
        margin-top: 2rem;
        margin-bottom: 4rem;
    }

    .input__wrapper--ref {
        grid-column: 1 / span 1;
    }

    .modal__platform__inner {
        grid-template-columns: repeat(1, 1fr);
    }

    .modal__content {
        background-color: var(--bg);
    }

    .modal__platform__sms {
        grid-template-columns: repeat(1, 1fr);
    }

    .progressbar {
        margin: 0 auto 2rem auto;
    }

    .process__description {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 3.5rem;
    }

    .success__block a {
        width: 100%;
    }

    .process__description .modal__phrase {
        text-align: center;
    }
}

.main-btn:disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}


.cta {
    padding: 9rem 0;
    background-color: #F0F3FB;
}

.cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta__title {
    margin-bottom: 6rem;
    text-align: center;
    text-wrap: balance;

}

.cta__title em {
    color: var(--violet);
    font-weight: 600;
}

.cta__text {
    font-size: 3.2rem;
    line-height: 1;
    margin-bottom: 2rem;
    text-align: center;
    text-wrap: balance;
}

.cta__text em {
    color: var(--violet);
    font-weight: 600;
}

.cta__btn {
    width: 38rem;
    text-align: center;
    font-size: 2.4rem;
}

.cta-tab__nav {
    display: none;
}

.cta__tabs {
    margin-bottom: 9rem;
}

.cta__tabs .inner-tabs__title {
    font-weight: 600;
    color: var(--violet);
    font-style: italic;
    margin-bottom: 1.6rem;
}

.cta__tabs .inner-tabs__img {
    width: 48.5rem;
    height: 48.5rem;
    margin-top: -3rem;
}

.cta__subtitle {
    font-size: 2.8rem;
    line-height: 1;
    font-weight: 500;
    align-self: flex-start;
    padding-left: 5rem;
    margin-bottom: -6rem;
}

@media (max-width: 640px) {
    .cta {
        padding: 4rem 0;
    }


    .cta__title {
        margin-bottom: 4rem;

    }


    .cta__text {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }


    .cta__btn {
        width: 100%;
        font-size: 1.6rem;
    }


    .cta__tabs {
        margin-bottom: 6rem;
    }

    .cta__tabs .inner-tabs__title {
        margin-bottom: 1.6rem;
    }

    .cta__tabs .inner-tabs__img {
        width: 100%;
        height: 100%;
        margin-top: 2rem;
    }

    .cta__subtitle {
        font-size: 2rem;

        padding-left: 0;
        margin-bottom: 0;
    }

    .cta__tabs .inner-tabs__content {
        height: 35rem;
    }
}

/* Consult  */
.cta__consult {
    background-color: #F0F3FB;
    padding: 10rem 0;
}

.cta__consult__inner {
    padding: 0 9rem;
}

.cta__consult__title {
    margin-bottom: 10rem;
    text-align: center;
    text-wrap: balance;
}

.cta__consult__title em {
    font-weight: 600;
    color: var(--violet)
}

.cta__consult__blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    position: relative;
}

.cta__consult__blocks::before {
    height: 100%;
    width: .4rem;
    background-color: var(--violet);
    left: 50%;
    position: absolute;
    display: block;
    content: '';
    top: 0;
}

.cta__consult__blocks::after {
    background-color: #fff;
    position: absolute;
    content: 'или';
    display: block;
    padding: .5rem 2.8rem;
    color: var(--violet);
    font-size: 2.4rem;
    line-height: 2;
    font-weight: 500;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
}

.cta__consult__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4.7rem;
}

.cta__consult__img {
    width: 35rem;
    height: 25rem;
    overflow: hidden;
}

.cta__consult__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cta__consult__box {
    background-color: #fff;
    border-radius: 2.3rem;
    padding: 4rem 3.5rem;

}

.cta__consult__text {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-wrap: balance;
    color: #34495E;
    line-height: 2.6rem;
}

.cta__consult__btn {
    margin: 0 auto;
}

@media (max-width: 640px) {
    .cta__consult {
        padding: 3rem 0;
    }

    .cta__consult__inner {
        padding: 0;
    }

    .cta__consult__title {
        margin-bottom: 2rem;
    }

    .cta__consult__blocks {
        grid-template-columns: repeat(1, 1fr);
        gap: 8rem;
    }

    .cta__consult__blocks::before {
        height: 8rem;
        width: .4rem;
        background-color: var(--violet);
        left: 50%;
        position: absolute;
        display: block;
        content: '';
        top: 50%;
        transform: translateY(-30%);
    }

    .cta__consult__blocks::after {
        background-color: #fff;
        position: absolute;
        content: 'или';
        display: block;
        padding: .5rem 1.8rem;
        color: var(--violet);
        font-size: 1.2rem;
        line-height: 2;
        font-weight: 500;
        top: 50%;
        left: 50%;
        transform: translateX(-50%);
    }

    .cta__consult__block {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .cta__consult__img {
        width: 25rem;
        height: 20rem;
        overflow: hidden;
    }

    .cta__consult__img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .cta__consult__box {
        background-color: #fff;
        border-radius: 2.3rem;
        padding: 2rem 1.5rem;

    }

    .cta__consult__text {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        text-align: center;
        text-wrap: balance;
        color: #34495E;
        line-height: 1.2;
    }

    .cta__consult__btn {
        margin: 0 auto;
    }
}


/* Functions  */
.functions {
    background-color: var(--pink);
    padding: 10rem 0;
    overflow: hidden;
}

.functions__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}


.functions__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background-color: #fff;
    border-radius: 2rem;
    padding: 2rem 2rem;
}

.functions__icon {
    width: 6rem;
    height: 6rem;
}

.functions__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.functions__text {
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 500;
    color: #34495E;
    text-align: center;
}

.functions__item__img {
    grid-area: 2/2/2/5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.functions__item__img img {
    width: 40rem;
    height: 11.5rem;
}

.functions__list--mobile {
    display: none;
}

.platform__description em {
    font-weight: 700;
    color: var(--violet);
}

.platform__description_2 {
    margin-top: 7rem;
    margin-left: auto;
    margin-right: auto;
}

.functions__btn {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 640px) {
    .functions {
        padding: 5rem 0;

    }

    .functions__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .functions__item {
        gap: 1rem;
        border-radius: 1rem;
        padding: 1.6rem .9rem;
    }

    .functions__icon {
        width: 4rem;
        height: 4rem;
    }


    .functions__text {
        font-size: .8rem;
    }

    .functions__list--desctop {
        display: none;
    }

    .functions__list--mobile {
        display: flex;
    }

    .functions-swiper {
        overflow: visible;
    }

    .functions .swiper-pagination {
        bottom: -2rem;
    }


    .functions__text {
        font-size: .8rem;
    }

    .platform__description_2 {
        margin-top: 4rem;
    }

}


/* Free  */
.free {
    padding: 10rem 0;
    background-color: #F0F3FB;
}

.free__inner {
    padding: 0 9rem;
}

.free__title {
    margin-bottom: 5rem;
    text-align: center;
}

.free__title em {
    font-weight: 600;
    color: var(--violet)
}

.free__blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4.2rem;
    margin-bottom: 5rem;
}

.free__block {
    background-color: #fff;
    border-radius: 2rem;
    color: #34495E;
    font-size: 1.8rem;
    line-height: 1.5;
    font-weight: 500;
    padding: 3.8rem 2rem;
    text-align: center;
    text-wrap: balance;
    display: flex;
    align-items: center;
    justify-content: center;
}

.free__btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
}

@media (max-width: 640px) {
    .free {
        padding: 5rem 0;
    }

    .free__inner {
        padding: 0;
    }

    .free__title {
        margin-bottom: 3rem;
        text-align: center;
    }


    .free__blocks {
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .free__block {
        font-size: 1.4rem;
        padding: 2rem 1.5rem;

    }

    .free__btns {
        gap: 2rem;
        flex-direction: column;
        align-items: stretch;
    }

    .free__btns .main-btn {
        width: 100%;
        text-align: center;
    }

}

.error-field {
    border: 1px solid red;
}


.form__input[disabled] {
    opacity: 0.6;
    background-color: lightgray;
    cursor: not-allowed;
}

.small-btn {
    padding: 1rem;
    font-size: 1.2rem;
}

.video-modal-span {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    line-height: 1.13;
    font-weight: 400;
    text-align: right;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: start;
    justify-content: end;
    gap: 1rem;
}

.video-modal-span::before {
    content: '';
    display: block;
    width: 5rem;
    height: 5rem;
    background-image: url(../img/new/cursive-arrow.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.main-screen__img--video {
    position: relative;
    display: block;
}

.main-screen__img--video::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../img/svg/play-btn.svg);
    background-size: 5rem;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    position: absolute;
    inset: 0;
    margin: auto;
    transition: all .2s ease-in-out;
}

#video-modal {
    padding: 0;
    min-height: 40rem;
}

#video-modal iframe {
    aspect-ratio: 16/9;
    max-width: 100%;
}

@media (hover: hover) {
    .main-screen__img--video:hover::before {
        transform: scale(1.1);
    }
}

@media (max-width: 640px) {
    .video-modal-span {
        margin-bottom: 1rem;
    }
}

.main-screen__advantages {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-top: 1rem;

}

.main-screen__advantage {
    font-size: 1.4rem;
    text-align: center;
}

.main-screen__tooltip .tooltip {
    font-size: 1.4rem;
}

@media (max-width: 640px) {
    .main-screen__advantage {
        font-size: 1rem;
    }
}

.calc__users__span {
    font-size: 1.4rem;
    margin-top: 3.5rem;
    text-wrap: balance;
}

.swiper-grid-column>.swiper-wrapper {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    grid-auto-flow: column;
    gap: 1rem;
}

.swiper-grid-column .swiper-slide {
    height: 100% !important;
    margin: 0 !important;

}

.swiper-grid-column .swiper-slide .functions__item {
    height: 100%;
}

@media (max-width: 640px) {
    .calc__users__span {
        font-size: 1rem;
        margin-top: 1.5rem;
    }
}

.swiper__btns {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 3rem;
    height: 3.3rem;
}

.swiper-button-prev,
.swiper-button-next {
    position: relative;
    width: 3.3rem;
    height: 3.3rem;
    background-color: var(--violet);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    top: 0;
    left: auto;
    right: auto;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    color: #fff;
    width: 1rem;
    height: 1rem;
    inset: 0;
    margin: auto;
    font-size: 1rem;
}

@media(hover: hover) {

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        opacity: .8;
    }
}

@media(hover: none) {

    .swiper-button-next:active,
    .swiper-button-prev:active {
        opacity: .8;
    }
}

.main:has(.audience) .functions {
    padding-top: 0;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    font-size: 2.4rem;
    color: #fff;
    background: var(--violet);
    padding: .5rem 1rem;
    border-radius: .5rem;
    cursor: pointer;
    z-index: 1000;
    transition: all .2s ease-in-out;
}

.back-to-top:hover {
    background: var(--pink);
    text-decoration: none;
}


/* Language Switcher */
.lang-switcher {
    position: relative;
    display: inline-block;
    z-index: 1000;
}

.lang-switcher__current {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 8rem;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.lang-switcher__current:hover {
    border-color: var(--violet);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-switcher__current.active {
    border-color: var(--violet);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-flag {
    width: 2rem;
    height: 1.5rem;
    border-radius: 0.2rem;
    object-fit: cover;
}

.lang-code {
    font-size: 1.2rem;
    font-weight: 500;
    color: #2B2D3E;
}

.lang-arrow {
    transition: transform 0.2s ease;
    color: #666;
    width: .8rem;
    height: .5rem;
}

.lang-switcher__current.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-switcher__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
}

.lang-switcher__dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background-color: #f8f9fa;
}

.lang-option.active {
    background-color: var(--pink);
}

@media (max-width: 640px) {
    .lang-switcher__current {
        padding: 0.4rem 0.6rem;
        min-width: 4rem;
    }

    .lang-flag {
        width: 1.2rem;
        height: 0.9rem;
    }

    .lang-code {
        font-size: 0.8rem;
    }

    .lang-option {
        padding: 0.6rem 0.8rem;
        min-height: 2.5rem;
    }

    .header__logo {
        width: 10.4rem;
    }

    .header__phone {
        font-size: 1.3rem;
    }
}

/* Geo  */
.geography {
    padding: 10rem 0;
    background-color: #F4EAFD;
}

.geography__title {
    margin-bottom: 6rem;
    text-align: center;
}

.geography__text {
    font-size: 1.8rem;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 1.8rem;
    text-align: center;
    color: #34495E;
}

.geography__text p {
    line-height: 1.5;
}

.geography__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 4.4rem;
}

.geography__left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 2rem;
    padding: 2rem;
}

.geography__img {
    border-radius: 2rem;
    overflow: hidden;
    min-height: 22.3rem;
}

.geography__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media (max-width: 640px) {
    .geography {
        padding: 5rem 0;
    }

    .geography__title {
        margin-bottom: 2rem;
    }

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

    .geography__left {
        padding: 3rem;
        order: 1;
    }

    .geography__text {
        font-size: 1.6rem;
        margin-bottom: 1.8rem;
    }

    .geography__img {
        min-height: 18.6rem;
        order: 0;
    }
}

.header__mobile .sub-menu {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.header__mobile .menu-item-has-children.active .sub-menu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}


.header__mobile .menu-item-has-children .dropdown-arrow {
    transition: transform 0.3s ease;
}

.header__mobile .menu-item-has-children.active .dropdown-arrow {
    transform: rotate(180deg);
}

.header__mobile .menu-item-has-children>a.header__link::after {
    content: '';
}

.header__mobile .menu-item-has-children.active>a.header__link::after {
    transform: rotate(180deg);
}