/* =========================================================
   ESTILOS COMPLETOS FAQ'S - MACHUPICCHU SURVIVOR
   ========================================================= */

/* --- HERO SECTION --- */
.faq-hero {
    position: relative;
    width: 100%;
    height: 225px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background-image-faq {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
}

.faq-hero .hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(rgba(28, 32, 17, 0.4), rgba(28, 32, 17, 0.4)),
                rgba(123, 122, 122, 0.3);
    z-index: 2;
}

.faq-hero .hero-content {
    position: relative;
    z-index: 3;
    padding-left: 10%;
}

.faq-hero h1 {
    font-family: "Baumans", sans-serif !important;
    font-size: 2.8rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- INTRODUCTION --- */
.faq-introduction {
    background-color: #fff;
    padding: 30px 0;
}

.faq-intro {
    font-family: "Baumans", sans-serif !important;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    text-align: justify;
}

/* --- FAQ SECTION & ACCORDION --- */
.faq-section {
    background-color: #fff;
    padding: 10px 0 80px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 45px; /* Espacio de aprox 1cm antes del footer */
}

.faq-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* --- ESTADO REPOSO: PREGUNTA (VERDE OLIVA) --- */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-family: "Baumans", sans-serif !important;
    font-size: 1.15rem;
    color: #B89D00 !important; /* Color verde oliva de tus iconos */
    text-align: left;
    transition: all 0.3s ease;
}

/* Forzar el color a cualquier etiqueta que meta Froala (p, span, etc) */
.faq-question *,
.faq-question-text * {
    color: inherit !important;
    font-family: "Baumans", sans-serif !important;
    margin: 0;
    background: transparent !important;
}

/* --- ESTADO ACTIVO / HOVER: PREGUNTA (NARANJA Y BLANCO) --- */
.faq-item.active .faq-question,
.faq-question:hover {
    background-color: #F48534 !important;
    color: #ffffff !important; /* Texto blanco sobre naranja */
}

/* --- EL ICONO (+) / (-) --- */
.faq-icon {
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #B89D00; /* Fondo verde en reposo */
    border: 2px solid #B89D00;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    font-family: Arial, sans-serif;
    margin-left: 15px;
    transition: all 0.3s ease;
}

/* Icono cuando la pregunta está resaltada */
.faq-item.active .faq-icon,
.faq-question:hover .faq-icon {
    background-color: transparent !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

/* --- LA RESPUESTA --- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 10px 30px 25px 30px;
}

.faq-answer-content,
.faq-answer-content p,
.faq-answer-content span,
.faq-answer-content li {
    font-family: "Baumans", sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #444 !important;
    text-align: justify !important; /* Justificado en viñetas y párrafos */
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .faq-hero h1 { font-size: 2rem; }
    .faq-question { padding: 15px 20px; font-size: 1.1rem; }
    .faq-item.active .faq-answer { padding: 10px 20px 20px 20px; }
    .faq-accordion { margin-bottom: 30px; }
}