/* ==========================================
   COGNISPHERE GET A QUOTE STYLESHEET
   ========================================== */

.quote-page {
    background-color: #070422;
    color: #1e293b;
    font-family: var(--font-body, 'Inter', sans-serif);
    overflow-x: hidden;
}

/* --- Hero Section (Matched with About-Us & Support Hero Proportions) --- */
.quote-hero-section {
    position: relative;
    padding: 130px 0 100px;
    background: radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 15% 75%, rgba(107, 189, 188, 0.1) 0%, transparent 60%),
                #070422;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
}

.quote-hero-section__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.quote-hero-section__dotgrid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.25;
}

.quote-hero-section__badge {
    display: inline-flex;
    align-items: center;
    position: relative;
    margin-bottom: 1.5rem;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full, 9999px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    font-family: var(--font-headline, 'Montserrat', sans-serif);
}

.quote-hero-section__badge .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c084fc;
    box-shadow: 0 0 10px #c084fc;
    margin-right: 0.5rem;
}

.quote-hero-section__title {
    font-family: var(--font-headline, 'Montserrat', sans-serif);
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.quote-hero-section__title-line {
    display: block;
}

.quote-hero-section__title-line--gradient {
    background: linear-gradient(135deg, var(--color-electric-lavender, #b17cfe) 0%, var(--color-secondary, #6bbdbc) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--color-electric-lavender, #b17cfe);
    display: inline-block;
}

.quote-hero-section__lead {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
    color: #b4b1c5;
    max-width: 720px;
    margin: 0 auto 2.2rem;
}

/* Stats Bar */
.quote-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.quote-stat-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.55rem 1.1rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 500;
}

.quote-stat-pill svg {
    color: var(--color-electric-lavender, #b17cfe);
}

/* --- Main Section (Light Theme) --- */
.quote-main-section {
    padding: 4.5rem 0 6.5rem;
    background: #f8fafc;
    color: #1e293b;
    border-top: 1px solid #e2e8f0;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

/* --- Form Container Card (Light Theme, Enhanced Design) --- */
.quote-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.75rem;
    box-shadow: 0 15px 35px -10px rgba(55, 50, 150, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.quote-card__header {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.quote-card__header-flex {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.4rem;
}

.quote-card__icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.08);
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quote-card__title {
    font-family: var(--font-headline, 'Montserrat', sans-serif);
    font-size: 1.65rem;
    font-weight: 800;
    color: #070422;
    margin: 0;
    letter-spacing: -0.01em;
}

.quote-card__subtitle {
    color: #64748b;
    font-size: 0.92rem;
    margin: 0.35rem 0 0;
    line-height: 1.5;
}

/* Form Fields */
.quote-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.quote-form-grid .full-width {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-label {
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-label span.req {
    color: #e11d48;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s ease;
}

.form-input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.8rem 1rem 0.8rem 2.75rem;
    color: #0f172a;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input--no-icon {
    padding-left: 1rem;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary, #373296);
    background: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(55, 50, 150, 0.14), 0 2px 8px rgba(55, 50, 150, 0.06);
}

.form-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
    color: var(--color-primary, #373296);
}

select.form-input {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select.form-input option {
    background: #ffffff;
    color: #0f172a;
}

textarea.form-input {
    resize: vertical;
    min-height: 135px;
    padding-top: 0.85rem;
}

/* Submit Button - Matched with Brand Primary (#373296) */
.btn-submit-quote {
    width: 100%;
    padding: 1.05rem 2rem;
    background: linear-gradient(135deg, var(--color-primary, #373296) 0%, var(--color-indigo-deep, #2e3b9a) 100%);
    color: #ffffff;
    font-family: var(--font-headline, 'Montserrat', sans-serif);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    box-shadow: 0 8px 24px rgba(55, 50, 150, 0.28);
}

.btn-submit-quote:hover {
    background: linear-gradient(135deg, #443db5 0%, #373296 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(55, 50, 150, 0.42);
}

.btn-submit-quote:active {
    transform: translateY(0);
}

/* Alerts */
.quote-alert {
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.quote-alert--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.quote-alert--error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
}

/* --- Sidebar Cards --- */
.quote-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.side-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
}

.side-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.1);
}

.side-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.08);
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.side-card h3 {
    font-family: var(--font-headline, 'Montserrat', sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: #070422;
    margin-bottom: 0.4rem;
}

.side-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 0;
}

/* Responsiveness */
@media (max-width: 992px) {
    .quote-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .quote-form-grid {
        grid-template-columns: 1fr;
    }
    .quote-card {
        padding: 1.75rem 1.25rem;
    }
    .quote-hero-stats {
        gap: 1rem;
        flex-direction: column;
    }
}
