/**
 * Disfly — Estilos de Página: Home
 *
 * Este archivo contiene SOLO los estilos específicos de la página principal (Home).
 * Se carga condicionalmente en functions.php cuando is_front_page() es true.
 *
 * Convención de nomenclatura:
 *   - Handle WP: disfly-page-home
 *   - Dependencia: royal-elementor-kit-child-style
 *
 * @package Royal_Elementor_Kit_Child
 * @since 1.1.0
 */

/* ==========================================================================
   MOTOR INTERACTIVO - CURSOR Y MAGNETISMO (SOLO DESKTOP / POINTER FINE)
   ========================================================================== */

@media (pointer: fine) {
    /* Ocultar cursor nativo cuando el custom cursor está activo en el body */
    body.has-custom-cursor,
    body.has-custom-cursor a,
    body.has-custom-cursor button,
    body.has-custom-cursor .js-magnetic-btn,
    body.has-custom-cursor .elementor-button,
    body.has-custom-cursor input[type="submit"] {
        cursor: none !important;
    }

    /* Punto Custom Cursor */
    .custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 12px;
        height: 12px;
        background-color: #0F172A; /* Pizarra Oscuro */
        border-radius: 50%;
        pointer-events: none;
        z-index: 999999;
        transform: translate(-50%, -50%);
        transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                    height 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                    background-color 0.3s ease,
                    opacity 0.3s ease;
        mix-blend-mode: difference; /* Contraste armónico sobre fondos claros y oscuros */
    }

    /* Estado Hover Interactivo (Enlaces, Botones y Targets Interactivos) */
    .custom-cursor.is-hover {
        width: 48px;
        height: 48px;
        background-color: #009BFF; /* Cyan Disfly */
        opacity: 0.8;
    }

    /* Contenedores y Botones Magnéticos */
    .js-magnetic-btn {
        display: inline-block;
        will-change: transform; /* Hinting de aceleración de hardware para GSAP */
    }
}

/* === HOME HERO === */
/* (Estilos del hero section se añadirán en siguientes fases) */

/* === HOME SECCIONES === */
/* (Estilos de secciones de scroll se añadirán en siguientes fases) */
