/*************** SPECIFICATION BEGIN****************/
body {
        position: relative;
        font-size: 15px;
        line-height: 22px;
        background: #fff;
        margin: 0;
        padding: 0;
        font-family: 'Montserrat', sans-serif;
        color: #0c1628;
        min-width: 397px;
}

header {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 105px;
        display: -webkit-box;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
        padding: 10px 25px;
        background: #4B4942;
        z-index: 99;
        box-shadow: 0px 4px 13px rgba(255, 255, 255, 0.07);
}

section {
        position: relative;
}

button {
        background: #4B4942;
        padding: 15px 45px;
        color: white;
        border-radius: 50px;
        border: none;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 0px 7px 12px #0c16286e;
        font-size: 12px;
        cursor: pointer;
        -webkit-transition: 0.5s;
        transition: 0.5s;
        border: 2px solid transparent;
}

button:focus {
        border-color: #f0c717;
}

button:hover {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
}

main {
        margin-top: 105px;
}

header > ul {
        width: 100%;
        display: -webkit-box;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
}

header > ul .logo {
        -webkit-box-flex: 1;
        flex-grow: 1;
}

header > ul .item_menu {
        margin: 10px;
        position: relative;
}

header > ul .item_menu a {
        position: relative;
        padding: 15px 10px;
        color: #fff;
        font-size: 14px;
        letter-spacing: 0.5px;
        z-index: 3;
        overflow: hidden;
        display: block;
        flex-shrink: 0;
        white-space: nowrap;
}

header > ul .item_menu a span {
        color: #f0c717;
}

header > ul .item_menu a:after {
        content: '';
        position: absolute;
        left: 12px;
        right: 12px;
        height: 4px;
        background: #f0c717;
        bottom: 0;
        z-index: 1;
        -webkit-transform: skewX(-45deg) translateX(-200%);
        transform: skewX(-45deg) translateX(-200%);
        -webkit-transition: 0.2s;
        transition: 0.2s;
}

header > ul .item_menu a:hover:after {
        -webkit-transform: skewX(-45deg) translateX(0);
        transform: skewX(-45deg) translateX(0);
}

header > ul .item_menu a[active]:after {
        -webkit-transform: skewX(-45deg) translateX(0);
        transform: skewX(-45deg) translateX(0);
}

.burger_menu {
        position: relative;
        width: 60px;
        height: 60px;
        padding: 5px;
        cursor: pointer;
        flex-shrink: 0;
        overflow: hidden;
        display: none;
}

.burger_menu > i {
        position: absolute;
        display: block;
        left: 10px;
        right: 10px;
        height: 4px;
        background: #f0c717;
        border-radius: 5px;
        -webkit-transition: 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
        transition: 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
        top: 28px;
        -webkit-transform-origin: center center;
        transform-origin: center center;
}

.burger_menu >i:nth-child(1) {
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
}

.burger_menu >i:nth-child(3) {
        -webkit-transform: translateY(15px);
        transform: translateY(15px);
}

.burger_menu.open >i:nth-child(1) {
        -webkit-transform: rotateZ(45deg) translateY(0);
        transform: rotateZ(45deg) translateY(0);
}

.burger_menu.open >i:nth-child(2) {
        -webkit-transform: translateX(-100px);
        transform: translateX(-100px);
}

.burger_menu.open >i:nth-child(3) {
        -webkit-transform: rotateZ(-45deg) translateY(0);
        transform: rotateZ(-45deg) translateY(0);
}

.overlay_menu {
        position: fixed;
        left: 0;
        right: 0;
        top: 105px;
        bottom: 0;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.98);
        z-index: 98;
        -webkit-transform: translateX(-110%);
        transform: translateX(-110%);
        -webkit-transition: 0.3s;
        transition: 0.3s;
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: end;
        justify-content: flex-end;
        -webkit-box-align: center;
        align-items: center;
        font-size: 25px;
        line-height: 75px;
        text-align: right;
        padding: 40px;
}

.overlay_menu ul {
        -webkit-transform: translateX(200%);
        transform: translateX(200%);
        -webkit-transition: 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
        transition: 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.overlay_menu ul span {
        color: #f0c717;
        font-weight: bold;
}

.overlay_menu.open {
        -webkit-transform: translateX(0);
        transform: translateX(0);
}

.overlay_menu.open ul {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        -webkit-transition-delay: 0.2s;
        transition-delay: 0.2s;
}

.overlay_menu.open ul a[active] {
        display: list-item;
        list-style: disc;
}

/***** SECTION HOME ******/
section.section_home {
        display: -webkit-box;
        display: flex;
        min-height: calc(100vh - 102px);
        background: #fff;
        overflow: hidden;
}

section.section_home > div {
        flex-basis: 50%;
        -webkit-box-flex: 1;
        flex-grow: 1;
        width: 100%;
}

section.section_home > .item_one {
        position: relative;
        background: #f0c717;
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
}

section.section_home > .item_one > div {
        min-width: 350px;
}

section.section_home.home_page > .item_one:after, section.section_home.to_rent > .item_one:after {
        content: '';
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        border-radius: 12px; /* скруглённый квадрат */
        right: -25px; /* половина ширины квадрата */
        background-color: #ffffff;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 60% auto;
        z-index: 2;
}

section.section_home.home_page > .item_one:after {
        background-image: url(../icon/taxi_icon.svg);
}

section.section_home.to_rent > .item_one:after {
        background-image: url(../icon/key_transfer.svg);
}

section.section_home > .item_one h1 {
        font-size: 40px;
        line-height: 140%;
        text-align: left;
        width: 100%;
}

section.section_home > .item_one p {
        font-size: 19px;
        margin-top: 15px;
        width: 100%;
        min-height: 22px;
}

section.section_home > .item_one h1 span {
        font-size: 35px;
        font-weight: 500;
}

section.section_home > .item_one button {
        margin-top: 27px;
}

section.section_home > .item_two {
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
        -webkit-animation: 20s ease-in-out infinite;
        animation: 20s ease-in-out infinite;
        background-color: #ffffff; /* белая правая половина */
}

section.section_home.home_page > .item_two {
        position: relative;
        -webkit-animation: none;
        animation: none;
}

/* Плавная смена изображений в правой части первого сектора */
section.section_home.home_page > .item_two::before,
section.section_home.home_page > .item_two::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
        pointer-events: none;
}

section.section_home.home_page > .item_two::before {
        background-image: url(../img/section_home_car_one.jpg);
        opacity: 1;
        -webkit-animation: fadeA 10s ease-in-out infinite;
        animation: fadeA 10s ease-in-out infinite;
}

section.section_home.home_page > .item_two::after {
        background-image: url(../img/section_home_car_two.jpg);
        opacity: 0;
        -webkit-animation: fadeB 10s ease-in-out infinite;
        animation: fadeB 10s ease-in-out infinite;
}

@-webkit-keyframes fadeA {
        0% { opacity: 1; }
        40% { opacity: 1; }
        50% { opacity: 0; }
        90% { opacity: 0; }
        100% { opacity: 1; }
}
@keyframes fadeA {
        0% { opacity: 1; }
        40% { opacity: 1; }
        50% { opacity: 0; }
        90% { opacity: 0; }
        100% { opacity: 1; }
}

@-webkit-keyframes fadeB {
        0% { opacity: 0; }
        40% { opacity: 0; }
        50% { opacity: 1; }
        90% { opacity: 1; }
        100% { opacity: 0; }
}
@keyframes fadeB {
        0% { opacity: 0; }
        40% { opacity: 0; }
        50% { opacity: 1; }
        90% { opacity: 1; }
        100% { opacity: 0; }
}

section.section_home > .item_two.to_rent {
        -webkit-animation-name: slide_torent;
        animation-name: slide_torent;
}

section.section_home > .item_two.vacancy {
        background-image: url(../img/vacancy_bg.jpg);
        background-size: cover;
}

section.section_home > .item_two.about {
        background-image: url(../img/about_bg.jpg);
}

section.section_home > .item_two.reviews {
        background-image: url(../img/reviews_bg.jpg);
        background-size: cover;
}

@-webkit-keyframes slide_home {
        0% {
                background-image: url(../img/section_home_car_one.jpg);
        }

        47% {
                background-image: url(../img/section_home_car_one.jpg);
        }

        52% {
                background-image: url(../img/section_home_car_two.jpg);
        }

        95% {
                background-image: url(../img/section_home_car_two.jpg);
        }

        100% {
                background-image: url(../img/section_home_car_one.jpg);
        }
}

@keyframes slide_home {
        0% {
                background-image: url(../img/section_home_car_one.jpg);
        }

        47% {
                background-image: url(../img/section_home_car_one.jpg);
        }

        52% {
                background-image: url(../img/section_home_car_two.jpg);
        }

        95% {
                background-image: url(../img/section_home_car_two.jpg);
        }

        100% {
                background-image: url(../img/section_home_car_one.jpg);
        }
}

@-webkit-keyframes slide_torent {
        0% {
                background-image: url(../img/section_home_car_bmw.jpg);
        }

        47% {
                background-image: url(../img/section_home_car_bmw.jpg);
        }

        52% {
                background-image: url(../img/section_home_car_mercedes.jpg);
        }

        95% {
                background-image: url(../img/section_home_car_mercedes.jpg);
        }

        100% {
                background-image: url(../img/section_home_car_bmw.jpg);
        }
}

@keyframes slide_torent {
        0% {
                background-image: url(../img/section_home_car_bmw.jpg);
        }

        47% {
                background-image: url(../img/section_home_car_bmw.jpg);
        }

        52% {
                background-image: url(../img/section_home_car_mercedes.jpg);
        }

        95% {
                background-image: url(../img/section_home_car_mercedes.jpg);
        }

        100% {
                background-image: url(../img/section_home_car_bmw.jpg);
        }
}

/***** SECTION STEP ******/
section.section_step {
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -webkit-box-align: center;
        align-items: center;
        background: #4B4942; /* фон секции */
}

section.section_step > .item_one {
        width: 100%;
        text-align: center;
}

section.section_step > .item_one h2 {
        padding: 55px 20px;
        color: #fff;
        font-size: 30px;
        line-height: 140%;
}

section.section_step > .item_one h2 span {
        color: #f0c717;
}

section.section_step > .item_two {
        width: 100%;
        text-align: center;
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
        gap: 24px;
        flex-wrap: wrap;
        margin-bottom: 50px;
}

section.section_step .step_card {
        position: relative;
        background: #fff;
        margin: 24px;
        padding: 80px 28px 24px 28px; /* уменьшаем отступ сверху и общий рост */
        background: #fff; /* белый прямоугольник */
        max-width: 360px; /* шире */
        min-height: 220px; /* ниже */
        width: 100%;
        text-align: center;
        border-radius: 0; /* острые углы */
        box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

section.section_step .step_card:before {
        content: attr(step);
        position: absolute;
        left: -50px;
        top: -50px;
        display: grid;
        place-items: center;
        font-weight: 800;
        font-size: 34px;
        font-style: italic; /* номер курсивом */
        color: #F0C717; /* цифра */
        width: 100px;
        height: 100px;
        border-radius: 50px; /* круг */
        background: #4B4942; /* фон секции */
}

section.section_step .step_icon {
        display: block;
        width: 64px;
        height: 64px;
        -o-object-fit: contain;
           object-fit: contain;
        -o-object-position: center center;
           object-position: center center;
        margin: 0 auto 16px auto;
}

section.section_step .step_card p {
        margin: 0;
        font-size: 16px;
        line-height: 1.4;
        color: #2B2E34;
}

/***** SECTION CONDITIONS ******/
section.section_conditions {
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -webkit-box-align: center;
        align-items: center;
        overflow: hidden;
        background-repeat: no-repeat;
        background-position: right bottom;
        background-color: #f6f6f8;
        background-size: 17vw;
        padding-bottom: 45px;
}

section.section_conditions.home_page {
        background-image: url(../img/section_conditions_bg.jpg);
}

section.section_conditions.to_rent {
        background-image: url(../img/section_conditions_bg_kia.jpg);
}

section.section_conditions > .item_one {
        width: 100%;
        text-align: center;
        position: relative;
}

section.section_conditions > .item_one:before {
        content: attr(text);
        position: absolute;
        font-size: 7vw;
        font-weight: 700;
        text-transform: uppercase;
        text-align: center;
        width: 100%;
        left: 0;
        top: 55%;
        line-height: 100%;
        color: rgba(12, 22, 40, 0.02);
        z-index: 1;
        text-align: center;
}

section.section_conditions > .item_one h3 {
        padding: 55px 20px;
        color: #0c1628;
        font-size: 30px;
        z-index: 4;
}

section.section_conditions > .item_one h3 span {
        color: #f0c717;
}

section.section_conditions > .item_two {
        width: 100%;
        margin-bottom: 50px;
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
        z-index: 2;
}

section.section_conditions > .item_two ul {
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: start;
        justify-content: flex-start;
        -webkit-box-align: start;
        align-items: flex-start;
        flex-wrap: wrap;
        width: 100%;
        max-width: 1200px;
}

section.section_conditions > .item_two ul > li {
        margin: 15px;
        -webkit-box-flex: 1;
        flex-grow: 1;
        flex-basis: 25%;
        padding: 25px 15px 15px 75px;
        align-self: stretch;
        background-repeat: no-repeat;
        background-size: 40px;
        background-position: top 20px left 12px;
        background-color: rgba(255, 255, 255, 0.97);
        border-radius: 2px;
        min-width: 370px;
        -webkit-transition: 0.5s;
        transition: 0.5s;
        cursor: pointer;
        box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.04);
}

section.section_conditions > .item_two ul > li.message_ {
        flex-basis: 100%;
}

section.section_conditions > .item_two ul > li.message_ span {
        font-size: 14px;
}

section.section_conditions > .item_two ul > li:hover {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
}

section.section_conditions > .item_two ul > li > p {
        font-weight: 700;
        font-size: 17px;
        padding-bottom: 5px;
        margin-bottom: 5px;
}

section.section_conditions > .item_two ul > li > span {
        font-size: 12px;
        display: block;
}

/***** SECTION CAR SELECTION ******/
section.section_car_selection {
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -webkit-box-align: center;
        align-items: center;
        overflow: hidden;
        padding-bottom: 35px;
}

section.section_car_selection > .item_one {
        width: 100%;
        text-align: center;
        position: relative;
}

section.section_car_selection > .item_one h4 {
        padding: 55px 20px;
        font-size: 30px;
        z-index: 3;
        line-height: 140%;
}

section.section_car_selection > .item_one h4 span {
        color: #f0c717;
}

section.section_car_selection > .item_two {
        position: relative;
        width: 100%;
        max-width: 1060px;
        padding: 0 30px;
}

/*********************/
.forms_project {
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
        flex-wrap: wrap;
}

.forms_project > .form_item {
        -webkit-box-flex: 1;
        flex-grow: 1;
        flex-basis: 100%;
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
        flex-wrap: wrap;
        padding: 0 30px;
        max-width: 1200px;
        flex-shrink: 0;
}

.forms_project > .form_item > .group_ {
        display: -webkit-box;
        display: flex;
        -webkit-box-flex: 1;
        flex-grow: 1;
        flex-wrap: wrap;
}

.forms_project > .form_item > .group_ > label {
        flex-basis: calc(50% - 15px);
        -webkit-box-flex: 1;
        flex-grow: 1;
        min-width: 200px;
        margin: 15px 7px;
        max-width: calc(50% - 15px);
}

.forms_project label:not(.chk) {
        position: relative;
        padding: 22px 0 0 0;
        border-bottom: 1px solid #ccc;
        margin: 15px;
        -webkit-box-flex: 1;
        flex-grow: 1;
        min-width: 300px;
}

.forms_project label[select]:not(.chk):before {
        content: '';
        position: absolute;
        right: 1px;
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 6px solid #79849B;
        bottom: 17px;
}

.forms_project label:not(.chk) >[name] {
        padding: 15px 10px 15px 3px;
        border: none;
        width: 100%;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        letter-spacing: 1px;
        font-size: 14px;
        resize: none;
        background: transparent;
        color: #2B2E34;
}

.forms_project label:not(.chk) >[name]:focus {
        outline: none;
        border-bottom: 2px solid #f0c717;
}

.forms_project label:not(.chk) select[name] {
        color: #2B2E34;
        background: transparent;
        cursor: pointer;
}

.forms_project label:not(.chk) select[name] option:disabled {
        color: #999;
        font-style: italic;
}

.forms_project label:not(.chk) >textarea[name] {
        display: block;
        height: 100px;
}

.forms_project label:not(.chk) > [name]:focus + span {
        color: #0c1628
}

.forms_project label:not(.chk) > span {
        position: absolute;
        left: 3px;
        top: 0;
        text-transform: uppercase;
        font-size: 11px;
        letter-spacing: 0.7px;
        font-weight: 700;
        color: #c5c5c5;
}

.forms_project #subtotal {
        padding: 10px 35px;
        width: 100%;
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        align-items: center;
        font-size: 16px;
        background: rgb(240, 199, 23);
        margin: 25px 0;
}

.forms_project #subtotal > strong {
        margin-left: 15px;
        white-space: nowrap;
}

.forms_project .title_form {
        width: 100%;
        text-align: center;
        padding: 25px 20px;
        font-size: 30px;
        font-weight: 700;
        color: #ececec;
}

.forms_project .send_massege {
        width: 100%;
        text-align: center;
        opacity: 0;
}

.forms_project .send_massege.send {
        opacity: 1;
}

.forms_project .btn_group {
        width: 100%;
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
        margin-top: 25px;
}

.forms_project .btn_group > p {
        margin: 25px 0;
        font-size: 12px;
        text-align: center;
        width: 100%;
}

/***** SECTION SALE ******/
section.section_sale {
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -webkit-box-align: center;
        align-items: center;
        background: rgb(12, 22, 40);
        overflow: hidden;
        padding: 0 20px 20px 20px;
}

section.section_sale > .item_one {
        position: relative;
        width: 100%;
        text-align: center;
}

section.section_sale > .item_one:before {
        content: attr(text);
        position: absolute;
        font-size: 7vw;
        font-weight: 700;
        text-transform: uppercase;
        text-align: center;
        width: 100%;
        left: 0;
        top: 55%;
        line-height: 100%;
        color: rgba(255, 255, 255, 0.02);
        z-index: 1;
        text-align: center;
}

section.section_sale > .item_one h5 {
        padding: 55px 20px;
        color: #fff;
        font-size: 30px;
        line-height: 140%;
        z-index: 2;
}

section.section_sale > .item_one h5 span {
        color: #f0c717;
}

section.section_sale > .item_two {
        position: relative;
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: stretch;
        align-items: stretch;
        width: 100%;
        max-width: 1000px;
        z-index: 3;
        flex-wrap: wrap;
}

section.section_sale > .item_two > div {
        padding: 15px 35px;
}

section.section_sale > .item_two .box_one {
}

section.section_sale > .item_two .box_one > p {
        color: #fff;
        font-size: 22px;
        width: 100%;
}

section.section_sale > .item_two .box_one > .car_img {
        width: 35vw;
        height: 35vw;
        max-width: 400px;
        max-height: 350px;
        min-width: 300px;
        min-height: 200px;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
        -webkit-animation: slide_sale 20s ease-in-out infinite;
        animation: slide_sale 20s ease-in-out infinite;
}

@-webkit-keyframes slide_sale {
        0% {
                background-image: url(../img/skoda_rapid_ybw.png);
        }

        5% {
                background-image: url(../img/skoda_rapid_wbw.png);
        }

        50% {
                background-image: url(../img/skoda_rapid_wbw.png);
        }

        55% {
                background-image: url(../img/skoda_rapid_ybw.png);
        }

        100% {
                background-image: url(../img/skoda_rapid_ybw.png);
        }
}

@keyframes slide_sale {
        0% {
                background-image: url(../img/skoda_rapid_ybw.png);
        }

        5% {
                background-image: url(../img/skoda_rapid_wbw.png);
        }

        50% {
                background-image: url(../img/skoda_rapid_wbw.png);
        }

        55% {
                background-image: url(../img/skoda_rapid_ybw.png);
        }

        100% {
                background-image: url(../img/skoda_rapid_ybw.png);
        }
}

section.section_sale > .item_two .box_one .advantages_group {
        color: #fff;
}

section.section_sale > .item_two .box_one .advantages_group span {
        position: relative;
        padding: 15px 15px 15px 30px;
}

section.section_sale > .item_two .box_one .advantages_group span:before {
        content: '';
        position: absolute;
        left: 10px;
        width: 10px;
        height: 10px;
        background: #f0c717;
        border-radius: 50px;
        top: calc(50% - 4px);
}

section.section_sale > .item_two .box_two {
}

section.section_sale > .item_two .box_two > p {
        color: #f0c717;
        margin-bottom: 10px;
        font-size: 22px;
        width: 100%;
}

section.section_sale > .item_two .box_two > ul {
        color: #fff;
        font-size: 17px;
}

section.section_sale > .item_two .box_two > ul > li {
        position: relative;
        padding: 20px 15px 20px 45px;
}

section.section_sale > .item_two .box_two > ul[list] > li:before {
        content: '';
        position: absolute;
        left: 10px;
        width: 10px;
        height: 10px;
        background: #f0c717;
        border-radius: 50px;
        top: calc(50% - 4px);
}

section.section_sale > .item_two .box_two > ul[list] > li:after {
        content: '';
        position: absolute;
        left: 0.9rem;
        height: 100%;
        width: 1px;
        background: #f0c717;
        top: calc(50% - -7px);
}

section.section_sale > .item_two .box_two > ul[itog] > li:before {
        content: '';
        position: absolute;
        left: 0.1rem;
        width: 25px;
        height: 25px;
        background: #f0c717;
        border-radius: 50px;
        top: calc(50% - 0.7rem);
}

section.section_sale > .item_two .box_two > ul[itog] > li {
        font-size: 25px;
        line-height: 130%;
}

section.section_sale > .item_two .box_two > ul[itog] > li span {
        color: #f0c717;
        font-weight: 700;
}

section.section_sale > .item_three {
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
        margin-top: 20px;
}

section.section_sale > .item_three > p {
        position: relative;
        color: #fff;
        font-size: 20px;
        width: 100%;
        text-align: center;
        line-height: 150%;
        padding: 0 40px;
        margin-bottom: 30px;
}

section.section_sale > .item_three > p span {
        color: #f0c717;
        min-width: 14px;
}

section.section_sale > .item_three > button {
        background: #f0c717;
        color: #0c1628;
        font-weight: 700;
        margin: 35px 0;
}

/***** SECTION PARTNER'S ******/
section.section_partners {
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -webkit-box-align: center;
        align-items: center;
        overflow: hidden;
}

section.section_partners > .item_one {
        width: 100%;
        text-align: center;
        position: relative;
        margin-bottom: 50px;
}

section.section_partners > .item_one h6 {
        padding: 55px 20px;
        width: 100%;
        font-size: 30px;
        z-index: 3;
}

section.section_partners > .item_one h6 span {
        color: #f0c717;
}

/***** SECTION VACANCY CAR COMPANY ******/
section.section_vacancy {
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -webkit-box-align: center;
        align-items: center;
        overflow: hidden;
        padding-bottom: 35px;
}

section.section_vacancy > .item_one {
        width: 100%;
        text-align: center;
        position: relative;
}

section.section_vacancy > .item_one h3 {
        padding: 55px 20px;
        font-size: 30px;
        z-index: 3;
        line-height: 125%;
}

section.section_vacancy > .item_one h3 span {
        color: #f0c717;
}

section.section_vacancy > .item_two {
        position: relative;
        width: 100%;
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
        padding: 0 45px 0 45px;
}

section.section_vacancy > .item_two > .list_group {
        width: 100%;
        max-width: 770px;
}

section.section_vacancy > .item_two > .list_group > * {
        width: 100%;
        margin: 25px 0;
}

section.section_vacancy > .item_two > .list_group dd {
        display: list-item;
        list-style: disc;
        font-size: 14px;
}

section.section_vacancy > .item_two > .list_group dt {
        font-weight: 700;
        margin-bottom: 10px;
}

section.section_vacancy > .item_two li {
        padding: 5px;
        list-style: disc;
        font-size: 14px;
}

/***** SECTION REVIEW'S ******/
section.section_reviews {
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -webkit-box-align: center;
        align-items: center;
        overflow: hidden;
        padding-bottom: 45px;
}

section.section_reviews > .item_one {
        position: relative;
        width: 100%;
}

section.section_reviews > .item_one:before {
        content: attr(text);
        position: absolute;
        font-size: 7vw;
        font-weight: 700;
        text-transform: uppercase;
        text-align: center;
        width: 100%;
        left: 0;
        top: 55%;
        line-height: 100%;
        color: rgba(12, 22, 40, 0.02);
        z-index: 1;
        text-align: center;
}

section.section_reviews > .item_one h3 {
        padding: 55px 20px;
        color: #0c1628;
        font-size: 30px;
        text-align: center;
        line-height: 140%;
        width: 100%;
}

section.section_reviews > .item_one h3 span {
        color: #f0c717;
}

section.section_reviews > .item_two {
        width: 100%;
        padding: 0 30px;
        max-width: 1200px;
}

section.section_reviews > .item_two > p {
        width: 100%;
        text-align: left;
}

section.section_reviews > .item_two > h4 {
        padding: 25px 20px;
        color: #0c1628;
        font-size: 30px;
        text-align: center;
        line-height: 140%;
}

section.section_reviews > .item_two > dl {
        margin: 0;
        width: 100%;
}

section.section_reviews > .item_two > dl > dt {
        font-size: 16px;
        margin-bottom: 10px;
}

section.section_reviews > .item_two > dl > dd {
        display: list-item;
        margin-bottom: 10px;
}

section.section_reviews > .item_two > h4 > span {
        color: #f0c717;
}

section.section_reviews > .item_three {
        width: 100%;
        padding: 0 30px;
        max-width: 1200px;
        margin-top: 55px;
}

section.section_reviews > .item_four {
        width: 100%;
        padding: 0 30px;
        max-width: 1200px;
}

section.section_reviews .reviews_container {
        width: 100%;
        min-height: 50vh;
}

section.section_reviews .reviews_container .reviews_card {
        margin: 15px 0;
        padding: 25px 15px 15px 90px;
        background-repeat: no-repeat;
        background-size: 40px;
        background-position: top 30px left 25px;
        background-image: url(../icon/user.svg);
        background-color: #fff;
        border-radius: 2px;
        min-width: 330px;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.12);
        width: 100%;
}

section.section_reviews .reviews_container .reviews_card .reviews_name {
        font-size: 15px;
        line-height: 130%;
        font-weight: bold;
}

section.section_reviews .reviews_container .reviews_card .reviews_date {
        font-size: 12px;
        margin-bottom: 10px;
        color: #ccc;
}

section.section_reviews .reviews_container .reviews_card .reviews_text {
        font-size: 14px;
}

/***** SECTION ABOUT ******/
section.section_about {
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -webkit-box-align: center;
        align-items: center;
        overflow: hidden;
        padding-bottom: 35px;
}

section.section_about > .item_one {
        width: 100%;
        text-align: center;
        position: relative;
}

section.section_about > .item_one h1 {
        padding: 55px 20px;
        font-size: 30px;
        z-index: 3;
        line-height: 125%;
}

section.section_about > .item_one h1 span {
        color: #f0c717;
}

section.section_about > .item_two {
        width: 100%;
        padding: 0 30px;
        max-width: 1200px;
}

section.section_about > .item_two h2 {
        font-size: 17px;
        font-weight: normal;
        margin-bottom: 25px;
}

section.section_about > .item_two h3 {
        font-size: 17px;
        font-weight: normal;
        margin-bottom: 40px;
}

section.section_about .card_group {
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: stretch;
        align-items: stretch;
        flex-wrap: wrap;
}

section.section_about .card_advantages {
        padding: 35px;
        margin: 15px;
        -webkit-box-flex: 1;
        flex-grow: 1;
        border-radius: 2px;
        min-width: 350px;
        max-width: 350px;
        -webkit-transition: 0.5s;
        transition: 0.5s;
        box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.04);
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: stretch;
        justify-content: stretch;
}

section.section_about .card_advantages p {
        font-weight: bold;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
}

section.section_about .card_advantages img {
        display: block;
        width: 70px;
        height: 70px;
        -o-object-fit: contain;
        object-fit: contain;
        -o-object-position: center center;
        object-position: center center;
        margin-bottom: 20px;
}

section.section_about .card_advantages small {
        width: 100%;
}

/***** SECTION POLICY ******/
section.section_policy {
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -webkit-box-align: center;
        align-items: center;
        overflow: hidden;
        padding-bottom: 35px;
}

section.section_policy > .item_one {
        width: 100%;
        text-align: center;
        position: relative;
}

section.section_policy > .item_one h1 {
        padding: 55px 20px;
        font-size: 20px;
        z-index: 3;
        line-height: 125%;
}

section.section_policy > .item_one h1 span {
        color: #f0c717;
}

section.section_policy > .item_two {
        width: 100%;
        padding: 0 30px;
        max-width: 1200px;
}

section.section_policy > .item_two > ul {
        line-height: 170%;
}

section.section_policy > .item_two > ul > li {
        margin-bottom: 10px;
}

/***** SECTION THANK ******/
section.section_thank {
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -webkit-box-align: center;
        align-items: center;
        overflow: hidden;
        padding-bottom: 35px;
}

section.section_thank > .item_one {
        width: 100%;
        text-align: center;
        position: relative;
}

section.section_thank > .item_one h1 {
        padding: 225px 20px 35px 20px;
        font-size: 30px;
        line-height: 125%;
}

section.section_thank > .item_one h2 {
        padding: 19px 20px 35px 20px;
        font-size: 25px;
        line-height: 125%;
        width: 100%;
}

section.section_thank > .item_one p {
        width: 100%;
        padding: 40px 20px 140px 20px;
        font-size: 18px;
        line-height: 165%;
}

/***** FOOTER ******/
footer {
        position: relative;
        display: -webkit-box;
        display: flex;
        -webkit-box-align: start;
        align-items: flex-start;
        padding: 30px;
        background: #f6f6f8;
        -webkit-box-pack: center;
        justify-content: center;
        flex-wrap: wrap;
}

footer > * {
        margin: 15px 50px;
}

footer .footer_logo {
        max-width: 405px;
}

footer .footer_logo > li p {
        font-weight: 700;
        font-size: 11px;
}

footer .footer_logo > li small {
        font-size: 10px;
        line-height: 15px;
        display: block;
        padding: 15px 0;
}

footer .website_sections {
        list-style: disc;
        line-height: 28px;
        min-width: 255px;
}

footer .contacts {
        list-style: disc;
        line-height: 28px;
        min-width: 255px;
}

/**** MODAL WINDW *****/
#modal_window {
        min-width: 300px;
        background: rgb(255, 255, 255);
        z-index: 1000075;
        opacity: 0;
        -ms-overflow-x: hidden;
        -ms-overflow-y: auto;
        overflow-y: auto;
        overflow-x: hidden;
        display: -webkit-box;
        display: flex;
        -webkit-transform: translateX(-300%);
        transform: translateX(-300%);
        -webkit-transition: 0.3s;
        transition: 0.3s;
        max-width: 880px;
        padding: 60px 10px;
}

#modal_window.open {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
}

@media (max-width: 800px) {
        #modal_window {
                width: 100%;
                height: 100%;
                border-radius: 0;
                max-width: 100%;
        }
}

#modal_window::-webkit-scrollbar {
        width: 0px;
}

#modal_window {
        -ms-overflow-style: none;
        scrollbar-width: none;
}

#modal_close {
        position: fixed;
        top: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        cursor: pointer;
        z-index: 1000100;
        -webkit-transition: opacity 0.5s;
        transition: opacity 0.5s;
        color: #959595;
}

#modal_close:before, #modal_close:after {
        content: '';
        position: absolute;
        display: block;
        background: currentColor;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        top: 24px;
        width: 50%;
        height: 2px;
        border-radius: 50px;
        left: 13px;
}

#modal_close:before {
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
}

#modal_close:after {
        -webkit-transform: rotate(-135deg);
        transform: rotate(-135deg);
}

#modal_close:hover {
        opacity: 0.5;
        -webkit-transition: 0.5s;
        transition: 0.5s;
        color: rgba(0, 0, 0, 0.7);
}

#modal_overlay {
        z-index: 999999;
        position: fixed;
        background: rgba(0, 43, 68, 0.9);
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 0;
        overflow: hidden;
        -webkit-transition: opacity 0.5s;
        transition: opacity 0.5s;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
        display: none;
}

#modal_overlay.open {
        opacity: 1;
}
/* Текст «Вакансии» возле логотипа (не ломает типографику) */
.brand-vacancy{
  margin-left:.5rem;
  color:#fff;
  font:inherit;
  font-weight:600;
  display:inline-block;
  vertical-align:middle;
}

.footer_links_only{
  list-style:none;
  margin:40px auto;
  padding:0;
  display:flex;
  gap:24px;
  justify-content:center;
}
.footer_links_only a{ color:inherit; text-decoration:underline; }


/* ===== Бренд: логотип + слово «Вакансии» (резиново) ===== */
.navbar-brand.logo{
  /* ЕДИНАЯ переменная высоты логотипа:
     - min 24px, растёт от vw, max 36px. Подгони под свой макет. */
  --logo-h: clamp(24px, 2.6vw, 36px);

  display: inline-flex;
  align-items: center;
  gap: 0;                     /* без лишнего зазора между логотипом и текстом */
  line-height: 1;
  /* Базовый размер шрифта для "Вакансии" привязан к высоте логотипа */
  font-size: calc(var(--logo-h) * 0.82);
}

.navbar-brand.logo .brand-logo{
  height: var(--logo-h);
  width: auto;
  display: block;
}

/* Контейнер слова «Вакансии» */
.brand-vakansii{
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1em;              /* масштабируется вместе с .navbar-brand.logo */
  white-space: nowrap;
  /* микроподгонка базовой линии относительно логотипа */
  position: relative;
  top: -0.1em;                 /* 0…0.06em по вкусу */
  /* общий трекинг слова (уменьшает зазоры между ВСЕМИ буквами) */
  letter-spacing: -0.01em;
  /* почти слитно с логотипом */
  margin-left: 0.06em;         /* 0…0.10em по вкусу */
}

/* Отдельно управляем буквой «В» */
.brand-vakansii .brand-v{
  display: inline-block;
  font-size: 1.22em;           /* размер ТОЛЬКО первой буквы — масштабируется вместе со словом */
  line-height: 1;
  /* сжимаем зазор МЕЖДУ «В» и «а» */
  margin-right: -0.04em;       /* 0…-0.08em по вкусу */
  /* тонкая подгонка по базовой линии первой буквы */
  position: relative;
  top: 0.01em;
}

/* Остальные буквы можно сжать чуть сильнее (опционально) */
.brand-vakansii .brand-rest{
  letter-spacing: -0.025em;
}

/* Адаптивная мелкая правка для совсем узких экранов */
@media (max-width: 480px){
  .navbar-brand.logo{
    --logo-h: clamp(22px, 6.5vw, 28px);
    font-size: calc(var(--logo-h) * 0.84);
  }
  .brand-vakansii{ top: 0; }
}
/* === Smooth anchor scrolling and fixed header offset === */
html { scroll-behavior: smooth; }
/* отступ сверху при переходе на якорь, чтобы шапка не перекрывала начало секции */
section[id] { scroll-margin-top: var(--header-offset, 110px); }

/* ===== Photocontrol popup (adaptive) ===== */
#pc_overlay,
#blocked_overlay {
  display: none;                 /* по умолчанию скрыто */
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.6);
}

#pc_overlay.pc-open,
#blocked_overlay.pc-open {
  display: flex;                 /* показываем через класс */
}

/* Каркас окна */
.pc_window {
  box-sizing: border-box;
  width: min(680px, 92vw);       /* не шире 680, но влезает в экран */
  max-height: 90vh;              /* не выше 90% экрана */
  background: #fff;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);

  display: flex;                 /* чтобы кнопки «прилипали» к низу */
  flex-direction: column;
  overflow: hidden;              /* скролл только у содержимого */
}

.pc_title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.pc_body {
  flex: 1 1 auto;                /* контент растёт и даёт место кнопкам внизу */
  overflow: auto;                /* прокрутка текста/картинки внутри окна */
}

.pc_image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;             /* картинка больше не «гигантская» */
  object-fit: contain;
  margin: 6px 0 12px;
}

.pc_text {
  margin: 0 0 16px;
  line-height: 1.5;
  color: #222;                   /* контрастный текст */
}

/* Кнопки */
.pc_buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

@media (min-width: 701px) {
  .pc_title  { font-size: 28px; }
  .pc_image  { max-height: 260px; }
  .pc_buttons { justify-content: space-between; }     /* слева/справа на десктопе */
  .pc_buttons button { width: calc(50% - 6px); }
}

@media (max-width: 700px) {
  .pc_buttons { flex-direction: column; }             /* одна под другой на мобиле */
  .pc_buttons button { width: 100%; }
}

/* Второе окно: одна кнопка по центру */
.pc_buttons_center {
  display: flex;
  justify-content: center;
}
.pc_buttons_center button {
  width: auto;
  min-width: 220px;
}

/* Блокировка фоновой прокрутки при открытом попапе */
body.pc-lock { overflow: hidden; }

/* === Попапы гражданства === */
.pc-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:9999}
.pc-overlay[hidden]{display:none}
.pc-window{max-width:680px;width:92%;background:#fff;border-radius:12px;padding:20px 22px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.pc-title{margin:0 0 12px;font-size:28px;font-weight:700;text-align:center}
.pc-image{display:block;max-width:100%;height:auto;margin:8px auto 14px}
.pc-text{margin:0 0 16px;line-height:1.45}
.pc-buttons{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.pc-buttons--center{justify-content:center}
.pc-btn{border:0;padding:12px 18px;border-radius:8px;cursor:pointer;font-size:15px}
.pc-btn--ok{background:#1a9e3f;color:#fff}
.pc-btn--danger{background:#e53935;color:#fff}
@media (min-width: 701px){
  .pc-window{padding-bottom:110px}
  .pc-buttons{position:absolute;left:16px;right:16px;bottom:16px;flex-direction:row;justify-content:space-between;align-items:stretch}
  .pc-btn{width:calc(50% - 8px)}
}

/* === Вывод показателей в #subtotal (если ещё не добавлено) === */
#subtotal .rcp-metrics{display:block}
#subtotal .rcp-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:4px 0}
#subtotal .rcp-label{font-weight:600;line-height:1.35}
#subtotal .rcp-value{font-weight:700;line-height:1.35;white-space:nowrap}

/* если есть наш блок метрик, скрываем любой сильный-хвост после него */
#subtotal .rcp-metrics ~ strong { display: none !important; }

/* ===== THANK: карточка профиля (желтый фон), левая/правая колонка, 2 уровня справа ===== */

.section_thank #subtotal{
        display:block;
        background:#F0C717;                             /* единый желтый фон */
        color:#0B1F35;                                  /* тёмный читаемый текст */
        border-radius:8px;
        padding:24px 28px;
        margin:28px 0;
        box-shadow:0 1px 0 rgba(0,0,0,.04), 0 1px 12px rgba(0,0,0,.04);
}

.section_thank #subtotal .rcp-metrics{ display:block; }

/* ===== THANK: фикс колоночной сетки, без наложений ===== */

/* ===== THANK: жёсткая двухколоночная сетка + разделители, без наложений ===== */

/* Жёлтая карточка уже задана ранее (#F0C717). Тут — именно сетка и тексты. */
.section_thank #subtotal .rcp-row.thank-grid-row{
        display:grid !important;
        grid-template-columns: 320px minmax(0,1fr) !important; /* слева фикс, справа резина */
        column-gap:24px;
        align-items:start;
}

/* Гасим возможные глобальные флоаты/позиционирование */
.section_thank #subtotal .rcp-label,
.section_thank #subtotal .rcp-value{
        float:none !important;
        position:static !important;
        width:auto !important;
}

/* Левая колонка */
.section_thank #subtotal .rcp-label{
        grid-column:1;
        font-weight:700;
        white-space:normal;
}

/* Правая колонка (вертикальный стек D/E) */
.section_thank #subtotal .rcp-value{
        grid-column:2;
        display:flex;
        flex-direction:column;
        gap:12px;
        min-width:0; /* позволяет ужиматься внутри сетки */
}

/* Разделитель между верхним (D) и нижним (E) блоком */
.section_thank #subtotal .rcp-value-top{
        padding-bottom:10px;
        border-bottom:1px solid rgba(0,0,0,.25);
}
.section_thank #subtotal .rcp-value-bottom{
        padding-top:10px;
}

/* Переносы текста, «ломаем» длинные токены и сохраняем переводы строк */
.section_thank #subtotal .rcp-value pre{
        white-space:pre-wrap;
        overflow-wrap:anywhere;
        word-break:break-word;
        hyphens:auto;
        margin:0;
        font:inherit;
        color:inherit;
}

/* Ссылки читаемые на желтом фоне */
.section_thank #subtotal .rcp-value a{
        color:#0B1F35;
        text-decoration:underline;
        text-underline-offset:2px;
}

/* Мобильный режим: одна колонка, лейбл сверху */
@media (max-width: 960px){
        .section_thank #subtotal .rcp-row.thank-grid-row{
                grid-template-columns: 1fr !important;
                row-gap:10px;
        }
        .section_thank #subtotal .rcp-label{ grid-column:1; }
        .section_thank #subtotal .rcp-value{ grid-column:1; }
}

/* ===== THANK: микроформы «Отправить себе» (WhatsApp/Telegram) ===== */
/* Контейнер двух карточек: по 2 в ряд на десктопе, с ограничением ширины */
.section_thank #share_self{
        margin:20px 0 14px 0;
}
.section_thank #share_self .share-grid{
        display:grid;
        grid-template-columns: repeat(2, minmax(280px, 1fr));
        gap:16px;
        justify-content:center;
        /* ограничиваем общую ширину, чтобы карточки не «расползались» */
        max-width: 980px;
        margin-left:auto;
        margin-right:auto;
}

/* Компактная карточка */
.section_thank #share_self .share-card{
        display:flex;
        flex-direction:column;
        gap:10px;
        background:#fff;
        border:1px solid rgba(0,0,0,.12);
        border-radius:12px;
        padding:14px 16px;
        box-shadow:0 1px 6px rgba(0,0,0,.06);
}

/* Шапка карточки с маленькой иконкой слева */
.section_thank #share_self .share-head{
        display:flex;
        align-items:center;
        gap:10px;
        margin-bottom:2px;
}

/* ЖЕСТКО фиксируем размер SVG-иконок, чтобы глобальные img{width:100%} их не растягивали */
.section_thank #share_self .share-icon{
        width:20px !important;
        height:20px !important;
        max-width:20px !important;
        max-height:20px !important;
        flex:0 0 20px;
        object-fit:contain;
        display:block;
}

/* Тайтл и вспомогательные подписи */
.section_thank #share_self .share-title{ font-weight:700; }
.section_thank #share_self .share-label{
        display:block;
        margin:2px 0 6px 0;
        font-size:14px;
        opacity:.9;
}

/* Ряд с полем и кнопкой — компактный и нерастянутый */
.section_thank #share_self .share-row{
        display:flex;
        align-items:center;
        gap:10px;
}
.section_thank #share_self .share-input{
        flex:1 1 260px;
        min-width:0;
        height:40px;
        border:1px solid rgba(0,0,0,.2);
        border-radius:8px;
        padding:0 12px;
        font-size:16px;
}
.section_thank #share_self .share-btn{
        flex:0 0 auto;
        height:40px;
        border:0;
        border-radius:8px;
        padding:0 14px;
        font-weight:700;
        cursor:pointer;
        background:#F0C717;
        color:#0B1F35;
        box-shadow:0 1px 0 rgba(0,0,0,.04), 0 1px 8px rgba(0,0,0,.06);
        white-space:nowrap;
}
.section_thank #share_self .share-btn:hover{ filter:brightness(.98); }
.section_thank #share_self .share-hint{ margin-top:4px; font-size:12px; opacity:.66; }

/* Мобильная адаптация: одна карточка в ряд и более узкие элементы */
@media (max-width: 960px){
        .section_thank #share_self .share-grid{
                grid-template-columns: 1fr;
                max-width: 640px;
        }
        .section_thank #share_self .share-icon{
                width:38px !important;
                height:38px !important;
                max-width:38px !important;
                max-height:38px !important;
        }
        .section_thank #share_self .share-input{ height:38px; }
        .section_thank #share_self .share-btn{ height:38px; padding:0 12px; }
}

/* Маленькие экраны */
@media (max-width: 420px){
        .section_thank #share_self .share-row{
                flex-direction:column;
                align-items:stretch;
                gap:8px;
        }
        .section_thank #share_self .share-btn{
                width:100%;
        }
}

/* Grid → одна колонка на мобильных */
@media (max-width: 960px){
        .section_thank #share_self .share-grid{
                grid-template-columns: 1fr;
        }
}

/* ===== THANK: фикс сетки жёлтого блока (две колонки) ===== */
.section_thank #subtotal .rcp-row.thank-grid-row{
        display:grid !important;
        grid-template-columns: 320px minmax(0,1fr) !important;
        column-gap:24px;
        align-items:start;
}
.section_thank #subtotal .rcp-label,
.section_thank #subtotal .rcp-value{
        float:none !important;
        position:static !important;
        width:auto !important;
}
.section_thank #subtotal .rcp-label{
        grid-column:1;
        font-weight:700;
        white-space:normal;
}
.section_thank #subtotal .rcp-value{
        grid-column:2;
        display:flex;
        flex-direction:column;
        gap:12px;
        min-width:0;
}
.section_thank #subtotal .rcp-value-top{
        padding-bottom:10px;
        border-bottom:1px solid rgba(0,0,0,.25);
}
.section_thank #subtotal .rcp-value-bottom{
        padding-top:10px;
}
.section_thank #subtotal .rcp-value pre{
        white-space:pre-wrap;
        overflow-wrap:anywhere;
        word-break:break-word;
        hyphens:auto;
        margin:0;
        font:inherit;
        color:inherit;
}
.section_thank #subtotal .rcp-value a{
        color:#0B1F35;
        text-decoration:underline;
        text-underline-offset:2px;
}
@media (max-width: 960px){
        .section_thank #subtotal .rcp-row.thank-grid-row{
                grid-template-columns: 1fr !important;
                row-gap:10px;
        }
        .section_thank #subtotal .rcp-label{ grid-column:1; }
        .section_thank #subtotal .rcp-value{ grid-column:1; }
}

/* ===== THANK: компактные кнопки с маленькой иконкой справа ===== */

/* Сетка и карточки — как ранее */
.section_thank #share_self{
        margin:20px 0 14px 0;
}
.section_thank #share_self .share-grid{
        display:grid;
        grid-template-columns: repeat(2, minmax(280px, 1fr));
        gap:16px;
        justify-content:center;
        max-width: 980px;
        margin-left:auto;
        margin-right:auto;
}
.section_thank #share_self .share-card{
        display:flex;
        flex-direction:column;
        gap:10px;
        background:#fff;
        border:1px solid rgba(0,0,0,.12);
        border-radius:12px;
        padding:14px 16px;
        box-shadow:0 1px 6px rgba(0,0,0,.06);
}
.section_thank #share_self .share-label{
        display:block;
        margin:2px 0 6px 0;
        font-size:14px;
        opacity:.9;
}
.section_thank #share_self .share-row{
        display:flex;
        align-items:center;
        gap:10px;
}
.section_thank #share_self .share-input{
        flex:1 1 260px;
        min-width:0;
        height:40px;
        border:1px solid rgba(0,0,0,.2);
        border-radius:8px;
        padding:0 12px;
        font-size:16px;
}

/* Кнопка в стилистике сайта (жёлтая) + иконка справа */
.section_thank #share_self .share-btn{
        flex:0 0 auto;
        height:40px;
        border:0;
        border-radius:8px;
        padding:0 14px;
        font-weight:700;
        cursor:pointer;
        background:#F0C717;
        color:#0B1F35;
        box-shadow:0 1px 0 rgba(0,0,0,.04), 0 1px 8px rgba(0,0,0,.06);
        white-space:nowrap;

        display:inline-flex;
        align-items:center;
        gap:8px;
}
.section_thank #share_self .share-btn:hover{ filter:brightness(.98); }

/* Мини-иконка в кнопке — высота равна тексту */
.section_thank #share_self .share-btn .btn-ico{
        height:1em;
        width:auto;
        margin-left:4px;
        display:inline-block;
        vertical-align:-0.2em;
}

/* Подсказка под формой */
.section_thank #share_self .share-hint{
        margin-top:2px;
        font-size:12px;
        opacity:.66;
}

/* Адаптив */
@media (max-width: 960px){
        .section_thank #share_self .share-grid{
                grid-template-columns: 1fr;
                max-width: 640px;
        }
        .section_thank #share_self .share-input{ height:38px; }
        .section_thank #share_self .share-btn{ height:38px; padding:0 12px; }
}
@media (max-width: 420px){
        .section_thank #share_self .share-row{
                flex-direction:column;
                align-items:stretch;
                gap:8px;
        }
        .section_thank #share_self .share-btn{
                width:100%;
                justify-content:center;
        }
}
/* ===== THANK: кнопки — тёмные, белый текст, крупнее иконка ===== */
.section_thank #share_self .share-btn{
        flex:0 0 auto;
        height:42px;
        border:0;
        border-radius:8px;
        padding:0 16px;
        font-weight:700;
        cursor:pointer;

        background:#0C1628;        /* чёрный по ТЗ */
        color:#FFFFFF;             /* белый текст */
        box-shadow:0 1px 0 rgba(0,0,0,.04), 0 1px 8px rgba(0,0,0,.06);

        display:inline-flex;
        align-items:center;
        gap:10px;
        white-space:nowrap;
}
.section_thank #share_self .share-btn:hover{
        filter:brightness(1.05);
}

/* Иконка в 2 раза больше прежней */
.section_thank #share_self .share-btn .btn-ico{
        height:2em;     /* было 1em */
        width:auto;
        margin-left:6px;
        display:inline-block;
        vertical-align:-0.2em;
}

/* Мобильные размеры */
@media (max-width:960px){
        .section_thank #share_self .share-btn{
                height:40px;
                padding:0 14px;
        }
}

/* ==========================================================
   CONSENTS — новая простая раскладка чекбоксов
   ========================================================== */

/* контейнер согласий */
.forms_project .consents{
        margin: 20px 0 !important;
        padding: 0 !important;
        display: block !important;
        width: 100% !important;
}

/* список чекбоксов */
.forms_project .consents__items{
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 20px !important;
        margin-top: 10px !important;
}

/* каждый чекбокс */
.forms_project .consents label.chk{
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        cursor: pointer !important;
        border: none !important;
        background: none !important;
        min-width: 0 !important;
        flex: 1 !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
}

/* сам чекбокс */
.forms_project .consents label.chk > input[type="checkbox"]{
        width: 16px !important;
        height: 16px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 2px solid #ccc !important;
        border-radius: 3px !important;
        background: #fff !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        appearance: auto !important;
        -webkit-appearance: auto !important;
        -moz-appearance: auto !important;
}

/* текст чекбокса */
.forms_project .consents label.chk .chk__text{
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        color: #2B2E34 !important;
        text-transform: none !important;
        font-weight: 400 !important;
        letter-spacing: normal !important;
        cursor: pointer !important;
        flex: 1 !important;
}

/* ссылки в тексте */
.forms_project .consents label.chk .chk__text a{
        color:inherit !important;
        text-decoration:underline;
        text-underline-offset:2px;
}
.forms_project .consents label.chk .chk__text a:hover{ 
        text-decoration:none; 
}

/* адаптив — по одной строке */
@media (max-width: 1000px){
        .forms_project .consents__items{ 
                flex-direction: column !important;
                gap: 10px !important;
        }
}

/* Мобильная версия - поля формы в одну колонку */
@media (max-width: 768px){
        .forms_project > .form_item > .group_ > label {
                flex-basis: 100%;
                margin: 15px 0;
                min-width: 100%;
        }
        .forms_project > .form_item {
                max-width: 100%;
                padding: 0 15px;
        }
}

/* ==========================================================
   FOOTER — подвал сайта
   ========================================================== */

.footer {
        background-color: #F6F6F8;
        padding: 40px 0;
        margin-top: 60px;
}

.footer__container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 40px;
}

.footer__left {
        flex: 1;
        max-width: 600px;
}

.footer__title {
        font-weight: bold;
        font-size: 11px;
        color: #2B2E34;
        margin-bottom: 15px;
        line-height: 1.4;
}

.footer__logo {
        margin-bottom: 20px;
}

.footer__logo img {
        max-width: 120px;
        height: auto;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: pixelated;
        image-rendering: optimize-contrast;
        -ms-interpolation-mode: nearest-neighbor;
}

.footer__disclaimer {
        font-size: 10px;
        color: #666;
        line-height: 1.5;
        margin-bottom: 15px;
}

.footer__copyright {
        font-size: 10px;
        color: #999;
        line-height: 1.4;
}

.footer__right {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
}

.footer__link {
        color: #2B2E34;
        text-decoration: none;
        font-size: 14px;
        line-height: 1.4;
        transition: color 0.3s ease;
}

.footer__link:hover {
        color: #f0c717;
        text-decoration: underline;
}

/* Кнопка-ссылка в первой секции */
.button-link {
        display: inline-block;
        padding: 15px 45px;
        background: #4B4942;
        color: white;
        text-decoration: none;
        border-radius: 50px;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 0px 7px 12px #0c16286e;
        font-size: 12px;
        font-weight: 600;
        transition: all 0.3s ease;
        margin-top: 20px;
        cursor: pointer;
}

.button-link:hover {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        box-shadow: 0px 12px 20px #0c16286e;
        color: white;
        text-decoration: none;
}

/* ==========================================================
   SALARY INFO FIELD — желтое поле с информацией о заработке
   ========================================================== */

.salary_info_field {
        background-color: #F0C717;
        padding: 20px;
        margin: 20px 0;
        border-radius: 8px;
        display: flex;
        gap: 20px;
        align-items: flex-start;
}

.salary_info_left {
        flex: 1;
}

.salary_info_left h3 {
        font-size: 16px;
        font-weight: bold;
        color: #2B2E34;
        margin: 0;
        line-height: 1.4;
}

.salary_info_right {
        flex: 1;
        font-size: 14px;
        color: #2B2E34;
        line-height: 1.5;
}

.salary_info_right p {
        margin: 8px 0;
        font-weight: 500;
}

/* Адаптив для желтого поля */
@media (max-width: 768px) {
        .salary_info_field {
                flex-direction: column;
                gap: 15px;
        }
        
        .salary_info_left h3 {
                font-size: 14px;
        }
        
        .salary_info_right {
                font-size: 13px;
        }
}

/* ==========================================================
   THANK PAGE — страница благодарности
   ========================================================== */

.thank_page {
        padding: 120px 0 60px 0;
        background: #fff;
        min-height: 100vh;
}

.thank_container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
}

.thank_header {
        text-align: center;
        margin-bottom: 40px;
}

.thank_header h1 {
        font-size: 36px;
        font-weight: bold;
        color: #2B2E34;
        margin-bottom: 20px;
        line-height: 1.2;
}

.thank_subtitle {
        font-size: 16px;
        color: #666;
        line-height: 1.5;
        max-width: 600px;
        margin: 0 auto;
}

.thank_share_title {
        text-align: center;
        margin-bottom: 40px;
}

.thank_share_title h2 {
        font-size: 24px;
        font-weight: 600;
        color: #2B2E34;
        line-height: 1.3;
}

.thank_forms {
        display: flex;
        gap: 40px;
        margin-bottom: 60px;
        justify-content: center;
}

.thank_form_block {
        flex: 1;
        max-width: 400px;
        background: #f8f9fa;
        padding: 30px;
        border-radius: 8px;
        border: 1px solid #e9ecef;
}

.thank_form_block h3 {
        font-size: 18px;
        font-weight: 600;
        color: #2B2E34;
        margin-bottom: 20px;
        line-height: 1.3;
}

.form_input_group {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
        align-items: flex-start;
        flex-wrap: wrap;
}

.form_input {
        flex: 1;
        padding: 12px 16px;
        border: 2px solid #ddd;
        border-radius: 4px;
        font-size: 16px;
        color: #2B2E34;
        background: #fff;
        transition: border-color 0.3s ease;
}

.form_input:focus {
        outline: none;
        border-color: #f0c717;
}

.form_button {
        background: #4B4942;
        color: white;
        border: none;
        padding: 15px 45px;
        border-radius: 50px;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 0px 7px 12px #0c16286e;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        min-width: fit-content;
        font-weight: 600;
}

.form_button:hover {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        box-shadow: 0px 12px 20px #0c16286e;
}

.button_icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
}

.form_note {
        font-size: 12px;
        color: #666;
        line-height: 1.4;
        margin: 0;
}

.thank_profile {
        text-align: center;
        margin-top: 60px;
}

.thank_profile h2 {
        font-size: 24px;
        font-weight: 600;
        color: #2B2E34;
        margin-bottom: 30px;
        line-height: 1.3;
}

.profile_info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    max-width: 800px;
    margin: 0 auto;
}

.profile_info p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.profile_info_field {
    background-color: #F0C717;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.profile_info_left {
    flex: 1;
}

.profile_info_left h3 {
    font-size: 16px;
    font-weight: bold;
    color: #2B2E34;
    margin: 0 0 15px 0;
    line-height: 1.4;
    text-align: left;
}

.profile_info_left p {
    font-size: 14px;
    color: #2B2E34;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
    text-align: left;
}

.profile_info_right {
    flex: 1;
}

.profile_info_right h3 {
    font-size: 16px;
    font-weight: bold;
    color: #2B2E34;
    margin: 0 0 15px 0;
    line-height: 1.4;
    text-align: left;
}

.profile_info_right p {
    font-size: 14px;
    color: #2B2E34;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
    text-align: left;
}

/* Адаптив для страницы благодарности */
@media (max-width: 768px) {
        .thank_page {
                padding: 100px 0 40px 0;
        }
        
        .thank_header h1 {
                font-size: 28px;
        }
        
        .thank_subtitle {
                font-size: 14px;
        }
        
        .thank_share_title h2 {
                font-size: 20px;
        }
        
        .thank_forms {
                flex-direction: column;
                gap: 30px;
        }
        
        .thank_form_block {
                max-width: 100%;
        }
        
        .form_input_group {
                flex-direction: column;
                gap: 10px;
        }
        
        .form_button {
                width: 100%;
                justify-content: center;
                padding: 15px 20px;
        }
        
        .thank_profile h2 {
                font-size: 20px;
        }
        
        .profile_info_field {
                flex-direction: column;
                gap: 15px;
        }
        
        .profile_info_left h3,
        .profile_info_right h3 {
                font-size: 14px;
        }
        
        .profile_info_left p,
        .profile_info_right p {
                font-size: 13px;
        }
}

/* Адаптив для подвала */
@media (max-width: 768px) {
        .footer__container {
                flex-direction: column;
                gap: 30px;
        }
        
        .footer__right {
                align-items: flex-start;
        }
        
        .footer__logo img {
                max-width: 100px;
        }
}
