.modal {
    background-color: rgba(37, 37, 37, 0.7);
    position: fixed;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    height: 100vh;
    width: 100vw;
    overflow-y: scroll;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transition: all .3s;
}
.involta-contacts__double-cards__card.last {
    display: block !important;
}


.inv-form {
    transform: scale(0.7);
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    width: 80%;
    max-width: 1000px;
    background: #FFFFFF;
    border-radius: 10px;
    margin: 70px auto;
    position: relative;
    overflow-y: scroll;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.02em;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.inv-form *,
.inv-form *::before,
.inv-form *::after {
    box-sizing: border-box;
}

.inv-form-content {
    padding: 40px 50px;
}

.inv-form-footer {
    background: #EFEFEF;
    border-radius: 0 0 10px 10px;
    padding: 35px 50px;
}

.inv-form-title {
    font-size: 42px;
    line-height: 50px;
    margin-bottom: 50px;
    font-weight: bold;
    font-family: Montserrat, sans-serif;
}

.inv-form-close {
    width: 22px;
    height: 22px;
    position: absolute;
    right: 50px;
    top: 55px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 21.0004L21 1.00039' stroke='%23271810' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M1 1L21 21' stroke='%23271810' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.inv-form-item {
    margin-bottom: 50px;
}

.inv-form-item__title {
    font-weight: 600;
    margin-bottom: 25px;
}

.inv-form-item__title.required::after {
    content: '*';
    color: #CE1F1F;
}

.inv-form-grid-checked {
    display: grid;
    gap: 20px 25px;
    grid-template-columns: repeat(3, 1fr);
}

.inv-checkbox-label {
    display: block;
}

.inv-checkbox {
    display: none;
}

.inv-checkbox:checked + .inv-checkbox-text {
    color: #0043FA;
}

.inv-checkbox:checked + .inv-checkbox-text::before {
    border-color: #0043FA;
    background-color: #0043FA;
}

.inv-checkbox-text {
    display: block;
    position: relative;
    color: #757575;
    padding-left: 35px;
    cursor: pointer;
    user-select: none;
}

.inv-checkbox-text::before {
    content: '';
    border: 1px solid #BFBFBF;
    border-radius: 5px;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 0;
    background: #fff url("data:image/svg+xml,%3Csvg width='11' height='8' viewBox='0 0 11 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3.47934L4.20856 6.45455L10.0909 1' stroke='white' stroke-width='2'/%3E%3C/svg%3E") 50% no-repeat;
}

.inv-checkbox-text--radio::before {
    border-radius: 10px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='5' cy='5' r='5' fill='white'/%3E%3C/svg%3E");
}

.inv-checkbox-text:hover {
    color: #000;
}

.inv-form-input {
    display: block;
    width: 100%;
    height: 68px;
    background: #FFFFFF;
    border: 1px solid #BFBFBF;
    border-radius: 10px;
    padding: 0 20px;
}

.inv-form-input:focus {
    border-color: #0043FA;
}

.inv-form-textarea {
    height: 134px;
    padding-top: 20px;
    resize: none;
}

.inv-form-label {
    display: block;
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 10px;
    color: #757575;
}

.inv-form-grid-group {
    display: grid;
    gap: 20px 25px;
    grid-template-columns: repeat(2, 1fr);
}

.inv-form-submit {
   align-items: center;
}

.inv-form-submit a {
    color: #0043FA;
    text-decoration: underline;
}

.inv-form-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(91.14deg, #2047F2 0.57%, #325CF9 99.55%);
    border-radius: 15px;
    font-weight: 600;
    font-size: 18px;
    border: none;
    cursor: pointer;
    width: 100%;
    height: 68px;
    white-space: nowrap;
    color: #fff;
}
.inv-form-btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.inv-form-open-btn {
    position: absolute;
    bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(91.14deg, #2047F2 0.57%, #325CF9 99.55%);
    border-radius: 10px;
    font-weight: 500;
    font-size: 18px;
    border: none;
    cursor: pointer;
    /* margin-top: auto; */
    /* transform: translateY(100%); */
    padding: 9px 37px;
    width: max-content;
    height: 42px;
    white-space: nowrap;
    color: #fff;
}
@media screen and (max-width: 640px){
    .inv-form-open-btn {
        bottom: 39px;
    }
}
@media screen and (max-width: 992px){
    .inv-form-open-btn {
        bottom: 20px;
    }
}

.inv-form-header-btn {
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    align-self: center;
    text-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    padding: 0 30px;
    outline: 0;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--text-color);
}
@media screen and (max-width: 1220px){
    .inv-form-header-btn {
        align-self: initial;
        margin-left: 8%;
    }
}

.inv-form-file {
    background: rgba(0, 67, 250, 0.05);
    border: 1px dashed #0043FA;
    border-radius: 10px;
    position: relative;
    margin-top: 25px;
}

.inv-form-file__content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
    gap: 10px;
    color: #0043FA;
}

.inv-form-file__item {
    background: inherit;
    border: 1px dashed black;
    border-radius: 10px;
    position: relative;
    margin-top: 25px;
    display: flex;
    font-size: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 26px;
    gap: 10px;
    word-break: break-all;
    color: inherit;
}
.inv-form-file__item > svg {
    cursor: pointer;
}

.inv-form-file__input {
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    overflow: hidden;
}

.inv-form-footer__text {
    font-weight: 500;
    font-size: 18px;
    color: #6E6E73;
    margin-bottom: 14px;
    text-align: center;
}

.inv-form-footer__contact {
    display: flex;
    justify-content: center;
    gap: 10px 30px;
}

.inv-form-footer__contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inv-form-footer__contact a {
    color: #0043FA;
}

@media (max-width: 1023px) {
    .inv-form-grid-checked {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .inv-form-grid-checked {
        grid-template-columns: repeat(1, 1fr);
    }

    .inv-form-grid-group {
        grid-template-columns: repeat(1, 1fr);
    }

    .inv-form-content {
        padding: 20px 20px 30px;
    }

    .inv-form-footer {
        padding: 20px 30px;
    }

    .inv-form-footer__contact {
        flex-direction: column;
        align-items: center;
    }

    .inv-form-title {
        font-size: 24px;
        line-height: 30px;
    }

    .inv-form-close {
        right: 20px;
        top: 26px;
    }

    .inv-form-input,
    .inv-form-btn {
        height: 48px;
    }

    .inv-form-textarea {
        height: 130px;
    }

    .inv-form-btn {
        font-size: 14px;
    }
}

.inv-form-error-block {
    color: red;
    display: none;
    font-size: 14px;
    margin-top: 15px;
}

.inv-form-error-input {
    color: red;
    display: none;
    font-size: 14px;
    margin-top: 5px;
}

@media (min-width: 1220px) {
.header-navigation .hover-button.sixth:before {
	content: "Заказать проект";
  }
}
