/* ==========================================================================
   Contact Us New – MCG Autostyling
   ========================================================================== */
/* --- Full-width map hero --- */
.kg-full-width-map-container {
    width: 100%;
    background: #1a1a1a;
    line-height: 0;
}
.kg-full-width-map-content {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.kg-full-width-map-container iframe {
    display: block;
    width: 100%;
    min-height: 380px;
    height: 45vh;
    max-height: 520px;
    border: 0;
    margin: 0;
    padding: 0;
}
.kg-full-width-map-container .kg-full-width-map-content .cmplz-placeholder-parent {
    height: 45vh;
    min-height: 380px;
    max-height: 520px;
}
.kg-contact-us-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 50px 0;
    gap: 50px;
    align-items: flex-start;
    gap: 40px;
    padding: 60px 0 80px;
}
.col-sm-6.kg-left-form {
    width: 45%;
}
.col-sm-6.kg-left-form,
.col-sm-6.kg-right-img {
    width: 45%;
    width: calc(50% - 20px);
    flex: 1 1 calc(50% - 20px);
    min-width: 0;
}

/* --- Business info card --- */
.kg-left-form .contact-adress {
    --kg-brand: #662483;
    --kg-accent: #aec502;
    --kg-ink: #2d2d2d;
    --kg-ink-muted: #6b6b6b;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    padding: 32px 36px 28px;
    margin-bottom: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.kg-left-form .contact-adress__title,
.kg-right-img h2 {
    margin: 0 0 28px;
    padding: 0;
    border: none;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--kg-ink);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.kg-left-form .contact-adress__title::after,
.kg-right-img h2::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin-top: 10px;
    background: #aec502;
    border-radius: 2px;
}
.kg-right-img .wpforms-form .wpforms-field legend {
    font-weight: bold !important;
    font-size: 0.92em !important;
}
.kg-left-form .contact-adress__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}

.kg-left-form .contact-adress__item:first-of-type {
    padding-top: 0;
}

.kg-left-form .contact-adress__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.kg-left-form .contact-adress__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.kg-left-form .contact-adress__item--purple .contact-adress__icon {
    background: rgba(102, 36, 131, 0.12);
    color: var(--kg-brand);
}

.kg-left-form .contact-adress__item--green .contact-adress__icon {
    background: rgba(174, 197, 2, 0.18);
    color: #8fa002;
}

.kg-left-form .contact-adress__icon svg {
    display: block;
}

.kg-left-form .contact-adress__body {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.kg-left-form .contact-adress__label {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--kg-ink);
    line-height: 1.3;
}

.kg-left-form .contact-adress__text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--kg-ink-muted);
}

.kg-left-form .contact-adress__text a {
    color: var(--kg-ink-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.kg-left-form .contact-adress__text a:hover,
.kg-left-form .contact-adress__text a:focus-visible {
    color: var(--kg-brand);
    text-decoration: underline;
    outline: none;
}

.kg-left-form .contact-adress__hours {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--kg-ink-muted);
}

.kg-left-form .contact-adress__hours li {
    margin: 0;
    padding: 0;
}

.kg-left-form .contact-adress__hours span {
    font-weight: 500;
    color: var(--kg-ink-muted);
}
.kg-360-view-tour {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.kg-360-view-tour iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}
.kg-right-img {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 36px 40px;
}

.kg-right-img .wpforms-container {
    margin: 0 !important;
}
.kg-right-img .wpforms-field-label {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    font-size: 0.95rem;
}
.kg-right-img .wpforms-field {
    margin-bottom: 20px !important;
}

.kg-right-img input[type="text"],
.kg-right-img input[type="email"],
.kg-right-img input[type="tel"],
.kg-right-img input[type="url"],
.kg-right-img input[type="number"],
.kg-right-img select,
.kg-right-img textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #d4d4d4 !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    color: #333 !important;
    background: #fafafa !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: none !important;
}
.kg-right-img input:focus,
.kg-right-img select:focus,
.kg-right-img textarea:focus {
    outline: none !important;
    border-color: #c8102e !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12) !important;
}
.kg-right-img textarea {
    min-height: 140px !important;
    resize: vertical;
}
.kg-right-img .wpforms-submit-container {
    margin-top: 8px !important;
    padding-top: 0 !important;
}
.kg-right-img .wpforms-form .wpforms-field-container .wpforms-field-row {
    max-width: 100%;
}
.kg-right-img .wpforms-form .wpforms-field-container fieldset,
.kg-right-img .wpforms-form .wpforms-field-container input,
.kg-right-img .wpforms-form .wpforms-field-container select,
.kg-right-img .wpforms-form .wpforms-field-container textarea {
    margin: 0 !important;
    background: #FFF !important;

}
.kg-right-img .wpforms-form .wpforms-field {
    margin-bottom: 10px !important;
    padding: 0 !important;
}
.kg-right-img button[type="submit"],
.kg-right-img .wpforms-submit {
    width: 100%;
    padding: 14px 28px !important;
    background: #662483 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    height: auto !important;
}
.kg-right-img button[type="submit"]:hover,
.kg-right-img .wpforms-submit:hover {
    background: #aec502 !important;
}
.kg-right-img button[type="submit"]:active,
.kg-right-img .wpforms-submit:active {
    transform: translateY(1px);
}
.kg-right-img .wpforms-required-label {
    color: #c8102e;
}
@media (max-width: 991px) {
    .kg-contact-us-wrap {
        flex-direction: column-reverse;
        gap: 32px;
        padding: 48px 0 64px;
    }
    .col-sm-6.kg-left-form,
    .col-sm-6.kg-right-img {
        width: 100%;
        flex: 1 1 100%;
    }
    .kg-right-img {
        order: -1;
    }
}

@media (max-width: 768px) {
    .kg-contact-us-wrap {
        flex-direction: column-reverse;
        gap: 28px;
        padding: 32px 0 48px;
    }
    .col-sm-6.kg-left-form,
    .col-sm-6.kg-right-img {
        width: 100%;
    }
    
    .kg-left-form .contact-adress {
        padding: 24px 22px 20px;
    }

    .kg-left-form .contact-adress__title,
    .kg-right-img h2 {
        font-size: 1.25rem;
    }

    .kg-left-form .contact-adress__item {
        gap: 14px;
        padding: 16px 0;
    }

    .kg-left-form .contact-adress__icon {
        width: 40px;
        height: 40px;
    }
    .kg-360-view-tour iframe {
        height: 300px;
    }
    .kg-right-img {
        padding: 24px 22px;
    }

}
@media (max-width: 480px) {
    .kg-left-form .contact-adress,
    .kg-right-img,
    .kg-360-view-tour {
        border-radius: 8px;
    }
    .kg-right-img button[type="submit"],
    .kg-right-img .wpforms-submit {
        padding: 16px 20px !important;
    }
}
