/* =========================================================
   MyWealthCare — Contact Page CSS  v2.0
   Fully aligned with premium theme (common.css + business-home.css)

   Palette  →  navy #071b46 · blue #2563eb · gold #fbbf24
               orange #f97316 · bg #f0f4f8 · muted #64748b
               border #e2e8f0 · green #16a34a · red #ef4444
========================================================= */

/* ── Base wrapper ── */
.mw-contact-page {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #0a1628;
    background: #f0f4f8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.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(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* ─────────────────────────────────────────
   HERO — navy gradient matching site hero
───────────────────────────────────────── */
.mw-contact-hero {
    position: relative;
    overflow: hidden;
    padding: 60px 0 52px;
    background:
        radial-gradient(ellipse 55% 75% at 80% 10%, rgba(96,165,250,.18) 0%, transparent 60%),
        radial-gradient(ellipse 35% 45% at 10% 85%, rgba(251,191,36,.10) 0%, transparent 55%),
        linear-gradient(158deg, #021035 0%, #09206a 42%, #0c2e8f 68%, #071a5e 100%);
    color: #fff;
}

/* grid overlay */
.mw-contact-pattern {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.030) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.030) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}

/* gold orb */
.mw-contact-hero::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    right: -160px; top: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251,191,36,.14) 0%, transparent 68%);
    pointer-events: none;
}

.mw-contact-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: center;
}

/* badge pill */
.mw-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.93);
    color: #0a2070;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 8px 15px;
    border-radius: 999px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    width: fit-content;
}
.mw-contact-badge span {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 0 4px rgba(251,191,36,.22);
    flex-shrink: 0;
}

.mw-contact-hero h1 {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.1px;
    margin: 0 0 16px;
    color: #fff;
    max-width: 560px;
}

.mw-contact-hero-content > p {
    font-size: 15px;
    line-height: 1.72;
    color: rgba(255,255,255,.72);
    max-width: 500px;
    margin: 0;
}

/* info card in hero */
.mw-contact-hero-card {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 24px 22px;
    color: #fff;
    box-shadow: 0 20px 48px rgba(0,0,0,.22);
}

.mw-contact-hero-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -.2px;
}

.mw-hero-contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.12);
    margin-bottom: 10px;
    transition: background .2s;
}
.mw-hero-contact-row:last-child { margin-bottom: 0; }
.mw-hero-contact-row:hover { background: rgba(255,255,255,.14); }

.mw-hero-contact-row span {
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255,255,255,.55);
    flex-shrink: 0;
}
.mw-hero-contact-row strong {
    font-size: 13px;
    font-weight: 700;
    color: #fbbf24;
    text-align: right;
}

/* ─────────────────────────────────────────
   CONTACT SECTION
───────────────────────────────────────── */
.mw-contact-section {
    padding: 72px 0;
    background: #f0f4f8;
}

.mw-contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    align-items: start;
}

/* shared panel base */
.mw-contact-info-panel,
.mw-contact-form-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 32px 28px;
    box-shadow: 0 2px 8px rgba(10,30,80,.04), 0 12px 32px rgba(10,30,80,.07);
}

/* ── Info panel ── */
.mw-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 10px;
}
.mw-eyebrow::before {
    content: '';
    width: 16px; height: 3px;
    background: #2563eb;
    border-radius: 2px;
    display: inline-block;
}
.mw-light { color: #fbbf24; }
.mw-light::before { background: #fbbf24; }

.mw-contact-info-panel h2 {
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 800;
    color: #071b46;
    margin: 0 0 12px;
    letter-spacing: -.4px;
    line-height: 1.2;
}

.mw-contact-info-panel > p {
    font-size: 14px;
    line-height: 1.70;
    color: #64748b;
    margin: 0 0 24px;
}

/* contact info boxes */
.mw-contact-info-list { display: grid; gap: 12px; }

.mw-contact-info-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    transition: border-color .2s, box-shadow .2s;
}
.mw-contact-info-box:hover {
    border-color: #bfdbfe;
    box-shadow: 0 4px 12px rgba(37,99,235,.08);
}

.mw-info-icon {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #2563eb;
}

.mw-contact-info-box h3 {
    font-size: 13px;
    font-weight: 700;
    color: #071b46;
    margin: 0 0 3px;
}
.mw-contact-info-box a,
.mw-contact-info-box p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
    display: block;
}
.mw-contact-info-box a:hover { color: #2563eb; }

/* business hours note */
.mw-contact-note {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #071b46 0%, #0a2a6e 100%);
    color: #fff;
    display: grid;
    gap: 4px;
    position: relative;
    overflow: hidden;
}
.mw-contact-note::after {
    content: '';
    position: absolute;
    width: 120px; height: 120px;
    right: -30px; bottom: -30px;
    border-radius: 50%;
    background: rgba(251,191,36,.1);
}
.mw-contact-note strong {
    font-size: 13.5px;
    font-weight: 800;
    color: #fbbf24;
}
.mw-contact-note span {
    font-size: 12.5px;
    color: rgba(255,255,255,.65);
}

/* ── Form panel ── */
.mw-form-head { margin-bottom: 22px; }

.mw-form-head h2 {
    font-size: 19px;
    font-weight: 800;
    color: #071b46;
    margin: 0 0 5px;
    letter-spacing: -.3px;
}
.mw-form-head p {
    font-size: 12.5px;
    color: #94a3b8;
    margin: 0;
}
/* green dot before sub-text */
.mw-form-head p::before {
    content: '●';
    color: #22c55e;
    font-size: 8px;
    margin-right: 5px;
    vertical-align: 1px;
}

/* alert messages */
.mw-success-message,
.mw-error-message {
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}
.mw-success-message {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}
.mw-error-message {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* 2-col field grid */
.mw-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mw-field {
    display: grid;
    gap: 5px;
    margin-bottom: 12px;
}

.mw-field label {
    font-size: 10.5px;
    font-weight: 700;
    color: #475569;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.mw-field label span { color: #ef4444; margin-left: 2px; }

.mw-field input,
.mw-field select,
.mw-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 13px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #0a1628;
    font: inherit;
    font-size: 13.5px;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
    -webkit-appearance: none;
    appearance: none;
}
.mw-field input::placeholder,
.mw-field textarea::placeholder { color: #b0bec5; }

.mw-field input:focus,
.mw-field select:focus,
.mw-field textarea:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

/* select arrow */
.mw-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
}

.mw-field textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.6;
}

/* consent */
.mw-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
    margin: 16px 0 18px;
}
.mw-consent input[type=checkbox] {
    flex-shrink: 0;
    width: 15px; height: 15px;
    margin-top: 2px;
    accent-color: #2563eb;
    cursor: pointer;
}

/* submit button — premium blue matching hero form */
.mw-submit-btn {
    width: 100%;
    min-height: 48px;
    padding: 0 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(37,99,235,.36);
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.mw-submit-btn::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.1) 0%, transparent 55%);
    border-radius: 12px;
}
.mw-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37,99,235,.46);
}

/* call button — gold-orange */
.mw-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 28px;
    min-height: 50px;
    border-radius: 13px;
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    color: #07142e;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(251,191,36,.36);
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.mw-call-btn::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 55%);
    border-radius: 13px;
}
.mw-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(251,191,36,.48);
}

/* ─────────────────────────────────────────
   BOTTOM CTA BANNER  — matches home CTA
───────────────────────────────────────── */
.mw-contact-cta {
    padding: 64px 0;
    background:
        radial-gradient(ellipse 60% 80% at 5% 50%, rgba(37,99,235,.18) 0%, transparent 55%),
        linear-gradient(140deg, #02102e 0%, #071b55 55%, #04144a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.mw-contact-cta::after {
    content: '';
    position: absolute;
    width: 420px; height: 420px;
    right: -70px; bottom: -170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251,191,36,.08) 0%, transparent 65%);
    pointer-events: none;
}

.mw-contact-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.mw-contact-cta .mw-eyebrow { color: #fbbf24; }
.mw-contact-cta .mw-eyebrow::before { background: #fbbf24; }

.mw-contact-cta h2 {
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 800;
    color: #fff;
    margin: 6px 0 10px;
    letter-spacing: -.5px;
    line-height: 1.18;
}

.mw-contact-cta p {
    font-size: 15px;
    line-height: 1.70;
    color: rgba(255,255,255,.70);
    max-width: 520px;
    margin: 0;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 991px) {
    .mw-contact-hero-inner,
    .mw-contact-grid { grid-template-columns: 1fr; }

    .mw-contact-hero-card { max-width: 480px; }

    .mw-contact-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .mw-call-btn { width: 100%; justify-content: center; }
}

@media (max-width: 767px) {
    .mw-contact-page .container { width: calc(100% - 32px); }

    .mw-contact-hero    { padding: 48px 0 44px; }
    .mw-contact-section { padding: 48px 0; }
    .mw-contact-cta     { padding: 48px 0; }

    .mw-contact-hero h1 { font-size: 28px; letter-spacing: -.6px; }

    .mw-contact-info-panel,
    .mw-contact-form-panel { padding: 24px 20px; border-radius: 18px; }

    .mw-form-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 480px) {
    .mw-contact-page .container { width: calc(100% - 24px); }

    .mw-contact-hero h1 { font-size: 26px; }

    .mw-hero-contact-row { flex-direction: column; align-items: flex-start; }
    .mw-hero-contact-row strong { text-align: left; }
}