/* RESET & SCROLL */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
::-webkit-scrollbar { display: none; }
body { cursor: none; }

/* OPTIMIZACIÓN MÓVIL (Restaurar cursor) */
@media (hover: none) and (pointer: coarse) {
    body { cursor: auto; }
    .custom-cursor { display: none; }
}

/* 1. TEXTURA DE RUIDO (Opcional, si la quitaste antes no hace falta) */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* 2. CURSOR PERSONALIZADO (Solo Desktop) */
@media (min-width: 768px) {
    .custom-cursor {
        position: fixed; top: 0; left: 0; width: 12px; height: 12px;
        background: #0A0A0A; border-radius: 50%;
        pointer-events: none; z-index: 10000;
        transform: translate(-50%, -50%);
        transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                    height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                    background-color 0.3s;
        mix-blend-mode: exclusion;
        background-color: white;
    }
    .custom-cursor.hovered {
        width: 60px; height: 60px;
        opacity: 0.1;
        background-color: white;
    }
}

/* 3. ANIMACIÓN ACORDEÓN */
.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden; 
}
.accordion-content.open { 
    grid-template-rows: 1fr; 
    visibility: visible;
}
.accordion-content > div { overflow: hidden; }

/* 4. NAVBAR SCROLLED STATE */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    mix-blend-mode: normal !important;
    color: #0A0A0A !important;
}

.nav-scrolled a { color: #0A0A0A; }

.nav-scrolled #nav-btn {
    background-color: #0A0A0A;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.nav-scrolled #nav-btn .btn-text { color: white; }
.nav-scrolled #nav-logo { transform: scale(0.9); }