@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Regular.ttf");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Medium.woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-SemiBold.woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Bold.woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --dark: #2a2d3f;
    --main-green: #0cc143;
    --pink-red: #ff5a69;
    --purple: #4c336c;
    --white: #fff;
    --font-family: "Montserrat";
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    width: 100%;
}

button {
    background-color: transparent;
    cursor: pointer;
    border: none;
}

input {
    outline: none;
}

input[name="ssc_surname"] {
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block;
    outline: none;
    border: none;
    box-shadow: none;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
}

.header {
    position: absolute;
    top: 55px;
    z-index: 2;
    width: 100%;
}

.header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 158.3px;
    height: 75px;
}

.logo__link {
    display: inline-block;
}

.headerСontacts {
    display: flex;
    align-items: center;
    gap: 60px;
    color: var(--white);
}

.contact__link {
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
}

.headerСontacts .whatsApp {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px
}

.headerСontacts .whatsApp::before {
    flex: none;
    content: url("../img/wh.svg");
}

.wrap {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.firstSect {
    background-image: url("../img/firstBg.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 230px;
    padding-bottom: 90px;

}

.firstSect .wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
}

.mainTitle {
    font-weight: 700;
    font-size: 44px;
    color: var(--white);
    max-width: 838px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    white-space: pre-line;
}

.pinkRed {
    color: var(--pink-red);
}

.mainStages__item {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.mainStages {
    margin-top: 60px;
    display: flex;
    gap: 138px;
}

.mainStages__item .pinkRed {
    font-weight: 600;
    font-size: 30px;
}

.mainForm {
    margin-top: 36px;
    width: 100%;

}

.mainForm .fields {
    justify-content: center;
}

.fields {
    display: flex;
    gap: 30px;
    justify-content: flex-start;
}

.mainForm .formBtn {
    justify-content: center;
    gap: 30px;
}

.input {
    border: 1px solid var(--black);
    border-radius: 25px;
    max-width: 407px;
    width: 100%;
    height: 68px;
    background: var(--white);
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 180%;
    color: #696969;
    padding-left: 24px;
}

.input::-webkit-input-placeholder {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 180%;
    color: #696969;
}

.input::-moz-placeholder {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 180%;
    color: #696969;
}

.input:-ms-input-placeholder {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 180%;
    color: #696969;
}

.input::-ms-input-placeholder {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 180%;
    color: #696969;
}

.input::placeholder {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 180%;
    color: #696969;
}

.preference {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
}

/* INPUT */

.checkbox {
    width: 21px;
    height: 21px;
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.checkbox+label {
    display: flex;
    align-items: center;
}

.checkbox+label::before {
    content: '';
    display: inline-block;
    width: 17px;
    height: 17px;
    border: 1px solid #adb5bd;
    border-radius: 2px;
    margin-right: 20px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    box-sizing: border-box;
    flex: none;
    cursor: pointer;
}

.checkbox:checked+label::before {
    flex: none;
    border-color: var(--purple);
    background-color: var(--purple);
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDEwIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDQuNjM2MzZMMi45ODM5NiA3LjcwMjQ4QzMuMzc4MDIgOC4zMTE0OCA0LjI2OTA0IDguMzExNDggNC42NjMxIDcuNzAyNDhMOSAxIiBzdHJva2U9IndoaXRlIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPC9zdmc+Cg==");
}

.policy {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 180%;
    color: #b0b0b0;
}

.policy a {
    max-width: 225px;
    width: 100%;
    display: block;
    font-weight: 500;
    font-size: 16px;
    line-height: 144%;
    text-decoration: underline;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
    color: var(--white);
    text-align: left;
}

.formBtn {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    max-width: 266px;
    width: 100%;
    height: 68px;
    font-weight: 600;
    font-size: 16px;
    color: var(--white);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    font-family: var(--font-family);
}

.btn__pink {
    background: var(--pink-red);
    transition: all 0.3s linear;
}

.btn__pink:hover {
    background: #FF384B;
}

.btn__pink:active {
    transform: scale(0.9, 0.9);
}

.btn__green {
    background: var(--main-green);
    transition: all 0.3s linear;
}

.btn__green:hover {
    background: #00AD35;
}

.condition {
    margin-top: 112px;
    width: 100%;
}

.condTitle {
    font-weight: 700;
    font-size: 30px;
    color: var(--white);
}

.condList {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    grid-template-rows: 1fr 1fr;
    justify-content: space-between;
    row-gap: 60px;

}

.condList__item {
    display: flex;
}

.condList__item::before {
    content: '';
    display: block;
    flex: none;
    border-radius: 2px;
    width: 5px;
    height: 59px;
    background: linear-gradient(90deg, #ff5969 0%, #ff5b6a 100%);
}

.condList__title {
    font-weight: 600;
    font-size: 20px;
    color: var(--white);
}

.condList__desc {
    padding-left: 20px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    color: var(--white);
    text-align: left;
}

.condDesc {
    margin-top: 50px;
    font-weight: 500;
    font-size: 24px;
    color: var(--white);
    max-width: 1230px;
}

.condition .pinkRed {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 15px;
    text-decoration: underline;
    color: #ff5c6a;
}

.title {
    font-weight: 700;
    font-size: 44px;
    color: #000;
}

.reqList {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.reqList__item {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.reqSub {
    font-weight: 700;
    font-size: 24px;
    color: var(--dark);
    display: flex;
    gap: 20px
}

.reqSub::before {
    content: '';
    border-radius: 2px;
    width: 5px;
    height: 30px;
    background: linear-gradient(90deg, #ff5969 0%, #ff5b6a 100%);
    display: block;
}

.reqDesc {
    font-weight: 500;
    font-size: 18px;
    line-height: 156%;
    color: #454545;
}

.reqDesc .red {
    color: #ff5b6a;
}

.offers {
    padding: 100px 0;
}

.items {
    margin-top: 46px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.item {
    background: #e6e2eb;
    border-radius: 25px;
    padding: 50px;
}

.key {
    grid-row: 1/3;
    grid-column: 1/2;
    background-image: url("../img/key.png");
    background-position: top center;
    background-size: contain;
    background-repeat: no-repeat;
    padding-top: 215px;
}

.item p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    color: #2d2d2d;
    margin-top: 40px;
}

.item__title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 32px;
    color: #000;
}

.item__list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.list__item {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    color: #2d2d2d;
    display: flex;
    gap: 10px;
}

.list__item::before {
    content: '';
    display: inline-block;
    background: linear-gradient(90deg, #ff5969 0%, #ff5b6a 100%);
    border-radius: 2px;
    width: 5px;
    height: 20px;
    flex: none;
}

.item__price {
    font-weight: 700;
    font-size: 30px;
    line-height: 163%;
    color: #000;
}

.item__day {
    font-weight: 600;
    font-size: 18px;
    line-height: 144%;
    color: #000;
}

.item .item__bottom {
    margin-top: 64px;
}

.key .item__bottom {
    margin-top: 40px;
}

.item__bottom {
    display: flex;
    justify-content: space-between;
}

.item__buttom {
    flex: none;
}


.documents {
    background: rgba(90, 61, 118, 0.15);
    padding: 100px 0 100px;
    position: relative;
    overflow: hidden;
    background-image: url("../img/docBg.png");
    background-repeat: no-repeat;
    background-position: top 86px right;
}

/* .documents::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url("../img/docBg.png");
    width: 451px;
    height: 721px;
} */

.documentText {
    height: 529px;
    max-width: 1069px;
    width: 100%;
    margin-top: 131px;
    background-color: var(--white);
    border-radius: 30px;
    border-top-left-radius: 0;
    padding-top: 82px;
    padding-bottom: 40px;
    position: relative;
    z-index: 3;
}

.textBlock {
    display: none;
    overflow: auto;
    height: 365px;
    overflow: auto;
    padding-right: 40px;
    margin-right: -4px;
    position: relative;
    z-index: 2;
}

.textWrap {
    margin-left: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.textBlockActive {
    display: block;
}

.textBlock p {
    font-weight: 400;
    font-size: 20px;
    color: #000;
    margin-left: -6px;
    display: flex;
    gap: 20px;
}

.textBlock p::before {
    content: '';
    display: block;
    width: 5px;
    height: 20px;
    background: var(--purple);
    border-radius: 2px;
    flex: none;
    margin-top: 5px;
}


/* Firefox (uncomment to work in Firefox, although other properties will not work !) */
/** {
  scrollbar-width: thin;
  scrollbar-color: #2DCA74 #DFE9EB;
}*/

/* Chrome, Edge and Safari */
.textBlock::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

.textBlock::-webkit-scrollbar-track {
    border-radius: 6px;
    background-color: transparent;
    border: 2px solid transparent;
    border-left: 2px solid #e9e9e9;
}

.textBlock::-webkit-scrollbar-track:hover {
    background-color: transparent;
}

.textBlock::-webkit-scrollbar-track:active {
    background-color: transparent;
}

.textBlock::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: linear-gradient(90deg, #ff5969 0%, #ff5b6a 100%);
}

.textBlock::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #ff5969 0%, #ff5b6a 100%);
}

.textBlock::-webkit-scrollbar-thumb:active {
    background: linear-gradient(90deg, #ff5969 0%, #ff5b6a 100%);
}

.documentsTabs {
    position: absolute;
    top: -53px;
    left: 0;
    z-index: 1;
    display: flex;
}

.tab {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 180%;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    width: 253px;
    height: 53px;
    background: #ebebeb;
    color: var(--black);
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.tabActive {
    background: var(--white);
    color: var(--black);
}

.works {
    padding: 60px 0 115px;
    overflow: hidden;
}

.works .wrap {
    position: relative;
}

.workList {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 70px;
}

.worksList__item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.workList__num {
    font-weight: 700;
    font-size: 24px;
    color: var(--dark);
    display: flex;
    gap: 20px;
}

.workList__num::before {
    content: '';
    border-radius: 2px;
    width: 5px;
    height: 30px;
    background: linear-gradient(90deg, #ff5969 0%, #ff5b6a 100%);
    flex: none;
}

.worksList__desc {
    font-weight: 500;
    font-size: 18px;
    line-height: 156%;
    color: #454545;
}


.formBlock {
    margin-top: 114px;
    border-radius: 25px;
    background-color: #E6E2EB;
    display: flex;
    justify-content: flex-end;
    padding: 74px 60px;
    position: relative;
}




.formBlock::before {
    content: "";
    background-image: url("../img/girl.png");
    background-size: cover;
    position: absolute;
    display: block;
    left: 40px;
    bottom: 0;
    width: 347px;
    height: 530px;
}

.formBlock__wrap {
    max-width: 845px;
    width: 100%;
}

.formBlock__title {
    font-weight: 700;
    font-size: 32px;
    color: #000;
    max-width: 854px;
}

.formBlock__list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.formBlock__list-item {
    font-weight: 500;
    font-size: 18px;
    line-height: 135%;
    color: #454545;
    display: flex;
    gap: 10px;
}

.formBlock__list-item:not(:first-child):before {
    content: '';
    width: 5px;
    height: 15px;
    background-color: var(--pink-red);
    border-radius: 2px;
    margin-top: 6px;
    flex: none;
}

.formBlock .form {
    margin-top: 40px;
}

.formBlock .input {
    border: 1px solid #B4B4B4;
    border-radius: 25px;
    height: 68px;
    max-width: 407px;
    width: 100%;
}

.formBlock .policy a {
    color: #696969;
    width: 221px;
}

.formBlock .btn {
    max-width: 266px;
}

.formBlock .formBtn {
    gap: 30px;
}


.reviews {
    padding: 80px 0;
}

.reviewsList {
    margin-top: 58px;
    display: flex;
    gap: 40px;
}

.footer {
    padding: 80px 0;
    background-image: url("../img/footerBg.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.footer .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer .contacts {
    display: flex;
    gap: 100px;
}

.footer .footer__buttons {
    display: flex;
    gap: 18px;
}

.footer .contact__link {
    font-size: 18px;
}

.footer .btn {
    min-width: 263px;

}

.footerLinks {
    margin-top: 83px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 43px;
}

.footerLinks__link {
    font-weight: 500;
    font-size: 14px;
    line-height: 179%;
    text-decoration: underline;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
    color: var(--white);
}

.popUp {
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 26, 26, 0.75);
    transition: all 0.3s linear;
    opacity: 0;
    z-index: 0;
    visibility: hidden;
}

.popUpBlock {
    max-width: 406px;
    width: 100%;
    border-radius: 25px;
    background-color: var(--white);
    margin: 0 auto;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.titlePopUp {
    font-weight: 700;
    font-size: 32px;
    color: var(--dark);
}

.descPopUp {
    font-weight: 500;
    font-size: 18px;
    line-height: 156%;
    color: #424242;
}

.formPopUp .fields {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.inputPopUp {
    border: 1px solid #C9C9C9;
    border-radius: 25px;
    padding-left: 25px;
    height: 68px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 180%;
    color: #494949;
}

.inputPopUp::placeholder {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 180%;
    color: #494949;
}

.btnPopUp {
    margin-top: 30px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
    border-radius: 25px;
    padding: 20px 30px;
    max-width: 369px;
    width: 100%;
    height: 68px;
    background: var(--pink-red);
}

.close {
    position: absolute;
    top: -20px;
    right: -20px;
    font-weight: 400;
    font-size: 22px;
    line-height: 180%;
    color: var(--white);
    background-color: var(--pink-red);
    border-radius: 50%;
    cursor: pointer;
    width: 40px;
    height: 40px;
    text-align: center;

}


.popUpBlock .preference {
    justify-content: flex-start;
}

.popUpBlock .checkbox+label {
    align-items: center;
}

.popUpBlock .checkbox+label::before {
    flex: none;
}

.policyWrap {
    text-align: left;
}

.popUpWait {
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 26, 26, 1);
    transition: all 0.3s linear;
    opacity: 0;
    z-index: 0;
    visibility: hidden;
}

.popUpActive {
    opacity: 1 !important;
    z-index: 999 !important;
    visibility: visible !important;

}

.popUp .preference {
    margin-top: 30px;
}

.popUp .policy a {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 144%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #696969;
}

.popUpWrap {
    max-width: 1170px;
    width: 100%;
    margin: 0 auto;
}

.popUpText {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popUpTitle {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 42px;
    text-align: center;
    color: var(--white);
}

.line {
    max-width: 270px;
    width: 100%;
    height: 10px;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--purple);
    animation: sliders 3s linear infinite;
}

@keyframes sliders {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}


.popUpSlider {
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    height: 10px;
    max-width: 770px;
    width: 100%;
    background-color: var(--white);
}

.popUpDesc {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 144%;
    text-align: center;
    color: var(--white);
    max-width: 616px;
    margin: 0 auto;
    margin-top: 40px;
}

.popUpThanks {
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 26, 26, 1);
    transition: all 0.3s linear;
    opacity: 0;
    z-index: 0;
    visibility: hidden;
}

.popUpThanks .popUpSlider {
    background-color: var(--purple);
}

.purpleChech {
    width: 89px;
    height: 66px;
    margin-bottom: 30px;
}

.tof {
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 26, 26, 1);
    transition: all 0.3s linear;
    opacity: 0;
    z-index: 0;
    visibility: hidden;
}

.tofClose {
    width: 40px;
    height: 40px;
    background-color: var(--pink-red);
    position: absolute;
    top: -20px;
    right: -20px;
    border-radius: 50%;
    font-weight: 400;
    font-size: 22px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s linear;
    user-select: none;
    cursor: pointer;
}

.tofActive {
    opacity: 1 !important;
    z-index: 9999999999 !important;
    visibility: visible !important;
}

.tofWrap {
    max-width: 1330px;
    padding: 0 30px;
    width: 100%;
    margin: 0 auto;
}

.tofTitle {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 180%;
    color: var(--black);
    margin-bottom: 26px;
    text-transform: uppercase;
}

.tofBody {
    color: var(--white);
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 180%;
    color: #494949;
    background-color: var(--white);
    border-radius: 25px;
    padding: 60px;
    max-height: 722px;
    position: relative;
}

.tofText {
    overflow: auto;
    height: 540px;
    margin-right: -64px;
    padding-right: 64px;
}

/* Firefox (uncomment to work in Firefox, although other properties will not work !) */
/** {
  scrollbar-width: thin;
  scrollbar-color: #2DCA74 #DFE9EB;
}*/

/* Chrome, Edge and Safari */
.tofText::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

.tofText::-webkit-scrollbar-track {
    border-radius: 6px;
    background-color: transparent;
    border: 2px solid transparent;
    border-left: 2px solid transparent;
}

.tofText::-webkit-scrollbar-track:hover {
    background-color: transparent;
}

.tofText::-webkit-scrollbar-track:active {
    background-color: transparent;
}

.tofText::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background-color: var(--pink-red);
}

.tofText::-webkit-scrollbar-thumb:hover {
    background-color: var(--pink-red);
}

.tofText::-webkit-scrollbar-thumb:active {
    background-color: var(--pink-red);
}

.tof .table {
    display: inline-block;
    overflow: scroll;
    max-width: 100%;
    width: 100%;
    text-align: center;
}

.tof .table tr {
    border: 1px solid #000;
}

.tof .table td {
    border: 1px solid #000;
}

@media (max-width:1750px) {
    .documents {
        background-position: top 85px right -100px;
    }
}

@media (max-width:1550px) {
    .documents {
        background-position: top 85px right -199px;
    }
}

@media (max-width:1400px) {
    .documents {
        background-position: top 85px right -230px;
    }

    .formBlock::before {
        left: -17px;
    }
}

@media (max-width:1330px) {
    .item .btn {
        max-width: 200px;
        height: 52px;
    }

    .documents .title {
        max-width: 900px;
    }

    .documents {
        background-position: top 150px right -230px;
    }

    .documentText {
        max-width: 900px;
    }

    .formBlock {
        margin-top: 140px;
        padding: 60px 86px 50px 44px;
    }

    .formBlock__wrap {
        max-width: 780px;
    }

}

@media (max-width:1200px) {
    .wrap {
        max-width: 1030px;
    }

    .firstSect {
        padding-top: 315px;
        padding-bottom: 134px;
        background-position: bottom left -144px;
    }

    .mainTitle {
        text-align: left;
        margin: 0;
    }

    .mainForm .fields {
        justify-content: flex-start;
    }

    .mainForm .formBtn {
        justify-content: flex-start;
    }

    .condition {
        margin-top: 50px;
        width: 100%;
    }

    .condList {
        display: grid;
        grid-template-columns: repeat(2, 332px);
        grid-template-rows: repeat(3, 1fr);
        gap: 50px;
        justify-content: space-between;
    }

    .offers {
        padding: 80px 0;
    }

    .items {
        margin-top: 40px;
        gap: 15px;
    }

    .item__title {
        font-size: 24px;
    }

    .item p {
        font-size: 12px;
        margin-top: 30px;
    }

    .item__list {
        margin-top: 30px;
        gap: 22.56px;
    }

    .list__item {
        font-size: 12px;
        gap: 7px;
    }

    .list__item::before {
        width: 3px;
        height: 15px;
    }

    .item {
        padding: 37px;
    }

    .item .item__bottom {
        margin-top: 48px;
    }

    .key {
        padding-top: 160px;
    }

    .key .item__bottom {
        margin-top: 30px;
    }

    .item__price {
        font-size: 22px;
    }

    .item__day {
        font-size: 13px;
    }

    .documents {
        padding: 80px 0;
        background-size: 355px 591px;
        background-position: top 213px right;
    }

    .documentText {
        max-width: 704px;
        height: 479px;
        margin-top: 158px;
        padding-top: 60px;
    }

    .textBlock p {
        font-size: 16px;
    }

    .works {
        padding: 80px 0;
    }

    .workList {
        margin-top: 40px;
    }

    .worksList__desc {
        font-size: 16px;
    }

    .formBlock {
        margin-top: 101px;
        padding: 81px 86px 126px 86px;
    }

    .formBlock__wrap {
        max-width: 562px;
    }

    .formBlock__title {
        font-size: 24px;
    }

    .formBlock .form {
        margin-top: 30px;
    }

    .formBlock .formBtn {
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .formBlock .policy a {
        max-width: 100%;
        width: 100%;
    }

    .footer .contacts {
        gap: 30px;
    }

    .footer .contact__link {
        font-size: 18px;
    }

    .footer .btn {
        min-width: unset;
        max-width: unset;
        width: 230px;
        font-size: 14px;
    }

    .footerLinks {
        margin-top: 40px;
    }
}

@media (max-width:1150px) {
    .documents {
        background-image: unset;
    }

    .documentText {
        max-width: 100%;
    }

}

@media (max-width:1000px) {
    .formBlock {
        padding: 30px;
    }

    .formBlock__wrap {
        max-width: 100%;
    }

    .formBlock::before {
        display: none;
    }

    .formBlock .formBtn {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .formBlock .preference {
        width: 100%;
        justify-content: flex-start;
        grid-column: 1/3;
    }

    .formBlock .btn {
        max-width: 405px;
    }

    .item .item__bottom {
        flex-direction: column;
        gap: 10px;
    }

    .item .btn {
        margin-left: auto;
    }
}

@media (max-width:860px) {
    .mainForm .formBtn {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .mainForm .preference {
        grid-column: 1/3;
    }

    .mainForm .preference {
        justify-content: flex-start;
    }

    .mainForm .policy a {
        max-width: 100%;
    }

    .mainForm .btn {
        max-width: 407px;
    }

    .formBlock {
        padding: 30px;
    }
}

@media (max-width:768px) {
    .mainForm .fields {
        gap: 22px;
    }

    .firstSect {
        padding-top: 255px;
        padding-bottom: 116px;
        background-position: left;
    }

    .condList {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 60px;
    }

    .condList__item {
        max-width: 100%;
    }

    .btn {
        font-size: 14px;
    }

    .wrap {
        max-width: 670px;
    }

    .mainTitle {
        font-size: 32px;
        max-width: 100%;
    }

    .mainStages {
        margin-top: 50px;
        gap: 60px;
    }

    .mainStages__item .pinkRed {
        white-space: nowrap;
    }

    .documentText {
        margin-top: 100px;
        height: 438px;
    }

    .textBlock {
        height: 320px;
    }

    .tab {
        font-size: 18px;
        width: 230px;
    }

    .textBlock p {
        font-size: 14px;
    }

    .mainForm {
        margin-top: 40px;
    }

    .input {
        font-size: 14px;
    }

    .input::placeholder {
        font-size: 14px;
    }

    .mainForm .input {
        max-width: 311px;
        padding-left: 24px;
    }

    .mainForm .formBtn {
        margin-top: 20px;
        gap: 22px;
    }

    .mainForm .btn {
        max-width: 311px;
        font-size: 14px;
    }

    .key {
        background-size: 100% 132px;
    }

    .items {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
        gap: 21px;
    }

    .item .item__bottom {
        flex-direction: row;
        margin-top: 45px;
    }

    .condition {
        margin-top: 70px;
    }

    .condDesc {
        margin-top: 30px;
    }

    .title {
        font-size: 32px;
    }

    .formBlock {
        margin-top: 30px;
    }

    .formBlock__title {
        font-size: 18px;
    }

    .formBlock .fields {
        gap: 20px;
    }

    .formBlock .formBtn {
        margin-top: 20px;
        gap: 20px;
    }

    .footer {
        background-image: url("../img/footerMob.webp");
    }

    .footer .contact__link {
        font-size: 16px;
    }
}

@media (max-width:740px) {
    .mainStages__item .pinkRed {
        white-space: wrap;
    }

    .footer .contact__link {
        font-size: 16px;
    }
}

@media (max-width:576px) {
    .reqSub {
        font-size: 18px;
    }

    .reqDesc {
        font-size: 14px;
    }

    .logo {
        width: 120px;
        height: 56px;
    }

    .contact__link {
        font-size: 12px;
    }

    .headerСontacts {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }

    .firstSect {
        padding-top: 204px;
    }

    .mainForm {
        margin-top: 30px;
    }

    .mainForm .fields {
        flex-direction: column;
        gap: 20px;
    }

    .mainForm .input {
        max-width: 100%;
        height: 47px;
    }

    .mainForm .btn {
        height: 55px;
        max-width: 100%;
    }

    .mainTitle {
        font-size: 22px;
        white-space: normal;
    }

    .mainTitle .pinkRed {
        display: block;
    }

    .mainStages__item {
        font-size: 10px;
    }

    .mainStages__item .pinkRed {
        font-size: 14px;
    }

    .mainForm .formBtn {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .mainStages {
        gap: 14px;
        margin-top: 20px;
    }

    .formBlock .fields {
        flex-direction: column;
        gap: 20px;
    }

    .offers {
        padding: 60px 0;
    }

    .documents {
        padding: 60px 0;
    }

    .works {
        padding: 60px 0;
    }

    .items {
        display: flex;
        flex-direction: column;
    }

    .key {
        background-image: unset;
    }

    .item {
        padding: 30px 20px;
    }

    .item__title {
        font-size: 20px;
    }

    .item .item__bottom {
        flex-direction: column;
        gap: 30px;
        margin-top: 30px;
    }

    .item .btn {
        max-width: 100%;
    }

    .documentText {
        margin-top: 85px;
    }

    .textBlock p {
        font-size: 13px;
    }

    .worksList__item {
        gap: 10px;
    }

    .documentsTabs {
        width: 100%;
    }

    .documentText {
        position: relative;
        z-index: 3;
    }

    .tab {
        max-width: 100%;
        width: 100%;
        position: relative;
        z-index: 2;
    }

    .tab::before {
        content: '';
        width: 100%;
        top: 0;
        right: -20px;
        height: 100%;
        position: absolute;
        background-color: #ebebeb;
        z-index: -1;
    }

    .tabActive::before {
        background-color: var(--white);
    }

    .tab:nth-child(2)::before {
        top: 50px;
        right: 0;
    }

    .tab:nth-child(2)::after {
        content: '';
        z-index: -1;
        position: absolute;
        display: block;
        background-color: var(--white);
        width: 100%;
        height: 100%;
        top: 50px;
        right: 0;
    }

    .textWrap {
        margin-left: 12px;
    }

    .textBlock p {
        gap: 8px;
    }

    .worksList__desc {
        font-size: 13px;
    }

    .condition {
        margin-top: 54px;
    }

    .condTitle {
        font-size: 22px;
    }

    .condList {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .condList__item {
        max-width: 100%;
    }



    .title {
        font-size: 22px;
    }



    .formBlock__title {
        font-size: 16px;
    }

    .formBlock .input {
        max-width: 100%;
        height: 47px;
    }

    .formBlock .formBtn {
        display: flex;
        flex-direction: column;
    }

    .formBlock .btn {
        max-width: 100%;
        height: 55px;
    }

    .footer .contacts {
        flex-direction: column;
        gap: 10px;
        align-items: flex-end;
    }

    .footer .contact__link {
        font-size: 14px;
    }

    .footerLinks {
        text-align: center;
    }

    .popUpBlock {
        padding: 28px;
        max-width: 316px;
        text-align: center;
        align-items: center;
    }

    .titlePopUp {
        font-size: 24px;
    }

    .descPopUp {
        font-size: 14px;
    }

    .tofBody {
        padding: 20px;
        font-size: 14px;
    }


}

@media (max-width:360px) {
    .wrap {
        max-width: 345px;
    }

    .firstSect {
        height: auto;
        padding-bottom: 60px;
    }

    .contact__link {
        font-size: 12px;
    }

    .headerСontacts .whatsApp::before {
        content: '';
        background-image: url("../img/wh.svg");
        background-size: cover;
        width: 15px;
        height: 15px;
    }


    .mainTitle span {
        display: block;
    }

    .mainTitle br {
        display: none;
    }

    .mainDesc {
        margin-top: 20px;
    }

    .mainForm .fields {
        gap: 20px;
    }

    .mainForm .policy a {
        font-size: 12px;
    }

    .checkbox+label::before {
        margin-right: 15px;
    }


    .title {
        font-size: 22px;
    }

    .formBlock {
        padding: 20px;
    }

    .formBlock__title {
        font-size: 18px;
    }

    .formBlock__list-item {
        font-size: 14px;
        gap: 3px;
    }

    .formBlock .input {
        height: 47px;
    }

    .formBlock .formBtn {
        gap: 20px;
    }

    .formBlock .preference a {
        font-size: 12px;
    }

    .footer {
        padding: 60px 0;
    }

    .footer .footer__buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer .btn {
        width: 100%;
    }

    .footerLinks {
        gap: 20px;
    }

    .footerLinks__link {
        font-size: 12px;
    }

    .popUpTitle {
        font-size: 26px;
    }

    .popUpDesc {
        font-size: 16px;
    }
}

.hoverTextGreen {
    transition: color 300ms linear;
}

.hoverTextGreen:hover {
    color: var(--main-green);
}

.hoverTextPink {
    transition: color 300ms linear;
}

.hoverTextPink:hover {
    color: var(--pink-red) !important;
}