* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    height: 200vh;
    background: #f8fafc;
}

.content {
    text-align: center;
    padding: 4rem 0;
    color: #1e293b;
}

/* Banner Publicitario Moderno */
#banner-publicitario {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 85px;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.95) 50%, 
        rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 -20px 25px -5px rgba(0, 0, 0, 0.1),
        0 -10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* <!-- #banner-publicitario::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #3b82f6, 
        #8b5cf6, 
        #06b6d4, 
        transparent);
    animation: shimmer 3s ease-in-out infinite;
} --> */

@keyframes shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

#banner-publicitario.hidden {
    transform: translateY(100%);
    opacity: 0;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
}

.banner-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-container {
    position: relative;
    padding: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* .logo-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-container:hover::before {
    opacity: 0.1;
} */

.banner-logo {
    height: 60px;
    width: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.logo-container:hover .banner-logo {
    transform: scale(1.05);
}

.banner-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 1 1 auto;
}

.banner-right > div {
    text-align: center;
    width: 100%;
}

.texto-principal {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.texto-contacto {
    font-size: 0.75rem;
    color: rgba(226, 232, 240, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.numero-telefono {
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.6rem;
    font-weight: 800;
    /* background: linear-gradient(135deg, #3b82f6 0%, #a57eff 50%, #06b6d4 100%); */
    background: linear-gradient(135deg, #3b82f6 0%, #85a0ff 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.025em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    width: calc(50% - 1.5rem - 10px);
}

.numero-telefono:hover {
    transform: translateY(-1px);
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.3));
}

/* .numero-telefono::after {
    content: '📞';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.numero-telefono:hover::after {
    opacity: 1;
    right: -35px;
} */

.btn-cerrar {
    position: absolute;
    top: 12px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.btn-cerrar:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Efectos de partículas flotantes */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

.particle:nth-child(1) {
    left: 15%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(2) {
    left: 35%;
    animation: float 8s ease-in-out infinite 2s;
}

.particle:nth-child(3) {
    left: 65%;
    animation: float 7s ease-in-out infinite 4s;
}

.particle:nth-child(4) {
    left: 85%;
    animation: float 9s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    #banner-publicitario {
        height: 75px;
        padding: 0 0.5rem;
    }

    .banner-content {
        gap: 1rem;
    }

    .banner-logo {
        height: 40px;
    }

    .banner-left {
        display: none;
    }

    .banner-right {
        flex-direction: row;
    }

    .texto-principal {
        width: 60% !important;
        display: flex;
        align-self: center;
        font-size: 1.1rem;
        line-height: 1.5rem;
    }

    .texto-contacto {
        font-size: 0.7rem;
        text-align: end;
        padding-bottom: 0.1rem;
    }

    .banner-right .informacion-contacto {
        flex-direction: column;
        gap: 0 !important;
    }

    .banner-right .numero-telefono {
        font-size: 0.95rem;
        line-height: 1rem;
        width: 100%;
        text-align: end !important;
    }

    .btn-cerrar {
        width: 28px;
        height: 28px;
        top: 2px;
        right: 2px;
    }
}

/* Animación de entrada */
@keyframes slideUpModern {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#banner-publicitario {
    animation: slideUpModern 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glow effect en hover del teléfono */
/* .numero-telefono::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
    border-radius: 8px;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.numero-telefono:hover::before {
    opacity: 0.3;
} */