/* assets/css/custom.css - Nexus GORISK® Design System */

/* Overlay de Ruido Orgánico */
.noise-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    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");
}

/* Suavizado tipográfico editorial */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animación sutil de entrada para el Hero */
.hero-content {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estado del Nav al hacer Scroll */
.nav-scrolled {
    background: rgba(242, 240, 233, 0.92) !important;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(46, 64, 54, 0.18) !important;
    padding: 0.85rem 2rem !important;
    box-shadow: 0 12px 35px -10px rgba(26, 26, 26, 0.12);
}

/* Estilo para los inputs del formulario */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill {
    -webkit-text-fill-color: #1A1A1A;
    -webkit-box-shadow: 0 0 0px 1000px #FFFFFF inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Efecto de pulso suave */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
}

.whatsapp-pulse {
    animation: pulseGlow 2.4s infinite;
}

/* Pestañas interactivas del visor */
.tab-btn.active {
    background-color: #2E4036;
    color: #F2F0E9;
    border-color: #2E4036;
}
