/* ===============================================================
   CONSULTATION PAGE STYLES
   consultation.css — loaded only on consultation.html
   =============================================================== */

/* ---- Page hero strip ---- */

.consult-hero-strip{
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-mid) 100%);
    padding: 120px 10% 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.consult-hero-strip::after{
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(124,58,237,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.consult-hero-inner{
    position: relative;
    z-index: 1;
}

.consult-breadcrumb{
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.consult-breadcrumb a{
    color: var(--brand-light);
    text-decoration: none;
    transition: opacity 0.2s;
}

.consult-breadcrumb a:hover{ opacity: 0.8; }

.consult-breadcrumb i{
    font-size: 10px;
    color: rgba(255,255,255,0.35);
}

.consult-hero-strip h1{
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.consult-hero-sub{
    font-size: 17px;
    color: rgba(255,255,255,0.72);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Main content area ---- */

.consult-main{
    background: #f5f0ff;
    padding: 60px 10% 80px;
}

.consult-layout{
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 36px;
    max-width: 1160px;
    margin: 0 auto;
    align-items: start;
}

/* ---- Aside (left dark panel) ---- */

.consult-aside{
    background: #0e0020;
    border-radius: 0;
    overflow: hidden;
    position: sticky;
    top: 100px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    border-left: 4px solid var(--brand-accent);
}

.consult-aside-inner{
    padding: 40px 34px 36px 36px;
    overflow-y: auto;
}

.consult-aside-inner h2{
    font-size: 20px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 8px;
    text-align: left;
    letter-spacing: -0.2px;
}

.consult-aside-inner h2::after{
    display: none !important;
}

/* ---- Form panel (right white card) ---- */

.consult-form-panel{
    background: #ffffff;
    box-shadow: 0 12px 40px rgba(31,0,61,0.08);
    overflow: hidden;
}

.consult-form-header{
    background: #f8f5ff;
    border-bottom: 1px solid #e8e0f5;
    padding: 30px 40px 24px;
}

.consult-form-header h3{
    font-size: 22px;
    color: var(--brand-deep);
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -0.3px;
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
}

.modal-form-subtitle{
    font-size: 14.5px;
    color: #7a6a96;
    line-height: 1.55;
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
}

#formInlineMsg{
    margin: 0 40px 0;
}

#consultationForm{
    padding: 28px 40px 36px;
}

#formSuccessMsg{
    padding: 40px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* ---- Responsive ---- */

@media(max-width: 1024px){
    .consult-layout{
        grid-template-columns: 320px 1fr;
        gap: 24px;
    }
}

@media(max-width: 860px){
    .consult-main{
        padding: 40px 5% 60px;
    }

    .consult-layout{
        grid-template-columns: 1fr;
    }

    .consult-aside{
        position: static;
        display: none;
    }

    .consult-hero-strip{
        padding: 110px 5% 40px;
    }

    .consult-hero-strip h1{
        font-size: 28px;
    }

    .consult-form-header{
        padding: 22px 22px 18px;
    }

    #consultationForm{
        padding: 20px 22px 32px;
    }

    #formSuccessMsg{
        padding: 30px 22px;
        min-height: 320px;
    }

    #formInlineMsg{
        margin: 0 22px 0;
    }
}

@media(max-width: 500px){
    .consult-hero-strip h1{
        font-size: 24px;
    }

    .consult-form-header h3{
        font-size: 18px;
    }

    .consult-form-header{
        padding: 18px 18px 14px;
    }

    #consultationForm{
        padding: 16px 18px 28px;
    }

    #formSuccessMsg{
        padding: 24px 18px;
    }

    #formInlineMsg{
        margin: 0 18px 0;
    }
}