/* ===========================================
   GET QUOTE PAGE - Mr. Windows Houston
   Mobile-first with form priority on mobile
   =========================================== */

/* Main section */
.quote-page {
    padding: 1.5rem 1rem;
    background: var(--gray-light);
    min-height: calc(100vh - 200px);
}

/* Container - flexbox column on mobile */
.quote-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Form wrapper - ALWAYS first on mobile via order */
.quote-form-wrapper {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    order: -1; /* Form first on mobile */
}

/* Content section */
.quote-content {
    order: 0;
}

.quote-content h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.quote-content > p {
    font-size: 1rem;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Benefits list */
.quote-benefits {
    margin-bottom: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.benefit-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: var(--green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.benefit-item > div:last-child {
    font-size: 0.9375rem;
    color: var(--gray-dark);
    line-height: 1.4;
}

/* Contact box */
.contact-box {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.contact-box h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.contact-box p {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    color: var(--gray-dark);
}

.contact-box a {
    color: var(--green);
    font-weight: 600;
}

/* Form header */
.form-header {
    margin-bottom: 1.5rem;
}

.form-header h2 {
    font-size: 1.375rem;
    margin-bottom: 0.375rem;
}

.form-header p {
    color: var(--gray-dark);
    font-size: 0.9375rem;
}

/* Required note */
.required-note {
    font-size: 0.8125rem;
    color: var(--gray);
    margin-bottom: 1.25rem;
}

/* Form row for side-by-side fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Checkbox styling */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Button */
.btn-block {
    width: 100%;
}

/* Form note */
.form-note {
    font-size: 0.8125rem;
    color: var(--gray);
    text-align: center;
    margin-top: 0.75rem;
}

/* ===========================================
   TABLET (640px+)
   =========================================== */
@media (min-width: 640px) {
    .quote-page {
        padding: 2rem 1.5rem;
    }
    
    .quote-form-wrapper {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .quote-content h1 {
        font-size: 2rem;
    }
}

/* ===========================================
   DESKTOP (1024px+) - Side by side layout
   =========================================== */
@media (min-width: 1024px) {
    .quote-page {
        padding: 4rem 2.5rem;
    }
    
    .quote-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }
    
    /* On desktop: Content left, Form right */
    .quote-content {
        order: 0;
    }
    
    .quote-form-wrapper {
        order: 0;
        padding: 2.5rem;
    }
    
    .quote-content h1 {
        font-size: 2.5rem;
    }
    
    .quote-content > p {
        font-size: 1.125rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
}
