/* ---------- La Guida ---------- */
.g-loading { padding: 60px 16px; text-align: center; color: var(--muted); }
.g-brand { display: flex; flex-direction: column; }
.g-brand small { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); }
.g-home { padding-bottom: 32px; }
.section-title { margin: 0; }
.g-sub { margin: 4px 0 14px; font-size: 14px; color: var(--muted); }

.g-btn { min-height: 50px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; text-align: center; border: none; cursor: pointer; }
.g-btn.gold { background: var(--gold); color: var(--ink); }
.g-btn.gold:hover { background: #D6B25E; color: var(--ink); }
.g-btn.ghost { border: 1.5px solid #5C7395; color: #fff; }
.g-btn.ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.g-btn.blue { background: var(--blue); color: #fff; }
.g-btn.blue:hover { background: var(--blue-dark); color: #fff; }
.g-btn.line { border: 1.5px solid var(--blue); color: var(--blue); background: #fff; }
.g-btn.white { background: #fff; color: var(--blue-dark); }
.g-pill { align-self: flex-start; display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.eyebrow-gold { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-ink); }
.g-pbar { height: 10px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.g-pbar span { display: block; height: 100%; background: var(--gold); border-radius: 999px; transition: width .3s; }

/* Hero */
.g-hero { position: relative; overflow: hidden; margin: 4px 0 16px; padding: 30px 22px 26px; border-radius: 24px; background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 16px; }
.g-hero-fly { position: absolute; right: -40px; top: -22px; width: 165px; height: auto; transform: rotate(12deg); pointer-events: none; }
.g-kicker { position: relative; margin: 0; max-width: 200px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #D9BB72; }
.g-hero h1 { position: relative; margin: 0; max-width: 300px; font-family: var(--serif); font-size: 42px; line-height: 1.02; }
.g-hero-text { position: relative; margin: 0; max-width: 620px; font-size: 15px; line-height: 1.55; color: #C9D3E0; }
.g-hero-cta { position: relative; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
@media (min-width: 720px) {
  .g-hero { padding: 52px 48px 44px; }
  .g-hero-fly { width: 270px; right: 30px; top: 18px; }
  .g-hero h1 { max-width: 620px; font-size: 60px; }
  .g-kicker { max-width: none; }
  .g-hero-cta { flex-direction: row; }
}

/* Countdown + errori */
.g-top-grid, .g-bottom-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); margin-bottom: 16px; }
.g-cd { padding: 20px; border-radius: 20px; background: #fff; border: 1.5px solid var(--gold); display: flex; flex-direction: column; gap: 12px; }
.g-cd-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.g-live { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--danger); }
.g-live span { width: 8px; height: 8px; border-radius: 999px; background: var(--danger); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.g-cd h2 { margin: 0; font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.g-cd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.g-cd-grid div { padding: 10px 0; border-radius: 12px; background: var(--bg); text-align: center; }
.g-cd-grid b { display: block; font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.g-cd-grid span { font-size: 11px; font-weight: 700; color: var(--muted); }
.cd-status { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.cd-note { margin: 0; font-size: 13px; color: var(--muted); }
.g-errors { padding: 20px; border-radius: 20px; background: var(--gold-paper); border: 1px solid #E2D3AE; display: flex; flex-direction: column; gap: 12px; }
.g-errors h2 { margin: 0; font-family: var(--serif); font-size: 26px; }
.g-err { display: flex; gap: 12px; align-items: flex-start; }
.g-err span { flex: none; width: 26px; height: 26px; border-radius: 999px; background: var(--danger); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.g-err p { margin: 0; font-size: 14px; line-height: 1.5; color: #3E3214; }
.g-link-gold { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; color: var(--gold-ink); }

/* Prossime scadenze */
.g-deadlines { padding: 20px; border-radius: 20px; background: var(--gold-paper); border: 1px solid #E2D3AE; display: flex; flex-direction: column; gap: 10px; }
.g-deadlines h2 { margin: 0; font-family: var(--serif); font-size: 26px; }
.g-dl-sub { margin: 0; font-size: 13px; color: #5A4718; }
.g-deadlines ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.g-deadlines li { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: #fff; }
.g-dl-date { flex: none; width: 52px; min-height: 54px; border-radius: 12px; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.g-dl-date b { font-size: 20px; line-height: 1; }
.g-dl-date span { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #D9BB72; }
.g-deadlines li.tba .g-dl-date { background: var(--bg); color: var(--muted); }
.g-dl-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.g-dl-main b { font-size: 15px; line-height: 1.3; }
.g-dl-when { font-size: 12px; color: var(--muted); }
.g-deadlines li.dated .g-dl-when { font-weight: 700; color: var(--danger); }
.g-dl-kind { align-self: flex-start; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; }
.g-dl-kind.sale { background: var(--gold); color: var(--ink); }
.g-dl-kind.addon { background: var(--blue-soft); color: var(--blue-dark); }
.g-dl-kind.address { background: #FCEBEA; color: #8C1D18; }
.g-dl-kind.other { background: var(--bg); color: var(--muted); }

/* Roadmap */
.g-roadmap { margin: 28px 0; }
.g-roadmap ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.g-roadmap li { display: flex; gap: 14px; position: relative; padding-bottom: 14px; }
.g-roadmap li:not(.last)::before { content: ''; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.g-roadmap li.now::before { background: var(--gold); }
.g-rm-dot { flex: none; position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 999px; background: #fff; border: 2px solid var(--line); color: var(--muted); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.g-roadmap li.now .g-rm-dot { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.g-rm-card { flex: 1; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.g-rm-card:hover { color: var(--ink); box-shadow: 0 4px 14px rgba(22,38,61,.1); }
.g-rm-card b { font-size: 16px; }
.g-rm-card span:not(.g-pill) { font-size: 13px; color: var(--muted); }
.g-roadmap li.last .g-rm-card { background: var(--blue-soft); }

/* Capitoli */
.g-chapters { margin: 8px 0 28px; }
.g-groups { display: grid; gap: 22px; margin-top: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.g-group h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 22px; }
.g-group-list { display: flex; flex-direction: column; gap: 8px; }
.g-ch { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.g-ch:hover { color: var(--ink); box-shadow: 0 4px 14px rgba(22,38,61,.1); }
.g-ch.urgent { border: 1.5px solid var(--gold); box-shadow: none; }
.g-ch-num { font-size: 13px; font-weight: 700; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.g-ch-ic { color: var(--blue); display: flex; }
.g-ch-title { flex: 1; font-size: 15px; font-weight: 600; }
.g-ch-arrow { color: var(--blue); display: flex; }

/* Checklist e community */
.g-cklite { padding: 20px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.g-cklite-head { display: flex; justify-content: space-between; align-items: baseline; }
.g-cklite h2, .g-community h2 { margin: 0; font-family: var(--serif); font-size: 26px; }
.g-cklite b { color: var(--blue); }
.g-cklite p, .g-community p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.g-community { padding: 22px 20px; border-radius: 20px; background: var(--blue); color: #fff; display: flex; flex-direction: column; gap: 12px; }
.g-community p { color: var(--blue-soft); }
.g-link-white { min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #fff; }
.g-link-white:hover { color: #fff; }

/* Footer */
.g-foot { margin-top: 20px; padding: 26px 0 40px; background: #fff; border-top: 2px solid var(--gold); }
.g-foot .brand-name { font-size: 20px; }
.g-foot p { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 680px; }
.g-foot p.small { font-size: 12px; color: var(--soft-text); }

/* ---------- Pagina capitolo ---------- */
.g-bar { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid #E1E6ED; }
.g-bar-in { max-width: 820px; margin: 0 auto; padding: 8px 12px; display: flex; align-items: center; gap: 8px; }
.g-back { flex: none; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.g-back:hover { background: var(--bg); color: var(--ink); }
.g-bar-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.g-bar-title small { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); }
.g-bar-title span { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-bar .langs a { min-width: 34px; min-height: 34px; font-size: 12px; }
.g-bar-progress { height: 3px; background: var(--bg); }
.g-bar-progress span { display: block; height: 100%; background: var(--gold); }
@media (max-width: 420px) { .g-bar .langs { display: none; } }

.g-chapter { max-width: 820px; margin: 0 auto; padding: 0 16px 30px; }
.g-ch-head { padding: 26px 2px 6px; display: flex; flex-direction: column; gap: 12px; }
.g-ch-head h1 { margin: 0; font-family: var(--serif); font-size: 40px; line-height: 1.05; }
.g-lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
@media (min-width: 720px) { .g-ch-head h1 { font-size: 52px; } }

.g-cover { margin: 10px 0 6px; border-radius: 20px; overflow: hidden; background: var(--blue-soft); }
.g-cover img { display: block; width: 100%; max-height: 420px; object-fit: cover; }
.g-figure { margin: 18px 0; }
.g-figure img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }
.g-figure figcaption { margin-top: 6px; font-size: 13px; color: var(--soft-text); text-align: center; }
.g-short { margin: 16px 0; padding: 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.g-short h2 { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); }
.g-short ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.g-short li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.g-short li svg { flex: none; margin-top: 2px; color: var(--gold); stroke-width: 2.4; }

.g-body { font-size: 16px; line-height: 1.7; color: #23344D; }
.g-body h2 { margin: 34px 0 10px; font-family: var(--serif); font-size: 30px; line-height: 1.15; color: var(--ink); }
.g-body h3 { margin: 22px 0 6px; font-size: 18px; color: var(--ink); }
.g-body p { margin: 0 0 12px; }
.g-body ul, .g-body ol { margin: 0 0 14px; padding-left: 22px; }
.g-body li { margin: 0 0 6px; }
.g-body li::marker { color: var(--gold-text); font-weight: 700; }
.g-body strong { color: var(--ink); }
.g-body a { overflow-wrap: anywhere; }

.g-callout { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; padding: 14px 16px; border-radius: 14px; font-size: 15px; line-height: 1.55; }
.g-callout p { margin: 0; }
.g-callout svg { flex: none; margin-top: 2px; }
.g-callout.warn { background: #FCEBEA; color: #5C1712; }
.g-callout.warn svg { color: var(--danger); }
.g-callout.tip { background: var(--gold-paper); border: 1px solid #E2D3AE; color: #3E3214; }
.g-callout.tip svg { color: var(--gold-text); }
.g-callout.info { background: var(--blue-soft); color: #13365C; }
.g-callout.info svg { color: var(--blue); }

.g-table { margin: 14px 0 18px; overflow-x: auto; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.g-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.g-table th { text-align: left; padding: 10px 12px; background: var(--ink); color: #fff; font-weight: 700; white-space: nowrap; }
.g-table td { padding: 10px 12px; border-top: 1px solid #EDF1F5; vertical-align: top; }
.g-table td.first { font-weight: 600; color: var(--ink); min-width: 110px; }
.g-table tbody tr:nth-child(even) td { background: #FAFBFC; }

.g-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 30px 0 14px; }
.g-pager a { padding: 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.g-pager a.next { background: var(--blue); color: #fff; text-align: right; }
.g-pager small { font-size: 12px; opacity: .8; }
.g-pager b { font-size: 14px; line-height: 1.3; }
.g-ask { padding: 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; text-align: center; }

/* ---------- Checklist interattiva ---------- */
.g-checklist { margin-top: 18px; }
.ck-head { position: sticky; top: 64px; z-index: 5; padding: 14px; margin-bottom: 14px; border-radius: 16px; background: #fff; box-shadow: 0 2px 12px rgba(22,38,61,.08); display: flex; flex-direction: column; gap: 12px; }
.ck-progress-top { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.ck-progress-top b { color: var(--blue); }
.ck-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg); }
.ck-filters button { min-height: 40px; border: none; border-radius: 9px; background: transparent; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.ck-filters button[aria-pressed="true"] { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(22,38,61,.15); }
.ck-cat { margin-bottom: 16px; }
.ck-cat h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 22px; }
.ck-cat ul { margin: 0; padding: 0; list-style: none; border-radius: 14px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.ck-cat li { position: relative; border-top: 1px solid #EDF1F5; }
.ck-cat li:first-child { border-top: none; }
.ck-cat input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ck-cat label { display: flex; gap: 12px; align-items: center; min-height: 52px; padding: 10px 14px; cursor: pointer; }
.ck-box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #B9C6D4; display: flex; align-items: center; justify-content: center; color: transparent; }
.ck-box svg { stroke-width: 3; }
.ck-cat input:checked + label .ck-box { background: var(--blue); border-color: var(--blue); color: #fff; }
.ck-cat input:checked + label .ck-text > span { text-decoration: line-through; color: var(--soft-text); }
.ck-cat input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: -3px; }
.ck-text { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.ck-text small { font-size: 12px; color: var(--soft-text); }
.ck-ess { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-ink); background: var(--gold-soft); padding: 1px 6px; border-radius: 999px; margin-left: 4px; vertical-align: 2px; }
.ck-reset { display: block; margin: 8px auto 0; min-height: 44px; padding: 0 16px; border: none; background: none; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .g-live span { animation: none; } .g-pbar span { transition: none; } }

/* ---------- Il tuo percorso (questionario) ---------- */
.g-hero-hint { position: relative; margin: -6px 0 0; font-size: 13px; line-height: 1.5; color: #AFC0D4; max-width: 46ch; }
.g-path { padding: 22px 16px 40px; }
.pc { max-width: 680px; margin: 0 auto; padding: 26px 20px 30px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-lg); }
@media (min-width: 720px) { .pc { padding: 40px 44px; } }
.pc h1, .pc h2 { font-family: var(--serif); font-weight: 700; text-wrap: balance; margin: 0; color: var(--ink); }
.pc h1 { font-size: clamp(32px, 6vw, 44px); line-height: 1.05; margin-top: 6px; }
.pc h2 { font-size: 28px; line-height: 1.15; }
.pc-lead { color: var(--muted); margin: 12px 0 0; max-width: 60ch; }
.pc-step { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-text); }
.pc-sec { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-ink); background: var(--gold-soft); border-radius: 999px; padding: 4px 12px; }
.pc-progress { height: 5px; background: var(--line); border-radius: 5px; overflow: hidden; margin: 14px 0 6px; }
.pc-progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s; }
.pc-q { margin-top: 22px; }
.pc-help { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.pc-opts { display: grid; gap: 10px; margin-top: 18px; }
.pc-opt { display: flex; gap: 14px; align-items: flex-start; text-align: left; width: 100%; min-height: 52px; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, background .15s; }
.pc-opt:hover { border-color: var(--gold); }
.pc-opt:focus-visible, .pc-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.pc-opt[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-paper); }
.pc-dot { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); margin-top: 3px; }
.pc-opt[aria-pressed="true"] .pc-dot { border-color: var(--gold); background: radial-gradient(var(--gold) 45%, transparent 50%); }
.pc-opt strong { display: block; font-weight: 700; }
.pc-opt small { color: var(--muted); font-size: 14px; }
.pc-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pc-start { justify-content: flex-start; }
.pc-btn { min-height: 46px; padding: 0 20px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; border: 1.5px solid var(--gold); background: transparent; color: var(--gold-ink); }
.pc-btn:hover { background: var(--gold-paper); }
.pc-primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.pc-primary:hover { background: var(--gold-text); color: #fff; }
.pc-btn:disabled { opacity: .4; cursor: not-allowed; }
.pc-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pc-chip { font-size: 13px; background: var(--blue-soft); color: var(--blue-dark); border-radius: 999px; padding: 4px 12px; }
.pc-bar { display: flex; align-items: center; gap: 12px; margin: 22px 0 4px; font-size: 14px; color: var(--muted); }
.pc-bar .pc-progress { flex: 1; margin: 0; }
.pc-phase { margin-top: 28px; }
.pc-phase h3 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--gold-ink); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.pc-phase h3 span { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--soft-text); }
.pc-items { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.pc-item { background: var(--bg); border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; }
.pc-item input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold-text); }
.pc-item > div { min-width: 0; }
.pc-item.done .pc-t { text-decoration: line-through; color: var(--soft-text); }
.pc-t { font-weight: 700; cursor: pointer; }
.pc-item p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.pc-lnk { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 600; }
.pc-item.warn { background: var(--gold-soft); }
.pc-item.warn .pc-t { color: var(--gold-deep); }
.pc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pc-note { margin: 28px 0 0; font-size: 13px; color: var(--soft-text); border-top: 1px solid var(--line); padding-top: 14px; }
.pc-toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 50; }
@media (prefers-reduced-motion: reduce) { .pc * { transition: none !important; } }

/* Salva nel calendario */
.g-dl-cal { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--gold); background: #fff; color: var(--gold-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.g-dl-cal:hover { background: var(--gold-paper); }
.g-dl-cal:focus-visible, .cal-card .g-btn:focus-visible, .cal-close:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.cal-sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.cal-back { position: absolute; inset: 0; background: rgba(22, 38, 61, .45); }
.cal-card { position: relative; width: 100%; max-width: 440px; margin: 0 auto; background: #fff; border-radius: 24px 24px 0 0; padding: 24px 20px calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-lg); }
@media (min-width: 600px) { .cal-sheet { align-items: center; } .cal-card { border-radius: 24px; padding-bottom: 20px; } }
.cal-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--gold-paper); color: var(--gold-ink); display: inline-flex; align-items: center; justify-content: center; }
.cal-card h2 { margin: 0; font-family: var(--serif); font-size: 28px; line-height: 1.1; color: var(--ink); }
.cal-what { margin: 0; font-size: 15px; color: var(--muted); }
.cal-what b { color: var(--ink); }
.cal-what::first-letter { text-transform: uppercase; }
.cal-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.cal-hint { margin: 0; font-size: 13px; color: var(--soft-text); }
.cal-close { min-height: 44px; border: none; background: transparent; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; }

/* Pulsante oro della testata: oro metallico che brilla */
.g-btn.g-btn-shine { position: relative; overflow: hidden; isolation: isolate; min-height: 60px; padding: 0 28px; font-size: 17px; font-weight: 800; color: var(--ink);
  background: linear-gradient(135deg, #A8832F 0%, #E8C979 35%, #C9A24A 55%, #E8C979 80%, #A8832F 100%);
  box-shadow: 0 0 0 1px rgba(255, 236, 180, .45) inset, 0 0 0 0 rgba(232, 201, 121, .55); animation: g-halo 2.6s ease-out infinite; }
.g-btn.g-btn-shine:hover { color: var(--ink); filter: brightness(1.06); }
.g-btn.g-btn-shine::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .65) 48%, transparent 66%); transform: translateX(-120%); animation: g-shine 3.2s ease-in-out infinite; }
.g-btn.g-btn-shine:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes g-halo { 0% { box-shadow: 0 0 0 1px rgba(255, 236, 180, .45) inset, 0 0 0 0 rgba(232, 201, 121, .55); } 70%, 100% { box-shadow: 0 0 0 1px rgba(255, 236, 180, .45) inset, 0 0 0 16px rgba(232, 201, 121, 0); } }
@keyframes g-shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@media (min-width: 720px) { .g-btn.g-btn-shine { min-width: 320px; } }
@media (prefers-reduced-motion: reduce) { .g-btn.g-btn-shine, .g-btn.g-btn-shine::after { animation: none; } }

/* Pulsante per tornare alla pagina principale */
.g-top-r { display: flex; align-items: center; gap: 8px; }
.g-hub { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 46px; min-width: 46px; justify-content: center; padding: 0 14px; border-radius: 999px; background: var(--card); box-shadow: 0 1px 3px rgba(22, 38, 61, 0.12); color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.g-hub:hover { color: var(--blue); }
.g-hub:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.g-bar .g-hub { min-height: 40px; min-width: 40px; padding: 0; box-shadow: none; background: transparent; }
.g-bar .g-hub span { display: none; }
@media (max-width: 560px) { .g-hub { padding: 0; } .g-hub span { display: none; } }
@media (max-width: 420px) {
  .top .g-brand .brand-name { font-size: 21px; }
  .g-top-r { gap: 6px; }
  .g-top-r .g-hub { min-width: 42px; min-height: 42px; }
  .g-top-r .langs a { min-width: 34px; min-height: 36px; }
}
