
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: transparent; transition: all 0.3s ease; }
.site-header.scrolled { background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0, 245, 255, 0.3); }
.logo-text { font-size: 1.1rem; font-weight: bold; color: #fff; letter-spacing: -0.5px; }
.logo-text span { color: #00f5ff; }
.menu-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0, 245, 255, 0.3); background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.menu-btn span { width: 18px; height: 2px; background: #00f5ff; transition: all 0.3s ease; }
.menu-btn:hover span { width: 14px; }

/* ===== MENÚ DESPLEGABLE ===== */
.menu-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(20px); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.menu-overlay.active { opacity: 1; pointer-events: auto; }
.menu-overlay .close-btn { position: absolute; top: 20px; right: 20px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
.menu-overlay nav { margin-top: 80px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.menu-overlay nav a { font-size: 1.8rem; color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s; }
.menu-overlay nav a:hover { color: #00f5ff; }
.menu-overlay .whatsapp-btn { margin-top: 20px; background: #25D366; color: #000; padding: 12px 25px; border-radius: 50px; font-size: 1rem; font-weight: bold; text-decoration: none; transition: transform 0.3s; }
.menu-overlay .whatsapp-btn:hover { transform: scale(1.05); }
.menu-overlay .menu-cards { margin-top: 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; max-width: 600px; width: 100%; }
.menu-overlay .menu-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 15px; border-radius: 15px; text-decoration: none; transition: all 0.3s; }
.menu-overlay .menu-card:hover { border-color: rgba(0,245,255,0.3); background: rgba(255,255,255,0.1); }
.menu-overlay .menu-card h4 { color: #fff; margin-bottom: 5px; }
.menu-overlay .menu-card p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 10px; }
.menu-overlay .menu-card span { color: #25D366; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

/* ===== CAPAS ===== */
.layer-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.layer-background img { width: 100%; height: 100%; object-fit: cover; }
.new-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; opacity: 0; pointer-events: none; }
.new-bg img { width: 100%; height: 100%; object-fit: cover; transform: none; filter: brightness(0.85) contrast(1.2) saturate(1.1); }
.new-bg::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.7) 100%); pointer-events: none; z-index: 3; }

/* ===== CAPA 2: ESFERA ===== */
.sphere-wrapper { position: absolute; top: 32%; left: 52%; transform: translate(-50%, -50%); width: 75vw; max-width: 900px; min-width: 250px; z-index: 5; pointer-events: none; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6)); }
.sphere-wrapper img { width: 100%; height: auto; display: block; }

/* ===== CAPA 3: TEXTOS ===== */
.content-zones { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; pointer-events: none; }
.zone { position: absolute; width: 100%; padding: 2rem; pointer-events: auto; text-align: center; }
.zone-2 { top: 50%; transform: translateY(-50%); opacity: 0; }
.zone-2 .service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 800px; margin: 0 auto; }
.zone-2 .service-card { background: rgba(10, 10, 15, 0.8); backdrop-filter: blur(10px); padding: 1.5rem; border-radius: 16px; border: 1px solid rgba(0, 245, 255, 0.3); box-shadow: 0 0 20px rgba(0, 245, 255, 0.1); }
.zone-2 .service-card .icon { font-size: 2.5rem; }
.zone-2 .service-card h3 { color: #00f5ff; }

/* ===== ZONA 3: BOTÓN (FIJO) ===== */
.zone-3 { position: fixed; bottom: 18%; left: 50%; transform: translateX(-50%); width: auto; opacity: 0; z-index: 9998; }
.btn-neon { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0.8rem 2rem; background: #25D366; color: #fff; font-weight: bold; text-decoration: none; border-radius: 50px; box-shadow: 0 0 30px rgba(37, 211, 102, 0.5); transition: transform 0.3s ease; }
.btn-neon:hover { transform: scale(1.05); box-shadow: 0 0 50px rgba(37, 211, 102, 0.8); }
.btn-neon svg { width: 20px; height: auto; fill: #fff; }

/* ===== ZONA 4: FINAL ===== */
.zone-4 { top: 10%; left: 40%; transform: translateX(-50%); width: 100%; opacity: 0; }
.zone-4 h2 { font-size: 3rem; color: #e9f2ee; text-shadow: 0 0 40px rgba(0, 255, 135, 0.5); margin-bottom: 0.5rem; }

/* ===== CAPA 4: CATÁLOGO ===== */
.services-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 30; opacity: 0; pointer-events: none; transform: translateY(200px); }
.services-overlay.active { pointer-events: auto; }
.services-overlay .swiper { width: 100%; height: 100%; padding: 50px 20px; overflow: visible; position: relative; }
.services-overlay .swiper .parallax-bg { position: absolute; right: -5%; top: -50%; width: 200%; height: 200%; background-image: url("https://i.ibb.co/mrDcnsWS/fondoservi.jpg") !important; background-size: cover; background-position: center; background-repeat: no-repeat; z-index: 0; }
.services-overlay .swiper .swiper-wrapper { align-items: center; position: relative; z-index: 1; }
.services-overlay .swiper .swiper-slide { position: relative; height: auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; background-color: rgba(102, 102, 102, 0.8); border-radius: 7px; padding: 10px; margin: 0; cursor: grab; user-select: none; text-wrap: pretty; transition: background-color 0.4s ease, box-shadow 0.4s ease; }
.services-overlay .swiper .swiper-slide::before { position: absolute; bottom: 0; right: 0; width: 80px; height: 80px; border-bottom: 1px dashed white; border-right: 1px solid white; border-radius: 0 0 7px 0; content: ""; transition: all 0.3s ease; z-index: 2; }
.services-overlay .swiper .swiper-slide::after { position: absolute; top: 0; left: 0; width: 80px; height: 80px; border-top: 1px solid white; border-left: 1px dashed white; border-radius: 7px 0 0 0; content: ""; transition: all 0.3s ease; z-index: 2; }
@keyframes glowCyanGold { 0% { box-shadow: 0 0 25px rgba(0, 210, 255, 0.6), inset 0 0 15px rgba(0, 210, 255, 0.3); border-color: rgba(0, 210, 255, 0.8); } 50% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.7), inset 0 0 15px rgba(255, 215, 0, 0.4); border-color: rgba(255, 215, 0, 0.9); } 100% { box-shadow: 0 0 25px rgba(0, 210, 255, 0.6), inset 0 0 15px rgba(0, 210, 255, 0.3); border-color: rgba(0, 210, 255, 0.8); } }
.services-overlay .swiper .swiper-slide-active { animation: glowCyanGold 3.5s infinite ease-in-out; background-color: rgba(20, 20, 20, 0.85); }
.services-overlay .swiper .swiper-slide-active::before, .services-overlay .swiper .swiper-slide-active::after { width: 140px; height: 140px; border-color: rgba(255, 215, 0, 0.8); }
.services-overlay .swiper .swiper-slide:hover { background: linear-gradient(135deg, #ff1e9c99, #ff1ea499, #ff1fbc99, #ff1fde99, #f620ff99, #c721ff99, #9723ff99, #6a24ff99, #4125ff99, #252aff99, #2641ff99, #2649ff99); }
.services-overlay .swiper .swiper-slide .cardPopout { width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); border-radius: 7px; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; position: relative; z-index: 1; }
.services-overlay .swiper .swiper-slide img { width: 100%; height: auto; margin-bottom: 25px; border-radius: 5px; }
.services-overlay .swiper .swiper-slide h2 { font-size: 1.8rem; line-height: 110%; margin: 0 0 7px 0; font-family: 'Poppins', 'Figtree', sans-serif; font-weight: 800; color: transparent; background: linear-gradient(180deg, #e0e0e0 0%, #f5f5f5 15%, #9e9e9e 40%, #b0b0b0 60%, #757575 80%, #dcdcdc 100%); -webkit-background-clip: text; background-clip: text; text-shadow: 0 0 15px rgba(255, 255, 255, 0.4); background-color: transparent; border-radius: 0; }
.services-overlay .swiper .swiper-slide h4 { font-size: 110%; line-height: 120%; font-weight: 700; margin: 0 0 13px 0; color: #bbb; font-style: italic; }
.services-overlay .swiper .swiper-slide figcaption { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; margin: 0 0 20px 0; padding-left: 20px; border-left: 1px solid white; }
.services-overlay .swiper .swiper-slide figcaption p { color: #999; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.services-overlay .swiper .swiper-slide a { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; background-color: black; color: white; border-radius: 3px; text-decoration: none; overflow: hidden; z-index: 100; cursor: pointer; pointer-events: auto; transition: all 0.6s ease !important; }
.services-overlay .swiper .swiper-slide a:hover { color: black; }
.services-overlay .swiper .swiper-slide a::after { position: absolute; right: 100%; bottom: 0; width: 100%; height: 100%; background-color: #2649ff; content: ""; z-index: -1; transition: all 0.6s ease; }
.services-overlay .swiper .swiper-slide a:hover::after { right: 0; }
.services-overlay .swiper .swiper-slide a svg { width: 23px; height: auto; fill: white; margin-left: 5px; transition: all 0.6s ease; }
.services-overlay .swiper .swiper-slide a:hover svg { margin-left: 10px; fill: black; }

/* ===== FOOTER ===== */
.legal-footer { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 90%; max-width: 420px; background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(10px); border-top: 1px solid rgba(0, 245, 255, 0.2); padding: 6px 12px; text-align: center; color: #ccc; font-size: 0.7rem; z-index: 9999; opacity: 0; pointer-events: none; transition: opacity 1s ease, bottom 1s ease; border-radius: 10px 10px 0 0; }
body.scrolled .legal-footer { bottom: 0; opacity: 1; pointer-events: auto; }
.footer-content { max-width: 800px; margin: 0 auto; line-height: 1.6; }
.footer-company { font-size: 1.1rem; font-weight: bold; color: #00f5ff; text-shadow: 0 0 10px rgba(0, 245, 255, 0.5); }
.footer-rif { font-size: 0.9rem; color: #fff; margin-top: 3px; }
.footer-text { font-size: 0.8rem; margin-top: 3px; }
.footer-location { font-size: 0.8rem; margin-top: 3px; }
.footer-copyright { font-size: 0.7rem; color: #888; margin-top: 6px; }

/* ===== INDICADOR SCROLL UX ===== */
#scrollHint {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
    z-index: 9999; display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: #00f5ff; font-family: 'Poppins', sans-serif; font-size: 11px;
    letter-spacing: 4px; font-weight: 600; text-transform: uppercase;
    opacity: 0; pointer-events: none; transition: opacity 0.5s ease;
    padding: 12px 22px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.8);
}
#scrollHint.visible { opacity: 1; }
#scrollHint .arrow {
    width: 18px; height: 18px;
    border-right: 2px solid #00f5ff;
    border-bottom: 2px solid #00f5ff;
    transform: rotate(45deg); animation: scrollBounce 1.6s infinite;
    filter: drop-shadow(0 0 6px rgba(0, 245, 255, 0.8));
}
@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 1; }
    50% { transform: rotate(45deg) translate(5px, 5px); opacity: 0.5; }
}

/* ===== BARRA DE PROGRESO GENERAL ===== */
#scrollProgress {
    position: fixed; bottom: 0; left: 0; width: 100%; height: 3px;
    background: rgba(255, 255, 255, 0.05); z-index: 99998; pointer-events: none;
}
#scrollProgress .bar {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, #00f5ff 0%, #25D366 100%);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.8), 0 0 20px rgba(37, 211, 102, 0.5);
    transition: width 0.1s linear;
}

/* ===== BARRA DE PROGRESO DEL CARRUSEL ===== */
.swiper-progress-wrapper {
    position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%);
    width: 60%; max-width: 420px; z-index: 50;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    pointer-events: none; opacity: 0; transition: opacity 0.5s ease;
    padding: 10px 18px 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid rgba(0, 245, 255, 0.25);
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 245, 255, 0.15), inset 0 0 20px rgba(0, 0, 0, 0.3);
}
.swiper-progress-wrapper.revealed { opacity: 1; }
.swiper-progress-label {
    font-family: 'Poppins', sans-serif; font-size: 10px; letter-spacing: 3px;
    color: #00f5ff; text-transform: uppercase;
    text-shadow: 0 0 8px rgba(0, 245, 255, 0.8);
}
.swiper-progress-track {
    width: 100%; height: 3px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px; overflow: hidden; position: relative;
}
.swiper-progress-fill {
    height: 100%; width: 12.5%;
    background: linear-gradient(90deg, #00f5ff 0%, #25D366 100%);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 245, 255, 1), 0 0 20px rgba(37, 211, 102, 0.6);
    transition: width 0.4s ease;
}
/* ===== REDES SOCIALES EN EL FOOTER (estilo minimalista) ===== */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #ccc;
    opacity: 0.7;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social__link svg {
    width: 16px;
    height: 16px;
}

.footer-social__link:hover {
    color: #00f5ff;
    opacity: 1;
    transform: translateY(-2px);
    filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.8));
}

/* Colores específicos por red en hover */
.footer-social__link[href*="instagram"]:hover {
    color: #E4405F;
    filter: drop-shadow(0 0 8px rgba(228, 64, 95, 0.8));
}

.footer-social__link[href*="facebook"]:hover {
    color: #1877F2;
    filter: drop-shadow(0 0 8px rgba(24, 119, 242, 0.8));
}

.footer-social__link[href*="wa.me"]:hover {
    color: #25D366;
    filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.8));
}

/* En móvil, un poco más pequeño */
@media (max-width: 768px) {
    .footer-social {
        gap: 10px;
        margin-top: 6px;
    }
    
    .footer-social__link {
        width: 24px;
        height: 24px;
    }
    
    .footer-social__link svg {
        width: 14px;
        height: 14px;
    }
}