/* ==========================================================================
   SoloAdesivi.it — Tema
   Crema, vaniglia, oro biscotto, caramello, cacao. Forme morbide.
   ========================================================================== */

/* ---------- 1. VARIABILI ---------- */
:root {
	/* Testi: nero e grigi neutri */
	--ink: #121212;
	--ink-soft: #2e2e2e;
	--muted: #5f5f5f;

	/* Linee */
	--line: #e0e0e0;
	--line-soft: #f0f0f0;

	/* Sfondi neutri */
	--bg: #ffffff;
	--bg-soft: #f7f7f7;
	--bg-dark: #0f0f0f;

	/* Primario: nero */
	--primary: #1a1a1a;
	--primary-dark: #000000;
	--primary-soft: #f0f0f0;

	/* Accento: grigio antracite */
	--accent: #4a4a4a;
	--accent-soft: #ededed;

	--ok: #2f6b3d;

	/* Neutri di supporto */
	--vaniglia: #f2f2f2;
	--caramello: #3d3d3d;
	--crosta: #333333;
	--salvia: #6b6b6b;

	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--container: 1180px;
	--container-narrow: 740px;

	/* Forme morbide */
	--radius: 20px;
	--radius-sm: 14px;
	--radius-lg: 32px;
	--radius-pill: 999px;

	--shadow-sm: 0 1px 2px rgba(43, 58, 46, .05), 0 2px 8px rgba(43, 58, 46, .04);
	--shadow: 0 4px 14px rgba(43, 58, 46, .06), 0 12px 32px rgba(43, 58, 46, .05);
	--shadow-lg: 0 10px 30px rgba(43, 58, 46, .07), 0 30px 64px rgba(43, 58, 46, .09);

	--tracking-tight: -.02em;
}
/* ---------- 2. RESET ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink-soft);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	color: var(--ink);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: var(--tracking-tight);
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--crosta);
	text-decoration: none;
	transition: color .2s ease, opacity .2s ease;
}

a:hover {
	color: var(--caramello);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul, ol {
	margin: 0 0 1em;
	padding-left: 1.2em;
}

button {
	font: inherit;
	cursor: pointer;
}

.icon {
	width: 20px;
	height: 20px;
	flex: none;
}

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

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 12px 20px;
	clip: auto;
	background: var(--primary);
	color: #fff;
	border-radius: var(--radius-sm);
	z-index: 9999;
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
	border-radius: 6px;
}

/* ---------- 3. LAYOUT ---------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 28px;
}

.container-narrow {
	max-width: var(--container-narrow);
}

.section {
	padding: 104px 0;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 20px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--accent);
}

.eyebrow-center {
	justify-content: center;
}

.eyebrow-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
}

.section-head {
	max-width: 680px;
	margin: 0 0 56px;
}

.section-head-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	max-width: none;
}

.section-title {
	font-size: clamp(32px, 4.4vw, 54px);
	margin-bottom: 18px;
	line-height: 1.08;
}

.section-sub {
	max-width: 56ch;
	margin: 0;
	font-size: 18px;
	color: var(--muted);
}

.section-sub-left {
	text-align: left;
}

/* ---------- 4. BOTTONI ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 32px;
	border: 1.5px solid transparent;
	border-radius: var(--radius-pill);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn:active {
	transform: translateY(0);
}

.btn-sm {
	padding: 11px 22px;
	font-size: 14px;
}

.btn-lg {
	padding: 19px 38px;
	font-size: 16px;
}

.btn-primary {
	background: var(--primary);
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}

.btn-primary:hover {
	background: var(--primary-dark);
	color: #ffffff;
	box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

.btn-ghost {
	background: #ffffff;
	color: var(--ink);
	border-color: var(--line);
	box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
	color: var(--ink);
	border-color: var(--accent);
	background: var(--accent-soft);
}

.btn-light {
	background: #ffffff;
	color: var(--ink);
}

.btn-light:hover {
	color: var(--ink);
	background: var(--vaniglia);
}

.btn-outline-light {
	background: transparent;
	color: #ffffff;
	border-color: rgba(255, 255, 255, .45);
}

.btn-outline-light:hover {
	color: var(--ink);
	background: #ffffff;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 15px;
	font-weight: 600;
	color: var(--crosta);
}

.link-arrow .icon {
	width: 17px;
	height: 17px;
	transition: transform .2s ease;
}

.link-arrow:hover .icon {
	transform: translateX(4px);
}

/* ---------- 5. HEADER ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(160%) blur(12px);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--line-soft);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: 82px;
}

.site-branding {
	flex: none;
}

.site-brand-text {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: var(--ink);
}

.site-brand-text:hover {
	color: var(--ink);
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: linear-gradient(140deg, var(--accent), var(--caramello));
	color: #ffffff;
	font-size: 17px;
	font-weight: 700;
	box-shadow: 0 6px 14px rgba(0, 0, 0, .22);
}

.brand-name {
	position: relative;
	display: inline-block;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.045em;
	color: var(--ink);
	line-height: 1;
	padding-bottom: 6px;
	transition: color .2s ease;
	white-space: nowrap;
}

/* ".it" identico alla scritta: nessuna gerarchia visiva */
.brand-name .brand-tld {
	font-weight: inherit;
	letter-spacing: inherit;
	color: inherit;
	font-size: inherit;
}

/* filetto nero sotto la scritta */
.brand-name::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: var(--ink);
	transition: transform .3s ease;
	transform-origin: left center;
}

.site-brand-text:hover .brand-name {
	color: #000;
}

.site-brand-text:hover .brand-name::after {
	transform: scaleX(1.08);
	opacity: 1;
}

.custom-logo-link img {
	max-height: 44px;
	width: auto;
}

.main-navigation {
	margin-left: auto;
}

.main-navigation .menu {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation .menu > li {
	position: relative;
}

.main-navigation .menu > li > a {
	display: block;
	padding: 10px 16px;
	border-radius: var(--radius-pill);
	color: var(--ink-soft);
	font-size: 15px;
	font-weight: 500;
}

.main-navigation .menu > li > a:hover,
.main-navigation .menu > li.current-menu-item > a,
.main-navigation .menu > li.current_page_item > a {
	color: var(--primary);
	background: var(--primary-soft);
}

.main-navigation .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 210px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-navigation .sub-menu a {
	display: block;
	padding: 10px 14px;
	border-radius: 8px;
	color: var(--ink-soft);
	font-size: 14px;
	font-weight: 500;
}

.main-navigation .sub-menu a:hover {
	background: var(--bg-soft);
	color: var(--primary);
}

.header-actions {
	flex: none;
}

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0 10px;
	background: transparent;
	border: 0;
	border-radius: var(--radius-sm);
}

.menu-toggle-bar {
	height: 2px;
	width: 100%;
	background: var(--ink);
	border-radius: 2px;
	transition: transform .25s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 6. HERO ---------- */
.hero {
	position: relative;
	overflow: hidden;
	padding: 88px 0 96px;
	background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.hero-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.hero-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: .5;
}

.hero-blob-1 {
	width: 480px;
	height: 480px;
	top: -180px;
	right: -120px;
	background: radial-gradient(circle, rgba(0, 0, 0, .10), transparent 70%);
}

.hero-blob-2 {
	width: 400px;
	height: 400px;
	bottom: -180px;
	left: -140px;
	background: radial-gradient(circle, rgba(0, 0, 0, .06), transparent 70%);
}

.hero-grid {
	display: none;
}

.hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1.12fr;
	align-items: center;
	gap: 64px;
}

.hero-title {
	font-size: clamp(34px, 4.6vw, 62px);
	line-height: 1.06;
	letter-spacing: -.03em;
	font-weight: 700;
	margin-bottom: 34px;
	max-width: 16ch;
}

.hero-title .highlight {
	background: linear-gradient(120deg, var(--caramello), var(--accent));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	white-space: normal;
}

.hero-text {
	max-width: 46ch;
	font-size: 19px;
	color: var(--muted);
	margin-bottom: 36px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 0;
}

.hero-badges {
	display: none;
}

.hero-art {
	position: relative;
	min-height: 0;
}

.art-card,
.art-badge {
	display: none;
}

.hero-art-photo {
	position: relative;
	min-height: 0;
}

.hero-photo {
	position: relative;
	margin: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--vaniglia);
	box-shadow: var(--shadow-lg);
}

.hero-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.hero-photo::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
	pointer-events: none;
}

/* ---------- 7. SERVIZI ---------- */
.services {
	background: var(--bg);
}

.cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.cards-grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

.card {
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-card {
	padding: 36px 32px;
	display: flex;
	flex-direction: column;
}

.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent-soft);
}

.card-icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin-bottom: 26px;
	border-radius: 18px;
	background: var(--primary-soft);
	color: var(--crosta);
}

.card-icon .icon {
	width: 27px;
	height: 27px;
	stroke-width: 1.6;
}

.card-title {
	font-size: 22px;
	margin-bottom: 12px;
	letter-spacing: -.015em;
}

.card-text {
	color: var(--muted);
	font-size: 15.5px;
	line-height: 1.7;
	margin-bottom: 22px;
}

.card-list {
	margin: auto 0 0;
	padding: 22px 0 0;
	border-top: 1px solid var(--line-soft);
	list-style: none;
	display: grid;
	gap: 11px;
}

.card-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--ink-soft);
}

.card-list .icon {
	width: 16px;
	height: 16px;
	margin-top: 4px;
	color: var(--accent);
	stroke-width: 3;
}

/* ---------- 8. NUMERI ---------- */
.stats-section {
	padding: 0;
	background: var(--bg);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.stat {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 40px 28px;
	background: #ffffff;
	text-align: center;
}

.stat-value {
	font-size: clamp(30px, 3.4vw, 44px);
	font-weight: 700;
	letter-spacing: -.03em;
	color: var(--crosta);
	line-height: 1;
}

.stat-label {
	font-size: 13px;
	color: var(--muted);
	font-weight: 500;
}

/* ---------- 9. PERCHE NOI ---------- */
.why {
	background: var(--bg-soft);
}

.why-inner {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	align-items: center;
	gap: 72px;
}

.why .section-title,
.why .section-sub {
	text-align: left;
}

.feature-list {
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 24px;
}

.feature-list li {
	display: flex;
	gap: 18px;
}

.feature-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid var(--line);
	color: var(--crosta);
	box-shadow: var(--shadow-sm);
}

.feature-icon .icon {
	width: 22px;
	height: 22px;
	stroke-width: 1.6;
}

.feature-list strong {
	display: block;
	font-size: 17px;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 4px;
}

.feature-list p {
	margin: 0;
	font-size: 15px;
	color: var(--muted);
}

.why-panel {
	padding: 32px;
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.why-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 0;
	border-bottom: 1px dashed var(--line);
	font-size: 15px;
}

.why-row:last-of-type {
	border-bottom: 0;
}

.why-row span:first-child {
	color: var(--muted);
	font-size: 14px;
}

.why-row strong {
	color: var(--ink);
	font-weight: 600;
}

.pill {
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	font-size: 12.5px;
	font-weight: 600;
}

.pill-ok {
	background: #efefef;
	color: var(--ok);
}

.why-progress {
	margin-top: 22px;
	height: 8px;
	border-radius: var(--radius-pill);
	background: var(--primary-soft);
	overflow: hidden;
}

.why-progress span {
	display: block;
	width: 68%;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--caramello), var(--accent));
}

/* ---------- 10. POST CARD ---------- */
.latest {
	background: var(--bg);
}

.post-card {
	display: flex;
	flex-direction: column;
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent-soft);
}

.post-card-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--vaniglia);
}

.post-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.post-card:hover .post-card-thumb img {
	transform: scale(1.04);
}

.post-card-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--caramello);
	background: linear-gradient(140deg, var(--vaniglia), var(--accent-soft));
}

.post-card-placeholder .icon {
	width: 40px;
	height: 40px;
	opacity: .55;
}

.post-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 26px 26px 28px;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	color: var(--muted);
	text-transform: uppercase;
}

.post-meta a {
	color: var(--accent);
}

.post-meta-sep {
	opacity: .5;
}

.post-card-title {
	font-size: 20px;
	line-height: 1.3;
	margin-bottom: 10px;
	letter-spacing: -.015em;
}

.post-card-title a {
	color: var(--ink);
}

.post-card-title a:hover {
	color: var(--crosta);
}

.post-card-text {
	font-size: 15px;
	color: var(--muted);
	margin-bottom: 20px;
}

.post-card .link-arrow {
	margin-top: auto;
}

/* ---------- 11. CTA ---------- */
.cta-section {
	padding: 0 0 104px;
}

.cta-box {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 44px;
	padding: 64px 60px;
	border-radius: var(--radius-lg);
	background: #ffffff;
	color: var(--ink);
	border: 4px solid var(--accent);
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .04);
}

.cta-box::before {
	content: "";
	position: absolute;
	width: 420px;
	height: 420px;
	top: -190px;
	right: -90px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 0, 0, .05), transparent 70%);
	pointer-events: none;
}

.cta-copy {
	position: relative;
	max-width: 620px;
}

.cta-copy h2 {
	color: var(--ink);
	font-size: clamp(28px, 3.4vw, 44px);
	letter-spacing: -.025em;
	margin-bottom: 14px;
}

.cta-copy p {
	margin: 0;
	font-size: 17px;
	color: var(--muted);
}

.cta-actions {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	flex: none;
}

/* ---------- 12. PAGINE INTERNE ---------- */
.page-head {
	padding: 72px 0 48px;
	text-align: center;
}

.page-title {
	font-size: clamp(32px, 4.4vw, 52px);
	margin-bottom: 12px;
}

.page-desc {
	color: var(--muted);
	max-width: 60ch;
	margin: 0 auto;
}

.archive-main,
.single-main,
.page-main,
.error-main {
	padding-bottom: 104px;
}

.layout {
	display: grid;
	gap: 56px;
}

.layout.layout-sidebar {
	grid-template-columns: minmax(0, 1fr) 320px;
}

.layout-sidebar .cards-grid {
	grid-template-columns: repeat(2, 1fr);
}

.single-main .entry {
	padding-top: 72px;
}

.entry-header {
	margin-bottom: 32px;
}

.entry-title {
	font-size: clamp(32px, 4.6vw, 54px);
	letter-spacing: -.025em;
	line-height: 1.1;
}

.entry-lead {
	margin: 16px 0 0;
	font-size: 19px;
	color: var(--muted);
	line-height: 1.6;
}

.page-entry-header {
	padding-top: 72px;
	text-align: center;
}

.entry-thumb {
	margin: 0 0 40px;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.entry-content {
	font-size: 17.5px;
	line-height: 1.8;
}

.entry-content > * + * {
	margin-top: 1.15em;
}

.entry-content h2 {
	margin-top: 1.9em;
	font-size: 30px;
}

.entry-content h3 {
	margin-top: 1.7em;
	font-size: 23px;
}

.entry-content a {
	color: var(--crosta);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content blockquote {
	margin: 1.8em 0;
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--accent);
	color: var(--ink-soft);
	font-style: italic;
	font-size: 19px;
}

.entry-content img {
	border-radius: var(--radius-sm);
}

.entry-content code {
	padding: 2px 7px;
	border-radius: 6px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	font-size: .9em;
}

.entry-content pre {
	padding: 22px;
	border-radius: var(--radius-sm);
	background: var(--bg-dark);
	color: #f7ecd4;
	overflow-x: auto;
}

.entry-content pre code {
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.entry-content th,
.entry-content td {
	padding: 13px 15px;
	border: 1px solid var(--line);
	text-align: left;
}

.entry-content th {
	background: var(--bg-soft);
	font-weight: 600;
	color: var(--ink);
}

.entry-footer {
	margin-top: 44px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tags-list a {
	display: inline-block;
	padding: 7px 15px;
	border-radius: var(--radius-pill);
	background: var(--bg-soft);
	border: 1px solid var(--line);
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-soft);
}

.tags-list a:hover {
	background: var(--primary-soft);
	color: var(--primary);
	border-color: transparent;
}

.post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 52px 0 0;
}

.post-navigation a {
	display: block;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
	background: #ffffff;
}

.post-navigation a:hover {
	border-color: var(--accent);
	color: var(--crosta);
}

.nav-next {
	text-align: right;
}

.pagination {
	margin-top: 56px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 15px;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	font-size: 14.5px;
	font-weight: 600;
	color: var(--ink-soft);
	background: #ffffff;
}

.pagination .page-numbers:hover {
	border-color: var(--accent);
	color: var(--crosta);
}

.pagination .page-numbers.current {
	background: var(--primary);
	border-color: var(--primary);
	color: #ffffff;
}

.layout-sidebar .widget {
	margin-bottom: 32px;
	padding: 28px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.widget-title,
.footer-widget-title {
	font-size: 16px;
	margin-bottom: 18px;
}

.layout-sidebar .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	font-size: 15px;
}

.layout-sidebar .widget a {
	color: var(--ink-soft);
}

.layout-sidebar .widget a:hover {
	color: var(--crosta);
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form label {
	flex: 1;
	display: block;
}

.search-field {
	width: 100%;
	padding: 13px 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	font: inherit;
	font-size: 15px;
	color: var(--ink);
	background: #ffffff;
}

.search-field:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 4px var(--accent-soft);
}

.search-submit {
	padding: 13px 24px;
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--primary);
	color: #ffffff;
	font-size: 14.5px;
	font-weight: 600;
}

.no-results {
	padding: 48px;
	text-align: center;
	background: var(--bg-soft);
	border-radius: var(--radius);
}

.no-results .search-form {
	max-width: 420px;
	margin: 0 auto;
}

.error-404 {
	padding: 96px 0 48px;
	text-align: center;
}

.error-code {
	margin: 0 0 10px;
	font-size: clamp(84px, 15vw, 150px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.05em;
	background: linear-gradient(120deg, var(--caramello), var(--accent));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.error-title {
	margin-bottom: 14px;
}

.error-text {
	max-width: 48ch;
	margin: 0 auto 28px;
	color: var(--muted);
}

.error-search {
	max-width: 420px;
	margin: 0 auto 32px;
}

/* ---------- 13. FOOTER ---------- */
.site-footer {
	padding: 80px 0 36px;
	background: var(--bg-dark);
	color: rgba(255, 250, 243, .68);
}

.site-footer .site-brand-text,
.site-footer .brand-name {
	color: #fffaf3;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 56px;
	border-bottom: 1px solid rgba(255, 250, 243, .12);
}

.footer-tagline {
	margin: 18px 0 0;
	font-size: 15px;
	max-width: 32ch;
	color: rgba(255, 250, 243, .55);
	line-height: 1.65;
}

.footer-widget-title {
	color: #fffaf3;
	font-size: 15px;
	margin-bottom: 18px;
}

.footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 11px;
	font-size: 15px;
}

.footer-list a,
.footer-widget a {
	color: rgba(255, 250, 243, .68);
}

.footer-list a:hover,
.footer-widget a:hover {
	color: var(--accent);
}

.footer-cta-text {
	font-size: 15px;
	color: rgba(255, 250, 243, .55);
	margin-bottom: 18px;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 30px;
	font-size: 14px;
	color: rgba(255, 250, 243, .45);
}

.footer-bottom p {
	margin: 0;
}

/* ---------- 14. RESPONSIVE ---------- */
@media (max-width: 1024px) {
	.hero-inner,
	.why-inner {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.hero-title {
		max-width: none;
	}

	.hero-art-photo {
		max-width: 680px;
	}

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

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.layout.layout-sidebar {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 36px;
	}

	.cta-box {
		flex-direction: column;
		align-items: flex-start;
		gap: 32px;
		padding: 52px 40px;
	}
}

@media (max-width: 900px) {
	.menu-toggle {
		display: flex;
		order: 2;
		margin-left: auto;
	}

	.header-actions {
		order: 3;
	}

	.main-navigation {
		order: 4;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		margin-left: 0;
		padding: 14px 24px 22px;
		background: #ffffff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		display: none;
	}

	.main-navigation.is-open {
		display: block;
	}

	.main-navigation .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.main-navigation .menu > li > a {
		padding: 13px 16px;
		font-size: 16px;
	}

	.main-navigation .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-radius: 0;
		margin: 0 0 6px 16px;
		padding: 0 0 0 12px;
		border-left: 2px solid var(--line);
	}

	.header-inner {
		gap: 12px;
	}

	.header-actions .btn {
		padding: 10px 18px;
		font-size: 13px;
	}
}

@media (max-width: 720px) {
	body {
		font-size: 16px;
	}

	.section {
		padding: 68px 0;
	}

	.hero {
		padding: 56px 0 64px;
	}

	.hero-title {
		font-size: clamp(30px, 8vw, 42px);
		margin-bottom: 26px;
	}

	.section-head {
		margin-bottom: 36px;
	}

	.section-head-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.cards-grid,
	.cards-grid-3 {
		grid-template-columns: 1fr;
	}

	.stats-grid {
		grid-template-columns: 1fr;
	}

	.stat {
		padding: 30px 24px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.cta-section {
		padding-bottom: 68px;
	}

	.cta-box {
		padding: 40px 28px;
		border-radius: var(--radius);
	}

	.cta-actions {
		width: 100%;
	}

	.cta-actions .btn {
		flex: 1;
	}

	.post-navigation {
		grid-template-columns: 1fr;
	}

	.nav-next {
		text-align: left;
	}

	.entry-content {
		font-size: 16.5px;
	}

	.page-head {
		padding: 56px 0 36px;
	}

	.page-entry-header,
	.single-main .entry {
		padding-top: 52px;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 20px;
	}

	.hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hero-actions .btn {
		width: 100%;
	}

	.header-actions {
		display: none;
	}

	.brand-name {
		font-size: 17px;
	}
}

/* ---------- 15. WORDPRESS CORE ---------- */
.alignwide {
	max-width: 1060px;
	margin-left: auto;
	margin-right: auto;
}

.alignfull {
	max-width: none;
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.wp-block-image figcaption {
	margin-top: 9px;
	font-size: 14px;
	color: var(--muted);
	text-align: center;
}

.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.comments-area {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid var(--line);
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment-body {
	padding: 22px 0;
	border-bottom: 1px solid var(--line-soft);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 13px 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font: inherit;
	background: #ffffff;
}

/* CTA su sfondo bianco: bottone bianco con bordo oro, testo piu' grande */
.cta-box .btn-light {
	background: #ffffff;
	color: var(--ink);
	border: 3px solid var(--accent);
	box-shadow: none;
	padding: 22px 52px;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: .02em;
}

.cta-box .btn-light:hover {
	background: var(--accent-soft);
	color: var(--ink);
	border-color: var(--accent);
	box-shadow: none;
	opacity: 1;
}

/* ---------- 18. Icone personalizzate (immagini) ---------- */
img.icon {
	object-fit: contain;
	display: block;
}

.feature-icon img.icon {
	width: 30px;
	height: 30px;
}

.feature-icon {
	background: transparent;
	border: 0;
	box-shadow: none;
	width: 34px;
	height: 34px;
}

.card-icon img.icon {
	width: 40px;
	height: 40px;
}

.card-icon {
	background: transparent;
	width: 40px;
	height: 40px;
	border-radius: 0;
}

.card-list img.icon,
li img.icon.icon-check {
	width: 16px;
	height: 16px;
}

/* Icone servizi: immagini piu' grandi, senza riquadro */
.service-card .card-icon img.icon {
	width: 52px;
	height: 52px;
}

.service-card .card-icon {
	width: 52px;
	height: 52px;
	margin-bottom: 24px;
}

/* ---------- 19. Immagine "Perche noi" ---------- */
.why-figure {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.why-figure img {
	width: 100%;
	max-width: 520px;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 22px 44px rgba(0, 0, 0, .05));
}

@media (max-width: 1024px) {
	.why-figure {
		max-width: 520px;
		margin: 0 auto;
	}
}

/* ---------- 20. Pagina Servizi ---------- */
.page-head-left {
	text-align: left;
	padding: 72px 0 40px;
	border-bottom: 0;
	margin-bottom: 0;
}

.page-head-left .page-desc {
	margin: 0;
	max-width: 60ch;
}

.services-page .services-section {
	padding-top: 24px;
}

/* Scritta del brand nel footer (sfondo scuro) */
.site-footer .brand-name {
	color: #fffaf3;
	font-size: 23px;
	letter-spacing: .01em;
}

.site-footer .site-brand-text:hover .brand-name {
	color: var(--accent);
}

@media (max-width: 720px) {
	.brand-name {
		font-size: 19px;
	}

	.site-footer .brand-name {
		font-size: 21px;
	}
}

/* ---------- 22. Template articolo ---------- */
.container-article {
	max-width: 760px;
}

.article-hero {
	padding: 56px 0 40px;
}

.container-article .breadcrumb,
.article-hero .container {
	max-width: 760px;
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	font-size: 12.5px;
	color: var(--muted);
}

.breadcrumb a {
	color: var(--muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.breadcrumb a:hover {
	color: var(--ink);
}

.breadcrumb-current {
	color: var(--ink);
	max-width: 46ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.article-title {
	font-size: clamp(32px, 4.6vw, 54px);
	line-height: 1.06;
	letter-spacing: -.03em;
	margin-bottom: 20px;
	max-width: 22ch;
}

.article-lead {
	margin: 0 0 28px;
	font-size: 19px;
	line-height: 1.55;
	color: var(--muted);
	max-width: 60ch;
}

.article-meta {
	display: flex;
	align-items: center;
	gap: 14px;
}

.article-avatar {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .02em;
}

.article-meta-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.article-author {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--ink);
}

.article-meta-detail {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: var(--muted);
}

/* copertina */
.article-cover {
	margin: 0 0 48px;
}

.article-cover img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--radius);
}

/* corpo + indice */
.article-layout {
	display: block;
}

.article-body {
	min-width: 0;
}

.article-body .entry-content {
	font-size: 18px;
	line-height: 1.8;
}

.article-body .entry-content h2 {
	margin-top: 2em;
	font-size: 30px;
	letter-spacing: -.02em;
	scroll-margin-top: 100px;
}

.article-body .entry-content h3 {
	margin-top: 1.7em;
	font-size: 23px;
	scroll-margin-top: 100px;
}

/* indice laterale */
.article-toc {
	display: none;
}

.article-toc-inner {
	position: sticky;
	top: 110px;
	padding-top: 4px;
	border-left: 2px solid var(--line);
	padding-left: 20px;
}

.article-toc-title {
	margin: 0 0 14px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
}

.article-toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
	font-size: 14px;
	line-height: 1.45;
}

.article-toc-list a {
	color: var(--ink-soft);
	display: block;
	padding: 3px 0;
	transition: color .18s ease;
}

.article-toc-list a:hover {
	color: var(--ink);
}

.article-toc-list .toc-livello-3 {
	padding-left: 14px;
	font-size: 13.5px;
}

.article-toc-list .toc-livello-3 a {
	color: var(--muted);
}

/* indice solo su desktop largo */
@media (min-width: 1100px) {
	.article-layout.has-toc {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 240px;
		gap: 56px;
		align-items: start;
	}

	.article-layout.has-toc .article-body {
		max-width: 760px;
	}

	.article-toc {
		display: block;
	}

	.container-article {
		max-width: 1060px;
	}

	.article-hero .container,
	.article-layout.has-toc .article-body,
	.article-layout:not(.has-toc) {
		max-width: 760px;
	}

	.article-hero .container {
		margin-left: 0;
	}
}

/* argomenti */
.article-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 44px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.article-tags-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
}

/* card autore */
.author-box {
	display: flex;
	gap: 18px;
	margin-top: 48px;
	padding: 28px;
	background: var(--bg-soft);
	border-radius: var(--radius);
}

.author-box-avatar {
	display: grid;
	place-items: center;
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
}

.author-box-body {
	min-width: 0;
}

.author-box-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
}

.author-box-name {
	margin: 4px 0 8px;
	font-size: 19px;
	letter-spacing: -.02em;
}

.author-box-bio {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--muted);
}

/* navigazione con etichetta */
.post-navigation .nav-label {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}

/* articoli correlati */
.related-posts {
	padding: 72px 0 24px;
	margin-top: 56px;
	border-top: 1px solid var(--line);
	background: var(--bg-soft);
}

.related-posts .container,
.related-posts > .cards-grid {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 32px;
	padding-right: 32px;
}

.related-title {
	max-width: 1180px;
	margin: 0 auto 36px;
	padding: 0 32px;
	font-size: clamp(24px, 3vw, 34px);
	letter-spacing: -.025em;
}

.related-posts .cards-grid {
	padding-bottom: 48px;
	border-top: 0;
}

.related-posts .card {
	background: #fff;
}

.article-cta {
	padding-top: 0;
}

@media (max-width: 900px) {
	.article-hero {
		padding: 40px 0 32px;
	}

	.article-title {
		max-width: none;
	}

	.article-cover {
		margin-bottom: 32px;
	}

	.related-title,
	.related-posts .cards-grid {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media (max-width: 600px) {
	.author-box {
		flex-direction: column;
		gap: 14px;
		padding: 22px;
	}

	.article-body .entry-content {
		font-size: 17px;
	}
}
