/* =========================================================================
   EDPTECH – stili del tema (complemento a theme.json)
   Nessuna dipendenza. Mobile first. Contrasti verificati WCAG 2.2 AA.
   ========================================================================= */

:root {
	--edp-radius: 12px;
	--edp-radius-sm: 8px;
	--edp-shadow: 0 1px 2px rgba(14, 34, 56, .06), 0 8px 24px rgba(14, 34, 56, .07);
	--edp-shadow-hover: 0 2px 4px rgba(14, 34, 56, .08), 0 14px 32px rgba(14, 34, 56, .12);
	--edp-header-h: 76px;
	--edp-focus: 3px solid var(--wp--preset--color--primary);
	scroll-padding-top: calc(var(--edp-header-h) + 1rem);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss01"; }

/* ---------- Accessibilità ---------- */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.skip-link.screen-reader-text:focus {
	clip: auto !important; clip-path: none; height: auto; width: auto; z-index: 100000;
	background: var(--wp--preset--color--white); color: var(--wp--preset--color--navy);
	padding: .75rem 1rem; top: .5rem; left: .5rem; border-radius: var(--edp-radius-sm);
	box-shadow: var(--edp-shadow); font-weight: 600; text-decoration: underline;
}
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: var(--edp-focus);
	outline-offset: 3px;
	border-radius: 4px;
}
.has-navy-background-color :where(a, button):focus-visible,
.edp-footer :where(a, button):focus-visible { outline-color: var(--wp--preset--color--accent-light); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Link nel testo: sottolineatura leggibile */
a { text-underline-offset: .18em; text-decoration-thickness: from-font; }

/* ---------- Intestazione ---------- */
.edp-site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: var(--wp--preset--color--white);
	transition: box-shadow .2s ease;
}
.edp-site-header.is-scrolled { box-shadow: 0 1px 0 var(--wp--preset--color--border), 0 6px 20px rgba(14, 34, 56, .08); }
.edp-site-header > .wp-block-group { margin-block: 0; }

.edp-topbar { padding-block: .375rem; }
.edp-topbar p { margin: 0; }
.edp-topbar a { color: var(--wp--preset--color--white); text-decoration: none; }
.edp-topbar a:hover { color: var(--wp--preset--color--accent-light); text-decoration: underline; }
.edp-sep { display: inline-block; margin-inline: .6em; opacity: .6; }

.edp-mainbar { padding-block: .75rem; border-bottom: 1px solid var(--wp--preset--color--border); }
.edp-mainbar__inner { gap: 1.5rem; }
.edp-mainbar__nav { gap: 1.25rem; }
.edp-mainbar .wp-block-site-logo img { height: auto; max-width: 100%; display: block; }
.edp-mainbar .wp-block-site-logo { flex: 0 0 auto; width: clamp(130px, 30vw, 170px); }

/* Navigazione */
.edp-nav { --navigation-layout-justification-setting: flex-end; }
.edp-nav .wp-block-navigation__container { gap: .25rem; }
.edp-nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--navy);
	padding: .5rem .625rem;
	border-radius: 6px;
	text-decoration: none;
}
.edp-nav .wp-block-navigation-item__content:hover,
.edp-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--primary); }
.edp-nav .current-menu-item > .wp-block-navigation-item__content { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }
.edp-nav .wp-block-navigation-submenu__toggle { color: var(--wp--preset--color--navy); }
.edp-nav .wp-block-navigation__submenu-container {
	border: 1px solid var(--wp--preset--color--border) !important;
	border-radius: var(--edp-radius);
	box-shadow: var(--edp-shadow-hover);
	padding: .5rem !important;
	min-width: 17rem !important;
	background: var(--wp--preset--color--white);
}
.edp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .5rem .75rem; width: 100%; }
.edp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--surface); }

/* Pulsante menu mobile e overlay */
.edp-nav .wp-block-navigation__responsive-container-open,
.edp-nav .wp-block-navigation__responsive-container-close {
	width: 44px; height: 44px; align-items: center; justify-content: center;
	border-radius: 8px; color: var(--wp--preset--color--navy);
}
.edp-nav .wp-block-navigation__responsive-container-open { border: 1px solid var(--wp--preset--color--border); }
.edp-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1rem clamp(1rem, 5vw, 2rem) 2rem;
	background: var(--wp--preset--color--white) !important;
}
.edp-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.5rem; align-items: stretch; }
.edp-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0; align-items: stretch; width: 100%; }
.edp-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; align-items: stretch; }
.edp-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 1.125rem; padding: .75rem 0; border-bottom: 1px solid var(--wp--preset--color--border); border-radius: 0;
}
.edp-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	border: 0 !important; box-shadow: none; padding: 0 0 0 1rem !important; min-width: 0 !important;
}
.edp-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1rem; padding: .6rem 0; }
.edp-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu > .wp-block-navigation-item__content { font-weight: 700; }

@media (max-width: 1100px) {
	.edp-mainbar__nav .edp-nav { order: 2; }
	.edp-mainbar__nav { gap: .75rem; }
}
@media (max-width: 599px) {
	.edp-topbar p:last-child { display: none; }
	.edp-topbar__inner { justify-content: center !important; }
	.edp-header-cta .wp-block-button__link { padding: .5rem .8rem; }
}
@media (min-width: 600px) and (max-width: 1100px) {
	/* Su tablet il menu va nell'overlay anche se lo schermo è "desktop" per WordPress */
	.edp-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.edp-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}

/* ---------- Struttura sezioni ---------- */
.edp-main { margin-top: 0; }
.edp-main > .wp-block-post-content > *:first-child { margin-top: 0; }
.wp-block-post-content > .alignfull + .alignfull { margin-top: 0; }

.edp-section {
	padding-block: var(--wp--preset--spacing--70);
}
.edp-section:not(.has-background) + .edp-section:not(.has-background) { padding-top: 0; }
.edp-section__inner > * + * { margin-top: var(--wp--preset--spacing--50); }
.edp-section__inner > h2 { margin-bottom: 0; }

.edp-section-head { max-width: 46rem; margin-bottom: var(--wp--preset--spacing--60); }
.edp-section-head.is-centered { margin-inline: auto; text-align: center; }
.edp-section-head > * { margin-block: 0; }
.edp-section-head > * + * { margin-top: .75rem; }

.edp-eyebrow {
	font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--wp--preset--color--primary);
	display: inline-flex; align-items: center; gap: .6rem;
}
.edp-eyebrow::before { content: ""; width: 1.75rem; height: 3px; border-radius: 3px; background: var(--wp--preset--color--accent); }
.has-navy-background-color .edp-eyebrow { color: var(--wp--preset--color--accent-light); }
/* su fondi grigi/azzurrini serve un arancio appena più scuro per il contrasto AA */
.has-surface-background-color .edp-eyebrow, .edp-hero .edp-eyebrow, .has-surface-background-color .edp-req { color: #A84803; }

.edp-lead { font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--muted); line-height: 1.55; }
.has-navy-background-color .edp-lead { color: #C8D1DC; }
.edp-muted { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.edp-strong { font-weight: 600; }
.edp-subhead { margin-top: var(--wp--preset--spacing--60) !important; padding-bottom: .5rem; border-bottom: 1px solid var(--wp--preset--color--border); }
.edp-rounded img, img.edp-rounded, .edp-rounded { border-radius: var(--edp-radius); }

/* Griglie */
.edp-grid { gap: var(--wp--preset--spacing--50); align-items: stretch; }

/* Schede */
.is-style-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--edp-radius);
	padding: clamp(1.25rem, 3vw, 1.75rem);
	box-shadow: var(--edp-shadow);
	height: 100%;
}
.is-style-card > * { margin-block: 0; }
.is-style-card > * + * { margin-top: .875rem; }
.is-style-card .wp-block-buttons { margin-top: 1.25rem; }
.is-style-card h3 a { color: inherit; text-decoration: none; }
.is-style-card h3 a::after { content: ""; position: absolute; inset: 0; } /* scheda interamente cliccabile */
.is-style-card:has(h3 a) { position: relative; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.is-style-card:has(h3 a):hover { box-shadow: var(--edp-shadow-hover); transform: translateY(-2px); border-color: #C9D2DD; }
.is-style-card:has(h3 a:focus-visible) { outline: var(--edp-focus); outline-offset: 3px; }
.is-style-card h3 a:focus-visible { outline: none; }
.is-style-card:has(h3 a) h3 a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .2s ease; }
.is-style-card:has(h3 a):hover h3 a { background-size: 100% 2px; color: var(--wp--preset--color--primary); }
.has-surface-background-color .is-style-card { box-shadow: none; }

/* ---------- Hero home ---------- */
/* L'immagine di sfondo è impostata nel blocco Gruppo (Stili → Sfondo), qui solo la sfumatura per la leggibilità */
.edp-hero {
	position: relative;
	padding-block: clamp(3rem, 9vw, 7.5rem) clamp(4rem, 8vw, 7rem);
	background-color: #EAF0F7;
	background-repeat: no-repeat;
	overflow: hidden;
	isolation: isolate;
}
.edp-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, #EAF0F7 0%, #EAF0F7 28%, rgba(234, 240, 247, .88) 44%, rgba(234, 240, 247, 0) 66%);
}
.edp-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
	background: linear-gradient(90deg, var(--wp--preset--color--accent), #FFB27A 60%, transparent);
}
.edp-hero > .edp-hero__content {
	max-width: min(40rem, 100%);
	margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size)) / 2)) !important;
	margin-right: auto !important;
}
.edp-hero__content > * { margin-block: 0; }
.edp-hero__content > * + * { margin-top: 1.25rem; }
.edp-hero h1 { font-size: var(--wp--preset--font-size--xx-large); text-wrap: balance; }
.edp-hero .edp-lead { color: var(--wp--preset--color--ink); font-size: clamp(1.125rem, 2vw, 1.375rem); }
.edp-hero .wp-block-buttons { margin-top: 2rem !important; }
@media (max-width: 1200px) {
	.edp-hero::before { background: linear-gradient(90deg, #EAF0F7 0%, #EAF0F7 34%, rgba(234, 240, 247, .9) 56%, rgba(234, 240, 247, .1) 82%); }
}
@media (max-width: 900px) {
	.edp-hero::before { background: linear-gradient(180deg, rgba(234, 240, 247, .93), rgba(234, 240, 247, .97)); }
}

/* Numeri */
.edp-section--stats { padding-block: 0 !important; margin-top: calc(-1 * clamp(1.5rem, 3vw, 2.5rem)) !important; position: relative; z-index: 2; }
.edp-stats {
	gap: 0;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)) !important;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--edp-radius);
	box-shadow: var(--edp-shadow-hover);
	overflow: hidden;
}
.edp-stat { padding: 1.5rem 1.25rem; text-align: center; border-right: 1px solid var(--wp--preset--color--border); border-bottom: 1px solid var(--wp--preset--color--border); margin: 0 -1px -1px 0; }
.edp-stat > * { margin: 0; }
.edp-stat__num { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.1; color: var(--wp--preset--color--navy); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.edp-stat__label { margin-top: .35rem !important; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); font-weight: 500; }

/* Punti di forza / schede con icona */
.edp-value > * { margin-block: 0; }
.edp-value > * + * { margin-top: .5rem; }
.edp-value h3 { font-size: 1.125rem; }
.edp-value p { color: var(--wp--preset--color--muted); }
.has-icon::before {
	content: ""; display: block; width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: 12px;
	background-color: #FFF1E6;
	background-image: var(--edp-icon);
	background-repeat: no-repeat; background-position: center; background-size: 1.5rem;
}
.edp-section--values { padding-top: var(--wp--preset--spacing--70) !important; }

/* Servizi */
.edp-services { gap: var(--wp--preset--spacing--50); align-items: stretch !important; }
.edp-service { display: flex; flex-direction: column; }
.edp-service .wp-block-buttons { margin-top: auto !important; padding-top: 1.25rem; }
.edp-service h3 { font-size: var(--wp--preset--font-size--large); }
.edp-linklist { list-style: none; padding: 0; columns: 2 12rem; column-gap: 1.5rem; }
.edp-linklist li { break-inside: avoid; padding-block: .3rem; border-bottom: 1px solid var(--wp--preset--color--border); }
.edp-linklist a { text-decoration: none; font-weight: 500; display: inline; }
.edp-linklist a::after { content: "\00a0→"; color: var(--wp--preset--color--accent); } /* spazio indivisibile: la freccia non va mai a capo da sola */
.edp-linklist a:hover { text-decoration: underline; }

/* Elenchi con spunta e "chip" di funzionalità */
.edp-checklist, .is-style-checklist { list-style: none; padding-left: 0; }
.edp-checklist li, .is-style-checklist li { position: relative; padding-left: 2rem; margin-block: .55rem; }
.edp-checklist li::before, .is-style-checklist li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
	background: var(--wp--preset--color--accent) var(--edp-icon-check) center / .8rem no-repeat;
}
.edp-features {
	list-style: none; padding: 0; display: grid; gap: .75rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
}
.edp-features li {
	margin: 0; display: flex; align-items: flex-start; gap: .75rem;
	background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--edp-radius-sm); padding: .9rem 1rem; font-weight: 500; line-height: 1.4;
}
.edp-features li::before {
	content: ""; flex: 0 0 1.25rem; height: 1.25rem; margin-top: .05rem; border-radius: 6px;
	background: #FFF1E6 var(--edp-icon-check-orange) center / .8rem no-repeat;
}

/* Chi siamo – timeline */
.edp-about { gap: var(--wp--preset--spacing--70) !important; }
.edp-timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.edp-timeline::before { content: ""; position: absolute; left: .4rem; top: .5rem; bottom: .5rem; border-left: 2px dashed #C3CCD7; }
.edp-timeline li { position: relative; padding: 0 0 1.75rem 2.25rem; margin: 0; }
.edp-timeline li:last-child { padding-bottom: 0; }
.edp-timeline li::before {
	content: ""; position: absolute; left: 0; top: .3rem; width: .9rem; height: .9rem; border-radius: 50%;
	background: var(--wp--preset--color--accent); box-shadow: 0 0 0 4px var(--wp--preset--color--surface), 0 0 0 6px #FFD3B0;
}
.edp-timeline__year { display: block; font-size: 1.25rem; font-weight: 800; color: var(--wp--preset--color--navy); letter-spacing: -.01em; }
.edp-timeline__text { display: block; margin-top: .25rem; color: var(--wp--preset--color--ink); }
.edp-partner-badge img { max-width: 220px; height: auto; mix-blend-mode: multiply; }

/* Case history */
.edp-case { display: flex; flex-direction: column; }
.edp-case__logo { margin: 0 0 .5rem !important; height: 112px; display: flex; align-items: center; }
.edp-case__logo img { max-height: 112px; max-width: min(100%, 260px); width: auto; height: auto; object-fit: contain; }
.edp-case h3 { font-size: 1.0625rem; }
.edp-case__place { margin-top: .25rem !important; color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); display: flex; gap: .35rem; align-items: center; }
.edp-case__place::before { content: ""; width: 1rem; height: 1rem; flex: 0 0 1rem; background: var(--edp-icon-pin) center / contain no-repeat; opacity: .75; }
.edp-case > p:last-child { font-size: .975rem; color: var(--wp--preset--color--ink); }
.edp-tags { display: flex; flex-wrap: wrap; gap: .375rem; }
.edp-tag {
	display: inline-block; font-size: .75rem; font-weight: 600; line-height: 1; padding: .4rem .55rem; border-radius: 999px;
	background: var(--wp--preset--color--surface); color: var(--wp--preset--color--navy); border: 1px solid var(--wp--preset--color--border);
}

/* Fascia CTA */
.edp-section--cta { padding-block: var(--wp--preset--spacing--70); position: relative; overflow: hidden; }
.edp-section--cta::before {
	content: ""; position: absolute; right: -8rem; top: -8rem; width: 28rem; height: 28rem; border-radius: 50%;
	background: radial-gradient(circle, rgba(254, 109, 4, .35), rgba(254, 109, 4, 0) 70%);
	pointer-events: none;
}
.edp-cta { gap: 1.5rem 3rem; position: relative; }
.edp-cta__text { max-width: 42rem; }
.edp-cta__text > * { margin-block: 0; }
.edp-cta__text > * + * { margin-top: .75rem; }
.edp-cta h2 { color: var(--wp--preset--color--white); }
.edp-cta p { color: #C8D1DC; }
.has-navy-background-color .wp-block-button.is-style-outline .wp-block-button__link { color: var(--wp--preset--color--white); border-color: rgba(255, 255, 255, .7); }
.has-navy-background-color .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--white); color: var(--wp--preset--color--navy); }

/* Pulsante "contorno" */
/* Pulsanti: arancio del logo, testo bianco grassetto 19px (testo "grande" WCAG → contrasto 3:1 rispettato) */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--wp--preset--color--orange); border: 2px solid currentColor;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--orange); color: var(--wp--preset--color--white); border-color: var(--wp--preset--color--orange); }
.wp-block-button__link { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
/* Dimensione fissa (niente riduzione "fluid" su mobile): 19px grassetto = testo grande WCAG */
:root :where(.wp-element-button, .wp-block-button__link), .edp-form button.wp-block-button__link { font-size: 1.1875rem !important; font-weight: 700; }
/* Link su fondo grigio: arancio leggermente più scuro per il contrasto AA */
.has-surface-background-color a:not(.wp-element-button) { color: #A84803; }

/* Contatti */
.edp-contact { gap: var(--wp--preset--spacing--60) !important; }
.edp-contact__info h3 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; color: var(--wp--preset--color--muted); margin-top: 1.5rem; margin-bottom: .25rem; }
.edp-contact__info h3:first-child { margin-top: 0; }
.edp-contact__info p { margin-top: 0; }
.edp-contact__info a[href^="tel:"], .edp-contact__info a[href^="mailto:"] { font-weight: 600; }

/* Modulo */
.edp-form { display: grid; gap: 1rem; }
.edp-form__row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.edp-field { display: grid; gap: .375rem; }
.edp-field label { font-weight: 600; font-size: .9375rem; color: var(--wp--preset--color--navy); }
.edp-req { color: var(--wp--preset--color--primary); }
.edp-field input:not([type="checkbox"]), .edp-field select, .edp-field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--white); border: 1px solid #8C96A3; border-radius: var(--edp-radius-sm);
	padding: .7rem .85rem; min-height: 48px; box-sizing: border-box;
}
.edp-field textarea { resize: vertical; min-height: 8rem; }
.edp-field input:focus-visible, .edp-field select:focus-visible, .edp-field textarea:focus-visible { border-color: var(--wp--preset--color--navy); outline-offset: 1px; }
.edp-field--check { grid-template-columns: auto 1fr; align-items: start; gap: .75rem; }
.edp-field--check input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: var(--wp--preset--color--primary); }
.edp-field--check label { font-weight: 400; font-size: .9375rem; color: var(--wp--preset--color--ink); }
.edp-form .wp-block-button { justify-self: start; }
.edp-form button.wp-block-button__link { cursor: pointer; font-family: inherit; }
.edp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.edp-notice { padding: 1rem 1.25rem; border-radius: var(--edp-radius-sm); margin-bottom: 1.25rem; font-weight: 500; border-left: 5px solid; }
.edp-notice.is-success { background: #E9F7EF; border-color: #1E7B45; color: #14532D; }
.edp-notice.is-error { background: #FDECEC; border-color: #B42318; color: #7A1A12; }

/* Contenuti esterni su consenso (video e mappa) */
.edp-embed { position: relative; border-radius: var(--edp-radius); overflow: hidden; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); }
.edp-embed--video { aspect-ratio: 16 / 9; }
.edp-embed--map, .edp-map { aspect-ratio: 21 / 9; min-height: 320px; margin-top: var(--wp--preset--spacing--60) !important; }
.edp-map { position: relative; border-radius: var(--edp-radius); overflow: hidden; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); }
.edp-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.edp-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.edp-embed__placeholder {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: .75rem; padding: 1.5rem; text-align: center;
	background:
		radial-gradient(circle at 80% 20%, rgba(254, 109, 4, .28), transparent 45%),
		radial-gradient(circle at 10% 90%, rgba(255, 255, 255, .08), transparent 40%),
		linear-gradient(135deg, #0E2238, #16314F);
}
.edp-embed--map .edp-embed__placeholder {
	background:
		linear-gradient(rgba(14, 34, 56, .86), rgba(14, 34, 56, .86)),
		repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, .06) 39px 40px),
		repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, .06) 39px 40px),
		#16314F;
}
.edp-embed__title { margin: 0; font-weight: 600; font-size: 1.0625rem; }
.edp-embed__button {
	display: inline-flex; align-items: center; gap: .75rem; cursor: pointer;
	font: inherit; font-weight: 600; font-size: 1rem; color: var(--wp--preset--color--navy);
	background: var(--wp--preset--color--white); border: 0; border-radius: 999px; padding: .6rem 1.25rem .6rem .6rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .15s ease;
}
.edp-embed__button:hover { transform: scale(1.03); }
.edp-embed__button:focus-visible { outline: 3px solid var(--wp--preset--color--accent-light); outline-offset: 4px; }
.edp-embed__icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--wp--preset--color--accent) var(--edp-icon-play) 55% center / 1rem no-repeat; }
.edp-embed--map .edp-embed__icon { background-image: var(--edp-icon-pin-white); background-position: center; }
.edp-embed__note { margin: 0; font-size: .8125rem; color: #C8D1DC; max-width: 30rem; }
.edp-embed__note a { color: var(--wp--preset--color--white); }
.edp-video { margin: 0; }
.edp-video-narrow { max-width: 48rem; margin-inline: auto; }
@media (max-width: 600px) { .edp-embed--map, .edp-map { aspect-ratio: 4 / 5; } }

/* Pagine interne: testata */
.edp-page-hero {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
	position: relative; overflow: hidden;
	background-image:
		radial-gradient(circle at 92% 10%, rgba(254, 109, 4, .30), transparent 32%),
		radial-gradient(circle at 70% 120%, rgba(255, 255, 255, .06), transparent 40%);
}
.edp-page-hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: min(18rem, 40%); height: 5px; background: var(--wp--preset--color--accent); }
.edp-page-hero__inner > * { margin-block: 0; }
.edp-page-hero__inner > * + * { margin-top: 1rem; }
.edp-page-hero h1 { max-width: 52rem; text-wrap: balance; color: var(--wp--preset--color--white); }
.edp-page-lead p, .edp-page-lead { font-size: var(--wp--preset--font-size--medium); color: #C8D1DC; max-width: 44rem; margin: 0; }

/* Pagine prodotto */
.edp-intro { gap: var(--wp--preset--spacing--60) !important; }
.edp-intro p { font-size: 1.0625rem; }
.edp-intro .wp-block-buttons { margin-top: 1.75rem; }
.edp-area-lists { gap: var(--wp--preset--spacing--50) !important; }
.edp-area-lists .edp-features { grid-template-columns: 1fr; }
.edp-section--area h2 { scroll-margin-top: calc(var(--edp-header-h) + 1.5rem); }
.edp-section--area > .edp-section__inner > p { max-width: 50rem; }

/* Brand */
.edp-brand-group { border-top: 3px solid var(--wp--preset--color--accent); padding-top: 1rem; }
.edp-brand-group > * { margin-block: 0; }
.edp-brand-group h3 { font-size: 1rem; margin-bottom: 1rem; }
.edp-brand-row { gap: .75rem; }
.edp-brand { margin: 0 !important; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--border); border-radius: var(--edp-radius-sm); padding: .75rem; width: 8.5rem; height: 5rem; display: flex; align-items: center; justify-content: center; }
.edp-brand img { max-width: 100%; max-height: 3.25rem; width: auto; height: auto; object-fit: contain; }

/* Assistenza */
.edp-download { text-align: left; }
.edp-app-icon { margin: 0 !important; }
.edp-app-icon img { width: 64px; height: 64px; border-radius: 14px; }

/* ---------- Piè di pagina ---------- */
.edp-site-footer { margin-top: 0; }
.edp-footer { margin: 0; }
.edp-footer__main { padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--60); }
.edp-footer__cols { gap: var(--wp--preset--spacing--60) !important; }
.edp-footer p { color: #C8D1DC; font-size: .9375rem; }
.edp-footer a { color: var(--wp--preset--color--white); text-decoration: none; }
.edp-footer a:hover { color: var(--wp--preset--color--accent-light); text-decoration: underline; }
.edp-footer__title { font-size: .8125rem !important; text-transform: uppercase; letter-spacing: .12em; color: var(--wp--preset--color--accent-light) !important; margin-bottom: 1rem; }
.edp-footer__links { list-style: none; padding: 0; margin: 0; font-size: .9375rem; }
.edp-footer__links li { margin-block: .45rem; }
.edp-footer .wp-block-site-logo img { height: auto; }
.edp-footer__legal { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 1.25rem; }
.edp-footer__legal p { margin: 0; color: #AEB9C6; }

/* ---------- Varie ---------- */
.wp-block-image img { height: auto; }
.wp-block-columns { margin-bottom: 0; }
@media (max-width: 781px) {
	.wp-block-columns { gap: var(--wp--preset--spacing--50) !important; }
	.edp-about { gap: var(--wp--preset--spacing--60) !important; }
}
.wp-block-search__input { border-radius: var(--edp-radius-sm); border-color: #8C96A3; min-height: 48px; padding-inline: .85rem; }

@media print {
	.edp-site-header, .edp-site-footer, .edp-embed, .edp-section--cta, .edp-form-wrap { display: none !important; }
	body { color: #000; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* ---------- Icone (generate) ---------- */
:root {
	--edp-icon-check: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23ffffff%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m5 12 5 5 9-10%22/%3E%3C/svg%3E");
	--edp-icon-check-orange: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C15303%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m5 12 5 5 9-10%22/%3E%3C/svg%3E");
	--edp-icon-play: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23ffffff%22 stroke-width=%221%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7 4v16l13-8z%22 fill=%22%23ffffff%22/%3E%3C/svg%3E");
	--edp-icon-pin: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%235B6470%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 22s7-6.2 7-12a7 7 0 1 0-14 0c0 5.8 7 12 7 12z%22/%3E%3Ccircle cx=%2212%22 cy=%2210%22 r=%222.5%22/%3E%3C/svg%3E");
	--edp-icon-pin-white: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23ffffff%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 22s7-6.2 7-12a7 7 0 1 0-14 0c0 5.8 7 12 7 12z%22/%3E%3Ccircle cx=%2212%22 cy=%2210%22 r=%222.5%22/%3E%3C/svg%3E");
}
.icon-quality { --edp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C15303%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%229%22 r=%226%22/%3E%3Cpath d=%22M8.5 13.9 7 22l5-3 5 3-1.5-8.1%22/%3E%3Cpath d=%22m9.5 9 1.7 1.7L14.5 7.5%22/%3E%3C/svg%3E"); }
.icon-single { --edp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C15303%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%229%22 cy=%227%22 r=%224%22/%3E%3Cpath d=%22M3 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2%22/%3E%3Cpath d=%22m16 11 2 2 4-4%22/%3E%3C/svg%3E"); }
.icon-service { --edp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C15303%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 14v-2a9 9 0 0 1 18 0v2%22/%3E%3Cpath d=%22M21 15a2 2 0 0 1-2 2h-1v-6h1a2 2 0 0 1 2 2z%22/%3E%3Cpath d=%22M3 15a2 2 0 0 0 2 2h1v-6H5a2 2 0 0 0-2 2z%22/%3E%3Cpath d=%22M19 17v1a3 3 0 0 1-3 3h-3%22/%3E%3C/svg%3E"); }
.icon-it { --edp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C15303%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%223%22 width=%2218%22 height=%227%22 rx=%222%22/%3E%3Crect x=%223%22 y=%2214%22 width=%2218%22 height=%227%22 rx=%222%22/%3E%3Cpath d=%22M7 6.5h.01M7 17.5h.01M11 6.5h6M11 17.5h6%22/%3E%3C/svg%3E"); }
.icon-software { --edp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C15303%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%224%22 width=%2218%22 height=%2216%22 rx=%222%22/%3E%3Cpath d=%22M3 9h18M8 13h3M8 16h6%22/%3E%3C/svg%3E"); }
.icon-systems { --edp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C15303%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%229%22 y=%222%22 width=%226%22 height=%225%22 rx=%221%22/%3E%3Crect x=%222%22 y=%2217%22 width=%226%22 height=%225%22 rx=%221%22/%3E%3Crect x=%2216%22 y=%2217%22 width=%226%22 height=%225%22 rx=%221%22/%3E%3Cpath d=%22M12 7v5M5 17v-2a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v2%22/%3E%3C/svg%3E"); }
.icon-server { --edp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C15303%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%223%22 width=%2218%22 height=%227%22 rx=%222%22/%3E%3Crect x=%223%22 y=%2214%22 width=%2218%22 height=%227%22 rx=%222%22/%3E%3Cpath d=%22M7 6.5h.01M7 17.5h.01%22/%3E%3C/svg%3E"); }
.icon-network { --edp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C15303%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%225%22 r=%222.5%22/%3E%3Ccircle cx=%225%22 cy=%2219%22 r=%222.5%22/%3E%3Ccircle cx=%2219%22 cy=%2219%22 r=%222.5%22/%3E%3Cpath d=%22M10.7 7.2 6.3 16.8M13.3 7.2l4.4 9.6M7.5 19h9%22/%3E%3C/svg%3E"); }
.icon-security { --edp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C15303%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z%22/%3E%3Cpath d=%22m9 12 2 2 4-4%22/%3E%3C/svg%3E"); }
.icon-voip { --edp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C15303%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z%22/%3E%3C/svg%3E"); }
.icon-print { --edp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C15303%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 9V2h12v7%22/%3E%3Crect x=%222%22 y=%229%22 width=%2220%22 height=%229%22 rx=%222%22/%3E%3Crect x=%226%22 y=%2214%22 width=%2212%22 height=%228%22/%3E%3C/svg%3E"); }
.icon-devices { --edp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C15303%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224%22 y=%224%22 width=%2216%22 height=%2211%22 rx=%222%22/%3E%3Cpath d=%22M2 20h20M9 15l-1 5M15 15l1 5%22/%3E%3C/svg%3E"); }
.icon-video { --edp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C15303%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222%22 y=%226%22 width=%2214%22 height=%2212%22 rx=%222%22/%3E%3Cpath d=%22m22 8-6 4 6 4z%22/%3E%3C/svg%3E"); }
.icon-lines { --edp-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C15303%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22/%3E%3Cpath d=%22M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20%22/%3E%3C/svg%3E"); }
