.main-container {
    padding-top: 70px;
    margin-bottom: 140px;
}

.container {
    max-width: 1189px;
    margin: 0 auto;
}

.blue-text {
    color: #0E88F2;
}

.banner-section {
    margin-bottom: 32px;
}




.red-text {
    color: #FF6505;
}


.second-section {
    border-radius: 8px;
    border: 1px solid #0E88F2;
    padding: 32px;
    margin-bottom: 64px;
}

.second-section-header {
    color: #1A1A1A;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.second-section-text p {
    color: #1A1A1A;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.6;
}

.third-section {
    margin-bottom: 48px;
}

.third-section-header {
    color: #1A1A1A;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 32px;
}

.third-section-text {
    border-left: 4px solid #0E88F2;
    padding-left: 32px;
}

    .third-section-text p {
        color: #000;
        font-size: 19px;
        font-weight: 400;
        line-height: 1.4;
        margin-bottom: 14px;
    }

        .third-section-text p:last-child {
            margin-bottom: 0;
        }

    .third-section-text cite {
        font-weight: 500;
    }

.step-section {
    margin: 48px 0;
    padding: 32px;
}

.step-blue-section {
    border-radius: 8px;
    background: linear-gradient(270deg, #EDEEF9 1.23%, #F2F9FC 100%);
}

.step-header, .page .step-header {
    color: #0E88F2;
    font-size: 33px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 12px;
    letter-spacing: -0.66px;
}

.step-subheader, .page .step-subheader{
    color: #1A1A1A;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.66px;
}

.step-text {
    margin-bottom: 14px;
}

    .step-text p {
        color: #1A1A1A;
        font-size: 19px;
        font-weight: 400;
        line-height: 1.4;
    }

    .step-text .note-text {
        color: #888;
        font-size: 14px;    

    }

    .step-text p a {
        color: #0E88F2;
    }

.step-conditions-header {
    color: #1A1A1A;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.step-conditions-list {
    list-style-type: disc;
    margin-bottom: 20px;
    padding-left: 20px;
}

    .step-conditions-list li {
        color: #1A1A1A;
        font-size: 19px;
        font-weight: 400;
        line-height: 1.4;
        margin-bottom: 6px;
    }

.step-text-latest {
    margin-bottom: 0;
}

    .step-text-latest p {
        margin-bottom: 14px;
    }

        .step-text-latest p:last-child {
            margin-bottom: 0;
        }

.step-form-section {
    display: flex;
    justify-content: space-between;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

.step-block-left {
    width: 50%;
    /*background: linear-gradient(95deg, #002063 -9.18%, #0F91FF 100%);*/
    background: url("//cdn.specialist.ru/content/file/layouts/teachersDay2025/img/form-back.png") right center no-repeat;
    padding: 36px 32px;
    background-size: cover;
    min-height: 350px;
}

.step-block-right {
    width: 50%;
    padding: 36px 32px;
    background: linear-gradient(270deg, #EDEEF9 1.23%, #F2F9FC 100%);
}


.step-form-section .step-header, .step-form-section .step-subheader {
    color: white;
    max-width: 520px;
}

.step-form-section .step-subheader {
    margin-bottom: 0;
}

.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;
}

.step-block-right input[type="checkbox"] {
    width: 10px;
    height: 10px;
    border: 1px solid #E3E7ED;
}

.form-bottom {
    /*display: flex;*/
    align-items: center;
    padding-top: 10px;
}

.agree-wrapper {
    color: #1A1A1A;
    font-size: 12px;
    font-weight: 400;
    line-height: 120%; /* 14.4px */
}

.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: 100%;
    flex-shrink: 0;
    margin-bottom: 12px;
}

.order-form-block-header{
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.2;
}

.order-form-block .checkboxes-box {
    display: flex;
    gap: 16px;
}

.order-form-block .checkbox-wrapper {
    display: flex;
    gap: 6px;
    align-items: center;
}

.step-block-right input[type="radio"] {
    width: 12px;
    height: 12px;
}

.simple-section {
    margin-bottom: 80px;
}

.simple-section-text p {
    color: #1A1A1A;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.2; /* 22.8px */
    margin-bottom: 14px;
}

    .simple-section-text p:last-child {
        margin-bottom: 0;
    }

    .simple-section-text p strong {
        font-weight: 700;
    }

.conditions-header {
    color: #1A1A1A;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.conditions-list,
.conditions-list ol {
    counter-reset: item;
    list-style: none;
    margin: 14px 0 0;
    padding-left: 1.8em;
}

    .conditions-list > li,
    .conditions-list ol > li {
        position: relative;
        line-height: 1.3;
    }

        .conditions-list > li::before,
        .conditions-list ol > li::before {
            content: counters(item, ".") ". ";
            counter-increment: item;
            position: absolute;
            left: -1.8em;
            top: 0;
        }


    .conditions-list ul {
        list-style: disc;
        margin: .5em 0 .5em 1.5em;
        padding-left: 1em;
    }

        .conditions-list ul > li {
            position: static;
        }

            .conditions-list ul > li::before {
                content: none;
                counter-increment: none;
            }


    .conditions-list li {
        font-size: 19px;
        margin-bottom: 16px;
        color: #1A1A1A;
        /*padding-left: 40px;*/
    }

    .conditions-list h4 {
        font-weight: 700;
        font-size: 18px;
        margin-bottom: 10px;
    }

.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: #1A1A1A;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}



.conditions-list p {
    color: #1A1A1A;
    font-size: 19px;
    line-height: 1.47;
    margin-bottom: 16px;
}

/*попап*/
.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: 700;
    }

@media (max-width: 1230px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 846px) {
    .step-form-section {
        flex-direction: column;
        padding: 0;
    }

    .step-block-left, .step-block-right {
        width: 100%;
    }
}

@media (max-width: 650px) {
    .conditions-list > li {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .step-block-left {
        min-height: 424px;
    }

    .step-block-left, .step-block-right {
        padding: 26px 20px;
    }

    .form-bottom {
        display: block;
    }

    .agree-wrapper {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .send-form-button {
        width: 100%;
    }

    .step-blue-section {
        padding: 20px 12px;
    }

    .step-conditions-list span {
        word-break: break-all;
    }

    .third-section-header, .step-header {
        font-size: 24px;
    }

    .step-conditions-header{
        font-size: 16px;
    }

    .third-section-text p, .conditions-list p, .conditions-list li, .step-text p, .step-conditions-list li {
        font-size: 14px;
    }

    .step-header, .page .step-header {
        font-size: 24px;
    }
}

.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;
    }


    .page p {font-size: 16px;}
        .page ol li {font-size: 16px;}
        .prim {font-size: 85% !important;}
	.callback {
		display: flex;
		max-width: 950px;
                padding-top: 20px;
                                
	}
	.callback h3{
		font-size: 20px;
		color: #1A405E;
		font-weight: normal;
		/*display: inline-block;*/
	}
	.callback p {
		font-size: 13px;
		color: #000000;
		line-height: 22px;
	}
	.callback a, .callback a:visited {
		font-size: 13px;
		line-height: 22px;
		color: #0078BD;
	}
	.callback img {
		padding-right: 20px;
	}
	.rubricator {
		flex: 1;
		width: 495px;
		display: inline-block;
	}
	.callback-form {
		margin: 0 auto;
		width: 390px;
		display: inline-block;
                border: 1px solid #CCC;
                padding: 20px;
                box-shadow: 1px 1px 3px black;
	}
	.callback-form p {
		font-size: 14px;
		line-height: 23px;
	}
	.callback-form label {
		font-size: 13px;
		font-weight: bold;
		margin-bottom: .5em;
		color: #1a405e;
		display: block;
	}
.callback-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 4px;
    height: 25px;
    border: 0.75px solid #7F7F7F;
    border-radius: 3px;
    margin-bottom: 20px;
}




	.callback-form input[type=submit] {
		background: linear-gradient(0deg, #1972C3 0%, #84C1FD 100%);
		border: 0;
		font-size: 16px;
		color: white;
		height: 36px;
		margin: 0;
		cursor: pointer;
}

	.sub-text.center {
		font-size: 10px;
		box-sizing: border-box;
		margin: 10px 0;
		line-height: normal;
	}
	.sub-text.center a{
		font-size: 10px;
		line-height: normal;
	}