/* ==========================================================================
   Ergonet: rifiniture al design costruito in Elementor.
   Colori e font sono quelli globali del kit Elementor (variabili --e-global-*).
   ========================================================================== */

:root {
	--eg-navy: var(--e-global-color-primary, #022356);
	--eg-blue: var(--e-global-color-secondary, #1f5fa8);
	--eg-ink: var(--e-global-color-text, #24324a);
	--eg-orange: var(--e-global-color-accent, #f98437);
	--eg-paper: #f7f5f0;
	--eg-line: #e4e0d6;
	--eg-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--eg-header-h: 84px;
}

html { scroll-padding-top: calc(var(--eg-header-h) + 16px); }

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.elementor-heading-title { text-wrap: balance; }
.elementor-widget-text-editor p { text-wrap: pretty; }

/* ---------- Focus visibile e accessibilità ---------- */

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--eg-blue);
	outline-offset: 3px;
	border-radius: 4px;
}

.eg-on-dark :where(a, button):focus-visible,
.eg-header-top :where(a, button):focus-visible,
.eg-footer :where(a, button):focus-visible { outline-color: var(--eg-orange); }

.skip-link.screen-reader-text:focus {
	z-index: 100000;
	background: var(--eg-navy);
	color: #fff;
	padding: 12px 18px;
	border-radius: 8px;
	font-weight: 600;
}

/* ---------- Testata (template HFE) ---------- */

/* .ehf-header #masthead di HFE imposta position: relative: serve la stessa specificità. */
.ehf-header #masthead,
#masthead {
	position: sticky;
	top: 0;
	z-index: 999;
	overflow-x: clip; /* il menu a tendina mobile di HFE non deve allargare la pagina */
	transition: box-shadow 200ms var(--eg-ease);
}
#masthead.is-scrolled { box-shadow: 0 10px 30px -18px rgb(2 35 86 / 0.45); }
.admin-bar.ehf-header #masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar.ehf-header #masthead { top: 0; } }

/* Sotto i 1280px l'indirizzo esce dalla barra (resta in contatti e nel piè di pagina). */
@media (max-width: 1279px) {
	.eg-top-info .elementor-icon-list-item:last-child { display: none; }
}

.eg-header-top .elementor-icon-list-item a,
.eg-header-top .elementor-icon-list-text { white-space: nowrap; }

/* Menu principale. */
.hfe-nav-menu .menu-item a.hfe-menu-item,
.hfe-nav-menu .menu-item a.hfe-sub-menu-item { min-height: 44px; }

.hfe-nav-menu .sub-menu {
	border: 1px solid var(--eg-line) !important;
	border-radius: 14px !important;
	box-shadow: 0 24px 48px -24px rgb(2 35 86 / 0.35) !important;
	padding: 8px !important;
	overflow: hidden;
}
.hfe-nav-menu .sub-menu li { border: 0 !important; }
.hfe-nav-menu .sub-menu a.hfe-sub-menu-item { border-radius: 8px; }

@media (min-width: 1025px) {
	/* La tendina dei servizi (8 voci) su due colonne. */
	.hfe-nav-menu .sub-menu:has(> li:nth-child(6)) {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(250px, 1fr));
		width: 560px !important;
	}
}

@media (max-width: 1024px) {
	/* Pulsante del menu allineato a destra, accanto al logo c'è solo spazio. */
	#masthead .elementor-widget-navigation-menu {
		flex: 1 1 0% !important;
		min-width: 0;
	}
	#masthead .hfe-nav-menu__toggle {
		margin-left: auto !important;
		margin-right: 0 !important;
	}

	.hfe-nav-menu__layout-horizontal.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu {
		max-height: calc(100vh - 140px);
		overflow-y: auto;
	}
	.hfe-nav-menu .sub-menu { box-shadow: none !important; border: 0 !important; }
}

/* ---------- Componenti ---------- */

.eg-eyebrow .elementor-heading-title,
.eg-eyebrow p {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.eg-eyebrow .elementor-heading-title::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--eg-orange);
}

/* Testo in corsivo dei titoli: accento editoriale. */
.elementor-heading-title em {
	font-style: italic;
	color: var(--eg-blue);
}
.eg-on-dark .elementor-heading-title em { color: #f9b88a; }

.eg-chip .elementor-heading-title,
.eg-chip p {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: #feecdf;
	color: var(--eg-navy);
}

/* Schede cliccabili (contenitori con link). */
a.eg-card,
.eg-card {
	transition: transform 220ms var(--eg-ease), box-shadow 220ms var(--eg-ease), border-color 220ms var(--eg-ease), background-color 220ms var(--eg-ease);
}
a.eg-card { color: inherit; text-decoration: none; }
a.eg-card:hover,
a.eg-card:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 22px 40px -24px rgb(2 35 86 / 0.35);
}
a.eg-card:focus-visible { outline-offset: 4px; }

.eg-more .elementor-heading-title::after,
.eg-more p::after {
	content: "→";
	display: inline-block;
	margin-left: 8px;
	transition: transform 200ms var(--eg-ease);
}
a.eg-card:hover .eg-more .elementor-heading-title::after,
a.eg-card:hover .eg-more p::after { transform: translateX(4px); }

/* Il link "Scopri" sta sempre in fondo alla scheda. */
.eg-card > .eg-more,
.eg-card > .e-con-inner > .eg-more { margin-top: auto; }

/* Citazione editoriale. */
.eg-quote .elementor-heading-title {
	position: relative;
	padding-left: 28px;
}
.eg-quote .elementor-heading-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	bottom: 0.2em;
	width: 3px;
	border-radius: 3px;
	background: var(--eg-orange);
}

/* Numerazione passi (Chi siamo). */
.eg-step-num .elementor-heading-title { font-variant-numeric: lining-nums tabular-nums; }

/* Elenchi con spunta: testo allineato e leggibile. */
.elementor-icon-list-items .elementor-icon-list-item { align-items: flex-start; }
.elementor-icon-list-items .elementor-icon-list-icon { padding-top: 0.25em; }

/* Immagini con angoli morbidi. */
.eg-photo img { border-radius: 20px; }
.eg-diagram img { margin-inline: auto; }

/* Link nelle schede link utili. */
a.eg-link-card .elementor-widget-image img {
	max-height: 96px;
	width: auto;
	object-fit: contain;
}

/* ---------- Modulo (Contact Form 7) ---------- */

.wpcf7 form > p,
.wpcf7 form > label { margin: 0 0 18px; }

.wpcf7 label {
	display: block;
	color: var(--eg-navy);
	font-weight: 600;
	font-size: 0.95rem;
}

.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 6px; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid #cbc6b9;
	border-radius: 10px;
	background: #fff;
	color: var(--eg-ink);
	font: inherit;
	font-size: 1rem;
	transition: border-color 200ms var(--eg-ease), box-shadow 200ms var(--eg-ease);
}
.wpcf7 textarea { min-height: 150px; max-height: 360px; resize: vertical; }

.wpcf7 input:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--eg-blue);
	box-shadow: 0 0 0 3px rgb(31 95 168 / 0.22);
}

.wpcf7 label:has(.wpcf7-acceptance) {
	position: relative;
	padding-left: 32px;
	font-weight: 400;
	color: var(--eg-ink);
	line-height: 1.5;
	cursor: pointer;
}
.wpcf7 label:has(.wpcf7-acceptance) .wpcf7-form-control-wrap {
	position: absolute;
	left: 0;
	top: 0;
	margin: 0;
}
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--eg-blue); }

.wpcf7 .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	min-width: 200px;
	padding: 14px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--eg-orange);
	color: var(--eg-navy);
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 200ms var(--eg-ease);
}
.wpcf7 .wpcf7-submit:hover { background: #f27420; }
@media (max-width: 560px) { .wpcf7 .wpcf7-submit { width: 100%; } }

.wpcf7-not-valid-tip { margin-top: 6px; color: #b42318; font-size: 0.9rem; font-weight: 500; }
.wpcf7 .wpcf7-not-valid { border-color: #b42318 !important; }
.wpcf7 form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 0.975rem;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: #067647; color: #067647; background: #ecfdf3; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: #b42318; color: #b42318; background: #fef3f2; }

/* ---------- Footer (template HFE) ---------- */

.eg-footer a { text-underline-offset: 3px; }
.eg-footer .elementor-icon-list-item a:hover .elementor-icon-list-text { text-decoration: underline; }

/* ---------- Animazioni: poche e rispettose ---------- */

@media (prefers-reduced-motion: reduce) {
	.elementor-invisible { visibility: visible !important; }
	.animated { animation: none !important; }
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	a.eg-card:hover { transform: none; }
}

/* ---------- Stampa ---------- */

@media print {
	#masthead,
	.eg-cta-band,
	.eg-aside { display: none !important; }
}

/* ==========================================================================
   Identità Ergonet: la "rete di tessere" del logo e movimenti lenti.
   Colori del simbolo: petrolio #00486C, ciano #009CD8, notte #00183C,
   tessera arancio #F0480C.
   ========================================================================== */

:root {
	--eg-petrol: #00486c;
	--eg-cyan: #009cd8;
	--eg-tile-orange: #f0480c;
	--eg-slow: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Etichette: al posto del trattino, tre tessere del logo. */
.eg-eyebrow .elementor-heading-title::before {
	width: 22px;
	height: 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14'%3E%3Crect x='0' y='3' width='9' height='11' rx='2' fill='%2300486c' transform='skewY(-8)'/%3E%3Crect x='11' y='4' width='6' height='10' rx='2' fill='%23009cd8' transform='skewY(-8)'/%3E%3Crect x='17' y='2' width='5' height='5' rx='1.5' fill='%23f0480c' transform='skewY(-8)'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Mosaico del hero. */
.eg-hero { position: relative; overflow: hidden; }
.eg-hero > .e-con-inner { position: relative; }
.eg-hero > .e-con-inner > .e-con { position: relative; z-index: 1; }
/* Il widget HTML che contiene il mosaico viene tolto dal flusso e messo dietro la scheda. */
.eg-hero .elementor-widget-html:has(.eg-hero-art) {
	position: absolute !important;
	top: -110px;
	right: -120px;
	width: min(700px, 58vw) !important;
	max-width: none !important;
	margin: 0 !important;
	z-index: 0 !important;
	pointer-events: none;
}
.eg-hero-art { opacity: 0.95; }
.eg-hero-art svg { width: 100%; height: auto; display: block; }
.eg-tile { transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
	.eg-tile { animation: eg-drift 16s var(--eg-slow) infinite alternate; }
	.eg-tile:nth-child(3n) { animation-duration: 21s; animation-delay: -6s; }
	.eg-tile:nth-child(4n+1) { animation-duration: 18s; animation-delay: -11s; }
	.eg-tile--accent { animation: eg-settle 9s var(--eg-slow) infinite alternate; }
}
@keyframes eg-drift {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(0, -7px, 0); }
}
@keyframes eg-settle {
	from { transform: translate3d(0, -4px, 0) rotate(-2deg); }
	to { transform: translate3d(0, 3px, 0) rotate(1deg); }
}
@media (max-width: 1024px) {
	.eg-hero .elementor-widget-html:has(.eg-hero-art) { top: auto; bottom: -160px; right: -200px; width: 520px !important; }
	.eg-hero-art { opacity: 0.5; }
}

/* Comparsa morbida delle sezioni (attivata da ergonet.js). */
@media (prefers-reduced-motion: no-preference) {
	.eg-js .eg-reveal {
		opacity: 0;
		transform: translate3d(0, 18px, 0);
		transition: opacity 800ms var(--eg-slow), transform 800ms var(--eg-slow);
		transition-delay: var(--eg-delay, 0ms);
	}
	.eg-js .eg-reveal.is-in { opacity: 1; transform: none; }
	.eg-js a.eg-card.eg-reveal.is-in:hover { transform: translateY(-3px); }
}

/* Linea del tempo: si traccia quando entra nello schermo. */
.eg-timeline { position: relative; }
.eg-timeline::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 9px;
	height: 2px;
	background: linear-gradient(90deg, var(--eg-petrol), var(--eg-cyan) 70%, var(--eg-tile-orange));
	transform-origin: left center;
	transform: scaleX(var(--eg-progress, 1));
	transition: transform 1800ms var(--eg-slow);
	border-radius: 2px;
}
.eg-js .eg-timeline:not(.is-in) { --eg-progress: 0; }
.eg-tl-item { position: relative; padding-top: 34px !important; }
.eg-tl-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 16px;
	height: 16px;
	border-radius: 4px;
	transform: skewY(-8deg);
	background: var(--eg-petrol);
	box-shadow: 0 0 0 5px var(--eg-paper);
}
.eg-tl-item:nth-child(2)::before { background: var(--eg-cyan); }
.eg-tl-item:last-child::before { background: var(--eg-tile-orange); }
@media (max-width: 767px) {
	.eg-timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: top center; transform: scaleY(var(--eg-progress, 1)); }
	.eg-tl-item { padding-top: 0 !important; padding-left: 36px !important; }
	.eg-tl-item::before { top: 6px; }
}

/* Flusso delle fatture ricevute. */
.eg-flow svg { width: 100%; height: auto; overflow: visible; }
.eg-flow .eg-flow-h { display: block; }
.eg-flow text { font-family: "Source Sans 3", system-ui, sans-serif; }
/* Il documento si muove con <animateMotion> (vedi art.php); qui solo il "respiro" dei nodi. */
.eg-flow { max-width: 920px; margin-inline: auto; }
.eg-flow .eg-flow-v { display: none; max-width: 340px; }
@media (max-width: 767px) {
	.eg-flow .eg-flow-h { display: none; }
	.eg-flow .eg-flow-v { display: block; }
}
.eg-on-dark .eg-flow-node { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.5; }
@media (prefers-reduced-motion: no-preference) {
	.eg-flow .eg-flow-node { animation: eg-pulse 10s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
	.eg-flow .eg-flow-node:nth-of-type(2) { animation-delay: 2s; }
	.eg-flow .eg-flow-node:nth-of-type(3) { animation-delay: 4.4s; }
	.eg-flow .eg-flow-node:nth-of-type(4) { animation-delay: 7s; }
}
@keyframes eg-pulse {
	0%, 14%, 34%, 100% { transform: scale(1); }
	22% { transform: scale(1.1); }
}

/* Testata più compatta durante lo scorrimento. */
.eg-header-main { transition: padding 300ms var(--eg-slow); }
.eg-header-main .elementor-widget-image img { transition: width 300ms var(--eg-slow); }
@media (min-width: 1025px) {
	#masthead.is-scrolled .eg-header-main { padding-top: 8px !important; padding-bottom: 8px !important; }
	#masthead.is-scrolled .eg-header-main .elementor-widget-image img { width: 150px; }
}

/* Pulsanti: la freccia accompagna il passaggio del mouse. */
.elementor-button .elementor-button-icon { transition: transform 250ms var(--eg-slow); }
.elementor-button:hover .elementor-button-icon { transform: translateX(3px); }

/* Mappa OpenStreetMap. */
.eg-map {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--eg-line);
	border-radius: 24px;
	background: #e8e4da;
	aspect-ratio: 4 / 3;
}
.eg-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.85); }
.eg-map__link {
	position: absolute;
	left: 16px;
	top: 16px; /* in basso c'è l'attribuzione OpenStreetMap, che deve restare leggibile */
	padding: 10px 16px;
	border-radius: 999px;
	background: #fff;
	color: var(--eg-navy);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	box-shadow: 0 10px 24px -12px rgb(2 35 86 / 0.45);
}
.eg-map__link:hover { color: var(--eg-blue); }

/* Firma ricorrente: piccolo gruppo di tessere del logo, sempre tenue. */
.eg-page-hero,
.eg-cta-band,
.eg-footer { position: relative; overflow: hidden; }

.eg-page-hero::after,
.eg-cta-band::after {
	content: "";
	position: absolute;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 120'%3E%3Cg transform='skewY(-12) translate(0 30)'%3E%3Crect x='0' y='30' width='44' height='40' rx='9' fill='%2300486c' fill-opacity='.16'/%3E%3Crect x='50' y='20' width='40' height='38' rx='9' fill='%23009cd8' fill-opacity='.22'/%3E%3Crect x='96' y='10' width='34' height='34' rx='8' fill='%2300486c' fill-opacity='.12'/%3E%3Crect x='50' y='64' width='40' height='36' rx='9' fill='%2300486c' fill-opacity='.1'/%3E%3Crect x='100' y='50' width='26' height='24' rx='6' fill='%23f0480c' fill-opacity='.85'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.eg-page-hero::after { right: max(24px, calc((100vw - 1240px) / 2)); top: 50%; width: 200px; height: 150px; transform: translateY(-50%); }
.eg-cta-band::after { right: 40px; top: 28px; width: 150px; height: 112px; opacity: 0.7; }
.eg-page-hero > .e-con-inner,
.eg-cta-band > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: no-preference) {
	.eg-page-hero::after { animation: eg-float 14s var(--eg-slow) infinite alternate; }
}
@keyframes eg-float {
	from { transform: translateY(-50%); }
	to { transform: translateY(calc(-50% - 6px)); }
}
@media (max-width: 1024px) {
	.eg-page-hero::after { width: 120px; height: 90px; top: 24px; transform: none; animation: none; opacity: 0.6; }
	.eg-cta-band::after { width: 100px; height: 75px; top: 16px; right: 16px; opacity: 0.45; }
}

/* Piè di pagina: la rete appena accennata (immagine di sfondo: ::before dei container è usato da Elementor). */
.eg-footer {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 240'%3E%3Cg transform='skewY(-12) translate(0 60)' fill='%23ffffff' fill-opacity='.06'%3E%3Crect x='0' y='40' width='60' height='56' rx='12'/%3E%3Crect x='70' y='30' width='56' height='54' rx='12'/%3E%3Crect x='136' y='20' width='50' height='50' rx='11'/%3E%3Crect x='196' y='12' width='42' height='44' rx='10'/%3E%3Crect x='0' y='106' width='60' height='56' rx='12'/%3E%3Crect x='70' y='94' width='56' height='54' rx='12'/%3E%3Crect x='136' y='80' width='50' height='50' rx='11'/%3E%3Crect x='196' y='66' width='42' height='44' rx='10'/%3E%3C/g%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right -60px bottom -40px !important;
	background-size: 420px auto !important;
}
.eg-footer > .e-con { position: relative; z-index: 1; }

/* Fascia finale: contenuti in basso, il piccolo mosaico resta libero in alto a destra. */
.eg-cta-band { align-items: end !important; }
.eg-cta-band::after { top: 22px; right: 28px; width: 120px; height: 90px; }
@media (max-width: 1024px) { .eg-cta-band::after { top: 14px; right: 14px; width: 84px; height: 63px; } }

/* Foto con due tessere del marchio sull'angolo. */
.eg-photo--tiles { position: relative; }
.eg-photo--tiles::after {
	content: "";
	position: absolute;
	right: -18px;
	bottom: -22px;
	width: 96px;
	height: 72px;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 72'%3E%3Cg transform='skewY(-12) translate(0 18)'%3E%3Crect x='0' y='22' width='48' height='44' rx='10' fill='%23009cd8'/%3E%3Crect x='54' y='6' width='32' height='30' rx='8' fill='%23f0480c'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 767px) { .eg-photo--tiles::after { right: -6px; bottom: -14px; width: 70px; height: 52px; } }

/* La scheda-citazione navy nella griglia della mission. */
.eg-on-dark .eg-quote .elementor-heading-title::before { background: var(--eg-orange); }

/* ==========================================================================
   Barra avviso nuova sede, WhatsApp fisso, pulsanti portale clienti.
   ========================================================================== */

/* Barra avviso: scende all'apertura della pagina e resta in cima (fa parte della testata fissa). */
.eg-announce { overflow: hidden; }
.eg-announce a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--eg-orange); text-underline-offset: 4px; white-space: nowrap; }
.eg-announce a:hover { color: #ffd2b5; }
.eg-announce p { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
	.eg-announce { animation: eg-announce-in 900ms var(--eg-slow) 350ms both; }
}
@keyframes eg-announce-in {
	from { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
	to { max-height: 140px; opacity: 1; }
}
.eg-announce .elementor-icon-list-icon,
.eg-announce .eg-announce__pin { color: var(--eg-orange); }

/* WhatsApp: pulsante chat sempre visibile. */
.eg-wa {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 998;
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}
.eg-wa__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #128c7e;
	color: #fff;
	box-shadow: 0 14px 30px -12px rgb(1 22 56 / 0.55), 0 0 0 4px rgb(255 255 255 / 0.9);
	transition: transform 250ms var(--eg-slow), background-color 250ms var(--eg-slow);
}
.eg-wa__label {
	padding: 10px 16px;
	border-radius: 999px;
	background: #fff;
	color: var(--eg-navy);
	font-weight: 700;
	font-size: 0.95rem;
	box-shadow: 0 12px 28px -14px rgb(1 22 56 / 0.5);
	opacity: 0;
	transform: translateX(8px);
	pointer-events: none;
	transition: opacity 250ms var(--eg-slow), transform 250ms var(--eg-slow);
}
.eg-wa:hover .eg-wa__btn,
.eg-wa:focus-visible .eg-wa__btn { background: #0e7368; transform: translateY(-2px); }
.eg-wa:hover .eg-wa__label,
.eg-wa:focus-visible .eg-wa__label { opacity: 1; transform: none; }
.eg-wa:focus-visible { outline: none; }
.eg-wa:focus-visible .eg-wa__btn { outline: 3px solid var(--eg-blue); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
	.eg-wa { animation: eg-wa-in 700ms var(--eg-slow) 1.2s both; }
}
@keyframes eg-wa-in {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}
@media (max-width: 767px) {
	.eg-wa { right: 16px; bottom: 16px; }
	.eg-wa__btn { width: 56px; height: 56px; }
	.eg-wa__label { display: none; }
}
@media print { .eg-wa { display: none; } }

/* Portale clienti nel piè di pagina: pulsanti ben visibili. */
.eg-portal .elementor-button { width: 100%; justify-content: space-between; }

/* Illustrazione di "Chi siamo". */
.eg-about-art svg { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 30px 60px -36px rgb(2 35 86 / 0.45); }
.eg-about-art .eg-tile { transform-box: fill-box; transform-origin: center; }

/* Avviso: versione breve su mobile. */
.eg-announce__short { display: none; }
@media (max-width: 767px) {
	.eg-announce__long { display: none; }
	.eg-announce__short { display: inline; }
}

/* Pulsante "chiama" nella testata mobile. */
.eg-call {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: #feecdf;
	color: var(--eg-navy);
	transition: background-color 200ms var(--eg-slow);
}
.eg-call:hover { background: #fddcc4; color: var(--eg-navy); }

/* Pulsanti del portale: sempre su una riga. */
.eg-portal .elementor-button { white-space: nowrap; }

/* Spazio sotto il piè di pagina: il pulsante WhatsApp non copre i link in fondo. */
.eg-footer > .e-con:last-child { padding-bottom: 28px !important; }
@media (max-width: 767px) { .eg-footer > .e-con:last-child { padding-bottom: 96px !important; } }
