html, body {
    height: 100%;
    overflow: hidden;
    @media (max-width: 768px) {
        overflow: auto;
    }
}

.container {
    max-width: 1800px;
    padding: 0 3vw;
    width: 100%;
    margin: 0 auto;
}

.wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    @media (max-width: 768px) {
        overflow: auto;
    }
}

.step-1 {
    background-image: url("../image/main_page.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.step-2 {
    background-color: #ffffff;
}

.header {
    display: flex;
    justify-content: space-between;
    gap: 1vh;
    align-items: center;
    padding-top: 2vh;
    padding-bottom: 2vh;
    flex: 0 0 auto;
}

.header_menu-list {
    display: flex;
    align-items: center;
    gap: 2vw;
}

/* WHITE */
.header_menu-item {
    border-bottom: 1px solid transparent;
    padding-bottom: 0.8vh;
    transition: 0.3s;
}

.header_menu-item:hover {
    border-color: #ffffff;
}

.header_menu-link {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 1.8vh;
    line-height: 125%;
    text-align: right;
    color: #fff;
    transition: 0.3s;
}

/* WHITE */
/* DARK */
.header.dark .header_menu-item:hover {
    border-color: #0b85ff;
}

.header.dark .header_menu-link {
    color: #000000;
}

.header.dark .header_menu-item:hover .header_menu-link {
    color: #0b85ff;
}

.header.dark .header_phone {
    color: #0b85ff;
}

/* DARK */

.header_logo {
    padding-bottom: 0.8vh;
    @media (max-width: 768px) {
        max-width: 140px;
        padding-bottom: 0;
    }
}

.header.white .dark {
    display: none;
}

.header.dark .white {
    display: none;
}

.header_phone {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 2.4vh;
    line-height: 130%;
    text-align: right;
    color: #fff;
    @media (max-width: 768px) {
        font-size: 1.4vh;
    }
}

.step-1-title {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 5vh;
    color: #f8f8f8;
    margin-bottom: 3vh;
    @media (max-width: 768px) {
        font-size: 32px;
    }
}

.step-1-subtitle {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 2.2vh;
    line-height: 120%;
    color: #f8f8f8;
    margin-bottom: 3vh;
    @media (max-width: 768px) {
        font-size: 16px;
    }
}

.blueBtn {
    background: #0b85ff;
    border-radius: 50px;
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 2vh;
    line-height: 120%;
    color: #fff;
    padding: 1.5vh 2.5vw;
}

.flexWrap {
    display: flex;
    flex-direction: column;
    gap: 2vh;
    padding-top: 2vh;
    flex: 1 1 auto;
    overflow: hidden;
    @media (max-width: 768px) {
        padding-top: 0;
        gap: 1vh;
        overflow: auto;
    }
}

.steps-1 {
    padding-top: 30vh;
    width: 100%;
    display: none;
    flex: 1 1 auto;

    @media (max-width: 768px) {
        padding-top: 45vh;
        text-align: center;
    }

    @media (max-width: 600px) {
        padding-top: 30vh;
    }
}

.steps-1.active {
    display: block;
    animation: slideUp 0.5s ease forwards;
}

.stepsWrapper-1 {
    max-width: 65vw;
    @media (max-width: 1000px) {
        max-width: none;
    }
}

.steps-2 {
    display: none;
    flex: 1 1 auto;
}
.steps-2 .stepBody {
    background-image: url("../image/step-2.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center 17vh;
    @media (max-width: 768px) {
        background-image: none;
    }
}
.steps-2-image{
    display: none;
    @media (max-width: 768px) {
        display: block;
    }
}
.steps-2.active {
    display: flex;
    animation: slideUp 0.5s ease forwards;
}

.steps-2 .textWrapper{
    max-width: 1245px;
}

.steps-3 {
    display: none;
    background-image: url("../image/step-3.png");
    background-repeat: no-repeat;
    background-size: 45vw;
    background-position: right 10vh;
    flex: 1 1 auto;
    @media (max-width: 768px) {
        background-position: bottom right;
        background-size: 90vw;
    }
}

.steps-3.active {
    display: flex;
    animation: slideUp 0.5s ease forwards;
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    @media (max-width: 768px) {
        flex-direction: column;
        gap: 10px;
    }
}

.title {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 4vh;
    line-height: 138%;
    color: #000;
    @media (max-width: 768px) {
        font-size: 3vh;
        text-align: center;
    }
}

.stepBody {
    display: flex;
    align-items: start;
    flex: 1 1 auto;
    overflow: hidden;
}

.textWrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
    @media (max-width: 768px) {
        gap: 0.5vh;
    }
}

.text {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 2.2vh;
    line-height: 130%;
    color: #373b42;
    @media (max-width: 768px) {
        font-size: 1.8vh;
    }
}

.textList {
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
    padding-left: 2vw;
    @media (max-width: 768px) {
        gap: 0.5vh;
    }
}

.textList-item {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 2.2vh;
    line-height: 130%;
    color: #373b42;
    list-style: none; /* Убираем стандартный маркер */
    position: relative;
    padding-left: 30px; /* Отступ для маркера */
    @media (max-width: 768px) {
        font-size: 1.8vh;
    }
}

.textList-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px; /* Ширина вашего изображения */
    height: 20px; /* Высота вашего изображения */
    background-image: url("../image/point.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 768px) {
    .textList-item {
        font-size: 1.8vh;
    }
}

.steps-3 .stepBody {
    max-width: 45vw;
    @media (max-width: 768px) {
        max-width: none;
    }
}

.bottomBlock {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1vh;
    padding-top: 2vh;
    padding-bottom: 2vh;
    flex: 0 0 auto;
}

.step-2 .bottomBlock {
    display: flex;
}

.bottomBlock-text {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 1.6vh;
    line-height: 120%;
    color: #a5a9b0;
}

.bottomBlockBtn {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 2vh;
    line-height: 120%;
    color: #373b42;
    border: 1px solid #0b85ff;
    border-radius: 500px;
    padding: 1.5vh 2vw;
    max-width: 300px;
    width: 100%;
}

.blueText {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 2.2vh;
    line-height: 171%;
    color: #0b85ff;
    @media (max-width: 768px) {
        font-size: 16px;
    }
}

.stepTextWrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
    @media (max-width: 768px) {
        gap: 0.5vh;
    }
}

.blueText span {
    font-size: 6vh;
    @media (max-width: 768px) {
        font-size: 3vh;
    }

}

.steps-4 .textWrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2vh;
    flex: 1;
}

.steps-4 {
    display: none;
    background-image: url("../image/step-4.png");
    background-repeat: no-repeat;
    background-size: 45vw;
    background-position: right 10vh;
    flex: 1 1 auto;
    @media (max-width: 768px) {
        background-position: bottom right;
        background-size: 90vw;
    }
}

.steps-4.active {
    display: flex;
    animation: slideUp 0.5s ease forwards;
}

.steps-4 .stepBody {
    max-width: 45vw;
    @media (max-width: 768px) {
        max-width: none;
    }
}

.steps-5 .stepBody {
    max-width: 45vw;
    @media (max-width: 768px) {
        max-width: none;
    }
}

.steps-5 {
    display: none;
    background-image: url("../image/step-5.png");
    background-repeat: no-repeat;
    background-size: 35vw;
    background-position: 62vw 15vh;
    flex: 1 1 auto;
    @media (max-width: 768px) {
        background-image: url("../image/step-5-768.png");
        background-position: bottom center;
        background-size: 90vw;
    }
}

.steps-5.active {
    display: flex;
    animation: slideUp 0.5s ease forwards;
}

.steps-5 .textWrapper {
    display: flex;
    flex-direction: column;
    gap: 2vh;
    flex: 1;
    justify-content: space-between;
}

.textFon {
    border: 1px solid #0b85ff;
    border-radius: 2vh;
    background: #f0f4f8;
    padding: 3vh;
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 2.2vh;
    line-height: 130%;
    color: #373b42;
    @media (max-width: 768px) {
        font-size: 1.7vh;
        padding: 10px;
    }
}

.textFon span {
    font-weight: 700;
    color: #0b85ff;
}

.steps-6 .stepBody {
    max-width: 45vw;
    @media (max-width: 768px) {
        max-width: none;
    }
}

.steps-6 .textWrapper {
    display: flex;
    flex-direction: column;
    gap: 2vh;
    flex: 1;
    justify-content: space-between;
}

.steps-6 {
    display: none;
    background-image: url("../image/step-6.png");
    background-repeat: no-repeat;
    background-size: 45vw;
    background-position: right 10vh;
    flex: 1 1 auto;
    @media (max-width: 768px) {
        background-position: bottom right;
        background-size: 60vw;
    }
}

.steps-6.active {
    display: flex;
    animation: slideUp 0.5s ease forwards;
}

.steps-7 .stepBody {
    max-width: 45vw;
    @media (max-width: 768px) {
        max-width: none;
    }
}

.steps-7 {
    display: none;
    background-image: url("../image/step-7.png");
    background-repeat: no-repeat;
    background-size: 40vw;
    background-position: right 10vh;
    flex: 1 1 auto;
    @media (max-width: 768px) {
        background-position: bottom right;
        background-size: 90vw;
    }
}

.steps-7.active {
    display: flex;
    animation: slideUp 0.5s ease forwards;
}

.steps-8 .stepBody {
    max-width: 45vw;
    @media (max-width: 768px) {
        max-width: none;
    }
}

.steps-8 {
    display: none;
    background-image: url("../image/step-8.png");
    background-repeat: no-repeat;
    background-size: 35vw;
    background-position: 62vw 15vh;
    flex: 1 1 auto;
    @media (max-width: 768px) {
        background-position: center 51vh;
        background-size: 85vw;
    }
}

.steps-8.active {
    display: flex;
    animation: slideUp 0.5s ease forwards;
}

.steps-8 .textWrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
    @media (max-width: 768px) {
       justify-content: space-between;
        height: 100%;
    }
}

.steps-9 .stepBody {
    max-width: 45vw;
    @media (max-width: 768px) {
        max-width: none;
    }
}

.steps-9 {
    display: none;
    background-image: url("../image/step-9.png");
    background-repeat: no-repeat;
    background-size: 35vw;
    background-position: 62vw 15vh;
    flex: 1 1 auto;
    @media (max-width: 768px) {
        background-position: bottom center;
        background-size: 80vw;
    }
}

.steps-9.active {
    display: flex;
    animation: slideUp 0.5s ease forwards;
}

.steps-10 .stepBody {
    max-width: 45vw;
    @media (max-width: 768px) {
        max-width: none;
    }
}

.steps-10 {
    position: relative;
    display: none;
    flex: 1 1 auto;
    @media (max-width: 768px) {
    }
}

.steps-10 .stepBody {
    display: flex;
    gap: 3vw;
    align-items: flex-start;
}

.terminalWrapper {
    position: absolute;
    top: 15vh;
    right: 3vw;
    max-width: 600px;
    width: 100%;
    max-height: 600px;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.terminal {
    width: 100%;
    max-width: 640px;
    border-radius: 16px;
    background: #061b3a;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: "Ubuntu Mono", monospace;
    color: #f5f8ff;
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8vh 1.5vw;
    background: linear-gradient(90deg, #0b1f4d, #082044);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot--red {
    background: #ff5f57;
}

.terminal-dot--yellow {
    background: #ffbd2e;
}

.terminal-dot--green {
    background: #28c840;
}

.terminal-title {
    font-size: 1.5vh;
    color: rgba(255, 255, 255, 0.75);
}

.terminal-body {
    position: relative;
    padding: 2vh 1.5vw 2.5vh;
    background: radial-gradient(circle at top left, #163b82 0, #020c21 55%, #010717 100%);
    min-height: 28vh;
}

.terminal-text {
    margin: 0;
    font-size: 1.7vh;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.terminal-caret {
    display: inline-block;
    width: 0.65ch;
    height: 1.1em;
    margin-left: 2px;
    background: #31ff7a;
    vertical-align: text-bottom;
    animation: terminalCaretBlink 1s steps(1) infinite;
}

@keyframes terminalCaretBlink {
    0%, 50% {
        opacity: 1;
    }
    50.01%, 100% {
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .steps-10 .stepBody {
        flex-direction: column;
        position: static;
    }

    .terminalWrapper {
        position: static;
        width: 100%;
        max-width: 640px;
        margin-top: 2vh;
    }
}

.steps-10.active {
    display: flex;
    animation: slideUp 0.5s ease forwards;
}

.steps-11 {
    display: none;
    flex: 1 1 auto;
}

.steps-11.active {
    display: flex;
    animation: slideUp 0.5s ease forwards;
}

.steps-11 .stepBody {
    display: flex;
    align-items: stretch;
    gap: 2vw;
    @media (max-width: 900px) {
        flex-direction: column;
    }
}

.priceItem {
    border: 1px solid #d7d7d7;
    border-radius: 2vh;
    padding: 2.5vh 2vw;
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
    width: 100%;
}

.priceItem.dark {
    border: 1px solid #0b85ff;
    background: #f0f4f8;
}

.priceItem-title {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 2.8vh;
    line-height: 113%;
    color: #0b85ff;
    flex-shrink: 0;
}

.priceItem-subtitle {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 1.8vh;
    line-height: 120%;
    color: #373b42;
    @media (max-width: 768px) {
        text-align: right;
    }
    @media (max-width: 600px) {
        text-align: left;
    }
}

.priceItem-listTitle {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 1.6vh;
    line-height: 110%;
    color: #373b42;
}

.priceItem-list {
    display: flex;
    flex-direction: column;
    gap: 0.8vh;
    padding-left: 1.5vw;
    @media (max-width: 900px) {
        flex-direction: row;
        justify-content: space-between;
        max-width: 600px;
        padding-left: 30px;
    }
    @media (max-width: 600px) {
        flex-direction: column;
        justify-content: space-between;
        max-width: none;
    }
}
.listWrapperGroup {
    display: flex;
    flex-direction: column;
    gap: 0.8vh;
    padding-left: 1.5vw;
}

.priceItem-listItem {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 1.6vh;
    line-height: 130%;
    color: #373b42;
    list-style: url("../image/check.png");
}

.priceItem-price {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 2vh;
    line-height: 100%;
    color: #000;
}

.priceItem-price span {
    font-weight: 700;
    font-size: 2.5vh;
    line-height: 113%;
    color: #0b85ff;
}

.priceItem-info {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 1.6vh;
    line-height: 125%;
    color: #373b42;
}

.priceItem-btn {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 1.8vh;
    line-height: 120%;
    color: #fff;
    padding: 1.5vh 1.5vw;
    border-radius: 500px;
    width: 100%;
    background: #0e0e0e;
}

.titleWrapper {
    display: flex;
    flex-direction: column;
    gap: 1vh;
    @media (max-width: 768px) {
        flex-direction: row;
    }
    @media (max-width: 600px) {
        flex-direction: column;
    }
}

.listWrapper {
    display: flex;
    flex-direction: column;
    gap: 0.8vh;
}

.priceWrapper {
    display: flex;
    flex-direction: column;
    gap: 1vh;
}

.priceItem .listWrapper {
    margin-bottom: auto;
}


.steps-12 {
    display: none;
    background-image: url("../image/step-12.png");
    background-repeat: no-repeat;
    background-size: 30vw;
    background-position: 65vw 15vh;
    flex: 1 1 auto;
    @media (max-width: 768px) {
        background-position: bottom center;
        background-size: 20vh;
    }
}

.steps-12.active {
    display: flex;
    animation: slideUp 0.5s ease forwards;
}

.textTitle {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 2.8vh;
    line-height: 113%;
    color: #0b85ff;
    display: flex;
    align-items: center;
    gap: 1vh;
    @media (max-width: 768px) {
        font-size: 2vh;
    }
}

.textTitle img {
    height: 2vh;
}

.steps-12 .stepBody {
    flex-direction: column;
    display: flex;
    max-width: 55vw;
    gap: 2.5vh;
    @media (max-width: 768px) {
        max-width: none;
        gap: 1vh;
    }
}
.steps-12 .text{
    font-size: 1.5vh;
}
.listing {
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
    padding-left: 20px;
    @media (max-width: 768px) {
        max-width: none;
        gap: 1vh;
    }
}

.listingItem {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 2vh;
    line-height: 130%;
    color: #373b42;
    list-style: decimal;
    @media (max-width: 768px) {
        font-size: 1.5vh;
    }
}

.steps-13 .stepBody {
    flex-direction: column;
    display: flex;
    max-width: 55vw;
    gap: 2.5vh;
    @media (max-width: 768px) {
        max-width: none;
        gap: 1.5vh;
    }
}

.steps-13 {
    display: none;
    background-image: url("../image/step-13.png");
    background-repeat: no-repeat;
    background-size: 30vw;
    background-position: 65vw 15vh;
    flex: 1 1 auto;
    @media (max-width: 768px) {
        background-position: bottom center;
        background-size: 25vh;
    }
}

.steps-13 .text{
    font-size: 1.5vh;
}

.steps-13.active {
    display: flex;
    animation: slideUp 0.5s ease forwards;
}

.step-3 {
    background-image: url("../image/lastStep.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.footer {
    flex: 0 0 auto;
    display: none;
    flex-direction: column;
    gap: 1.5vh;
    padding-bottom: 2vh;
}

.step-3 .footer {
    display: flex;
}

.footerTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1vh;
    @media (max-width: 768px) {
        flex-direction: column;
        align-items: start;
    }
}

.footerTop-text {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 1.4vh;
    line-height: 133%;
    color: rgba(255, 255, 255, 0.4);
    @media (max-width: 768px) {
        font-size: 10px;
    }
}

.footerPhone {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 2vh;
    line-height: 130%;
    text-align: right;
    color: #0b85ff;
}

.footerBot {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 1.4vh;
    line-height: 133%;
    color: rgba(255, 255, 255, 0.4);
    @media (max-width: 768px) {
        font-size: 10px;
    }
}

.steps-14 {
    max-width: 80vw;
    display: none;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    gap: 4vh;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 2vh 3vw;
    @media (max-width: 768px) {
        justify-content: end;
        gap: 2vh;
        max-width: none;
    }
}

.steps-14.active {
    display: flex;
    animation: slideUp 0.5s ease forwards;
}

.lastTitle {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 5vh;
    text-align: center;
    color: #f8f8f8;
    @media (max-width: 768px) {
        font-size: 32px;
    }
}

.lastTitle span {
    color: #0b85ff;
}

.steps-14 .blueBtn {
    max-width: 35vw;
    width: 100%;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 11, 23);
}

.popup__content {
    position: relative;
    background: transparent;
    max-width: 500px;
    width: 100%;
    padding: 4vh 2vw;
    transform: translateY(-2vh);
    transition: transform 0.3s;
}

.popup.active .popup__content {
    transform: translateY(0);
}

.popup__close {
    position: absolute;
    top: 0;
    right: -3vw;
    width: 4vh;
    height: 4vh;
    background: transparent;
    border: none;
    font-size: 4vh;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s;
}

.popup__close:hover {
    opacity: 0.7;
}

.popup__title {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 3vh;
    line-height: 130%;
    color: #fff;
    text-align: center;
    margin-bottom: 3vh;
}

.popup__form {
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
}

.popup__field {
    display: flex;
    flex-direction: column;
    gap: 0.6vh;
}

.popup__label {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 1.6vh;
    line-height: 130%;
    color: #b9bdc4;
}

.popup__input {
    background: transparent;
    border: 1px solid #b9bdc4;
    border-radius: 0.8vh;
    padding: 1.5vh 1vw;
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 1.8vh;
    line-height: 125%;
    color: #fff;
    outline: none;
    transition: border-color 0.3s;
}

.popup__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.popup__input:focus {
    border-color: #3d9eff;
}

.popup__submit {
    background: #0b85ff;
    border-radius: 50px;
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 2vh;
    line-height: 120%;
    color: #fff;
    padding: 1.5vh 2.5vw;
    margin-top: 1vh;
    cursor: pointer;
    transition: background 0.3s;
}

.popup__submit:hover {
    background: #0a75e0;
}

.popup__privacy {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 1.4vh;
    text-align: center;
    color: #b9bdc4;
    margin-top: 1vh;
}

.popup__privacy a {
    color: #0b85ff;
    text-decoration: underline;
}

.popup__privacy a:hover {
    text-decoration: none;
}

.popup__success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4vh;
}

.popup__success.active {
    display: flex;
}

.popup__success-icon {
    width: 8vh;
    height: 8vh;
    border-radius: 50%;
    background: #0b85ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4vh;
    color: #fff;
    margin-bottom: 3vh;
}

.popup__success-title {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 3vh;
    color: #fff;
    margin-bottom: 1.5vh;
}

.popup__success-text {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 2vh;
    line-height: 150%;
    color: rgba(255, 255, 255, 0.7);
}

.popup__form.hidden {
    display: none;
}

.popup__title.hidden {
    display: none;
}

.popup__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Step animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10vh);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10vh);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-down {
    animation: slideDown 0.5s ease forwards !important;
}

/* Transition for wrapper background */
.wrapper {
    transition: background-image 0.5s ease;
}

/* Header transition */
.header {
    transition: 0.3s;
}

/* Hide bottomBlock on step-3 */
.step-3 .bottomBlock {
    display: none;
}

/* ========== Мобильное меню (≤1024px) ========== */
.header_burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid #0b85ff;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}
.white .header_burger{
    border: 1px solid rgba(255, 255, 255, 0.9);
}
.header_burger:hover {
    opacity: 0.8;
}
.header_burger-line{
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background: #0b85ff;
}
.white .header_burger-line {
    background: #fff;
}
@media (max-width: 1100px) {
    .header_menu {
        display: none !important;
    }

    .header_burger {
        display: flex;
    }
}

/* Оверлей мобильного меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 900;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.mobile-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1C1A3F;
}

.mobile-menu__panel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2vh 3vw;
    box-sizing: border-box;
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 auto;
    padding-bottom: 3vh;
}

.mobile-menu__logo {
    display: block;
}

.mobile-menu__logo img {
    max-width: 120px;
    display: block;
}

.mobile-menu__phone {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 1.6vh;
    line-height: 130%;
    color: #fff;
    text-decoration: none;
}

.mobile-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    transition: opacity 0.3s;
}

.mobile-menu__close:hover {
    opacity: 0.8;
}

.mobile-menu__close-icon {
    display: block;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    gap: 3vh;
}

.mobile-menu__link {
    font-family: "Ubuntu", sans-serif;
    font-weight: 600;
    font-size: 3vh;
    line-height: 125%;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.mobile-menu__link:hover {
    opacity: 0.85;
}

/* Мобильное меню показывать только на ширине ≤768px */
@media (min-width: 1100px) {
    .mobile-menu {
        display: none !important;
    }

    .header_burger {
        display: none !important;
    }
}
