﻿.main-container {
    padding-top: 70px;
    margin-bottom: 140px;
}

.container {
    max-width: 1189px;
    margin: 0 auto;
}


.page-section {
    margin-bottom: 64px;
}

.page-section-header {
    color: #1A1A1A;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 32px 0;
}

.page-section-text p {
    color: #1A1A1A;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.6;
}

.blue-text {
    color: #0E88F2;
}

.text-bold {
    font-weight: 700;
}

.banner {
    background-image: url("https://cdn.specialist.ru/Content/File/layouts/successstory/main-banner.png"), linear-gradient(95deg, #002063 -9.18%, #0F91FF 100%);
    background-repeat: no-repeat;
    min-height: 414px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 20px;
    padding-left: 64px;
}

.banner-content {
    max-width: 500px;
}

.banner-header {
    color: #FFF;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 10px 0;
}

.banner-text {
    color: #FFF;
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 16px 0;
    line-height: 1.2; /* 28.8px */
}

.rotate-red-text {
    color: white;
    display: inline-block;
    position: relative;
    z-index: 1;
    margin: 0 16px;
    font-size: 32px;
    font-weight: 700;
}

    .rotate-red-text::before {
        display: block;
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-3deg);
        transform-origin: center;
        width: 100%;
        height: 100%;
        padding: 0 12px;
        box-sizing: content-box;
        background: #FF6505;
        z-index: -1;
    }

.second-section {
    border-radius: 8px;
    border: 1px solid #0E88F2;
    padding: 32px;
}

.second-section-header {
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.4;
}


.blue-border-text {
    border-left: 4px solid #0E88F2;
    padding-left: 32px;
}

    .blue-border-text p {
        color: #1A1A1A;
        font-size: 19px;
        font-weight: 400;
        line-height: 1.6; /* 30.4px */
        margin: 0;
    }

.step-section {
    margin-bottom: 48px;
    padding: 32px;
}

.step-blue-section {
    border-radius: 8px;
    background: linear-gradient(270deg, #EDEEF9 1.23%, #F2F9FC 100%);
}

.step-header {
    color: #0E88F2;
    font-size: 34px;
    font-weight: 400;
    margin-bottom: 20px;
}

.step-subheader {
    color: #1A1A1A;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.response-sites-list {
    padding: 0;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.response-site-item {
    padding: 32px 16px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 10px 12px 0px rgba(0, 70, 119, 0.10);
    text-align: center;
    flex: 1;
    margin: 0;
}

    .response-site-item a {
        color: #0E88F2;
        font-size: 19px;
        font-weight: 400;
        text-decoration: underline;
    }

.step-conditions-header {
    color: #1A1A1A;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: none;
    text-align: left;
}

.step-conditions-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 24px;
}

    .step-conditions-list li {
        color: #1A1A1A;
        font-size: 19px;
        font-weight: 400;
        line-height: 1.4;
        margin-bottom: 6px;
    }

.step-form-section {
    display: flex;
    justify-content: space-between;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

.step-block-left {
    width: 50%;
    background: url("https://cdn.specialist.ru/Content/File/layouts/successstory/form-back.jpg") left center no-repeat;
    padding: 36px 32px;
    background-size: cover;
}

.step-form-section .step-header, .step-form-section .step-subheader {
    color: white;
    max-width: 520px;
}

.step-block-right {
    width: 50%;
    padding: 36px 32px;
    background: linear-gradient(270deg, #EDEEF9 1.23%, #F2F9FC 100%);
}

    .step-block-right .input-wrapper {
        margin-bottom: 12px;
    }

    .step-block-right input:not([type="checkbox"]) {
        display: block;
        width: 100%;
        height: 52px;
        padding: 15px 20px;
        border-radius: 4px;
        border: 1px solid #E3E7ED;
        background: #FFF;
        color: #1A1A1A;
        font-size: 18px;
        font-weight: 500;
    }

.form-bottom {
    display: flex;
    align-items: center;
    padding-top: 10px;
    gap: 16px;
}

.agree-wrapper {
    margin-right: 16px;
    color: #33393E;
    font-size: 12px;
    font-weight: 400;
    line-height: 120%;
}

.step-block-right input[type="checkbox"] {
    width: 10px;
    height: 10px;
    border: 1px solid #E3E7ED;
}

.send-form-button {
    display: block;
    border-radius: 4px;
    border: 1px solid #FF6505;
    background: #FF6505;
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    padding: 12px;
    width: 144px;
    flex-shrink: 0;
}

.reg-phone-country_label {
    color: gray;
    font-size: 15px;
    display: block;
    min-height: 0;
}

#userfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.userfile-label {
    display: inline-block;
    border-radius: 4px;
    border: 1px solid #0E88F2;
    padding: 12px 20px;
    color: #0E88F2;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2; /* 21.6px */
}

.userfile-note {
    color: #1A1A1A;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    padding-top: 10px
}

.thanks-section-text {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
}

    .thanks-section-text .blue-text {
        font-weight: 700;
    }

.conditions-header {
    color: #33393E;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 48px;
}

.conditions-box {
    height: 220px;
    overflow: hidden;
    position: relative;
}

    .conditions-box::after {
        display: block;
        content: '';
        width: 100%;
        height: 200px;
        background: linear-gradient(0deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%);
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .conditions-box.active {
        height: auto;
        overflow: visible;
        margin-bottom: 48px;
    }

        .conditions-box.active::after {
            display: none;
        }

.conditions-inner-list {
    padding-top: 16px;
}

.all-conditions-button {
    display: block;
    border-radius: 4px;
    background: #F1F6FC;
    width: 100%;
    border: none;
    padding: 15px;
    color: #33393E;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.conditions-list {
    list-style-type: none;
    color: #33393E;
    font-size: 19px;
    line-height: 1.47;
    counter-reset: section;
    padding-left: 0;
}

    .conditions-list > li {
        margin-bottom: 24px;
        position: relative;
        padding-left: 100px;
    }

        .conditions-list > li::before {
            display: block;
            color: #005586;
            font-size: 19px;
            font-weight: 600;
            counter-increment: section;
            content: counters(section, ".") " .";
            position: absolute;
            top: 0;
            left: 0;
        }


    .conditions-list h3 {
        color: #33393E;
        font-family: Montserrat;
        font-size: 19px;
        font-style: normal;
        font-weight: 700;
        line-height: 1.47;
    }

    .conditions-list ul > li {
        padding-left: 24px;
        position: relative;
    }

        .conditions-list ul > li::before {
            display: block;
            content: "";
            width: 2px;
            height: 2px;
            position: absolute;
            top: 14px;
            left: 10px;
            background: #33393E;
        }

/*попап*/
.activation-popup {
    display: none;
    position: fixed;
}

    .activation-popup.active {
        display: block;
    }

.activation-popup-shadow {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, .5);
}

.activation-popup-body {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 15px;
    width: 80%;
    max-width: 1027px;
    padding: 70px;
    padding-top: 110px;
    max-height: 100vh;
    overflow: auto;
}

.activation-popup-close {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 40px;
    padding: 20px;
    border: none;
    background: transparent;
    line-height: 1;
    cursor: pointer;
    color: #506176;
}

    .activation-popup-close:hover, .activation-popup-close:focus {
        color: black;
    }

.activation-popup-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.activation-popup-content-left {
    margin-right: 20px;
    max-width: 506px;
}

.activation-popup-content::after {
    display: block;
    content: "";
    width: 318px;
    height: 226px;
    flex-shrink: 0;
    background: url("img/popup-cert.png") center center no-repeat;
}

.activation-popup-header {
    margin: 0 0 20px 0;
    font-weight: 600;
    font-size: 46px;
    line-height: 1.2;
    color: #005586;
    text-align: center;
}

.activation-popup-text p {
    margin: 0;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.5;
    color: #2B2E35;
}

    .activation-popup-text p strong {
        font-weight: 700px;
    }

.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(255, 255, 255, .4);
    z-index: 5;
}

    .loader.active {
        display: block;
    }

@media (max-width: 966px) {
    .places-list {
        flex-wrap: wrap;
    }
}

@media (max-width: 762px) {
    .step-form-section {
        display: block;
    }

    .step-block-left, .step-block-right {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .banner {
        padding-top: 100px;
        background-image: linear-gradient(95deg, #002063 -9.18%, #0F91FF 100%);
        min-height: 0;
        position: relative;
        padding-left: 20px;
    }

        .banner::before {
            display: inline-block;
            content: "Ежемесячный конкурс";
            position: absolute;
            top: 0;
            left: 0;
            background-color: rgba(255, 255, 255, .3);
            border-bottom: 1px solid rgba(255, 255, 255, 0.70);
            border-right: 1px solid rgba(255, 255, 255, 0.70);
            border-radius: 0 0 8px 0;
            padding: 12px;
            color: #FFF;
            font-size: 18px;
            font-weight: 600;
        }

    .rotate-red-text {
        margin-bottom: 24px;
    }

    .step-block-left {
        background-image: linear-gradient(95deg, #002063 -9.18%, #0F91FF 100%);
    }

    .form-bottom {
        flex-direction: column;
    }

    .conditions-list > li {
        padding-left: 40px;
    }

    .activation-popup-body{
        padding-left: 20px;
        padding-right: 20px;
        
    }

    .activation-popup-header {
        font-size: 30px;
    }
}

.blue-note-block {
    display: flex;
    border-radius: 10px;
    background: #0C88F1;
    box-shadow: 0px 4px 15px 0px rgba(31, 71, 155, 0.10);
    padding: 20px 30px;
    align-items: center;
    gap: 20px;
    max-width: 510px;
}

    .blue-note-block p {
        color: #FFF;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
    }


@media(max-width: 480px) {
    .blue-note-block {
        padding: 10px 15px;
        gap: 10px;
    }
}       
