/* =========================================
   SLIDER FAQ PRO — CSS CORREGIDO COMPLETO
   ========================================= */

/* Contenedor general */
.faq-slider-pro {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Contenedor de slides */
.faq-slides {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Slide base */
.faq-slide {
    display: none;
    flex-wrap: nowrap;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;              /* REDUCIDO para evitar espacio extra */
    opacity: 0;
    transition: opacity 0.4s ease;
    height: auto !important;      /* Corrección del alto */
}

/* Slide activo */
.faq-slide.active {
    display: flex !important;
    opacity: 1;
}

/* Texto */
.faq-text {
    flex: 1 1 50%;
}

.faq-text h2 {
    font-size: 32px;
    margin-bottom: 18px;
}

.faq-text p {
    font-size: 18px;
    line-height: 1.6;
}

/* Imagen */
.faq-slide img {
    flex: 1 1 50%;
    max-width: 460px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* =========================================
   BOTONES
   ========================================= */
.faq-bottom {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-bottom button {
    background: #333;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    z-index: 20;
}

/* =========================================
   PROGRESO
   ========================================= */
.faq-progress {
    margin-bottom: 20px;          /* AHORA ARRIBA → se ajusta espacio */
    width: 100%;
    height: 6px;
    background: #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.faq-progress-fill {
    height: 100%;
    background: #72B84C;
    transition: width 0.4s linear;
}

/* =========================================
   RESPONSIVE — MOBILE
   ========================================= */
@media (max-width: 768px) {

    .faq-slide {
        flex-direction: column; text-align: center; gap: 20px; padding: 10px 0;  /* COMPACTO EN MOBILE */
    }

    .faq-text {
        order: 1; flex: 1 1 100%; }

    .faq-slide img {
        order: 2; max-width: 100%; width: 480px !important; border-radius: 10px;     }

    .faq-text h2 {
        font-size: 16px; line-height:1.2; }

    .faq-text p {
        font-size: 12px; }

    /* Evitar saltos extra por imágenes grandes */
    .faq-slide img {
        max-height: 260px; object-fit: cover;
    }
}
