.barrapie-container {
    background-color: #143a6d;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
}

/* Zona principal */
.barrapie {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.barrapie-col {
    max-width: 420px;
}

.barrapie-centro {
    text-align: center;
}

.barrapie-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.barrapie-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ffffff;
}

/* Redes sociales */
.barrapie-redes {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Usamos la nueva clase más específica .barrapie-redes-link */
.barrapie-redes-link {
    width: 40px;
    height: 40px;
    background-color: #ffffff; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease; 
    overflow: hidden; 
}

/* --- Estilos para los iconos dentro de los enlaces --- */
.barrapie-icono {
    width: 22px;
    height: 22px;
    object-fit: contain;
    transition: filter 0.3s ease; 
}

/* --- Colores Específicos por Red Social --- */
/* Definimos el color de fondo por defecto para cada uno */
.icono-facebook {
    background-color: #1877F2; /* Azul Facebook */
}

.icono-instagram {
    background-color: #E4405F; /* Rosa/Rojo Instagram (o color principal si es monocromo) */
}

.icono-whatsapp {
    background-color: #25D366; /* Verde WhatsApp */
}

/* --- Efecto Hover General --- */
.icono-facebook:hover {
    background-color: #0e64d0; /* Un azul más oscuro */
}


.icono-whatsapp:hover {
    background-color: #1da851; /* Un verde más oscuro */
}

.barrapie-redes-link:hover .barrapie-icono {
    filter: brightness(0) invert(1);
}

/* Zona inferior */
.barrapie-inferior {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

/* Enlaces legales */
.barrapie-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.barrapie-legal-links span {
    color: #ffffff;
}

.barrapie-legal-links a {
    color: #ffffff;
    text-decoration: none;
}

.barrapie-legal-links a:hover {
    color: #B8840F;
}

/* Contacto */
.barrapie-contacto {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.barrapie-contacto div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.barrapie-contacto i {
    color: #B8840F;
}

.barrapie-contacto a {
    color: #ffffff;
    text-decoration: none;
}

.barrapie-contacto a:hover {
    color: #B8840F;
}

/* Copy */
.barrapie-copy {
    text-align: center;
    padding: 15px 10px;
    font-size: 0.8rem;
    color: #ffffff;
    background-color: #102f58;
}

/*  RESPONSIVE */
@media (max-width: 768px) {
    .barrapie {
        flex-direction: column;
        text-align: center;
    }
    .barrapie-inferior {
        flex-direction: column;
        text-align: center;
    }
}

