/* ===== GET A QUOTE SECTION WITH COMPACT LEAD FORM ===== */

.get-quote-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.get-quote-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Left Side: Information */
.get-quote-info .section-header {
    text-align: left;
    margin-bottom: 2.5rem;
}

.quote-benefits {
    margin-bottom: 2.5rem;
}

.quote-benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), #c19d2f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.benefit-text h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.benefit-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-white);
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Right Side: Compact Form */
.get-quote-form-wrapper {
    position: sticky;
    top: 100px;
}

.compact-form-container {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.compact-form-container .form-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.compact-form-container .form-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* HubSpot Form Styling within Quote Section */
#quote-form .hubspot-form {
    min-height: 450px;
}

/* Smooth scroll behavior for links */
.scroll-to-form {
    scroll-behavior: smooth;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px - 968px) */
@media (max-width: 968px) {
    .get-quote-section {
        padding: 4rem 0;
    }
    
    .get-quote-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .get-quote-form-wrapper {
        position: static;
        top: auto;
    }
    
    .compact-form-container {
        padding: 2rem;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .get-quote-info .section-header {
        text-align: center;
    }
    
    .quote-benefit-item {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile (< 640px) */
@media (max-width: 640px) {
    .get-quote-section {
        padding: 3rem 0;
    }
    
    .get-quote-content {
        gap: 2rem;
    }
    
    .compact-form-container {
        padding: 1.5rem;
    }
    
    .compact-form-container .form-title {
        font-size: 1.5rem;
    }
    
    .compact-form-container .form-subtitle {
        font-size: 0.875rem;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
    
    .trust-badge {
        justify-content: center;
        width: 100%;
    }
    
    .quote-benefit-item {
        gap: 0.75rem;
    }
    
    .benefit-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .benefit-text h4 {
        font-size: 1rem;
    }
    
    .benefit-text p {
        font-size: 0.875rem;
    }
}

/* ===== HUBSPOT FORM OVERRIDES FOR COMPACT DESIGN ===== */
#quote-form .hs-form .hs-form-field {
    margin-bottom: 1rem;
}

#quote-form .hs-form label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

#quote-form .hs-form input[type="text"],
#quote-form .hs-form input[type="email"],
#quote-form .hs-form input[type="tel"],
#quote-form .hs-form select,
#quote-form .hs-form textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
    font-family: inherit;
}

#quote-form .hs-form input:focus,
#quote-form .hs-form select:focus,
#quote-form .hs-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

#quote-form .hs-form .hs-button {
    background: var(--accent-color);
    color: var(--bg-white);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

#quote-form .hs-form .hs-button:hover {
    background: #c19d2f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

#quote-form .hs-form .hs-error-msgs {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Success Message Styling */
#quote-form .submitted-message {
    text-align: center;
    padding: 2rem;
}

#quote-form .submitted-message h2 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

#quote-form .submitted-message p {
    color: var(--text-light);
    font-size: 1rem;
}
