/**
 * Textos llegibles: sobreescriu variables globals Elementor/Astra del kit ZipWP.
 */

:root {
	--e-global-color-astglobalcolor0: #00874e !important;
	--e-global-color-astglobalcolor1: #26b4b4 !important;
	--e-global-color-astglobalcolor2: #231f20 !important;
	--e-global-color-astglobalcolor3: #3d4548 !important;
	--e-global-color-astglobalcolor4: #111d25 !important;
	--e-global-color-astglobalcolor5: #1a2332 !important;
	--e-global-color-astglobalcolor6: #4f5b62 !important;
	--e-global-color-astglobalcolor7: #070614 !important;
}

.elementor-kit-118 {
	--e-global-color-text: #231f20 !important;
	--e-global-color-primary: #00874e !important;
	--e-global-color-secondary: #26b4b4 !important;
}

.custom-logo-link img,
.site-logo-img,
.ast-site-identity img {
	filter: brightness(0) saturate(100%) !important;
}

/* —— Seccions CLARES: text fosc —— */
.elementor-page .espai42-section-light .elementor-heading-title,
.elementor-page .espai42-section-light .elementor-widget-text-editor,
.elementor-page .espai42-section-light .elementor-widget-text-editor p,
.elementor-page .espai42-section-light .elementor-widget-text-editor li,
.elementor-page .espai42-section-light .elementor-icon-box-title,
.elementor-page .espai42-section-light .elementor-icon-box-description,
.elementor-page .espai42-section-light .elementor-image-box-title,
.elementor-page .espai42-section-light .elementor-image-box-description,
.elementor-page .espai42-section-light .hfe-infocard-title,
.elementor-page .espai42-section-light .hfe-infocard-text,
.elementor-page .espai42-section-light .elementor-counter-number-wrapper,
.elementor-page .espai42-section-light .elementor-counter-title,
.elementor-page .espai42-section-light .elementor-testimonial-content,
.elementor-page .espai42-section-light .elementor-testimonial-name,
.elementor-page .espai42-section-light p,
.elementor-page .espai42-section-light li,
.elementor-page .espai42-section-light span:not(.elementor-button-text) {
	color: #231f20 !important;
}

/* Seccions amb imatge: títols amb ombra per llegibilitat */
.elementor-page .espai42-has-bg-image .elementor-heading-title,
.elementor-page .espai42-has-bg-image .elementor-widget-text-editor,
.elementor-page .espai42-has-bg-image .elementor-widget-text-editor p {
	color: #231f20 !important;
	text-shadow: 0 1px 14px rgba(250, 243, 224, 0.95);
}

/* —— Seccions FOSQUES: text clar —— */
.elementor-page .espai42-section-dark .elementor-heading-title,
.elementor-page .espai42-section-dark .elementor-widget-text-editor,
.elementor-page .espai42-section-dark .elementor-widget-text-editor p,
.elementor-page .espai42-section-dark .elementor-icon-box-title,
.elementor-page .espai42-section-dark .elementor-icon-box-description,
.elementor-page .espai42-section-dark .elementor-image-box-title,
.elementor-page .espai42-section-dark .elementor-image-box-description,
.elementor-page .espai42-section-dark .hfe-infocard-title,
.elementor-page .espai42-section-dark .hfe-infocard-text,
.elementor-page .espai42-section-dark p,
.elementor-page .espai42-section-dark li,
.elementor-page .espai42-section-dark span:not(.elementor-button-text) {
	color: #ffffff !important;
}

/* Botons */
.elementor-page .elementor-button,
.elementor-page .elementor-button .elementor-button-text,
.elementor-page .elementor-button-link {
	color: #ffffff !important;
}

.elementor-page .espai42-section-light a:not(.elementor-button):not(.elementor-button-link) {
	color: #00874e !important;
}

.elementor-page .espai42-section-dark a:not(.elementor-button):not(.elementor-button-link) {
	color: #a8e6cf !important;
}

/* Fallback abans que JS classifiqui seccions */
.elementor-page .elementor-heading-title,
.elementor-page .elementor-widget-text-editor,
.elementor-page .elementor-widget-text-editor p {
	color: #231f20 !important;
}
