/* ProfessionalSite: componenti delle pagine interne (area, servizio, caso di successo).
   Si carica dopo ps.css e ps-v2.css. */

/* ---------- Breadcrumb ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--dim); }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }

/* ---------- Hero pagine interne ---------- */
.phero { position: relative; padding: calc(var(--header-h) + clamp(32px, 4vw, 56px)) 0 clamp(64px, 7vw, 104px); overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 60% at 85% 30%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 70%); }
.phero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(28px, 3vw, 40px); }
.phero h1 { font-size: clamp(36px, 4.1vw, 62px); line-height: 1; letter-spacing: -.042em; }
.phero h1 em { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1em; letter-spacing: -.02em; line-height: 1; color: var(--accent-hi); padding-bottom: .05em; }
.phero__lede { margin-top: 24px; max-width: 36em; font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); }
.phero .hero__ctas { margin-top: 30px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 34px; max-width: 620px; }
.facts div { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.facts dt { font-size: 12.5px; color: var(--muted); }
.facts dd { margin-top: 2px; font-size: 16px; font-weight: 560; letter-spacing: -.01em; }
.phero__vis { position: relative; min-width: 0; }
.sheet { padding: 14px; border-radius: 24px 24px 24px 72px; background: var(--paper); color: var(--paper-ink); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .85); --ok-ink: #12895A; }
.sheet .mini { border-radius: 14px 14px 14px 60px; }
.float-note { position: absolute; left: 28px; top: -22px; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 12px; border-radius: 16px; background: var(--ink-3); border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); font-size: 13px; }
.float-note > .i { width: 34px; height: 34px; padding: 8px; border-radius: 10px; color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.float-note b { display: block; font-weight: 560; }

/* scheda "In breve" (pagina servizio) */
.brief { padding: clamp(22px, 2.5vw, 32px); border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 80px; background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line-2); }
.brief h2 { font-size: 15px; font-weight: 560; color: var(--accent); letter-spacing: 0; }
.brief dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.brief dl > div:last-child { border-bottom: 0; }
.brief dt { font-size: 14px; color: var(--muted); }
.brief dd { font-size: 15.5px; }

/* ---------- Gruppi di servizi (pagina area) ---------- */
.sgroups { display: grid; gap: clamp(40px, 5vw, 64px); margin-top: clamp(40px, 5vw, 60px); }
.sgroup { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: 24px 48px; }
.sgroup__head h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.03em; }
.sgroup__head p { margin-top: 8px; font-size: 15.5px; color: var(--paper-muted); }
.scards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.scard { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--paper-line); transition: border-color .25s, transform .35s var(--ease), box-shadow .35s; }
.scard:hover { border-color: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 20px 40px -24px rgba(11, 22, 33, .25); }
.scard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scard__top .tile__ico { width: 40px; height: 40px; }
.scard__top > .i { width: 18px; height: 18px; color: var(--accent-deep); opacity: 0; transform: translate(-4px, 4px); transition: opacity .25s, transform .35s var(--ease); }
.scard:hover .scard__top > .i { opacity: 1; transform: none; }
.scard h4 { margin-top: 6px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.scard p { font-size: 14.5px; color: var(--paper-muted); line-height: 1.5; }

/* ---------- Tabella di confronto ---------- */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split__copy h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.04; letter-spacing: -.038em; }
.split__copy p { margin-top: 18px; font-size: 17px; color: var(--muted); }
.split__copy .link { margin-top: 22px; }
.tscroll { overflow-x: auto; border-radius: 22px; border: 1px solid var(--line-2); background: var(--ink-2); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 13px; font-weight: 500; color: var(--muted); background: rgba(255, 255, 255, .02); }
.compare thead th.is-us { color: var(--accent); }
.compare tbody th { font-weight: 560; width: 28%; }
.compare td { color: var(--muted); }
.compare td.is-us { color: var(--text); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.yes, .no, .mid { display: inline-flex; align-items: center; gap: 6px; }
.yes::before, .no::before, .mid::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.yes::before { background: var(--ok); }
.mid::before { background: var(--star); }
.no::before { background: var(--alert); }
.tnote { margin-top: 12px; font-size: 13px; color: var(--dim); }

/* ---------- Integrazioni ---------- */
.integr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 4vw, 52px); }
.integr li { padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--ink-2); }
.integr h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.integr h3 .i { color: var(--accent); }
.integr p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.integr .pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pills span { padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 12.5px; color: color-mix(in srgb, var(--text) 85%, transparent); }

/* ---------- Correlati ---------- */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.related a { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--ink-2); transition: border-color .25s, transform .35s var(--ease); }
.related a:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-2px); }
.related small { font-size: 13px; color: var(--muted); }
.related strong { font-size: 18px; font-weight: 560; letter-spacing: -.015em; }
.related span { font-size: 14.5px; color: var(--muted); }
.related-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.related-head h2 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.03em; }
.band--light .related a { background: #fff; border-color: var(--paper-line); }
.band--light .related small, .band--light .related span { color: var(--paper-muted); }

/* ---------- Contenuto lungo con indice ---------- */
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: 112px; }
.toc p { font-size: 13px; font-weight: 500; color: var(--paper-muted); margin-bottom: 10px; }
.toc ol { border-left: 1px solid var(--paper-line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14.5px; color: var(--paper-muted); transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--paper-ink); }
/* Il bottone nell'indice non prende il colore dei link dell'indice */
.toc a.btn--primary, .toc a.btn--primary:hover { color: var(--on-accent); }
.toc a.is-on { color: var(--accent-deep); border-left-color: var(--accent-deep); font-weight: 560; }
.toc .btn { margin-top: 24px; }

.prose { max-width: 70ch; font-size: 17.5px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.4em; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -.03em; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; font-size: 21px; letter-spacing: -.02em; }
.prose p, .prose li { color: color-mix(in srgb, var(--paper-ink) 82%, transparent); }
.prose strong { color: var(--paper-ink); font-weight: 600; }
.prose a:not(.btn):not(.incase) { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li + li, .prose ol li + li { margin-top: .5em; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 11px; height: 6px; border-left: 2px solid var(--accent-deep); border-bottom: 2px solid var(--accent-deep); transform: rotate(-45deg); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 40px; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font: 500 13px var(--mono); color: var(--accent-deep); background: color-mix(in srgb, var(--accent-deep) 10%, transparent); }

.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 1.4em !important; }
.feats li { padding: 18px !important; border-radius: 16px; background: #fff; border: 1px solid var(--paper-line); }
.feats li::before { display: none; }
.feats b { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--paper-ink); }
.feats b .i { color: var(--accent-deep); }
.feats span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--paper-muted); }

.callout { padding: 20px 22px; border-radius: 16px; background: color-mix(in srgb, var(--accent-deep) 8%, #fff); border: 1px solid color-mix(in srgb, var(--accent-deep) 25%, transparent); font-size: 16px; }
.callout b { color: var(--accent-deep); }

.incase { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 24px; border-radius: 20px 20px 20px 60px; background: var(--ink); color: var(--text); transition: transform .35s var(--ease); }
.incase:hover { transform: translateY(-2px); }
.incase small { display: block; font-size: 13px; color: var(--accent); font-weight: 500; }
.prose .incase strong { color: var(--text); }
.incase strong { display: block; margin-top: 4px; font-size: 19px; font-weight: 560; letter-spacing: -.015em; }
.incase span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.incase b { font: 500 26px var(--mono); color: var(--accent-hi); white-space: nowrap; }

/* ---------- Caso di successo ---------- */
.chero { position: relative; padding: calc(var(--header-h) + clamp(32px, 4vw, 56px)) 0 clamp(56px, 6vw, 88px); overflow: hidden; }
.chero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 90% 10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); }
.chero__head { position: relative; max-width: 940px; margin-top: clamp(28px, 3vw, 40px); }
.chero h1 { margin-top: 18px; font-size: clamp(36px, 4.4vw, 66px); line-height: 1.02; letter-spacing: -.042em; }
.chero__lede { margin-top: 22px; max-width: 40em; font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); }
.kstrip { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(36px, 4vw, 52px); border-top: 1px solid var(--line-2); }
.kstrip div { padding: 22px 22px 0 0; }
.kstrip div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.kstrip b { display: block; font-size: clamp(32px, 3.4vw, 48px); font-weight: 560; letter-spacing: -.045em; line-height: 1; }
.kstrip span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.chero__vis { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.chero__vis .fbrowser { max-width: 1040px; margin-inline: auto; font-size: 13px; }
.chero__vis .fshop__grid span { aspect-ratio: 1 / .62; }
/* Scheletro di sito dentro il browser scuro (casi di siti, senza negozio) */
.fbrowser .mbrowser__page { min-height: 220px; padding: 20px 16px; }
.fbrowser .mbrowser__page span { background: color-mix(in srgb, var(--text) 10%, transparent); }
.fbrowser .sk-hero .a, .fbrowser .sk-hero .b { background: color-mix(in srgb, var(--text) 34%, transparent); }
.fbrowser .sk-hero .e { background: var(--accent); }
.fbrowser .sk-img { background: radial-gradient(80% 90% at 30% 20%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 60%), linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); }
.fbrowser .sk-cards span { background: var(--ink-2); border: 1px solid var(--line); }
/* Grafico a barre fuori dal bento della home: serve un'altezza definita per le percentuali */
.sheet .mchart { padding: 40px 18px 18px; }
.sheet .mchart__bars { flex: none; height: 190px; }
/* Pannello di stato del sito (pagina Hosting e assistenza) */
.mhost { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px 14px 0; }
.mhost .mstat span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--ok-ink); }

.cdoc { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.sheetcard { position: sticky; top: 112px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--paper-line); }
.sheetcard h2 { font-size: 15px; font-weight: 560; color: var(--accent-deep); letter-spacing: 0; }
.sheetcard dl > div { padding: 12px 0; border-bottom: 1px solid var(--paper-line); }
.sheetcard dl > div:last-child { border-bottom: 0; }
.sheetcard dt { font-size: 13px; color: var(--paper-muted); }
.sheetcard dd { margin-top: 2px; font-size: 15px; }
.sheetcard dd a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.sheetcard .btn { margin-top: 18px; }
.steps-done { display: grid; gap: 12px; margin-top: 1.4em !important; }
.steps-done li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px !important; border-radius: 18px; background: #fff; border: 1px solid var(--paper-line); }
.steps-done li::before { display: none; }
.steps-done .tile__ico { width: 44px; height: 44px; }
.steps-done b { display: block; font-size: 17px; color: var(--paper-ink); }
.steps-done span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--paper-muted); }
.kcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 1.4em !important; }
.kcards div { padding: 20px; border-radius: 18px; background: var(--paper-ink); color: #fff; }
.kcards b { display: block; font-size: 34px; font-weight: 560; letter-spacing: -.045em; line-height: 1; color: color-mix(in srgb, var(--accent) 70%, #fff); }
.kcards span { display: block; margin-top: 8px; font-size: 14px; color: #AFC0CF; }
.pquote { padding: 26px 28px; border-radius: 22px 22px 22px 70px; background: #fff; border: 1px solid var(--paper-line); }
.pquote blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; color: var(--paper-ink); }
.pquote figcaption { margin-top: 14px; font-size: 14px; color: var(--paper-muted); }

.nextcase { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(24px, 3.5vw, 44px); border-radius: 28px 28px 28px var(--r-sig); background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line-2); transition: border-color .25s; }
.nextcase:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.nextcase small { font-size: 14px; color: var(--accent); font-weight: 500; }
.nextcase strong { display: block; margin-top: 8px; font-size: clamp(24px, 2.6vw, 36px); font-weight: 560; letter-spacing: -.035em; line-height: 1.1; }
.nextcase span { display: block; margin-top: 8px; color: var(--muted); }
.nextcase > .i { width: 56px; height: 56px; padding: 16px; border-radius: 50%; background: var(--accent); color: var(--on-accent); transition: transform .35s var(--ease); }
.nextcase:hover > .i { transform: rotate(-35deg); }

/* FAQ e CTA dentro le pagine interne */
.page-inner .faq { padding-top: clamp(80px, 9vw, 136px); }
.page-inner .cta { padding-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .phero__grid, .split { grid-template-columns: minmax(0, 1fr); }
  .float-note { left: 12px; }
  .sgroup { grid-template-columns: minmax(0, 1fr); }
  .integr, .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc, .cdoc { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; display: none; }
  .sheetcard { position: static; }
  .kstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kstrip div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .scards, .integr, .related, .feats, .kcards { grid-template-columns: minmax(0, 1fr); }
  .brief dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .incase { grid-template-columns: minmax(0, 1fr); }
  .incase b { white-space: normal; font-size: 22px; }
  .nextcase { grid-template-columns: minmax(0, 1fr); }
  .float-note { display: none; }
  .prose { font-size: 16.5px; }
}

/* ======================================================================
   Blocco 2: landing locale, Per chi lavoriamo, settore
   ====================================================================== */

/* ---------- Mappa stilizzata di Genova (hero locale) ---------- */
.gmap { position: relative; border-radius: 24px 24px 24px 72px; overflow: hidden; border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--ink-2), var(--ink-3)); }
.gmap svg { display: block; width: 100%; height: auto; }
.gmap .land { fill: color-mix(in srgb, var(--text) 5%, var(--ink-2)); }
.gmap .sea { fill: color-mix(in srgb, var(--accent) 10%, var(--ink)); }
.gmap .coast { fill: none; stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: 1.6; }
.gmap .pin circle { fill: var(--muted); }
.gmap .pin text { font: 500 11px var(--font); fill: var(--muted); }
.gmap .pin--home circle.dot { fill: var(--accent); }
.gmap .pin--home circle.ring { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; }
.gmap .pin--home text { fill: var(--text); font-weight: 600; font-size: 12.5px; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.gmap__card { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--ink) 88%, transparent); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13.5px; }
.gmap__card b { display: block; font-size: 15px; }
.gmap__card span { color: var(--muted); }
.gmap__note { position: absolute; top: 14px; right: 16px; font-size: 11px; color: var(--dim); }

/* ---------- Motivi ---------- */
.reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 4vw, 52px); }
.reasons li { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--paper-line); }
.reasons .tile__ico { margin-bottom: 16px; }
.reasons h3 { font-size: 18px; letter-spacing: -.015em; }
.reasons p { margin-top: 8px; font-size: 14.5px; color: var(--paper-muted); line-height: 1.55; }

/* ---------- Local pack (SEO locale) ---------- */
.lpack { border-radius: 18px; overflow: hidden; background: #fff; color: var(--paper-ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); font-size: 13px; }
.lpack__q { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--paper-line); }
.lpack__q .i { width: 16px; height: 16px; color: var(--paper-muted); }
.lpack__q span { flex: 1; padding: 8px 14px; border-radius: 99px; background: var(--paper); font-weight: 500; }
.lpack__map { position: relative; height: 120px; background: radial-gradient(40% 60% at 30% 40%, color-mix(in srgb, var(--accent) 22%, #fff), transparent 70%), radial-gradient(30% 50% at 75% 70%, color-mix(in srgb, var(--accent-deep) 14%, #fff), transparent 70%), #EEF1F4; }
.lpack__map i { position: absolute; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #C4CCD4; }
.lpack__map i.on { background: #D93025; width: 16px; height: 16px; }
.lpack ul li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 16px; border-top: 1px solid var(--paper-line); }
.lpack ul li.on { background: color-mix(in srgb, var(--accent-deep) 7%, #fff); }
.lpack b { font-size: 14px; }
.lpack small { grid-column: 1; color: var(--paper-muted); }
.lpack .badge { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 99px; background: var(--accent-deep); color: #fff; }

/* ---------- Zone servite ---------- */
.zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 4vw, 52px); }
.zones li { padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--ink-2); }
.zones li.is-home { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: linear-gradient(160deg, var(--ink-3), color-mix(in srgb, var(--accent) 10%, var(--ink-2))); }
.zones h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 17px; }
.zones h3 .tag { font-size: 11.5px; height: 22px; }
.zones p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ---------- Casi locali ---------- */
.lcases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 4vw, 52px); }
.lcase { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--paper-line); transition: border-color .25s, transform .35s var(--ease); }
.lcase:hover { border-color: var(--accent-deep); transform: translateY(-2px); }
.lcase h3 { font-size: 21px; letter-spacing: -.02em; }
.lcase h3 a::after { content: ""; position: absolute; inset: 0; }
.lcase p { font-size: 15px; color: var(--paper-muted); }
.lcase__place { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--paper-muted); }
.lcase__place .i { width: 15px; height: 15px; color: var(--accent-deep); }
.lcase__kpi { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--paper-line); font-size: 14px; color: var(--paper-muted); }
.lcase__kpi b { font-size: 24px; font-weight: 560; letter-spacing: -.04em; color: var(--paper-ink); margin-right: 6px; }

/* ---------- Settori (Per chi lavoriamo) ---------- */
.sectors-big { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 4vw, 52px); }
.sector { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--paper-line); transition: border-color .25s, transform .35s var(--ease); }
.sector:hover { border-color: var(--accent-deep); transform: translateY(-2px); }
.sector h3 { margin-top: 6px; font-size: 20px; letter-spacing: -.02em; }
.sector h3 a::after { content: ""; position: absolute; inset: 0; }
.sector p { font-size: 15px; color: var(--paper-muted); }
.sector ul { display: flex; flex-wrap: wrap; gap: 6px; }
.sector ul li { font-size: 12.5px; padding: 4px 10px; border-radius: 99px; background: var(--paper); color: var(--paper-ink); }
/* Gruppi di settori (Per chi lavoriamo): titolo del gruppo sopra ogni griglia */
.sectors-group__t { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.sectors-group__t h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; }
.sectors-group__t p { font-size: 15.5px; color: var(--paper-muted); max-width: 520px; }
.sectors-group__t + .sectors-big { margin-top: 18px; }
.sector__clients { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--paper-line); font-size: 13.5px; color: var(--paper-muted); }
.sector__clients b { color: var(--paper-ink); font-weight: 560; }

.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(36px, 4vw, 52px); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.wall li { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 108px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wall b { font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; letter-spacing: -.02em; }
.wall span { font-size: 13px; color: var(--muted); }

.wl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: clamp(40px, 5vw, 64px); padding: 26px 28px; border-radius: 22px; border: 1.5px dashed var(--line-2); }
.wl h3 { font-size: 20px; letter-spacing: -.02em; }
.wl p { margin-top: 6px; color: var(--muted); font-size: 15px; max-width: 46em; }

/* ---------- Pagina settore ---------- */
.mb2b__body { padding: 16px; display: grid; gap: 12px; }
.mb2b__who { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--paper-line); }
.mb2b__who b { font-size: 12.5px; }
.mb2b__who span { font-size: 11px; padding: 3px 9px; border-radius: 99px; background: color-mix(in srgb, var(--accent-deep) 12%, transparent); color: var(--accent-deep); font-weight: 600; }
.mb2b table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--paper-line); font-size: 12px; }
.mb2b th { text-align: left; font-weight: 500; color: var(--paper-muted); font-size: 11px; padding: 8px 10px; border-bottom: 1px solid var(--paper-line); }
.mb2b td { padding: 9px 10px; border-bottom: 1px solid var(--paper-line); }
.mb2b tr:last-child td { border-bottom: 0; }
.mb2b td.num { font-family: var(--mono); text-align: right; white-space: nowrap; }
.mb2b s { color: var(--paper-muted); margin-right: 6px; }
.mb2b__foot { display: flex; gap: 10px; }
.mb2b__foot span { flex: 1; text-align: center; padding: 9px; border-radius: 9px; font-weight: 600; font-size: 12px; border: 1px solid var(--paper-line); background: #fff; }
.mb2b__foot span:last-child { background: var(--paper-ink); color: #fff; border-color: transparent; }

.challenges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 4vw, 52px); }
.challenges li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--ink-2); }
.challenges li > .i { width: 44px; height: 44px; padding: 11px; border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.challenges h3 { font-size: 18px; letter-spacing: -.015em; }
.challenges p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.challenges p b { color: var(--text); font-weight: 560; }

@media (max-width: 1080px) {
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zones, .sectors-big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .reasons, .zones, .lcases, .sectors-big, .challenges { grid-template-columns: minmax(0, 1fr); }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wl { grid-template-columns: minmax(0, 1fr); }
  .gmap__card { position: static; margin: 0 12px 12px; }
}

/* mini visual lingue (card progetto) */
.plang { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2); }
.plang__sw { display: flex; gap: 6px; }
.plang__sw span { padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line-2); font: 500 11px var(--mono); color: var(--muted); }
.plang__sw span.on { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.plang__t { font-size: 14px; font-weight: 600; }
.plang__l { display: block; height: 7px; border-radius: 4px; background: var(--line-2); }
.plang__url { margin-top: auto; font: 400 11px var(--mono); color: var(--dim); }

/* ======================================================================
   Blocco 3: preventivo, contatti, agenzia
   ====================================================================== */

/* ---------- Modulo a step (preventivo) ---------- */
.qwrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: clamp(28px, 3vw, 40px); }
.wiz { padding: clamp(22px, 3vw, 40px); border-radius: 28px 28px 28px 80px; background: var(--ink-2); border: 1px solid var(--line-2); }
.wiz__bar { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.wiz__track { flex: 1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.wiz__track i { display: block; height: 100%; width: var(--p, 25%); border-radius: 99px; background: var(--accent); transition: width .5s var(--ease); }
.wiz__count { font: 500 13px var(--mono); color: var(--muted); white-space: nowrap; }
.wstep { border: 0; padding: 0; margin: 0; min-width: 0; }
.wstep + .wstep { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.js-wiz .wstep { display: none; margin-top: 0; padding-top: 0; border-top: 0; }
.js-wiz .wstep.is-on { display: block; animation: rise .45s var(--ease); }
.wstep legend { padding: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 560; letter-spacing: -.03em; line-height: 1.15; }
.wstep__hint { margin-top: 8px; font-size: 15px; color: var(--muted); }
.wstep__sub { margin: 24px 0 10px; font-size: 14px; font-weight: 500; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; align-items: center; height: 100%; padding: 16px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); transition: border-color .2s, background-color .2s; }
.opt span .i { grid-row: span 2; width: 40px; height: 40px; padding: 10px; border-radius: 11px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); transition: background-color .2s, color .2s; }
.opt b { font-size: 15.5px; font-weight: 560; }
.opt small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.opt input:hover + span { border-color: color-mix(in srgb, var(--text) 35%, transparent); }
.opt input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); }
.opt input:checked + span .i { background: var(--accent); color: var(--on-accent); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.wiz .chips { margin-top: 4px; }
.frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.frow .field--full { grid-column: 1 / -1; }
.field textarea { min-height: 120px; padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--ink); color: var(--text); font: inherit; font-size: 16px; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field .opt-l { font-weight: 400; color: inherit; opacity: .72; }
.wiz__nav { display: none; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.js-wiz .wiz__nav { display: flex; }
.wiz__nav .btn[hidden] { display: none; }
.wiz__err { min-height: 1.4em; margin-top: 14px; font-size: 14px; color: var(--alert); }
.wiz__done { text-align: center; padding: 24px 0 8px; }
.wiz__done .i { width: 64px; height: 64px; padding: 16px; margin: 0 auto 18px; border-radius: 50%; color: var(--on-accent); background: var(--accent); }
.wiz__done h2 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; }
.wiz__done p { margin: 12px auto 0; max-width: 34em; color: var(--muted); }
.no-js-submit { margin-top: 24px; }
.js-wiz .no-js-submit { display: none; }

.next { position: sticky; top: 112px; display: grid; gap: 12px; }
.next__box { padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.next__box h2 { font-size: 18px; letter-spacing: -.015em; }
.next__steps { margin-top: 16px; display: grid; gap: 14px; }
.next__steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; font-size: 14.5px; color: var(--muted); }
.next__steps li b { display: block; color: var(--text); font-weight: 560; }
.next__steps span.n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font: 500 13px var(--mono); color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.next__direct { display: grid; gap: 10px; margin-top: 14px; font-size: 15px; }
.next__direct a { display: flex; align-items: center; gap: 10px; }
.next__direct a:hover { color: var(--accent); }
.next__direct .i { color: var(--accent); }

/* ---------- Contatti ---------- */
.ccards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 4vw, 48px); }
.ccard { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--ink-2); transition: border-color .25s, transform .35s var(--ease); }
a.ccard:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-2px); }
.ccard > .i { width: 44px; height: 44px; padding: 11px; margin-bottom: 10px; border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.ccard small { font-size: 13px; color: var(--muted); }
.ccard strong { font-size: 20px; font-weight: 560; letter-spacing: -.02em; }
.ccard span { font-size: 14.5px; color: var(--muted); }
.cgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.cform { padding: clamp(22px, 3vw, 36px); border-radius: 26px; background: #fff; border: 1px solid var(--paper-line); color: var(--paper-ink); }
.cform h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; }
.cform > p { margin-top: 8px; color: var(--paper-muted); }
.cform .field input, .cform .field textarea { background: var(--paper); border-color: var(--paper-line); color: var(--paper-ink); }
.cform .field input::placeholder, .cform .field textarea::placeholder { color: color-mix(in srgb, var(--paper-muted) 70%, transparent); }
.cform .field input:focus, .cform .field textarea:focus { border-color: var(--accent-deep); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-deep) 15%, transparent); }
.cform .check { color: var(--paper-muted); }
.cform .form { margin-top: 22px; }
.cform .form__msg.is-ok { color: var(--ok-ink); }
.hours { margin-top: 20px; border-top: 1px solid var(--paper-line); }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--paper-line); font-size: 15px; }
.hours dt { color: var(--paper-muted); }
.cinfo h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; }
.cinfo > p { margin-top: 10px; color: var(--paper-muted); }
.cinfo .gmap { margin-top: 24px; }
.legal { margin-top: 20px; font-size: 14px; color: var(--paper-muted); line-height: 1.8; }

/* ---------- Agenzia ---------- */
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 4vw, 52px); }
.values li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--paper-line); }
.values .tile__ico { width: 48px; height: 48px; }
.values h3 { font-size: 20px; letter-spacing: -.02em; }
.values p { margin-top: 6px; font-size: 15.5px; color: var(--paper-muted); }
.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.founder__card { position: relative; aspect-ratio: 4 / 5; border-radius: 28px 28px 28px var(--r-sig); overflow: hidden; background: radial-gradient(80% 70% at 70% 20%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%), linear-gradient(170deg, var(--ink-3), var(--ink)); border: 1px solid var(--line-2); display: flex; align-items: flex-end; padding: 24px; }
.founder__ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; color: var(--dim); }
.founder__ph .i { width: 56px; height: 56px; margin: 0 auto 10px; color: var(--line-2); }
.founder__tag { position: relative; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--ink) 85%, transparent); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.founder__tag b { display: block; font-size: 17px; }
.founder__tag span { font-size: 13.5px; color: var(--muted); }
.founder h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -.038em; }
.founder blockquote { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.3; color: var(--accent-hi); }
.founder p { margin-top: 18px; font-size: 17px; color: var(--muted); max-width: 38em; }
.founder .hero__ctas { margin-top: 26px; }
.stack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 4vw, 52px); }
.stack li { padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--ink-2); }
.stack h3 { font-size: 16px; display: flex; align-items: center; gap: 10px; }
.stack h3 .i { color: var(--accent); }
.stack .pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

@media (max-width: 1080px) {
  .qwrap, .cgrid, .founder { grid-template-columns: minmax(0, 1fr); }
  .next { position: static; }
  .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder__card { max-width: 420px; }
}
@media (max-width: 760px) {
  .opts, .frow, .ccards, .values, .stack { grid-template-columns: minmax(0, 1fr); }
  .wiz { border-radius: 22px; }
}

/* ======================================================================
   Blocco 4: archivio casi, caso anonimo, blog, per agenzie, 404
   ====================================================================== */

/* ---------- Filtri ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 3vw, 40px); }
.filters button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; color: color-mix(in srgb, var(--text) 85%, transparent); transition: background-color .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: color-mix(in srgb, var(--text) 40%, transparent); }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.filters button span { font: 500 12px var(--mono); opacity: .7; }
.filters__note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- Archivio casi ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 3vw, 40px); }
.cases-grid .proj[hidden] { display: none; }
.cases-grid .proj--wide { grid-column: span 2; }
.cases-grid .proj--wide .proj__vis { height: 240px; }
.proj__kpi { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.proj__kpi b { font-size: 22px; font-weight: 560; letter-spacing: -.04em; color: var(--text); margin-right: 6px; }
.proj__none { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 20px; }
.psite { height: 100%; display: grid; grid-template-rows: auto 1fr; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2); overflow: hidden; }
.psite__bar { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; border-bottom: 1px solid var(--line); font: 400 10px var(--mono); color: var(--dim); }
.psite__bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.psite__body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; padding: 12px; }
.psite__body span { display: block; border-radius: 5px; background: var(--line); }
.psite__body .t1 { height: 10px; width: 90%; background: color-mix(in srgb, var(--text) 30%, transparent); }
.psite__body .t2 { height: 10px; width: 64%; margin-top: 6px; background: color-mix(in srgb, var(--text) 30%, transparent); }
.psite__body .t3 { height: 6px; width: 80%; margin-top: 10px; }
.psite__body .bt { height: 16px; width: 70px; margin-top: 10px; background: var(--accent); }
.psite__body .im { grid-row: span 4; border-radius: 8px; background: radial-gradient(80% 90% at 30% 20%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%), var(--ink-3); }

/* ---------- Dashboard Google Ads (caso anonimo) ---------- */
.mads { max-width: 1040px; margin-inline: auto; border-radius: 14px; border: 1px solid var(--line-2); background: var(--ink); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .85); overflow: hidden; font-size: 13px; }
.mads__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--ink-2); }
.mads__top b { display: inline-flex; align-items: center; gap: 8px; font-weight: 560; }
.mads__top b .i { width: 18px; height: 18px; color: var(--accent); }
.mads__top span { font-size: 12px; color: var(--muted); }
.mads__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.mads__kpis div { padding: 14px 16px; }
.mads__kpis div + div { border-left: 1px solid var(--line); }
.mads__kpis small { display: block; font-size: 11.5px; color: var(--muted); }
.mads__kpis b { display: block; margin-top: 2px; font: 500 22px var(--mono); letter-spacing: -.03em; }
.mads__kpis em { font-style: normal; font-size: 11.5px; color: var(--ok); }
.mads__chart { padding: 16px; }
.mads__chart svg { width: 100%; height: 150px; overflow: visible; }
.mads__chart .g { stroke: var(--line); }
.mads__chart .before { fill: none; stroke: var(--dim); stroke-width: 2; stroke-dasharray: 5 5; }
.mads__chart .after { fill: none; stroke: var(--accent); stroke-width: 2.4; }
.mads table { width: 100%; border-collapse: collapse; }
.mads th { text-align: left; font-weight: 500; font-size: 11.5px; color: var(--muted); padding: 9px 16px; border-top: 1px solid var(--line); }
.mads td { padding: 10px 16px; border-top: 1px solid var(--line); }
.mads td.n { font-family: var(--mono); text-align: right; white-space: nowrap; }
.mads th.n { text-align: right; }
.mads .on { color: var(--ok); }
.privacy-note { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px; border-radius: 18px; border: 1.5px dashed color-mix(in srgb, var(--paper-ink) 22%, transparent); }
.privacy-note .i { width: 44px; height: 44px; padding: 11px; border-radius: 12px; color: var(--accent-deep); background: color-mix(in srgb, var(--accent-deep) 10%, transparent); }
.privacy-note b { display: block; font-size: 17px; }
.privacy-note span { display: block; margin-top: 4px; font-size: 15px; color: var(--paper-muted); line-height: 1.55; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 3vw, 40px); }
.post { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--paper-line); transition: border-color .25s, transform .35s var(--ease); }
.post:hover { border-color: var(--accent-deep); transform: translateY(-2px); }
.post[hidden] { display: none; }
.post__vis { height: 170px; display: grid; place-items: center; background: radial-gradient(70% 90% at 80% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%), var(--ink); color: var(--accent); }
.post__vis .i { width: 44px; height: 44px; stroke-width: 1.3; }
.post__txt { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; color: var(--paper-muted); }
.post h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post p { font-size: 15px; color: var(--paper-muted); }
.post__more { margin-top: auto; font-size: 14.5px; font-weight: 560; color: var(--accent-deep); }
.post--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.post--feature .post__vis { height: 100%; min-height: 300px; }
.post--feature .post__txt { padding: clamp(24px, 3vw, 40px); justify-content: center; }
.post--feature h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -.03em; }
.post--feature p { font-size: 16.5px; }
.band--light .filters button { border-color: var(--paper-line); color: var(--paper-ink); }
.band--light .filters button[aria-pressed="true"] { background: var(--paper-ink); color: #fff; }

/* articolo */
.ahero .chero__head { max-width: 900px; }
.ameta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.ameta b { color: var(--text); font-weight: 560; }
.ameta .av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 13px; }
.ameta span { display: inline-flex; align-items: center; gap: 10px; }
.prose code { font: 400 .88em var(--mono); padding: 2px 6px; border-radius: 6px; background: color-mix(in srgb, var(--paper-ink) 7%, transparent); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border: 1px solid var(--paper-line); border-radius: 14px; overflow: hidden; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--paper-line); text-align: left; }
.prose th { font-size: 13px; font-weight: 500; color: var(--paper-muted); }
.prose td code { white-space: nowrap; }
.author { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 2.6em !important; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--paper-line); }
.author .av { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--paper-ink); color: #fff; font-weight: 600; font-size: 20px; }
.author b { display: block; font-size: 17px; color: var(--paper-ink); }
.author span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--paper-muted); }

/* ---------- Per agenzie ---------- */
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 4vw, 52px); }
.terms li { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--paper-line); }
.terms .tile__ico { margin-bottom: 14px; }
.terms h3 { font-size: 18px; letter-spacing: -.015em; }
.terms p { margin-top: 6px; font-size: 14.5px; color: var(--paper-muted); line-height: 1.55; }
.cta-mini { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(26px, 4vw, 52px); border-radius: 32px 32px 32px var(--r-sig); background: radial-gradient(70% 90% at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%), var(--ink-2); border: 1px solid var(--line-2); }
.cta-mini h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.035em; }
.cta-mini p { margin-top: 12px; color: var(--muted); max-width: 40em; }
.cta-mini .hero__ctas { margin-top: 0; }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; align-content: center; }
.nf__code { font: 500 clamp(80px, 14vw, 180px)/1 var(--mono); letter-spacing: -.06em; color: color-mix(in srgb, var(--accent) 70%, transparent); }
.nf h1 { margin-top: 12px; font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -.035em; }
.nf p { margin-top: 14px; max-width: 36em; color: var(--muted); font-size: 17px; }
.nf .related { margin-top: 36px; }

@media (max-width: 1080px) {
  .cases-grid, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post--feature { grid-template-columns: minmax(0, 1fr); }
  .post--feature .post__vis { min-height: 180px; }
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mads__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mads__kpis div:nth-child(3) { border-left: 0; }
  .mads__kpis div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .cases-grid, .posts, .terms { grid-template-columns: minmax(0, 1fr); }
  .cases-grid .proj--wide { grid-column: auto; }
  .cta-mini { grid-template-columns: minmax(0, 1fr); }
  .mads table th:nth-child(3), .mads table td:nth-child(3) { display: none; }
  .prose table { font-size: 13.5px; }
}

/* tabelle nel testo: su mobile gli indirizzi vanno a capo invece di allargare la pagina */
@media (max-width: 760px) {
  .prose table { display: block; overflow-x: auto; }
  .prose td code { white-space: normal; overflow-wrap: anywhere; }
}

/* Immagini vere (screenshot) al posto dei mini visual: casi e articoli da WordPress */
.proj__vis:has(.proj__img), .post__vis:has(.post__img) { padding: 0; }
.proj__img, .post__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.chero__shot { max-width: 1040px; margin: 0 auto; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .85); }
.chero__shot img { display: block; width: 100%; height: auto; }

/* ---------- Caso esteso (portfolio): YVALA e i prossimi ----------
   Tutto sta dentro .cx; i colori del cliente sono token locali, il resto usa quelli del sito. */
.cx {
  --yv-plum: #853D74; --yv-orchid: #BE5CA6; --yv-pink: #E6A2D0; --yv-ink: #3B2936;
  --yv-blush: #F4E8F0; --yv-paper: #FCFAFC; --yv-deep: #2A1726; --yv-muted: #CDB6C6;
}
.cx-steps, .cx-brand, .cx-choices, .cx-tech { padding: clamp(80px, 9vw, 128px) 0; }
.cx .section__head h2 { text-wrap: balance; }
.cx .section__head p + p { margin-top: 14px; }

/* Cornici: browser e telefono */
.cx-browser { overflow: hidden; border-radius: 12px; background: #fff; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .7); }
.cx-browser__bar { display: flex; align-items: center; gap: 12px; height: 30px; padding: 0 12px; background: #F3EEF2; border-bottom: 1px solid #E6DDE4; font-size: 11.5px; color: #796775; }
.cx-browser__bar span { display: flex; gap: 5px; }
.cx-browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: #DCCFD8; }
.cx-browser__bar b { flex: 1; min-width: 0; margin-right: 38px; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.cx-browser img, .cx-phone img { display: block; width: 100%; height: auto; }
.cx-phone { --pr: clamp(16px, 2.4vw, 32px); padding: clamp(4px, .45vw, 6px); border-radius: var(--pr); background: #18101A; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.cx-phone img { border-radius: calc(var(--pr) - 5px); }

/* Apertura: il sito sul fondo prugna del marchio */
.cx-stage { padding-bottom: clamp(56px, 7vw, 96px); }
.cx-stage__fig { position: relative; padding: clamp(24px, 5vw, 72px) clamp(16px, 5vw, 72px) clamp(64px, 7vw, 104px); border-radius: clamp(24px, 3vw, 40px); background: radial-gradient(70% 80% at 12% 0%, #5B2A50, transparent 62%), radial-gradient(60% 70% at 100% 100%, #4A2141, transparent 60%), var(--yv-deep); overflow: hidden; }
.cx-stage__desk { max-width: 1100px; margin-inline: auto; }
.cx-stage__phone { position: absolute; right: clamp(12px, 6vw, 96px); bottom: clamp(28px, 3.5vw, 48px); width: clamp(96px, 17vw, 240px); }
.cx-stage__fig figcaption { position: absolute; left: clamp(16px, 5vw, 72px); bottom: clamp(18px, 2.4vw, 34px); max-width: 52%; font-size: 14px; color: var(--yv-muted); }

/* Introduzione */
.cx-intro__txt { max-width: 46em; }
.cx-intro__txt h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -.035em; }
.cx-intro__txt p { margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--paper-muted); }
.cx-intro__txt .cx-big { margin-top: 24px; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.35; letter-spacing: -.015em; color: var(--paper-ink); }

/* Sequenza in sette passaggi */
.cx-steps__list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; }
.cx-steps__list li { position: relative; padding: 0 18px 0 0; }
.cx-steps__list li::before { content: ""; position: absolute; top: 20px; left: 48px; right: 8px; height: 1px; background: var(--line-2); }
.cx-steps__list li:last-child::before { display: none; }
.cx-steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--yv-pink) 55%, transparent); font-size: 15px; font-weight: 600; color: var(--yv-pink); }
.cx-steps__list h3 { margin-top: 20px; font-size: 18px; letter-spacing: -.015em; }
.cx-steps__list p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* Identità */
.cx-brand { color: var(--yv-blush); background: var(--yv-deep); border-radius: clamp(28px, 4vw, 56px); }
.cx-brand .section__head p { color: var(--yv-muted); }
.cx-brand__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; margin-top: clamp(40px, 5vw, 60px); }
.cx-logo, .cx-type { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(24px, 3vw, 40px); border-radius: 22px; }
.cx-logo { background: var(--yv-blush); color: var(--yv-ink); }
.cx-logo img { width: min(100%, 360px); height: auto; margin: clamp(24px, 4vw, 56px) auto; }
.cx-type { background: var(--yv-paper); color: var(--yv-ink); }
.cx-type img { width: 100%; height: auto; }
.cx-logo figcaption, .cx-type figcaption { font-size: 15px; line-height: 1.55; color: #6E5A69; }
.cx-type figcaption b { display: block; margin-bottom: 4px; font-weight: 600; color: var(--yv-ink); }
.cx-palette { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.cx-palette li { display: flex; flex-direction: column; gap: 4px; }
.cx-palette__sw { height: clamp(88px, 9vw, 132px); margin-bottom: 12px; border-radius: 18px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.cx-palette b { font-size: 16px; font-weight: 600; color: #fff; }
.cx-palette code { font-family: var(--mono); font-size: 13px; color: var(--yv-pink); }
.cx-palette p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--yv-muted); }
.cx-packs { margin-top: clamp(40px, 5vw, 64px); }
.cx-packs ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0; padding: clamp(12px, 2vw, 24px); list-style: none; border-radius: 22px; background: #F4EEF2; }
.cx-packs img { display: block; width: 100%; height: auto; border-radius: 12px; }
.cx-packs figcaption { margin-top: 16px; max-width: 44em; font-size: 15px; color: var(--yv-muted); }

/* Foto */
.cx-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: clamp(300px, 40vw, 600px) clamp(240px, 28vw, 430px); gap: 16px; margin-top: clamp(40px, 5vw, 60px); }
.cx-gallery figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; min-width: 0; }
.cx-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; background: var(--paper-2); }
.cx-gallery figcaption { font-size: 14px; color: var(--paper-muted); }
.cx-gallery__a { grid-column: 1 / 8; }
.cx-gallery__b { grid-column: 8 / 13; }
.cx-gallery__b img { object-position: center 30%; }
.cx-gallery__c { grid-column: 1 / 6; }
.cx-gallery__d { grid-column: 6 / 9; }
.cx-gallery__e { grid-column: 9 / 13; }

/* Le scelte */
.cx-choice { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(64px, 8vw, 120px); }
.cx-choice--flip .cx-choice__vis { order: 2; }
.cx-choice__vis { position: relative; min-width: 0; }
.cx-choice__vis--pair { padding: 0 clamp(36px, 6vw, 72px) clamp(28px, 4vw, 48px) 0; }
.cx-choice__vis--pair .cx-phone { position: absolute; right: 0; bottom: 0; width: 26%; }
.cx-choice__txt h3 { font-size: clamp(25px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.03em; }
.cx-choice__txt p { margin-top: 16px; font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.cx-choice__txt .cx-why { margin-top: 22px; padding-left: 18px; border-left: 2px solid var(--yv-pink); color: var(--text); }
.cx-why b { color: var(--yv-pink); font-weight: 600; }
.cx-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); margin: 0; padding: 0 clamp(0px, 3vw, 40px); list-style: none; }
.cx-phones li:nth-child(2) { transform: translateY(clamp(16px, 3vw, 40px)); }

/* Dizionario INCI: mappa ingredienti e prodotti */
.cx-inci .section__head--split { align-items: start; }
.incimap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 5vw, 60px); padding: clamp(22px, 3vw, 40px); border-radius: 28px; background: var(--yv-blush); color: var(--yv-ink); }
.incimap__ask h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; }
.incimap__live { margin-top: 12px; min-height: 3.2em; font-size: 16px; line-height: 1.5; color: #6E5A69; }
.incimap__live b { color: var(--yv-plum); font-weight: 600; }
.incimap__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.incimap__chips[hidden] { display: none; }
.incimap__chips button { padding: 9px 15px; border-radius: 999px; border: 1px solid #D9C6D3; background: #fff; color: var(--yv-ink); font: inherit; font-size: 15px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.incimap__chips button:hover { border-color: var(--yv-plum); }
.incimap__chips button[aria-pressed="true"] { background: var(--yv-plum); border-color: var(--yv-plum); color: #fff; }
.incimap__chips button:focus-visible { outline: 2px solid var(--yv-plum); outline-offset: 2px; }
.incimap__prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.incimap__prods li { display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 14px; border-radius: 16px; background: #fff; border: 1px solid transparent; transition: opacity .25s, border-color .25s, filter .25s; }
.incimap__prods img { width: 100%; height: auto; margin-bottom: 6px; border-radius: 10px; }
.incimap__prods b { font-size: 14px; font-weight: 600; line-height: 1.3; }
.incimap__prods span { font-size: 13px; line-height: 1.4; color: #6E5A69; }
.incimap.has-sel li { opacity: .38; filter: grayscale(.7); }
.incimap.has-sel li.is-on { opacity: 1; filter: none; border-color: var(--yv-plum); }
.cx-inci__shots { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: clamp(48px, 6vw, 80px); }
.cx-inci__shots .cx-browser { border-color: var(--paper-line); box-shadow: 0 30px 60px -36px rgba(42, 23, 38, .45); }
.cx-inci__why { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.cx-inci__why li { padding-top: 18px; border-top: 1px solid var(--paper-line); }
.cx-inci__why h3 { font-size: 19px; letter-spacing: -.015em; }
.cx-inci__why p { margin-top: 6px; font-size: 15.5px; line-height: 1.6; color: var(--paper-muted); }

/* Tecnica */
.cx-tech__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(40px, 5vw, 60px); }
.cx-scores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; text-align: center; }
.cx-scores li { --d: clamp(88px, 10vw, 140px); position: relative; display: grid; justify-items: center; gap: 12px; }
.cx-score { width: var(--d); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--ok) calc(var(--s) * 1%), color-mix(in srgb, var(--text) 10%, transparent) 0); -webkit-mask: radial-gradient(closest-side, transparent 84%, #000 85%); mask: radial-gradient(closest-side, transparent 84%, #000 85%); }
.cx-scores b { position: absolute; top: calc(var(--d) / 2); left: 50%; transform: translate(-50%, -50%); font-size: clamp(26px, 2.8vw, 40px); font-weight: 560; letter-spacing: -.04em; color: var(--ok); }
.cx-scores span:last-child { font-size: 14px; color: var(--muted); }
.cx-stack > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cx-stack > div:first-child { border-top: 1px solid var(--line); }
.cx-stack dt { font-size: 14px; color: var(--muted); }
.cx-stack dd { font-size: 16px; }

.cx-related, .cx-next { padding-top: 0; }

@media (max-width: 1200px) {
  .cx-steps__list { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 40px; }
  .cx-steps__list li:nth-child(4)::before { display: none; }
}
@media (max-width: 960px) {
  .cx-choice, .cx-inci__shots, .cx-tech__grid, .incimap { grid-template-columns: minmax(0, 1fr); }
  .cx-choice--flip .cx-choice__vis { order: 0; }
  .cx-palette { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .incimap__prods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cx-brand__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .cx-steps__list { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .cx-steps__list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; padding: 0 0 28px; }
  .cx-steps__list li::before, .cx-steps__list li:nth-child(4)::before { display: block; top: 48px; bottom: 6px; left: 20px; right: auto; width: 1px; height: auto; }
  .cx-steps__list li:last-child::before { display: none; }
  .cx-steps__n { grid-row: span 2; }
  .cx-steps__list h3 { margin-top: 8px; }
  .cx-stage__fig figcaption { max-width: 56%; font-size: 13px; }
  .cx-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .cx-gallery figure { grid-template-rows: auto auto; }
  .cx-gallery img { height: auto; aspect-ratio: 4 / 3; }
  .cx-gallery__a, .cx-gallery__c, .cx-gallery__e { grid-column: 1 / -1; }
  .cx-gallery__b, .cx-gallery__d { grid-column: auto; }
  .cx-gallery__b { order: 1; } .cx-gallery__d { order: 2; } .cx-gallery__c { order: 3; } .cx-gallery__e { order: 4; }
  .cx-gallery__b img, .cx-gallery__d img { aspect-ratio: 4 / 5; }
  .cx-gallery__e img { object-position: center 30%; }
  .cx-packs ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cx-packs li:nth-child(n+4) { display: none; }
  .cx-stack > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (max-width: 560px) {
  .cx-palette { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .incimap__prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-scores { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .incimap__prods li, .incimap__chips button { transition: none; }
}

/* ---------- Screenshot dentro un caso (es. grafico Google Ads) ---------- */
.prose .shot { margin: 1.8em 0 !important; }
.prose .shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--paper-line); background: #fff; }
.prose .shot figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--paper-muted); }

/* ---------- Caso esteso, variante neutra per i siti (colori ProfessionalSite) ---------- */
.cx--ps { --yv-plum: var(--accent); --yv-orchid: var(--accent); --yv-pink: var(--accent-hi); --yv-ink: #0A111A; --yv-blush: #EEF3F7; --yv-paper: #F7FAFC; --yv-deep: #0E1824; --yv-muted: #9FB0C0; }
.cx--ps .cx-stage__fig { background: radial-gradient(70% 80% at 12% 0%, #123049, transparent 62%), radial-gradient(60% 70% at 100% 100%, #0F2A3D, transparent 60%), var(--yv-deep); }
.cx--ps .cx-browser__bar { background: #EEF2F6; border-bottom-color: #DDE4EA; color: #5D6B78; }
.cx--ps .cx-browser__bar i { background: #CBD5DE; }
.cx--ps .cx-phone { background: #0B1219; }
.cx-results .kcards { margin-top: clamp(28px, 4vw, 44px) !important; }
.cx-results__link { margin-top: 22px; }
.cx-results + .cx-related { padding-top: clamp(64px, 8vw, 112px); }
