/* ==========================================================
   TEMA HIJO: Hello Elementor Child
   Personalizaciones y ajustes globales del sitio
   ========================================================== */

/* Ocultar footer y el encabezado de la página solo en el Home */
body.home #site-footer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}
.home .page-header {
    display: none !important;
}

/* ==========================================================
   COMPORTAMIENTO DEL MENÚ DE NAVEGACIÓN (HEADER)
   ========================================================== */

/* Ajuste de desplazamiento al navegar entre secciones */
#tipology, 
#gallery, 
#location, 
#unlock { 
    scroll-margin-top: 120px;
}

/* Estado inicial del header: transparente y fijo */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    transition: background-color 0.35s ease, backdrop-filter 0.35s ease;
    z-index: 9999;
}

/* Estado al hacer scroll: color visible + blur moderno */
#site-header.scrolled {
    background-color: #2F4F9E;
    backdrop-filter: blur(8px);
}
#site-header.scrolled .site-navigation ul.menu li a {
    color: #fff;
}

/* Eliminación global del subrayado en enlaces */
a:-webkit-any-link {
    text-decoration: none !important;
}

/* Logo: animación + comportamiento responsive */
.custom-logo,
.custom-logo-link img {
    transition: opacity .25s ease-in-out !important;
    width: auto !important;
    height: auto !important;
    max-height: 70px !important;
}

/* Botón hamburguesa en móviles */
.site-header .site-navigation-toggle .site-navigation-toggle-icon {
    color: #fefeff !important;
}
.site-navigation-toggle-holder .site-navigation-toggle {
    background-color: rgb(47, 79, 158) !important;
    color: #2f4f9e !important;
}

/* Botón hamburguesa cuando el header está scrolleado */
#site-header.scrolled span.site-navigation-toggle-icon {
    color: #2f4f9e !important;
}
#site-header.scrolled .site-navigation-toggle-holder .site-navigation-toggle {
    background-color: #ffffff !important;
    color: #2f4f9e !important;
}

/* Estilo del enlace activo en menú */
.menu-item a.active-link {
    border-bottom: 2px solid #ffffff !important;
    position: relative;
    z-index: 9999;
}

/* ==========================================================
   RESPONSIVE ADAPTATIONS
   ========================================================== */

/* Corrección de iconos en listas para tablets y móviles */
@media (max-width: 1024px) {
	.site-navigation-dropdown ul.menu {
		background: #314f9c;
	}
	.site-navigation-dropdown ul.menu li a {
    	background: #314f9c!important;
    	box-shadow: inset 0 0.0px 0 rgb(255 255 255)!important;
   	 	color: #ffffff!important;

	}
    .list-icon li.elementor-icon-list-item.elementor-inline-item {
        display: block;
    }
    span.elementor-icon-list-icon {
        justify-content: center;
    }
    svg.e-font-icon-svg {
        margin: 0 !important;
        margin-bottom: 5px !important;
    }
	.site-navigation{
    	margin: 0 auto;
	}
}

/* Padding mejorado del header en pantallas ≥ 576px */
@media (min-width: 576px) {
    .site-header.header-full-width .header-inner {
        padding: 0 90px;
    }
}

/* ==========================================================
   FORMULARIOS WPForms
   ========================================================== */

/* Color de los sublabels del formulario (Tema oscuro) */
label.wpforms-field-sublabel.after {
    color: #ffffff;
}
