/* Vigour V61 — Contact page aligned with the About page */
.contact-page-body .vg-page-wrapper,
.contact-page-body .vg-main-column {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.vg-contact-section {
    background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.vg-contact-heading {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.vg-contact-heading .vg-section-title::after {
    margin-inline: auto;
}

.vg-contact-heading > p {
    color: var(--vg-muted);
    font-size: 17px;
    line-height: 1.9;
}

.vg-contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #edf6ff;
    color: var(--vg-primary);
    font-weight: 800;
}

.vg-contact-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: stretch;
}

.vg-contact-details,
.vg-contact-form {
    min-width: 0;
    height: 100%;
}

.vg-contact-card-title {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.vg-contact-card-title .vg-icon {
    flex: 0 0 58px;
    margin: 0;
}

.vg-contact-card-title h2,
.vg-contact-form h2 {
    margin: 0 0 8px;
    color: var(--vg-text);
    font-size: 26px;
}

.vg-contact-card-title p,
.vg-contact-form-intro {
    margin: 0;
    color: var(--vg-muted);
    line-height: 1.8;
}

.vg-contact-content {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--vg-border);
}

.vg-contact-form-intro {
    margin-bottom: 24px;
}

.vg-contact-form-fields {
    display: grid;
    gap: 16px;
}

.vg-contact-form-fields .vg-field {
    min-width: 0;
    margin: 0;
}

.vg-contact-form-fields .vg-field input,
.vg-contact-form-fields .vg-field textarea {
    display: block;
    max-width: 100%;
    background: #fbfdff;
    color: var(--vg-text);
}

.vg-contact-form-fields .vg-field textarea {
    min-height: 150px;
    resize: vertical;
}

.vg-contact-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    min-width: 0;
    padding: 15px;
    border: 1px solid #e7f0fb;
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
}

.vg-contact-item-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(4, 62, 122, .08);
}

.vg-contact-item small {
    display: block;
    margin-bottom: 3px;
    color: var(--vg-muted);
}

.vg-contact-item strong {
    display: block;
    color: var(--vg-text);
    overflow-wrap: anywhere;
}

.vg-contact-item[href] {
    transition: transform .2s, border-color .2s;
}

.vg-contact-item[href]:hover {
    transform: translateY(-2px);
    border-color: #bfd8f4;
}

.vg-contact-submit {
    width: 100%;
    min-height: 52px;
    gap: 10px;
    cursor: pointer;
}

.vg-form-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 15px;
    margin-bottom: 18px;
    border-radius: 12px;
    line-height: 1.7;
}

.vg-form-alert-success {
    border: 1px solid #cce8ba;
    background: #eef9e8;
    color: #397515;
}

.vg-form-alert-error {
    border: 1px solid #f4c7c7;
    background: #fff1f1;
    color: #9a3030;
}

.vg-honeypot {
    position: absolute !important;
    inset-inline-start: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.vg-contact-section .vg-map {
    border: 1px solid var(--vg-border);
    background: #fff;
    box-shadow: 0 10px 30px rgba(4, 62, 122, .06);
}

.vg-contact-section .vg-map iframe {
    display: block;
    min-height: 360px;
}

@media (max-width: 900px) {
    .vg-contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 560px) {
    .vg-contact-heading {
        margin-bottom: 22px;
        text-align: start;
    }

    .vg-contact-heading .vg-section-title::after {
        margin-inline-start: 0;
    }

    .vg-contact-card-title {
        display: grid;
    }

    .vg-contact-card-title h2,
    .vg-contact-form h2 {
        font-size: 23px;
    }

    .vg-contact-item {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 13px;
    }

    .vg-contact-item-icon {
        width: 42px;
        height: 42px;
    }

    .vg-contact-section .vg-map iframe {
        min-height: 300px;
    }
}
