﻿.faq-section {
    padding: 3rem 1rem;
    text-align: center;
    position: relative;
}

.titulo-faq {
    font-family: 'Cormorant', serif;
    font-size: 2rem;
    color: #6d5c3d;
    font-style: italic;
    margin-bottom: 2rem;
}

.linea-flecha {
    position: absolute;
    left: 0;
    top: 4rem;
    width: 35%;
    height: 1px;
    background-color: #6d5c3d;
}

    .linea-flecha::after {
        content: "";
        position: absolute;
        right: 0;
        top: -6px;
        width: 10px;
        height: 10px;
        border-top: 2px solid #6d5c3d;
        border-right: 2px solid #6d5c3d;
        transform: rotate(45deg);
    }

.faq-item {
    margin: 1rem auto;
    max-width: 800px;
    background-color: #e7dfd0;
    border-radius: 2rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Montserrat', sans-serif;
}

    .faq-question .arrow {
        transition: transform 0.3s ease;
    }

    .faq-question.active .arrow {
        transform: rotate(180deg);
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    text-align: left;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
}

    .faq-answer.open {
        padding: 1rem 1.5rem;
        max-height: 500px; /* suficiente para mostrar */
    }
