/* Quick Lead Micro-Form Styling for Commercial Service Pages */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

#quick-lead-box {
    scroll-margin-top: 110px;
}

.quick-lead-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 100%);
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 16px;
    padding: 32px 28px;
    margin: 40px auto;
    max-width: 720px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 25px rgba(59, 130, 246, 0.12);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: right;
    direction: rtl;
}

.quick-lead-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4, #10b981);
}

.quick-lead-card__header {
    margin-bottom: 24px;
}

.quick-lead-card__badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.quick-lead-card__title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.quick-lead-card__desc {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.7;
    margin: 0;
}

.quick-lead-form {
    margin-top: 20px;
}

.quick-lead-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .quick-lead-form__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .quick-lead-card {
        padding: 24px 18px;
        margin: 28px auto;
    }
    .quick-lead-card__title {
        font-size: 1.25rem;
    }
}

.quick-lead-form__group {
    display: flex;
    flex-direction: column;
}

.quick-lead-form__label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.quick-lead-form__label .req {
    color: #ef4444;
}

.quick-lead-form__input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 10px;
    color: #f1f5f9;
    font-size: 0.92rem;
    font-family: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.quick-lead-form__input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
    background: rgba(15, 23, 42, 0.95);
}

.quick-lead-form__actions {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.quick-lead-form__submit {
    padding: 12px 28px;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 10px;
    min-width: 170px;
    text-align: center;
    transition: all 0.25s ease;
}

.quick-lead-form__guarantee {
    font-size: 0.82rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
}

.quick-lead-form__alert {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.6;
    font-weight: 600;
    text-align: right;
    animation: fadeIn 0.3s ease-out;
}

.quick-lead-form__alert--success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.quick-lead-form__alert--error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
