/* ==========================================================================
   Piace Batterie – stili principali
   Identità da logo, biglietti da visita, flyer e catalogo:
   blu profondo con linee topografiche, fulmine arancio, accenti verdi.
   I colori arrivano dal Personalizza (variabili --c-*).
   ========================================================================== */

:root {
	--c-navy: #071C45;
	--c-royal: #0F4CA8;
	--c-blue: #0E79C4;
	--c-orange: #F58209;
	--c-amber: #F7A12B;
	--c-green: #5BC236;
	--c-paper: #FFFFFF;
	--c-mist: #EEF3FA;
	--c-line: rgba(7, 28, 69, .14);
	--c-muted: rgba(7, 28, 69, .7);
	--c-error: #D93A2B;

	--grad-brand: linear-gradient(135deg, var(--c-navy) 0%, var(--c-royal) 70%, #1C64C4 100%);
	--grad-orange: linear-gradient(135deg, var(--c-amber) 0%, var(--c-orange) 100%);

	--f-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
	--f-label: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
	--f-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

	--r-xl: 22px;
	--r-lg: 16px;
	--r-md: 12px;
	--r-pill: 999px;
	--stick: 0 18px 36px rgba(7, 28, 69, .22);
	--stick-sm: 0 6px 16px rgba(7, 28, 69, .2);

	--wrap: 1240px;
	--gutter: clamp(18px, 4vw, 40px);
	--space: clamp(64px, 9vw, 120px);
}

/* Reset essenziale ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--c-navy);
	background: var(--c-paper);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--c-orange); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-display);
	font-stretch: 112%;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.01em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-amber); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 999;
	background: var(--c-orange); color: var(--c-navy); padding: 10px 16px; border-radius: var(--r-md); font-weight: 700;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.section { padding-block: var(--space); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }

/* Toni colore ----------------------------------------------------------- */
.tone-orange { --tone: var(--c-orange); --on-tone: var(--c-navy); }
.tone-amber  { --tone: var(--c-amber);  --on-tone: var(--c-navy); }
.tone-green  { --tone: var(--c-green);  --on-tone: var(--c-navy); }
.tone-blue   { --tone: var(--c-blue);   --on-tone: #fff; }
.tone-royal  { --tone: var(--c-royal);  --on-tone: #fff; }
.tone-navy   { --tone: var(--c-navy);   --on-tone: #fff; }

/* Pattern: disegnati come maschere, prendono qualsiasi colore --------- */
.has-pattern, .has-topo { position: relative; isolation: isolate; }
.has-pattern::before, .has-topo::after {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	pointer-events: none;
}
.has-pattern::before {
	background: var(--pattern-color, currentColor);
	opacity: var(--pattern-opacity, .1);
	-webkit-mask: var(--pattern) repeat;
	mask: var(--pattern) repeat;
	-webkit-mask-size: var(--pattern-size, auto);
	mask-size: var(--pattern-size, auto);
}
.pattern-carica   { --pattern: url("../patterns/carica.svg"); }
.pattern-fulmini  { --pattern: url("../patterns/fulmini.svg"); }
.pattern-batteria { --pattern: url("../img/batteria-linea.svg"); --pattern-size: 420px auto; }

/* Linee topografiche del brand (come su flyer e biglietti) */
.has-topo::after {
	background: var(--topo-color, #fff);
	opacity: var(--topo-opacity, .08);
	-webkit-mask: url("../img/topo.png") center / cover no-repeat;
	mask: url("../img/topo.png") center / cover no-repeat;
}

/* Sfondo caricato dal Personalizza: sostituisce la grafica */
.has-photo-bg {
	background-image: var(--bg-photo) !important;
	background-size: cover;
	background-position: center;
}
.has-photo-bg::before, .has-photo-bg::after { display: none; }

/* Foto incorniciate come nei flyer */
.photo-frame {
	margin: 0;
	border: 4px solid var(--frame, var(--c-green));
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 22px 44px rgba(3, 12, 32, .4);
	background: var(--c-navy);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame--orange { --frame: var(--c-orange); }
.photo-frame--green { --frame: var(--c-green); }

/* Pulsanti ------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .85em 1.4em;
	border: 2px solid transparent;
	border-radius: var(--r-pill);
	font-family: var(--f-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--stick-sm); }
.btn:active { transform: none; box-shadow: none; }
.btn--lg { padding: 1em 1.6em; font-size: 1.0625rem; }
.btn--orange { background: var(--grad-orange); color: var(--c-navy); }
.btn--navy { background: var(--c-navy); color: #fff; }
.btn--white { background: #fff; color: var(--c-navy); }
.btn--line { background: transparent; color: var(--c-navy); border-color: var(--c-navy); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }

/* Barra in alto -------------------------------------------------------- */
.topbar { background: var(--c-navy); color: #fff; font-size: .9rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__msg, .topbar__phone, .topbar__contacts { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar__contacts { gap: 22px; }
.topbar__msg .icon { color: var(--c-orange); fill: var(--c-orange); stroke: none; }
.topbar__phone { font-weight: 700; text-decoration: none; white-space: nowrap; }
.topbar__phone .icon { color: var(--c-green); }

/* Testata -------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: #fff;
	border-bottom: 1px solid var(--c-line);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.site-brand { flex: none; }
.custom-logo { max-height: 58px; width: auto; }

.brand-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo__mark { width: 54px; height: auto; }
.brand-logo__text { display: flex; flex-direction: column; line-height: 1; }
.brand-logo__top {
	font-family: var(--f-display); font-stretch: 125%; font-weight: 900;
	font-size: 1.75rem; letter-spacing: -.01em; text-transform: uppercase;
	color: var(--c-orange);
}
.brand-logo__bottom {
	font-family: var(--f-display); font-stretch: 125%; font-weight: 600;
	font-size: .8rem; letter-spacing: .36em; text-transform: uppercase;
	color: var(--c-green); margin-top: 3px;
}

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.main-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a {
	display: block; padding: 10px 14px;
	font-weight: 700; text-decoration: none;
	border-bottom: 3px solid transparent;
}
.main-nav .menu a:hover { color: var(--c-royal); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a { border-bottom-color: var(--c-orange); }
.main-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 250px;
	list-style: none; margin: 8px 0 0; padding: 8px;
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--stick);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.main-nav .sub-menu a { border: 0; border-radius: var(--r-md); }
.main-nav .sub-menu a:hover { background: var(--c-mist); }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav__call { display: none; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.header-icon {
	position: relative; display: grid; place-items: center;
	width: 46px; height: 46px; border-radius: 50%;
	background: none; border: 0; cursor: pointer; text-decoration: none;
}
.header-icon:hover { background: var(--c-mist); }
.cart-count {
	position: absolute; top: 3px; right: 1px; min-width: 20px; height: 20px; padding: 0 5px;
	display: grid; place-items: center;
	background: var(--c-orange); color: var(--c-navy); border: 2px solid #fff;
	border-radius: var(--r-pill); font-size: .72rem; font-weight: 800;
}
.cart-count.is-empty { display: none; }
.menu-toggle { display: none; }
.menu-toggle .icon-close { display: none; }

.header-search { border-top: 1px solid var(--c-line); padding-block: 16px; background: var(--c-mist); }
.header-search[hidden] { display: none; }
.header-search form { display: flex; gap: 10px; }
.header-search input[type="search"] { flex: 1; }
.header-search label { flex: 1; display: flex; }

/* Campi generici */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
input[type="password"], input[type="number"], input[type="url"], select, textarea {
	width: 100%; padding: .8em 1em;
	background: #fff; border: 2px solid var(--c-line); border-radius: var(--r-md);
	transition: border-color .15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-blue); }
button[type="submit"], input[type="submit"] {
	padding: .8em 1.35em; border: 0; border-radius: var(--r-pill);
	background: var(--c-navy); color: #fff; font-weight: 700; cursor: pointer;
}

/* Titoli di sezione: maiuscolo largo come su flyer e catalogo -------- */
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-title {
	font-stretch: 125%; font-weight: 900; text-transform: uppercase;
	font-size: clamp(1.9rem, 4.2vw, 3.3rem); line-height: 1; letter-spacing: -.01em;
}
.section-lead { font-size: 1.15rem; color: var(--c-muted); margin: 0; max-width: 40em; }
.section-lead--green {
	font-family: var(--f-label); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1;
	letter-spacing: .03em; color: var(--c-green);
}

/* Apertura home -------------------------------------------------------- */
.hero {
	background: var(--grad-brand);
	color: #fff;
	padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 56px);
	overflow: hidden;
}
.hero::before {
	content: ""; position: absolute; inset: auto -10% -40% 40%; height: 80%; z-index: -1;
	background: radial-gradient(closest-side, rgba(91, 194, 54, .35), transparent);
	pointer-events: none;
}
.hero__watermark {
	position: absolute; z-index: -1; pointer-events: none;
	width: min(62vw, 820px); right: -14%; top: -18%;
	opacity: .07; filter: grayscale(1) brightness(3);
}
.hero__bolt {
	position: absolute; z-index: 0; pointer-events: none;
	height: 135%; width: auto; max-width: none;
	right: clamp(-120px, 4vw, 80px); top: -18%;
	opacity: .95;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .3));
}
.hero__grid {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
	gap: clamp(32px, 5vw, 72px);
}
.hero__title {
	font-stretch: 125%; font-weight: 900; text-transform: uppercase;
	font-size: clamp(2.5rem, 5.6vw, 4.9rem);
	line-height: .94; letter-spacing: -.015em;
	margin-bottom: .45em;
	text-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}
.free-stack {
	list-style: none; margin: 0 0 1.4em; padding: 0;
	font-family: var(--f-display); font-stretch: 125%; font-weight: 800;
	text-transform: uppercase; font-size: clamp(1.1rem, 2.1vw, 1.7rem); line-height: 1.25;
}
.free-stack__hl { font-weight: 900; }
.free-stack__hl--green { color: var(--c-green); }
.free-stack__hl--orange { color: var(--c-amber); }
.hero__text { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 34em; margin-bottom: 1.8em; color: rgba(255, 255, 255, .88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual { position: relative; padding: 0 0 12% 10%; }
.hero__photo { aspect-ratio: 16 / 11; transform: rotate(1.5deg); }
.hero__photo-small {
	position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 3 / 2;
	transform: rotate(-3deg);
}

.hero > .wrap { position: relative; z-index: 1; }
.promises {
	display: grid; grid-template-columns: repeat(3, 1fr);
	list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0;
	background: #fff; color: var(--c-navy);
	border-radius: var(--r-lg);
	box-shadow: 0 20px 40px rgba(3, 12, 32, .3);
	overflow: hidden;
}
.promises li { display: flex; align-items: center; gap: 14px; padding: 20px 24px; font-weight: 700; line-height: 1.3; }
.promises li + li { border-left: 1px solid var(--c-line); }
.promises .icon { width: 30px; height: 30px; color: var(--c-orange); }

/* Categorie ------------------------------------------------------------- */
.categories { background: #fff; }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cat-tile {
	--pattern-color: currentColor;
	--pattern-opacity: .09;
	display: flex; flex-direction: column; gap: 8px;
	min-height: 250px; padding: 26px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 55%), var(--tone);
	color: var(--on-tone);
	border-radius: var(--r-xl);
	text-decoration: none;
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease;
}
a.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--stick); }
.cat-tile__icon {
	display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: auto;
	background: #fff; color: var(--c-navy); border-radius: 16px;
	box-shadow: 0 8px 18px rgba(7, 28, 69, .18);
}
.cat-tile__icon .icon { width: 30px; height: 30px; }
.cat-tile__img {
	margin: -6px -6px auto; aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; background: #fff;
}
.cat-tile__img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.cat-tile__name {
	font-family: var(--f-display); font-stretch: 118%; font-weight: 900; text-transform: uppercase;
	font-size: 1.35rem; line-height: 1.05; margin-top: 18px;
}
.cat-tile__desc { font-size: .98rem; line-height: 1.45; opacity: .92; }
.cat-tile__count { font-family: var(--f-label); font-size: 1.2rem; letter-spacing: .04em; }

/* Prodotti in evidenza ------------------------------------------------- */
.featured { background: var(--c-mist); }
.featured--first { padding-top: clamp(48px, 6vw, 80px); }
.page-extra { padding-block: clamp(48px, 6vw, 80px); }

/* Come funziona -------------------------------------------------------- */
.services {
	background: var(--grad-brand); color: #fff;
	--pattern-color: #fff;
	--pattern-opacity: .08;
}
.services .section-title { color: var(--c-orange); }
.steps {
	counter-reset: step;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
	list-style: none; margin: 0; padding: 0;
}
.step {
	counter-increment: step;
	position: relative;
	padding: 30px 28px 32px;
	background: rgba(3, 12, 32, .28);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--r-lg);
	box-shadow: inset 0 5px 0 var(--tone);
	backdrop-filter: blur(2px);
}
.step::after {
	content: counter(step);
	position: absolute; top: 16px; right: 24px;
	font-family: var(--f-label); font-size: 4rem; line-height: 1;
	color: var(--tone);
}
.step .icon { width: 36px; height: 36px; color: var(--tone); margin-bottom: 20px; }
.step h3 { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 1.6rem; }
.step p { color: rgba(255, 255, 255, .85); margin: 0; }
.services__note {
	display: flex; align-items: center; gap: 16px;
	margin: 32px 0 0; padding: 20px 24px;
	background: rgba(91, 194, 54, .14);
	border: 2px solid var(--c-green); border-radius: var(--r-lg);
}
.services__note p { margin: 0; }
.services__note strong { color: var(--c-green); font-family: var(--f-display); font-stretch: 125%; text-transform: uppercase; }
.services__note .icon { width: 34px; height: 34px; color: var(--c-green); }

/* I nostri tecnici ---------------------------------------------------- */
.team__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.team__photos { position: relative; padding: 0 18% 14% 0; }
.team__photo-main { aspect-ratio: 4 / 5; }
.team__photo-side { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 1; }
.team__claim {
	font-family: var(--f-label); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1;
	letter-spacing: .03em; color: #3B8E1F; margin-bottom: .6em;
}
.team__copy > p { font-size: 1.1rem; max-width: 36em; }
.ticks { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.ticks .icon { color: var(--c-orange); margin-top: 2px; }
.iso-badge {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 10px 18px; border: 2px solid var(--c-navy); border-radius: var(--r-pill);
	font-weight: 700;
}
.iso-badge .icon { color: var(--c-blue); }

/* Fascia finale -------------------------------------------------------- */
.cta-band {
	background: var(--grad-orange);
	--pattern-color: var(--c-navy);
	--pattern-opacity: .08;
	padding-block: var(--space);
}
.cta-band__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.cta-band__title { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 4.2vw, 3.3rem); line-height: 1; }
.cta-band__copy p { font-size: 1.2rem; max-width: 32em; margin-bottom: 1.6em; }
.visit-card {
	background: #fff; padding: 32px;
	border-radius: var(--r-xl); box-shadow: 0 24px 48px rgba(7, 28, 69, .28);
}
.visit-card h3 { font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: 1.35rem; }
.visit-card__row { display: flex; gap: 12px; align-items: flex-start; }
.visit-card__row .icon { margin-top: 3px; color: var(--c-orange); }
.visit-card .btn { margin-top: 8px; }

/* Testata pagine interne ---------------------------------------------- */
.page-head {
	background: var(--grad-brand); color: #fff;
	padding-block: clamp(44px, 6vw, 84px);
	border-bottom: 6px solid var(--tone);
	overflow: hidden;
}
.page-head__bolt {
	position: absolute; z-index: -1; pointer-events: none;
	height: 170%; width: auto; max-width: none; right: -40px; top: -35%;
	opacity: .9;
}
.page-head .wrap { position: relative; }
.page-head__title {
	font-stretch: 125%; font-weight: 900; text-transform: uppercase;
	font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1; margin: 0; max-width: 16em;
	text-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}
.page-head__lead { margin-top: 14px; font-size: 1.15rem; max-width: 40em; color: rgba(255, 255, 255, .88); }
.page-head__lead p:last-child { margin: 0; }

/* Contenuti ------------------------------------------------------------ */
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-top: 1.8em; }
.entry-content h3 { font-size: 1.35rem; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content blockquote { margin-inline: 0; padding: 18px 24px; border-left: 6px solid var(--c-orange); background: var(--c-mist); border-radius: 0 var(--r-md) var(--r-md) 0; }
.entry-content img { border-radius: var(--r-lg); }
.entry-content .wp-block-button__link { background: var(--c-navy); color: #fff; border-radius: var(--r-pill); font-weight: 700; padding: .8em 1.4em; }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--c-navy); border: 2px solid var(--c-navy); }
.entry-cover { margin: 0 0 32px; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.post-card { border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.post-card__img img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card__body { padding: 22px; }
.post-card__meta { font-size: .9rem; color: var(--c-muted); margin-bottom: 6px; }
.post-card__title { font-size: 1.3rem; }
.post-card__title a { text-decoration: none; }
.empty-state { text-align: center; }
.empty-state form { display: flex; gap: 10px; max-width: 560px; margin: 0 auto 24px; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 2px solid var(--c-navy); border-radius: var(--r-pill); text-decoration: none; font-weight: 700; }
.page-numbers.current { background: var(--c-orange); border-color: var(--c-orange); }
.post-navigation .nav-links { justify-content: space-between; }
.nav-label { display: block; font-size: .85rem; color: var(--c-muted); }
.comments-area { margin-top: 56px; }

/* Footer --------------------------------------------------------------- */
.site-footer {
	background: var(--c-navy); color: rgba(255, 255, 255, .86);
	--topo-opacity: .06;
	padding-block: clamp(56px, 7vw, 88px) 0;
}
.site-footer__grid { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.footer-col { flex: 1 1 170px; min-width: 0; }
.footer-col--brand { flex: 1.6 1 260px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--c-amber); }
.footer-logo .custom-logo { max-height: 64px; }
.footer-claim { font-family: var(--f-label); font-size: 1.5rem; letter-spacing: .05em; color: var(--c-green); margin: 18px 0; }
.footer-title { font-family: var(--f-label); font-weight: 400; font-stretch: normal; font-size: 1.35rem; letter-spacing: .06em; color: var(--c-green); margin-bottom: 12px; }
.footer-links, .footer-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contacts li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contacts .icon { margin-top: 3px; color: var(--c-orange); }
.footer-note { display: flex; gap: 8px; align-items: center; color: var(--c-green); font-weight: 600; }
.site-footer__bottom {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	margin-top: 56px; padding-block: 22px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: .88rem; color: rgba(255, 255, 255, .6);
}
.site-footer__bottom p { margin: 0; }

/* Segnaposto da completare nelle pagine legali (visibili finché non li sostituisci) */
.da-completare { background: #FFE58A; color: var(--c-navy); padding: 0 .2em; border-radius: 4px; }

/* Barra contatti su smartphone */
.mobile-dock { display: none; }

/* Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.menu-toggle { display: grid; }
	.main-nav {
		position: fixed; inset: var(--header-h, 120px) 0 0 0; z-index: 49;
		flex-direction: column; align-items: stretch; gap: 20px;
		padding: 24px var(--gutter) 120px;
		background: #fff; overflow-y: auto;
		transform: translateX(100%); visibility: hidden;
		transition: transform .25s ease, visibility .25s;
	}
	.menu-open .main-nav { transform: none; visibility: visible; }
	.menu-open { overflow: hidden; }
	.menu-open .menu-toggle .icon-open { display: none; }
	.menu-open .menu-toggle .icon-close { display: block; }
	.main-nav .menu { flex-direction: column; gap: 4px; }
	.main-nav .menu a { font-family: var(--f-display); font-stretch: 118%; text-transform: uppercase; font-size: 1.35rem; font-weight: 900; padding: 12px 4px; border-bottom: 1px solid var(--c-line); }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px; margin: 0; }
	.main-nav .sub-menu a { font-size: 1.05rem; }
	.main-nav__call { display: inline-flex; align-self: flex-start; }

	.hero__grid, .cta-band__grid, .team__grid { grid-template-columns: 1fr; }
	.hero__bolt { height: 75%; top: auto; bottom: -10%; right: -60px; opacity: .55; }
	.hero__visual { max-width: 620px; }
	.steps { grid-template-columns: 1fr; }
	.team__photos { max-width: 560px; }
}

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

@media (max-width: 720px) {
	body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
	.topbar__contacts { display: none; }
	.topbar__inner { justify-content: center; }
	.site-header__inner { min-height: 68px; gap: 10px; }
	.custom-logo { max-height: 46px; }
	.brand-logo__mark { width: 42px; }
	.brand-logo__top { font-size: 1.3rem; }
	.brand-logo__bottom { font-size: .62rem; letter-spacing: .3em; }
	.header-icon { width: 40px; height: 40px; }
	.promises { grid-template-columns: 1fr; }
	.promises li + li { border-left: 0; border-top: 1px solid var(--c-line); }
	.cat-grid { gap: 12px; }
	.cat-tile { min-height: 200px; padding: 18px; border-radius: var(--r-lg); }
	.cat-tile__name { font-size: 1.02rem; }
	.cat-tile__desc { display: none; }
	.cat-tile__icon { width: 50px; height: 50px; }
	.footer-col, .footer-col--brand { flex-basis: 100%; }
	.hero__actions .btn { flex: 1 1 100%; }

	.mobile-dock {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
		padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
		background: var(--c-navy); color: #fff;
		border-top: 3px solid var(--c-orange);
	}
	.mobile-dock a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px; font-size: .78rem; font-weight: 600; text-decoration: none; border-radius: var(--r-md); }
	.mobile-dock a:first-child { background: var(--c-orange); color: var(--c-navy); }
	.mobile-dock .icon { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Pagina Servizi ------------------------------------------------------- */
.offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.offer {
	padding: 28px 24px 30px;
	background: #fff;
	border: 1px solid var(--c-line);
	border-top: 6px solid var(--tone);
	border-radius: var(--r-lg);
	box-shadow: 0 10px 24px rgba(7, 28, 69, .06);
}
.offer__icon {
	display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px;
	background: var(--tone); color: var(--on-tone); border-radius: 16px;
}
.offer__icon .icon { width: 28px; height: 28px; }
.offer h3 { font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: 1.2rem; }
.offer p { margin: 0; color: var(--c-muted); }
.steps--plain { counter-reset: none; }
.steps--plain .step::after { content: none; }
.step__price {
	margin-top: 18px !important; padding-top: 14px;
	border-top: 1px dashed rgba(255, 255, 255, .25);
	font-family: var(--f-label); font-size: 1.35rem; letter-spacing: .03em; line-height: 1.1;
	color: var(--tone) !important;
}
.services__cta { margin: 32px 0 0; }
.team--alt { background: var(--c-mist); }
@media (max-width: 1080px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .offer-grid { grid-template-columns: 1fr; } }
