.contacts-section-wrapper {
    margin: 0px 0px 56px;
}

.contacts-section-wrapper .animation-section-header {
    gap: 20px;
    justify-content: space-between;
}

.contacts-section-wrapper .animation-section-header-desc {
    max-width: 794px;
}

.contacts-section-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-section-item {
    display: grid;
    grid-template-columns: 520px 1fr;
}

.contact-section-item + .contact-section-item {
    padding: 24px 0px 0px;
    border-top: 1px solid var(--border-gray);
}

.contact-section-item-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-section-item-link {
    width: fit-content;
    justify-content: flex-start;
    color: var(--dark);
    transition: var(--transition);
}

.contact-section-item-link:hover {
    color: var(--brown);
}

.contacts-form-section {
    padding: 100px 0px 0px;
    display: flex;
    align-items: center;
    gap: 58px;
}

.hidden-fields-container {
    display: none;
}

.contacts-form-section .form-field>label {
    top: 50%;
}

.contacts-form-section .form-field>label:has(+ span .wpcf7-not-valid) {
    top: calc(50% - 8px);
}

.contacts-form-section .form-field textarea {
    padding-top: 14px;
    height: 53px;
}

.white-form .form-field label:hover,
.white-form .form-field>label:has(+ input:hover),
.white-form .form-field>label:has(+ input:focus),
.white-form .form-field>label:has(+ span input:hover),
.white-form .form-field>label:has(+ span input:focus),
.white-form .form-field input:hover,
.white-form .form-field input:focus,
.white-form .form-field>label:has(+ textarea:hover),
.white-form .form-field>label:has(+ textarea:focus),
.white-form .form-field>label:has(+ span textarea:hover),
.white-form .form-field>label:has(+ span textarea:focus),
.white-form .form-field textarea:hover,
.white-form .form-field textarea:focus,
.white-form .form-field.filled label,
.white-form .form-field.filled input,
.white-form .form-field.filled textarea {
    color: var(--gray);
}

.contacts-form-section .form-button {
    justify-content: flex-end;
}

.contacts-form-section .form-button .icon:after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 8px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="8" viewBox="0 0 14 8"><path d="M1 3.5C0.723858 3.5 0.5 3.72386 0.5 4C0.5 4.27614 0.723858 4.5 1 4.5L1 3.5ZM13.3536 4.35355C13.5488 4.15829 13.5488 3.84171 13.3536 3.64645L10.1716 0.464467C9.97631 0.269205 9.65973 0.269205 9.46447 0.464467C9.2692 0.659729 9.2692 0.976311 9.46447 1.17157L12.2929 4L9.46447 6.82843C9.2692 7.02369 9.2692 7.34027 9.46447 7.53553C9.65973 7.7308 9.97631 7.7308 10.1716 7.53553L13.3536 4.35355ZM1 4L1 4.5L13 4.5L13 4L13 3.5L1 3.5L1 4Z" fill="white"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.contacts-form-section .btn.btn-with-icon:hover .icon:after {
    background-image: url('data:image/svg+xml;utf8,<svg width="14" height="8" viewBox="0 0 14 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 3.5C0.723858 3.5 0.5 3.72386 0.5 4C0.5 4.27614 0.723858 4.5 1 4.5L1 3.5ZM13.3536 4.35355C13.5488 4.15829 13.5488 3.84171 13.3536 3.64645L10.1716 0.464467C9.97631 0.269205 9.65973 0.269205 9.46447 0.464467C9.2692 0.659729 9.2692 0.976311 9.46447 1.17157L12.2929 4L9.46447 6.82843C9.2692 7.02369 9.2692 7.34027 9.46447 7.53553C9.65973 7.7308 9.97631 7.7308 10.1716 7.53553L13.3536 4.35355ZM1 4L1 4.5L13 4.5L13 4L13 3.5L1 3.5L1 4Z" fill="black"></path></svg>');
}
/* Errors - start */

.contacts-form-section .screen-reader-response {
    display: none;
}

.contacts-form-section .form-field .wpcf7-form-control-wrap {
    flex-direction: column;
    gap: 4px;
    color: var(--red);
}

.contacts-form-section .form-field .wpcf7-not-valid-tip {
    display: block;
    margin: 0px 0px 0px 8px;
    font-size: 14px;
}

/* Errors - end */

.map-container iframe {
    border-radius: 20px;
}

@media (max-width: 1279px) {
    .contacts-form-section {
        gap: 30px;
    }

    .map-container iframe {
        width: 500px;
    }
}

@media (max-width: 1024px) {
    .contact-section-item {
        grid-template-columns: 1fr;
    }
    .contact-section-item-link,
    .contact-section-item-text {
        margin: 8px 0px 0px 46px;
    }

    .contacts-form-section {
        flex-direction: column;
    }
    .map-container {
        margin: 0 calc((100% - 100vw) / 2);
        max-width: initial;
        width: 100vw;
    }
    .map-container iframe {
        width: 100%;
        height: 264px;
        border-radius: 20px 20px 0px 0px;
    }
    .footer {
        margin: 0px !important;
    }
}

@media (max-width: 767px) {
    .contacts-section-wrapper {
        margin: 0px 0px 30px;
    }
    .contact-section-item-title {
        gap: 14px;
    }
    .contact-section-item-link, 
    .contact-section-item-text {
        margin: 8px 0px 0px 37px;
    }
    .contacts-form-section {
        padding: 80px 0px 0px;
    }
}

@media (max-width: 480px) {
    .contact-section-item-link.h5.btn.simple {
        font-size: 16px;
    }
}

@media (max-width: 350px) {
    .contact-section-item-link.h5.btn.simple {
        font-size: 14px;
    }
}