/* ==========================================================================
   TerPack — design system
   Palette dal marchio (CMYK → RGB), tipografia Poppins come nel catalogo.
   ========================================================================== */

@font-face { font-family: "Poppins"; font-style: italic; font-weight: 200; font-display: swap; src: url("../fonts/poppins-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }

:root {
	/* Marchio */
	--tp-red: #EE2851;
	--tp-teal: #207167;
	--tp-teal-dark: #134A43;
	--tp-teal-light: #2F9283;
	--tp-teal-pale: color-mix(in srgb, var(--tp-teal-light) 45%, var(--tp-bg)); /* accento chiaro su fondi verdi */

	/* Neutri (carta del catalogo) */
	--tp-bg: #F3F4F1;
	--tp-paper: #FFFFFF;
	--tp-ink: #151615;
	--tp-ink-2: #4A4F4C;
	--tp-muted: #666D6A;   /* 4.7:1 su --tp-bg (prima #8C928F, 2.9:1) */
	--tp-red-text: #C8173F; /* rosso marchio scurito per testi piccoli: 5.2:1 su --tp-bg */
	--tp-faint: #D5DDDA;
	--tp-line: #151615;
	--tp-line-soft: #D7DBD7;

	/* Tipografia */
	--tp-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--tp-fs-body: clamp(16px, 0.35vw + 15px, 18px);
	--tp-fs-lead: clamp(19px, 0.8vw + 15px, 26px);
	--tp-fs-h3: clamp(22px, 1.4vw + 14px, 36px);
	--tp-fs-h2: clamp(34px, 3.6vw + 14px, 76px);
	--tp-fs-display: clamp(44px, 6.4vw + 10px, 128px);

	/* Layout */
	--tp-gutter: clamp(16px, 4vw, 72px);
	--tp-max: 1680px;
	--tp-header-h: 88px;
	--tp-radius-pill: 999px;
	--tp-ease: cubic-bezier(.22, .8, .2, 1);
}

@media (max-width: 767px) {
	:root { --tp-header-h: 68px; }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.tp-site {
	margin: 0;
	background: var(--tp-bg);
	color: var(--tp-ink);
	font-family: var(--tp-font);
	font-size: var(--tp-fs-body);
	font-weight: 300;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

.tp-site h1, .tp-site h2, .tp-site h3, .tp-site h4, .tp-site h5, .tp-site h6 {
	font-family: var(--tp-font);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: inherit;
	margin-top: 0;
}

.tp-site a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.tp-site a:hover { color: var(--tp-teal); }
.tp-site ::selection { background: var(--tp-teal); color: var(--tp-bg); }
.tp-site :focus-visible { outline: 2px solid var(--tp-red-text); outline-offset: 3px; }
.tp-dark :focus-visible, .tp-footer :focus-visible, .tp-intro :focus-visible { outline-color: var(--tp-bg); }

/* Pagine non-Elementor (blog, policy…): spazio per l'header fisso */
.tp-site:not(.elementor-page) .site-main { padding-top: calc(var(--tp-header-h) + 40px); padding-bottom: 80px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Utility per Elementor (Avanzate → Classi CSS)
   -------------------------------------------------------------------------- */

/* Titoli */
.tp-display, .tp-display .elementor-heading-title {
	font-size: var(--tp-fs-display) !important; font-weight: 300 !important;
	line-height: 0.98 !important; letter-spacing: -0.035em !important;
}
.tp-h2, .tp-h2 .elementor-heading-title {
	font-size: var(--tp-fs-h2) !important; font-weight: 300 !important;
	line-height: 1.05 !important; letter-spacing: -0.03em !important;
}
.tp-h3, .tp-h3 .elementor-heading-title {
	font-size: var(--tp-fs-h3) !important; font-weight: 400 !important; line-height: 1.2 !important;
}
.tp-italic, .tp-italic .elementor-heading-title { font-style: italic !important; font-weight: 200 !important; }
.tp-teal, .tp-teal .elementor-heading-title { color: var(--tp-teal) !important; }
.tp-red, .tp-red .elementor-heading-title { color: var(--tp-red) !important; }

/* Testi */
.tp-lead, .tp-lead p { font-size: var(--tp-fs-lead); line-height: 1.45; font-weight: 300; color: var(--tp-ink-2); }
.tp-muted, .tp-muted p { color: var(--tp-muted); }

/* Linee del catalogo */
.tp-rule-top { border-top: 1px solid var(--tp-line) !important; }
.tp-rule-bottom { border-bottom: 1px solid var(--tp-line) !important; }
.tp-rule-left { border-left: 1px solid var(--tp-line) !important; }
.tp-rule-soft { border-color: var(--tp-line-soft) !important; }
.tp-dark .tp-rule-top, .tp-dark .tp-rule-bottom { border-color: color-mix(in srgb, var(--tp-bg) 28%, transparent) !important; }
.tp-card-link.tp-rule-top:last-child { border-bottom: 1px solid var(--tp-line) !important; }
.tp-site .tp-card-link, .tp-site .tp-card-link:hover { text-decoration: none; }
/* Card link (Scrivici / Catalogo): stessa animazione delle righe dei servizi */
.tp-card-link {
	position: relative; overflow: hidden; isolation: isolate;
	align-items: center !important; justify-content: space-between !important; gap: 20px;
	padding: clamp(20px, 2.4vw, 34px) 12px !important;
	color: var(--tp-ink) !important;
	transition: color .4s var(--tp-ease);
}
.tp-card-link::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--tp-teal); transform: scaleY(0); transform-origin: bottom;
	transition: transform .5s var(--tp-ease);
}
.tp-card-link:hover::before, .tp-card-link:focus-visible::before { transform: scaleY(1); }
.tp-card-link .tp-h3, .tp-card-link .tp-muted, .tp-card-link > p { transition: color .4s var(--tp-ease), transform .45s var(--tp-ease); }
.tp-card-link .tp-h3 { color: var(--tp-ink) !important; }
.tp-card-link:hover, .tp-card-link:hover .tp-h3, .tp-card-link:hover > p,
.tp-card-link:focus-visible, .tp-card-link:focus-visible .tp-h3, .tp-card-link:focus-visible > p { color: var(--tp-bg) !important; }
.tp-card-link:hover .tp-muted, .tp-card-link:focus-visible .tp-muted { color: color-mix(in srgb, var(--tp-bg) 80%, transparent) !important; }
.tp-card-link:hover > p, .tp-card-link:focus-visible > p { transform: translateX(6px); }
.tp-card-link[href*="catalogo"]:hover > p, .tp-card-link[href*="catalogo"]:focus-visible > p { transform: translateY(6px); }
.tp-card-link:hover > div, .tp-card-link:focus-visible > div { padding-left: 0 !important; margin-left: 0 !important; }

/* "tuo packaging." su una riga */
.tp-display em { white-space: nowrap; }


/* Sezioni */
.tp-hero { min-height: 100svh; padding-top: var(--tp-header-h); box-sizing: border-box; }
.tp-pad-header { padding-top: calc(var(--tp-header-h) + 24px) !important; }
.tp-dark { background: var(--tp-teal-dark); color: var(--tp-bg); }
.tp-dark .tp-label, .tp-dark .tp-lead, .tp-dark .tp-lead p { color: var(--tp-bg); }
.tp-paper { background: var(--tp-paper); }

/* Etichetta di sezione: «Numeri [01]» */
.tp-label {
	display: inline-flex; align-items: baseline; gap: 0.5em;
	margin: 0 0 1.2em;
	font-size: 13px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--tp-teal);
}
.tp-label > span:first-child:not(.tp-label__num) { color: var(--tp-muted); }
.tp-label__num { color: var(--tp-red-text); letter-spacing: 0.04em; }
.tp-dark .tp-label__num { color: var(--tp-teal-pale); }

/* Pulsante pill (anche sul widget Pulsante: classe tp-pill) */
a.tp-pill, button.tp-pill, .elementor-widget.tp-pill .elementor-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
	padding: 1.05em 2.1em;
	border: 1px solid currentColor; border-radius: var(--tp-radius-pill);
	background: transparent; color: var(--tp-teal);
	font-family: var(--tp-font); font-size: clamp(16px, 0.5vw + 14px, 21px); font-weight: 400; line-height: 1;
	text-decoration: none; cursor: pointer;
	transition: background-color .35s var(--tp-ease), color .35s var(--tp-ease), border-color .35s var(--tp-ease);
}
a.tp-pill:hover, button.tp-pill:hover, .elementor-widget.tp-pill .elementor-button:hover {
	background: var(--tp-teal); border-color: var(--tp-teal); color: var(--tp-bg);
}
.tp-pill--sm, a.tp-pill--sm, button.tp-pill--sm { padding: 0.8em 1.4em; font-size: 15px; }
.tp-dark a.tp-pill, .tp-dark .elementor-widget.tp-pill .elementor-button { color: var(--tp-bg); }
.tp-dark a.tp-pill:hover, .tp-dark .elementor-widget.tp-pill .elementor-button:hover { background: var(--tp-bg); border-color: var(--tp-bg); color: var(--tp-teal-dark); }

/* Immagini prodotto scontornate */
img.tp-cutout, .tp-cutout img { filter: drop-shadow(0 30px 40px rgba(21, 22, 21, 0.16)); }

/* Corsivo d'accento nei titoli: <em> */
.tp-display em, .tp-h2 em, .tp-h3 em { font-style: italic; font-weight: 200; color: var(--tp-teal); }
.tp-dark .tp-display em, .tp-dark .tp-h2 em, .tp-dark .tp-h3 em { color: color-mix(in srgb, var(--tp-teal-light) 45%, var(--tp-bg)); }
.tp-dark .tp-display, .tp-dark .tp-h2, .tp-dark .tp-h3 { color: var(--tp-bg) !important; }

/* Shortcode dentro i paragrafi Elementor: niente paragrafi vuoti */
.elementor p:empty { display: none; margin: 0; }
.tp-anchor { display: block; height: 0; scroll-margin-top: var(--tp-header-h); }

/* Animazioni: stato iniziale solo se il JS è attivo (e mai nell'editor) */
html.tp-js .tp-reveal { opacity: 0; transform: translateY(28px); }
html.tp-js .tp-split .tp-word { display: inline-block; opacity: 0; transform: translateY(0.5em); }
body.elementor-editor-active .tp-reveal,
body.elementor-editor-active .tp-split .tp-word { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	html.tp-js .tp-reveal, html.tp-js .tp-split .tp-word { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.tp-header {
	position: fixed; z-index: 1000; top: 0; left: 0; right: 0;
	height: var(--tp-header-h);
	transition: transform .5s var(--tp-ease), background-color .4s, box-shadow .4s;
}
.admin-bar .tp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tp-header { top: 46px; } }

.tp-header.is-scrolled {
	background: color-mix(in srgb, var(--tp-bg) 88%, transparent);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 var(--tp-line-soft);
}
.tp-header.is-hidden { transform: translateY(-110%); }
.tp-menu-open .tp-header { transform: none; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.tp-header__inner {
	box-sizing: border-box; height: 100%;
	max-width: none; margin: 0 auto; padding: 0 var(--tp-gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.tp-logo { display: inline-flex; align-items: center; line-height: 0; }
.tp-logo svg, .tp-logo img { height: 46px; width: auto; display: block; }
@media (max-width: 767px) { .tp-logo svg, .tp-logo img { height: 36px; } }
.tp-menu-open .tp-header .tp-logo path { fill: var(--tp-bg); transition: fill .3s; }

.tp-header__actions { display: flex; align-items: center; gap: clamp(12px, 2vw, 32px); }
.tp-header__link {
	font-size: 15px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--tp-teal) !important; text-decoration: none;
}
.tp-header__link:hover { color: var(--tp-red) !important; }
@media (max-width: 767px) { .tp-header__link, .tp-header__cta { display: none !important; } }
.tp-menu-open .tp-header__link, .tp-menu-open .tp-header__cta { opacity: 0; pointer-events: none; }

.tp-burger {
	position: relative; width: 44px; height: 44px; padding: 0;
	border: 0; background: transparent; cursor: pointer; color: var(--tp-teal);
}
.tp-burger:hover, .tp-burger:focus { background: transparent; color: var(--tp-red); }
.tp-burger__line {
	position: absolute; left: 8px; right: 8px; height: 1.5px; background: currentColor;
	transition: transform .45s var(--tp-ease), top .45s var(--tp-ease);
}
.tp-burger__line:nth-child(1) { top: 17px; }
.tp-burger__line:nth-child(2) { top: 26px; }
.tp-menu-open .tp-burger { color: var(--tp-bg); }
.tp-menu-open .tp-burger__line:nth-child(1) { top: 21px; transform: rotate(45deg); }
.tp-menu-open .tp-burger__line:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Overlay menu */
.tp-menu {
	position: fixed; inset: 0; z-index: 999;
	background: var(--tp-teal); color: var(--tp-bg);
	clip-path: circle(0% at calc(100% - var(--tp-gutter) - 22px) calc(var(--tp-header-h) / 2));
	visibility: hidden;
	transition: clip-path .8s var(--tp-ease), visibility 0s linear .8s;
	overflow-y: auto;
}
.tp-menu-open .tp-menu {
	clip-path: circle(150% at calc(100% - var(--tp-gutter) - 22px) calc(var(--tp-header-h) / 2));
	visibility: visible; transition: clip-path .8s var(--tp-ease), visibility 0s;
}
.tp-menu-open { overflow: hidden; }

.tp-menu__inner {
	box-sizing: border-box; min-height: 100%;
	max-width: var(--tp-max); margin: 0 auto;
	padding: calc(var(--tp-header-h) + 5vh) var(--tp-gutter) 40px;
	display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr auto; gap: 40px 6vw;
}
@media (max-width: 900px) { .tp-menu__inner { grid-template-columns: 1fr; } }
.tp-menu .tp-label, .tp-menu .tp-label > span:first-child { color: color-mix(in srgb, var(--tp-bg) 65%, transparent); }

.tp-menu ul { list-style: none; margin: 0; padding: 0; }
.tp-menu a { color: var(--tp-bg); text-decoration: none; }
.tp-menu a:hover { color: var(--tp-bg); }

.tp-menu__big li { border-top: 1px solid color-mix(in srgb, var(--tp-bg) 25%, transparent); }
.tp-menu__big li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--tp-bg) 25%, transparent); }
.tp-menu__big a {
	display: block; padding: 0.18em 0;
	font-size: clamp(34px, 4.6vw, 80px); font-weight: 300; line-height: 1.15; letter-spacing: -0.03em;
	transition: transform .5s var(--tp-ease), color .3s;
}
.tp-menu__big a:hover { transform: translateX(0.3em); color: var(--tp-teal-pale); }

.tp-menu__list a { display: inline-block; padding: 0.2em 0; font-size: clamp(20px, 1.8vw, 30px); font-weight: 300; }
.tp-menu__list a:hover { font-style: italic; }

.tp-menu__foot {
	grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 40px;
	padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--tp-bg) 25%, transparent);
	font-size: 15px;
}

/* Voci del menu che entrano in sequenza */
.tp-menu li { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--tp-ease); }
.tp-menu-open .tp-menu li { opacity: 1; transform: none; }
.tp-menu-open .tp-menu li:nth-child(1) { transition-delay: .25s; }
.tp-menu-open .tp-menu li:nth-child(2) { transition-delay: .30s; }
.tp-menu-open .tp-menu li:nth-child(3) { transition-delay: .35s; }
.tp-menu-open .tp-menu li:nth-child(4) { transition-delay: .40s; }
.tp-menu-open .tp-menu li:nth-child(5) { transition-delay: .45s; }
.tp-menu-open .tp-menu li:nth-child(n+6) { transition-delay: .5s; }

/* --------------------------------------------------------------------------
   [tp_scroll_hint] e [tp_index] — hero
   -------------------------------------------------------------------------- */

.tp-scroll-hint {
	display: inline-flex; flex-direction: column; align-items: center; gap: 14px;
	color: var(--tp-teal); text-decoration: none;
	font-size: 13px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
}
.tp-scroll-hint__arrow svg { width: 20px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.tp-scroll-hint__arrow { animation: tp-bob 2.2s var(--tp-ease) infinite; }
@keyframes tp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .tp-scroll-hint__arrow { animation: none; } }

.tp-index { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tp-index a {
	display: inline-flex; align-items: baseline; gap: 0.15em;
	font-size: 15px; font-weight: 400; text-decoration: none; color: var(--tp-ink);
}
.tp-index__b { color: var(--tp-muted); transition: color .3s; }
.tp-index__n { font-size: 0.7em; color: var(--tp-red); margin-right: 0.35em; }
.tp-index a:hover { color: var(--tp-teal); }
.tp-index a:hover .tp-index__b { color: var(--tp-teal); }

/* --------------------------------------------------------------------------
   [tp_stats]
   -------------------------------------------------------------------------- */

.tp-stats {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
	border-top: 1px solid var(--tp-line);
}
.tp-stats__item { padding: 28px 24px 32px 0; border-bottom: 1px solid var(--tp-line-soft); }
@media (max-width: 767px) {
	.tp-stats { grid-template-columns: 1fr 1fr; column-gap: 20px; }
	.tp-stats__item { padding: 22px 0 24px; }
}
.tp-stats__img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 18px; }
.tp-stats__value {
	margin: 0; display: flex; align-items: baseline; gap: 0.08em;
	font-size: clamp(52px, 5.4vw, 104px); font-weight: 300; line-height: 1; letter-spacing: -0.04em;
}
.tp-stats__value small { font-size: 0.42em; color: var(--tp-teal); letter-spacing: 0; }
.tp-stats__label { margin: 12px 0 0; color: var(--tp-ink-2); font-size: 16px; }

/* --------------------------------------------------------------------------
   [tp_stage] — titolone + oggetto 3D
   -------------------------------------------------------------------------- */

.tp-stage {
	position: relative;
	display: flex; align-items: center; justify-content: center;
	min-height: min(100svh, 1000px);
	padding: clamp(60px, 12vh, 160px) 0 clamp(120px, 20vh, 220px);
	box-sizing: border-box;
	isolation: isolate;
}
.tp-site .tp-stage__title {
	margin: 0; text-align: center; white-space: nowrap;
	font-size: min(10.2vw, 230px) !important; font-weight: 500 !important;
	line-height: 0.9 !important; letter-spacing: -0.035em !important; text-transform: uppercase;
	background: linear-gradient(100deg, var(--tp-teal-light) 0%, var(--tp-teal) 35%, var(--tp-teal-dark) 55%, var(--tp-teal) 75%, var(--tp-teal-light) 100%);
	-webkit-background-clip: text; background-clip: text;
	color: transparent !important; -webkit-text-fill-color: transparent;
	position: relative; z-index: 1;
}
.tp-stage__word { display: inline-block; }
@media (max-width: 767px) {
	.tp-site .tp-stage__title { white-space: normal; font-size: 16vw !important; }
	.tp-stage__word { display: block; }
}

.tp-stage__object {
	position: absolute; z-index: 2; left: 50%; top: 46%;
	width: min(54vw, 760px); aspect-ratio: 1 / 1;
	transform: translate(-50%, -50%);
	pointer-events: none;
	will-change: transform;
}
@media (max-width: 767px) { .tp-stage__object { width: 92vw; top: 44%; } }
.tp-stage__model { width: 100%; height: 100%; background: transparent; --poster-color: transparent; }
.tp-stage__img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(21, 22, 21, 0.22)); }
.tp-stage__ar { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); pointer-events: auto; background: var(--tp-bg) !important; }

.tp-stage__cta { position: absolute !important; z-index: 3; left: 0; bottom: clamp(32px, 7vh, 90px); }
@media (max-width: 767px) { .tp-stage__cta { left: 50%; transform: translateX(-50%); white-space: nowrap; } }

/* --------------------------------------------------------------------------
   [tp_lines] — griglia linee prodotto
   -------------------------------------------------------------------------- */

.tp-lines {
	position: relative;
	display: flex; flex-wrap: wrap;
	border-top: 1px solid var(--tp-line-soft);
}
.tp-lines__item {
	flex: 1 1 30%; box-sizing: border-box;
	display: flex; align-items: center; justify-content: center;
	padding: clamp(18px, 2.4vw, 34px) clamp(24px, 3.4vw, 64px);
	border-bottom: 1px solid var(--tp-line-soft);
	border-right: 1px solid var(--tp-line-soft);
	text-decoration: none !important;
	font-size: clamp(34px, 4.6vw, 88px); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em;
	color: var(--tp-faint) !important;
	transition: color .45s var(--tp-ease), background-color .45s var(--tp-ease);
}
.tp-lines__item:nth-of-type(3n), .tp-lines__item:last-of-type { border-right: 0; }
.tp-lines__item.is-active, .tp-lines__item:hover, .tp-lines__item:focus-visible { color: var(--tp-teal) !important; }
.tp-lines:hover .tp-lines__item.is-active:not(:hover) { color: var(--tp-faint) !important; }
.tp-lines__item span { display: inline-block; transition: transform .45s var(--tp-ease); }
.tp-lines__item:hover span { transform: translateY(-4px); }
@media (max-width: 767px) {
	.tp-lines__item { flex-basis: 100%; justify-content: flex-start; border-right: 0; }
}

.tp-lines__preview {
	position: fixed; z-index: 50; top: 0; left: 0;
	width: clamp(160px, 16vw, 260px); aspect-ratio: 1 / 1;
	background: center / contain no-repeat;
	pointer-events: none; opacity: 0;
	transform: translate(-50%, -50%) scale(0.85);
	transition: opacity .3s, transform .4s var(--tp-ease);
	filter: drop-shadow(0 24px 30px rgba(21, 22, 21, 0.2));
}
.tp-lines__preview.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none) { .tp-lines__preview { display: none; } }

/* --------------------------------------------------------------------------
   [tp_services_list] — elenco numerato 001…
   -------------------------------------------------------------------------- */

.tp-services { border-top: 1px solid var(--tp-line); }
.tp-services__row {
	display: grid; grid-template-columns: 72px 28px minmax(0, 1fr) minmax(0, 1.2fr) 40px;
	align-items: center; gap: 0 20px;
	padding: clamp(20px, 2.4vw, 34px) 12px;
	border-bottom: 1px solid var(--tp-line-soft);
	text-decoration: none !important; color: var(--tp-ink) !important;
	position: relative; overflow: hidden;
	transition: color .4s var(--tp-ease);
}
.tp-services__row::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--tp-teal); transform: scaleY(0); transform-origin: bottom;
	transition: transform .5s var(--tp-ease);
}
.tp-services__row:hover { color: var(--tp-bg) !important; }
.tp-services__row:hover::before { transform: scaleY(1); }
.tp-services__num { font-size: 14px; font-weight: 400; color: var(--tp-red-text); letter-spacing: 0.08em; }
.tp-services__row:hover .tp-services__num { color: var(--tp-bg); }
.tp-services__mark { width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.tp-services__mark::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: currentColor; }
.tp-services__title { font-size: var(--tp-fs-h3); font-weight: 300; line-height: 1.15; letter-spacing: -0.02em; }
.tp-services__desc { color: var(--tp-ink-2); font-size: 16px; transition: color .4s; }
.tp-services__row:hover .tp-services__desc { color: color-mix(in srgb, var(--tp-bg) 80%, transparent); }
.tp-services__arrow { font-size: 24px; justify-self: end; transition: transform .45s var(--tp-ease); }
.tp-services__row:hover .tp-services__arrow { transform: translateX(6px); }
@media (max-width: 767px) {
	.tp-services__row { grid-template-columns: 48px minmax(0, 1fr) 28px; gap: 6px 12px; }
	.tp-services__mark { display: none; }
	.tp-services__desc { grid-column: 2 / 3; font-size: 15px; }
	.tp-services__arrow { grid-row: 1; grid-column: 3; }
}

/* --------------------------------------------------------------------------
   Pagina Servizi: [tp_service_nav] + contenitori .tp-service
   -------------------------------------------------------------------------- */

.tp-service-nav {
	position: sticky; z-index: 20; top: 0;
	display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
	padding: 14px 0;
	background: color-mix(in srgb, var(--tp-bg) 92%, transparent);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--tp-line-soft);
	transition: top .5s var(--tp-ease);
}
.tp-service-nav::-webkit-scrollbar { display: none; }
body:not(.tp-header-hidden) .tp-service-nav { top: var(--tp-header-h); }
.admin-bar .tp-service-nav { margin-top: 0; }
.tp-service-nav a {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px;
	padding: 10px 18px; border: 1px solid var(--tp-line-soft); border-radius: var(--tp-radius-pill);
	font-size: 14px; font-weight: 400; color: var(--tp-ink-2) !important; text-decoration: none !important; white-space: nowrap;
	transition: background-color .3s, color .3s, border-color .3s;
}
.tp-service-nav a small { color: var(--tp-red); font-size: 11px; letter-spacing: 0.08em; }
.tp-service-nav a:hover { border-color: var(--tp-teal); color: var(--tp-teal) !important; }
.tp-service-nav a.is-active { background: var(--tp-teal); border-color: var(--tp-teal); color: var(--tp-bg) !important; }
.tp-service-nav a.is-active small { color: var(--tp-teal-pale); }

.tp-service { scroll-margin-top: calc(var(--tp-header-h) + 90px); border-top: 1px solid var(--tp-line); }

/* Elenchi "voce in grassetto + descrizione" dentro i servizi (widget Editor di testo) */
.tp-checklist ul { list-style: none; margin: 0; padding: 0; }
.tp-checklist li { padding: 16px 0 16px 34px; border-top: 1px solid var(--tp-line-soft); position: relative; }
.tp-checklist li::before {
	content: ""; position: absolute; left: 0; top: 24px; width: 12px; height: 12px;
	border: 1px solid var(--tp-teal); border-radius: 50%;
}
.tp-checklist li strong { display: block; font-weight: 500; color: var(--tp-ink); }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.tp-marquee { overflow: hidden; white-space: nowrap; }
.tp-marquee__track { display: inline-flex; animation: tp-marquee 38s linear infinite; }
.tp-marquee__item {
	display: inline-flex; align-items: center; gap: 0.35em; padding-right: 0.35em;
	font-size: clamp(48px, 8vw, 150px); font-weight: 300; font-style: italic; line-height: 1.15; letter-spacing: -0.03em;
}
.tp-marquee__icon { width: 0.42em; height: 0.28em; fill: var(--tp-red); flex: 0 0 auto; }
@keyframes tp-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tp-marquee__track { animation: none; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.tp-footer { background: var(--tp-teal-dark); color: var(--tp-bg); padding: clamp(40px, 6vw, 80px) 0 28px; }
.tp-footer a { color: var(--tp-bg) !important; text-decoration: none; }
.tp-footer a:hover { color: var(--tp-teal-pale) !important; }
.tp-marquee--footer { padding-bottom: clamp(32px, 5vw, 72px); border-bottom: 1px solid color-mix(in srgb, var(--tp-bg) 22%, transparent); }

.tp-footer__grid, .tp-footer__bottom {
	box-sizing: border-box; max-width: var(--tp-max); margin: 0 auto; padding: 0 var(--tp-gutter);
}
.tp-footer__grid {
	display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px;
	padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px);
}
@media (max-width: 900px) { .tp-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tp-footer__grid { grid-template-columns: 1fr; } }

.tp-logo--footer svg path { fill: var(--tp-bg); }
.tp-logo--footer svg, .tp-logo--footer img { height: 64px; }
.tp-footer__company { margin: 24px 0 6px; font-weight: 500; }
.tp-footer__legal { margin: 0; font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--tp-bg) 70%, transparent); }
.tp-footer__title { margin: 0 0 16px; font-size: 12px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--tp-bg) 60%, transparent); }
.tp-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }

.tp-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
	padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--tp-bg) 22%, transparent);
	font-size: 13px; color: color-mix(in srgb, var(--tp-bg) 65%, transparent);
}
.tp-footer__policies { display: flex; gap: 24px; }

/* ==========================================================================
   PAGINE INTERNE — Prodotti, Servizi, Azienda, Contatti (dal 2.1.0)
   ========================================================================== */

/* Contenitore Elementor che raccoglie nav sticky + sezioni (classe tp-fullbleed) */
.tp-service-nav {
	padding-left: max(var(--tp-gutter), calc((100% - var(--tp-max)) / 2));
	padding-right: var(--tp-gutter); scroll-padding-left: var(--tp-gutter);
}
.tp-service-nav a { cursor: pointer; }
.tp-service { scroll-margin-top: calc(var(--tp-header-h) + 84px); }

/* --------------------------------------------------------------------------
   [tp_page_head]
   -------------------------------------------------------------------------- */
.tp-phead { position: relative; isolation: isolate; background: var(--tp-bg); padding-top: calc(var(--tp-header-h) + clamp(16px, 3vw, 48px)); overflow: clip; }
html.tp-js .tp-phead { visibility: hidden; }
body.elementor-editor-active .tp-phead { visibility: visible !important; }
.tp-phead__inner { position: relative; box-sizing: border-box; max-width: var(--tp-max); margin: 0 auto; padding: 0 var(--tp-gutter) clamp(56px, 7vw, 120px); }
.tp-phead__top {
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding-bottom: 18px; margin-bottom: clamp(48px, 9vw, 150px);
	border-bottom: 1px solid var(--tp-line);
	font-size: 14px; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tp-teal-dark);
}
.tp-phead__crumb { display: inline-flex; gap: 0.6em; }
.tp-phead__crumb a { color: var(--tp-muted) !important; text-decoration: none; }
.tp-phead__crumb a:hover { color: var(--tp-teal) !important; }
.tp-phead__crumb i { font-style: normal; color: var(--tp-muted); }
.tp-phead__num { color: var(--tp-red); }

.tp-site .tp-phead__title {
	position: relative; z-index: 2; margin: 0;
	font-size: var(--tp-fs-display) !important; font-weight: 300 !important;
	line-height: 0.98 !important; letter-spacing: -0.035em !important; color: var(--tp-ink);
}
.tp-mask { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.tp-mask__in { display: block; will-change: transform; }
.tp-site .tp-phead__title em, .tp-site .tp-cta__title em { font-style: italic; font-weight: 200; color: var(--tp-teal); }

.tp-phead__foot {
	position: relative; z-index: 2;
	display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 6vw;
	margin-top: clamp(32px, 4.5vw, 72px);
}
.tp-phead__text { margin: 0; max-width: 44ch; font-size: var(--tp-fs-lead); line-height: 1.45; color: var(--tp-ink-2); }
.tp-phead__text:empty { display: none; }
.tp-phead__index { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 26px; max-width: 46vw; }
.tp-phead__index a { display: inline-flex; align-items: baseline; gap: 0.15em; font-size: 15px; font-weight: 400; color: var(--tp-ink) !important; text-decoration: none; }
.tp-phead__b { color: var(--tp-muted); transition: color .3s; }
.tp-phead__n { font-size: 0.72em; color: var(--tp-red); margin-right: 0.4em; }
.tp-phead__index a:hover { color: var(--tp-teal) !important; }
.tp-phead__index a:hover .tp-phead__b { color: var(--tp-teal); }

.tp-phead__cutout {
	position: absolute; z-index: 1; right: var(--tp-gutter); top: clamp(90px, 9vw, 150px);
	width: min(34vw, 600px); height: auto; pointer-events: none;
	filter: drop-shadow(0 40px 50px rgba(21, 22, 21, 0.2));
	will-change: transform;
}

.tp-phead__media { position: relative; margin: 0; height: clamp(320px, 72vh, 860px); overflow: hidden; background: var(--tp-faint); }
.tp-phead__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; display: block; will-change: transform; }

@media (max-width: 900px) {
	.tp-phead__foot { grid-template-columns: 1fr; }
	.tp-phead__index { justify-content: flex-start; max-width: none; }
	.tp-phead__cutout { position: relative; right: auto; top: auto; display: block; width: 78%; margin: 8px auto -12px; }
	.tp-phead__media { height: 52vh; }
}

/* --------------------------------------------------------------------------
   Riga etichetta comune  «Vassoi ……… [01]»
   -------------------------------------------------------------------------- */
.tp-catalog__row {
	grid-column: 1 / -1;
	display: flex; justify-content: space-between; align-items: center;
	padding-top: 20px; border-top: 1px solid var(--tp-line);
	font-size: 14px; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tp-teal-dark);
}
.tp-catalog__row span:last-child { color: var(--tp-red); }

/* --------------------------------------------------------------------------
   [tp_catalog] — linea prodotto con schede
   -------------------------------------------------------------------------- */
.tp-catalog.tp-service { border-top: 0; }
.tp-catalog { box-sizing: border-box; max-width: var(--tp-max); margin: 0 auto; padding: clamp(64px, 8vw, 140px) var(--tp-gutter) 0; }
.tp-catalog:last-of-type { padding-bottom: clamp(80px, 9vw, 160px); }
.tp-catalog__head {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; align-items: end;
	margin-bottom: clamp(36px, 4.5vw, 72px);
}
.tp-site .tp-catalog__title, .tp-site .tp-svc__title, .tp-site .tp-values__heading {
	margin: 0; font-size: var(--tp-fs-h2) !important; font-weight: 300 !important;
	line-height: 1.04 !important; letter-spacing: -0.03em !important; color: var(--tp-ink);
}
.tp-catalog__title { grid-column: 1 / span 7; }
.tp-catalog__title em, .tp-svc__title em, .tp-values__heading em { font-style: italic; font-weight: 200; color: var(--tp-teal); }
.tp-catalog__text { grid-column: 9 / -1; margin: 0; color: var(--tp-ink-2); max-width: 42ch; }
@media (max-width: 900px) {
	.tp-catalog__title, .tp-catalog__text { grid-column: 1 / -1; }
}

.tp-catalog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 28px); }
@media (max-width: 1024px) { .tp-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tp-catalog__grid { grid-template-columns: 1fr; } }
/* Linee con 2 o 4 prodotti: niente buchi nella griglia */
@media (min-width: 1025px) {
	.tp-catalog__grid:has(> .tp-pcard:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tp-catalog__grid:has(> .tp-pcard:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tp-catalog__grid:has(> .tp-pcard:nth-child(2):last-child) .tp-pcard__media { aspect-ratio: 16 / 9; }
}

.tp-site .tp-pcard {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; box-sizing: border-box; min-height: 100%;
	padding: 20px clamp(18px, 1.6vw, 28px) 24px;
	background: var(--tp-paper);
	color: var(--tp-ink); text-decoration: none;
	transition: background-color .5s var(--tp-ease);
}
.tp-pcard::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
	background: var(--tp-teal); transform: scaleX(0); transform-origin: left;
	transition: transform .7s var(--tp-ease);
}
.tp-site .tp-pcard:hover { color: var(--tp-ink); }
.tp-pcard:hover::after, .tp-pcard:focus-visible::after { transform: scaleX(1); }
.tp-pcard__top { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tp-muted); }
.tp-pcard__code { color: var(--tp-red); letter-spacing: 0.04em; }
/* 2.3.2 — foto prodotto = mockup su fondo (come sul catalogo): riempiono il riquadro, niente ombre finte */
.tp-pcard__media { position: relative; display: block; aspect-ratio: 4 / 3; margin: 10px 0 18px; overflow: hidden; background: #E2DED8; }
.tp-pcard__media img {
	display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 55%;
	transition: transform 1.2s var(--tp-ease);
}
.tp-pcard:hover .tp-pcard__media img { transform: scale(1.045); }
.tp-pcard__body { display: flex; flex-direction: column; flex: 1; }
.tp-pcard__name { display: block; font-size: clamp(21px, 1vw + 12px, 30px); font-weight: 300; line-height: 1.15; letter-spacing: -0.02em; }
.tp-pcard__desc { display: block; margin: 6px 0 22px; font-size: 16px; color: var(--tp-ink-2); }
.tp-pcard__meta {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	margin-top: auto; padding-top: 16px; border-top: 1px solid var(--tp-line-soft);
	font-size: 14px; color: var(--tp-muted);
}
.tp-pcard__cta { margin-left: auto; color: var(--tp-teal); white-space: nowrap; transition: transform .45s var(--tp-ease); }
.tp-pcard:hover .tp-pcard__cta { transform: translateX(4px); }

/* 2.4.0 — schede con pagina 3D: il nome copre tutta la scheda (richiesta), «Vedi in 3D» sta sopra la foto */
.tp-site a.tp-pcard__hit, .tp-site a.tp-pcard__hit:hover { color: var(--tp-ink); text-decoration: none; }
.tp-pcard__hit::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.tp-pcard__hit:focus-visible { outline: none; }
.tp-pcard--3d:has(.tp-pcard__hit:focus-visible) { outline: 2px solid var(--tp-teal); outline-offset: -2px; }
.tp-pcard--3d:focus-within::after { transform: scaleX(1); }
.tp-site a.tp-pcard__3d {
	position: absolute; z-index: 2; left: 12px; top: 12px;
	display: inline-flex; align-items: center; gap: 7px; min-height: 34px; box-sizing: border-box;
	padding: 6px 14px 6px 11px; border-radius: var(--tp-radius-pill);
	background: color-mix(in srgb, var(--tp-paper) 90%, transparent); color: var(--tp-teal-dark);
	font-size: 13.5px; font-weight: 500; line-height: 1; letter-spacing: 0.01em; text-decoration: none;
	box-shadow: 0 1px 2px rgba(21, 22, 21, 0.08);
	transition: background-color .3s var(--tp-ease), color .3s var(--tp-ease);
}
.tp-pcard__3d svg { width: 17px; height: 17px; display: block; flex: none; }
.tp-site a.tp-pcard__3d:hover, .tp-site a.tp-pcard__3d:focus-visible { background: var(--tp-teal); color: var(--tp-bg); }
.tp-site a.tp-pcard__3d:focus-visible { outline: 2px solid var(--tp-teal-dark); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   [tp_service] — blocco servizio (testo + immagine, alternati)
   -------------------------------------------------------------------------- */
.tp-svc.tp-service { border-top: 0; }
.tp-svc { box-sizing: border-box; max-width: var(--tp-max); margin: 0 auto; padding: clamp(64px, 8vw, 140px) var(--tp-gutter) 0; }
.tp-svc:last-of-type { padding-bottom: clamp(80px, 9vw, 160px); }
.tp-svc__grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 40px clamp(32px, 6vw, 120px); align-items: start;
	padding-top: 20px; border-top: 1px solid var(--tp-line);
}
.tp-svc:nth-of-type(even) .tp-svc__media { order: -1; }
.tp-svc__content { position: sticky; top: calc(var(--tp-header-h) + 100px); padding-bottom: 8px; }
.tp-svc__num {
	display: flex; justify-content: space-between; margin: 0 0 clamp(36px, 5vw, 80px);
	font-size: 14px; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tp-teal-dark);
}
.tp-svc__num span:last-child { color: var(--tp-red); }
.tp-svc__title { margin-bottom: 28px !important; }
.tp-svc__text { margin: 0 0 36px; max-width: 42ch; font-size: var(--tp-fs-lead); line-height: 1.45; color: var(--tp-ink-2); }
.tp-svc__points { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--tp-line-soft); }
.tp-svc__points li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 0 12px; padding: 16px 0; border-bottom: 1px solid var(--tp-line-soft); }
.tp-svc__points i { width: 12px; height: 12px; margin-top: 0.5em; border: 1px solid var(--tp-teal); border-radius: 50%; position: relative; }
.tp-svc__points i::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--tp-red); }
.tp-svc__points strong { display: block; font-weight: 500; color: var(--tp-ink); }
.tp-svc__points span { display: block; font-size: 16px; color: var(--tp-ink-2); }
.tp-svc__media { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #E7E4DF; }
.tp-svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 50% 60%; }
@media (max-width: 900px) {
	.tp-svc__grid { grid-template-columns: 1fr; }
	.tp-svc__media, .tp-svc:nth-of-type(even) .tp-svc__media { order: -1; aspect-ratio: 4 / 3; }
	.tp-svc__content { position: static; }
	.tp-svc__num { margin-bottom: 28px; }
}

/* --------------------------------------------------------------------------
   [tp_values]
   -------------------------------------------------------------------------- */
.tp-values { box-sizing: border-box; max-width: var(--tp-max); margin: 0 auto; padding: clamp(80px, 9vw, 160px) var(--tp-gutter); }
.tp-values__head { display: grid; gap: 40px; margin-bottom: clamp(40px, 5vw, 80px); }
.tp-values__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--tp-line); }
.tp-values__item { position: relative; padding: 28px clamp(16px, 2vw, 36px) 40px 0; border-bottom: 1px solid var(--tp-line-soft); }
.tp-values__item + .tp-values__item { padding-left: clamp(16px, 2vw, 36px); border-left: 1px solid var(--tp-line-soft); }
.tp-values__icon { width: 64px; height: 64px; color: var(--tp-teal); margin-bottom: 40px; }
.tp-values__icon .tp-icon { width: 100%; height: 100%; }
.tp-values__n { position: absolute; top: 28px; right: clamp(16px, 2vw, 36px); font-size: 13px; color: var(--tp-red); letter-spacing: 0.06em; }
.tp-site .tp-values__title { margin: 0 0 12px; font-size: var(--tp-fs-h3); font-weight: 300; line-height: 1.15; }
.tp-values__text { margin: 0; font-size: 16px; color: var(--tp-ink-2); }
@media (max-width: 1024px) {
	.tp-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tp-values__item:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
	.tp-values__grid { grid-template-columns: 1fr; }
	.tp-values__item, .tp-values__item + .tp-values__item { padding-left: 0; border-left: 0; }
}

/* --------------------------------------------------------------------------
   [tp_duo] — mission / vision su verde scuro
   -------------------------------------------------------------------------- */
.tp-duo { background: var(--tp-teal-dark); color: var(--tp-bg); }
.tp-duo__inner { box-sizing: border-box; max-width: var(--tp-max); margin: 0 auto; padding: clamp(80px, 9vw, 160px) var(--tp-gutter); }
.tp-duo .tp-catalog__row { color: color-mix(in srgb, var(--tp-bg) 70%, transparent); border-color: color-mix(in srgb, var(--tp-bg) 30%, transparent); }
.tp-duo .tp-catalog__row span:last-child { color: var(--tp-teal-pale); }
.tp-duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(40px, 7vw, 140px); margin-top: clamp(48px, 6vw, 100px); }
.tp-duo__kicker { margin: 0 0 20px; font-size: 13px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tp-teal-pale); }
.tp-duo__text { margin: 0; font-size: clamp(24px, 1.6vw + 14px, 44px); font-weight: 300; line-height: 1.22; letter-spacing: -0.02em; }
@media (max-width: 767px) { .tp-duo__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   [tp_cta] — chiusura pagina
   -------------------------------------------------------------------------- */
.tp-cta { position: relative; overflow: hidden; background: var(--tp-teal); color: var(--tp-bg); }
.tp-cta__inner {
	box-sizing: border-box; max-width: var(--tp-max); margin: 0 auto;
	padding: clamp(90px, 11vw, 190px) var(--tp-gutter);
	display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px 6vw; align-items: end;
}
.tp-site .tp-cta__title { margin: 0; font-size: var(--tp-fs-display) !important; font-weight: 300 !important; line-height: 0.98 !important; letter-spacing: -0.035em !important; color: var(--tp-bg) !important; }
.tp-site .tp-cta__title em { color: var(--tp-teal-pale); }
.tp-cta__side { display: grid; gap: 28px; justify-items: start; }
.tp-cta__arrow { width: clamp(48px, 5vw, 90px); color: var(--tp-teal-pale); }
.tp-cta__arrow svg { width: 100%; height: auto; display: block; }
.tp-cta__text { margin: 0; max-width: 40ch; font-size: var(--tp-fs-lead); line-height: 1.45; color: color-mix(in srgb, var(--tp-bg) 85%, transparent); }
.tp-cta__text:empty { display: none; }
.tp-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tp-site .tp-cta a.tp-pill { color: var(--tp-bg); border-color: color-mix(in srgb, var(--tp-bg) 60%, transparent); }
.tp-site .tp-cta a.tp-pill:hover { background: var(--tp-bg); border-color: var(--tp-bg); color: var(--tp-teal-dark); }
.tp-site .tp-cta a.tp-pill--solid { background: var(--tp-bg); border-color: var(--tp-bg); color: var(--tp-teal-dark); }
.tp-site .tp-cta a.tp-pill--solid:hover { background: var(--tp-red); border-color: var(--tp-red); color: #fff; }
@media (max-width: 900px) { .tp-cta__inner { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   [tp_contact_info]
   -------------------------------------------------------------------------- */
.tp-cinfo { box-sizing: border-box; max-width: var(--tp-max); margin: 0 auto; padding: 0 var(--tp-gutter) clamp(24px, 3vw, 48px); }
.tp-cinfo__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--tp-line); }
.tp-cinfo__item { display: flex; flex-direction: column; gap: 12px; padding: 26px clamp(16px, 2vw, 32px) 32px 0; border-bottom: 1px solid var(--tp-line-soft); }
.tp-cinfo__item + .tp-cinfo__item { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--tp-line-soft); }
.tp-cinfo__label { margin: 0; font-size: 13px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tp-muted); }
.tp-cinfo__value { margin: 0; font-size: clamp(19px, 0.8vw + 13px, 26px); font-weight: 300; line-height: 1.3; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.tp-site .tp-cinfo__link { margin-top: auto; padding-top: 8px; color: var(--tp-teal); font-size: 15px; font-weight: 400; text-decoration: none; }
.tp-site .tp-cinfo__link:hover { color: var(--tp-red); }
.tp-cinfo__map { margin-top: clamp(40px, 5vw, 80px); aspect-ratio: 21 / 8; background: var(--tp-faint); }
.tp-cinfo__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); }
@media (max-width: 1024px) {
	.tp-cinfo__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tp-cinfo__item:nth-child(odd) { padding-left: 0; border-left: 0; }
	.tp-cinfo__map { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
	.tp-cinfo__grid { grid-template-columns: 1fr; }
	.tp-cinfo__item, .tp-cinfo__item + .tp-cinfo__item { padding-left: 0; border-left: 0; }
}

/* Stessa larghezza utile delle sezioni Home (tp-section + tp-wrap = 1680px di contenuto) */
.tp-phead__inner, .tp-catalog, .tp-svc, .tp-values, .tp-duo__inner, .tp-cta__inner, .tp-cinfo { max-width: calc(var(--tp-max) + 2 * var(--tp-gutter)); }

/* Rifinitura UX: area cliccabile minima 24px per i link piccoli */
.tp-footer li > a, .tp-intro__index a, .tp-site .tp-intro__hint { min-height: 24px; display: inline-flex; align-items: center; }
