/* Fuente y fondo general */
body {
    background-image: url('../images/cara\ supay\ der.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}

/* Sección de FAQ */
.faq-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.faq-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #A70A15, #E1160D);
    -webkit-background-clip: text;
    color: transparent;
    text-transform: uppercase;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

/* Contenedor e items */
.faq-container {
    border-top: 1px solid #A70A15;
}

.faq-item {
    background-color: #1f1f1f;
    color: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #A70A15;
    border-radius: 5px;
    text-align: left;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.faq-icon {
    font-size: 30px;
    color: #E1160D;
    flex-shrink: 0;
}
.faq-item:hover {
    background-color: #292929;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.faq-question {
    padding: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
    font-weight: 500;
}

.faq-question h3, .faq-answer p {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.faq-item h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.faq-question:hover h3 {
    color: #E1160D;
}

.faq-question i {
    color: #E1160D;
    transition: transform 0.3s, color 0.3s;
}

.faq-question:hover i {
    color: #fff;
}

.arrow {
    font-size: 20px;
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s;
    background-color: #333;
    padding: 0 15px;
    border-left: 3px solid #A70A15;
    color: #ccc;
}

.faq-answer p {
    margin: 10px 0;
    line-height: 1.5;
}

.faq-item.active .faq-answer {
    max-height: 150px;
    padding: 10px 15px;
}

.faq-item.active .arrow {
    transform: rotate(45deg);
}

h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

p {
    font-size: 16px;
    color: #b3b3b3;
    font-family: 'Montserrat', sans-serif;
}

/*Responsive*/
@media screen and (max-width: 768px) {
    .faq-section {
        max-width: 95%;
        padding: 15px;
    }

    .faq-title {
        font-size: 22px;
    }

    .faq-item {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .faq-icon {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .faq-item h3 {
        font-size: 16px;
    }
}

/* Extra pequeño (móviles en vertical) */
@media screen and (max-width: 480px) {
    .faq-title {
        font-size: 20px;
    }

    .faq-item {
        padding: 8px;
    }

    .faq-icon {
        font-size: 22px;
    }

    .faq-item h3 {
        font-size: 15px;
    }
}