/**
 * GHVM Contact Us — clearer fields, floating labels, premium panel
 */
.ghvm-contact {
    --ghvm-c-teal: var(--color-primary, #1ab69d);
    --ghvm-c-teal-deep: #0f8f7a;
    --ghvm-c-coral: var(--color-secondary, #ee4a62);
    --ghvm-c-ink: var(--color-heading, #181818);
    --ghvm-c-muted: #6b7385;
    --ghvm-c-stage: #eef7f5;
    --ghvm-c-ease: cubic-bezier(0.22, 1, 0.36, 1);
    background:
        radial-gradient(ellipse 60% 45% at 0% 0%, rgba(26, 182, 157, 0.08), transparent 55%),
        radial-gradient(ellipse 45% 35% at 100% 10%, rgba(238, 74, 98, 0.04), transparent 50%),
        #fafcfb;
    padding: 56px 0 24px !important;
}

.ghvm-contact .container {
    max-width: 1180px;
}

.ghvm-contact-info .heading-title {
    margin-bottom: 8px !important;
    font-family: var(--font-secondary);
    font-size: clamp(26px, 3vw, 34px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: var(--ghvm-c-ink) !important;
}

.ghvm-contact-info .ghvm-contact-lead {
    margin: 0 0 28px;
    color: var(--ghvm-c-muted);
    font-size: 15px;
    line-height: 1.6;
    max-width: 34ch;
}

.ghvm-contact-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.ghvm-contact-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(20, 32, 43, 0.07);
    box-shadow: 0 8px 22px rgba(20, 32, 43, 0.04);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    text-decoration: none !important;
    color: inherit;
}

a.ghvm-contact-card:hover {
    border-color: rgba(26, 182, 157, 0.35);
    box-shadow: 0 12px 28px rgba(20, 32, 43, 0.08);
}

.ghvm-contact-card-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ghvm-c-stage);
    color: var(--ghvm-c-teal-deep);
    font-size: 18px;
}

.ghvm-contact-card .title {
    margin: 0 0 4px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ghvm-c-muted) !important;
}

.ghvm-contact-card p,
.ghvm-contact-card a {
    margin: 0 !important;
    color: var(--ghvm-c-ink) !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none !important;
}

.ghvm-contact-info .social-share {
    margin-top: 22px !important;
    gap: 10px;
}

.ghvm-contact-info .social-share a {
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(20, 32, 43, 0.1) !important;
    background: #fff !important;
    color: var(--ghvm-c-ink) !important;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.ghvm-contact-info .social-share a:hover {
    background: var(--ghvm-c-teal) !important;
    border-color: var(--ghvm-c-teal) !important;
    color: #fff !important;
}

/* Form panel */
.ghvm-contact .contact-form.form-style-2.ghvm-contact-form {
    padding: 36px 36px 40px !important;
    border-radius: 24px !important;
    border: 1px solid rgba(20, 32, 43, 0.07);
    box-shadow: 0 20px 48px rgba(20, 32, 43, 0.08) !important;
    margin-bottom: 40px !important;
    background: #fff !important;
    position: relative;
    z-index: 2;
}

@media (max-width: 575px) {
    .ghvm-contact .contact-form.form-style-2.ghvm-contact-form {
        padding: 24px 18px 28px !important;
        border-radius: 18px !important;
        margin-bottom: 28px !important;
    }
}

.ghvm-contact-form .section-title {
    margin-bottom: 22px !important;
}

.ghvm-contact-form .section-title .title {
    margin: 0 0 8px !important;
    font-family: var(--font-secondary);
    font-size: clamp(24px, 2.5vw, 30px);
    font-weight: 800;
    color: var(--ghvm-c-ink);
}

.ghvm-contact-form .section-title p {
    margin: 0 !important;
    color: var(--ghvm-c-muted);
    font-size: 14.5px;
    line-height: 1.55;
}

.ghvm-contact-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.ghvm-contact-alert.is-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.ghvm-contact-alert.is-warning,
.ghvm-contact-alert.is-danger {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.ghvm-contact-form .row.row--10 {
    --bs-gutter-x: 14px;
    --bs-gutter-y: 14px;
}

.ghvm-field {
    position: relative;
    margin-bottom: 0 !important;
}

.ghvm-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ghvm-c-ink);
}

.ghvm-field label .req {
    color: var(--ghvm-c-coral);
    margin-left: 2px;
}

.ghvm-contact-form .ghvm-field input,
.ghvm-contact-form .ghvm-field textarea {
    width: 100%;
    border: 1px solid rgba(20, 32, 43, 0.12) !important;
    border-radius: 14px !important;
    background: #f8fbfa !important;
    padding: 14px 16px !important;
    font-size: 15px !important;
    font-weight: 500;
    color: var(--ghvm-c-ink) !important;
    line-height: 1.4 !important;
    min-height: 52px;
    box-shadow: none !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ghvm-contact-form .ghvm-field textarea {
    min-height: 120px;
    resize: vertical;
}

.ghvm-contact-form .ghvm-field input::placeholder,
.ghvm-contact-form .ghvm-field textarea::placeholder {
    color: #9aa3b2;
    opacity: 1;
}

.ghvm-contact-form .ghvm-field input:hover,
.ghvm-contact-form .ghvm-field textarea:hover {
    border-color: rgba(26, 182, 157, 0.35) !important;
}

.ghvm-contact-form .ghvm-field input:focus,
.ghvm-contact-form .ghvm-field textarea:focus {
    outline: none !important;
    background: #fff !important;
    border-color: rgba(26, 182, 157, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(26, 182, 157, 0.12) !important;
}

.ghvm-contact-form .ghvm-field.is-invalid input,
.ghvm-contact-form .ghvm-field.is-invalid textarea {
    border-color: rgba(238, 74, 98, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(238, 74, 98, 0.1) !important;
}

.ghvm-field-hint {
    display: none;
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ghvm-c-coral);
}

.ghvm-field.is-invalid .ghvm-field-hint {
    display: block;
}

.ghvm-captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--ghvm-c-stage);
    border: 1px solid rgba(26, 182, 157, 0.15);
}

.ghvm-captcha-q {
    flex: 1 1 180px;
    margin: 0;
    font-size: 14px;
    font-weight: 650;
    color: var(--ghvm-c-ink);
}

.ghvm-captcha-q strong {
    color: var(--ghvm-c-teal-deep);
}

.ghvm-captcha .ghvm-field {
    flex: 1 1 140px;
    max-width: 180px;
}

.ghvm-captcha .ghvm-field label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.ghvm-captcha input {
    background: #fff !important;
}

.ghvm-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.ghvm-contact-form .submit-btn {
    width: 100%;
    margin-top: 8px !important;
    height: 52px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700 !important;
    transition: transform 0.18s var(--ghvm-c-ease), box-shadow 0.18s ease, opacity 0.18s ease;
}

.ghvm-contact-form .submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 143, 122, 0.28);
}

.ghvm-contact-form .submit-btn:disabled {
    opacity: 0.75;
    cursor: wait;
}

.ghvm-contact-form .submit-btn .ghvm-btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ghvm-spin 0.7s linear infinite;
    display: none;
}

.ghvm-contact-form .submit-btn.is-loading .ghvm-btn-spinner {
    display: inline-block;
}

.ghvm-contact-form .submit-btn.is-loading .ghvm-btn-label,
.ghvm-contact-form .submit-btn.is-loading i {
    display: none;
}

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

.ghvm-contact .google-map-area,
.ghvm-contact + .google-map-area {
    border-radius: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    clear: both;
}

.google-map-area.ghvm-map {
    margin-top: 0;
    display: block;
}

.google-map-area.ghvm-map .gmap_canvas,
.google-map-area.ghvm-map iframe {
    filter: saturate(0.92) contrast(1.02);
}

@media (max-width: 991px) {
    .ghvm-contact {
        padding-top: 40px !important;
    }

    .ghvm-contact-info .ghvm-contact-lead {
        max-width: none;
    }
}
