/* ------------------------------------------------------------------
   Behide — Design System (Industrial Premium) + Home manifesto
   File dedicato: priorità dopo style.css del child (enqueue in functions.php).
   ------------------------------------------------------------------ */

:root {
	/* Brand core */
	--primary-color: #0f172a; /* navy profondo */
	--accent-color: #0054ff; /* compat: default = tech */

	/* Dual-accent (richiesto FASE 3) */
	--accent-strategy: #d4af37; /* oro */
	--accent-tech: #0054ff; /* blu Rebels */
	--accent-creative: #cbd5e1; /* platino */
	--accent-geo: #10b981; /* verde tech — GEO */

	--text-main: #1f2937;
	--bg-light: #f4f6f9;

	--surface: #ffffff;
	--text-muted: rgba(31, 41, 55, 0.78);
	--border-subtle: rgba(15, 23, 42, 0.1);

	--font-sans:
		Inter,
		Montserrat,
		ui-sans-serif,
		system-ui,
		-apple-system,
		"Segoe UI",
		Roboto,
		Helvetica,
		Arial,
		"Noto Sans";
	--lh-body: 1.6;

	--radius: 14px;
	--shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.08);
	--ease: 200ms ease;
	--ease-premium: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ------------------------------------------------------------------
   Micro-interazioni premium: menu/link/bottoni
   ------------------------------------------------------------------ */

#main-header a,
#top-menu a,
.et-menu a,
.et_mobile_menu a,
.behide-fp-hero__btn,
.behide-macro__link,
.behide-footer-legal__link,
button,
input[type="submit"] {
	transition:
		color 240ms var(--ease-premium),
		background-color 240ms var(--ease-premium),
		border-color 240ms var(--ease-premium),
		box-shadow 240ms var(--ease-premium),
		transform 240ms var(--ease-premium),
		filter 240ms var(--ease-premium),
		opacity 240ms var(--ease-premium);
}

html,
body {
	font-family: var(--font-sans);
	color: var(--text-main);
	line-height: var(--lh-body);
}

h1,
h2,
h3,
.et_pb_text h1,
.et_pb_text h2,
.et_pb_text h3,
.et_pb_module h1,
.et_pb_module h2,
.et_pb_module h3 {
	font-family: var(--font-sans);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--primary-color);
}

/* ------------------------------------------------------------------
   Home — Hero: tipografia manifesto (override soft sui titoli globali)
   ------------------------------------------------------------------ */

#et-main-area .behide-fp-hero--ready h1.behide-fp-hero__h1,
.behide-fp-hero--ready h1.behide-fp-hero__h1 {
	color: #f8fafc !important;
	-webkit-text-fill-color: #f8fafc;
	font-weight: 800;
	letter-spacing: -0.03em;
	max-width: 22ch;
	margin-left: auto;
	margin-right: auto;
}

/* ------------------------------------------------------------------
   L'Ecosistema Behide — card partner (4 colonne desktop)
   ------------------------------------------------------------------ */

.behide-ecosystem {
	box-sizing: border-box;
	width: 100%;
	padding: clamp(3rem, 6vw, 4.5rem) 1.25rem;
	background: var(--bg-light);
	border-top: 1px solid rgba(15, 23, 42, 0.06);
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.behide-ecosystem__inner {
	max-width: 1140px;
	margin: 0 auto;
}

.behide-ecosystem__header {
	text-align: center;
	max-width: 52rem;
	margin: 0 auto 2.25rem;
}

.behide-ecosystem__kicker {
	margin: 0 0 0.75rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(15, 23, 42, 0.55);
}

.behide-ecosystem__title {
	margin: 0 0 0.85rem;
	font-size: clamp(1.35rem, 2.6vw, 1.85rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--primary-color);
}

.behide-ecosystem__intro {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--text-muted);
}

.behide-ecosystem__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.1rem;
	align-items: stretch;
}

@media (min-width: 641px) {
	.behide-ecosystem__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 981px) {
	.behide-ecosystem__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.1rem;
	}
}

.behide-ecosystem__card {
	box-sizing: border-box;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	padding: 0 0 1.15rem;
	background: var(--surface);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	position: relative;
	overflow: hidden;
}

.behide-ecosystem__card--strategy { --behide-accent: var(--accent-strategy); }
.behide-ecosystem__card--tech { --behide-accent: var(--accent-tech); }
.behide-ecosystem__card--creative { --behide-accent: var(--accent-creative); }
.behide-ecosystem__card--geo { --behide-accent: var(--accent-geo); }

/* Smooth hover: bordo inferiore “glow” con accento */
.behide-partner-card::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: var(--behide-accent, var(--accent-tech));
	opacity: 0.42;
	transform: scaleX(0.92);
	transform-origin: center;
	transition:
		opacity 260ms var(--ease-premium),
		transform 260ms var(--ease-premium),
		box-shadow 260ms var(--ease-premium);
}

.behide-partner-card:hover::after,
.behide-partner-card:focus-within::after {
	opacity: 0.9;
	transform: scaleX(1);
	box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

.behide-ecosystem__card--strategy:hover::after,
.behide-ecosystem__card--strategy:focus-within::after {
	box-shadow: 0 -8px 26px rgba(212, 175, 55, 0.28);
}
.behide-ecosystem__card--tech:hover::after,
.behide-ecosystem__card--tech:focus-within::after {
	box-shadow: 0 -8px 26px rgba(0, 84, 255, 0.26);
}
.behide-ecosystem__card--creative:hover::after,
.behide-ecosystem__card--creative:focus-within::after {
	box-shadow: 0 -8px 26px rgba(203, 213, 225, 0.5);
}
.behide-ecosystem__card--geo:hover::after,
.behide-ecosystem__card--geo:focus-within::after {
	box-shadow: 0 -8px 26px rgba(16, 185, 129, 0.26);
}

.behide-partner-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 0 1.15rem;
}

.behide-partner-card__name {
	margin: 0 0 0.25rem;
	font-size: 1.02rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--primary-color);
}

.behide-partner-card__company {
	margin: 0 0 0.75rem;
	font-size: 0.88rem;
	font-weight: 650;
	color: rgba(15, 23, 42, 0.62);
	line-height: 1.45;
}

.behide-partner-card__skills {
	list-style: none;
	margin: 0 0 0.85rem;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

/* Payoff skills: barra segmentata + legenda */
.behide-partner-card__payoff {
	margin: 0 0 0.85rem;
}

.behide-skill-balance {
	display: flex;
	width: 100%;
	height: 6px;
	border-radius: 999px;
	overflow: hidden;
	background: rgba(15, 23, 42, 0.06);
	box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.behide-skill-seg {
	height: 100%;
	display: block;
	filter: saturate(0.92);
	transition: filter 240ms var(--ease-premium);
}

.behide-partner-card:hover .behide-skill-seg,
.behide-partner-card:focus-within .behide-skill-seg {
	filter: saturate(1.08);
}

.behide-skill-seg--strategy { background: rgba(212, 175, 55, 0.9); }
.behide-skill-seg--tech { background: rgba(0, 84, 255, 0.92); }
.behide-skill-seg--creative { background: rgba(148, 163, 184, 0.75); }
.behide-skill-seg--geo { background: rgba(16, 185, 129, 0.9); }

.behide-skill-legend {
	list-style: none;
	margin: 0.55rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.35rem;
}

.behide-skill-legend__item {
	display: grid;
	grid-template-columns: 10px 1fr auto;
	gap: 0.5rem;
	align-items: center;
	font-size: 0.78rem;
	color: rgba(15, 23, 42, 0.7);
}

.behide-skill-legend__dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.22);
}
.behide-skill-legend__dot--strategy { background: rgba(212, 175, 55, 0.9); }
.behide-skill-legend__dot--tech { background: rgba(0, 84, 255, 0.92); }
.behide-skill-legend__dot--creative { background: rgba(148, 163, 184, 0.75); }
.behide-skill-legend__dot--geo { background: rgba(16, 185, 129, 0.9); }

.behide-skill-legend__pct {
	font-weight: 800;
	color: rgba(15, 23, 42, 0.62);
}

@media (max-width: 480px) {
	.behide-skill-legend {
		gap: 0.5rem;
	}

	.behide-skill-legend__item {
		grid-template-columns: 10px 1fr;
		align-items: start;
	}

	.behide-skill-legend__pct {
		grid-column: 2;
		justify-self: start;
	}
}

.behide-skill-row {
	display: grid;
	grid-template-columns: 1fr 2.2fr;
	gap: 0.5rem;
	align-items: center;
	font-size: 0.72rem;
	font-weight: 750;
	color: rgba(15, 23, 42, 0.72);
}

.behide-ecosystem .behide-skill-row {
	grid-template-columns: 1fr;
	gap: 0.28rem;
}

.behide-skill-row__track {
	display: block;
	height: 6px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.08);
	overflow: hidden;
}

.behide-skill-row__fill {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.45));
	transform-origin: left center;
	transition: transform var(--ease);
}

.behide-ecosystem__card:hover .behide-skill-row__fill,
.behide-ecosystem__card:focus-within .behide-skill-row__fill {
	transform: scaleX(1.02);
}

.behide-ecosystem__card--strategy .behide-skill-row__fill {
	background: linear-gradient(90deg, rgba(212, 175, 55, 0.35), rgba(212, 175, 55, 0.85));
}

.behide-ecosystem__card--tech .behide-skill-row__fill {
	background: linear-gradient(90deg, rgba(0, 84, 255, 0.35), rgba(0, 84, 255, 0.92));
}

.behide-ecosystem__card--creative .behide-skill-row__fill {
	background: linear-gradient(90deg, rgba(203, 213, 225, 0.45), rgba(100, 116, 139, 0.55));
}

.behide-ecosystem__card--geo .behide-skill-row__fill {
	background: linear-gradient(90deg, rgba(16, 185, 129, 0.35), rgba(16, 185, 129, 0.92));
}

/**
 * Ritratto partner: 3:4, cover, hover saturate; placeholder con icona user se manca il file.
 */
.behide-partner-card__photo {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	margin: 0 0 1rem;
	overflow: hidden;
	background: linear-gradient(160deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.02));
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.behide-partner-card__photo-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 22%;
	filter: saturate(0.88);
	transition: filter 240ms ease, transform 260ms ease;
}

.behide-fp-hero__bg {
	position: relative;
}

.behide-fp-hero__poster,
.behide-fp-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: opacity 320ms var(--ease-premium);
}

.behide-fp-hero__poster {
	opacity: 1;
	filter: saturate(0.92) contrast(1.02);
}

.behide-fp-hero__video {
	opacity: 1;
}

.behide-ecosystem__card:hover .behide-partner-card__photo-img,
.behide-ecosystem__card:focus-within .behide-partner-card__photo-img {
	filter: saturate(1.12);
	transform: scale(1.02);
}

.behide-partner-card__photo--empty {
	display: grid;
	place-items: center;
}

.behide-partner-card__photo--empty::after {
	content: "";
	width: 52px;
	height: 52px;
	opacity: 0.38;
	background-color: rgba(15, 23, 42, 0.45);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-position: center;
	mask-position: center;
}

.behide-ecosystem__card--geo:hover .behide-partner-card__photo--empty::after,
.behide-ecosystem__card--geo:focus-within .behide-partner-card__photo--empty::after {
	opacity: 0.5;
	background-color: var(--accent-geo);
}

/* Trust marquee: loghi clienti in scorrimento lento (grayscale → colore on hover) */
.behide-trust-marquee {
	overflow: hidden;
	margin-top: 1.1rem;
	padding-bottom: 0.35rem;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.behide-trust-marquee__track {
	display: flex;
	gap: 2.4rem;
	width: max-content;
	animation: behide-marquee 44s linear infinite;
	will-change: transform;
}

.behide-trust-marquee:hover .behide-trust-marquee__track {
	animation-play-state: paused;
}

.behide-social-proof__logos {
	display: flex;
	gap: 2.4rem;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.behide-social-proof__logo-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 0.95rem;
	border-radius: 999px;
	border: 1px solid rgba(15, 23, 42, 0.1);
	background: rgba(255, 255, 255, 0.9);
	filter: grayscale(1) contrast(1.05) opacity(0.6);
	transition: filter 240ms var(--ease-premium), transform 240ms var(--ease-premium);
	white-space: nowrap;
	font-weight: 800;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.behide-social-proof__logo-item:hover .behide-social-proof__logo-placeholder,
.behide-social-proof__logo-item:focus-within .behide-social-proof__logo-placeholder {
	filter: grayscale(0) contrast(1) opacity(1);
	transform: translateY(-1px);
}

@keyframes behide-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.behide-trust-marquee__track {
		animation: none;
	}
}

/* Footer istituzionale (iniettato via wp_footer) */
.behide-footer-legal {
	border-top: 1px solid rgba(15, 23, 42, 0.08);
	background: rgba(248, 250, 252, 0.92);
	padding: 1.1rem 1.25rem;
}

.behide-footer-legal__inner {
	max-width: 1140px;
	margin: 0 auto;
	display: grid;
	gap: 0.85rem 1.25rem;
	grid-template-columns: 1fr;
	align-items: start;
}

@media (min-width: 981px) {
	.behide-footer-legal__inner {
		grid-template-columns: 1.4fr 1fr auto;
		align-items: center;
	}
}

.behide-footer-legal__name {
	margin: 0 0 0.15rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--primary-color);
}

.behide-footer-legal__structure {
	margin: 0;
	color: rgba(15, 23, 42, 0.68);
	line-height: 1.55;
	font-size: 0.92rem;
}

.behide-footer-legal__meta {
	color: rgba(15, 23, 42, 0.62);
	font-size: 0.9rem;
	line-height: 1.55;
}

.behide-footer-legal__line {
	margin: 0;
}

.behide-footer-legal__links {
	display: inline-flex;
	gap: 0.6rem;
	align-items: center;
	justify-content: flex-start;
}

.behide-footer-legal__link {
	color: rgba(15, 23, 42, 0.74);
	font-weight: 800;
	text-decoration: underline;
	text-decoration-color: rgba(15, 23, 42, 0.22);
}

.behide-footer-legal__link:hover,
.behide-footer-legal__link:focus-visible {
	color: var(--primary-color);
	text-decoration-color: rgba(15, 23, 42, 0.42);
}

.behide-footer-legal__sep {
	color: rgba(15, 23, 42, 0.32);
}

/* Accento per pilastro: barra superiore + colore “pillar” */
.behide-ecosystem__card::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: var(--accent-tech);
}

.behide-ecosystem__card--strategy::before {
	background: var(--accent-strategy);
}

.behide-ecosystem__card--tech::before {
	background: var(--accent-tech);
}

.behide-ecosystem__card--creative::before {
	background: var(--accent-creative);
}

.behide-ecosystem__card--geo::before {
	background: var(--accent-geo);
}

.behide-ecosystem__pillar {
	margin: 0 0 0.65rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(15, 23, 42, 0.55);
}

.behide-ecosystem__h3 {
	margin: 0 0 0.35rem;
	font-size: 1.12rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--primary-color);
}

.behide-ecosystem__person {
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	font-weight: 650;
	color: rgba(15, 23, 42, 0.88);
}

.behide-partner-card__body .behide-ecosystem__pillar {
	margin-top: 0.15rem;
}

.behide-partner-card__body .behide-ecosystem__sub {
	margin: 0 0 0.85rem;
	flex-grow: 0;
}

.behide-ecosystem__entity {
	font-weight: 600;
	color: rgba(15, 23, 42, 0.62);
}

.behide-ecosystem__sub {
	margin: 0 0 auto;
	font-size: 0.98rem;
	line-height: 1.65;
	color: var(--text-muted);
	flex-grow: 1;
}

/* Logo mini in fondo: stessa altezza “slot” per parità visiva */
.behide-ecosystem__logo {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 44px;
}

.behide-ecosystem__logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.35rem 0.65rem;
	border-radius: 10px;
	border: 1px solid rgba(15, 23, 42, 0.1);
	background: rgba(255, 255, 255, 0.9);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(15, 23, 42, 0.78);
	filter: grayscale(1) contrast(1.05) opacity(0.78);
	transition: filter var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

.behide-ecosystem__card:hover .behide-ecosystem__logo-mark,
.behide-ecosystem__card:focus-within .behide-ecosystem__logo-mark {
	filter: grayscale(0) contrast(1) opacity(1);
	transform: translateY(-1px);
}

.behide-ecosystem__card--strategy:hover .behide-logo--behide,
.behide-ecosystem__card--strategy:focus-within .behide-logo--behide {
	color: var(--accent-strategy);
	border-color: rgba(212, 175, 55, 0.35);
}

.behide-ecosystem__card--tech:hover .behide-logo--dr,
.behide-ecosystem__card--tech:focus-within .behide-logo--dr {
	color: var(--accent-tech);
	border-color: rgba(0, 84, 255, 0.28);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	letter-spacing: 0.12em;
}

.behide-ecosystem__card--creative:hover .behide-logo--op,
.behide-ecosystem__card--creative:focus-within .behide-logo--op {
	color: var(--primary-color);
	border-color: rgba(203, 213, 225, 0.85);
	font-style: italic;
	letter-spacing: 0.02em;
	text-transform: none;
}

.behide-ecosystem__card--geo:hover .behide-logo--geo,
.behide-ecosystem__card--geo:focus-within .behide-logo--geo {
	color: rgba(6, 95, 70, 0.98);
	border-color: rgba(16, 185, 129, 0.45);
}

/* ------------------------------------------------------------------
   Il Metodo Integrato — flusso a 3 step con connettori
   ------------------------------------------------------------------ */

.behide-methodology {
	box-sizing: border-box;
	width: 100%;
	padding: clamp(2.75rem, 5.5vw, 4rem) 1.25rem;
	background: var(--surface);
}

.behide-methodology__inner {
	max-width: 1140px;
	margin: 0 auto;
}

.behide-methodology__header {
	text-align: center;
	max-width: 46rem;
	margin: 0 auto 1.75rem;
}

.behide-methodology__kicker {
	margin: 0 0 0.65rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(15, 23, 42, 0.55);
}

.behide-methodology__title {
	margin: 0;
	font-size: clamp(1.25rem, 2.4vw, 1.65rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--primary-color);
}

.behide-methodology__flow {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	counter-reset: behideStep;
}

@media (min-width: 981px) {
	.behide-methodology__flow {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 2.25rem;
		row-gap: 0;
		align-items: stretch;
	}
}

.behide-methodology__step {
	position: relative;
	margin: 0;
	padding: 1.15rem 1.1rem 1.2rem;
	border-radius: var(--radius);
	border: 1px solid var(--border-subtle);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.65));
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
	counter-increment: behideStep;
}

.behide-methodology__step-title {
	margin: 0 0 0.45rem;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(15, 23, 42, 0.62);
}

.behide-methodology__step-title::before {
	content: counter(behideStep) ". ";
	color: rgba(15, 23, 42, 0.42);
	font-weight: 800;
	letter-spacing: 0.08em;
}

.behide-methodology__step-text {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.65;
	color: var(--text-muted);
}

/* Connettori: desktop = freccia orizzontale tra step; mobile = linea verticale */
@media (max-width: 980px) {
	.behide-methodology__step + .behide-methodology__step {
		padding-top: 1.65rem;
	}

	.behide-methodology__step + .behide-methodology__step::before {
		content: "";
		position: absolute;
		left: 50%;
		top: -0.85rem;
		width: 1px;
		height: 0.85rem;
		background: rgba(15, 23, 42, 0.18);
		transform: translateX(-50%);
	}
}

@media (min-width: 981px) {
	.behide-methodology__step + .behide-methodology__step::before {
		content: "";
		position: absolute;
		left: calc(-1.125rem - 22px);
		top: 50%;
		width: calc(1.125rem + 22px);
		height: 1px;
		background: rgba(15, 23, 42, 0.18);
		transform: translateY(-50%);
	}

	.behide-methodology__step + .behide-methodology__step::after {
		content: "";
		position: absolute;
		left: -12px;
		top: 50%;
		width: 7px;
		height: 7px;
		border-right: 1px solid rgba(15, 23, 42, 0.28);
		border-top: 1px solid rgba(15, 23, 42, 0.28);
		transform: translateY(-50%) rotate(45deg);
	}
}

/* ------------------------------------------------------------------
   Documenti interni — L’Ecosistema / Servizi / Contatti
   ------------------------------------------------------------------ */

.behide-doc {
	box-sizing: border-box;
	width: 100%;
	padding: clamp(2.75rem, 6vw, 4rem) 1.25rem;
	background: var(--bg-light);
	color: var(--text-main);
}

.behide-doc__hero {
	max-width: 980px;
	margin: 0 auto 1.75rem;
	text-align: left;
}

.behide-doc__kicker {
	margin: 0 0 0.75rem;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(15, 23, 42, 0.55);
}

.behide-doc__h1 {
	margin: 0 0 0.85rem;
	font-size: clamp(1.75rem, 3.2vw, 2.55rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.12;
	color: var(--primary-color);
}

.behide-doc__lead {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--text-muted);
}

.behide-doc__vision {
	margin: 0 auto 2rem;
	max-width: 980px;
}

.behide-doc__vision-inner {
	padding: 1.25rem 1.15rem;
	border-radius: var(--radius);
	border: 1px solid rgba(15, 23, 42, 0.1);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: var(--shadow-soft);
	border-left: 4px solid var(--accent-strategy);
}

.behide-doc__vision-text {
	margin: 0 0 0.85rem;
	font-size: 1.02rem;
	line-height: 1.75;
	color: rgba(15, 23, 42, 0.86);
}

.behide-doc__vision-sign {
	margin: 0;
	font-weight: 800;
	color: var(--primary-color);
}

.behide-doc__vision-role {
	font-weight: 650;
	color: rgba(15, 23, 42, 0.62);
}

.behide-doc__souls {
	max-width: 1140px;
	margin: 0 auto;
}

.behide-doc__souls-header {
	max-width: 980px;
	margin: 0 auto 1.25rem;
}

.behide-doc__h2 {
	margin: 0 0 0.35rem;
	font-size: clamp(1.25rem, 2.4vw, 1.75rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--primary-color);
}

.behide-doc__muted {
	margin: 0;
	color: var(--text-muted);
	line-height: 1.65;
}

.behide-doc__souls-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.1rem;
}

@media (min-width: 641px) {
	.behide-doc__souls-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 981px) {
	.behide-doc__souls-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.25rem;
		align-items: stretch;
	}
}

.behide-doc__soul {
	padding: 1.25rem 1.15rem;
	border-radius: var(--radius);
	border: 1px solid var(--border-subtle);
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.behide-doc__soul--creative {
	border-top: 3px solid var(--accent-creative);
}

.behide-doc__soul--tech {
	border-top: 3px solid var(--accent-tech);
}

.behide-doc__soul--geo {
	border-top: 3px solid var(--accent-geo);
}

.behide-doc__soul-kicker {
	margin: 0 0 0.65rem;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(15, 23, 42, 0.55);
}

.behide-doc__h3 {
	margin: 0 0 0.65rem;
	font-size: 1.12rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--primary-color);
}

.behide-doc__p {
	margin: 0 0 0.85rem;
	color: rgba(15, 23, 42, 0.86);
	line-height: 1.75;
}

.behide-doc__bullets {
	margin: 0;
	padding-left: 1.1rem;
	color: var(--text-muted);
	line-height: 1.7;
}

.behide-doc__appendix {
	max-width: 980px;
	margin: 2rem auto 0;
}

.behide-doc__appendix-inner {
	padding-top: 1rem;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* Servizi hub */
.behide-service-hub {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 0 1.5rem;
}

.behide-service-hub__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 641px) {
	.behide-service-hub__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 981px) {
	.behide-service-hub__inner {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.1rem;
		align-items: start;
	}
}

.behide-macro {
	padding: 1.15rem 1.05rem 1.05rem;
	border-radius: var(--radius);
	border: 1px solid rgba(15, 23, 42, 0.1);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: var(--shadow-soft);
}

.behide-macro__header {
	margin-bottom: 0.85rem;
}

.behide-macro__title {
	margin: 0.35rem 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--primary-color);
}

.behide-macro__sub {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--text-muted);
}

.behide-macro__empty {
	margin: 0;
	color: rgba(15, 23, 42, 0.65);
	font-size: 0.95rem;
}

.behide-macro__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.behide-macro__link {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.65rem;
	align-items: center;
	padding: 0.75rem 0.65rem;
	border-radius: 12px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	color: inherit;
	transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.behide-macro__link:hover,
.behide-macro__link:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
	border-color: rgba(15, 23, 42, 0.14);
}

.behide-macro__link-text {
	font-weight: 750;
	letter-spacing: -0.01em;
	color: rgba(15, 23, 42, 0.92);
	min-width: 0;
}

.behide-macro__chev {
	color: rgba(15, 23, 42, 0.35);
	font-weight: 900;
}

/* Badge servizi (macro) */
.behide-svc-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.35rem 0.55rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: 1px solid rgba(15, 23, 42, 0.12);
	white-space: nowrap;
}

.behide-svc-badge--strategy {
	color: rgba(15, 23, 42, 0.92);
	background: rgba(212, 175, 55, 0.14);
	border-color: rgba(212, 175, 55, 0.35);
}

.behide-svc-badge--tech {
	color: rgba(255, 255, 255, 0.96);
	background: rgba(0, 84, 255, 0.92);
	border-color: rgba(0, 84, 255, 0.35);
}

.behide-svc-badge--creative {
	color: rgba(15, 23, 42, 0.92);
	background: rgba(203, 213, 225, 0.35);
	border-color: rgba(203, 213, 225, 0.85);
}

.behide-svc-badge--geo {
	color: rgba(255, 255, 255, 0.96);
	background: rgba(5, 150, 105, 0.95);
	border-color: rgba(16, 185, 129, 0.45);
}

.behide-svc-badge--neutral {
	color: rgba(15, 23, 42, 0.86);
	background: rgba(15, 23, 42, 0.04);
	border-color: rgba(15, 23, 42, 0.12);
}

.behide-svc-badge--mini {
	padding: 0.22rem 0.45rem;
	font-size: 0.62rem;
	letter-spacing: 0.05em;
	white-space: normal;
	line-height: 1.15;
	text-align: center;
	max-width: 16rem;
}

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

	.behide-svc-badge--mini {
		justify-self: start;
	}

	.behide-macro__chev {
		display: none;
	}
}

/* Partner certificati (footer hub servizi) */
.behide-certified-partners {
	max-width: 1140px;
	margin: 1.75rem auto 0;
	padding: 1.5rem 1.1rem;
	border-radius: var(--radius);
	border: 1px solid rgba(15, 23, 42, 0.1);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: var(--shadow-soft);
}

.behide-certified-partners__title {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 900;
	color: var(--primary-color);
}

.behide-certified-partners__text {
	margin: 0 0 1rem;
	color: var(--text-muted);
	line-height: 1.65;
}

.behide-certified-partners__logos {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.behide-certified-partners__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 0.85rem;
	border-radius: 12px;
	border: 1px solid rgba(15, 23, 42, 0.1);
	background: rgba(255, 255, 255, 0.95);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(15, 23, 42, 0.78);
	filter: grayscale(1) contrast(1.05) opacity(0.78);
	transition: filter var(--ease), transform var(--ease), border-color var(--ease);
}

.behide-certified-partners__logo:hover,
.behide-certified-partners__logo:focus-visible {
	filter: grayscale(0) contrast(1) opacity(1);
	transform: translateY(-1px);
}

/* Contatti corporate */
.behide-contact-grid {
	max-width: 1140px;
	margin: 0 auto;
}

.behide-contact-grid__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 981px) {
	.behide-contact-grid__inner {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.1rem;
		align-items: stretch;
	}
}

.behide-contact-card {
	padding: 1.15rem 1.05rem;
	border-radius: var(--radius);
	border: 1px solid rgba(15, 23, 42, 0.1);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: var(--shadow-soft);
}

.behide-contact-card--strategy {
	border-top: 3px solid var(--accent-strategy);
}

.behide-contact-card--tech {
	border-top: 3px solid var(--accent-tech);
}

.behide-contact-card--creative {
	border-top: 3px solid var(--accent-creative);
}

.behide-contact-card__title {
	margin: 0 0 0.65rem;
	font-size: 1.02rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--primary-color);
}

.behide-contact-card__muted {
	margin: 0 0 0.75rem;
	color: var(--text-muted);
	line-height: 1.65;
	font-size: 0.95rem;
}

.behide-contact-card__line {
	margin: 0 0 0.45rem;
	color: rgba(15, 23, 42, 0.86);
	line-height: 1.55;
}

.behide-contact-card__line a {
	color: inherit;
	font-weight: 750;
	text-decoration: underline;
	text-decoration-color: rgba(0, 84, 255, 0.35);
}

.behide-contact-card__note {
	margin: 0.85rem 0 0;
	font-size: 0.92rem;
	color: rgba(15, 23, 42, 0.62);
	line-height: 1.55;
}

.behide-contact-footnote {
	max-width: 1140px;
	margin: 1rem auto 0;
	color: rgba(15, 23, 42, 0.62);
	font-size: 0.92rem;
	line-height: 1.55;
}

/* Single progetto — unità coinvolte + trust tech */
.behide-project-units {
	background: #fff;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	padding: clamp(2.25rem, 5vw, 3rem) 1.25rem;
}

.behide-project-units__inner {
	max-width: 1140px;
	margin: 0 auto;
}

.behide-project-units__header {
	max-width: 70ch;
	margin: 0 auto 1.25rem;
	text-align: center;
}

.behide-project-units__kicker {
	margin: 0 0 0.55rem;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(15, 23, 42, 0.55);
}

.behide-project-units__title {
	margin: 0 0 0.55rem;
	font-size: clamp(1.15rem, 2.2vw, 1.55rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--primary-color);
}

.behide-project-units__intro {
	margin: 0;
	color: var(--text-muted);
	line-height: 1.65;
}

.behide-project-units__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
}

@media (min-width: 981px) {
	.behide-project-units__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
		align-items: stretch;
	}
}

@media (min-width: 1200px) {
	.behide-project-units__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.behide-project-units__item {
	padding: 1rem 0.95rem;
	border-radius: var(--radius);
	border: 1px solid rgba(15, 23, 42, 0.1);
	background: rgba(249, 250, 251, 0.65);
}

.behide-project-units__top {
	display: flex;
	gap: 0.65rem;
	align-items: baseline;
	flex-wrap: wrap;
}

.behide-project-units__h3 {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--primary-color);
}

.behide-pu-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.22rem 0.45rem;
	border-radius: 999px;
	font-size: 0.62rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 1px solid rgba(15, 23, 42, 0.12);
	white-space: normal;
	text-align: center;
	line-height: 1.15;
	max-width: 16rem;
}

.behide-pu-chip--strategic-direction {
	background: rgba(212, 175, 55, 0.14);
	border-color: rgba(212, 175, 55, 0.35);
}

.behide-pu-chip--tech-ai-innovation {
	color: rgba(255, 255, 255, 0.96);
	background: rgba(0, 84, 255, 0.92);
	border-color: rgba(0, 84, 255, 0.35);
}

.behide-pu-chip--creative-brand-heritage {
	background: rgba(203, 213, 225, 0.35);
	border-color: rgba(203, 213, 225, 0.85);
}

.behide-pu-chip--geo-ai-visibility {
	color: rgba(255, 255, 255, 0.96);
	background: rgba(5, 150, 105, 0.95);
	border-color: rgba(16, 185, 129, 0.42);
}

.behide-project-units__person {
	margin: 0.65rem 0 0.35rem;
	color: rgba(15, 23, 42, 0.86);
	font-size: 0.95rem;
	line-height: 1.45;
}

.behide-project-units__company {
	color: rgba(15, 23, 42, 0.62);
	font-weight: 650;
}

.behide-project-units__role {
	margin: 0;
	color: rgba(15, 23, 42, 0.78);
	line-height: 1.65;
}

.behide-project-units__role--muted {
	color: rgba(15, 23, 42, 0.55);
	font-style: italic;
}

.behide-trust-tech--page {
	background: var(--bg-light);
	border-top: 1px solid rgba(15, 23, 42, 0.06);
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.behide-trust-tech {
	padding: clamp(2.25rem, 5vw, 3rem) 1.25rem;
}

.behide-trust-tech__inner {
	max-width: 980px;
	margin: 0 auto;
}

.behide-trust-tech__header {
	text-align: center;
	margin: 0 auto 1rem;
	max-width: 70ch;
}

.behide-trust-tech__kicker {
	margin: 0 0 0.55rem;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(15, 23, 42, 0.55);
}

.behide-trust-tech__title {
	margin: 0 0 0.55rem;
	font-size: clamp(1.15rem, 2.2vw, 1.55rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--primary-color);
}

.behide-trust-tech__intro {
	margin: 0;
	color: var(--text-muted);
	line-height: 1.65;
}

.behide-trust-tech__list {
	margin: 0;
	padding-left: 1.1rem;
	color: rgba(15, 23, 42, 0.86);
	line-height: 1.75;
}

.behide-trust-tech__list li {
	margin: 0.35rem 0;
}

/* Pagina Partners — lockup GEO */
.behide-partners__logo-text--geo {
	color: var(--accent-geo);
	font-weight: 900;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-size: 0.74rem;
}

/* ------------------------------------------------------------------
   Pagina template L'Ecosistema — full width, senza sidebar Divi
   ------------------------------------------------------------------ */

.behide-l-ecosistema #sidebar,
.behide-l-ecosistema.et_right_sidebar #sidebar,
.behide-l-ecosistema.et_left_sidebar #sidebar {
	display: none !important;
}

.behide-l-ecosistema.et_right_sidebar #left-area,
.behide-l-ecosistema.et_left_sidebar #left-area,
.behide-l-ecosistema #left-area {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	padding-right: 0 !important;
}

.behide-l-ecosistema-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.behide-doc__hero--ecosistema-page {
	padding: clamp(2rem, 4vw, 3rem) 1.25rem 0;
}

.behide-ecosystem--page {
	border-top: none;
}
