/* LAYOUT GENERAL */
.faq-layout {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 20px auto;
    align-items: flex-start;
}

/* IZQUIERDA: FAQ (70%) */
.faq-left {
    width: 70%;
}

/* DERECHA: IMAGEN (30%) */
.faq-right {
    width: 30%;
    display: flex;
    justify-content: center;
    position: sticky;     /* Esto hace que suba y baje */
    top: 120px;           /* Ajustá la altura según tu header */
}

.faq-right img {
    width: 100%;
    border-radius: 12px;
    opacity: 0.95;
    transition: transform 0.3s ease;
}

/* Animación leve al scrollear */
.parallax-img {
    transform: translateY(var(--scroll-offset, 0px));
}

/* ===== FAQ ORIGINAL (SIN CAMBIOS) ===== */

.faq-container {
    max-width: 1000px;
    padding: 10px;
    text-align: left !important;
}

.faq-item {
    border-radius: 10px;
    margin-bottom: 15px;
    background: rgba(20,20,20,0.85);
    border: 1px solid #00bfff;
}

.faq-header {
    width: 100%;
    padding: 18px 20px;
    background: rgba(30,30,30,0.95);
    border: none;
    font-size: 18px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    color: #fff;
    text-align: left !important;
    position: relative;
}

.faq-header::after {
    content: "▾";
    position: absolute;
    right: 20px;
    font-size: 18px;
    transition: 0.3s;
}

.faq-header.active::after {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    background: rgba(25,25,25,0.9);
    padding: 0 20px;
    color: #fff;
    transition: max-height 0.3s ease;

    
}

.faq-content.open {
    padding: 20px;
}

.faq-content p, .faq-content ul {
    margin: 0 0 10px 0;
    text-align: left !important;
}
/* ===== RESPONSIVE: Celulares ===== */
@media (max-width: 768px) {

    .faq-layout {
        flex-direction: column; /* FAQ arriba, imagen abajo */
        gap: 20px;
    }

    .faq-left,
    .faq-right {
        width: 100% !important; /* Cada bloque ocupa el 100% */
    }

    .faq-right {
        position: relative !important; /* Quita el sticky en el cel */
        top: auto;
    }

    .faq-right img {
        width: 100%;
        max-width: 350px;     /* evita que quede gigante */
        margin: 0 auto;       /* centra la imagen */
        display: block;
    }
}
