/* ==========================================================================
   guide.css — Centro assistenza di myscraper.it (/assistenza e /guide/…).
   Stesso linguaggio delle pagine nuove (index-nuova.css): fondo quasi nero,
   ciano e verde del marchio, Inter per il testo, JetBrains Mono per etichette
   e numeri. Ogni categoria ha un suo «tono» (classe .gd-tone-*) preso dai
   colori dei moduli dell'app (Trova ciano, Contatta ambra, Chiama lilla,
   Gestisci verde, Misura blu).
   Pagine servite: home del Centro (body.gd-page.gd-home), categoria
   (body.gd-page.gd-catpage), guida (body.gd-page.gd-guide).
   Menu e footer sono quelli del sito (partials + style.css): qui se ne adatta
   solo l'aspetto. Nessun font o script esterno oltre a quelli già ammessi
   dalla CSP (Google Fonts). Animazioni solo su transform/opacity; con il
   movimento ridotto tutto è fermo.
   ========================================================================== */

:root {
  --gd-bg: #04060D;
  --gd-bg-2: #070A14;
  --gd-panel: #0A0F1C;
  --gd-panel-2: #0E1526;
  --gd-line: rgba(168, 186, 224, .12);
  --gd-line-2: rgba(168, 186, 224, .22);
  --gd-ink: #F3F6FC;
  --gd-ink-2: #C9D0DE;
  --gd-muted: #97A1B6;
  --gd-cyan: #00E5FF;
  --gd-cyan-ink: #7FE9FF;
  --gd-green: #00E676;
  --gd-amber: #FFC062;
  --gd-lilac: #B49CFF;
  --gd-blue: #8DB4FF;
  --gd-azure: #5AB0FF;
  --gd-pink: #FF8FC4;
  --gd-teal: #3EE6C9;
  --gd-red: #FF7A86;
  --gd-grad: linear-gradient(100deg, #00E5FF 0%, #38D8FF 30%, #00E676 100%);
  --gd-tone: var(--gd-cyan);
  --gd-tone-rgb: 0, 229, 255;
  --gd-radius: 18px;
  --gd-radius-s: 12px;
  --gd-nav: 64px;
  --gd-gutter: clamp(16px, 4.2vw, 56px);
  --gd-ease: cubic-bezier(.2, .8, .2, 1);
  --gd-font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  --gd-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Toni di categoria (vedi architettura.md, §1). */
.gd-tone-ink    { --gd-tone: #DDE5F5; --gd-tone-rgb: 221, 229, 245; }
.gd-tone-cyan   { --gd-tone: #00E5FF; --gd-tone-rgb: 0, 229, 255; }
.gd-tone-azure  { --gd-tone: #5AB0FF; --gd-tone-rgb: 90, 176, 255; }
.gd-tone-teal   { --gd-tone: #3EE6C9; --gd-tone-rgb: 62, 230, 201; }
.gd-tone-green  { --gd-tone: #00E676; --gd-tone-rgb: 0, 230, 118; }
.gd-tone-amber  { --gd-tone: #FFC062; --gd-tone-rgb: 255, 192, 98; }
.gd-tone-lilac  { --gd-tone: #B49CFF; --gd-tone-rgb: 180, 156, 255; }
.gd-tone-pink   { --gd-tone: #FF8FC4; --gd-tone-rgb: 255, 143, 196; }
.gd-tone-blue   { --gd-tone: #8DB4FF; --gd-tone-rgb: 141, 180, 255; }
.gd-tone-violet { --gd-tone: #A98BFF; --gd-tone-rgb: 169, 139, 255; }

/* ---------- Base ---------- */
body.gd-page { background: var(--gd-bg); color: var(--gd-ink); font-family: var(--gd-font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.gd-page main { display: block; overflow-x: clip; }
.gd-page main:focus { outline: none; }
.gd-page main img { max-width: 100%; height: auto; display: block; }
.gd-page [id] { scroll-margin-top: calc(var(--gd-nav) + 24px); }
.gd-page ::selection { background: rgba(0, 229, 255, .3); color: #fff; }
.gd-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.gd-ic { width: 18px; height: 18px; flex: none; }
.gd-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.gd-wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gd-gutter); }

.gd-skip { position: fixed; left: 16px; top: -64px; z-index: 2000; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--gd-bg); font: 700 14px/20px var(--gd-font); text-decoration: none; transition: top .2s; }
.gd-skip:focus { top: 12px; }

.gd-page a:focus-visible, .gd-page button:focus-visible, .gd-page summary:focus-visible,
.gd-page input:focus-visible, .gd-page [tabindex]:focus-visible { outline: 3px solid var(--gd-cyan-ink); outline-offset: 3px; border-radius: 8px; }

/* Menu del sito: stessa struttura, fondo vetro scuro e sempre visibile. */
.gd-page #nav { background: rgba(4, 6, 13, .78); border-bottom-color: rgba(168, 186, 224, .08); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); transform: none !important; }
.gd-page .nav-cta { background: var(--gd-ink) !important; color: var(--gd-bg) !important; border-radius: 999px; }
.gd-page .nav-login { border-radius: 999px; }
.gd-page .nav-links a[href="/assistenza"] { color: var(--gd-cyan-ink); }

/* Barra di lettura (solo guide). */
.gd-progress { position: fixed; left: 0; right: 0; top: var(--gd-nav); height: 2px; z-index: 999; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gd-tone), var(--gd-green)); }

/* ---------- Elementi comuni ---------- */
.gd-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1.2 var(--gd-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gd-ink-2); }
.gd-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gd-tone); box-shadow: 0 0 0 4px rgba(var(--gd-tone-rgb), .14), 0 0 14px rgba(var(--gd-tone-rgb), .8); flex: none; }
.gd-grad { background: var(--gd-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gd-cyan); }

.gd-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 3px 12px 3px 10px; border-radius: 999px; border: 1px solid rgba(var(--gd-tone-rgb), .32); background: rgba(var(--gd-tone-rgb), .08); color: var(--gd-tone); font: 600 12.5px/1.2 var(--gd-font); text-decoration: none; white-space: nowrap; }
a.gd-chip:hover { background: rgba(var(--gd-tone-rgb), .14); }
.gd-chip .gd-dot { width: 6px; height: 6px; box-shadow: none; }

.gd-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font: 600 11.5px/1.5 var(--gd-mono); letter-spacing: .02em; color: var(--gd-ink-2); background: rgba(255, 255, 255, .05); border: 1px solid var(--gd-line); white-space: nowrap; }
.gd-badge svg { width: 12px; height: 12px; }
.gd-badge--video { color: var(--gd-cyan-ink); border-color: rgba(0, 229, 255, .28); background: rgba(0, 229, 255, .07); }

.gd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 999px; font: 700 15px/1 var(--gd-font); letter-spacing: -.01em; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .3s var(--gd-ease), box-shadow .3s var(--gd-ease), background-color .2s, border-color .2s; }
.gd-btn svg { width: 17px; height: 17px; }
.gd-btn--primary { color: #031118; background: linear-gradient(120deg, #00E5FF, #5CF2C4 60%, #00E676); box-shadow: 0 10px 30px -14px rgba(0, 229, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.gd-btn--ghost { color: var(--gd-ink); background: rgba(255, 255, 255, .04); border-color: var(--gd-line-2); }
@media (hover: hover) {
  .gd-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(0, 229, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .5); }
  .gd-btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(168, 186, 224, .4); transform: translateY(-2px); }
}

/* Nomi esatti di pulsanti, campi e voci dell'app: «Avvia ricerca». */
.gd-ui { display: inline; padding: 1px 7px 2px; border-radius: 7px; background: rgba(255, 255, 255, .06); border: 1px solid var(--gd-line-2); color: var(--gd-ink); font-weight: 600; font-size: .92em; white-space: nowrap; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
/* Percorso nell'app: Barra laterale › CRM Lead Hub › Liste. */
.gd-path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 0; font-weight: 600; color: var(--gd-ink); }
.gd-path > span + span::before { content: '›'; margin: 0 8px; color: var(--gd-muted); font-weight: 400; }
.gd-kbd, .gd-page kbd { display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--gd-line-2); border-bottom-width: 2px; background: var(--gd-panel-2); color: var(--gd-ink); font: 600 12px/20px var(--gd-mono); text-align: center; }

/* ---------- Briciole ---------- */
.gd-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; list-style: none; font-size: 13.5px; color: var(--gd-muted); }
.gd-crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.gd-crumbs li + li::before { content: ''; width: 6px; height: 6px; margin: 0 12px 0 10px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; flex: none; }
.gd-crumbs a { color: var(--gd-ink-2); text-decoration: none; }
.gd-crumbs a:hover { color: var(--gd-ink); text-decoration: underline; text-underline-offset: 3px; }
.gd-crumbs [aria-current] { color: var(--gd-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }

/* ---------- Ricerca (home, categorie e guide) ---------- */
.gd-search { position: relative; width: 100%; }
.gd-search-field { position: relative; display: flex; align-items: center; }
.gd-search-field > svg { position: absolute; left: 16px; width: 19px; height: 19px; color: var(--gd-muted); pointer-events: none; }
.gd-search input[type="search"] { width: 100%; min-height: 50px; padding: 0 56px 0 46px; border-radius: 14px; border: 1px solid var(--gd-line-2); background: rgba(10, 15, 28, .82); color: var(--gd-ink); font: 500 16px/1.2 var(--gd-font); -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.gd-search input[type="search"]::placeholder { color: var(--gd-muted); opacity: 1; }
.gd-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.gd-search input[type="search"]:focus { outline: none; border-color: rgba(0, 229, 255, .55); background: rgba(10, 15, 28, .96); box-shadow: 0 0 0 4px rgba(0, 229, 255, .12); }
.gd-search-key { position: absolute; right: 14px; pointer-events: none; }
.gd-search.has-value .gd-search-key { display: none; }
.gd-search--lg input[type="search"] { min-height: 64px; border-radius: 18px; font-size: 18px; padding-left: 54px; box-shadow: 0 30px 80px -40px rgba(0, 229, 255, .45); }
.gd-search--lg .gd-search-field > svg { left: 20px; width: 22px; height: 22px; }
.gd-results { position: absolute; z-index: 50; left: 0; right: 0; top: calc(100% + 8px); max-height: min(62vh, 520px); overflow-y: auto; overscroll-behavior: contain; padding: 6px; list-style: none; border-radius: 16px; border: 1px solid var(--gd-line-2); background: rgba(10, 14, 26, .98); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.gd-results[hidden] { display: none; }
.gd-result { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px 12px; border-radius: 11px; cursor: pointer; text-decoration: none; color: inherit; }
.gd-result[aria-selected="true"], .gd-result:hover { background: rgba(0, 229, 255, .09); }
.gd-result-t { font-weight: 650; font-size: 15px; color: var(--gd-ink); line-height: 1.35; }
.gd-result-d { grid-column: 1 / -1; font-size: 13.5px; color: var(--gd-muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gd-result-c { align-self: start; font: 600 11px/1.6 var(--gd-mono); letter-spacing: .04em; color: var(--gd-tone); white-space: nowrap; }
.gd-result mark { background: rgba(0, 229, 255, .2); color: #fff; border-radius: 3px; padding: 0 1px; }
.gd-results-empty { padding: 16px 14px; font-size: 14.5px; color: var(--gd-ink-2); line-height: 1.5; }
.gd-results-empty a { color: var(--gd-cyan-ink); }
.gd-results-foot { padding: 8px 12px 6px; font: 500 11.5px/1.4 var(--gd-mono); color: var(--gd-muted); border-top: 1px solid var(--gd-line); margin-top: 4px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Testata della guida ---------- */
.gd-hero { position: relative; z-index: 3; padding: calc(var(--gd-nav) + clamp(28px, 4vw, 48px)) 0 clamp(28px, 3.6vw, 44px); border-bottom: 1px solid var(--gd-line); isolation: isolate; }
.gd-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 90% at 12% 0%, rgba(var(--gd-tone-rgb), .13), transparent 60%), radial-gradient(40% 70% at 92% 10%, rgba(124, 77, 255, .08), transparent 60%); }
.gd-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 34px); }
.gd-hero-top .gd-search { width: min(100%, 360px); }
.gd-hero-top .gd-search input[type="search"] { min-height: 42px; font-size: 14.5px; border-radius: 12px; }
.gd-h1 { max-width: 22ch; margin: 14px 0 14px; font-size: clamp(32px, 4.3vw, 52px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; color: #fff; }
.gd-lead { max-width: 64ch; font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.6; color: var(--gd-ink-2); }
.gd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 20px; font: 500 12.5px/1.5 var(--gd-mono); color: var(--gd-muted); letter-spacing: .01em; }
.gd-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.gd-meta svg { width: 14px; height: 14px; color: var(--gd-tone); }
.gd-meta a { color: var(--gd-cyan-ink); text-decoration: none; }
.gd-meta a:hover { text-decoration: underline; }
.gd-forwho { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Impaginazione della guida: indice + articolo ---------- */
.gd-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: clamp(32px, 4.4vw, 64px); align-items: start; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(48px, 6vw, 80px); }
.gd-article { min-width: 0; max-width: 780px; }

.gd-toc { position: sticky; top: calc(var(--gd-nav) + 28px); max-height: calc(100vh - var(--gd-nav) - 56px); overflow-y: auto; scrollbar-width: thin; }
.gd-toc-box > summary { list-style: none; cursor: default; pointer-events: none; font: 600 11.5px/1.3 var(--gd-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gd-muted); margin-bottom: 14px; }
.gd-toc-box > summary::-webkit-details-marker { display: none; }
.gd-toc ol { list-style: none; border-left: 1px solid var(--gd-line); }
.gd-toc li a { position: relative; display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--gd-muted); text-decoration: none; transition: color .2s, border-color .2s; }
.gd-toc li a:hover { color: var(--gd-ink); }
.gd-toc li a.is-active, .gd-toc li a[aria-current="true"] { color: var(--gd-ink); border-left-color: var(--gd-tone); }
.gd-toc li.gd-toc-sub a { padding-left: 28px; font-size: 13.5px; }
.gd-toc-extra { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--gd-line); display: grid; gap: 10px; }
.gd-toc-extra a { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--gd-ink-2); text-decoration: none; }
.gd-toc-extra a:hover { color: var(--gd-cyan-ink); }
.gd-toc-extra svg { width: 15px; height: 15px; color: var(--gd-tone); }

@media (max-width: 1079px) {
  .gd-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .gd-article { max-width: none; }
  .gd-toc { position: static; max-height: none; overflow: visible; }
  .gd-toc-box { border: 1px solid var(--gd-line-2); border-radius: 14px; background: var(--gd-panel); }
  .gd-toc-box > summary { pointer-events: auto; cursor: pointer; margin: 0; padding: 14px 44px 14px 16px; position: relative; color: var(--gd-ink-2); }
  .gd-toc-box > summary::after { content: ''; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
  .gd-toc-box[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
  .gd-toc-box ol { margin: 0 16px 12px; }
  .gd-toc-extra { margin: 0 16px 16px; }
}

/* ---------- Testo ---------- */
.gd-prose { font-size: 17px; line-height: 1.72; color: var(--gd-ink-2); }
.gd-prose > * + * { margin-top: 18px; }
.gd-prose h2 { position: relative; margin-top: clamp(44px, 5vw, 60px); margin-bottom: -2px; font-size: clamp(23px, 2.2vw, 28px); line-height: 1.2; font-weight: 750; letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.gd-prose > h2:first-child { margin-top: 0; }
.gd-prose h3 { margin-top: 30px; font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.015em; color: var(--gd-ink); }
.gd-prose p { max-width: 70ch; }
.gd-prose strong { color: var(--gd-ink); font-weight: 650; }
.gd-prose a:not([class]) { color: var(--gd-cyan-ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(127, 233, 255, .4); text-underline-offset: 3px; }
.gd-prose a:not([class]):hover { text-decoration-color: currentColor; }
.gd-prose ul:not([class]), .gd-prose ol:not([class]) { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.gd-prose ul:not([class]) > li { position: relative; padding-left: 24px; }
.gd-prose ul:not([class]) > li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--gd-tone); transform: rotate(45deg); opacity: .85; }
.gd-prose ol:not([class]) { counter-reset: gdli; }
.gd-prose ol:not([class]) > li { position: relative; padding-left: 34px; counter-increment: gdli; }
.gd-prose ol:not([class]) > li::before { content: counter(gdli); position: absolute; left: 0; top: .15em; width: 23px; height: 23px; border-radius: 7px; display: grid; place-items: center; font: 700 12px/1 var(--gd-mono); color: var(--gd-tone); background: rgba(var(--gd-tone-rgb), .1); border: 1px solid rgba(var(--gd-tone-rgb), .3); }
.gd-anchor { position: absolute; left: -30px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; color: var(--gd-muted); opacity: 0; text-decoration: none; transition: opacity .2s, color .2s; }
.gd-anchor svg { width: 15px; height: 15px; }
.gd-prose h2:hover .gd-anchor, .gd-anchor:focus-visible { opacity: 1; }
.gd-anchor:hover { color: var(--gd-cyan-ink); }
@media (max-width: 1079px) { .gd-anchor { display: none; } }

/* «A cosa serve» e prerequisiti */
.gd-summary { padding: 22px 24px; border-radius: var(--gd-radius); border: 1px solid var(--gd-line-2); background: linear-gradient(180deg, rgba(var(--gd-tone-rgb), .06), rgba(255, 255, 255, .015)); }
.gd-summary h2 { margin: 0 0 10px !important; font-size: 13px !important; font: 600 12px/1.3 var(--gd-mono) !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--gd-tone) !important; }
.gd-summary p { color: var(--gd-ink); font-size: 17.5px; }
.gd-needs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: 16px !important; }
.gd-need { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--gd-line); font-size: 14.5px; line-height: 1.45; color: var(--gd-ink-2); }
.gd-need svg { width: 17px; height: 17px; margin-top: 2px; color: var(--gd-tone); flex: none; }
.gd-need strong { display: block; color: var(--gd-ink); font-size: 13px; font-weight: 650; }

/* ---------- Riquadri: Costo, Attenzione, Suggerimento, Nota ---------- */
.gd-callout { --c: var(--gd-cyan); --c-rgb: 0, 229, 255; display: grid; grid-template-columns: 34px 1fr; gap: 4px 14px; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(var(--c-rgb), .28); background: rgba(var(--c-rgb), .055); color: var(--gd-ink-2); font-size: 15.5px; line-height: 1.6; }
.gd-callout-ic { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--c); background: rgba(var(--c-rgb), .12); border: 1px solid rgba(var(--c-rgb), .3); }
.gd-callout-ic svg { width: 18px; height: 18px; }
.gd-callout-t { font: 700 12px/1.6 var(--gd-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.gd-callout-b > * + * { margin-top: 8px; }
.gd-callout-b strong { color: var(--gd-ink); }
.gd-callout-b ul { list-style: none; display: grid; gap: 6px; }
.gd-callout-b li { position: relative; padding-left: 16px; }
.gd-callout-b li::before { content: ''; position: absolute; left: 2px; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--c); }
.gd-callout--cost { --c: #5CF2C4; --c-rgb: 92, 242, 196; }
.gd-callout--warn { --c: var(--gd-amber); --c-rgb: 255, 192, 98; }
.gd-callout--tip  { --c: var(--gd-lilac); --c-rgb: 180, 156, 255; }
.gd-callout--note { --c: var(--gd-blue); --c-rgb: 141, 180, 255; }
.gd-callout--legal { --c: #FFD27A; --c-rgb: 255, 210, 122; }
.gd-cost-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.gd-cost-table th, .gd-cost-table td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--gd-line); vertical-align: top; }
.gd-cost-table th { font: 600 11px/1.4 var(--gd-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gd-muted); }
.gd-cost-table td:last-child { white-space: nowrap; color: var(--gd-ink); font-weight: 650; font-family: var(--gd-mono); font-size: 13.5px; }
.gd-cost-table tr:last-child td { border-bottom: 0; }
.gd-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Passaggi numerati ---------- */
.gd-steps { list-style: none; counter-reset: gdstep; display: grid; gap: 0; margin-top: 22px !important; }
.gd-step { position: relative; counter-increment: gdstep; padding: 0 0 38px 62px; }
.gd-step::before { content: counter(gdstep, decimal-leading-zero); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 700 14px/1 var(--gd-mono); color: var(--gd-tone); background: rgba(var(--gd-tone-rgb), .1); border: 1px solid rgba(var(--gd-tone-rgb), .35); box-shadow: 0 0 24px -6px rgba(var(--gd-tone-rgb), .45); }
.gd-step::after { content: ''; position: absolute; left: 19.5px; top: 46px; bottom: 6px; width: 1px; background: linear-gradient(180deg, rgba(var(--gd-tone-rgb), .35), var(--gd-line) 60%, transparent); }
.gd-step:last-child { padding-bottom: 8px; }
.gd-step:last-child::after { display: none; }
.gd-step > h3 { margin: 6px 0 10px !important; font-size: 19.5px; line-height: 1.3; font-weight: 700; color: #fff; letter-spacing: -.015em; }
.gd-step > * + * { margin-top: 12px; }
.gd-step p { max-width: 66ch; }
@media (max-width: 560px) {
  .gd-step { padding-left: 0; padding-top: 50px; }
  .gd-step::before { top: 0; width: 36px; height: 36px; font-size: 13px; }
  .gd-step::after { display: none; }
  .gd-step > h3 { margin-top: 0 !important; }
}

/* ---------- Schermate (cliccabili: si aprono nel visore) ---------- */
.gd-shot { margin: 18px 0 6px !important; }
.gd-shot-frame { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--gd-line-2); background: var(--gd-panel); box-shadow: 0 30px 70px -36px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4); }
a.gd-shot-frame { cursor: zoom-in; }
.gd-shot-frame img { width: 100%; height: auto; transition: transform .5s var(--gd-ease); }
.gd-shot-zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(4, 6, 13, .82); border: 1px solid var(--gd-line-2); color: var(--gd-ink); font: 600 12px/1 var(--gd-font); opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s var(--gd-ease); pointer-events: none; }
.gd-shot-zoom svg { width: 14px; height: 14px; }
@media (hover: hover) {
  a.gd-shot-frame:hover img { transform: scale(1.012); }
  a.gd-shot-frame:hover .gd-shot-zoom { opacity: 1; transform: none; }
}
a.gd-shot-frame:focus-visible .gd-shot-zoom { opacity: 1; transform: none; }
@media (hover: none) { .gd-shot-zoom { opacity: 1; transform: none; } }
.gd-shot figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--gd-muted); }
.gd-shot figcaption strong { color: var(--gd-ink-2); }
.gd-shot--narrow { max-width: min(100%, 360px); }
/* Segnaposto numerati sopra la schermata: style="--x:24%;--y:38%" */
.gd-pin { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; display: grid; place-items: center; font: 800 12px/1 var(--gd-mono); color: #031118; background: var(--gd-tone); box-shadow: 0 0 0 4px rgba(var(--gd-tone-rgb), .28), 0 6px 18px rgba(0, 0, 0, .5); pointer-events: none; }
.gd-shots-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .gd-shots-2 { grid-template-columns: 1fr; } }

/* ---------- Video ---------- */
.gd-video { margin-top: 26px !important; border-radius: 18px; border: 1px solid var(--gd-line-2); background: var(--gd-panel); overflow: hidden; box-shadow: 0 40px 90px -46px rgba(0, 229, 255, .35); }
.gd-video-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--gd-line); }
.gd-video-head strong { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--gd-ink); }
.gd-video-head strong svg { width: 18px; height: 18px; color: var(--gd-tone); }
.gd-video-player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.gd-video-player video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #000; }
.gd-video-player video::cue { font-family: var(--gd-font); font-size: 1em; line-height: 1.35; background: rgba(4, 6, 13, .82); color: #fff; }
.gd-video video::cue { background: rgba(4, 6, 13, .82); color: #fff; font-family: var(--gd-font); line-height: 1.35; }
.gd-chapters { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--gd-line); list-style: none; }
.gd-chapters button { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--gd-line-2); background: rgba(255, 255, 255, .03); color: var(--gd-ink-2); font: 500 13px/1 var(--gd-font); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.gd-chapters button span { font: 600 11.5px/1 var(--gd-mono); color: var(--gd-tone); }
.gd-chapters button:hover, .gd-chapters button.is-on { background: rgba(var(--gd-tone-rgb), .1); border-color: rgba(var(--gd-tone-rgb), .4); color: var(--gd-ink); }
.gd-transcript { border-top: 1px solid var(--gd-line); }
.gd-transcript > summary { cursor: pointer; padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--gd-ink-2); list-style: none; display: flex; align-items: center; gap: 10px; }
.gd-transcript > summary::-webkit-details-marker { display: none; }
.gd-transcript > summary svg { width: 16px; height: 16px; color: var(--gd-tone); transition: transform .2s; }
.gd-transcript[open] > summary svg { transform: rotate(90deg); }
.gd-transcript-body { padding: 0 18px 18px; font-size: 15px; line-height: 1.65; color: var(--gd-ink-2); display: grid; gap: 10px; }
.gd-transcript-body p { max-width: 70ch; }
.gd-transcript-body time { font: 600 12px/1 var(--gd-mono); color: var(--gd-tone); margin-right: 8px; }

/* ---------- Errori tipici (domanda → soluzione) ---------- */
.gd-issues { display: grid; gap: 10px; margin-top: 18px !important; }
.gd-issue { border-radius: 14px; border: 1px solid var(--gd-line-2); background: rgba(255, 255, 255, .02); transition: border-color .2s, background-color .2s; }
.gd-issue[open] { border-color: rgba(var(--gd-tone-rgb), .35); background: rgba(var(--gd-tone-rgb), .035); }
.gd-issue > summary { display: grid; grid-template-columns: 26px 1fr 20px; gap: 12px; align-items: start; cursor: pointer; padding: 15px 16px; list-style: none; font-size: 15.5px; font-weight: 650; line-height: 1.45; color: var(--gd-ink); }
.gd-issue > summary::-webkit-details-marker { display: none; }
.gd-issue > summary .gd-issue-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--gd-amber); background: rgba(255, 192, 98, .1); border: 1px solid rgba(255, 192, 98, .28); }
.gd-issue > summary .gd-issue-ic svg { width: 14px; height: 14px; }
.gd-issue > summary .gd-issue-ch { width: 9px; height: 9px; margin: 7px 0 0 4px; border-right: 2px solid var(--gd-muted); border-bottom: 2px solid var(--gd-muted); transform: rotate(45deg); transition: transform .2s; }
.gd-issue[open] > summary .gd-issue-ch { transform: rotate(-135deg); margin-top: 11px; }
.gd-issue q { quotes: '«' '»'; color: var(--gd-amber); font-weight: 600; }
.gd-issue-b { padding: 0 16px 16px 54px; font-size: 15.5px; line-height: 1.65; color: var(--gd-ink-2); }
.gd-issue-b > * + * { margin-top: 8px; }
@media (max-width: 560px) { .gd-issue-b { padding-left: 16px; } }

/* ---------- Approfondisci (blog e pagina prodotto) ---------- */
.gd-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 18px !important; }
.gd-more-card { display: grid; gap: 6px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--gd-line-2); background: var(--gd-panel); text-decoration: none; color: inherit; transition: border-color .2s, transform .3s var(--gd-ease); }
.gd-more-card small { font: 600 11px/1.4 var(--gd-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gd-tone); }
.gd-more-card strong { font-size: 16px; line-height: 1.35; color: var(--gd-ink); }
.gd-more-card span { font-size: 14px; line-height: 1.5; color: var(--gd-muted); }
@media (hover: hover) { .gd-more-card:hover { border-color: rgba(var(--gd-tone-rgb), .45); transform: translateY(-2px); } }

/* ---------- Schede di guida (correlate, categoria, home) ---------- */
.gd-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.gd-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 100%; padding: 20px 20px 18px; border-radius: 18px; border: 1px solid var(--gd-line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)); text-decoration: none; color: inherit; transition: border-color .25s, transform .35s var(--gd-ease), background-color .25s; }
.gd-card-c { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1.4 var(--gd-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gd-tone); }
.gd-card-t { font-size: 16.5px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; color: var(--gd-ink); }
.gd-card-d { font-size: 14px; line-height: 1.55; color: var(--gd-muted); flex: 1; }
.gd-card-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; font: 500 12px/1 var(--gd-mono); color: var(--gd-muted); }
.gd-card-f svg { width: 16px; height: 16px; color: var(--gd-tone); transition: transform .3s var(--gd-ease); }
@media (hover: hover) {
  .gd-card:hover { border-color: rgba(var(--gd-tone-rgb), .5); transform: translateY(-3px); background-color: rgba(var(--gd-tone-rgb), .03); }
  .gd-card:hover .gd-card-f svg { transform: translateX(3px); }
}

/* ---------- Guida precedente / successiva (integrazione 21/10) ---------- */
.gd-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(40px, 5vw, 56px) !important; }
.gd-pager a { display: grid; gap: 4px; align-content: start; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--gd-line-2); background: var(--gd-panel); text-decoration: none; color: inherit; transition: border-color .2s, transform .3s var(--gd-ease); }
.gd-pager small { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1.4 var(--gd-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gd-muted); }
.gd-pager .gd-pager-prev small::before { content: '←'; color: var(--gd-tone); letter-spacing: 0; }
.gd-pager .gd-pager-next { text-align: right; }
.gd-pager .gd-pager-next small { justify-content: flex-end; }
.gd-pager .gd-pager-next small::after { content: '→'; color: var(--gd-tone); letter-spacing: 0; }
.gd-pager strong { font-size: 15.5px; line-height: 1.4; color: var(--gd-ink); font-weight: 650; }
.gd-pager em { font: 500 12px/1.4 var(--gd-mono); font-style: normal; color: var(--gd-tone); }
@media (hover: hover) { .gd-pager a:hover { border-color: rgba(var(--gd-tone-rgb), .5); transform: translateY(-2px); } }
@media (max-width: 560px) { .gd-pager { grid-template-columns: 1fr; } .gd-pager .gd-pager-next { text-align: left; } .gd-pager .gd-pager-next small { justify-content: flex-start; } }

/* ---------- «Ti serve altro? Contattaci» ---------- */
.gd-help { position: relative; margin-top: clamp(48px, 6vw, 72px); padding: clamp(24px, 3.4vw, 40px); border-radius: 24px; border: 1px solid var(--gd-line-2); background: radial-gradient(80% 140% at 100% 0%, rgba(0, 229, 255, .12), transparent 60%), var(--gd-panel); overflow: hidden; }
.gd-help h2 { margin: 0 !important; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.gd-help > p { margin-top: 10px; max-width: 60ch; color: var(--gd-ink-2); font-size: 16px; line-height: 1.6; }
.gd-help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; margin-top: 22px; }
.gd-help-ch { display: grid; grid-template-columns: 38px 1fr; gap: 2px 12px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--gd-line); background: rgba(4, 6, 13, .5); text-decoration: none; color: inherit; transition: border-color .2s; }
.gd-help-ch:hover { border-color: rgba(0, 229, 255, .4); }
.gd-help-ch > svg { grid-row: span 2; width: 38px; height: 38px; padding: 9px; border-radius: 11px; color: var(--gd-cyan-ink); background: rgba(0, 229, 255, .08); border: 1px solid rgba(0, 229, 255, .22); }
.gd-help-ch strong { font-size: 14.5px; color: var(--gd-ink); }
.gd-help-ch span { font-size: 13px; color: var(--gd-muted); overflow-wrap: anywhere; }
.gd-help-foot { margin-top: 16px; font-size: 13.5px; color: var(--gd-muted); }
.gd-help-foot a { color: var(--gd-cyan-ink); }

.gd-updated { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--gd-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; font-size: 13.5px; color: var(--gd-muted); }
.gd-updated a { color: var(--gd-ink-2); }

/* ---------- Visore delle foto ---------- */
.gd-lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--gd-ink); overflow: hidden; }
.gd-lightbox::backdrop { background: rgba(2, 3, 8, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gd-lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.gd-lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.gd-lb-count { font: 600 12.5px/1 var(--gd-mono); color: var(--gd-muted); }
.gd-lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 6vw, 80px); }
.gd-lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 40px 120px rgba(0, 0, 0, .7); background: var(--gd-panel); }
.gd-lb-cap { padding: 14px 20px 22px; text-align: center; font-size: 14.5px; line-height: 1.5; color: var(--gd-ink-2); max-width: 900px; margin: 0 auto; }
.gd-lb-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gd-line-2); background: rgba(10, 15, 28, .9); color: var(--gd-ink); cursor: pointer; transition: background-color .2s, border-color .2s; }
.gd-lb-btn:hover { background: rgba(0, 229, 255, .12); border-color: rgba(0, 229, 255, .45); }
.gd-lb-btn svg { width: 20px; height: 20px; }
.gd-lb-btn[disabled] { opacity: .35; cursor: default; }
.gd-lb-prev, .gd-lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.gd-lb-prev { left: clamp(6px, 1.6vw, 20px); }
.gd-lb-next { right: clamp(6px, 1.6vw, 20px); }
@media (max-width: 640px) { .gd-lb-prev, .gd-lb-next { top: auto; bottom: -58px; transform: none; } .gd-lb-cap { padding-top: 66px; } }

/* ---------- Toast (link copiato) ---------- */
.gd-toast { position: fixed; left: 50%; bottom: 24px; z-index: 3000; transform: translate(-50%, 12px); opacity: 0; padding: 10px 16px; border-radius: 999px; background: var(--gd-ink); color: var(--gd-bg); font: 600 14px/1.2 var(--gd-font); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); transition: opacity .25s, transform .25s var(--gd-ease); pointer-events: none; }
.gd-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   HOME DEL CENTRO (/assistenza)
   ========================================================================== */
.gd-home-hero { position: relative; z-index: 3; padding: calc(var(--gd-nav) + clamp(48px, 7vw, 96px)) 0 clamp(44px, 6vw, 72px); text-align: center; isolation: isolate; }
.gd-home-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 80% at 50% 0%, rgba(0, 229, 255, .16), transparent 70%), radial-gradient(30% 60% at 85% 30%, rgba(124, 77, 255, .1), transparent 70%), radial-gradient(30% 60% at 12% 40%, rgba(0, 230, 118, .07), transparent 70%); }
.gd-home-hero h1 { max-width: 18ch; margin: 16px auto 16px; font-size: clamp(38px, 5.6vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -.045em; text-wrap: balance; color: #fff; }
.gd-home-hero > .gd-wrap > p { max-width: 60ch; margin: 0 auto; font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.6; color: var(--gd-ink-2); }
.gd-home-search { max-width: 720px; margin: clamp(26px, 3.4vw, 40px) auto 0; text-align: left; }
.gd-home-hints { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.gd-home-hints a, .gd-home-hints button { display: inline-flex; align-items: center; min-height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--gd-line-2); background: rgba(255, 255, 255, .03); color: var(--gd-ink-2); font: 500 13.5px/1 var(--gd-font); text-decoration: none; cursor: pointer; }
.gd-home-hints a:hover, .gd-home-hints button:hover { color: var(--gd-ink); border-color: rgba(0, 229, 255, .4); }
.gd-section { padding: clamp(44px, 6vw, 84px) 0; }
.gd-section + .gd-section { border-top: 1px solid var(--gd-line); }
.gd-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 34px); }
.gd-section-head h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.gd-section-head p { margin-top: 10px; max-width: 60ch; color: var(--gd-ink-2); font-size: 16px; line-height: 1.6; }
.gd-section-head a { color: var(--gd-cyan-ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.gd-section-head a:hover { text-decoration: underline; }

/* Schede delle categorie */
.gd-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 14px; }
.gd-catcard { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 6px 16px; padding: 22px; border-radius: 20px; border: 1px solid var(--gd-line-2); background: linear-gradient(160deg, rgba(var(--gd-tone-rgb), .08), rgba(255, 255, 255, .012) 55%); text-decoration: none; color: inherit; overflow: hidden; transition: border-color .25s, transform .35s var(--gd-ease); }
.gd-catcard-ic { grid-row: span 3; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--gd-tone); background: rgba(var(--gd-tone-rgb), .12); border: 1px solid rgba(var(--gd-tone-rgb), .32); }
.gd-catcard-ic svg { width: 22px; height: 22px; }
.gd-catcard strong { font-size: 17px; line-height: 1.3; color: var(--gd-ink); letter-spacing: -.01em; }
.gd-catcard span { font-size: 14px; line-height: 1.5; color: var(--gd-muted); }
.gd-catcard small { font: 600 11.5px/1.4 var(--gd-mono); color: var(--gd-ink-2); letter-spacing: .02em; }
@media (hover: hover) { .gd-catcard:hover { border-color: rgba(var(--gd-tone-rgb), .55); transform: translateY(-3px); } }

/* Guide più usate: elenco numerato a due colonne */
.gd-popular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; list-style: none; counter-reset: gdpop; }
.gd-popular li { counter-increment: gdpop; border-bottom: 1px solid var(--gd-line); }
.gd-popular a { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; text-decoration: none; color: var(--gd-ink); font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.gd-popular a::before { content: counter(gdpop, decimal-leading-zero); font: 700 13px/1 var(--gd-mono); color: var(--gd-muted); }
.gd-popular a:hover { color: var(--gd-cyan-ink); }
.gd-popular small { font: 500 11.5px/1 var(--gd-mono); color: var(--gd-tone); white-space: nowrap; }
@media (max-width: 760px) { .gd-popular { grid-template-columns: 1fr; } }

/* Video in evidenza */
.gd-vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.gd-vcard { display: grid; gap: 12px; text-decoration: none; color: inherit; }
.gd-vcard-th { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--gd-line-2); background: var(--gd-panel); }
.gd-vcard-th img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--gd-ease); }
.gd-vcard-th::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(4, 6, 13, .7)); }
.gd-vcard-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--gd-bg); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .3s var(--gd-ease); }
.gd-vcard-play svg { width: 20px; height: 20px; margin-left: 3px; }
.gd-vcard-dur { position: absolute; z-index: 1; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(4, 6, 13, .85); font: 600 12px/1.3 var(--gd-mono); color: #fff; }
.gd-vcard strong { font-size: 16px; line-height: 1.35; color: var(--gd-ink); }
.gd-vcard span { font-size: 13.5px; color: var(--gd-muted); }
@media (hover: hover) { .gd-vcard:hover .gd-vcard-th img { transform: scale(1.03); } .gd-vcard:hover .gd-vcard-play { transform: scale(1.08); } }

/* ==========================================================================
   PAGINA DI CATEGORIA (/guide/<categoria>/)
   ========================================================================== */
.gd-cat-hero .gd-h1 { max-width: 24ch; }
.gd-cat-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: var(--gd-tone); background: rgba(var(--gd-tone-rgb), .12); border: 1px solid rgba(var(--gd-tone-rgb), .34); margin-top: 18px; }
.gd-cat-icon svg { width: 26px; height: 26px; }
.gd-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--gd-line); }
.gd-list li { border-bottom: 1px solid var(--gd-line); }
.gd-list a { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 22px 4px; text-decoration: none; color: inherit; }
.gd-list a strong { font-size: 18px; line-height: 1.35; color: var(--gd-ink); letter-spacing: -.01em; }
.gd-list a span { grid-column: 1; font-size: 15px; line-height: 1.55; color: var(--gd-muted); max-width: 70ch; }
.gd-list a .gd-list-meta { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.gd-list a:hover strong { color: var(--gd-cyan-ink); }
@media (max-width: 640px) { .gd-list a { grid-template-columns: 1fr; } .gd-list a .gd-list-meta { grid-column: 1; grid-row: auto; justify-content: flex-start; } }
.gd-subhead { margin: clamp(34px, 4vw, 52px) 0 14px; font: 600 12px/1.3 var(--gd-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gd-muted); }

/* ==========================================================================
   HOME DEL CENTRO: contatti, modulo, mappa e FAQ (integrazione 21/10).
   Gli id del modulo e delle FAQ sono quelli di sempre: li usa assistenza.js.
   ========================================================================== */
.gd-home .gd-section-head .gd-kicker { display: block; margin-bottom: 10px; }
.gd-kicker { font: 600 12px/1.3 var(--gd-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gd-tone); }
.gd-home-hero > .gd-wrap > p.gd-home-stats { max-width: none; margin-top: 28px; }
@media (max-width: 560px) { .gd-allvids a { grid-template-columns: 22px 1fr; } .gd-allvids a small { grid-column: 2; } }
.gd-home-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 26px; font: 500 13px/1.4 var(--gd-mono); color: var(--gd-muted); }
.gd-home-stats b { color: var(--gd-ink); font-weight: 700; }
.gd-start { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: gdstart; list-style: none; }
.gd-start li { counter-increment: gdstart; }
.gd-start a { position: relative; display: grid; gap: 8px; height: 100%; padding: 22px 22px 20px; border-radius: 20px; border: 1px solid var(--gd-line-2); background: linear-gradient(160deg, rgba(var(--gd-tone-rgb), .08), rgba(255, 255, 255, .012) 60%); text-decoration: none; color: inherit; transition: border-color .25s, transform .35s var(--gd-ease); }
.gd-start a::before { content: counter(gdstart, decimal-leading-zero); font: 700 12px/1 var(--gd-mono); color: var(--gd-tone); letter-spacing: .08em; }
.gd-start strong { font-size: 17px; line-height: 1.3; color: var(--gd-ink); letter-spacing: -.01em; }
.gd-start span { font-size: 14px; line-height: 1.55; color: var(--gd-muted); }
.gd-start small { font: 500 11.5px/1.4 var(--gd-mono); color: var(--gd-ink-2); }
@media (hover: hover) { .gd-start a:hover { border-color: rgba(var(--gd-tone-rgb), .55); transform: translateY(-3px); } }
@media (max-width: 860px) { .gd-start { grid-template-columns: 1fr; } }
.gd-allvids { columns: 2 320px; column-gap: 32px; list-style: none; margin-top: 8px; }
.gd-allvids li { break-inside: avoid; border-bottom: 1px solid var(--gd-line); }
.gd-allvids a { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; text-decoration: none; color: var(--gd-ink); font-size: 15px; line-height: 1.4; }
.gd-allvids a svg { width: 18px; height: 18px; color: var(--gd-tone); }
.gd-allvids a small { font: 600 11.5px/1 var(--gd-mono); color: var(--gd-muted); }
.gd-allvids a:hover { color: var(--gd-cyan-ink); }
.gd-allvids-wrap { margin-top: 34px; }
.gd-allvids-wrap > h3 { font-size: 18px; color: var(--gd-ink); letter-spacing: -.01em; }

.gd-channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.gd-channel { display: flex; flex-direction: column; gap: 8px; padding: 24px 22px; border-radius: 20px; border: 1px solid var(--gd-line-2); background: linear-gradient(160deg, rgba(var(--gd-tone-rgb), .07), rgba(255, 255, 255, .012) 60%); }
.gd-channel-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--gd-tone); background: rgba(var(--gd-tone-rgb), .12); border: 1px solid rgba(var(--gd-tone-rgb), .3); margin-bottom: 6px; }
.gd-channel-ic svg { width: 21px; height: 21px; }
.gd-channel h3 { font-size: 17px; line-height: 1.3; color: var(--gd-ink); }
.gd-channel p { font-size: 14px; line-height: 1.55; color: var(--gd-muted); flex: 1; }
.gd-channel-v { font-size: 15px; font-weight: 650; color: var(--gd-ink); word-break: break-word; }
.gd-channel-v a { color: var(--gd-tone); text-decoration: none; }
.gd-channel-v a:hover { text-decoration: underline; }
.gd-channel-m { font: 500 12px/1.4 var(--gd-mono); color: var(--gd-muted); }

.gd-contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: clamp(30px, 4vw, 48px); }
@media (max-width: 900px) { .gd-contact { grid-template-columns: 1fr; } }
.gd-contact-head h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.gd-contact-head p { margin-top: 10px; color: var(--gd-ink-2); font-size: 15.5px; line-height: 1.6; max-width: 56ch; }
.gd-form { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.gd-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .gd-form-row { grid-template-columns: 1fr; } }
.gd-field { display: flex; flex-direction: column; gap: 6px; }
.gd-field label { font-size: 13px; font-weight: 600; color: var(--gd-ink-2); }
.gd-field .req { color: var(--gd-red); }
.gd-field input, .gd-field textarea, .gd-field select { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--gd-line-2); background: rgba(4, 6, 13, .6); color: var(--gd-ink); font: 400 15px/1.4 var(--gd-font); transition: border-color .2s, background-color .2s; }
.gd-field select { appearance: auto; }
.gd-field select option { background: var(--gd-panel); color: var(--gd-ink); }
.gd-field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.gd-field input:focus, .gd-field textarea:focus, .gd-field select:focus { outline: none; border-color: rgba(0, 229, 255, .55); background: rgba(4, 6, 13, .85); }
.gd-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.55; color: var(--gd-ink-2); cursor: pointer; }
.gd-check input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--gd-cyan); }
.gd-check a { color: var(--gd-cyan-ink); }
.gd-form-submit { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--gd-ink); color: var(--gd-bg); font: 700 15px/1 var(--gd-font); cursor: pointer; transition: transform .25s var(--gd-ease), box-shadow .25s; box-shadow: 0 10px 30px rgba(0, 229, 255, .12); }
.gd-form-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 229, 255, .22); }
.gd-form-submit:disabled { opacity: .55; cursor: not-allowed; }
.gd-page .ac-form-status { display: none; padding: 13px 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.gd-page .ac-form-status.success { display: block; background: rgba(0, 230, 118, .1); border: 1px solid rgba(0, 230, 118, .35); color: #7DF5B4; }
.gd-page .ac-form-status.error { display: block; background: rgba(255, 122, 134, .1); border: 1px solid rgba(255, 122, 134, .35); color: #FFB0B8; }
.gd-side { align-self: start; position: sticky; top: calc(var(--gd-nav) + 24px); display: grid; gap: 22px; padding: 26px; border-radius: 20px; border: 1px solid var(--gd-line-2); background: var(--gd-panel); }
@media (max-width: 900px) { .gd-side { position: static; } }
.gd-side h4 { font: 600 11.5px/1.3 var(--gd-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gd-tone); margin-bottom: 8px; }
.gd-side p { font-size: 14.5px; line-height: 1.6; color: var(--gd-ink-2); }
.gd-side strong { color: var(--gd-ink); }
.gd-side a { color: var(--gd-cyan-ink); }
.gd-page .ac-side-hours-status { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 8px; padding: 4px 11px; border-radius: 999px; font: 600 12px/1.4 var(--gd-font); border: 1px solid var(--gd-line-2); color: var(--gd-ink-2); }
.gd-page .ac-side-hours-status.open { background: rgba(0, 230, 118, .1); border-color: rgba(0, 230, 118, .35); color: #7DF5B4; }
.gd-page .ac-side-hours-status.closed { background: rgba(255, 122, 134, .08); border-color: rgba(255, 122, 134, .3); color: #FFB0B8; }
.gd-page .ac-side-hours-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.gd-map { margin-top: clamp(28px, 4vw, 44px); border-radius: 20px; overflow: hidden; border: 1px solid var(--gd-line-2); background: var(--gd-panel); aspect-ratio: 21 / 8; }
.gd-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.92) hue-rotate(180deg); }
@media (max-width: 640px) { .gd-map { aspect-ratio: 4 / 3; } }

.gd-faq-tools { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.gd-faq-search { position: relative; flex: 1 1 320px; max-width: 460px; }
.gd-faq-search svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; color: var(--gd-muted); pointer-events: none; }
.gd-faq-search input { width: 100%; min-height: 46px; padding: 0 14px 0 42px; border-radius: 12px; border: 1px solid var(--gd-line-2); background: rgba(4, 6, 13, .6); color: var(--gd-ink); font: 400 15px/1 var(--gd-font); }
.gd-faq-search input:focus { outline: none; border-color: rgba(0, 229, 255, .55); }
.gd-faq-note { font-size: 14px; color: var(--gd-muted); }
.gd-faq-note a { color: var(--gd-cyan-ink); }
.gd-faq { display: grid; gap: 0; border-top: 1px solid var(--gd-line); }
.gd-faq details { border-bottom: 1px solid var(--gd-line); }
.gd-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 4px; cursor: pointer; list-style: none; font-size: 16.5px; line-height: 1.4; font-weight: 650; color: var(--gd-ink); }
.gd-faq summary::-webkit-details-marker { display: none; }
.gd-faq summary svg { width: 18px; height: 18px; flex: none; color: var(--gd-muted); transition: transform .25s var(--gd-ease); }
.gd-faq details[open] summary svg { transform: rotate(90deg); color: var(--gd-tone); }
.gd-faq-a { padding: 0 4px 20px; max-width: 76ch; font-size: 15.5px; line-height: 1.65; color: var(--gd-ink-2); }
.gd-faq-a a { color: var(--gd-cyan-ink); font-weight: 600; }
.gd-faq-more { display: inline-block; margin-top: 8px; font-size: 14.5px; color: var(--gd-muted); }
.gd-faq-empty { padding: 26px 4px; color: var(--gd-muted); font-size: 15px; }
.gd-faq-empty a { color: var(--gd-cyan-ink); }
.gd-bloglink { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: clamp(22px, 3vw, 32px); border-radius: 22px; border: 1px solid var(--gd-line-2); background: radial-gradient(70% 140% at 0% 0%, rgba(0, 229, 255, .1), transparent 60%), var(--gd-panel); }
.gd-bloglink p { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.4; font-weight: 650; color: var(--gd-ink); max-width: 44ch; }
.gd-bloglink a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(0, 229, 255, .4); color: var(--gd-cyan-ink); font-weight: 650; font-size: 15px; text-decoration: none; transition: background-color .2s; }
.gd-bloglink a:hover { background: rgba(0, 229, 255, .08); }
.gd-bloglink a svg { width: 18px; height: 18px; }

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

/* ---------- Stampa: solo l'articolo, su fondo bianco ---------- */
@media print {
  #nav, .nav-mobile-overlay, footer, .gd-toc, .gd-hero-top .gd-search, .gd-help, .gd-progress, .gd-video-player, .gd-chapters, .gd-skip, .gd-related, #chatAssistant, .cookie-banner { display: none !important; }
  body.gd-page { background: #fff; color: #111; }
  .gd-hero { padding-top: 0; border: 0; }
  .gd-hero::before { display: none; }
  .gd-h1, .gd-prose h2, .gd-step > h3, .gd-prose strong { color: #000 !important; }
  .gd-prose, .gd-lead, .gd-callout, .gd-issue-b { color: #222 !important; }
  .gd-layout { display: block; }
  .gd-issue > .gd-issue-b { display: block !important; }
  .gd-shot-frame { box-shadow: none; border-color: #ccc; }
  .gd-transcript-body { display: grid !important; }
  a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: .8em; }
}

/* ---------- Revisione qualità 21/10 ---------- */
/* I passi sono una griglia: senza minmax(0,1fr) un'etichetta lunga dell'app
   (.gd-ui non va a capo) allargava tutta la colonna e a 390 px il testo
   veniva tagliato a destra. */
.gd-steps { grid-template-columns: minmax(0, 1fr); }
.gd-step { min-width: 0; }
@media (max-width: 700px) { .gd-ui { white-space: normal; overflow-wrap: anywhere; } }
/* Briciole: il titolo lungo si accorcia con i puntini invece di uscire. */
.gd-crumbs li { max-width: 100%; }
.gd-crumbs [aria-current] { display: block; min-width: 0; }
/* Video in evidenza: 8 schede, sempre righe piene (4, 2 o 1 per riga). */
.gd-vids { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 899px) { .gd-vids { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gd-vids { grid-template-columns: 1fr; } }
/* Sezioni: 13 schede in 4, 3 o 2 colonne; la tredicesima prende tutta la
   riga invece di restare sola in un angolo. */
.gd-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1099px) { .gd-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .gd-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gd-cats { grid-template-columns: 1fr; } }
@media (min-width: 561px) { .gd-cats > .gd-catcard:nth-child(13):last-child { grid-column: 1 / -1; } }
.gd-hero-top .gd-crumbs { min-width: 0; max-width: 100%; }
