/* FAQ Section */

.ehs-faq {
    padding: var(--ehs-spacing-xl) 0;
    background: #f8fafc;
}

.ehs-faq__header {
    text-align: center;
    margin-bottom: var(--ehs-spacing-lg);
}

.ehs-faq__title {
    font-size: var(--ehs-font-size-h2);
    font-weight: 700;
    color: var(--ehs-color-dark);
    margin: 0 0 var(--ehs-spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-family: var(--ehs-font-family-heading);
    line-height: var(--ehs-line-height-tight);
}

.ehs-faq__subtitle {
    font-size: var(--ehs-font-size-subtitle);
    color: var(--ehs-color-muted);
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--ehs-line-height-normal);
}

.ehs-faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.ehs-faq__item {
    border: 1px solid rgba(14, 26, 37, 0.08);
    border-radius: var(--ehs-radius-md);
    margin-bottom: var(--ehs-spacing-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--ehs-color-light);
}

.ehs-faq__item:hover {
    border-color: var(--ehs-color-muted-light);
    box-shadow: var(--ehs-shadow-soft);
}

.ehs-faq__item.active {
    border-color: var(--ehs-color-primary);
    box-shadow: var(--ehs-shadow-accent);
}

.ehs-faq__question {
    width: 100%;
    padding: var(--ehs-spacing-md);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--ehs-font-size-subtitle);
    font-weight: 600;
    color: var(--ehs-color-dark);
    transition: color 0.3s ease;
    font-family: var(--ehs-font-family-heading);
}

.ehs-faq__question:hover {
    color: var(--ehs-color-primary);
}

.ehs-faq__question span {
    flex: 1;
    margin-right: 16px;
}

.ehs-faq__icon {
    flex-shrink: 0;
    color: var(--ehs-color-muted);
    transition: all 0.3s ease;
}

.ehs-faq__item.active .ehs-faq__icon {
    transform: rotate(180deg);
    color: var(--ehs-color-primary);
}

.ehs-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ehs-faq__item.active .ehs-faq__answer {
    max-height: 1000px; /* Large enough to show all content */
}


.ehs-faq__content {
    padding: 0 var(--ehs-spacing-md) var(--ehs-spacing-md);
    color: var(--ehs-color-accent);
    line-height: var(--ehs-line-height-relaxed);
}

.ehs-faq__content p {
    margin: 0 0 var(--ehs-spacing-xs);
}

.ehs-faq__content p:last-child {
    margin-bottom: 0;
}

.ehs-faq__content strong {
    color: var(--ehs-color-dark);
    font-weight: 600;
}

.ehs-faq__price-list,
.ehs-faq__timeline-list {
    margin: 16px 0;
    padding-left: 0;
    list-style: none;
}

.ehs-faq__price-list li,
.ehs-faq__timeline-list li {
    position: relative;
    padding: 8px 0 8px 24px;
    color: var(--ehs-color-accent);
}

.ehs-faq__price-list li:before,
.ehs-faq__timeline-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--ehs-color-primary);
    font-weight: bold;
    font-size: 1.2em;
}

.ehs-faq__price-list li {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.95rem;
}

.ehs-faq__timeline-list li {
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ehs-faq {
        padding: 60px 0;
    }
    
    .ehs-faq__title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .ehs-faq__subtitle {
        font-size: 1rem;
    }
    
    .ehs-faq__header {
        margin-bottom: 40px;
    }
    
    .ehs-faq__question {
        padding: 20px;
        font-size: 1rem;
    }
    
    .ehs-faq__content {
        padding: 0 20px 20px;
    }
    
    .ehs-faq__price-list li,
    .ehs-faq__timeline-list li {
        padding: 6px 0 6px 20px;
    }
}

@media (max-width: 480px) {
    .ehs-faq {
        padding: 40px 0;
    }
    
    .ehs-faq__title {
        font-size: 1.75rem;
    }
    
    .ehs-faq__question {
        padding: 16px;
        font-size: 0.95rem;
    }
    
    .ehs-faq__question span {
        margin-right: 12px;
    }
    
    .ehs-faq__content {
        padding: 0 16px 16px;
        font-size: 0.9rem;
    }
    
    .ehs-faq__price-list li {
        font-size: 0.85rem;
    }
}
