/* Transición general del menú */
body:has(.ff-service-hero) #masthead {
	transition:
		background-color 0.45s ease,
		color 0.45s ease;
}

/* =========================================================
   MENÚ SOBRE SECCIONES OSCURAS
   ========================================================= */

/* Transiciones */
body:has(.ff-service-hero) #masthead,
body:has(.ff-service-hero) #masthead .ast-primary-header-bar,
body:has(.ff-service-hero) #masthead .site-primary-header-wrap,
body:has(.ff-service-hero) #masthead .ast-builder-grid-row {
	transition:
		background-color 0.45s ease,
		color 0.45s ease,
		border-color 0.45s ease;
}

/* Fondo negro en todos los niveles internos de Astra */
body:has(.ff-service-hero) #masthead.ff-navigation-dark,
body:has(.ff-service-hero) #masthead.ff-navigation-dark .ast-primary-header-bar,
body:has(.ff-service-hero) #masthead.ff-navigation-dark .site-primary-header-wrap,
body:has(.ff-service-hero) #masthead.ff-navigation-dark .ast-builder-grid-row,
body:has(.ff-service-hero) #masthead.ff-navigation-dark .ast-builder-grid-row-container {
	background-color: #0f1115 !important;
}

/* Borde inferior */
body:has(.ff-service-hero)
#masthead.ff-navigation-dark
.ast-primary-header-bar {
	border-bottom-color: rgba(249, 247, 241, 0.16) !important;
}

/* Enlaces del menú */
body:has(.ff-service-hero)
#masthead.ff-navigation-dark
.main-header-menu > .menu-item > a,
body:has(.ff-service-hero)
#masthead.ff-navigation-dark
.ast-builder-menu-1 .menu-item > .menu-link {
	color: #f9f7f1 !important;
}

/* Selector de idiomas */
body:has(.ff-service-hero)
#masthead.ff-navigation-dark
a,
body:has(.ff-service-hero)
#masthead.ff-navigation-dark
span {
	border-color: rgba(249, 247, 241, 0.55);
}

/* Botón “Hablemos” */
body:has(.ff-service-hero)
#masthead.ff-navigation-dark
.ast-custom-button,
body:has(.ff-service-hero)
#masthead.ff-navigation-dark
.ast-header-button-1 .ast-custom-button {
	border-color: rgba(249, 247, 241, 0.7) !important;
	background-color: transparent !important;
	color: #f9f7f1 !important;
}

/* Iconos y menú móvil */
body:has(.ff-service-hero)
#masthead.ff-navigation-dark
svg {
	color: #f9f7f1;
	stroke: currentColor;
}

body:has(.ff-service-hero)
#masthead.ff-navigation-dark
.ast-mobile-menu-trigger-minimal {
	color: #f9f7f1 !important;
}

.creel__media {
	position: relative;
	overflow: hidden;
}

.creel__media .creel__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

.creel__media {
	position: relative;
	overflow: hidden;
}

.creel__media .creel__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

