
.contact-info {
    padding: 70px 0;
    max-width: 93%;
    margin: 0 auto;
}

.contact-info .wrap {
    max-width: calc(1120px + 10em);
    padding: 50px 5em;
    background: #9dd3a233;
    border-radius: 20px;
}

.contact-info article {
    align-items: flex-start;
    gap: 6%;
}

.contact-info .side {
    padding-top: 2em;
    padding-bottom: 2em;
}

.contact-info .box-title {
    font-size: 2.6em;
}

.contact-info .description {
    margin-top: 1em;
    font-size: 16px;
    line-height: 1.6;
    color: #173532;
    max-width: 460px;
}

.contact-info .contact-details {
    margin-top: 2.4em;
    display: flex;
    flex-direction: column;
    gap: 1.1em;
}

.contact-info .contact-details .contact-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.9em;
    color: var(--text-green);
    font-size: 1.05em;
    transition: color 0.35s ease-in-out;
}

.contact-info .contact-details .contact-icon svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.contact-info .contact-details .address-icon {
    align-items: flex-start;
}

.contact-info .contact-details .address-icon svg {
    margin-top: 0.15em;
}

.contact-info .contact-details .address-icon p {
    margin: 0;
}

.contact-info .contact-details .contact-text {
    word-break: break-word;
}

.contact-info .contact-details .address-icon .contact-text {
    white-space: pre-line;
}

@media (min-width: 1200px) {
    .contact-info .contact-details a.contact-icon:hover {
        color: var(--text-orange);
    }
}

.contact-info .form-holder .wpcf7-form {
    max-width: 640px;
}

.contact-info .form-holder .wpcf7-form p {
    position: relative;
}

.contact-info .form-holder .wpcf7-submit {
    position: relative;
    z-index: 1;
}

.contact-info .form-holder .wpcf7-form.submitting .wpcf7-submit {
    color: transparent;
    pointer-events: none;
}

/* Input[type=submit] can't render ::before/::after (replaced element), so
   we take over CF7's own spinner <span> (already inserted after the submit
   button — see .has-spinner in the CF7 JS) instead of pseudo-content on it. */
.contact-info .form-holder .wpcf7-spinner {
    display: block !important;
    visibility: hidden;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 3.125em;
    opacity: 1;
    z-index: 2;
}

.contact-info .form-holder .wpcf7-form.submitting .wpcf7-spinner {
    visibility: visible;
}

.contact-info .form-holder .wpcf7-spinner::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.4em;
    height: 1.4em;
    margin: -0.7em 0 0 -0.7em;
    background: transparent;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-top-color: var(--bgd-white);
    border-radius: 50%;
    transform-origin: center center;
    animation: contact-info-spin 0.7s linear infinite;
}

@keyframes contact-info-spin {
    to {
        transform: rotate(360deg);
    }
}

.contact-thank-you-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5em;
}

.contact-thank-you-popup.active {
    display: flex;
}

.contact-thank-you-popup .popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 52, 50, 0.55);
}

.contact-thank-you-popup .popup-box {
    position: relative;
    max-width: 500px;
    width: 100%;
    padding: 3.5em 1.5em;
    background: var(--bgd-white);
    border-radius: var(--round-default);
    text-align: center;
    box-shadow: 0 20px 60px rgba(18, 52, 50, 0.25);
}

.contact-thank-you-popup .popup-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 2em;
    height: 2em;
    border: none;
    background: transparent;
    color: var(--text-green);
    font-size: 1.4em;
    line-height: 1;
    cursor: pointer;
    transition: color 0.25s ease-in-out;
}

@media (min-width: 1200px) {
    .contact-thank-you-popup .popup-close:hover {
        color: var(--text-orange);
    }
}

.contact-thank-you-popup .popup-box h3 {
    font-family: var(--font-lora);
    font-size: 1.7em;
    color: var(--text-green);
}

.contact-thank-you-popup .popup-box .description {
    margin-top: 0.6em;
    font-size: 1em;
    color: #173532;
}

@media all and (max-width: 1400px) {
    .contact-info .box-title {
        font-size: 2.2em;
    }
}

@media all and (max-width: 1000px) {

    .contact-info {
        padding: 40px 0;
    }

    .contact-info .wrap {
        max-width: calc(1440px + 2.5em);
        padding: 0 25px;
    }
    .contact-info article {
        flex-direction: column;
        gap: 0;
    }
    .contact-info .side {
        width: 100% !important;
        padding-top: 1.2em;
        padding-bottom: 1.2em;
    }

    .contact-info .form-holder .wpcf7-form,
    .contact-info .description {
        max-width: 100%;
        width: 100%;
    }
}

@media all and (max-width: 500px) {
    .contact-info .box-title {
        font-size: 1.7em;
    }
    .contact-info .description,
    .contact-info .contact-details .contact-icon {
        font-size: 15px;
    }
}
