/* =================================================================
   VC One Page — stili
   Colori e font sono variabili: si cambiano qui sotto in :root.
   ================================================================= */

/* ---------- Font locali (nessuna chiamata a Google) ---------- */
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Variabili ---------- */
:root {
	--red: #B3121B;
	--red-dark: #8C0D14;
	--red-soft: #FBEDEE;
	--grey-900: #2A2D31;
	--grey-700: #4A4F56;
	--grey-500: #7C828A;
	--grey-200: #E3E4E6;
	--grey-100: #F3F3F4;
	--white: #fff;
	--serif: "DM Serif Display", Georgia, "Times New Roman", serif;
	--sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--radius: 14px;
	--wrap: 1160px;
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.125rem; line-height: 1.65; color: var(--grey-700); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { color: var(--grey-900); margin: 0 0 .5em; line-height: 1.15; }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.vc-icon { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
.vc-skip { position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff; padding: .6em 1em; z-index: 100; }
.vc-skip:focus { left: 1em; top: 1em; }

.vc-wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* ---------- Header (parte di template "header") ---------- */
/* Lo sfondo sfocato sta su ::before: un backdrop-filter sull'header stesso
   "intrappolerebbe" il menu mobile a tutto schermo dentro l'header. */
.vc-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--grey-200); isolation: isolate; }
.vc-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vc-header__in { box-sizing: border-box; width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.vc-header__right { display: flex; align-items: center; gap: 1.6rem; }
.vc-logo { margin: 0; line-height: 0; }
.vc-logo img { height: auto; max-width: 100%; } /* larghezza: dal blocco Logo del sito (Impostazioni → Larghezza) */
.vc-header .vc-menu { font-weight: 600; font-size: 1rem; }
.vc-header .vc-menu .wp-block-navigation__container { gap: 1.4rem; }
.vc-header .vc-menu a { color: var(--grey-700); text-decoration: none; transition: color .2s; }
.vc-header .vc-menu a:hover, .vc-header .vc-menu a:focus { color: var(--red); }
.vc-header .wp-block-navigation__responsive-container-open svg, .vc-header .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }
.vc-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--white); padding: 1.5rem 1.6rem; z-index: 100; overflow-y: auto; }
.vc-header .is-menu-open .wp-block-navigation__container { gap: .4rem; }
.vc-header .is-menu-open .wp-block-navigation-item a { font-size: 1.4rem; padding: .5rem 0; color: var(--grey-900); }
.vc-btn-small .wp-block-button__link { padding: .6em 1.15em; font-size: .95rem; white-space: nowrap; }

/* Logo/marchio SVG (usati nella pagina "In costruzione") */
.vc-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.vc-mark { width: 50px; height: 50px; flex: none; }
.vc-mark__head { fill: none; stroke: var(--mark-head, var(--grey-700)); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.vc-mark__spiral { fill: none; stroke: var(--mark-spiral, var(--red)); stroke-width: 2.8; stroke-linecap: round; }
.vc-brand__txt { display: flex; flex-direction: column; align-items: center; line-height: 1.1; text-align: center; }
.vc-brand__name { font-family: var(--serif); font-size: 1.4rem; color: var(--grey-900); }
.vc-brand__role { font-size: .78rem; letter-spacing: .14em; margin-right: -.14em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-top: .2rem; }

/* =================================================================
   SEZIONI DELLA HOME (blocchi Gutenberg)
   Ogni sezione è un blocco "Gruppo" a tutta larghezza con una classe
   (Avanzate → Classi CSS aggiuntive): vc-hero, vc-section, vc-section--red,
   vc-section--grey, vc-section--narrow, vc-section--center.
   ================================================================= */

/* Icone usate dai pulsanti (maschere SVG, colore = colore del testo) */
:root {
	--ico-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
	--ico-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.2 5.3 19.9 12l-6.7 6.7-1.4-1.4 4.3-4.3H4v-2h12.1l-4.3-4.3z'/%3E%3C/svg%3E");
	--ico-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 2 11.5h3V20h5.5v-5.5h3V20H19v-8.5h3z'/%3E%3C/svg%3E");
}

/* ---------- Struttura sezioni ---------- */
.vc-content { overflow-x: clip; }
.vc-hero, .vc-section { margin: 0 !important; }
.vc-section { padding: clamp(4rem, 9vw, 7rem) 0; }
.vc-hero > *, .vc-section > * {
	box-sizing: border-box;
	width: min(100% - 2.5rem, var(--wrap));
	margin-left: auto !important;
	margin-right: auto !important;
}
.vc-section--narrow > * { width: min(100% - 2.5rem, 820px); }
.vc-section--grey { background: var(--grey-100); }
.vc-section--red { background: var(--red); color: rgba(255,255,255,.88); }
.vc-section--red :is(h2, h3) { color: #fff; }
.vc-section--red .vc-eyebrow { color: rgba(255,255,255,.75); }
.vc-section--center { text-align: center; }

/* Spazi verticali tra i blocchi di una sezione */
.vc-section > * + *, .wp-block-column > * + * { margin-top: 1rem; }
.vc-section > .vc-eyebrow + .wp-block-heading { margin-top: 0; }
.vc-section > .vc-cards, .vc-section > .wp-block-columns:not(:first-child), .vc-section > .vc-faq { margin-top: 2.6rem; }

/* Testi ricorrenti */
.vc-eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .9rem !important; }
.vc-h2, .vc-section h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 4.2vw, 3rem); letter-spacing: -.005em; line-height: 1.15; margin-bottom: 1rem; }
.vc-intro { font-size: 1.2rem; padding-right: max(0px, calc(100% - 46rem)); }
/* Larghezza del testo introduttivo: aggiungi una di queste classi accanto a vc-intro */
.vc-intro.vc-medio { padding-right: max(0px, calc(100% - 60rem)); }  /* via di mezzo */
.vc-intro.vc-largo { padding-right: 0; }                             /* tutta la larghezza */
.vc-section--center .vc-intro { padding-right: 0; }
.vc-small { font-size: .95rem; color: var(--grey-500); }

/* ---------- Pulsanti (blocco Pulsanti) ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .8rem; }
.vc-cta--center { justify-content: center; }
.vc-cta--end { justify-content: flex-end; }
.wp-block-button .wp-block-button__link {
	display: inline-flex; align-items: center; gap: .55em;
	padding: .9em 1.5em; border-radius: 999px; font-weight: 600; font-size: 1.05rem; line-height: 1.3;
	background: var(--red); color: #fff; border: 2px solid var(--red); text-decoration: none;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.wp-block-button .wp-block-button__link:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-1px); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--grey-900); border-color: var(--grey-900); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--grey-900); color: #fff; }
.vc-btn-tel .wp-block-button__link::before,
.vc-btn-arrow .wp-block-button__link::after { content: ""; width: 1.15em; height: 1.15em; background: currentColor; flex: none; -webkit-mask: var(--ico-phone) center / contain no-repeat; mask: var(--ico-phone) center / contain no-repeat; }
.vc-btn-arrow .wp-block-button__link::after { -webkit-mask-image: var(--ico-arrow); mask-image: var(--ico-arrow); }
.vc-btn-big .wp-block-button__link { font-size: 1.6rem; padding: .7em 1.6em; }

/* Pulsante nell'header (non è un blocco) */
.vc-btn { display: inline-flex; align-items: center; gap: .55em; padding: .6em 1.1em; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; background: var(--red); color: #fff; }
.vc-btn:hover { background: var(--red-dark); color: #fff; }

/* ---------- Banner (gruppo vc-banner): semplice, testo centrato ---------- */
.vc-section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.vc-banner {
	position: relative; overflow: hidden; text-align: center;
	background: var(--red); color: #fff; border-radius: calc(var(--radius) * 1.6);
	padding: clamp(2.4rem, 5vw, 3.6rem) clamp(1.4rem, 5vw, 3rem);
	box-shadow: 0 30px 60px -36px rgba(140,13,20,.7);
}
.vc-banner::before { /* sottile cornice interna */
	content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.28); border-radius: calc(var(--radius) * 1.1); pointer-events: none;
}
.vc-banner > * { margin: 0 auto !important; position: relative; }
.vc-banner__kicker { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: rgba(255,255,255,.9); }
.vc-banner .vc-banner__title { margin-top: .5rem !important; font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1.08; font-size: clamp(2rem, 4.6vw, 3.3rem); color: #fff; }
.vc-banner__tag { margin-top: 1.1rem !important; color: var(--grey-200); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(.95rem, 1.4vw, 1.1rem); }
.vc-btn-white .wp-block-button__link { background: #fff; color: var(--red); border-color: #fff; }
.vc-btn-white .wp-block-button__link:hover { background: var(--grey-900); border-color: var(--grey-900); color: #fff; }

/* ---------- Apertura (hero) ---------- */
.vc-hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); background: linear-gradient(180deg, var(--white) 0%, var(--grey-100) 100%); }
.vc-hero__grid { gap: clamp(2rem, 6vw, 5rem) !important; }
.vc-hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -.01em; line-height: 1.08; margin: 0 0 .3em !important; }
.vc-hero__slogan { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.3; color: var(--red); max-width: 24em; }
.vc-hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 34em; }
.vc-hero .vc-cta { margin-top: 1.8rem; }
.vc-hero__facts { list-style: none; padding: 0; margin-top: 1.8rem !important; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-size: 1rem; color: var(--grey-500); }
.vc-hero__facts li { position: relative; padding-left: 1.1rem; margin: 0; }
.vc-hero__facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.vc-hero__photo { margin: 0 auto !important; position: relative; width: min(100%, 420px); }
.vc-hero__photo::before { content: ""; position: absolute; inset: 9% -9% -6% 12%; background: var(--red); border-radius: 200px 200px var(--radius) var(--radius); z-index: 0; }
.vc-hero__photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 5 / 7; object-fit: cover; object-position: top; border-radius: 200px 200px var(--radius) var(--radius); box-shadow: 0 30px 60px -30px rgba(42,45,49,.45); background: radial-gradient(120% 80% at 50% 25%, #fff 0%, #ECEDEF 100%); }

/* ---------- Colonne affiancate ---------- */
.vc-split { gap: clamp(2.5rem, 6vw, 5.5rem) !important; }

/* ---------- Percorso (elenco con classe vc-timeline) ---------- */
.vc-timeline { list-style: none; margin: .5rem 0 0; padding: 0 0 0 1.6rem; border-left: 2px solid var(--grey-200); }
.vc-timeline li { position: relative; padding: 0 0 1.6rem; color: var(--grey-900); font-weight: 600; line-height: 1.4; }
.vc-timeline li:last-child { padding-bottom: 0; }
.vc-timeline li::before { content: ""; position: absolute; left: calc(-1.6rem - 7px); top: .3em; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 3px solid var(--red); }
.vc-timeline strong { display: block; color: var(--red); font-size: .95rem; letter-spacing: .04em; font-weight: 700; margin-bottom: .15rem; }

/* ---------- Schede (gruppo vc-cards con gruppi vc-card) ---------- */
.vc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.vc-cards > .vc-card { margin: 0 !important; }
.vc-cards--3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.vc-card { padding: 1.6rem 1.6rem 1.4rem; border: 1px solid var(--grey-200); border-radius: var(--radius); background: var(--white); transition: border-color .2s, box-shadow .2s, transform .2s; }
.vc-card h3 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; line-height: 1.3; margin: 0 0 .4rem; }
.vc-card p { margin: 0 !important; font-size: 1rem; }
.vc-cards--num { counter-reset: vc-n; }
.vc-cards--num .vc-card::before { counter-increment: vc-n; content: counter(vc-n, decimal-leading-zero); display: inline-block; font-weight: 700; font-size: .85rem; color: var(--red); background: var(--red-soft); border-radius: 999px; padding: .15em .7em; margin-bottom: .9rem; }
.vc-cards--num .vc-card:hover { border-color: var(--red); box-shadow: 0 16px 34px -22px rgba(179,18,27,.5); transform: translateY(-2px); }
.vc-section--red .vc-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); padding: 2rem; }
.vc-section--red .vc-card p { font-size: 1.05rem; }
.vc-section--red .vc-cards { counter-reset: vc-p; }
.vc-section--red .vc-card::before { counter-increment: vc-p; content: counter(vc-p, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2.6rem; color: rgba(255,255,255,.45); line-height: 1; margin-bottom: 1rem; }

/* ---------- Udito e mente ---------- */
.vc-source { font-size: .9rem; }
.vc-source a { color: var(--grey-500); }
.vc-thesis { padding: 2.4rem; background: var(--white); border-radius: var(--radius); border-top: 6px solid var(--red); box-shadow: 0 24px 50px -32px rgba(42,45,49,.35); }
.vc-thesis__label { font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-500); }
.vc-thesis__title { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.25; color: var(--grey-900); }
.vc-thesis__note { font-size: .95rem; color: var(--red); font-weight: 600; }

/* ---------- Dove ricevo ---------- */
.vc-center { background: var(--grey-100); border-radius: var(--radius); border-left: 6px solid var(--red); padding: 2.4rem 2.6rem; gap: 2rem !important; }
.vc-section > .vc-center + .vc-center { margin-top: 1rem !important; }
.vc-center h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; margin: 0; }
.vc-center .vc-center__city { color: var(--red); font-weight: 600; margin-top: .2rem; }
.vc-center__tel a { color: var(--grey-900); font-weight: 600; text-decoration: none; }
.vc-home-visit { display: block; padding: 1.4rem 1.8rem 1.4rem 4.4rem; border-radius: var(--radius); border: 2px dashed var(--grey-200); position: relative; margin-top: 1.25rem !important; }
.vc-home-visit::before { content: ""; position: absolute; left: 1.6rem; top: 50%; translate: 0 -50%; width: 1.9rem; height: 1.9rem; background: var(--red); -webkit-mask: var(--ico-home) center / contain no-repeat; mask: var(--ico-home) center / contain no-repeat; }
.vc-home-visit strong { color: var(--grey-900); }

/* ---------- FAQ (blocchi Dettagli dentro il gruppo vc-faq) ---------- */
.vc-faq > * + * { margin-top: .75rem !important; }
.vc-faq .wp-block-details { background: var(--white); border-radius: var(--radius); border: 1px solid var(--grey-200); }
.vc-faq .wp-block-details summary { list-style: none; cursor: pointer; padding: 1.25rem 3.5rem 1.25rem 1.5rem; font-weight: 700; color: var(--grey-900); position: relative; }
.vc-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.vc-faq .wp-block-details summary::after { content: "+"; position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--red); transition: transform .2s; }
.vc-faq .wp-block-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.vc-faq .wp-block-details > :not(summary) { padding: 0 1.5rem 1.4rem; margin: 0; }

/* =================================================================
   EFFETTI (attivi solo sul sito, non nell'editor; spenti con "riduci movimento")
   ================================================================= */

/* Titoli e testi che vanno a capo in modo equilibrato (niente parola sola in fondo) */
h1, h2, h3, .vc-hero__slogan, .vc-thesis__title, .vc-eyebrow { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* Sezioni che scorrono una sull'altra (il JS aggiunge .vc-stack sui desktop) */
.vc-content > * { position: relative; }
.vc-content > .vc-section:not(.vc-section--grey):not(.vc-section--red) { background: var(--white); }
.vc-stack { position: sticky !important; }
.vc-stack + * { box-shadow: 0 -26px 44px -30px rgba(42,45,49,.38); }

/* Comparsa allo scorrimento */
:where(.vc-js) .vc-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--vc-delay, 0ms); }
:where(.vc-js) .vc-reveal.is-in { opacity: 1; transform: none; }

/* Linea rossa che si allunga sotto i titoli delle sezioni */
.vc-section .vc-h2::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--red); margin-top: .55rem; transform-origin: left; transition: transform .9s .25s cubic-bezier(.2,.7,.2,1); }
.vc-section--red .vc-h2::after { background: rgba(255,255,255,.8); }
.vc-section--center .vc-h2::after { margin-inline: auto; transform-origin: center; }
:where(.vc-js) .vc-h2.vc-reveal:not(.is-in)::after { transform: scaleX(0); }

/* Apertura: titolo parola per parola, poi il resto */
@keyframes vcWord { to { opacity: 1; transform: none; } }
@keyframes vcUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes vcPhoto { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.vc-words .vc-word { display: inline-block; opacity: 0; transform: translateY(.45em); animation: vcWord .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--vc-delay, 0ms); }
.vc-js .vc-hero .vc-eyebrow { animation: vcUp .8s .05s both; }
.vc-js .vc-hero .vc-hero__slogan { animation: vcUp .9s .55s both; }
.vc-js .vc-hero .vc-hero__lead { animation: vcUp .9s .7s both; }
.vc-js .vc-hero .vc-cta { animation: vcUp .9s .85s both; }
.vc-js .vc-hero .vc-hero__facts { animation: vcUp .9s 1s both; }
.vc-js .vc-hero .vc-hero__photo { animation: vcPhoto 1.1s .3s both; }
.vc-hero__photo img { will-change: transform; }

/* ---------- Pagine normali (privacy, cookie…) ---------- */
.vc-page { width: min(100% - 2.5rem, 780px); margin: clamp(3rem, 7vw, 5rem) auto; }
.vc-page__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 4.2vw, 3rem); }
.vc-page__body h2 { font-size: 1.4rem; margin-top: 2em; }
.vc-page__body table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.vc-page__body th, .vc-page__body td { border: 1px solid var(--grey-200); padding: .6rem .75rem; text-align: left; vertical-align: top; }
.vc-page__body th { background: var(--grey-100); color: var(--grey-900); }
.vc-page__body .wp-block-table { overflow-x: auto; margin: 1.5rem 0; }

/* ---------- Footer (parte di template "footer") ----------
   Sfondo e colore del testo sono nel blocco Gruppo esterno (vc-footer__wrap):
   si cambiano dall'editor → Stili → Colore. I testi secondari sono solo più
   trasparenti, così seguono qualunque colore scelto. */
.vc-footer { position: relative; z-index: 2; font-size: 1rem; }
.vc-footer__wrap { margin: 0 !important; }
.vc-footer__wrap:not(.has-background) { background: var(--grey-900); color: #fff; }
.vc-footer__in { box-sizing: border-box; width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto !important; padding-top: 4rem; }
.vc-footer__wrap a { color: inherit; text-decoration: none; }
.vc-footer__wrap a:hover { text-decoration: underline; }
.vc-footer__wrap p { margin: 0 0 .45rem; }
.vc-footer__grid { gap: 2.5rem !important; padding-bottom: 3rem; margin: 0 !important; }
.vc-footer__grid p:not(.vc-footer__h) { opacity: .78; }
.vc-footer__grid p:not(.vc-footer__h):has(a) { opacity: 1; }
.vc-logo--light img { filter: brightness(0) invert(1); }
.vc-footer__role { margin-top: .9rem !important; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6 !important; }
.vc-footer__legal { margin-top: 1.2rem !important; font-size: .92rem; max-width: 30em; }
.vc-footer__h { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; margin-bottom: .9rem !important; }
.vc-footer__bottom { border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 18%, transparent); padding: 1.4rem 0 1.8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .85rem; }
.vc-footer__bottom p { margin: 0; opacity: .55; }

/* ---------- Pagina "In costruzione" ---------- */
.vc-soon-body { padding-bottom: 0 !important; background: linear-gradient(180deg, var(--white) 0%, var(--grey-100) 100%); }
.vc-soon { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 2rem 1.25rem; }
.vc-soon__box { width: min(100%, 560px); text-align: center; }
.vc-soon__brand { justify-content: center; margin-bottom: 2.5rem; }
.vc-soon__brand .vc-mark { width: 64px; height: 64px; }
.vc-soon__brand .vc-brand__name { font-size: 1.9rem; }
.vc-soon__title, .vc-soon__content h1, .vc-soon__content h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 6vw, 3.2rem); margin-bottom: .4em; }
.vc-soon__content { font-size: 1.15rem; }
.vc-soon__tel { font-size: 1.4rem; padding: .7em 1.5em; margin-top: 1rem; }
.vc-soon__tel .vc-icon { width: 1.1em; height: 1.1em; }
.vc-soon__legal { margin-top: 2.5rem; font-size: .85rem; color: var(--grey-500); }

/* ---------- Pulsanti fissi (solo mobile) ---------- */
.vc-fab { display: none; }

/* ---------- Responsive ---------- */
/* Il blocco Navigazione di WordPress passa all'hamburger sotto i 600px:
   qui lo anticipiamo a 980px perché le 6 voci non ci stanno. */
@media (min-width: 600px) and (max-width: 980px) {
	.vc-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.vc-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 980px) {
	.vc-cards--3 { grid-template-columns: 1fr; }
}
@media (max-width: 781px) {
	/* su mobile c'è già la barra "Chiama" in basso: il pulsante in alto non serve */
	.vc-header__cta { display: none; }
	/* le colonne di WordPress si impilano: la foto va sopra */
	.vc-hero__grid > .wp-block-column:last-child { order: -1; }
	.vc-hero__photo { width: min(72%, 320px); }
	.vc-center { padding: 2rem 1.6rem; }
	.vc-cta--end { justify-content: flex-start; }
	.vc-home-visit { padding: 1.2rem 1.2rem 1.2rem 3.8rem; }
	.vc-home-visit::before { left: 1.2rem; }
	body { padding-bottom: 72px; }
	.vc-fab { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -6px 20px rgba(0,0,0,.12); }
	.vc-fab--one { grid-template-columns: 1fr; }
	.vc-fab__btn { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1.05rem; color: #fff; text-decoration: none; font-weight: 700; }
	.vc-fab__btn:hover { color: #fff; }
	.vc-fab__btn--call { background: var(--red); }
	.vc-fab__btn--wa { background: #1DA851; }
	.vc-fab__btn--wa:hover { background: #168A42; }
}
@media (max-width: 599px) {
	/* il logo non deve mai restringersi per far posto ad altro */
	.vc-header .vc-logo { flex: 0 0 auto; }
	.vc-header .vc-logo img { width: 195px !important; max-width: none; }
	.vc-header__in { gap: .8rem; }
	/* anche se la classe vc-header__cta venisse tolta dall'editor */
	.vc-header .wp-block-buttons { display: none !important; }
	/* "Audioprotesista · Dottoressa…": su mobile va a capo senza il puntino */
	.vc-sep { display: block; height: 0; overflow: hidden; }
	.vc-fab__btn { white-space: nowrap; font-size: 1rem; padding: 1rem .6rem; }
}
@media (max-width: 379px) {
	/* telefoni molto stretti con due pulsanti (Chiama + WhatsApp): resta solo "Chiama" */
	.vc-fab:not(.vc-fab--one) .vc-fab__num { display: none; }
}
@media (max-width: 520px) {
	.vc-brand__name { font-size: 1.2rem; }
	.vc-mark { width: 42px; height: 42px; }
	.vc-btn-big .wp-block-button__link { font-size: 1.35rem; }
}
/* Stampa e PDF: tutto visibile, niente effetti */
/* Computer e tablet: solo WhatsApp, pulsante rotondo in basso a destra */
@media (min-width: 782px) {
	.vc-fab:not(.vc-fab--one) { display: block; position: fixed; right: 24px; bottom: 24px; z-index: 60; }
	.vc-fab:not(.vc-fab--one) .vc-fab__btn--call { display: none; }
	.vc-fab:not(.vc-fab--one) .vc-fab__btn--wa { display: flex; align-items: center; gap: .5rem; padding: .85rem 1.35rem; border-radius: 999px; background: #1DA851; color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
	.vc-fab:not(.vc-fab--one) .vc-fab__btn--wa:hover { background: #168A42; }
}
/* Freccia "torna all'inizio": solo computer e tablet, sopra il pulsante WhatsApp */
.vc-totop { display: none; }
@media (min-width: 782px) {
	.vc-totop { display: flex; align-items: center; justify-content: center; position: fixed; right: 24px; bottom: 24px; z-index: 59; width: 48px; height: 48px; border-radius: 50%; background: var(--grey-900); color: #fff; border: 2px solid rgba(255,255,255,.85); box-shadow: 0 6px 18px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
	.vc-totop--high { bottom: 90px; }
	.vc-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
	.vc-totop:hover, .vc-totop:focus-visible { background: var(--red); color: #fff; }
	.vc-totop svg { width: 22px; height: 22px; }
}
@media print {
	.vc-reveal, .vc-words .vc-word, .vc-js .vc-hero * { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
	.vc-stack { position: static !important; }
	.vc-header { position: relative !important; }
	.vc-stack + * { box-shadow: none !important; }
	.vc-fab, .vc-totop { display: none !important; }
	body { padding-bottom: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.vc-js .vc-hero *, .vc-words .vc-word { animation: none !important; opacity: 1 !important; transform: none !important; }
	* { transition: none !important; }
}

/* ---------- Pagina 404 ---------- */
.vc-404 { text-align: left; }
.vc-404 .vc-eyebrow { margin-bottom: .6rem; }
.vc-404__links { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.vc-404__links a { display: inline-block; padding: .45rem 1rem; border: 1px solid var(--grey-200); border-radius: 999px; color: var(--grey-900); text-decoration: none; font-weight: 600; }
.vc-404__links a:hover { border-color: var(--red); color: var(--red); }
.vc-404__btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.vc-404__btn { display: inline-block; padding: .85rem 1.6rem; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; }
.vc-404__btn:hover { background: var(--red-dark); color: #fff; }
.vc-404__btn--ghost { background: transparent; color: var(--red); border: 2px solid var(--red); }
.vc-404__btn--ghost:hover { background: var(--red); color: #fff; }

/* "Dove ricevo": titoletti dei gruppi (Centri acustici, Strutture sanitarie, Patronato INAC) */
.vc-section > .vc-centri__label { margin-top: 2.4rem !important; margin-bottom: .9rem !important; }
.vc-section > .wp-block-heading + .vc-centri__label { margin-top: 1.4rem !important; }
.vc-section > .vc-centri__label + .vc-center { margin-top: 0 !important; }
