/* =========================================================================
   Sito Social Media (IT) – stili
   Colori e sfondi arrivano dal Customizer come variabili CSS.
   ====================================================================== */

:root {
	--smm-primario: #ff5a5f;
	--smm-accento: #6c3cff;
	--smm-scuro: #17163a;
	--smm-testo: #26253f;
	--smm-raggio: 22px;
	--smm-box-bg: rgba(255, 255, 255, .94);
	--smm-scheda-bg: rgba(255, 255, 255, .94);
	--smm-scuro-bg: #17163a;
	--smm-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--smm-ombra: 0 20px 50px -24px rgba(23, 22, 58, .35);
	--smm-larghezza: 1180px;
}

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

body.smm-page {
	color: var(--smm-testo);
	font-family: var(--smm-font);
	overflow-x: hidden;
}

body.smm-canvas {
	margin: 0;
	padding: 0;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.smm-blocco,
.smm-blocco *,
.smm-blocco *::before,
.smm-blocco *::after,
.smm-avviso-cookie,
.smm-avviso-cookie * {
	box-sizing: border-box;
}

.smm-blocco {
	font-family: var(--smm-font);
	color: var(--smm-testo);
	position: relative;
}

.smm-blocco p,
.smm-blocco li {
	font-size: 1.06rem;
	line-height: 1.7;
}

.smm-blocco a {
	color: var(--smm-accento);
}

.smm-principale {
	display: block;
	min-height: 60vh;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.smm-salta:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	left: 12px;
	top: 12px;
	z-index: 1000;
	background: #fff;
	padding: 10px 16px;
	border-radius: 8px;
}

/* Nei modelli del tema i blocchi si estendono a tutta la larghezza */
body.smm-page:not(.smm-canvas) .smm-blocco {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

body.smm-page:not(.smm-canvas) .site,
body.smm-page:not(.smm-canvas) #page,
body.smm-page:not(.smm-canvas) .site-content,
body.smm-page:not(.smm-canvas) #content,
body.smm-page:not(.smm-canvas) #primary,
body.smm-page:not(.smm-canvas) .site-main,
body.smm-page:not(.smm-canvas) .content-area,
body.smm-page:not(.smm-canvas) .content-bg,
body.smm-page:not(.smm-canvas) .entry,
body.smm-page:not(.smm-canvas) article.page,
body.smm-page:not(.smm-canvas) .inside-article,
body.smm-page:not(.smm-canvas) .ast-container,
body.smm-page:not(.smm-canvas) .ast-article-single,
body.smm-page:not(.smm-canvas) .wp-site-blocks {
	background: transparent !important;
	box-shadow: none !important;
}

.smm-container {
	width: 100%;
	max-width: var(--smm-larghezza);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Titoli ---------- */

.smm-intestazione {
	margin-bottom: 32px;
}

.smm-allinea-centro .smm-intestazione {
	text-align: center;
	max-width: 780px;
	margin-left: auto;
	margin-right: auto;
}

.smm-blocco .smm-sopratitolo {
	display: inline-block;
	margin: 0 0 14px;
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--smm-primario);
}

.smm-blocco .smm-titolo {
	margin: 0 0 16px;
	font-family: var(--smm-font);
	font-size: clamp(1.8rem, 3.4vw, 2.7rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.02em;
	color: var(--smm-scuro);
}

.smm-blocco .smm-intro {
	margin: 0;
	font-size: 1.15rem;
	opacity: .85;
}

.smm-blocco h3 {
	font-family: var(--smm-font);
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.3;
	margin: 28px 0 10px;
	color: var(--smm-scuro);
}

/* ---------- Pulsanti ---------- */

.smm-pulsanti {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.smm-allinea-centro .smm-pulsanti {
	justify-content: center;
}

.smm-blocco .smm-btn,
.smm-avviso-cookie .smm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 28px;
	border: 2px solid transparent;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--smm-primario), var(--smm-accento));
	color: #fff;
	font-family: var(--smm-font);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 12px 28px -12px var(--smm-primario);
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.smm-blocco .smm-btn:hover,
.smm-blocco .smm-btn:focus-visible,
.smm-avviso-cookie .smm-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px -12px var(--smm-primario);
	color: #fff;
}

.smm-blocco .smm-btn-contorno {
	background: transparent;
	border-color: rgba(255, 255, 255, .7);
	box-shadow: none;
}

.smm-blocco .smm-btn-contorno:hover {
	background: rgba(255, 255, 255, .12);
	box-shadow: none;
}

.smm-blocco .smm-btn-chiaro {
	background: #fff;
	color: var(--smm-scuro);
	box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .5);
}

.smm-blocco .smm-btn-chiaro:hover {
	color: var(--smm-scuro);
}

.smm-blocco .smm-btn-piccolo,
.smm-avviso-cookie .smm-btn-piccolo {
	padding: 10px 20px;
	font-size: .92rem;
}

/* ---------- Navigazione ---------- */

.smm-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .88);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid rgba(23, 22, 58, .07);
}

body.admin-bar .smm-nav {
	top: 32px;
}

.smm-nav-interno {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 76px;
	gap: 24px;
}

.smm-blocco .smm-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--smm-scuro);
	text-decoration: none;
}

.smm-logo img {
	max-height: 48px;
	width: auto;
	display: block;
}

.smm-logo-segno {
	width: 34px;
	height: 34px;
	border-radius: 11px;
	background: linear-gradient(135deg, var(--smm-primario), var(--smm-accento));
	position: relative;
	flex: none;
}

.smm-logo-segno::after {
	content: "";
	position: absolute;
	inset: 9px;
	border: 3px solid #fff;
	border-radius: 50%;
	border-right-color: transparent;
}

.smm-menu {
	display: flex;
	align-items: center;
	gap: 28px;
}

.smm-menu ul {
	display: flex;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.smm-menu li {
	margin: 0;
}

.smm-blocco .smm-menu a:not(.smm-btn) {
	color: var(--smm-scuro);
	font-weight: 600;
	font-size: .98rem;
	text-decoration: none;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
}

.smm-blocco .smm-menu a:not(.smm-btn):hover,
.smm-blocco .smm-menu a.smm-attivo {
	border-bottom-color: var(--smm-primario);
}

.smm-hamburger {
	display: none;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
}

.smm-hamburger span:not(.screen-reader-text) {
	display: block;
	width: 26px;
	height: 3px;
	margin: 5px 0;
	border-radius: 3px;
	background: var(--smm-scuro);
	transition: transform .2s ease, opacity .2s ease;
}

.smm-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.smm-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.smm-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */

.smm-hero {
	overflow: hidden;
	padding: clamp(80px, 12vw, 150px) 0 clamp(80px, 10vw, 130px);
	background: var(--smm-hero-bg, linear-gradient(130deg, var(--smm-scuro) 0%, #2a1f6b 55%, var(--smm-accento) 130%));
	color: #fff;
}

.smm-hero-decoro span {
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
	opacity: .55;
	pointer-events: none;
}

.smm-hero-decoro span:nth-child(1) {
	width: 420px;
	height: 420px;
	right: -120px;
	top: -140px;
	background: radial-gradient(circle at 30% 30%, var(--smm-primario), transparent 70%);
}

.smm-hero-decoro span:nth-child(2) {
	width: 300px;
	height: 300px;
	right: 18%;
	bottom: -160px;
	background: radial-gradient(circle at 50% 50%, var(--smm-accento), transparent 70%);
}

.smm-hero-decoro span:nth-child(3) {
	width: 160px;
	height: 160px;
	left: -40px;
	bottom: 40px;
	background: radial-gradient(circle, #ffc14d, transparent 70%);
	opacity: .35;
}

.smm-hero .smm-container {
	position: relative;
	z-index: 1;
}

.smm-hero-testo {
	max-width: 820px;
}

.smm-hero.smm-allinea-centro .smm-hero-testo {
	margin: 0 auto;
	text-align: center;
}

.smm-hero .smm-intestazione {
	margin-bottom: 20px;
}

.smm-hero .smm-sopratitolo {
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .25);
}

.smm-hero .smm-titolo {
	color: #fff;
	font-size: clamp(2.3rem, 5.4vw, 4.2rem);
	line-height: 1.06;
	letter-spacing: -.03em;
}

.smm-hero-sottotitolo p {
	font-size: clamp(1.08rem, 1.6vw, 1.28rem);
	color: rgba(255, 255, 255, .88);
	margin: 0 0 12px;
}

.smm-hero-sottotitolo a {
	color: #fff;
}

/* ---------- Sezioni e riquadri ---------- */

.smm-sezione,
.smm-schede,
.smm-confronto,
.smm-passi,
.smm-citazione,
.smm-contatti,
.smm-dati-aziendali {
	padding: clamp(36px, 6vw, 72px) 0;
}

.smm-riquadro {
	background: var(--smm-box-bg);
	border-radius: var(--smm-raggio);
	box-shadow: var(--smm-ombra);
	padding: clamp(28px, 5vw, 64px);
	margin: 0 auto;
}

.smm-larghezza-stretta .smm-riquadro,
.smm-larghezza-stretta .smm-contenuto { max-width: 760px; margin-left: auto; margin-right: auto; }
.smm-larghezza-normale .smm-riquadro,
.smm-larghezza-normale .smm-contenuto { max-width: 920px; margin-left: auto; margin-right: auto; }
.smm-larghezza-larga .smm-riquadro,
.smm-larghezza-larga .smm-contenuto { max-width: 100%; }

.smm-stile-pieno {
	background: var(--smm-box-bg);
}

.smm-stile-scuro {
	background: var(--smm-scuro-bg);
	color: rgba(255, 255, 255, .88);
}

.smm-stile-scuro .smm-titolo,
.smm-stile-scuro h3 {
	color: #fff;
}

.smm-stile-scuro p,
.smm-stile-scuro li {
	color: rgba(255, 255, 255, .86);
}

.smm-stile-scuro strong {
	color: #fff;
}

.smm-stile-scuro a {
	color: #ffc14d;
}

.smm-testo > :first-child { margin-top: 0; }
.smm-testo > :last-child { margin-bottom: 0; }

.smm-testo p {
	margin: 0 0 1.1em;
}

.smm-testo ul,
.smm-scheda-testo ul {
	margin: 0 0 1.2em;
	padding: 0;
	list-style: none;
}

.smm-testo ul li,
.smm-scheda-testo ul li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 10px;
}

.smm-testo ul li::before,
.smm-scheda-testo ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--smm-primario), var(--smm-accento));
	box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .55);
}

.smm-sezione .smm-testo strong {
	color: var(--smm-scuro);
}

.smm-stile-scuro .smm-testo strong {
	color: #fff;
}

.smm-sezione.smm-stile-scuro .smm-contenuto,
.smm-sezione.smm-stile-pieno .smm-contenuto {
	padding: clamp(16px, 4vw, 40px) 0;
}

/* ---------- Immagini ---------- */

.smm-immagine-blocco {
	padding: clamp(16px, 3vw, 32px) 0;
}

.smm-immagine {
	margin: 0 auto;
	text-align: center;
}

.smm-immagine-piccola { max-width: 420px; }
.smm-immagine-media { max-width: 720px; }
.smm-immagine-grande { max-width: 980px; }
.smm-immagine-piena { max-width: 100%; }

.smm-immagine img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--smm-raggio);
	background: var(--smm-box-bg);
	box-shadow: var(--smm-ombra);
}

.smm-immagine.smm-senza-cornice img {
	background: none;
	box-shadow: none;
	border-radius: 0;
}

.smm-blocco .smm-immagine figcaption {
	margin-top: 14px;
	font-size: .95rem;
	font-style: italic;
	opacity: .8;
}

/* ---------- Schede ---------- */

.smm-griglia {
	display: grid;
	gap: 24px;
}

.smm-colonne-1 { grid-template-columns: 1fr; }
.smm-colonne-2 { grid-template-columns: repeat(2, 1fr); }
.smm-colonne-3 { grid-template-columns: repeat(3, 1fr); }
.smm-colonne-4 { grid-template-columns: repeat(4, 1fr); }

.smm-scheda {
	background: var(--smm-scheda-bg);
	border-radius: var(--smm-raggio);
	padding: 30px 28px;
	box-shadow: var(--smm-ombra);
	text-align: left;
	border: 1px solid rgba(23, 22, 58, .06);
	transition: transform .25s ease, box-shadow .25s ease;
	display: flex;
	flex-direction: column;
}

.smm-scheda:hover {
	transform: translateY(-4px);
	box-shadow: 0 26px 56px -24px rgba(23, 22, 58, .45);
}

.smm-stile-pieno .smm-scheda {
	background: #fff;
}

.smm-stile-scuro .smm-scheda {
	background: rgba(255, 255, 255, .07);
	border-color: rgba(255, 255, 255, .12);
	box-shadow: none;
}

.smm-icona-cerchio {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	margin-bottom: 18px;
	color: #fff;
	background: linear-gradient(135deg, var(--smm-primario), var(--smm-accento));
	box-shadow: 0 12px 24px -12px var(--smm-accento);
}

.smm-scheda h3 {
	margin: 0 0 10px;
}

.smm-scheda-testo p {
	margin: 0 0 .8em;
	font-size: 1rem;
}

.smm-scheda-testo > :last-child { margin-bottom: 0; }

.smm-blocco .smm-scheda-nota {
	margin: auto 0 0;
	padding-top: 16px;
	font-size: .9rem;
	font-weight: 700;
	color: var(--smm-primario);
}

/* ---------- Confronto ---------- */

.smm-confronto-griglia {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	text-align: left;
}

.smm-colonna {
	border-radius: calc(var(--smm-raggio) - 4px);
	padding: 28px;
}

.smm-colonna h3 {
	margin: 0 0 18px;
	font-size: 1.15rem;
}

.smm-colonna ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.smm-colonna li {
	position: relative;
	padding: 12px 0 12px 36px;
	border-top: 1px solid rgba(23, 22, 58, .08);
	font-size: 1rem;
}

.smm-colonna li:first-child {
	border-top: 0;
}

.smm-colonna li::before {
	position: absolute;
	left: 0;
	top: 12px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 900;
	line-height: 24px;
	text-align: center;
}

.smm-colonna-prima {
	background: rgba(23, 22, 58, .05);
	color: rgba(38, 37, 63, .75);
}

.smm-colonna-prima li::before {
	content: "✕";
	background: rgba(23, 22, 58, .12);
	color: rgba(23, 22, 58, .6);
}

.smm-colonna-dopo {
	background: linear-gradient(150deg, var(--smm-primario), var(--smm-accento));
	color: #fff;
	box-shadow: 0 22px 44px -22px var(--smm-accento);
}

.smm-colonna-dopo h3 {
	color: #fff;
}

.smm-colonna-dopo li {
	border-top-color: rgba(255, 255, 255, .22);
	color: #fff;
}

.smm-colonna-dopo li::before {
	content: "✓";
	background: #fff;
	color: var(--smm-accento);
}

/* ---------- Passi ---------- */

.smm-passi-lista {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	counter-reset: smm-passo;
	text-align: left;
}

.smm-passo {
	counter-increment: smm-passo;
	position: relative;
	padding: 26px 24px;
	background: var(--smm-scheda-bg);
	border-radius: var(--smm-raggio);
	box-shadow: var(--smm-ombra);
	margin: 0;
}

.smm-stile-pieno .smm-passo { background: #fff; }

.smm-stile-scuro .smm-passo {
	background: rgba(255, 255, 255, .07);
	box-shadow: none;
}

.smm-passo::before {
	content: counter(smm-passo, decimal-leading-zero);
	display: block;
	margin-bottom: 12px;
	font-size: 2.4rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -.04em;
	background: linear-gradient(135deg, var(--smm-primario), var(--smm-accento));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.smm-passo h3 {
	margin: 0 0 8px;
}

.smm-passo p {
	margin: 0;
	font-size: 1rem;
}

/* ---------- Citazione ---------- */

.smm-citazione-testo {
	margin: 0 auto;
	padding: 0;
	border: 0;
	max-width: 860px;
	position: relative;
	background: none;
}

.smm-citazione-testo::before {
	content: "“";
	display: block;
	font-size: 6rem;
	line-height: .6;
	font-family: Georgia, serif;
	color: var(--smm-primario);
	margin-bottom: 10px;
}

.smm-blocco .smm-citazione-testo p {
	font-size: clamp(1.4rem, 2.8vw, 2.1rem);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -.01em;
	color: var(--smm-scuro);
	margin: 0;
	font-style: normal;
}

.smm-stile-scuro .smm-citazione-testo p { color: #fff; }

.smm-citazione-testo cite {
	display: block;
	margin-top: 18px;
	font-style: normal;
	font-weight: 700;
	color: var(--smm-primario);
}

/* ---------- Invito all'azione ---------- */

.smm-cta {
	padding: clamp(40px, 6vw, 80px) 0;
}

.smm-cta-riquadro {
	position: relative;
	overflow: hidden;
	text-align: center;
	color: #fff;
	border-radius: calc(var(--smm-raggio) + 6px);
	padding: clamp(40px, 7vw, 84px) clamp(24px, 6vw, 80px);
	background: var(--smm-cta-bg, linear-gradient(130deg, var(--smm-primario), var(--smm-accento)));
	box-shadow: 0 30px 60px -30px var(--smm-accento);
}

.smm-cta .smm-titolo {
	color: #fff;
	max-width: 820px;
	margin: 0 auto 16px;
}

.smm-cta .smm-testo {
	max-width: 680px;
	margin: 0 auto;
}

.smm-cta .smm-testo p {
	color: rgba(255, 255, 255, .92);
	font-size: 1.15rem;
}

.smm-cta .smm-pulsanti {
	justify-content: center;
}

/* ---------- Indice ---------- */

.smm-indice {
	padding: 36px 0 0;
}

.smm-indice-interno {
	background: var(--smm-box-bg);
	border-radius: var(--smm-raggio);
	box-shadow: var(--smm-ombra);
	padding: 24px 30px;
}

.smm-indice .smm-sopratitolo {
	margin-bottom: 10px;
}

.smm-indice ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.smm-blocco.smm-indice a {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(108, 60, 255, .09);
	color: var(--smm-accento);
	font-weight: 700;
	font-size: .95rem;
	text-decoration: none;
}

.smm-blocco.smm-indice a:hover {
	background: var(--smm-accento);
	color: #fff;
}

.smm-blocco[id],
.smm-blocco [id] {
	scroll-margin-top: 110px;
}

/* ---------- Modulo contatti ---------- */

.smm-campi {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 20px;
}

.smm-campo-intero {
	grid-column: 1 / -1;
}

.smm-blocco .smm-campo {
	margin: 0 0 18px;
}

.smm-campo label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
	font-size: .95rem;
	color: var(--smm-scuro);
}

.smm-campo input,
.smm-campo textarea {
	width: 100%;
	padding: 14px 16px;
	border: 2px solid rgba(23, 22, 58, .12);
	border-radius: 14px;
	background: #fff;
	color: var(--smm-testo);
	font: inherit;
	font-size: 1rem;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.smm-campo input:focus,
.smm-campo textarea:focus {
	outline: none;
	border-color: var(--smm-accento);
	box-shadow: 0 0 0 4px rgba(108, 60, 255, .15);
}

.smm-blocco .smm-consenso {
	font-size: .95rem;
	margin: 0 0 12px;
}

.smm-consenso label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	cursor: pointer;
}

.smm-consenso input {
	margin-top: 5px;
	width: 18px;
	height: 18px;
	flex: none;
	accent-color: var(--smm-accento);
}

.smm-blocco .smm-nota-modulo {
	font-size: .88rem;
	opacity: .75;
}

.smm-campo-nascosto {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.smm-esito {
	padding: 16px 20px;
	border-radius: 14px;
	margin-bottom: 24px;
	font-weight: 600;
}

.smm-esito-ok {
	background: #e6f8f1;
	color: #0b6b4b;
	border: 1px solid #a6e7cf;
}

.smm-esito-errore {
	background: #fff0f0;
	color: #a1262b;
	border: 1px solid #ffc5c7;
}

/* ---------- Dati aziendali e social ---------- */

.smm-dati {
	margin: 0;
	display: grid;
	gap: 0;
}

.smm-dato-riga {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid rgba(23, 22, 58, .08);
}

.smm-dato-riga:first-child {
	border-top: 0;
}

.smm-dati dt {
	font-weight: 800;
	color: var(--smm-scuro);
}

.smm-dati dd {
	margin: 0;
}

.smm-social {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.smm-social li {
	margin: 0;
}

.smm-blocco .smm-social a {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	border: 2px solid currentColor;
	font-weight: 700;
	font-size: .9rem;
	text-decoration: none;
}

/* ---------- Piè di pagina ---------- */

.smm-footer {
	background: var(--smm-scuro);
	color: rgba(255, 255, 255, .78);
	padding: 64px 0 28px;
	margin-top: 40px;
}

.smm-footer-griglia {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 40px;
}

.smm-blocco .smm-footer-marchio {
	font-size: 1.35rem;
	font-weight: 800;
	color: #fff;
	margin: 0 0 8px;
}

.smm-blocco .smm-footer-titolo {
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 14px;
}

.smm-footer p {
	color: rgba(255, 255, 255, .72);
	margin: 0 0 10px;
	font-size: 1rem;
}

.smm-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.smm-footer li {
	margin: 0 0 8px;
	font-size: 1rem;
}

.smm-blocco.smm-footer a {
	color: rgba(255, 255, 255, .85);
	text-decoration: none;
}

.smm-blocco.smm-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.smm-footer .smm-social a {
	color: #fff;
	border-color: rgba(255, 255, 255, .35);
}

.smm-blocco .smm-footer-legale {
	margin: 44px 0 0;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: .88rem;
	color: rgba(255, 255, 255, .55);
}

/* ---------- Avviso cookie ---------- */

.smm-avviso-cookie {
	position: fixed;
	left: 20px;
	right: 20px;
	bottom: 20px;
	z-index: 9999;
	max-width: 720px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 18px 22px;
	border-radius: 18px;
	background: var(--smm-scuro);
	color: #fff;
	font-family: var(--smm-font);
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55);
}

.smm-avviso-cookie[hidden] {
	display: none;
}

.smm-avviso-cookie .smm-btn {
	white-space: nowrap;
	flex: none;
}

.smm-avviso-cookie p {
	margin: 0;
	font-size: .92rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, .88);
}

.smm-avviso-cookie a {
	color: #ffc14d;
}

.smm-avviso-editor {
	padding: 12px;
	background: #fff3cd;
	border: 1px dashed #c69500;
	text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	.smm-colonne-3,
	.smm-colonne-4 { grid-template-columns: repeat(2, 1fr); }
	.smm-passi-lista { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
	.smm-hamburger { display: block; }

	.smm-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 12px 24px 24px;
		background: #fff;
		box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
	}

	.smm-menu.smm-aperto { display: flex; }

	.smm-menu ul {
		flex-direction: column;
		gap: 0;
	}

	.smm-blocco .smm-menu a:not(.smm-btn) {
		display: block;
		padding: 14px 0;
		border-bottom: 1px solid rgba(23, 22, 58, .07);
	}

	.smm-menu .smm-btn { margin-top: 16px; }
}

@media (max-width: 782px) {
	body.admin-bar .smm-nav { top: 46px; }
}

@media (max-width: 680px) {
	.smm-colonne-2,
	.smm-colonne-3,
	.smm-colonne-4,
	.smm-confronto-griglia,
	.smm-passi-lista,
	.smm-campi,
	.smm-footer-griglia { grid-template-columns: 1fr; }

	.smm-dato-riga { grid-template-columns: 1fr; gap: 2px; }

	.smm-avviso-cookie { flex-direction: column; align-items: flex-start; }

	.smm-container { padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.smm-blocco *,
	.smm-blocco *::before { transition: none !important; }
}

.smm-blocco.smm-footer .smm-footer-nota a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}
