/* --- estilos.css (añadir al final) --- */

/* --- Página de Soporte y Ayuda --- */

.soporte-main {
    padding-top: 80px; /* Ajusta según tu header */
    padding-bottom: 60px;
    background-color: black;
    color: white;
    min-height: calc(100vh - 140px);
}

.seccion-soporte {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background: linear-gradient(145deg, #1a0303, #2e0808);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 68, 0, 0.4);
    text-align: center;
}

.titulo-soporte {
    font-size: 3.5em;
    color: #ffb300;
    margin-bottom: 20px;
    text-shadow: 0 0 12px rgba(255, 179, 0, 0.7);
    font-weight: 900;
}

.subtitulo-soporte {
    font-size: 1.2em;
    color: #ccc;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Sección de Contacto por WhatsApp --- */
.whatsapp-contacto {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 50px;
    border: 1px solid rgba(0, 255, 140, 0.4);
    box-shadow: 0 5px 20px rgba(0, 255, 140, 0.3);
}

.whatsapp-contacto h2 {
    color: #00ff8c; /* Verde brillante para el título de WhatsApp */
    font-size: 2.5em;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(0, 255, 140, 0.5);
}

.whatsapp-contacto p {
    color: #eee;
    font-size: 1.1em;
    margin-bottom: 25px;
}

.btn-whatsapp {
    display: inline-flex; /* Permite alinear el icono y el texto */
    align-items: center; /* Alinea verticalmente el icono y el texto */
    gap: 10px; /* Espacio entre el icono y el texto */
    background: linear-gradient(90deg, #25D366, #128C7E); /* Colores de WhatsApp */
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.3em;
    font-weight: bold;
    text-decoration: none; /* Quita el subrayado del enlace */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp i {
    font-size: 1.5em; /* Tamaño del icono de WhatsApp */
}

.btn-whatsapp:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.8);
    background: linear-gradient(90deg, #128C7E, #25D366); /* Invierte el gradiente en hover */
}

.whatsapp-horario {
    font-size: 0.95em;
    color: #bbb;
    margin-top: 20px;
}

/* --- Sección de Preguntas Frecuentes (FAQ) --- */
.faq-seccion {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 179, 0, 0.4);
    box-shadow: 0 5px 20px rgba(255, 179, 0, 0.3);
    text-align: left; /* Alinea el texto de las FAQ a la izquierda */
}

.faq-seccion h2 {
    color: #ffb300;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 8px rgba(255, 179, 0, 0.5);
}

.faq-list {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Separador sutil */
    padding-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none; /* No hay separador en el último ítem */
    padding-bottom: 0;
}

.faq-pregunta {
    background-color: transparent;
    color: #eee;
    font-size: 1.2em;
    font-weight: bold;
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    border: none;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative; /* Para el icono de flecha */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-pregunta:hover {
    background-color: rgba(255, 68, 0, 0.1); /* Fondo sutil al pasar el ratón */
    color: #ff4d00;
}

/* Indicador de flecha para las preguntas FAQ */
.faq-pregunta::after {
    content: '\25B6'; /* Código Unicode para un triángulo derecho */
    font-size: 0.8em;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.faq-pregunta.active::after {
    transform: rotate(90deg); /* Rota la flecha cuando la respuesta está activa */
    color: #00ff8c;
}

.faq-pregunta.active {
    color: #00ff8c; /* Color de la pregunta activa */
    background-color: rgba(0, 0, 0, 0.2);
}

.faq-respuesta {
    max-height: 0; /* Inicialmente oculto */
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out; /* Transición suave al expandir/contraer */
    padding: 0 20px; /* Padding cuando está contraído */
    box-sizing: border-box; /* Asegura que el padding no afecte el ancho */
}

.faq-respuesta p {
    color: #bbb;
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 10px; /* Asegura que no haya margen extra abajo */
}

/* --- Responsividad para Soporte --- */
@media (max-width: 768px) {
    .titulo-soporte {
        font-size: 2.8em;
    }
    .subtitulo-soporte {
        font-size: 1em;
    }
    .whatsapp-contacto h2,
    .faq-seccion h2 {
        font-size: 2em;
    }
    .btn-whatsapp {
        font-size: 1.1em;
        padding: 12px 25px;
    }
    .btn-whatsapp i {
        font-size: 1.3em;
    }
    .faq-pregunta {
        font-size: 1.1em;
        padding: 12px 15px;
    }
    .faq-respuesta {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .titulo-soporte {
        font-size: 2.2em;
    }
    .whatsapp-contacto,
    .faq-seccion {
        padding: 20px;
    }
}