/* --- RESETEO GLOBAL --- */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    font-family: Montserrat, sans-serif;
}

/* --- CONTENEDOR FLOTANTE --- */
.container-flotante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.container-flotante .redes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.container-flotante .redes a {
    display: block;
    text-decoration: none;
    background: #d9c093;
    color: #7a1333;
    width: 55px;
    height: 55px;
    line-height: 55px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.4);
    transition: all 500ms ease;
}

.container-flotante .redes a:hover {
    background: #fff;
    color: #7a1333;
}

/* --- ALERTA FLOTANTE --- */
@keyframes slideInBounce {
    0% { opacity: 0; transform: translateY(40px) scale(0.9); }
    60% { opacity: 1; transform: translateY(-10px) scale(1.05); }
    80% { transform: translateY(5px) scale(0.98); }
    100% { transform: translateY(0) scale(1); }
}

.alerta-redes {
    position: fixed;
    bottom: 18px;
    right: 89px;
    background-color: #fff;
    border: 2px solid #7a1333;
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    font-size: 16px;
    color: #000;
    max-width: 260px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: slideInBounce 0.9s ease-out;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 10000;
}

.alerta-redes i {
    color: #8b0000;
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.alerta-redes .cerrar {
    position: absolute;
    top: 8px;
    right: 12px;
    color: #7a1333;
    font-weight: bold;
    cursor: pointer;
    font-size: 18px;
}

@media (max-width: 768px) {
    .alerta-redes {
        right: 20px;
        bottom: 80px;
        max-width: 90%;
        font-size: 14px;
    }
}

/* --- FOOTER --- */
footer {
    background-color: #7a1333;
}

.footerContainer {
    width: 100%;
    padding: 70px 30px 20px;
    margin-top: 45px;
}

/* Social icons del footer */
.footerContainer .socialIcons {
    display: flex;
    justify-content: center;
}

.footerContainer .socialIcons a {
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin: 10px;
    border-radius: 50%;
}

.footerContainer .socialIcons a i {
    font-size: 2em;
    color: black;
    opacity: 0.9;
}

.footerContainer .socialIcons a:hover {
    background-color: #111;
    transition: 0.5s;
}

.footerContainer .socialIcons a:hover i {
    color: white;
    transition: 0.5s;
}

/* Navegación footer */
.footerNav {
    margin: 30px 0;
}

.footerNav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}    

.footerNav ul li a {
    color: white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;
}

.footerNav ul li a:hover {
    opacity: 1;
}

.footerBottom {
    background-color: #7a1333;
    padding: 20px;
    text-align: center;
}

.footerBottom small {
    color: white;
}

.designer {
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}

/* Responsive */
@media (max-width: 700px) {
    .footerNav ul {
        flex-direction: column;
    }
    .footerNav ul li {
        width: 100%;
        text-align: center;
        margin: 10px;
    }
    .footerContainer .socialIcons a {
        padding: 8px;
        margin: 4px;
    }
}
