/* Quote Page Specific Styles */
.quote-section {
    margin-top: 80px;
    padding: 4rem 0 6rem;
    background: var(--gray-light);
    min-height: 100vh;
}

.quote-header {
    text-align: center;
    margin-bottom: 3rem;
}

.quote-header h1 {
    font-size: 3rem;
    color: var(--green-dark);
    margin-bottom: 1rem;
}

.quote-header p {
    font-size: 1.2rem;
    color: var(--charcoal);
}

/* Progress Bar */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gray);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.progress-step.active .step-number {
    background: var(--green-primary);
    border-color: var(--green-primary);
    color: white;
}

.progress-step.completed .step-number {
    background: var(--green-primary);
    border-color: var(--green-primary);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.progress-step.active .step-label {
    color: var(--green-dark);
    font-weight: 600;
}

.progress-line {
    flex: 1;
    height: 3px;
    background: #e5e7eb;
    margin: 0 1rem;
    margin-bottom: 30px;
    transition: background 0.3s ease;
}

.progress-line.completed {
    background: var(--green-primary);
}

/* Quote Form */
.quote-form {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.form-section {
    margin-bottom: 3rem;
}

.form-section h2 {
    font-size: 2rem;
    color: var(--green-primary);
    margin-bottom: 0.5rem;
}

.form-section h3 {
    font-size: 1.5rem;
    color: var(--green-primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: var(--green-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--gray);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(61, 122, 94, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Package Cards */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.package-card {
    border: 3px solid var(--gray-light);
    border-radius: 16px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    border-color: var(--green-primary);
    box-shadow: 0 8px 24px rgba(45, 95, 74, 0.15);
    transform: translateY(-4px);
}

.package-card.selected {
    border-color: var(--green-primary);
    background: var(--gray-light);
    box-shadow: 0 8px 24px rgba(45, 95, 74, 0.2);
}

.package-card.featured:not(.selected) {
    border-color: #e5e7eb;
    background: linear-gradient(135deg, #f9fafb, white);
}

.package-card.featured.selected {
    border-color: var(--green-primary);
    background: var(--gray-light);
    box-shadow: 0 8px 24px rgba(45, 95, 74, 0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--yellow);
    color: var(--charcoal);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.package-header h3 {
    font-size: 1.5rem;
    color: var(--green-primary);
    margin-bottom: 0.5rem;
}

.package-header p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.package-features {
    list-style: none;
    margin: 1.5rem 0;
}

.package-features li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--charcoal);
}

.package-features li::before {
    content: '✓';
    color: var(--green-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.package-included {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--gray-light);
}

.package-included strong {
    display: block;
    color: var(--green-primary);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.package-included ul {
    list-style: none;
}

.package-included li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-included li::before {
    content: '•';
    color: var(--green-primary);
}

.or-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.or-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray);
}

.or-divider span {
    background: white;
    padding: 0 1rem;
    position: relative;
    color: var(--gray);
    font-weight: 500;
}

/* Service Checkboxes */
.services-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.checkbox-card {
    border: 2px solid var(--gray);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.checkbox-card:hover {
    border-color: var(--green-primary);
    background: var(--gray-light);
}

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

.checkbox-card input[type="checkbox"]:checked + .checkbox-label {
    font-weight: 600;
    color: var(--green-primary);
}

.checkbox-card:has(input:checked) {
    border-color: var(--green-primary);
    background: var(--gray-light);
}

.checkbox-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
}

.checkbox-consent input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-consent span {
    font-size: 0.95rem;
    color: var(--charcoal);
}

.checkbox-consent a {
    color: var(--green-primary);
    text-decoration: underline;
}

/* Address Confirmation */
.address-confirmation {
    background: var(--gray-light);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.confirmed-address {
    font-size: 1.3rem;
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: var(--green-primary);
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
}

.helper-text {
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* Review Grid */
.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.review-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.review-item.full-width {
    grid-column: 1 / -1;
}

.review-item strong {
    color: var(--green-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-item span {
    color: var(--charcoal);
    font-size: 1.05rem;
}

/* Radio Groups */
.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

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

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-light);
}

/* Success Step */
.success-step {
    text-align: center;
    padding: 4rem 2rem;
}

.success-message {
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-primary), var(--green-primary));
    color: white;
    font-size: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 40px rgba(45, 95, 74, 0.3);
}

.success-message h2 {
    font-size: 2.5rem;
    color: var(--green-primary);
    margin-bottom: 1rem;
}

.success-email {
    font-size: 1.1rem;
    margin: 1.5rem 0;
}

.success-email strong {
    color: var(--green-primary);
}

.success-message p {
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .quote-form {
        padding: 2rem 1.5rem;
    }

    .quote-header h1 {
        font-size: 2.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .services-checkboxes {
        grid-template-columns: 1fr;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .btn {
        width: 100%;
    }

    .progress-bar {
        padding: 0 1rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .progress-line {
        margin: 0 0.5rem;
    }
}