/* ------------------
   Colores y Base
   Oscuro: #202d4f
   Claro: #a6abb9
   ------------------ */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0; 
    color: #202d4f;
}

/* ------------------
   HEADER (Para navegación)
   ------------------ */
header {
    background-color: #202d4f;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-link {
    color: #a6abb9;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s;
}

.nav-link:hover {
    color: white;
}

/* ------------------
   CONTENEDOR PRINCIPAL DE FAQ
   ------------------ */
.faq-page-container {
    padding: 60px 20px;
    max-width: 1400px; /* Aumentamos el ancho para tres columnas */
    margin: 0 auto;
}

.faq-page-container h1 {
    color: #202d4f;
    text-align: center;
    font-size: 3em;
    margin-bottom: 50px;
    border-bottom: 3px solid #a6abb9;
    padding-bottom: 15px;
}

/* ------------------
   LISTA DE PREGUNTAS Y RESPUESTAS (Tarjetas)
   ------------------ */
.faq-block {
    display: grid;
    /* TRES COLUMNAS para pantallas muy grandes */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
}

/* Adaptación para tablets y escritorios medianos (2 columnas) */
@media (max-width: 1200px) {
    .faq-block {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Adaptación para móviles (1 columna) */
@media (max-width: 768px) {
    .faq-block {
        grid-template-columns: 1fr;
    }
}

.faq-item-card {
    background-color: white;
    padding: 20px; /* Reducido para compactar */
    border-radius: 8px;
    border-left: 5px solid #a6abb9; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%; 
    display: flex;
    flex-direction: column;
}

.faq-item-card:hover {
    transform: translateY(-5px);
    border-left: 5px solid #202d4f; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.faq-item-card h3 {
    color: #202d4f;
    font-size: 1.3em; /* Reducido */
    margin-top: 0;
    margin-bottom: 8px; /* Reducido */
    padding-bottom: 5px;
    border-bottom: 1px dashed #e0e0e0; 
}

.faq-item-card p {
    color: #555;
    line-height: 1.45; /* Ligeramente más compacto */
    margin-top: 10px; /* Reducido */
    margin-bottom: 0;
    flex-grow: 1; 
    font-size: 0.88em; /* Mantenemos este tamaño pequeño para caber */
}

.faq-item-card ul {
    padding-left: 20px;
    margin-top: 8px; /* Reducido */
    font-size: 1em; 
}

/* Estilos para encabezados de sección dentro del grid */
.section-heading {
    grid-column: 1 / -1; /* Ocupa el ancho completo */
    color: #202d4f;
    font-size: 2em;
    margin-top: 30px;
    margin-bottom: 10px;
    border-bottom: 2px solid #202d4f;
    padding-bottom: 5px;
}

    