/* common styles */
a,
button,
a:hover,
a img,
button:hover,
a:hover img,
button:hover img,
button img,
.stages__item--icon,
.active .stages__item--icon {
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

section {
    margin: 60px 0;
    padding: 0 !important;
}

.form-zvonok.form-footer.form-template {
    display: none;
}

@media screen and (min-width: 640px) {
    section {
        margin: 80px 0;
    }
}

@media screen and (min-width: 1000px) {
    section {
        margin: 120px 0;
    }
}

/* common styles end */

/* promo */
.promo {
    margin-top: 0;
    position: relative;
}

.promo * {
    position: relative;
    color: var(--background);
}

.promo__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    object-fit: cover;
    z-index: 1;
}

.promo__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(104.54deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0) 98.44%);
    pointer-events: none;
    z-index: 1;
}

.promo .promo__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.promo .promo__content {
    display: flex;
    flex-direction: column;
    padding: 40px 0;
}

.promo .promo__subtitle {
    margin-bottom: 10px;
    font: 500 14px/130% var(--text-font);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.promo .promo__title {
    font: 600 36px/130% var(--title-font);
    max-width: 450px;
}

.promo .promo__button {
    margin: 300px 0 0 10px;
    padding: 14px;
    width: calc(100% - 20px);
    font: 500 14px/130% var(--text-font);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--title-color);
    background-color: var(--background);
    outline: 1px solid var(--background);
    outline-offset: 9px;
    border-radius: 100px;
}

.promo .promo__button:hover {
    border-color: var(--background);
    outline-color: transparent;
}

.promo .promo__features {
    margin-top: 31px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.promo .promo__features .feature {
    padding: 19px 20px;
    border-radius: 6px;
    font: 500 14px/150% var(--text-font);
    color: var(--dark-grey-color);
    background-color: var(--block-background);
}

@media screen and (min-width: 640px) {
    .promo .promo__bg {
        height: 100%;
    }

    .promo .promo__button {
        margin: 40px 0 276px 10px;
        max-width: 323px;
    }

    .promo .promo__features {
        margin-top: 0;
        margin-bottom: 30px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .promo .promo__features .feature {
        padding: 16px 30px;
        border-radius: 10px;
        font-size: 16px;
        color: var(--background);
        background-color: #A2A2A266;
        backdrop-filter: blur(30px);
    }

    .promo .promo__features .feature:nth-child(3) {
        padding-right: 70px;
    }
}

@media screen and (min-width: 1000px) {
    .promo__bg::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(104.54deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.324) 39.53%,
        rgba(0, 0, 0, 0) 98.44%);
        pointer-events: none;
        z-index: 1;
    }

    .promo .promo__content {
        padding: 140px 0 146px 0;
    }

    .promo .promo__subtitle {
        margin-bottom: 20px;
    }

    .promo .promo__title {
        font-size: 60px;
        max-width: 760px;
    }

    .promo .promo__button {
        margin: 50px 0 0 10px;
        max-width: 342px;
    }
}

@media screen and (min-width: 1200px) {
    .promo .promo__features {
        margin-bottom: 40px;
        gap: 30px;
        grid-template-columns: repeat(4, 1fr);
    }

    .promo .promo__features .feature:nth-child(3) {
        padding-right: 30px;
    }
}
/* promo end */

/*plan*/
.plan .plan__title {
    margin-bottom: 30px;
    font: 600 21px/130% var(--title-font);
    color: var(--title-color);
    max-width: 275px;
}

.plan .plan__content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.plan .plan__item {
    display: flex;
    flex-direction: column;
}

.plan .plan__item .item__img {
    margin-left: -16px;
    width: 100vw;
    max-height: 230px;
}
.plan .plan__item .item__content {
    display: flex;
    flex-direction: column;
}

.plan .plan__item .item__title {
    margin-top: 31px;
    font: 600 18px/130% var(--title-font);
    color: var(--title-color);
}

.plan .plan__item .item__text {
    margin-top:18px;
    font: 400 16px/150% var(--text-font);
    color: var(--dark-grey-color);
}

@media screen and (min-width: 500px) {
    .plan .plan__item .item__img {
        margin-left: -26px;
    }
}

@media screen and (min-width: 640px) {
    .plan .plan__title {
        margin-bottom: 40px;
        max-width: none;
        font-size: 26px;
    }

    .plan .plan__item {
        flex-direction: row;
        gap: 30px;
    }

    .plan .plan__item .item__img {
        margin-left: 0;
        width: 100%;
        min-width: 375px;
        border-radius: 10px;
    }

    .plan .plan__item .item__content {
        justify-content: center;
    }

    .plan .plan__item .item__title {
        margin-top: 0;
    }
}

@media screen and (min-width: 1000px) {
    .plan .plan__title {
        font-size: 30px;
    }

    .plan .plan__content {
        flex-direction: row;
        gap: 30px;
    }

    .plan .plan__item {
        flex-direction: column;
    }

    .plan .plan__item .item__img {
        max-width: 420px;
        max-height: 260px;
        border-radius: 20px;
    }

    .plan .plan__item .item__title,
    .plan .plan__item .item__text {
        max-width: 325px;
    }
}

/* plan end */

/* stages */
.stages .stages__inner {
    display: flex;
    flex-direction: column;
}

.stages .stages__title-info {
    display: flex;
    flex-direction: column;
    color: var(--title-color);
}

.stages .stages__title-info .subtitle {
    font: 500 14px/130% var(--text-font);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.stages .stages__title-info .title {
    margin-top: 20px;
    font: 600 21px/130% var(--title-font);
}

.stages .stages__title-info .descr {
    margin-top: 30px;
    font: 400 16px/150% var(--text-font);
}

.stages__wrapper {
    margin-top: 38px;
}

.stages__wrapper .stages-btn {
    margin: 9px 0 30px 10px;
    width: calc(100% - 20px);
    padding: 14px;
    font: 500 14px/130% var(--text-font);
    outline: 1px solid var(--main-color);
    outline-offset: 9px;
    border-radius: 100px;
    text-align: center;
    letter-spacing: 0.1em;
}

.stages__wrapper .stages-btn:hover {
    border-color: var(--main-color);
    background-color: var(--main-color);
    color: var(--background);
    outline-color: transparent;
}

.stages .item {
    position: relative;
}

.stages .item:last-child {
    margin: 0 -15px 0;
    padding: 0 15px 0;
}

.stages .item:last-child::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--tab-color);
    transform: scaleY(0.5);
    transform-origin: bottom;
}

.stages .j-dd-button {
    position: relative;
    margin: 0 -16px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 40px 18px 20px 61px;
    font: normal 500 16px/20px var(--text-font);
    color: var(--title-color);
    cursor: pointer;
}

.stages .j-dd-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--tab-color);
    transform: scaleY(0.5);
    transform-origin: top;
}

.stages .j-drop-down {
    display: block;
    padding-bottom: 20px;
}

.stages ul {
    margin-bottom: 10px;
}

.stages ul li {
    position: relative;
    padding: 0 0 20px 24px;
}

.stages ul li::before {
    content: "";
    display: block;
    background: var(--title-color);
    width: 6px;
    height: 6px;
    border-radius: 100%;
    position: absolute;
    top: 23%;
    left: 1px;
}

.stages ol {
    counter-reset: custom-counter;
}

.stages ol li {
    counter-increment: custom-counter;
    list-style: none;
}

.stages ol li::before {
    content: "0" counter(custom-counter);
    color: var(--title-color);
    font: normal 600 16px/130% var(--title-font);
    position: absolute;
    top: 42px;
    left: 0;
}

.stages ol li:last-of-type::before {
    left: 16px;
}


.stages-answer {
    color: var(--text-color);
    font: 400 16px/150% var(--text-font);
    padding-left: 45px;
    margin-bottom: 32px;
}

.stages__title {
    width: 70%;
    margin-bottom: 29px;
}

.active .stages__item--icon {
    transform: rotate(45deg);
}

.stages__item--icon {
    transform: rotate(0);
    width: 24px;
    height: 24px;
    top: 2px;
    position: relative;
}

.stages-question-text {
    width: 85%;
    color: var(--title-color);
    font: normal 600 16px/130% var(--title-font);
}

.active .stages-answer__wrapper {
    display: block;
}

.stages-answer__wrapper {
    display: none;
}

@media screen and (min-width: 500px) and (max-width: 640px) {

    .stages .j-dd-button,
    .stages .item:last-child {
        margin: 0 -26px;
    }

    .stages ol li:last-of-type::before {
        left: 26px;
    }

    .stages .j-dd-button,
    .stages .item:last-child {
        margin: 0 -30px;
    }

    .stages .item:last-child {
        padding: 0 30px;
    }

    .stages ol li:last-of-type::before {
        left: 30px;
    }
}

@media screen and (min-width: 640px) {
    .stages .stages__title-info .title {
        font-size: 26px;
    }

    .stages .j-dd-button {
        margin: 0 -30px;
        padding: 44px 28px 17px 75px;
    }

    .stages ol li::before {
        font: normal 600 18px/130% var(--title-font);
    }

    .stages__wrapper .stages-btn {
        width: 100%;
        max-width: 322px;
        margin-bottom: 30px;
        position: relative;
        left: 45px;
        margin-top: 20px;
    }

    .stages__title._h2 {
        margin-bottom: 41px;
    }

    .stages-answer {
        margin-bottom: 22px;
        width: 90%;
    }

    .stages__item--icon {
        top: -4px;
        right: 2px;
    }

    .stages-question-text {
        font: normal 600 18px/130% var(--title-font);
    }

    .j-drop-down {
        display: block;
        padding-bottom: 18px;
    }


    .stages .item:last-child {
        margin: 0 -30px 0;
        padding: 0 30px 0;
    }

    .stages ol li:last-of-type::before {
        left: 30px;
    }

    .standard-banner._red {
        padding: 80px 0;
    }

    .stages .j-drop-down {
        padding-bottom: 19px;
    }
}


@media screen and (min-width: 1200px) {
    .stages .stages__inner {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
    }

    .stages .stages__title-info {
        max-width: 533px;
    }

    .stages .stages__title-info .title {
        max-width: 400px;
        font-size: 30px;
    }

    .stages ol li::before {
        top: 41px;
        left: 4px;
        width: 85%;
        font: normal 500 26px/130% var(--title-font);
        color: var(--title-color);
    }

    .stages__title._h2 {
        width: 100%;
        margin-bottom: 40px;
    }

    .stages .wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .stages__title._h2 {
        width: 100%;
        margin-bottom: 39px;
    }

    .stages-question-text {
        color: var(--title-color);
        font: normal 600 21px/130% var(--title-font);
    }

    .stages .j-dd-button {
        margin: 0 0;
        padding: 34px 27px 15px 85px;
    }

    .stages .item:last-child {
        margin: 0;
        padding: 0;
    }

    .stages ol li:last-of-type::before {
        left: 3px;
    }

    .stages ol li::before {
        top: 41px;
        left: 4px;
        width: 85%;
        font: normal 600 21px/27px var(--title-font);
    }

    .stages__wrapper {
        width: 100%;
        max-width: 645px;
    }

    .stages .j-drop-down {
        display: block;
        padding-bottom: 18px;
    }

    .stages__item--icon {
        position: relative;
        margin: 1px 2px 3px 2px;
        padding: 2px;
        width: 32px;
        height: 32px;
        top: 0;
        right: -11px;
    }

    .project__list {
        margin-top: 40px;
    }

    .stages-answer {
        width: 84%;
        padding: 9px 0 0 83px;
    }

    .stages__wrapper .stages-btn {
        margin-top: 30px;
        left: 82px;
    }

    .stages .item {
        width: 100%;
    }
}
/* stages end */

/* supervision */
.supervision .supervision__content {
    display: flex;
    flex-direction: column-reverse;
}

.supervision .img {
    margin-bottom: 40px;
    margin-left: -16px;
    width: 100vw;
}

.supervision .info {
    display: flex;
    flex-direction: column;
    color: var(--title-color);
}

.supervision .info .subtitle {
    font: 500 14px/130% var(--text-font);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.supervision .info .title {
    margin-top: 20px;
    font: 600 21px/130% var(--title-font);
}
.supervision .info .text {
    margin-top: 29px;
    font: 400 16px/150% var(--text-font);
}

@media screen and (min-width: 500px) {
    .supervision .img {
        margin-left: -26px;
    }
}

@media screen and (min-width: 640px) {
    .supervision .img {
        margin-left: -30px;
    }

    .supervision .info .title {
        font-size: 26px;
    }
}

@media screen and (min-width: 1200px) {
    .supervision .supervision__content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .supervision .info {
        max-width: 520px;
        padding-bottom: 16px;
    }

    .supervision .info .title {
        margin-top: 22px;
        font-size: 30px;
    }

    .supervision .info .text {
        margin-top: 30px;
    }

    .supervision .img {
        margin: 0;
        width: 100%;
        max-width: 645px;
        max-height: 470px;
        border-radius: 20px;
    }
}
/* supervision end */

/* lead */
.lead {
    position: relative;
}

.lead * {
    color: var(--background);
}

.lead__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 520px;
    object-fit: cover;
    z-index: 1;
}

.lead .lead__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.lead .lead__title {
    margin-top: 40px;
    font: 600 30px/130% var(--title-font);
}

.lead .lead__text {
    margin-top: 20px;
    font: 500 18px/150% var(--text-font);
}

.lead .lead__button {
    margin: 199px 0 40px 10px;
    padding: 14px;
    width: calc(100% - 20px);
    font: 500 14px/130% var(--text-font);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--title-color);
    background-color: var(--background);
    outline: 1px solid var(--background);
    outline-offset: 9px;
    border-radius: 100px;
}

.lead .lead__button:hover {
    border-color: var(--background);
    outline-color: transparent;
}

@media screen and (min-width: 640px) {
    .lead__bg {
        height: 520px;
    }

    .lead .lead__inner {
        align-items: center;
    }

    .lead .lead__title {
        margin-top: 134px;
        max-width: 600px;
        font-size: 36px;
        text-align: center;
    }

    .lead .lead__button {
        margin: 50px 0 145px 0;
        max-width: 340px;
    }
}

@media screen and (min-width: 1000px) {
    .lead .lead__title {
        margin-top: 120px;
        max-width: 820px;
        font-size: 46px;
    }

    .lead .lead__button {
        margin-bottom: 133px;
    }
}
/* lead end */

/* steps */
.steps .steps__title {
    font: 600 21px/130% var(--title-font);
    color: var(--title-color);
}

.steps-container {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    column-gap: 30px;
    margin-top: 30px;
}

.steps-item {
    box-sizing: border-box;
    position: relative;
    height: auto;
    width: 100%;
    padding: 30px;
    background: var(--block-background);
    border-radius: 10px;
    transition: .3s all;
}

.steps-item__title {
    position: relative;
    z-index: 3;
    font: 600 18px/130% var(--title-font);
    color: var(--title-color);
    margin-bottom: 19px;
}

.steps-item__subtitle, .steps-item__subtitle button {
    position: relative;
    z-index: 3;
    font: 400 16px/150% var(--text-font);
    color: var(--dark-grey-color);
}

.steps-item__subtitle a,
.steps-item__subtitle button {
    text-decoration: underline;
}

.steps-item__subtitle a:hover,
.steps-item__subtitle button:hover {
    text-decoration: none;
}

.steps-item__num {
    display: none;
    position: absolute;
    bottom: 18px;
    right: 45px;
    font: 600 140px/130% var(--title-font);
    color: #EFEFEF;
}

@media screen and (min-width: 640px) {
    .steps .steps__title {
        font-size: 26px;
    }

    .steps-container {
        margin-top: 40px;
    }

    .steps-item {
        padding: 40px;
    }

    .steps-item__num {
        display: block;
    }

    .steps-item__title {
        max-width: 345px;
    }
    .steps-item__subtitle {
        max-width: 400px;
    }
}

@media screen and (min-width: 1000px) {
    .steps-container {
        flex-direction: row;
    }

    .steps .steps__title {
        font-size: 30px;
    }

    .steps-container {
        margin-top: 40px;
    }

    .steps-item {
        height: 400px;
        width: calc(50% - 20px);
        padding: 40px;
        border-radius: 20px;
    }

    .steps-item__num {
        right: 40px;
    }

    .steps-item__title {
        max-width: 310px;
    }

    .steps-item__subtitle {
        max-width: 338px;
    }

    .steps-container .steps-item:last-child .steps-item__subtitle {
        max-width: 330px;
    }

    .steps-item__num {
        bottom: 0;
        font-size: 160px;
    }
}
/* steps end */

/* answers */
.answers .answers__title {
    margin-bottom: 30px;
    padding-top: 1px;
    font: 600 21px/130% var(--title-font);
    color: var(--title-color);
}

.answers ul {
    margin-bottom: 10px;
}

.answers ul li {
    position: relative;
    padding: 0 0 20px 24px;
}

.answers ul li::before {
    content: "";
    display: block;
    background: var(--title-color);
    width: 6px;
    height: 6px;
    border-radius: 100%;
    position: absolute;
    top: 23%;
    left: 1px;
}

.answer-item-button {
    margin-bottom: 0;
    padding: 30px 21% 29px 15px;
    display: block;
    position: relative;
    width: 100%;
    font: 500 16px/150% var(--text-font);
    background-color: var(--background);
    color: var(--title-color);
    line-height: 20px;
    cursor: pointer;
    box-sizing: border-box;
    border-top: 1px solid var(--line-color);
}

.answer-item-button .answer-txt {
    display: block;
    font: 500 16px/150% var(--text-font);
}

.answer-item-button .arrow {
    display: inline-block;
    position: absolute;
    cursor: pointer;
    top: 47%;
    right: 20px;
}

.answer-item-button .arrow span:nth-child(1) {
    transform: rotate(90deg);
    transition: .1s;
    position: relative;
    top: 1.5px;
}

drop-down.active .answer-item-button .arrow span:nth-child(1) {
    transform: rotate(180deg);
}

.j-dd-wrapper {
    display: none;
}

.answer-item-content {
    position: relative;
    padding: 0 16px 50px;
    font: 400 16px/150% var(--text-font);
    color: var(--text-color);
}

.answers .wrapper:last-of-type {
    min-width: 100%;
}

.answers_menu-container {
    border-bottom: 1px solid var(--line-color);
}

drop-down {
    position: relative;
}
.answer-item-button .arrow span {
    display: block;
    width: 16px;
    height: 2px;
    background-color: var(--dark-grey-color);
}



@media screen and (min-width: 640px) {
    .answers .answers__title {
        margin-bottom: 38px;
        padding-top: 2px;
        font-size: 26px;
    }

    .answer-item-button {
        padding-right: 15%;
    }
    .answer-item-button .arrow {
        top: 48%;
        right: 30px;
    }

    .answers .wrapper:last-of-type {
        min-width: auto;
    }
}

@media screen and (min-width: 1000px) {
    .answers .answers__title {
        margin-bottom: 40px;
        padding-top: 0;
        font-size: 30px;
    }

    .answer-item-button {
        color: var(--dark-grey-color);
        background-color: var(--block-background);
        padding: 31px 30px 32px 99px;
        margin-bottom: 10px;
        border: none;
        border-radius: 10px;
    }

    .answers_menu-container {
        border: none;
    }

    .answer-item-content {
        font-size: 18px;
        padding: 11px 28% 49px 99px;
    }

    .answer-item-button .arrow {
        top: 46%;
        left: 40px;
        cursor: pointer;
    }

    .answer-item-button .arrow span {
        background-color: var(--main-color);
        width: 18px;
    }
    .answer-item-button .arrow span:nth-child(1) {
        top: 2px;
    }

    .answer-item-button .answer-txt {
        font-size: 18px;
    }

    drop-down:last-child .answer-item-content {
        padding-bottom: 40px;
    }
}
/* answers end */

/* insurance-now */
.insurance-now .h3.insurance-now-sub {
    margin-bottom: 56px;
    width: 95%;
}

@media screen and (min-width: 640px) {
    .insurance-now .h3.insurance-now-sub {
        font-size: 21px;
        width: 70%;
    }
}

@media screen and (min-width: 1000px) {
    .insurance-now .h3.insurance-now-sub {
        font-size: 30px;
        width: 55%;
    }
}
/* insurance-now end */