.footer-container {
    background: linear-gradient(135deg, var(--uesca-primary) 0%, var(--uesca-dark) 100%);
    position: relative;
    overflow: hidden;
    margin-top: auto;
    padding-bottom: 100px;
}
@media screen and (min-width: 1080px){
    .footer-container {
        padding-bottom: 0px;
    }
}

.footer-fondo-animado {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.footer-particula {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: footer-flotar 25s linear infinite;
}

.footer-particula:nth-child(1) {
    width: 6px;
    height: 6px;
    left: 5%;
    animation-delay: 0s;
}

.footer-particula:nth-child(2) {
    width: 8px;
    height: 8px;
    left: 15%;
    animation-delay: 3s;
}

.footer-particula:nth-child(3) {
    width: 4px;
    height: 4px;
    left: 25%;
    animation-delay: 6s;
}

.footer-particula:nth-child(4) {
    width: 7px;
    height: 7px;
    left: 35%;
    animation-delay: 9s;
}

.footer-particula:nth-child(5) {
    width: 5px;
    height: 5px;
    left: 45%;
    animation-delay: 12s;
}

.footer-particula:nth-child(6) {
    width: 6px;
    height: 6px;
    left: 55%;
    animation-delay: 15s;
}

.footer-particula:nth-child(7) {
    width: 4px;
    height: 4px;
    left: 65%;
    animation-delay: 18s;
}

.footer-particula:nth-child(8) {
    width: 8px;
    height: 8px;
    left: 75%;
    animation-delay: 21s;
}

.footer-particula:nth-child(9) {
    width: 5px;
    height: 5px;
    left: 85%;
    animation-delay: 24s;
}

.footer-forma-decorativa {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(43, 174, 102, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    z-index: 1;
    animation: footer-rotar 30s linear infinite;
}

.footer-forma-decorativa-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 0%, transparent 70%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: -150px;
    left: -50px;
    z-index: 1;
    animation: footer-rotar 25s linear infinite reverse;
}

.footer-contenido {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

.footer-superior {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-seccion {
    color: var(--uesca-light);
}

.footer-logo-seccion {
    grid-column: span 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icono {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--uesca-secondary), var(--uesca-accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--uesca-light);
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-logo-texto {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--uesca-light);
}

.footer-descripcion {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.footer-redes-sociales {
    display: flex;
    gap: 1rem;
}

.footer-red-social {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--uesca-light);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-red-social:hover {
    background: var(--uesca-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px color-mix(in srgb, var(--uesca-accent) 40%, transparent);
}

.footer-titulo-seccion {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--uesca-light);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-titulo-seccion::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--uesca-accent);
    border-radius: 2px;
}

.footer-enlaces {
    list-style: none;
}

.footer-enlace-item {
    margin-bottom: 0.8rem;
}

.footer-enlace {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-enlace:hover {
    color: var(--uesca-accent);
    transform: translateX(5px);
}

.footer-contacto-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.footer-contacto-icono {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--uesca-accent);
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-metodos-pagos {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.footer-horario-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.footer-horario-dia {
    font-weight: 600;
}

.footer-horario-hora {
    color: var(--uesca-accent);
    font-weight: 500;
}

.footer-inferior {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-enlaces-legales {
    display: flex;
    gap: 2rem;
}

.footer-enlace-legal {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-enlace-legal:hover {
    color: var(--uesca-accent);
}

.footer-emergencia {
background: linear-gradient(135deg, var(--uesca-accent), var(--uesca-primary-light));
    color: var(--uesca-light);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: footer-pulso-emergencia 3s ease-in-out infinite;
}

.footer-emergencia-titulo {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-emergencia-numero {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.footer-emergencia-descripcion {
    font-size: 0.85rem;
    opacity: 0.9;
}

@keyframes footer-flotar {

    0%,
    100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10%,
    90% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.2;
    }
}

@keyframes footer-rotar {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes footer-pulso-emergencia {

    0%,
    100% {
        box-shadow: 0 8px 32px rgba(220, 38, 38, 0.3);
    }

    50% {
        box-shadow: 0 8px 32px rgba(220, 38, 38, 0.5);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-superior {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer-contenido {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-superior {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-inferior {
        flex-direction: column;
        text-align: center;
    }

    .footer-enlaces-legales {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-contenido {
        padding: 2rem 1rem 1rem;
    }

    .footer-redes-sociales {
        justify-content: center;
    }

    .footer-emergencia-numero {
        font-size: 1.5rem;
    }
}

/* Efectos adicionales */
.footer-seccion {
    transition: transform 0.3s ease;
}

.footer-seccion:hover {
    transform: translateY(-5px);
}

.footer-metodos-pagos {
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.container-metodo-pago{
    display: flex;
    gap: 45px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-metodos-pagos img{
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--uesca-light);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
}
.footer-metodos-pagos img:hover{
    background: var(--uesca-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px color-mix(in srgb, var(--uesca-accent) 40%, transparent);
}


.footer-metodos-pagos:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Simulación de contenido previo */
.demo-content {
    padding: 4rem 2rem;
    text-align: center;
    color: var(--uesca-dark);
}