/* Buscador */
.search-box {
    margin-bottom: 2rem;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Categorías y Acordeones */
.faq-category {
    margin-bottom: 2rem;
}

.faq-category h3 {
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

details {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

details[open] {
    border-color: #007bff;
    /* Color primario de tu marca */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

summary {
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    /* Ocultar flecha por defecto */
    position: relative;
    padding-right: 40px;
}

/* Icono personalizado para el acordeón */
summary::after {
    content: '+';
    position: absolute;
    right: 15px;
    font-size: 20px;
    color: #777;
    font-weight: bold;
}

details[open] summary::after {
    content: '-';
    color: #007bff;
}

details p {
    padding: 0 15px 15px 15px;
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* Sección de contacto */
.contact-card {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 12px;
}

.phone-display {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #333;
}

.phone-display a {
    color: #007bff;
    text-decoration: none;
}

.contact-buttons-container {
    display: flex;
    flex-direction: row;
    /* Corregido: antes era 'direction' */
    justify-content: center;
    flex-wrap: wrap;
    /* Permite que los botones bajen en móviles */
    gap: 12px;
}

.btn-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Espacio entre icono y texto */
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: white;
    background-color: #6c757d;
    /* Color gris por defecto */
    transition: transform 0.2s, background-color 0.2s;
}

.btn-contact:hover {
    transform: translateY(-2px);
}

/* Colores de marca para cada botón */
.btn-whatsapp {
    background-color: #25D366;
}

.btn-facebook {
    background-color: #1877F2;
}

.btn-instagram {
    background-color: #E1306C;
}

/* Estilo para el icono */
.btn-contact i {
    font-size: 16px;
}