@import url(./variables.css);
@import url(./reset.css);
@import url(../node_modules/toastify-js/src/toastify.css);

.bg-container {
    position: absolute;
    width: 100%;
    height: 812px;
    background: linear-gradient(164.31deg, rgba(0, 0, 0, 0.4) -9.9%, rgba(0, 0, 0, 0.288) 113.34%),
        url(../images/img/bg_descktop.jpg);
    background-position: 72%;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -999;
}

/* header */

.nav-list {
    width: 90%;
    display: flex;
    justify-content: space-between;
    padding-top: 4.21rem;
    margin: 0 auto 4.14rem;
}

.nav-list button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 52px;
    height: 52px;
    padding: none;
    background-color: transparent;
}

.logo-container {
    width: 13.357rem;
    height: 6.857rem;
    text-align: center;
    margin: 0 auto 6.142rem;
}
.logo-container a img {
    transition: transform var(--transition);
}

.modalOpenBtn-icon,
.phoneBtn-icon {
    transition: transform var(--transition);
}

.modalOpenBtn:hover .modalOpenBtn-icon,
.modalOpenBtn:focus .modalOpenBtn-icon,
.phoneBtn:focus .phoneBtn-icon,
.phoneBtn:hover .phoneBtn-icon,
.logo-container a:focus img,
.logo-container a:hover img {
    transform: scale(1.2);
}

/* hero */

.hero-title {
    display: block;
    width: 277px;
    font-size: 2.571rem;
    line-height: 3rem;
    text-align: center;
    margin: 0 auto 8.928rem;
}

.hero-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-list__item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75%;
    height: 4.357rem;

    margin-bottom: 1.857rem;
}

.hero-list__button {
    font-size: 1.285rem;
    line-height: 1.5rem;
    color: var(--button-text-color);
    width: 100%;
    height: 100%;
    display: flex;
    border: solid 1px #c4c4c4;
    justify-content: center;
    align-items: center;
    transition: background-color var(--transition), color var(--transition),
        border-color var(--transition);
}
.hero-list__button:hover,
.hero-list__button:focus {
    background-color: rgba(17, 17, 17, 0.9);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.hero-list__item:last-child {
    margin-bottom: 0px;
}

.hero-link__next {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 30px;
    height: fit-content;
}

.hero-arrow {
    text-align: center;
    padding: 2rem 0;
}

/* call-form */
.call-form__container {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.call-form {
    position: absolute;
    width: 100%;
    top: 302px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 73px 0 100px;
    text-align: center;
}

.call-form__containerOpen {
    display: block;
}

.call-form__container h4 {
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 73px;
}

.call-form__container input {
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    border: 2px solid #000000;
    color: var(--stages-text);
    width: 90%;
    height: 57px;
    padding-left: 52px;
}

.call-form__container input:first-of-type {
    margin-bottom: 14px;
}

.call-form__container input:last-of-type {
    margin-bottom: 26px;
}

.call-form__container input::placeholder {
    font-weight: 500;
    color: var(--main-text-color);
}

.form-btn {
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    text-align: center;
    border: none;
    width: 90%;
    color: var(--button-bg-color);
    height: 81px;
    background-color: var(--accent-color);
}

.call-form__btn {
    position: absolute;
    top: 28px;
    right: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.form-btn__icon {
    width: 38px;
    height: 38px;
}

.call-form .call-form__btn:hover svg.form-btn__icon,
.call-form .call-form__btn:focus svg.form-btn__icon {
    transform: scale(1.2);
}

/* benefits */

.benefits-container {
    font-weight: 400;
    padding: 0.857rem 0.714rem 0 0.714rem;
    color: var(--main-text-color);
    text-align: center;
    margin-bottom: 56px;
}

.benefits-list {
    line-height: 1.14rem;
    background-color: #f9f9f9;
    padding: 0.857rem 3.285rem;
}

.benefits-list__item span {
    display: block;
    font-size: 3.428rem;
    line-height: 4rem;
    margin-bottom: 8px;
}

.benefits-list__item h3 {
    font-size: 1.285rem;
    line-height: 1.5rem;
    margin-bottom: 8px;
}

.benefits-list__item p {
    line-height: 1.142rem;
    margin-bottom: 1.285rem;
    font-weight: 300;
}

.benefits-list__item::after {
    content: '';
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 10px;
    height: 10px;
    background-color: var(--benefits-text-color);
    margin-bottom: 33px;
}

.benefits-list__item:last-child::after {
    margin-bottom: 0px;
}

/* title */
section h2 {
    color: var(--text-color);
    font-weight: 300;
    font-size: 1.714rem;
    line-height: 2rem;
    text-align: center;
    margin-bottom: 3.285rem;
}

section h2::after {
    position: absolute;
    content: '';
    display: block;
    height: 5px;
    width: 4.357rem;
    background-color: black;
    margin-top: 1rem;
    left: 0;
}

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

.price-container {
    font-size: 1.285rem;
    color: var(--text-color);
    padding: 0 1.857rem;
    margin-bottom: 7.857rem;
}

.price-container span {
    font-weight: 400;
    line-height: 1.5rem;
    color: var(--text-color);
    display: block;
    text-align: center;
    margin-bottom: 1.285rem;
}

.price-container__text {
    line-height: 1.857rem;
    color: var(--main-text-color);
    text-align: center;
    margin-bottom: 3.28rem;
}

.price-bonus__container {
    margin-left: 0.571rem;
    margin-bottom: 4.285rem;
    position: relative;
}

.price-bonus__container::after {
    content: '';
    display: block;
    width: 1px;
    height: 153px;
    background-color: var(--border-color);
    position: absolute;
    top: 0;
}

.price-bonus__content {
    margin-left: 2.5rem;
}

.ptice-bonus__title {
    font-weight: 400;
    color: var(--text-color);
    text-align: start;
    margin-bottom: 0.571rem;
}

.price-bonus__text {
    font-size: 1rem;
    line-height: 1.42rem;
    margin: 0.8rem 0rem;
}

.price-bonus__text-container::after {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    background-color: var(--benefits-text-color);
    margin-right: 6px;
}

.price-bonus__item {
    display: flex;
    align-items: baseline;
}

.price-bonus__item:first-child {
    position: relative;
}

.price-bonus__item:first-child::after {
    position: absolute;
    content: '';
    display: block;
    width: 344px;
    height: 1px;
    bottom: 0;
    left: -70px;
    background-color: var(--border-color);
}

.price-bonus__btn-tablet {
    display: none;
}

.price-bonus__btn {
    font-weight: 300;
    display: block;
    margin: 0 auto;
    width: 16.42rem;
    height: 3.57rem;
    background-color: var(--button-bg-color);
    color: var(--button-text-color);
    transition: color var(--transition), transform var(--transition);
}

.price-bonus__btn:focus,
.price-bonus__btn:hover {
    color: var(--accent-color);
    transform: scale(1.05);
}

.bg-figure {
    width: 275px;
    height: 151px;
    margin-bottom: 28px;
}

.bg-figure div {
    position: absolute;
    width: 275px;
    height: 151px;
    background-image: url(../images/price/figure.svg);
    left: -26px;
}

.bg-figure::after {
    position: relative;
    content: '';
    display: block;
    width: 38px;
    height: 31px;
    background-image: url(../images/price/rect.svg);
    right: -120px;
    top: -3px;
}

/* quiz */

.quiz-container {
    position: absolute;
    z-index: 50;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    padding: 62px 35px 58px;
    background: #ffffff;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.25);
}

.quiz-close {
    display: none;
}

.quiz-open {
    display: block;
}

.quiz-form__btn {
    background-color: transparent;
    position: absolute;
    top: 25px;
    right: 25px;
}

.quiz-content h3 {
    font-weight: 900;
    font-size: 18px;
    line-height: 21px;
    color: var(--text-color);
    margin-bottom: 19px;
    text-align: center;
}

.quiz-content p {
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
    color: var(--main-text-color);
    margin-bottom: 32px;
    text-align: center;
}

.quiz-container label {
    font-weight: 300;
    font-size: 14px;
    line-height: 16px;
    color: var(--main-text-color);
}

.question-1__list-item,
.question-2__list-item,
.question-3__list-item {
    margin-bottom: 10px;
}

.quiz-content__list-item:not(:last-child) {
    margin-bottom: 30px;
}

.quiz-img__container {
    width: 218px;
    height: 128px;
    margin: 0 auto 10px;
}

.quiz-img__container img {
    width: 100%;
    height: 100%;
}

.question-4__list-item {
    text-align: center;
    margin-bottom: 40px;
}

.quiz-form__submit-btn {
    width: min(90%, 274px);
    height: 51px;
    color: var(--button-bg-color);
    background-color: var(--accent-color);
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
}
.userData-form {
    border: 1px solid var(--accent-color);
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}
.userData-method__list {
    text-align: start;
}
.userData-method__list li {
    margin-bottom: 15px;
}
.userData-list input {
    width: min(90%, 450px);
    height: 50px;
    padding-left: 15px;
    margin-bottom: 15px;
}
.userData-list input::placeholder {
    font-weight: 500;
    color: var(--main-text-color);
}

/*quiz radio */
.custom-radio {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom-radio + label::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 3px solid var(--main-text-color);
    border-radius: 50%;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

.custom-radio:not(:disabled):not(:checked) + label:hover::before {
    background-color: var(--border-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.custom-radio:not(:disabled):active + label::before {
    background-color: var(--main-text-color);
}

.custom-radio:checked + label::before {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    border-color: rgba(0, 123, 255, 0.575);
    /* border-color: rgba(0, 123, 255, 0.25); */
    background-color: var(--accent-color);
    background-image: url('../images/img/check.svg');
    background-position: center;
    background-size: 80%;
}

.question-4__list-item .custom-radio + label::before {
    content: none;
}

/* .question-4__list-item .custom-radio ~ div {
    border: 5px solid var(--border-color);
} */

.question-4__list-item .custom-radio:hover + div {
    border: 5px solid rgba(0, 123, 255, 0.25);
}

.question-4__list-item .custom-radio:checked + div {
    border: 5px solid var(--accent-color);
}

/* services */

.services h2 {
    margin-bottom: 5.142rem;
}

.services li {
    width: 100%;
    height: fit-content;
    text-align: center;
}

.services-img {
    margin-bottom: 1.142rem;
    width: 100%;
    height: auto;
}

.services h3 {
    font-weight: 500;
    font-size: 1.714rem;
    line-height: 2rem;
    color: var(--benefits-text-color);
    margin-bottom: 5px;
}

.services p {
    width: 90%;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--stages-text);
    margin: 0 auto;
}

.services p::after {
    display: block;
    width: 10px;
    height: 10px;
    content: '';
    background-color: var(--before-bg-color);
    margin: 1.142rem auto;
}

.services li:last-of-type {
    margin-bottom: 4.28rem;
}

/* projects */

.projects li {
    position: relative;
}

.projects-content__container {
    font-size: 1.285rem;
    width: 100%;
    position: absolute;
    color: #fff;
    bottom: 0;
    left: 0;
    z-index: 9999;
    padding: 0px 1.714rem;
    margin-bottom: 2rem;
}

.projects-content__container div {
    font-weight: 300;
    font-size: 18px;
    line-height: 21px;
    display: flex;
    justify-content: space-between;
}

.projects-content__container h5 {
    font-weight: 400;
    margin-bottom: 0.857rem;
}

.projects-button {
    width: 276px;
    height: 61px;
    font-weight: 300;
    font-size: 1.285rem;
    line-height: 1.5rem;
    text-align: center;
    color: var(--hero-text-color);
    background-color: var(--button-bg-color);
    border: 1px solid var(--button-bg-color);
    display: block;
    margin: 0rem auto 5.57rem;
}

.projects li:last-of-type {
    margin-bottom: 2.142rem;
}

/* stages */

.stages {
    width: 90%;
    text-align: center;
    margin: 0 auto 4.428rem;
}

.stages h2 {
    margin-bottom: 4.785rem;
}

.stages-list__item-title {
    font-weight: 500;
    font-size: 1.285rem;
    line-height: 1.5rem;
    text-align: start;
    color: var(--text-color);
    background-color: var(--accent-color);
    width: fit-content;
    margin: 0 auto;
    padding-left: 0.857rem;
    padding-right: 1.428rem;
}

.stages-list__item-title .title-accent {
    font-size: 1.714rem;
    line-height: 146.69%;
}

.stages-list__item p {
    display: block;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--stages-text);
    max-width: 90%;
    margin: 0 auto;
}

.stages-list__item svg {
    margin-bottom: 0.857rem;
}

.stages-list__item {
    margin-bottom: 2.428rem;
}

.stages-list__item-number,
.stages-list__item-text {
    display: none;
}

.stages-button {
    font-weight: 300;
    font-size: 1.714rem;
    line-height: 2rem;
    text-align: center;
    color: var(--text-color);
    background-color: inherit;
    width: 276px;
    height: 61px;
    border: solid 1px var(--button-bg-color);
    transition: transform var(--transition), backgroun-color var(--transition),
        color var(--transition);
}
.stages-button:hover,
.stages-button:focus {
    transform: scale(1.05);
    background-color: #0e0e0e;
    color: var(--button-text-color);
}

svg.stages-icon.stages-icon__envelope {
    width: 61px;
    height: 56px;
}

svg.stages-icon.stages-icon__rulle {
    width: 58px;
    height: 56px;
}

svg.stages-icon.stages-icon__calculate {
    width: 42px;
    height: 56px;
}

svg.stages-icon.stages-icon__list {
    width: 53px;
    height: 54px;
}

svg.stages-icon.stages-icon__brush {
    width: 40px;
    height: 53px;
}

svg.stages-icon.stages-icon__home {
    width: 58px;
    height: 58px;
}

/* about */

.about {
    width: 100%;
    background: url(../images/img/bg_about-mobile.jpg),
        linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right top;
    padding: 4.642rem 2.35rem 2.857rem;
    margin-bottom: 4.428rem;
}

.about h3 {
    font-weight: 300;
    font-size: 1.285rem;
    line-height: 1.857rem;
    text-align: center;
    color: var(--about-text-color);
    margin-bottom: 1rem;
}

.about p {
    font-weight: 300;
    line-height: 1.5rem;
    text-align: center;
    color: var(--about-text-color);
}

.about p::after {
    display: block;
    content: '';
    width: 10px;
    height: 10px;
    margin-left: auto;
    margin-right: auto;
    background: var(--about-text-color);
    margin-bottom: 1rem;
}

/* insta */
.insta {
    padding: 0 0.785rem;
}

.insta h3 {
    text-align: center;
    margin-bottom: 1rem;

    display: block;
    width: fit-content;
    height: fit-content;
}

.insta ul {
    display: grid;
    grid-template: repeat(4, 1fr) / repeat(2, 1fr);
    gap: 0.357rem;
}

.insta img {
    width: 100%;
}

/* footer */

footer {
    position: relative;
    background-image: url('../images/footer/footer_bg-fig-mobile.svg');
    background-repeat: no-repeat;
    background-position: -14px 123px;
    padding: 206px 0 28px 21px;
}

footer::after {
    position: absolute;
    top: 118px;
    left: 223px;
    display: block;
    content: '';
    width: 51px;
    height: 55px;
    background-image: url('../images/footer/footer-rect.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.footer-logo__container {
    width: 187px;
    height: 74px;
    margin-bottom: 9px;
}

.footer-contacts__container-mobile {
    width: 50%;
    text-align: center;
}

.footer-contacts__container-mobile h5 {
    font-weight: 400;
    font-size: 14px;
    line-height: 146.19%;
    color: var(--accent-color);
    margin-bottom: 6px;
}

.footer-contacts__list li {
    font-weight: 400;
    font-size: 18px;
    line-height: 146.19%;
    color: var(--hero-text-color);
    margin-bottom: 6px;
}

.footer-contacts__list li:last-child {
    margin-bottom: 0px;
}

.footer-contacts__list {
    margin-bottom: 23px;
}

footer p {
    font-weight: 300;
    font-size: 12px;
    line-height: 146.19%;
    color: #bdbdbd;
}

.footer-social__list-wrapper .footer-icon {
    display: block;
    width: 18px;
    height: 18px;
    transition: transform var(--transition);
}

.footer-social__list-wrapper .footer-icon path {
    fill: #000;
}
.footer-social__list-link:hover .footer-icon,
.footer-social__list-link:focus .footer-icon {
    transform: scale(1.2);
}

/* modal */
.modal-container {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    overflow: hidden;
    z-index: 999;
}

.modal {
    width: 100%;
    height: 100%;
    background: #000000;
    padding-top: 90px;
    margin: 0 auto;
}

.modalCloseBtn {
    position: absolute;
    width: fit-content;
    top: 60px;
    left: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    width: 50px;
    height: 50px;
}
svg.modal-close__icon {
    transition: transform var(--transition);
}

.modalCloseBtn svg.modal-close__icon {
    width: 36px;
    height: 36px;
}

.modalCloseBtn:hover svg.modal-close__icon,
.modalCloseBtn:focus svg.modal-close__icon {
    transform: scale(1.2);
}

.modalOpen {
    display: block;
    position: fixed;
}

.modal-logo {
    width: 139px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 127px;
}

.modal-logo a {
    transition: transform var(--transition);
}
.modal-logo a:hover,
.modal-logo a:focus {
    transform: scale(1.2);
}

.modal-nav__list {
    text-align: center;
}

.modal-nav__list a {
    font-weight: 300;
    font-size: 24px;
    line-height: 28px;
    color: #828282;
    transition: transform var(--transition);
}

.modal-nav__list li:not(:last-of-type) {
    margin-bottom: 39px;
}

.modal nav {
    margin-bottom: 71px;
}

.modal-social__list-container {
    width: 165px;
    margin-left: auto;
    margin-right: auto;
}

.modal-social__list {
    display: flex;
    flex-wrap: wrap;
    margin: -20px;
}

.modal-social__list li {
    margin: 20px;
}

.modal-social__list a {
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 1px solid white; */
}

.modal-nav__list .modal-nav__link {
    transition: color var(--transition), font-weight var(--transition);
}

.modal-nav__list .modal-nav__link:hover,
.modal-nav__list .modal-nav__lint:focus {
    font-weight: 400;
    color: var(--hero-text-color);
}

.modal-social__list svg.modal-icon {
    width: 26px;
    height: 26px;
}
svg.modal-icon {
    transition: transform var(--transition);
}
.modal-container .modal-social__list-container .modal-social__list a:hover svg.modal-icon,
.modal-container .modal-social__list-container .modal-social__list a:focus svg.modal-icon {
    transform: scale(1.2);
}

.up-btn {
    display: none;
    transition: background-color var(--transition), color var(--transition),
        border-color var(--transition);
}
.up-btn:hover,
.up-btn:focus {
    background-color: rgba(0, 0, 0, 0.25);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

@media only screen and (max-width: 375px) {
    footer {
        padding-bottom: 0;
    }
}

@media only screen and (max-width: 767px) {
    .footer-contacts__list-tablet {
        display: none;
    }

    .footer-nav__container-tablet {
        display: none;
    }

    .footer-social__list-wrapper {
        display: none;
    }

    .price-bonus__btn-tablet {
        display: none;
    }
}

@media only screen and (min-width: 768px) {
    .up-btn {
        display: block;
        opacity: 0;
        position: fixed;
        bottom: 329px;
        right: 0;
        z-index: 120;
        width: 94px;
        height: 30px;
        background-color: inherit;
        border: 1px solid var(--button-bg-color);
        color: var(--button-bg-color);
        transform: rotate(270deg);
        background-color: rgba(255, 255, 255, 0.486);
    }

    .footer-contacts__container-mobile {
        display: none;
    }

    .footer-social__list-wrapper {
        display: none;
    }

    .bg-container {
        height: 1194px;
    }

    section h2 {
        text-align: start;
        margin-left: 50px;
    }

    section h2::after {
        width: 90px;
    }

    section {
        border-bottom: 1px solid var(--border-color);
    }

    section.hero,
    section.benefits-container {
        border-bottom: none;
    }

    /* header */
    header {
        background: rgba(0, 0, 0, 0.4);
    }
    .nav-list {
        padding: 2.57rem 0;
        margin-bottom: 458px;
    }

    .logo-container {
        position: absolute;
        top: 52px;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 0px;
    }

    /* hero */
    .hero-list {
        flex-direction: row;
        margin-bottom: 201px;
    }

    .hero-title {
        width: 100%;
        line-height: 4rem;
        margin-bottom: 8.928rem;
        font-size: 3.428rem;
    }

    .hero-list__item {
        width: 274px;
        height: 61px;
        margin-bottom: 0px;
        background: rgba(17, 17, 17, 0.6);
    }

    .hero-list__item:first-child {
        margin-right: 27px;
    }

    .hero-arrow {
        text-align: center;
        padding: 62px 0;
    }

    .call-form {
        width: min(769px, 90%);
        left: 50%;
        transform: translateX(-50%);
        padding: 77px 0 96px;
    }

    .call-form h4 {
        margin-bottom: 23px;
    }

    .call-form input {
        width: 440px;
    }

    .form-btn {
        width: 440px;
    }

    .call-form__btn {
        right: 47px;
    }

    /* benefits */

    .benefits-container {
        padding: 1.857rem 1.428rem 0;
        margin-bottom: 66px;
    }

    .benefits-list {
        display: grid;
        grid-template: repeat(2, 1fr) / repeat(2, 1fr);
        gap: 60px;
        padding: 1.428rem 1.857rem;
    }

    .benefits-list li {
        text-align: start;
    }

    .benefits-list__item span {
        font-weight: 400;
    }

    .benefits-list__item::after {
        content: none;
    }

    .benefits-list__item h3 {
        font-size: 1.71rem;
        line-height: 2rem;
        margin-bottom: 13px;
    }

    .benefits-list__item span::before {
        content: '';
        display: block;
        width: 15px;
        height: 15px;
        background-color: var(--benefits-before-color);
        position: relative;
        top: 83px;
    }

    .benefits-list__item div {
        margin-left: 26px;
    }

    .benefits-list__item p {
        margin-bottom: 0;
    }

    /* price */

    .price-container {
        padding: 0 80px 0 90px;
        margin-bottom: 0;
    }

    .price-content {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .bg-figure {
        width: 274px;
        height: 150px;
        position: relative;
        margin-bottom: 15px;
    }

    .bg-figure div {
        left: 0px;
        bottom: 0;
    }

    .bg-figure::after {
        right: -168px;
        top: 0px;
    }

    .price-bonus__item:first-child::after {
        left: -70px;
    }

    .price-bonus__container {
        margin-left: 0;
        margin-bottom: 0;
    }

    .price-bonus__container::after {
        height: 293px;
        top: -140px;
    }

    .price-content__right span,
    .price-container__text {
        text-align: start;
    }

    .price-content__right {
        padding-right: 30px;
    }

    .price-bonus__btn {
        display: none;
    }

    .price-bonus__btn-tablet {
        display: block;
        margin: 0;
    }

    .price-bonus__text {
        font-size: 1rem;
    }

    /* services */
    .services {
        padding-top: 70px;
        position: relative;
    }

    .services-wrap {
        padding: 0px 20px;
    }

    .services h2 {
        margin-bottom: 53px;
    }

    .services ul {
        display: grid;
        grid-template: repeat(2, 1fr) / repeat(2, 1fr);
    }

    .services-img {
        height: 100%;
        margin-bottom: 23px;
    }

    .services p::after {
        content: none;
    }

    .services-list__item-content::before {
        position: relative;
        left: -15px;
        display: block;
        width: 15px;
        height: 15px;
        content: '';
        background-color: var(--before-bg-color);
        margin-bottom: 5px;
    }

    .services li {
        text-align: start;
    }

    .services-list__item-content {
        padding: 0 15px 36px;
    }

    .services p {
        max-width: 294px;
        margin: 0;
    }

    .services li:last-of-type {
        margin-bottom: 0;
    }

    .services li::before {
        position: absolute;
        top: 0;
        display: block;
        width: 1px;
        height: 100%;
        content: '';
        background-color: var(--border-color);
        z-index: -1;
    }

    /* projects */
    .projects {
        position: relative;
        padding-top: 46px;
    }

    .projects-list {
        display: flex;
        flex-wrap: wrap;
    }

    .projects-list::after {
        display: block;
        content: '';
        width: 580px;
        height: 1580px;
        background: #f5f5f5;
        position: absolute;
        z-index: -1;
        top: 46px;
        right: 0;
    }

    .projects-list__item {
        width: calc(100% / 2);
        height: fit-content;
    }

    .projects-list__item img {
        width: 100%;
        height: fit-content;
    }

    .projects-list {
        margin-bottom: 34px;
        width: 100%;
    }

    .projects-content__container {
        padding: 0px 0 23px 61px;
        margin-bottom: 0;
    }

    .projects-content__container span {
        font-weight: 300;
        font-size: 14px;
        line-height: 16px;
    }

    .projects-content__container div {
        flex-direction: column;
        justify-content: start;
    }

    .projects-content__container p {
        margin-bottom: 6px;
    }

    .projects-button {
        width: 273px;
        height: 66px;
        margin-bottom: 40px;
    }

    /* stages */

    .stages {
        position: relative;
        width: 100%;
        padding: 46px 48px 0px;

        text-align: center;
        margin-bottom: 4.428rem;
    }

    .stages h2 {
        width: 328px;
        margin-bottom: 4.785rem;
    }

    .stages ul {
        display: grid;
        grid-template: repeat(3, 1fr) / repeat(2, 1fr);
        margin-bottom: 40px;
    }

    .stages-list__item span.title-accent {
        display: none;
    }

    .stages-list__item-number {
        display: block;
        font-weight: 500;
        font-size: 48px;
        line-height: 146.69%;
        color: var(--text-color);
        margin-right: 15px;
    }

    .stages-list__item {
        display: flex;
        align-items: center;
    }

    .stages-list__item div {
        text-align: start;
    }

    .stages-list__item-title {
        margin: 0;
        margin-bottom: 18px;
        font-weight: 700;
        font-size: 24px;
        line-height: 28px;
    }

    .stages-list__item-title ~ p {
        font-weight: 400;
        font-size: 1.258rem;
        line-height: 147.69%;
        margin: 0;
        margin-bottom: 11px;
    }

    .stages-list__item svg {
        margin-bottom: 32px;
    }

    .stages-list__item-link {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .stages-list__item-link .link-icon {
        width: 24px;
        height: 24px;
        background-color: var(--accent-color);
        border-radius: 50%;
        margin-right: 6px;
        background-image: url('../images/img/check.svg');
        background-repeat: no-repeat;
        background-position: center;
    }

    .stages-list__item-link span {
        display: block;
        color: var(--text-color);
        text-decoration: underline;
        font-weight: 400;
        font-size: 14px;
        line-height: 147.69%;
    }

    button.stages-button {
        display: block;
        margin-right: auto;
        margin-bottom: 38px;
    }

    /* about */

    .about {
        padding: 79px 141px 145px;
        background: url(../images/img/bg_about-tablet.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        border-bottom: none;
        margin-bottom: 46px;
    }

    .about h3 {
        width: 100%;
        text-align: start;
        font-weight: 300;
        font-size: 36px;
        line-height: 146.69%;
        margin-bottom: 73px;
    }

    .about p {
        font-weight: 300;
        font-size: 24px;
        line-height: 146.69%;
        margin-bottom: 23px;
        position: relative;
        text-align: start;
        padding-left: 26px;
    }

    .about p::after {
        position: absolute;
        top: 0;
        left: 0;
        width: 15px;
        height: 15px;
    }

    /* insta */

    .insta {
        padding: 0 20px 38px;
    }

    .insta h3 {
        text-align: start;
        margin-bottom: 80px;
    }

    .insta svg {
        width: 100%;
        height: 100%;
    }

    .insta ul {
        gap: 21px;
    }

    /* footer*/

    footer {
        background-image: url('../images/footer/footer_bg-fig-tablet.svg');
        background-position: left bottom;
        padding: 229px 26px 0px 24px;
    }

    footer::after {
        top: 77px;
        left: 377px;
        width: 87px;
        height: 92px;
    }

    .footer-nav__container-tablet {
        width: 50%;
    }

    .footer-nav__list-tablet {
        display: flex;
        padding-bottom: 63px;
    }

    .footer-nav__item h5 {
        font-weight: 500;
        font-size: 14px;
        line-height: 146.19%;
        color: var(--accent-color);
        margin-bottom: 12px;
    }

    footer p {
        color: #000;
        text-align: center;
        font-weight: 300;
        font-size: 12px;
        line-height: 146.19%;
    }

    .footer-nav__item:not(:last-child) {
        margin-right: 20px;
    }

    .footer-nav__item li {
        font-weight: 400;
        font-size: 14px;
        line-height: 146.19%;
        margin-bottom: 5px;
        color: var(--hero-text-color);
    }

    .footer-logo__container {
        margin-bottom: 9px;
    }

    .footer-top__wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .footer-social__list-wrapper {
        width: 40%;
    }

    .footer-social__list-wrapper ul {
        display: flex;
        width: 100%;
        justify-content: space-around;
    }

    .footer-social__list-wrapper a {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-social__list-wrapper svg {
        width: 100%;
        height: 100%;
    }

    .footer-social__list-wrapper .footer-icon {
        width: 41px;
        height: 41px;
    }

    /* modal */
    .modal {
        padding-top: 31px;
    }

    .modalCloseBtn {
        top: 42px;
        left: 54px;
    }

    .modal-logo {
        margin-bottom: 96px;
    }

    .modal-nav__list li {
        padding: 20px 77px;
    }

    .modal-nav__list li:not(:last-of-type) {
        margin-bottom: 0;
    }

    .modal-nav__list a {
        font-weight: 400;
        font-size: 48px;
        line-height: 56px;
    }

    .modal-nav__list {
        margin-bottom: 126px;
    }

    .modal-social__list-container {
        width: 600px;
    }

    .modal-social__list {
        flex-direction: row;
        justify-content: space-between;
    }

    .modal-nav__link:hover,
    .modal-nav__list:focus {
        text-decoration: none;
    }

    .modal-social__list svg.modal-icon {
        width: 41px;
        height: 41px;
    }

    /* quiz */

    .question-4__list {
        display: grid;
        grid-template: repeat(2, 1fr) / repeat(2, 1fr);
    }
    .quiz-content-text__list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .quiz-content-text__list li.quiz-content__list-item {
        width: calc(100% / 3);
        margin-bottom: 20px;
        padding-left: 25px;
    }
    /* .quiz-content-text__list li.quiz-content__list-item::before{
            position: absolute;
            z-index: 10;
            top: 0px;
            display: block;
            content: "";
            width: 1px;
            height: 100%;
            background-color: var(--border-color);
        } */
}

@media only screen and (min-width: 1024px) {
    .footer-social__list-wrapper {
        display: flex;
    }
    .quiz-img__container {
        width: 350px;
        height: 220px;
        border: 5px solid;
        border-color: #e0e0e0;
    }
}

@media only screen and (min-width: 1400px) {
    .up-btn {
        width: 185px;
        height: 70px;
        font-size: 24px;
        line-height: 28px;
    }
}

@media only screen and (min-width: 1919px) {
    .bg-container {
        height: 1085px;
    }

    *,
    html {
        font-size: 18px;
    }

    section h2 {
        font-weight: 300;
        font-size: 48px;
        line-height: 56px;
        margin-bottom: 84px;
    }

    section h2::after {
        width: 200px;
        height: 10px;
    }

    .nav-list {
        margin-bottom: 383px;
    }

    .hero {
        padding-bottom: 247px;
    }

    .hero-title {
        font-weight: 300;
        font-size: 80px;
        line-height: 94px;
        margin-bottom: 193px;
    }

    .hero-list {
        margin-bottom: 0px;
    }

    .hero-list__item {
        width: 348px;
        height: 77px;
    }

    .hero-list__item a {
        font-weight: 300;
        font-size: 24px;
        line-height: 28px;
    }

    .hero-list__item:first-of-type {
        margin-right: 50px;
    }

    .hero-arrow {
        display: none;
    }

    .call-form {
        padding: 109px 0 136px;
    }

    .call-form h4 {
        margin-bottom: 46px;
    }

    /* benefits */

    .benefits-list {
        padding: 37px 112px 41px;
        display: flex;
    }

    .benefits-list__item span {
        font-weight: 400;
        font-size: 64px;
        line-height: 75px;
        color: #0e0e0e;
    }

    .benefits-list__item span::before {
        top: 102px;
        width: 20px;
        height: 20px;
    }

    .benefits-list__item h3 {
        font-weight: 400;
        font-size: 28px;
        line-height: 33px;
    }

    .benefits-list__item p {
        font-weight: 300;
        font-size: 18px;
        line-height: 21px;
    }

    .benefits-container {
        margin-bottom: 92px;
    }

    /* price */

    .price-content__right span {
        font-weight: 400;
        font-size: 48px;
        line-height: 56px;
        margin-bottom: 48px;
    }

    .price-container__text {
        font-weight: 300;
        font-size: 36px;
        line-height: 53px;
        margin-bottom: 150px;
    }

    .price-bonus__btn {
        width: 510px;
        height: 112px;
        font-weight: 300;
        font-size: 36px;
        line-height: 42px;
    }

    .bg-figure {
        width: 607px;
        height: 333px;
        margin-bottom: 34px;
    }

    .bg-figure div {
        width: 607px;
        height: 333px;

        left: 0px;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .bg-figure::after {
        background-repeat: no-repeat;
        background-size: cover;
        width: 84px;
        height: 68px;

        right: -376px;
        top: -10px;
    }

    .price-content__right {
        padding-right: 36px;
    }

    .ptice-bonus__title {
        font-weight: 400;
        font-size: 36px;
        line-height: 147.19%;
    }

    .price-bonus__text {
        font-weight: 300;
        font-size: 36px;
        line-height: 147.19%;
    }

    .price-bonus__container {
        margin-bottom: 34px;
    }

    .price-bonus__text-container::after {
        width: 20px;
        height: 20px;
    }

    .price-bonus__container::after {
        top: -294px;
        height: 647px;
    }

    .price-bonus__content {
        margin-left: 79px;
    }

    .price-bonus__item:first-child::after {
        width: 762px;
        left: -158px;
    }

    .price-content {
        justify-content: space-around;
    }

    .price-container {
        padding: 0 225px 0 203px;
        margin-bottom: 0;
    }

    /* services */

    .services {
        padding-top: 85px;
    }

    .services-wrap {
        padding: 0 86px;
    }

    .services ul {
        display: grid;
        grid-template: repeat(1, 1fr) / repeat(4, 1fr);
    }

    .services ul::after {
        display: block;
        content: '';
        width: 1px;
        height: 100%;
        position: absolute;
        top: 0;
        right: 86px;
        z-index: -1;
        background-color: var(--border-color);
    }

    /* projects */

    .projects {
        /* padding: 0 94px; */
        border-bottom: 1px solid var(--border-color);
    }

    .projects h2 {
        margin-bottom: 46px;
    }

    .projects-list {
        margin-bottom: 0;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    .projects-list__item:nth-child(5):after {
        display: block;
        content: '';
        background: var(--border-color);
        height: 1px;
        width: calc(100vw / 2);
        position: absolute;
        right: 50%;
        top: 496px;
        z-index: -10;
    }

    .projects-list__item:nth-child(5)::before {
        display: block;
        content: '';
        background: var(--border-color);
        height: 1px;
        width: calc(100vw / 2);
        position: absolute;
        left: 50%;
        top: 496px;
        z-index: -10;
    }

    .projects-list__item:nth-child(1)::after {
        display: block;
        content: '';
        background: var(--border-color);
        height: 1px;
        width: calc(100vw / 2 - 100%);
        position: absolute;
        left: -50%;
        bottom: 161px;
        z-index: -10;
    }

    .projects-list__item:nth-child(3)::after {
        display: block;
        content: '';
        background: var(--border-color);
        height: 1px;
        width: calc(100vw / 2 - 100%);
        position: absolute;
        left: 50%;
        bottom: 161px;
        z-index: -10;
    }

    .projects-list__item:nth-child(2):after {
        display: block;
        content: '';
        background: var(--border-color);
        height: calc(200% + 55px + 66px + 36px);
        width: 1px;
        position: absolute;
        right: 0;
        top: 0;
        z-index: -10;
    }

    .projects-list__item:nth-child(2)::before {
        display: block;
        content: '';
        background: var(--border-color);
        height: calc(200% + 55px + 66px + 36px);
        width: 1px;
        position: absolute;
        left: 0;
        top: 0;
        z-index: -10;
    }

    .projects-list__item {
        position: static;
        width: calc(100% / 3);
    }

    .projects-content__container {
        position: static;
        padding-bottom: 0;
        padding-left: 0;
        padding-top: 18px;
    }

    .projects-content__container h5 {
        font-weight: 400;
        font-size: 28px;
        line-height: 33px;
        color: var(--text-color);
        margin-bottom: 13px;
    }

    .projects-content__container p {
        font-weight: 300;
        font-size: 24px;
        line-height: 28px;
        color: #828282;
        margin-bottom: 13px;
    }

    .projects-content__container span {
        font-weight: 300;
        font-size: 18px;
        line-height: 21px;
        color: var(--main-text-color);
        margin-bottom: 35px;
    }

    .projects-button {
        margin-bottom: 52px;
    }

    .projects-list::after {
        width: calc((100% / 2) + (100% / 8));
        height: 1700px;
        top: -102px;
        right: -6%;
        z-index: -20;
    }

    /* stages */

    .stages {
        padding: 75px 107px 0px;
    }

    .stages h2 {
        width: 673px;
        margin-bottom: 141px;
    }

    .stages ul {
        grid-template: repeat(2, 1fr) / repeat(3, 1fr);
        margin-bottom: 0px;
    }

    .stages-list__item {
        margin-bottom: 26px;
    }

    .stages-list__item:nth-child(-n + 3) {
        margin-bottom: 88px;
    }

    .stages-list__item-number {
        font-size: 64px;
        line-height: 145.69%;
    }

    .stages-list__item-title {
        font-weight: 700;
        font-size: 32px;
        line-height: 38px;
    }

    .stages-list__item p {
        font-weight: 400;
        font-size: 28px;
        line-height: 147.69%;
    }

    .stages ul {
        position: relative;
    }

    .stages-list__item:nth-child(2)::after {
        display: block;
        content: '';
        height: 1px;
        width: 100%;
        border-top: 2px dashed black;
        position: absolute;
        bottom: calc((100% / 2) + 88px);
        left: 0;
    }

    .stages-list__item:nth-child(1)::after {
        display: block;
        content: '';
        height: 87px;
        width: 1px;
        border-left: 2px dashed black;
        position: absolute;
        bottom: calc(100% / 2 + 40px);
        left: calc(100% / 6);
    }

    .stages-list__item:nth-child(1)::before {
        display: block;
        content: '';
        height: 87px;
        width: 1px;
        border-left: 2px dashed black;
        position: absolute;
        bottom: calc(100% / 2 + 40px);
        left: calc((100% / 6) * 3);
    }

    .stages-list__item:nth-child(2)::before {
        display: block;
        content: '';
        height: 87px;
        width: 1px;
        border-left: 2px dashed black;
        position: absolute;
        bottom: calc(100% / 2 + 40px);
        left: calc((100% / 6) * 5);
    }

    .stages-list__item a {
        margin-bottom: 20px;
    }

    /*about*/

    .about {
        height: 787px;
        padding-top: 196px;
        padding-left: 560px;
    }

    .about h3 {
        font-weight: 300;
        font-size: 48px;
        line-height: 146.69%;
    }

    .about li {
        font-weight: 300;
        font-size: 36px;
        line-height: 146.69%;
    }

    .about li:not(:last-child) {
        margin-bottom: 17px;
    }

    .about li::after {
        width: 20px;
        height: 20px;
    }

    /* instaa */
    .insta ul {
        grid-template: repeat(2, 1fr) / repeat(4, 1fr);
        gap: 20px;
        margin-bottom: 50px;
    }

    .insta svg {
        width: 253px;
        height: 73px;
    }

    .insta {
        margin-bottom: 30px;
    }

    /* footer */

    footer {
        background-image: url('../images/footer/footer_bg-fig-descktop.svg');
        padding-top: 523px;
        padding-left: 60px;
    }

    footer::after {
        width: 203px;
        height: 216px;
        top: 0px;
        left: 883px;
    }

    .footer-nav__list-tablet {
        justify-content: space-between;
    }

    .footer-logo__container {
        margin-bottom: 50px;
    }

    .footer-nav__container-tablet {
        margin-bottom: 231px;
    }

    .footer-nav__item {
        margin-right: 0;
    }

    .footer-nav__item h5 {
        font-weight: 700;
        font-size: 24px;
        line-height: 146.19%;
        margin-bottom: 41px;
    }

    .footer-nav__item li {
        font-weight: 400;
        font-size: 18px;
        line-height: 146.19%;
    }

    .footer-social__list-wrapper a {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-nav__container-tablet {
        justify-content: space-evenly;
    }

    /*modal*/
    .modal {
        padding-top: 98px;
    }

    .modalCloseBtn {
        top: 37px;
        left: 106px;
    }

    /* quiz */
    .quiz-content h3 {
        font-weight: 900;
        font-size: 24px;
        line-height: 28px;
    }

    .quiz-content p {
        font-weight: 500;
        font-size: 24px;
        line-height: 28px;
    }

    .quiz-container label {
        font-size: 24px;
        line-height: 28px;
    }

    .question-4__list {
        display: grid;
        grid-template: repeat(2, 1fr) / repeat(3, 1fr);
    }
    .quiz-img__container {
        width: 461px;
        height: 269px;
    }
}
