/* =========================================================
   MyWealthCare Elegant Contact Page
   File: assets/css/contact-page.css
========================================================= */

:root {
    --mw-blue: #123f91;
    --mw-blue-dark: #0b2b68;
    --mw-orange: #f47b20;
    --mw-heading: #1f2f55;
    --mw-ink: #344054;
    --mw-muted: #6f7d95;
    --mw-border: #edf1f7;
    --mw-white: #ffffff;
    --mw-light: #f8fbff;
    --mw-green: #039855;
    --mw-red: #b42318;
    --mw-shadow-sm: 0 8px 22px rgba(18, 63, 145, 0.055);
    --mw-shadow-md: 0 14px 34px rgba(18, 63, 145, 0.08);
    --mw-shadow-lg: 0 22px 54px rgba(18, 63, 145, 0.11);
}

.mw-contact-page {
    font-family: "Inter", Arial, sans-serif;
    color: var(--mw-ink);
    background: #fff;
    overflow-x: hidden;
    font-size: 14px;
    line-height: 1.65;
}

.mw-contact-page *,
.mw-contact-page *::before,
.mw-contact-page *::after {
    box-sizing: border-box;
}

.mw-contact-page a {
    color: inherit;
    text-decoration: none;
}

.mw-contact-page .container {
    width: min(1160px, 92%);
    margin: 0 auto;
}

/* Hero */
.mw-contact-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 52px;
    background:
        radial-gradient(circle at 14% 15%, rgba(244, 123, 32, 0.075), transparent 30%),
        radial-gradient(circle at 86% 8%, rgba(18, 63, 145, 0.10), transparent 30%),
        linear-gradient(180deg, #fbfdff, #ffffff);
}

.mw-contact-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(18, 63, 145, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 63, 145, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent);
}

.mw-contact-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: center;
}

.mw-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    padding: 8px 13px;
    border: 1px solid var(--mw-border);
    border-radius: 999px;
    background: #fff;
    color: var(--mw-blue);
    box-shadow: var(--mw-shadow-sm);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.mw-contact-badge span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mw-orange);
    box-shadow: 0 0 0 5px rgba(244, 123, 32, 0.10);
}

.mw-contact-hero h1 {
    max-width: 660px;
    margin: 0 0 12px;
    color: var(--mw-heading);
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 760;
    line-height: 1.15;
    letter-spacing: -0.75px;
}

.mw-contact-hero p {
    max-width: 660px;
    margin: 0;
    color: var(--mw-muted);
    font-size: 14.5px;
    line-height: 1.75;
}

.mw-contact-hero-card {
    padding: 20px;
    border-radius: 24px;
    background: linear-gradient(145deg, #123f91, #0d2f73);
    color: #fff;
    box-shadow: var(--mw-shadow-lg);
}

.mw-contact-hero-card h3 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 760;
}

.mw-hero-contact-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.105);
    margin-bottom: 10px;
}

.mw-hero-contact-row span {
    color: #dce7ff;
    font-size: 12px;
    font-weight: 650;
}

.mw-hero-contact-row strong {
    color: #ffe0c7;
    font-size: 12.5px;
    font-weight: 760;
    text-align: right;
}

/* Contact Section */
.mw-contact-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.mw-contact-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 28px;
    align-items: start;
}

.mw-contact-info-panel,
.mw-contact-form-panel {
    border: 1px solid var(--mw-border);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--mw-shadow-sm);
}

.mw-contact-info-panel {
    padding: 28px;
}

.mw-eyebrow {
    color: var(--mw-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mw-light {
    color: #ffd0ab;
}

.mw-contact-info-panel h2 {
    margin: 8px 0 12px;
    color: var(--mw-heading);
    font-size: clamp(24px, 2.75vw, 34px);
    font-weight: 760;
    line-height: 1.2;
    letter-spacing: -0.45px;
}

.mw-contact-info-panel > p {
    margin: 0 0 24px;
    color: var(--mw-muted);
    font-size: 14px;
    line-height: 1.7;
}

.mw-contact-info-list {
    display: grid;
    gap: 14px;
}

.mw-contact-info-box {
    display: flex;
    gap: 13px;
    padding: 15px;
    border: 1px solid var(--mw-border);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.mw-info-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: #eef4ff;
    color: var(--mw-blue);
    font-size: 17px;
    font-weight: 800;
}

.mw-contact-info-box h3 {
    margin: 0 0 4px;
    color: var(--mw-heading);
    font-size: 15px;
    font-weight: 760;
}

.mw-contact-info-box a,
.mw-contact-info-box p {
    margin: 0;
    color: var(--mw-muted);
    font-size: 13px;
    line-height: 1.6;
}

.mw-contact-info-box a:hover {
    color: var(--mw-blue);
}

.mw-contact-note {
    display: grid;
    gap: 3px;
    margin-top: 18px;
    padding: 15px;
    border-radius: 18px;
    background: linear-gradient(135deg, #123f91, #0d2f73);
    color: #fff;
}

.mw-contact-note strong {
    font-size: 14px;
}

.mw-contact-note span {
    color: #dce7ff;
    font-size: 12.5px;
}

/* Form */
.mw-contact-form-panel {
    padding: 28px;
}

.mw-success-message,
.mw-error-message {
    margin-bottom: 16px;
    padding: 13px 14px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 750;
}

.mw-success-message {
    background: #f0fff4;
    border: 1px solid #b7ebc6;
    color: var(--mw-green);
}

.mw-error-message {
    background: #fff5f5;
    border: 1px solid #ffc9c9;
    color: var(--mw-red);
}

.mw-form-head {
    margin-bottom: 20px;
}

.mw-form-head h2 {
    margin: 0 0 6px;
    color: var(--mw-heading);
    font-size: 22px;
    font-weight: 760;
}

.mw-form-head p {
    margin: 0;
    color: var(--mw-muted);
    font-size: 13.5px;
}

.mw-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mw-field {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
}

.mw-field label {
    color: var(--mw-heading);
    font-size: 12.5px;
    font-weight: 750;
}

.mw-field label span {
    color: var(--mw-orange);
}

.mw-field input,
.mw-field select,
.mw-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #dfe6f2;
    border-radius: 13px;
    outline: none;
    background: #fff;
    color: var(--mw-ink);
    font: inherit;
    font-size: 13.5px;
    transition: 0.22s ease;
}

.mw-field textarea {
    min-height: 118px;
    resize: vertical;
}

.mw-field input:focus,
.mw-field select:focus,
.mw-field textarea:focus {
    border-color: var(--mw-blue);
    box-shadow: 0 0 0 4px rgba(18, 63, 145, 0.07);
}

.mw-consent {
    display: flex;
    gap: 10px;
    margin: 18px 0;
    padding: 14px;
    border: 1px solid var(--mw-border);
    border-radius: 16px;
    background: #f8fbff;
    color: var(--mw-muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.mw-consent input {
    margin-top: 4px;
    flex: 0 0 auto;
}

.mw-submit-btn,
.mw-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--mw-orange), #ff9a48);
    color: #fff;
    box-shadow: 0 10px 22px rgba(244, 123, 32, 0.20);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    transition: 0.22s ease;
    text-decoration: none;
}

.mw-submit-btn {
    width: 100%;
    min-height: 42px;
    padding: 10px 18px;
}

.mw-call-btn {
    padding: 11px 20px;
    white-space: nowrap;
}

.mw-submit-btn:hover,
.mw-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(244, 123, 32, 0.26);
}

/* CTA */
.mw-contact-cta {
    padding: 58px 0;
    background:
        radial-gradient(circle at 15% 15%, rgba(244, 123, 32, 0.18), transparent 30%),
        linear-gradient(135deg, #0b2b68, #123f91);
    color: #fff;
}

.mw-contact-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.mw-contact-cta h2 {
    margin: 8px 0;
    color: #fff;
    font-size: clamp(24px, 2.75vw, 34px);
    font-weight: 760;
    line-height: 1.2;
    letter-spacing: -0.45px;
}

.mw-contact-cta p {
    max-width: 700px;
    margin: 0;
    color: #dce7ff;
    font-size: 14px;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 980px) {
    .mw-contact-hero-inner,
    .mw-contact-grid {
        grid-template-columns: 1fr;
    }

    .mw-contact-hero-card {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .mw-contact-page .container {
        width: min(100% - 32px, 1160px);
    }

    .mw-contact-hero {
        padding: 48px 0;
    }

    .mw-contact-section {
        padding: 50px 0;
    }

    .mw-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mw-contact-cta-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .mw-contact-page .container {
        width: min(100% - 24px, 1160px);
    }

    .mw-contact-hero {
        padding: 42px 0;
    }

    .mw-contact-hero h1,
    .mw-contact-info-panel h2,
    .mw-contact-cta h2 {
        font-size: 27px;
        line-height: 1.18;
        letter-spacing: -0.4px;
    }

    .mw-contact-hero p,
    .mw-contact-info-panel > p,
    .mw-contact-cta p {
        font-size: 13.5px;
    }

    .mw-contact-info-panel,
    .mw-contact-form-panel {
        padding: 20px;
        border-radius: 22px;
    }

    .mw-hero-contact-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .mw-hero-contact-row strong {
        text-align: left;
    }

    .mw-call-btn {
        width: 100%;
    }
}
