/* ==========================================================================
   Modern FAQ Section Styles - Fixa Repair
   ========================================================================== */

.faq-section {
    padding: 75px 0 65px;
    background: #f8fafc;
    font-family: 'Poppins', sans-serif;
    position: relative;
    border-top: 1px solid #f1f5f9;
}

.faq-section .section-title {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #1e293b;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.faq-section .section-title span {
    background: linear-gradient(135deg, #5682B1 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-section .section-subtitle {
    text-align: center;
    font-size: 0.98rem;
    color: #64748b;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
    padding: 0 16px;
}

/* 2-Column Responsive FAQ Grid on Desktop */
.faq-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

.faq-item {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(86, 130, 177, 0.07);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(86, 130, 177, 0.14);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: rgba(86, 130, 177, 0.45);
    box-shadow: 0 10px 28px rgba(86, 130, 177, 0.14);
}

.faq-question {
    padding: 18px 22px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    transition: background-color 0.25s ease;
    gap: 12px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-item.active .faq-question {
    background: rgba(86, 130, 177, 0.04);
}

.faq-question h3 {
    font-size: 0.98rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.45;
    flex: 1;
    transition: color 0.25s ease;
}

.faq-item.active .faq-question h3 {
    color: #5682B1;
}

.faq-question i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(86, 130, 177, 0.1);
    color: #5682B1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    background: #5682B1;
    color: #ffffff;
}

.faq-answer {
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    background: #ffffff;
}

.faq-item.active .faq-answer {
    padding: 4px 22px 18px;
    max-height: 800px;
}

.faq-answer p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
    text-align: left;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 900px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 38px 0 32px;
    }
    
    .faq-section .section-title {
        font-size: 1.6rem;
        margin-bottom: 4px;
    }
    
    .faq-section .section-subtitle {
        font-size: 0.84rem;
        margin-bottom: 20px;
        padding: 0 12px;
    }

    .faq-container {
        padding: 0 12px;
        gap: 10px;
    }

    .faq-item {
        border-radius: 14px;
    }
    
    .faq-question {
        padding: 14px 16px;
        gap: 10px;
    }
    
    .faq-question h3 {
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .faq-question i {
        width: 28px;
        height: 28px;
        font-size: 0.72rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 2px 16px 14px;
        max-height: 800px;
    }
    
    .faq-answer p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 30px 0 24px;
    }
    
    .faq-section .section-title {
        font-size: 1.4rem;
    }
    
    .faq-section .section-subtitle {
        font-size: 0.78rem;
        margin-bottom: 16px;
    }

    .faq-container {
        padding: 0 8px;
        gap: 8px;
    }

    .faq-item {
        border-radius: 12px;
    }
    
    .faq-question {
        padding: 12px 13px;
        gap: 8px;
    }
    
    .faq-question h3 {
        font-size: 0.84rem;
    }

    .faq-question i {
        width: 26px;
        height: 26px;
        font-size: 0.68rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 13px 12px;
    }
    
    .faq-answer p {
        font-size: 0.76rem;
        line-height: 1.45;
    }
}
