:root {
	--mevicina-accent-accessible: #855374;
	--mevicina-footer-bg: #2f3e3b;
	--mevicina-footer-muted: #b8c8c4;
	--mevicina-footer-text: #f7faf9;
}

/* Preserve the current design while meeting AA contrast on known accent elements. */
.elementor-element-26cbd97f .elementor-heading-title,
.elementor-element-6e03df11 .elementor-heading-title,
.elementor-element-6b86cf29 .elementor-heading-title,
.elementor-element-584bd4b7 .elementor-heading-title,
.elementor-element-44338d5e .elementor-heading-title,
.elementor-element-6afbf641 .elementor-heading-title,
.elementor-element-68bf128b .elementor-heading-title {
	color: var(--mevicina-accent-accessible) !important;
}

.elementor-element-337f2e18 .elementor-button,
.elementor-element-555a6b21 .elementor-button,
.elementor-element-2dc209e3 .elementor-button {
	background-color: var(--mevicina-accent-accessible) !important;
}

.elementor-button {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	min-height: 44px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--mevicina-accent-accessible) !important;
	outline-offset: 3px;
}

/* Never leave content blank when Elementor's scroll observer does not fire. */
body:not(.elementor-editor-active) .elementor-invisible {
	animation: none !important;
	visibility: visible !important;
}

/* Collapse form placeholders only while their widgets contain no usable form. */
.elementor-element-64a4c2dc:not(:has(form, input, textarea, select, iframe)) {
	display: none !important;
}

.elementor-element-5797db36:has(> .elementor-element-64a4c2dc:not(:has(form, input, textarea, select, iframe))) {
	justify-content: center !important;
}

.elementor-element-5797db36:has(> .elementor-element-64a4c2dc:not(:has(form, input, textarea, select, iframe))) > .elementor-element-5324b969 {
	flex: 0 1 760px !important;
	max-width: 760px !important;
	width: 100% !important;
}

.elementor-element-68249b74:not(:has(form, input, textarea, select, iframe)) {
	align-self: flex-start;
	height: auto !important;
	min-height: 0 !important;
	padding-bottom: clamp(32px, 4vw, 64px) !important;
}

/* Avoid an oversized empty testimonial panel until a real widget is present. */
.elementor-element-5afb1a15:not(:has(.elementor-widget-testimonial, .elementor-testimonial-wrapper, blockquote)) {
	min-height: 0 !important;
	padding-block: 0 !important;
}

.elementor-element-5afb1a15:not(:has(.elementor-widget-testimonial, .elementor-testimonial-wrapper, blockquote)) > .e-con-inner {
	min-height: 0 !important;
	padding-block: clamp(40px, 5vw, 64px) !important;
}

/* Global Elementor footer. */
.elementor-location-footer {
	background: var(--mevicina-footer-bg);
}

.mevicina-elementor-footer {
	background:
		radial-gradient(circle at 88% 18%, rgba(217, 184, 208, 0.12), transparent 26%),
		var(--mevicina-footer-bg);
	color: var(--mevicina-footer-text);
	display: block !important;
	overflow: hidden;
	padding: clamp(64px, 8vw, 108px) max(24px, calc((100vw - 1240px) / 2)) 28px !important;
	position: relative;
}

.mevicina-elementor-footer::before {
	border: 1px solid rgba(217, 184, 208, 0.28);
	border-radius: 50%;
	content: "";
	height: 280px;
	pointer-events: none;
	position: absolute;
	right: -150px;
	top: -150px;
	width: 280px;
}

.mevicina-elementor-footer > .e-con-inner {
	display: block !important;
	max-width: 1240px !important;
	width: 100% !important;
}

.mevicina-footer-main {
	display: block !important;
	padding: 0 !important;
}

.mevicina-footer-main > .e-con-inner {
	display: grid !important;
	gap: clamp(44px, 7vw, 112px);
	grid-template-columns: minmax(260px, 1.25fr) minmax(300px, 1fr) minmax(220px, 0.75fr);
	max-width: none !important;
	padding: 0 !important;
	position: relative;
	width: 100% !important;
	z-index: 1;
}

.mevicina-footer-main > .e-con-inner > .elementor-element,
.mevicina-footer-bottom > .e-con-inner > .elementor-element {
	margin: 0 !important;
	width: auto !important;
}

.mevicina-elementor-footer .elementor-widget-text-editor,
.mevicina-elementor-footer .elementor-widget-text-editor p {
	color: var(--mevicina-footer-muted);
}

.mevicina-elementor-footer .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

.mevicina-footer-logo {
	color: var(--mevicina-footer-text) !important;
	display: inline-block;
	font-family: "Sulphur Point", sans-serif;
	font-size: clamp(34px, 4vw, 56px);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	margin-bottom: 30px;
	text-decoration: none !important;
}

.mevicina-footer-brand p {
	font-size: 17px;
	line-height: 1.65;
	max-width: 370px;
}

.mevicina-footer-label {
	color: #d9b8d0 !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	margin: 0 0 24px !important;
	text-transform: uppercase;
}

.mevicina-footer-navigation ul {
	display: grid;
	gap: 13px 30px;
	grid-template-columns: repeat(2, minmax(120px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.mevicina-elementor-footer a:not(.mevicina-footer-cta) {
	color: var(--mevicina-footer-text);
	text-decoration-color: transparent;
	text-underline-offset: 5px;
	transition: color 180ms ease, text-decoration-color 180ms ease;
}

.mevicina-elementor-footer a:not(.mevicina-footer-cta):hover {
	color: #e6cfe0;
	text-decoration-color: currentColor;
}

.mevicina-footer-contact-link {
	display: block;
	font-size: 17px;
	margin-bottom: 12px;
}

.mevicina-footer-cta {
	align-items: center;
	background: #f4edf2;
	border-radius: 3px;
	color: #473743 !important;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	justify-content: center;
	margin-top: 26px;
	min-height: 46px;
	padding: 10px 24px;
	text-decoration: none !important;
	transition: background-color 180ms ease, transform 180ms ease;
}

.mevicina-footer-cta:hover {
	background: #fff;
	transform: translateY(-2px);
}

.mevicina-footer-bottom {
	border-top: 1px solid rgba(247, 250, 249, 0.16);
	display: block !important;
	margin-top: clamp(52px, 7vw, 90px);
	padding: 24px 0 0 !important;
}

.mevicina-footer-bottom > .e-con-inner {
	display: block !important;
	max-width: none !important;
	width: 100% !important;
}

.mevicina-footer-bottom p {
	font-size: 12px;
	letter-spacing: 0.04em;
}

@media (max-width: 900px) {
	.mevicina-footer-main > .e-con-inner {
		gap: 48px;
		grid-template-columns: 1fr 1fr;
	}

	.mevicina-footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.mevicina-elementor-footer {
		padding-inline: 24px !important;
	}

	.mevicina-footer-main > .e-con-inner {
		grid-template-columns: 1fr;
	}

	.mevicina-footer-brand {
		grid-column: auto;
	}

	.mevicina-footer-navigation ul {
		grid-template-columns: 1fr;
	}
}

/* Mobile header navigation: full-width readable dropdown. */
@media (max-width: 1024px) {
	.elementor-element-14f42f9c {
		position: relative !important;
		z-index: 10000;
	}

	.elementor-element-73f0b4cb,
	.elementor-element-689c057 {
		position: static !important;
	}

	.elementor-element-689c057 .elementor-nav-menu--dropdown {
		position: absolute !important;
		top: 100% !important;
		right: 0 !important;
		left: 0 !important;
		width: 100% !important;
		min-width: 100% !important;
		margin: 0 !important;
		background: #fff !important;
		box-shadow: 0 16px 30px rgb(47 62 59 / 16%);
	}

	.elementor-element-689c057 .elementor-nav-menu--dropdown .elementor-nav-menu,
	.elementor-element-689c057 .elementor-nav-menu--dropdown .menu-item,
	.elementor-element-689c057 .elementor-nav-menu--dropdown .elementor-item {
		width: 100% !important;
	}

	.elementor-element-689c057 .elementor-nav-menu--dropdown .elementor-item {
		min-height: 46px;
		white-space: normal;
	}
}

/* Professionisti: balanced grid and readable long-form category. */
@media (min-width: 1025px) {
	.mevicina-professionisti-grid > .mevicina-professione-olistica {
		grid-column: 1 / -1 !important;
		padding-top: 16px;
		border-top: 1px solid rgb(47 62 59 / 14%);
	}

	.mevicina-professione-olistica .elementor-icon-box-description {
		max-width: 1080px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto !important;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.elementor-invisible {
		animation: none !important;
		visibility: visible !important;
	}
}

/* Homepage: medicina integrata — points 2 and 3. */
.home .elementor-element-7a3836c .elementor-heading-title {
	color: #263c38;
	font-size: clamp(42px, 4.2vw, 64px);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.03;
	max-width: 760px;
}

.home .elementor-element-1b11736a {
	color: #52615e;
	font-size: clamp(17px, 1.3vw, 19px);
	line-height: 1.72;
}

.home .mevicina-integrated-copy {
	max-width: 790px;
}

.home .mevicina-integrated-copy p {
	margin: 0 0 24px;
}

.home .mevicina-integrated-copy__lead {
	color: #263c38;
	font-family: "Sulphur Point", sans-serif;
	font-size: clamp(23px, 2vw, 30px);
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.35;
}

.home .mevicina-integrated-copy__bridge {
	border-left: 3px solid #78918b;
	color: #263c38;
	font-family: "Sulphur Point", sans-serif;
	font-size: clamp(21px, 1.7vw, 26px);
	font-weight: 600;
	line-height: 1.35;
	padding-left: 22px;
}

.home .mevicina-integrated-copy__closing {
	background: #edf3f1;
	border-radius: 3px;
	color: #263c38;
	font-size: clamp(19px, 1.5vw, 23px);
	font-weight: 600;
	margin-bottom: 0;
	padding: 20px 24px;
}

@media (max-width: 767px) {
	.home .elementor-element-7a3836c .elementor-heading-title {
		font-size: clamp(38px, 12vw, 50px);
	}

	.home .mevicina-integrated-copy p {
		margin-bottom: 20px;
	}

	.home .mevicina-integrated-copy__bridge {
		padding-left: 16px;
	}
}