@import url(https://api.fontshare.com/v2/css?f[]=zodiak@400,500&f[]=satoshi@400,500,700&display=swap);
/* ==========================================================================
   Pixel3 — design tokens and shared primitives
   Values lifted verbatim from the source design (assets/css/site.css).
   Loaded on the front end and inside the Visual Builder app window.
   ========================================================================== */

:root {
	color-scheme: light;

	/* surface */
	--paper: #f4f1ea;
	--paper-deep: #ebe6da;
	--ink: #1c1a16;
	--ink-2: #38342d;
	--muted: #6d675d;
	--rule: #d5cfc2;

	/* accent — one per job. teal = lavoro, rust = rilievo/misura */
	--teal: #0d5c60;
	--teal-deep: #093f43;
	--rust: #a2451d;

	/* type */
	--display: "Zodiak", Georgia, "Times New Roman", serif;
	--body: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--t-label: 0.7rem;
	--t-sm: 0.875rem;
	--t-base: 1.0625rem;
	--t-lg: 1.25rem;
	--t-xl: clamp(1.375rem, 1.9vw, 1.75rem);
	--t-2xl: clamp(1.75rem, 2.9vw, 2.5rem);
	--t-3xl: clamp(2.15rem, 4.2vw, 3.4rem);
	--t-hero: clamp(2.9rem, 7vw, 5.6rem);

	/* space */
	--s1: 4px;
	--s2: 8px;
	--s3: 12px;
	--s4: 16px;
	--s5: 24px;
	--s6: 32px;
	--s7: 48px;
	--s8: 64px;
	--s9: 96px;

	--wrap: 1240px;
	--gutter: clamp(20px, 5vw, 56px);
	--section: clamp(64px, 8.5vw, 120px);
}

/* --------------------------------------------------------------------------
   theme isolation

   Divi's element selectors (body h1, .et_pb_text h2, child-theme rules) outrank
   a single class, so every inherited type property is re-asserted on the module
   root. Without this the design's Zodiak headings come back as Divi's default
   sans on the live page while looking right in the preview.
   -------------------------------------------------------------------------- */

/* The design sets this globally; scope it to the module so the host site and
   the plugin cannot affect each other. Without it, aspect-ratio boxes with a
   border come out one pixel tall. */
.p3_module,
.p3_module *,
.p3_module *::before,
.p3_module *::after { box-sizing: border-box; }

.p3_module {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: var(--t-base);
	line-height: 1.62;
	font-weight: 400;
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
}

.p3_module h1,
.p3_module h2,
.p3_module h3,
.p3_module h4 {
	font-family: var(--display);
	font-weight: 500;
	letter-spacing: -0.02em;
	margin: 0;
	text-wrap: balance;
	color: inherit;
	line-height: 1.16;
}

.p3_module h1 { font-size: var(--t-hero); line-height: 0.94; }
.p3_module h2 { font-size: var(--t-3xl); line-height: 1.02; }
.p3_module h3 { font-size: var(--t-xl); letter-spacing: -0.01em; }
.p3_module h4 { font-size: var(--t-lg); line-height: 1.25; letter-spacing: -0.005em; }

.p3_module :where(p) { margin: 0; }
.p3_module :where(a) { color: inherit; }

.p3_module :focus-visible {
	outline: 2px solid var(--teal);
	outline-offset: 3px;
}

.p3_module ::selection { background: var(--teal); color: var(--paper); }

/* --------------------------------------------------------------------------
   shell

   Each module carries the design's own shell and vertical rhythm, so the Divi
   section/row/column around it has to get out of the way. See the container
   reset below and reference/divi5-api.md.
   -------------------------------------------------------------------------- */

.p3_shell {
	width: min(100% - (var(--gutter) * 2), var(--wrap));
	margin-inline: auto;
}

/* ⚠️ Divi container reset.

   Scoped with :has() so a hand-assembled page behaves like the compiled layout.
   The reset is deliberately mechanism-proof: Divi does not size a column with
   `width` alone — depending on the version and the row settings it can be a flex
   basis, a grid span, or a float. A reset that only sets width leaves the module
   at whatever fraction Divi chose, which is what produced a half-width band on
   paper surrounded by white. So: block layout on the row, and width + flex +
   grid-column + float forced on the column. */

.et_pb_section:has(.p3_module) { padding: 0 !important; }

/* The page is paper, not white — the design sets it on <body>, which Divi's own
   stylesheet overrides. Scoped to pages that actually contain our modules. */
body:has(.p3_module) { background-color: var(--paper); }

.et_pb_section:has(.p3_module) { background-color: var(--paper); }
.et_pb_section:has(.p3_steps) { background-color: var(--paper-deep); }
.et_pb_section:has(.p3_cta) { background-color: var(--ink); }

.et_pb_row:has(.p3_module) {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 auto !important;
	float: none !important;
}

/* One column band: every single-column row. A two-column band is handled in
   sections.css and wins on specificity. */
.et_pb_row:has(.p3_module):not(:has(.et_pb_column + .et_pb_column)) > .et_pb_column {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	flex: 1 1 100% !important;
	grid-column: 1 / -1 !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* The module itself must fill that column, whatever Divi's module defaults say. */
.et_pb_row:has(.p3_module) > .et_pb_column > .et_pb_module,
.et_pb_row:has(.p3_module) > .et_pb_column > .et_pb_module > .et_pb_module {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

/* --------------------------------------------------------------------------
   primitives
   -------------------------------------------------------------------------- */

.p3_label {
	font-family: var(--body);
	font-size: var(--t-label);
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: var(--s3);
	margin: 0 0 var(--s5);
}

.p3_label::before {
	content: "";
	width: 7px;
	height: 7px;
	background: var(--rust);
	flex: none;
}

.p3_lede {
	font-size: clamp(1.125rem, 1.4vw, 1.375rem);
	line-height: 1.5;
	color: var(--ink-2);
	max-width: 46ch;
}

.p3_prose > * + * { margin-top: var(--s4); }
.p3_prose p { max-width: 68ch; }

/* buttons */
.p3_btn {
	display: inline-flex;
	align-items: center;
	gap: var(--s2);
	font: 600 var(--t-sm)/1 var(--body);
	letter-spacing: 0.01em;
	text-decoration: none;
	padding: 14px 22px;
	border: 1px solid var(--ink);
	border-radius: 2px;
	background: var(--ink);
	color: var(--paper);
	transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.p3_btn:hover { background: var(--teal); border-color: var(--teal); color: var(--paper); }

.p3_btn--ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--rule);
}

.p3_btn--ghost:hover {
	background: transparent;
	border-color: var(--ink);
	color: var(--ink);
}

.p3_btn__arrow { font-size: 1.05em; line-height: 0; }

/* links */
.p3_link {
	color: var(--teal);
	text-decoration: none;
	border-bottom: 1px solid color-mix(in srgb, var(--teal) 35%, transparent);
	padding-bottom: 1px;
	transition: border-color 140ms ease, color 140ms ease;
}

.p3_link:hover { border-color: var(--teal); color: var(--teal-deep); }

.p3_link--plain {
	color: inherit;
	border-bottom-color: var(--rule);
}

.p3_link--plain:hover { color: var(--teal); border-color: var(--teal); }

/* reveal — driven by assets/js/p3-interactions.js adding `.js` to <html>. */
.p3_js [data-reveal] {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 500ms ease, transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.p3_js [data-reveal].is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.p3_js [data-reveal] { opacity: 1; transform: none; transition: none; }
	.p3_module * { transition-duration: 1ms !important; }
}

/* ==========================================================================
   Pixel3 — section styles
   One block per module. Every rule is lifted from the matching rule in the
   source design (assets/css/site.css); the comment names the selector it came
   from so the two stay diffable.
   ========================================================================== */

/* --------------------------------------------------------------------------
   p3/page-head            ← .page-head
   -------------------------------------------------------------------------- */

.p3_pagehead { /* the band box is __inner, matching .page-head in the design */ }

/* Layout lives on our own inner div, never on the module wrapper: Divi injects
   its decoration element as a sibling of the module's markup. */
/* The rule spans the design's shell, like .page-head does, not the full row. */
.p3_pagehead__inner {
	padding-block: clamp(40px, 5.5vw, 72px) clamp(32px, 4vw, 56px);
	display: grid;
	border-bottom: 1px solid var(--rule);
	grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
	gap: clamp(24px, 4vw, 72px);
	align-items: end;
}

.p3_pagehead h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }

.p3_pagehead--single .p3_pagehead__inner { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 860px) {
	.p3_pagehead__inner { grid-template-columns: 1fr; align-items: start; }
}

/* --------------------------------------------------------------------------
   p3/hero                 ← .hero, .plate, .plate__*
   -------------------------------------------------------------------------- */

.p3_hero {
	padding-block: clamp(40px, 6vw, 84px) clamp(56px, 7vw, 104px);
}

.p3_hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(32px, 5vw, 88px);
	align-items: center;
}

.p3_hero h1 { margin-bottom: var(--s5); }

.p3_hero h1 em {
	font-style: normal;
	color: var(--teal);
}

.p3_hero .p3_lede { margin-bottom: var(--s6); }

.p3_hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3);
	align-items: center;
}

/* portrait + measure lines */
.p3_plate {
	position: relative;
	margin: 0;
	padding: 0 0 46px 56px;
}

.p3_plate__frame {
	border: 1px solid var(--rule);
	background: var(--paper-deep);
	overflow: hidden;
}

.p3_plate__frame img {
	width: 100%;
	filter: saturate(0.92) contrast(1.02);
}

.p3_plate__caption {
	position: absolute;
	left: 56px;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: var(--s2);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rust);
}

.p3_plate__caption::before,
.p3_plate__caption::after {
	content: "";
	height: 1px;
	background: var(--rust);
	flex: 1;
}

.p3_plate__v {
	position: absolute;
	left: 20px;
	top: 0;
	bottom: 46px;
	width: 1px;
}

/* la linea vive in un figlio: un clip-path sul contenitore da 1px
   taglierebbe anche l'etichetta ruotata */
.p3_plate__v-line {
	position: absolute;
	inset: 0;
	background: var(--rust);
}

.p3_plate__v-line::before,
.p3_plate__v-line::after {
	content: "";
	position: absolute;
	background: var(--rust);
	height: 1px;
	width: 9px;
	left: -4px;
}

.p3_plate__v-line::before { top: 0; }
.p3_plate__v-line::after { bottom: 0; }

.p3_plate__v-txt {
	position: absolute;
	top: 50%;
	left: 12px;
	writing-mode: vertical-rl;
	rotate: 180deg;
	translate: 0 -50%;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rust);
	white-space: nowrap;
}

.p3_js .p3_plate__v-line {
	transform: scaleY(0);
	transform-origin: top;
	animation: p3-line-grow 620ms 140ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.p3_js .p3_plate__v-txt { opacity: 0; animation: p3-fade-in 320ms 560ms ease forwards; }

.p3_js .p3_plate__caption {
	clip-path: inset(0 0 100% 0);
	animation: p3-plate-draw 520ms 720ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

@keyframes p3-line-grow { to { transform: scaleY(1); } }
@keyframes p3-fade-in { to { opacity: 1; } }
@keyframes p3-plate-draw { to { clip-path: inset(0 0 0 0); } }

@media (max-width: 860px) {
	.p3_hero__inner { grid-template-columns: 1fr; gap: var(--s7); }
	.p3_plate { max-width: 420px; }
}

/* --------------------------------------------------------------------------
   p3/services             ← .section--rule, .svc-list
   p3/service              ← .svc, .svc__num, .svc__body, .svc__out
   -------------------------------------------------------------------------- */

.p3_services {
	padding-block: var(--section);
	border-top: 1px solid var(--rule);
}

.p3_services__list {
	margin-top: var(--s7);
	border-top: 1px solid var(--rule);
}

.p3_service {
	padding-block: clamp(28px, 3.4vw, 44px);
	border-bottom: 1px solid var(--rule);
}

.p3_service__inner {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(20px, 4vw, 56px);
	align-items: start;
}

.p3_service__num {
	font-family: var(--body);
	font-size: var(--t-sm);
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--muted);
	padding-top: 6px;
	transition: color 160ms ease;
}

.p3_service h3 { margin-bottom: var(--s3); }

.p3_service__body p { color: var(--ink-2); max-width: 52ch; }

.p3_service__out {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--s2) var(--s4);
}

.p3_service__out li {
	font-size: var(--t-sm);
	color: var(--muted);
	display: flex;
	align-items: baseline;
	gap: var(--s2);
}

.p3_service__out li::before {
	content: "";
	width: 4px;
	height: 4px;
	background: var(--rust);
	flex: none;
	transform: translateY(-2px);
}

.p3_service:hover .p3_service__num { color: var(--rust); }

@media (max-width: 900px) {
	.p3_service__inner {
		grid-template-columns: 40px minmax(0, 1fr);
		row-gap: var(--s4);
	}
	.p3_service__out { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   p3/steps                ← .section--deep, .steps
   p3/step                 ← .step, .step dt, .step dd
   -------------------------------------------------------------------------- */

.p3_steps {
	background: var(--paper-deep);
	padding-block: var(--section);
}

.p3_steps__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2.6vw, 40px);
	margin-top: var(--s7);
}

.p3_step {
	border-top: 1px solid var(--ink);
	padding-top: var(--s3);
	position: relative;
}

.p3_step::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 34px;
	height: 3px;
	background: var(--rust);
}

.p3_step__term {
	font-family: var(--display);
	font-size: var(--t-lg);
	letter-spacing: -0.01em;
	margin-bottom: var(--s2);
}

.p3_step__desc {
	margin: 0;
	font-size: var(--t-sm);
	color: var(--muted);
	line-height: 1.55;
}

@media (max-width: 780px) {
	.p3_steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
}

/* --------------------------------------------------------------------------
   p3/tickets              ← .tickets, .section head row
   p3/ticket               ← .ticket, .ticket__*
   -------------------------------------------------------------------------- */

.p3_tickets {
	padding-block: var(--section);
}

.p3_tickets__head {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s5);
	justify-content: space-between;
	align-items: end;
}

.p3_tickets__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.6vw, 36px);
	margin-top: var(--s7);
}

.p3_ticket__inner {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--rule);
	background: var(--paper);
	text-decoration: none;
	color: inherit;
	transition: border-color 160ms ease, transform 160ms ease;
}

.p3_ticket__inner:hover { border-color: var(--ink); }
.p3_ticket__inner:hover .p3_ticket__media { background-position: 0 0, 6px 6px; }

.p3_ticket__media {
	aspect-ratio: 16 / 11;
	border-bottom: 1px solid var(--rule);
	background-color: var(--paper-deep);
	/* hatched = nessuna foto: si vede che è un vuoto, non un decoro */
	background-image:
		repeating-linear-gradient(-45deg, transparent 0 5px, color-mix(in srgb, var(--rule) 70%, transparent) 5px 6px),
		repeating-linear-gradient(-45deg, transparent 0 5px, color-mix(in srgb, var(--rule) 70%, transparent) 5px 6px);
	background-size: 100% 100%, 100% 100%;
	background-position: 0 0, 0 0;
	transition: background-position 400ms ease;
	position: relative;
}

.p3_ticket__media img { width: 100%; height: 100%; object-fit: cover; }

.p3_ticket__media--empty::after {
	content: "foto in arrivo";
	position: absolute;
	inset: auto auto 10px 12px;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	background: var(--paper);
	padding: 3px 6px;
}

.p3_ticket__body {
	padding: var(--s5);
	display: flex;
	flex-direction: column;
	gap: var(--s3);
	flex: 1;
}

.p3_ticket__kicker {
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rust);
}

.p3_ticket__desc {
	font-size: var(--t-sm);
	color: var(--muted);
	max-width: 34ch;
}

.p3_ticket h3 { font-size: var(--t-lg); }

.p3_ticket__inner:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.p3_ticket__spec {
	margin: auto 0 0;
	border-top: 1px solid var(--rule);
	padding-top: var(--s3);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--s1) var(--s4);
	font-size: 0.75rem;
}

.p3_ticket__spec dt {
	color: var(--muted);
	letter-spacing: 0.04em;
}

.p3_ticket__spec dd {
	margin: 0;
	font-weight: 600;
	text-align: right;
}

@media (max-width: 980px) {
	.p3_tickets__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.p3_tickets__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   p3/facts                ← .facts, .datasheet dl
   p3/fact                 ← .facts > div, .datasheet div
   -------------------------------------------------------------------------- */

.p3_facts {
	padding-block: var(--s5);
}

.p3_facts__list {
	margin: var(--s5) 0 0;
	padding-top: var(--s4);
	border-top: 1px solid var(--rule);
	display: grid;
	gap: var(--s2);
}

.p3_facts__list--bare { margin-top: 0; padding-top: 0; border-top: 0; }

/* dt/dd have to stay direct children of the module wrapper for the <dl> to be
   valid, so the row layout lives on that wrapper. The inline-block trick this
   used before could not keep a wrapped value in its column — the second line
   started back at the left margin. */
.p3_fact {
	display: flex;
	gap: var(--s4);
	font-size: var(--t-sm);
}

.p3_fact__term {
	flex: 0 0 150px;
	color: var(--muted);
}

.p3_fact__value {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
}

@media (max-width: 900px) {
	.p3_fact { display: block; }
	.p3_fact__term { margin-bottom: 2px; }
}

/* --------------------------------------------------------------------------
   p3/posts                ← .posts
   p3/post                 ← .post, .post__area
   -------------------------------------------------------------------------- */

.p3_posts {
	padding-block: var(--s7) var(--section);
}

.p3_posts__list { border-top: 1px solid var(--rule); }

.p3_post__inner {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr) auto;
	gap: clamp(16px, 3vw, 48px);
	align-items: baseline;
	padding-block: var(--s5);
	border-bottom: 1px solid var(--rule);
	text-decoration: none;
	color: inherit;
	transition: background 150ms ease;
}

.p3_post__inner:hover { background: color-mix(in srgb, var(--paper-deep) 60%, transparent); }
.p3_post__inner:hover h3 { color: var(--teal); }

.p3_post__time {
	font-size: var(--t-sm);
	color: var(--muted);
	letter-spacing: 0.02em;
}

.p3_post h3 { font-size: var(--t-lg); transition: color 150ms ease; }

.p3_post__desc {
	color: var(--muted);
	font-size: var(--t-sm);
	margin-top: 4px;
	max-width: 60ch;
}

.p3_post__area {
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rust);
	white-space: nowrap;
}

@media (max-width: 760px) {
	.p3_post__inner { grid-template-columns: 1fr auto; }
	.p3_post__time { grid-column: 1 / -1; order: -1; }
}

/* --------------------------------------------------------------------------
   p3/cta                  ← .cta, .cta__grid, .cta__contacts
   -------------------------------------------------------------------------- */

.p3_cta {
	background: var(--ink);
	color: var(--paper);
	padding-block: clamp(56px, 7vw, 104px);
}

.p3_cta h2 { color: var(--paper); max-width: 22ch; }

.p3_cta__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
	gap: clamp(32px, 5vw, 80px);
	align-items: end;
}

.p3_cta__contacts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--s3);
	font-size: var(--t-lg);
}

.p3_cta__contacts a {
	color: var(--paper);
	text-decoration: none;
	border-bottom: 1px solid color-mix(in srgb, var(--paper) 30%, transparent);
	transition: border-color 140ms ease;
}

.p3_cta__contacts a:hover { border-color: var(--paper); }

.p3_cta .p3_label { color: color-mix(in srgb, var(--paper) 62%, transparent); }

.p3_cta .p3_btn {
	background: var(--paper);
	color: var(--ink);
	border-color: var(--paper);
	margin-top: var(--s5);
}

.p3_cta .p3_btn:hover { background: var(--rust); border-color: var(--rust); color: var(--paper); }

@media (max-width: 820px) {
	.p3_cta__grid { grid-template-columns: 1fr; align-items: start; }
}

/* --------------------------------------------------------------------------
   Native-module bands (home "chi sono", article pages)
   Divi builds these from core modules; only the design's own dressing is here.

   .p3_about   ← .about, .about__media
   .p3_article ← .article, .article__body, .datasheet, .pager, .ph
   -------------------------------------------------------------------------- */

.p3_about__media {
	border: 1px solid var(--rule);
	background: var(--paper-deep);
	max-width: 340px;
}

.p3_about__media img { width: 100%; }

.p3_article__body { padding-block: clamp(40px, 5vw, 72px); }
.p3_article__body p + p { margin-top: var(--s4); }
.p3_article__body p { max-width: 68ch; }
.p3_article__body h2 { font-size: var(--t-2xl); margin-top: var(--s7); }
.p3_article__body h3 { margin-top: var(--s6); }

.p3_datasheet {
	position: sticky;
	top: 96px;
	border-top: 1px solid var(--ink);
	padding-block: var(--s4) 0;
	font-size: var(--t-sm);
}

.p3_facts.p3_datasheet { padding-block: var(--s4) 0; }

/* A facts table used as a datasheet: the design puts the term and the value at
   the two ends of a ruled row, not in a two-column grid. */
.p3_datasheet .p3_facts__list {
	margin-top: var(--s4);
	border-top: 0;
	padding-top: 0;
	gap: var(--s3);
}

.p3_datasheet .p3_fact {
	display: flex;
	justify-content: space-between;
	gap: var(--s4);
	border-bottom: 1px solid var(--rule);
	padding-bottom: var(--s3);
}

.p3_datasheet .p3_fact__term { flex: 0 0 auto; margin-bottom: 0; }
.p3_datasheet .p3_fact__value { flex: 0 1 auto; font-weight: 600; text-align: right; }

/* segnaposto foto: tratteggio tecnico, si vede che è un vuoto */
.p3_ph {
	aspect-ratio: 16 / 10;
	border: 1px solid var(--rule);
	background-color: var(--paper-deep);
	background-image: repeating-linear-gradient(-45deg, transparent 0 5px, color-mix(in srgb, var(--rule) 70%, transparent) 5px 6px);
	position: relative;
}

.p3_ph::after {
	content: "foto in arrivo";
	position: absolute;
	left: 12px;
	bottom: 10px;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	background: var(--paper);
	padding: 3px 6px;
}

.p3_pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--s4) var(--s6);
	border-top: 1px solid var(--rule);
	padding-top: var(--s5);
	margin-top: var(--s7);
	font-size: var(--t-sm);
}

.p3_pager a { text-decoration: none; color: var(--ink-2); }
.p3_pager a:hover { color: var(--teal); }

/* Two-column bands: the ratios are the design's (0.7fr / 1fr, 1fr / 300px,
   0.82fr / 1.18fr). Divi's flexType stays in the markup as the intent, but the
   exact widths come from here — a percentage cannot express "300px". */
.et_pb_row.p3_about:has(.p3_module),
.et_pb_row.p3_article:has(.p3_module),
.et_pb_row.p3_service_detail:has(.p3_module) {
	display: flex !important;
	gap: clamp(32px, 5vw, 88px);
}

.et_pb_row.p3_service_detail:has(.p3_module) { gap: clamp(20px, 4vw, 72px); }

/* These bands carry the design's own shell, like every p3/* module does. */
.et_pb_row.p3_about:has(.p3_module),
.et_pb_row.p3_article:has(.p3_module),
.et_pb_row.p3_service_detail:has(.p3_module) {
	width: min(100% - (var(--gutter) * 2), var(--wrap)) !important;
	max-width: var(--wrap) !important;
	margin-inline: auto !important;
}

.et_pb_row.p3_about:has(.p3_module) .et_pb_column,
.et_pb_row.p3_article:has(.p3_module) .et_pb_column,
.et_pb_row.p3_service_detail:has(.p3_module) .et_pb_column {
	margin-left: 0 !important;
	width: auto !important;
	min-width: 0 !important;
}

.et_pb_row.p3_about:has(.p3_module) .et_pb_column:nth-child(1) { flex: 0.7 1 0 !important; }
.et_pb_row.p3_about:has(.p3_module) .et_pb_column:nth-child(2) { flex: 1 1 0 !important; }
.et_pb_row.p3_article:has(.p3_module) .et_pb_column:nth-child(1) { flex: 1 1 0 !important; }
.et_pb_row.p3_article:has(.p3_module) .et_pb_column:nth-child(2) { flex: 0 0 300px !important; }
.et_pb_row.p3_service_detail:has(.p3_module) .et_pb_column:nth-child(1) { flex: 0.82 1 0 !important; }
.et_pb_row.p3_service_detail:has(.p3_module) .et_pb_column:nth-child(2) { flex: 1.18 1 0 !important; }

@media (max-width: 900px) {
	.p3_datasheet { position: static; }
	.p3_about__media { max-width: 260px; }

	/* Stack like the design does: about at 860, article at 900. */
	.et_pb_row.p3_about:has(.p3_module),
	.et_pb_row.p3_article:has(.p3_module),
	.et_pb_row.p3_service_detail:has(.p3_module) { display: block !important; }

	.et_pb_row.p3_about:has(.p3_module) .et_pb_column,
	.et_pb_row.p3_article:has(.p3_module) .et_pb_column,
	.et_pb_row.p3_service_detail:has(.p3_module) .et_pb_column {
		flex: 1 1 100% !important;
		width: 100% !important;
	}
	.et_pb_row.p3_about:has(.p3_module) .et_pb_column:nth-child(2),
	.et_pb_row.p3_article:has(.p3_module) .et_pb_column:nth-child(2),
	.et_pb_row.p3_service_detail:has(.p3_module) .et_pb_column:nth-child(2) { margin-top: var(--s7) !important; }
}

/* --------------------------------------------------------------------------
   /servizi/ detail bands   ← .svc-detail, .facts
   Built from core modules (label + heading + text) inside a two-column row, so
   the row carries the borders and the type overrides land on its children.
   -------------------------------------------------------------------------- */

.et_pb_row.p3_service_detail:has(.p3_module) {
	border-top: 1px solid var(--rule);
	padding-block: clamp(36px, 4.4vw, 64px);
}

.et_pb_row.p3_service_detail--first:has(.p3_module) { border-top-color: var(--ink); }
.et_pb_row.p3_service_detail--last:has(.p3_module) { margin-bottom: var(--section) !important; }

.p3_service_detail h2 { font-size: var(--t-2xl); margin-bottom: var(--s3); }
.p3_service_detail .p3_label { margin-bottom: var(--s3); }
.p3_service_detail .p3_lede { font-size: var(--t-base); }
.p3_service_detail .p3_prose p { color: var(--ink-2); max-width: 62ch; }
.p3_service_detail .p3_prose p + p { margin-top: var(--s3); }

/* The image at the top of a datasheet (chi-sono). */
.p3_datasheet__photo { margin: 0 0 var(--s4); border: 1px solid var(--rule); }

/* Figures inside an article body: the browser default is `margin: 1em 40px`,
   which would inset the placeholder 40px on each side. */
.p3_article__body figure { margin: var(--s6) 0; }
.p3_article__body figcaption {
	margin-top: var(--s2);
	font-size: 0.75rem;
	color: var(--muted);
}

