.overlay {
    overflow-y: auto;
}

.contact .form__group:nth-child(1) {
    grid-column: span 1;
}

#contact-form {
    display: block;
}

#modal-form {
    display: block;
}

#contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#modal-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#modal-form .form__group-name {
    grid-column: span 2;
}

#contact-form form span[data-name="textarea-864"] {
    grid-column: span 2;
    max-height: 130px;
}

#modal-form form span[data-name="textarea-864"] {
    grid-column: span 2;
    max-height: 130px;
}

#contact-form form span[data-name="textarea-864"] textarea {
    height: 100%;
}

#modal-form form span[data-name="textarea-864"] textarea {
    height: 100%;
}

span[dana-name="acceptance-704"] {
    margin-left: 0 !important;
}

.wpcf7-list-item {
    margin: 0 !important;
}

#checkbox1,
#checkbox2 {
    position: absolute;
    opacity: 0;
}

#checkbox1+span,
#checkbox2+span {
    display: block;
    padding-left: 34px !important;
    cursor: pointer;
    color: var(--black-2);
}

#checkbox1+span a,
#checkbox2+span a {
    color: var(--accent);
}

#checkbox1+span::before,
#checkbox2+span::before {
    width: 24px;
    height: 24px;
    background: url('../img/unchecked.svg') no-repeat center/cover;
    position: absolute;
    left: 0;
    top: 0;
}

#checkbox1:checked+span::before,
#checkbox2:checked+span::before {
    background: url('../img/checked.svg') no-repeat center/cover;
}

.serv__item-head img {
    width: 32px;
    height: 32px;
}

.incl__item-icon img {
    width: 40px;
    height: 40px;
}

.footer__col.footer__col-2 {
    max-width: 300px;
}

.nav__list-item--dropdown .header__services-list {
    min-width: 400px !important;
}

.menu__list-dropdown li a img {
    flex-shrink: 0;
}

@media (max-width: 650px) {
    #modal-form form {
        display: flex;
        flex-direction: column;
    }

    #modal-form form span[data-name="textarea-864"] textarea {
        height: 100%;
        max-height: 130px;
    }
}

@media (max-width: 500px) {
    #checkbox1+span {
        font-size: 14px;
    }

    .incl__item-icon img {
        width: 30px;
        height: 30px;
    }

    .partners__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {

    .partners__inner {
        grid-template-columns: 1fr 1fr !important;
    }

    .partners__item {
        padding: 20px;
    }
}

.wpcf7-response-output {
    display: none;
}

.thank-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.thank-overlay.is-visible .thank-modal {
    transform: translateY(0);
}

.wpcf7-acceptance a {
    color: #2eafb5;
}