/*
Theme Name: Baruffi Car Service
Theme URI: https://www.barufficarservice.it/
Author: Baruffi Car Service
Description: Tema su misura per Baruffi Car Service, Caravaggio (BG). Mantiene tutti gli URL esistenti (pagine, servizi /car-services/, blog, categorie) e lascia a Rank Math/Yoast la gestione dei meta SEO.
Version: 1.9.1
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: baruffi
*/

/* ---------- Font (self-hosted) ---------- */
@font-face {
	font-family: "Heebo";
	src: url("assets/fonts/heebo.woff2") format("woff2-variations"), url("assets/fonts/heebo.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Token ---------- */
:root {
	--white: #ffffff;
	--mist: #eef3f9;
	--line: #d6e0ec;
	--steel: #5a9bd4;
	--blue: #2b69a8;
	--blue-dark: #21578e;
	--navy: #1d2f4e;
	--deep: #141f30;
	--muted: #51607a;
	--ok: #1c7a4a;
	--warn: #9a5b00;
	--late: #b3261e;

	--font: "Heebo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	
	--wrap: 1200px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--r-sm: 8px;
	--r-md: 12px;
	--r-lg: 16px;
	--shadow: 0 1px 2px rgba(20, 31, 48, .06), 0 8px 24px rgba(20, 31, 48, .08);
	--section: clamp(3.5rem, 8vw, 6.5rem);
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--navy);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 {
	margin: 0 0 .6em;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.012em;
	color: var(--navy);
	text-wrap: balance;
}
h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.35rem); }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
.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;
}
.b-skip { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: var(--r-sm); }
.b-skip:focus { top: 1rem; }
.b-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.b-narrow { max-width: calc(780px + 2 * var(--gutter)); }
.b-ico { flex-shrink: 0; vertical-align: middle; }
.b-muted { color: var(--muted); }

/* ---------- Bottoni ---------- */
.b-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 48px; padding: .7rem 1.35rem;
	font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none;
	border: 2px solid transparent; border-radius: var(--r-sm); cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.b-btn--sm { min-height: 42px; padding: .5rem 1.05rem; }
.b-btn--lg { min-height: 54px; padding: .85rem 1.6rem; font-size: 1.05rem; }
.b-btn--block { width: 100%; }
.b-btn--primary { background: var(--blue); color: #fff; }
.b-btn--primary:hover { background: var(--blue-dark); color: #fff; }
.b-btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.b-btn--outline:hover { background: var(--navy); color: #fff; }
.b-btn--light { background: #fff; color: var(--navy); }
.b-btn--light:hover { background: var(--mist); color: var(--navy); }
.b-btn--ghost { border-color: var(--line); color: var(--navy); }
.b-btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.b-btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.b-btn:disabled { opacity: .6; cursor: default; }
.b-link { font-weight: 650; }

/* ---------- Topbar + header ---------- */
.b-topbar { background: var(--deep); color: #c9d6e8; font-size: .875rem; }
.b-topbar__in { display: flex; gap: 1.75rem; align-items: center; min-height: 38px; }
.b-topbar span, .b-topbar a { display: inline-flex; align-items: center; gap: .4rem; color: inherit; text-decoration: none; }
.b-topbar a:hover { color: #fff; }
.b-topbar a { margin-left: auto; }

.b-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--line);
	border-top: 3px solid var(--steel);
	transition: box-shadow .2s;
}
@supports (backdrop-filter: blur(8px)) { .b-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); } }
.b-header.is-scrolled { box-shadow: 0 6px 20px rgba(20, 31, 48, .08); }
.b-header__in { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.b-logo img { height: 52px; width: auto; }
.b-nav { margin-left: auto; }
.b-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.b-nav a {
	display: block; padding: .55rem .7rem; border-radius: 6px;
	color: var(--navy); text-decoration: none; font-weight: 550; font-size: .97rem;
}
.b-nav a:hover { background: var(--mist); color: var(--navy); }
.b-nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--steel); border-radius: 0; }
.b-nav__mobile-cta { display: none; }
.b-header__actions { display: flex; align-items: center; gap: .75rem; }
.b-header__tel { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.b-burger { display: none; background: none; border: 0; padding: .5rem; color: var(--navy); cursor: pointer; border-radius: var(--r-sm); }
.b-burger__close { display: none; }

@media (max-width: 1180px) {
	.b-header__tel span { display: none; }
}
@media (max-width: 1060px) {
	/* backdrop-filter farebbe restare il menu (position: fixed) chiuso dentro l'header: qui sfondo pieno */
	.b-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.b-header__actions { margin-left: auto; }
	.b-topbar { display: none; }
	.b-burger { display: inline-flex; }
	.b-header__tel { display: none; }
	.b-nav {
		position: fixed; inset: calc(var(--header-h) + 3px) 0 0 0; margin: 0;
		background: #fff; padding: 1rem var(--gutter) 2rem; overflow-y: auto;
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity .18s, transform .18s, visibility .18s;
	}
	.nav-open .b-nav { transform: none; opacity: 1; visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav-open .b-burger__open { display: none; }
	.nav-open .b-burger__close { display: inline; }
	.b-nav ul { flex-direction: column; gap: 0; }
	.b-nav a { padding: 1rem .25rem; font-size: 1.2rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.b-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--steel); padding-left: .9rem; }
	.b-nav__mobile-cta { display: grid; gap: .75rem; margin-top: 1.5rem; }
	.b-nav .b-nav__mobile-cta .b-btn { display: flex; justify-content: center; padding: .85rem 1.2rem; font-size: 1.05rem; border-radius: var(--r-sm); border-bottom-width: 2px; }
	.b-nav .b-nav__mobile-cta .b-btn--primary { color: #fff; }
	.b-nav .b-nav__mobile-cta .b-btn--ghost { color: var(--navy); border-color: var(--line); }
}
@media (max-width: 480px) {
	.b-logo img { height: 42px; }
	.b-header__actions .b-btn--sm { display: none; }
}

/* ---------- Hero ---------- */
.b-hero {
	background: var(--deep);
	color: #dbe5f2;
	padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem);
	overflow: hidden;
}
.b-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.b-hero__kicker { color: var(--steel); font-weight: 600; margin-bottom: 1.1rem; }
.b-hero__title {
	color: #fff;
	font-size: clamp(2.1rem, 1.1rem + 3.4vw, 3.6rem);
	font-weight: 750;
	line-height: 1.02;
	letter-spacing: -.02em;
	margin-bottom: 1.25rem;
	animation: b-rise .7s cubic-bezier(.2, .7, .2, 1) both;
}
.b-hero__lead { font-size: 1.15rem; max-width: 36em; color: #c3d1e4; animation: b-rise .7s .12s cubic-bezier(.2, .7, .2, 1) both; }
.b-hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; animation: b-rise .7s .22s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes b-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.b-hero__side { display: flex; justify-content: flex-end; }

.b-hero { position: relative; isolation: isolate; }
.b-hero > .b-wrap { position: relative; z-index: 1; }
.b-hero__art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.b-hero__signal { stroke-dasharray: 1; stroke-dashoffset: 1; animation: b-draw 2.4s .3s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes b-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .b-hero__signal { stroke-dashoffset: 0; } }

/* Immagine di sfondo della hero */
.b-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -1; }
.b-hero--bg::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(14, 22, 36, .96) 0%, rgba(14, 22, 36, .88) 38%, rgba(14, 22, 36, .45) 62%, rgba(14, 22, 36, .2) 100%); }
.b-hero--bg { min-height: min(78vh, 720px); display: flex; align-items: center; }
.b-hero--bg > .b-wrap { width: 100%; }
@media (max-width: 900px) {
	.b-hero--bg::before { background: linear-gradient(180deg, rgba(14, 22, 36, .9) 0%, rgba(14, 22, 36, .82) 55%, rgba(14, 22, 36, .6) 100%); }
	.b-hero__bg { object-position: 60% center; }
	.b-hero--bg { min-height: 0; display: block; }
}

/* Calcolatore revisione */
.b-calc {
	position: relative; z-index: 1;
	background: #fff; color: var(--navy);
	border-radius: var(--r-lg);
	padding: clamp(1.4rem, 3vw, 2rem);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
	max-width: 440px;
}
.b-calc__title { font-size: 1.45rem; margin-bottom: 1rem; }
.b-calc__mode { border: 0; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; background: var(--mist); border-radius: var(--r-sm); padding: .3rem; }
.b-calc__mode label { position: relative; text-align: center; font-size: .9rem; font-weight: 600; line-height: 1.25; padding: .55rem .4rem; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.b-calc__mode input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.b-calc__mode label:has(input:checked) { background: #fff; box-shadow: 0 1px 3px rgba(20, 31, 48, .15); color: var(--blue); }
.b-calc__mode label:has(input:focus-visible) { outline: 3px solid var(--steel); }
.b-calc__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: .75rem; align-items: end; }
.b-calc__out { margin: 1rem 0; padding: .9rem 1rem; border-radius: var(--r-sm); background: var(--mist); border-left: 4px solid var(--steel); font-size: .98rem; min-height: 4.2em; }
.b-calc__out.is-ok { border-color: var(--ok); }
.b-calc__out.is-soon { border-color: var(--warn); background: #fff6e8; }
.b-calc__out.is-late { border-color: var(--late); background: #fdeeee; }
.b-calc__note { margin: .8rem 0 0; font-size: .85rem; color: var(--muted); }

@media (max-width: 900px) {
	.b-hero__grid { grid-template-columns: 1fr; }
	.b-hero__side { display: block; }
	.b-calc { max-width: none; }
}

/* ---------- Fatti in breve ---------- */
.b-facts { border-bottom: 1px solid var(--line); background: #fff; }
.b-facts__row { display: grid; grid-template-columns: repeat(4, 1fr); margin-block: 0; }
.b-facts__row > div { padding: 1.6rem 1.25rem 1.6rem 0; }
.b-facts__row > div + div { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.b-facts dt { font-weight: 700; font-size: 1.2rem; }
.b-facts dd { margin: .15rem 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 800px) {
	.b-facts__row { grid-template-columns: 1fr 1fr; }
	.b-facts__row > div:nth-child(3) { border-left: 0; padding-left: 0; }
	.b-facts__row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sezioni ---------- */
.b-section { padding-block: var(--section); }
.b-section--flush-top { padding-top: 0; }
.b-section--tint { background: var(--mist); }
.b-section--navy { background: var(--navy); color: #d6e1ef; }
.b-section--navy h2, .b-section--navy h3 { color: #fff; }
.b-section--navy a { color: #9cc6ec; }
.b-section__head { max-width: 46rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.b-section__head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.b-section--navy .b-section__head p { color: #b8c8dd; }
.b-section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.b-section__more { margin: 1.75rem 0 0; }

/* Indice servizi a righe */
.b-svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); column-gap: 3rem; }
.b-svc li { border-bottom: 1px solid var(--line); }
.b-svc a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.1rem; padding: 1.25rem .25rem; color: var(--navy); text-decoration: none; }
.b-svc__ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--blue); transition: background-color .15s, color .15s; }
.b-svc__txt strong { display: block; font-size: 1.12rem; font-weight: 700; }
.b-svc__txt span { color: var(--muted); font-size: .95rem; }
.b-svc__go { color: var(--steel); }
.b-svc a:hover .b-svc__ico { background: var(--blue); color: #fff; }
.b-svc a:hover strong { color: var(--blue); }
@media (max-width: 760px) { .b-svc { grid-template-columns: 1fr; } }

/* Split immagine / testo */
.b-split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.b-split--top { align-items: start; }
.b-split__media { margin: 0; }
.b-split__media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--r-md); }
.b-split__media figcaption { margin-top: .6rem; font-size: .88rem; color: var(--muted); }
@media (max-width: 860px) { .b-split { grid-template-columns: 1fr; } .b-split__media img { aspect-ratio: 16 / 11; } }

.b-ticks { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .6rem; }
.b-ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.b-ticks .b-ico { color: var(--blue); margin-top: .2rem; }
.b-list li { margin-bottom: .4rem; }

/* Passaggi numerati (sono una sequenza reale) */
.b-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.b-steps li { counter-increment: step; position: relative; padding-top: 3.6rem; }
.b-steps li::before {
	content: counter(step);
	position: absolute; top: 0; left: 0;
	width: 2.6rem; height: 2.6rem; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--navy); color: #fff; font-weight: 700;
}
.b-steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.3rem; left: 3.2rem; right: -.9rem; height: 2px; background: var(--line); }
.b-steps p { color: var(--muted); margin: 0; }
.b-steps--compact { grid-template-columns: 1fr 1fr; margin-top: 1rem; }
.b-steps--compact li::after { display: none; }
@media (max-width: 900px) { .b-steps { grid-template-columns: 1fr 1fr; } .b-steps li::after { display: none; } }
@media (max-width: 540px) { .b-steps, .b-steps--compact { grid-template-columns: 1fr; } }

/* Vantaggi */
.b-perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem; }
.b-perks .b-ico { color: var(--steel); margin-bottom: .9rem; }
.b-perks p { margin: 0; }
.b-perks--light p { color: var(--muted); }
.b-perks--light .b-ico { color: var(--blue); }
@media (max-width: 960px) { .b-perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .b-perks { grid-template-columns: 1fr; } }

.b-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.b-trio h2 { font-size: 1.4rem; }
@media (max-width: 860px) { .b-trio { grid-template-columns: 1fr; } }

/* Recensioni */

/* Card articoli */
.b-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.b-card { background: #fff; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.b-card__media { display: block; aspect-ratio: 16 / 10; background: var(--mist); overflow: hidden; }
.b-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.b-card:hover .b-card__media img { transform: scale(1.03); }
.b-card__ph { display: grid; place-items: center; height: 100%; color: var(--steel); }
.b-card__body { padding: 1.25rem 1.35rem 1.5rem; }
.b-card__meta { display: flex; gap: .9rem; font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
.b-card__meta span { color: var(--blue); font-weight: 600; }
.b-card__title { font-size: 1.12rem; margin-bottom: .5rem; }
.b-card__title a { color: var(--navy); text-decoration: none; }
.b-card__title a:hover { color: var(--blue); }
.b-card__excerpt { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .b-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .b-posts { grid-template-columns: minmax(0, 1fr); } }

.b-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.b-chips a { padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-size: .92rem; font-weight: 550; }
.b-chips a:hover { border-color: var(--blue); color: var(--blue); }
.b-chips a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.b-chips--small { margin: 2rem 0 0; }
.b-chips--small a { font-size: .85rem; padding: .3rem .75rem; }

.b-pager { margin-top: 3rem; }
.b-pager .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.b-pager .page-numbers { min-width: 44px; min-height: 44px; padding: .5rem .9rem; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--navy); font-weight: 600; }
.b-pager .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.b-pager .page-numbers:hover:not(.current):not(.dots) { border-color: var(--blue); color: var(--blue); }
.b-pager .dots { border: 0; }

/* ---------- Pagine interne ---------- */
.b-pagehead { background: var(--mist); padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2rem, 5vw, 3.25rem); border-bottom: 1px solid var(--line); }
.b-pagehead__title { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.3rem); font-weight: 750; letter-spacing: -.02em; margin-bottom: .5rem; max-width: 22ch; }
.b-pagehead--article .b-pagehead__title { font-size: clamp(1.8rem, 1.1rem + 2.8vw, 2.8rem); max-width: none; }
.b-pagehead__lead { font-size: 1.15rem; color: var(--muted); max-width: 44rem; margin: 0; }
.b-pagehead--article { background: #fff; border: 0; padding-bottom: 2rem; }
.b-article__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: .95rem; margin: 0; }

.b-crumbs ol { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .88rem; color: var(--muted); }
.b-crumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; color: var(--line); }
.b-crumbs a { color: var(--muted); }
.b-crumbs a:hover { color: var(--blue); }

.b-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .b-layout { grid-template-columns: minmax(0, 1fr); } }

.b-cover { margin: 0 0 2.25rem; }
.b-cover img { width: 100%; border-radius: var(--r-md); aspect-ratio: 3 / 2; object-fit: cover; }

.b-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; margin-bottom: 1.25rem; }
.b-box .b-btn + .b-btn { margin-top: .6rem; }
.b-box__title { font-size: 1.2rem; margin-bottom: .5rem; }
.b-box p { color: var(--muted); font-size: .96rem; }
.b-box__small { font-size: .85rem !important; margin: .9rem 0 0; }
.b-box--sticky { border-top: 4px solid var(--steel); }
.b-box--inline { display: flex; gap: 1.5rem; justify-content: space-between; align-items: center; margin-top: 3rem; background: var(--mist); border: 0; }
.b-box--inline p { margin: 0; }
.b-box__btns { display: flex; gap: .6rem; flex-wrap: wrap; }
.b-box__btns .b-btn + .b-btn { margin-top: 0; }
@media (max-width: 700px) { .b-box--inline { flex-direction: column; align-items: flex-start; } }
.b-sidelist { list-style: none; padding: 0; margin: 0; }
.b-sidelist a { display: block; padding: .55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 550; }
.b-sidelist a:hover { color: var(--blue); }
.b-sidelist--cols { columns: 2; column-gap: 2rem; margin-top: 1rem; }

.b-callout { display: flex; gap: .7rem; align-items: flex-start; background: var(--mist); border-radius: var(--r-sm); padding: 1rem 1.2rem; margin-top: 2rem; }
.b-callout .b-ico { color: var(--blue); margin-top: .15rem; }

.b-jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 3rem; }
.b-jobs h3 { font-size: 1.05rem; padding-bottom: .6rem; border-bottom: 2px solid var(--steel); }
.b-jobs ul { list-style: none; padding: 0; margin: 0; }
.b-jobs li { padding: .3rem 0; color: var(--navy); }
@media (max-width: 860px) { .b-jobs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .b-jobs { grid-template-columns: 1fr; } }

.b-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.b-choice { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.75rem; display: flex; flex-direction: column; }
.b-choice .b-ico { color: var(--blue); margin-bottom: 1rem; }
.b-choice h2 { font-size: 1.3rem; }
.b-choice p { color: var(--muted); flex: 1; }
@media (max-width: 860px) { .b-choices { grid-template-columns: 1fr; } }

/* FAQ */
.b-faq details { border-bottom: 1px solid var(--line); }
.b-faq summary {
	cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; position: relative;
	font-weight: 700; font-size: 1.1rem;
}
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.b-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.b-faq__a { padding: 0 0 1.25rem; color: var(--muted); }

/* Tab */
.b-tabs { display: inline-flex; gap: .3rem; background: var(--mist); padding: .3rem; border-radius: var(--r-sm); margin-bottom: 1.75rem; }
.b-tabs button { font: inherit; font-weight: 650; border: 0; background: none; padding: .65rem 1.4rem; border-radius: 6px; color: var(--muted); cursor: pointer; }
.b-tabs button[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(20, 31, 48, .15); }

/* ---------- Moduli ---------- */
.b-form { display: grid; gap: 1rem; }
.b-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.b-form__grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 700px) { .b-form__grid, .b-form__grid--5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .b-form__grid { grid-template-columns: 1fr; } .b-form__grid--5 { grid-template-columns: repeat(3, 1fr); } }
.b-field { display: grid; gap: .35rem; font-size: .92rem; font-weight: 600; }
.b-field input, .b-field select, .b-field textarea {
	font: inherit; font-weight: 400; font-size: 1rem; color: var(--navy);
	width: 100%; min-height: 48px; padding: .65rem .8rem;
	border: 1px solid #b9c7d9; border-radius: var(--r-sm); background: #fff;
}
.b-field textarea { resize: vertical; }
.b-field input:focus, .b-field select:focus, .b-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(90, 155, 212, .35); }
.b-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.b-check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--blue); flex-shrink: 0; }
.b-form .b-btn { justify-self: start; }
.b-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.b-notice { padding: 1rem 1.2rem; border-radius: var(--r-sm); margin-bottom: 1.25rem; font-weight: 600; }
.b-notice--ok { background: #e7f5ed; color: var(--ok); }
.b-notice--err { background: #fdeeee; color: var(--late); }

/* ---------- Contatti e mappa ---------- */
.b-contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.b-contact__list { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 1rem; }
.b-contact__list li { display: flex; gap: .8rem; align-items: flex-start; }
.b-contact__list .b-ico { color: var(--blue); margin-top: .1rem; }
.b-contact__list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.b-contact__list a:hover { color: var(--blue); }
.b-map { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 380px; background: var(--mist) center / cover; border: 1px solid var(--line); }
.b-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.b-map__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; padding: 2rem; color: var(--muted);
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; }
.b-map__ph p { max-width: 26rem; background: var(--mist); margin: 0; }
@media (max-width: 860px) { .b-contact__grid { grid-template-columns: 1fr; } }

.b-hours { margin: 0 0 1.5rem; display: grid; gap: .35rem; }
.b-hours div { display: flex; justify-content: space-between; gap: 1rem; }
.b-hours dt { font-weight: 600; }
.b-hours dd { margin: 0; text-align: right; }
.b-hours--dark { border-top: 1px solid var(--line); padding-top: 1rem; font-size: .95rem; }

/* ---------- Fascia CTA ---------- */
.b-cta { background: var(--blue); color: #e8f1fb; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.b-cta h2 { color: #fff; margin-bottom: .35rem; }
.b-cta p { margin: 0; }
.b-cta__in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.b-cta__btns { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.b-footer { background: var(--deep); color: #aebdd2; padding: clamp(3rem, 7vw, 4.5rem) 0 0; font-size: .95rem; }
.b-footer a { color: #d9e3f0; text-decoration: none; }
.b-footer a:hover { color: #fff; text-decoration: underline; }
.b-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.b-footer__name { color: #fff; font-weight: 700; font-size: 1.25rem; }
.b-footer__h { color: #fff; font-weight: 700; margin: 0 0 .8rem; }
.b-footer__list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .45rem; }
.b-footer .b-hours dt { font-weight: 500; }
.b-footer .b-hours div { flex-direction: column; gap: 0; }
.b-footer .b-hours dd { text-align: left; color: #d9e3f0; }
.b-social { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; gap: .5rem; }
.b-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); }
.b-social a:hover { background: var(--blue); border-color: var(--blue); }
.b-footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
.b-footer__legal p { margin: 0; }
.b-footer__legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
@media (max-width: 960px) { .b-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .b-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Azioni rapide mobile + WhatsApp ---------- */
.b-dock { display: none; }
@media (max-width: 760px) {
	body { padding-bottom: 68px; }
	.b-dock {
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		background: #fff; border-top: 1px solid var(--line);
		padding-bottom: env(safe-area-inset-bottom);
		box-shadow: 0 -6px 20px rgba(20, 31, 48, .08);
	}
	.b-dock a { display: grid; justify-items: center; gap: .15rem; padding: .55rem .25rem; font-size: .75rem; font-weight: 600; color: var(--navy); text-decoration: none; }
	.b-dock a.is-primary { background: var(--blue); color: #fff; }
	.b-wa { display: none !important; }
}
.b-wa {
	position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
	width: 58px; height: 58px; border-radius: 50%;
	display: grid; place-items: center;
	background: #1f9d55; color: #fff; box-shadow: var(--shadow);
}
.b-wa:hover { background: #17864a; color: #fff; }

/* ---------- Contenuti editor (articoli e pagine esistenti) ---------- */
.b-prose { font-size: 1.08rem; }
.b-prose > * + * { margin-top: 0; }
.b-prose h2 { font-size: clamp(1.45rem, 1.1rem + 1.3vw, 1.9rem); margin-top: 2.2em; }
.b-prose section:first-of-type h2, .b-prose > h2:first-child { margin-top: 0; }
.b-prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.b-prose ul, .b-prose ol { margin: 0 0 1.2em; }
.b-prose li { margin-bottom: .35em; }
.b-prose img { border-radius: var(--r-sm); }
.b-prose blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.25em; border-left: 4px solid var(--steel); color: var(--muted); }
.b-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.b-prose th, .b-prose td { border: 1px solid var(--line); padding: .6em .8em; text-align: left; }
.b-prose th { background: var(--mist); }
.b-prose iframe { width: 100%; border: 0; }
.b-prose .b-ticks { margin-top: .5rem; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption, figure { max-width: 100%; }
.wp-caption-text, figcaption { font-size: .88rem; color: var(--muted); }
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(var(--cols, 3), 1fr); margin: 1.5em 0; }
.gallery-columns-2 { --cols: 2; } .gallery-columns-4 { --cols: 4; } .gallery-columns-5 { --cols: 5; }
.gallery .gallery-item { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }
@media (max-width: 600px) { .gallery { --cols: 2 !important; } }
.search-form { display: flex; gap: .5rem; margin-bottom: 2rem; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; min-height: 48px; padding: .6rem .8rem; font: inherit; border: 1px solid #b9c7d9; border-radius: var(--r-sm); }
.search-form .search-submit { font: inherit; font-weight: 650; min-height: 48px; padding: 0 1.2rem; border: 0; border-radius: var(--r-sm); background: var(--blue); color: #fff; cursor: pointer; }

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

/* ---------- Stampa ---------- */
@media print {
	.b-topbar, .b-header, .b-dock, .b-wa, .b-cta, .b-footer, .b-map { display: none !important; }
}

/* ---------- Galleria ---------- */
.b-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.b-gallery a { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--mist); }
.b-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.b-gallery a:hover img { transform: scale(1.04); }
@media (max-width: 960px) { .b-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .b-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; } }
.b-lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.b-lightbox::backdrop { background: rgba(10, 16, 28, .92); }
.b-lightbox[open] { display: grid; place-items: center; }
.b-lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; width: auto; height: auto; border-radius: var(--r-sm); }
.b-lightbox button { position: fixed; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 50%; width: 52px; height: 52px; display: grid; place-items: center; cursor: pointer; }
.b-lightbox button:hover { background: rgba(255, 255, 255, .25); }
.b-lightbox__close { top: 1rem; right: 1rem; }
.b-lightbox__nav { top: 50%; right: 1rem; transform: translateY(-50%); }
.b-lightbox__prev { right: auto; left: 1rem; }
.b-lightbox__prev .b-ico { transform: rotate(180deg); }

/* ---------- Riquadro stagionale gomme ---------- */
.b-season__lead { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.b-season .b-form { gap: .8rem; }
.b-season .b-form .b-btn { justify-self: stretch; }
.b-season .b-check { font-size: .82rem; }
.b-season__wa { margin: 1rem 0 0; font-size: .92rem; }
.b-season__wa a { display: inline-flex; gap: .45rem; align-items: center; font-weight: 600; color: #17864a; }
.b-box .b-calc { box-shadow: none; padding: 0; max-width: none; border: 0; }

/* ---------- Recensioni ---------- */
.b-stars { display: inline-flex; gap: 2px; color: #f5b301; }
.b-stars .b-ico, .b-rev__stars .on .b-ico { fill: currentColor; }
.b-hero__rating { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.4rem; color: #dbe5f2; text-decoration: none; font-size: .95rem; }
.b-hero__rating strong { color: #fff; }
.b-hero__rating:hover { color: #fff; }
.b-hero__badge { display: flex; align-items: flex-start; gap: .55rem; margin-top: .9rem; max-width: 34rem; color: #dbe5f2; text-decoration: none; font-size: .95rem; line-height: 1.45; }
.b-hero__badge .b-ico { flex: none; margin-top: .15rem; color: #8fb8ea; }
.b-hero__badge strong { color: #fff; }
.b-hero__badge:hover span { text-decoration: underline; }
.b-section--tight { padding-top: 0; }
.b-certbox { display: flex; gap: 1.2rem; align-items: flex-start; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--r-md); padding: 1.5rem; background: #fff; }
.b-certbox h2 { margin: 0 0 .5rem; font-size: 1.35rem; }
.b-certbox p { margin: 0 0 .8rem; }
.b-certbox__ico { flex: none; color: var(--blue); }
@media (max-width: 600px) { .b-certbox { flex-direction: column; gap: .6rem; padding: 1.2rem; } }
.b-rev__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.b-rev__head h2 { margin-bottom: .4rem; }
.b-rev__score { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin: 0; color: var(--muted); }
.b-rev__score strong { font-size: 2rem; line-height: 1; color: var(--navy); }
.b-rev__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.b-rev { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem; display: flex; flex-direction: column; background: #fff; }
.b-rev__stars { display: flex; gap: 2px; margin: 0 0 .6rem; }
.b-rev__stars .on { color: #f5b301; }
.b-rev__stars .off { color: var(--line); }
.b-rev blockquote { margin: 0 0 1rem; flex: 1; }
.b-rev blockquote p { margin: 0; font-size: 1rem; }
.b-rev__who { margin: 0; font-weight: 700; font-size: .92rem; }
.b-rev__who span { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
@media (max-width: 1100px) { .b-rev__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.b-rev__list { grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
	.b-rev { scroll-snap-align: start; }
}
.b-rstars { position: relative; display: inline-flex; line-height: 0; }
.b-rstars__bg, .b-rstars__fg { display: inline-flex; gap: 2px; white-space: nowrap; }
.b-rstars__bg { color: rgba(160, 175, 195, .45); }
.b-rstars__fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #f5b301; }
.b-rstars .b-ico { fill: currentColor; flex-shrink: 0; }

/* Marche pneumatici */
.b-brands { margin-top: 2.5rem; padding: 1.75rem; border-radius: var(--r-md); background: var(--mist); }
.b-brands h2, .b-brands h3 { margin-top: 0 !important; }
.b-brands__list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.b-brands__list li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .6rem 1.1rem; font-weight: 700; font-size: 1.05rem; margin: 0; }
.b-season__more { margin: .9rem 0 0; font-size: .92rem; }
.b-season__more a { font-weight: 600; }

/* Riquadro regole gomme invernali */
.b-law { margin: 1.5rem 0 2rem; padding: 1.25rem 1.5rem; border-left: 4px solid var(--steel); background: var(--mist); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.b-law h3 { margin: 0 0 .75rem !important; font-size: 1.15rem; }
.b-law ul { margin: 0; padding-left: 1.1rem; }
.b-law li { margin-bottom: .55rem; font-size: 1rem; }

/* Copertina grafica per articoli senza immagine */
.b-cover-art { position: relative; display: grid; place-content: center; justify-items: center; gap: .6rem; height: 100%; color: #fff; overflow: hidden;
	background: radial-gradient(120% 90% at 85% 10%, rgba(90, 155, 212, .55) 0%, rgba(90, 155, 212, 0) 55%), linear-gradient(135deg, var(--navy) 0%, var(--deep) 100%); }
.b-cover-art::before { content: ""; position: absolute; inset: 0; opacity: .12;
	background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px); background-size: 28px 28px; }
.b-cover-art__ico { position: relative; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: #9fd2ff; }
.b-cover-art__label { position: relative; font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }
.b-cover-art__brand { position: absolute; left: 1rem; bottom: .8rem; font-size: .75rem; opacity: .65; }
.b-card__media { text-decoration: none; }

.b-contact__photo { margin: 0 0 1.5rem; }
.b-contact__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); }
.b-contact__photo figcaption { margin-top: .5rem; font-size: .88rem; color: var(--muted); }
.b-contact .b-contact__grid { align-items: stretch; } .b-contact .b-map { height: 100%; }

/* Tabelle e griglie nei testi (pagine servizio) */
.b-prose [style*="width"] { max-width: 100% !important; }
.b-prose table, .b-prose div, .b-prose figure, .b-prose iframe, .b-prose video { max-width: 100%; }
.b-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5em 0; }
.b-table-scroll table { display: table; margin: 0; min-width: 100%; }
.b-codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .5rem; margin: 1.25rem 0 1.75rem; }
.b-codes--speed { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.b-code { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .55rem .4rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; text-align: center; line-height: 1.25; }
.b-code strong { font-size: 1.05rem; color: var(--navy); }
.b-code span { font-size: .85rem; color: var(--muted); }
@media (max-width: 600px) {
	.b-prose { font-size: 1rem; }
	.b-prose h3 { font-size: 1.15rem; }
	.b-prose h6 { font-size: 1rem; margin-top: 1.5em; }
	.b-law { padding: 1rem 1.1rem; }
	.b-brands { padding: 1.25rem; }
	.b-brands__list li { padding: .5rem .85rem; font-size: .98rem; }
}
.b-layout__main, .b-layout__side { min-width: 0; }

.b-codes-wrap { margin: 1.25rem 0 1.75rem; border: 1px solid var(--line); border-radius: var(--r-sm); }
.b-codes-wrap summary { cursor: pointer; padding: .85rem 1rem; font-weight: 700; color: var(--blue); list-style: none; }
.b-codes-wrap summary::-webkit-details-marker { display: none; }
.b-codes-wrap summary::after { content: " +"; }
.b-codes-wrap[open] summary::after { content: " –"; }
.b-codes-wrap .b-codes { margin: 0; padding: 0 1rem 1rem; }
@media (max-width: 600px) {
	.b-codes, .b-codes--speed { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; }
	.b-code { padding: .4rem .2rem; }
	.b-code strong { font-size: .95rem; }
	.b-code span { font-size: .75rem; }
}

/* Disegno misura pneumatico */
.b-tyre { margin: 1.25rem 0 2rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.b-tyre__code { text-align: center; font-weight: 800; font-size: clamp(1.7rem, 1.1rem + 3vw, 2.6rem); letter-spacing: .02em; line-height: 1.2; margin-bottom: .75rem; }
.b-tyre__code .sep { color: var(--muted); font-weight: 400; }
.b-tyre__code span[class^="t"] { border-bottom: 4px solid currentColor; padding: 0 .08em; }
.t1 { color: #2b69a8; } .t2 { color: #1c7a4a; } .t3 { color: #6b4fa0; } .t4 { color: #b45f06; } .t5 { color: #b3261e; } .t6 { color: #0e7c86; }
.b-tyre__svg { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto 1rem; }
.b-tyre__svg .n { font: 700 15px var(--font); fill: #fff; text-anchor: middle; }
.b-tyre__svg .lbl { font: 500 13px var(--font); fill: var(--muted); text-anchor: middle; }
.b-tyre__legend { list-style: none; padding: 0; margin: 0 0 .75rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.25rem; counter-reset: t; }
.b-tyre__legend li { counter-increment: t; position: relative; padding-left: 2.1rem; margin: 0; font-size: .95rem; color: var(--navy); }
.b-tyre__legend li::before { content: counter(t); position: absolute; left: 0; top: .05rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: currentColor; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.b-tyre__legend li::after { content: counter(t); position: absolute; left: 0; top: .05rem; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: #fff; }
.b-tyre__legend li strong { color: inherit; margin-right: .3rem; }
.b-tyre__legend li { color: var(--navy); }
.b-tyre__legend li.t1::before { background: #2b69a8; } .b-tyre__legend li.t2::before { background: #1c7a4a; } .b-tyre__legend li.t3::before { background: #6b4fa0; }
.b-tyre__legend li.t4::before { background: #b45f06; } .b-tyre__legend li.t5::before { background: #b3261e; } .b-tyre__legend li.t6::before { background: #0e7c86; }
.b-tyre__legend li.t1 strong { color: #2b69a8; } .b-tyre__legend li.t2 strong { color: #1c7a4a; } .b-tyre__legend li.t3 strong { color: #6b4fa0; }
.b-tyre__legend li.t4 strong { color: #b45f06; } .b-tyre__legend li.t5 strong { color: #b3261e; } .b-tyre__legend li.t6 strong { color: #0e7c86; }
.b-tyre figcaption { font-size: .9rem; color: var(--muted); }
@media (max-width: 600px) { .b-tyre { padding: 1rem; } .b-tyre__legend { grid-template-columns: 1fr; } }

/* iubenda: il pulsante flottante è nascosto su tutti i dispositivi (su smartphone copriva la barra Prenota).
   Le preferenze cookie restano raggiungibili dal link "Preferenze cookie" nel footer. */
button.iubenda-tp-btn, .iubenda-tp-btn[data-tp-float], .b-iub-float { display: none !important; }
