/* FAQ Styles - Using Casa Mobelle brand colors */
:root {
    --azul-profundo: #2A3371;
    --amarillo-mostaza: #EFC93D;
    --blanco: #FFFFFF;
    --gris-suave: #AAB0C5;
    --gris-oscuro: #3a416f;
}

.faq-hero {
    background: linear-gradient(135deg, var(--azul-profundo) 0%, var(--gris-oscuro) 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.faq-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.faq-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.faq-content {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.faq-intro {
    text-align: center;
    margin-bottom: 60px;
}

.faq-intro h2 {
    font-size: 2.5rem;
    color: var(--azul-profundo);
    margin-bottom: 1rem;
}

.faq-intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-section {
    margin-bottom: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.section-title {
    background: linear-gradient(135deg, var(--azul-profundo) 0%, var(--gris-oscuro) 100%);
    color: white;
    padding: 20px 30px;
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title i {
    font-size: 1.2rem;
    color: var(--amarillo-mostaza);
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

.faq-question:hover {
    background-color: #f8f9fa;
    color: var(--azul-profundo);
}

.faq-question.active {
    background-color: rgba(42, 51, 113, 0.05);
    color: var(--azul-profundo);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--amarillo-mostaza);
    font-size: 0.9rem;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #fff;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    margin: 0 0 15px 0;
    line-height: 1.6;
    color: #555;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--azul-profundo);
}

.faq-contact {
    margin-top: 60px;
    text-align: center;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.contact-card h3 {
    color: var(--azul-profundo);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-card p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--amarillo-mostaza);
    color: var(--azul-profundo);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 201, 61, 0.3);
    background: #f0d045;
}

.btn-secondary {
    background: #f8f9fa;
    color: var(--azul-profundo);
    border-color: var(--azul-profundo);
}

.btn-secondary:hover {
    background: var(--azul-profundo);
    color: white;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-hero {
        padding: 60px 0 40px;
    }
    
    .faq-hero h1 {
        font-size: 2.2rem;
    }
    
    .faq-hero p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .faq-content {
        padding: 40px 0;
    }
    
    .faq-intro h2 {
        font-size: 2rem;
    }
    
    .section-title {
        padding: 15px 20px;
        font-size: 1.2rem;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
    
    .faq-answer.active {
        padding: 0 20px 20px;
    }
    
    .contact-card {
        margin: 0 20px;
        padding: 30px 20px;
    }
    
    .contact-card h3 {
        font-size: 1.5rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons a {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .faq-hero h1 {
        font-size: 1.8rem;
    }
    
    .faq-intro h2 {
        font-size: 1.7rem;
    }
    
    .section-title {
        font-size: 1.1rem;
        gap: 10px;
    }
    
    .faq-question {
        font-size: 0.95rem;
        padding: 15px;
    }
    
    .faq-answer.active {
        padding: 0 15px 15px;
    }
}

/* Animation for smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.faq-question:focus {
    outline: 2px solid var(--amarillo-mostaza);
    outline-offset: 2px;
}

/* Highlight effect for important information */
.faq-answer p strong {
    background: linear-gradient(120deg, transparent 0%, rgba(239, 201, 61, 0.2) 50%, transparent 100%);
    padding: 2px 4px;
    border-radius: 4px;
}
