/* ============================================================
   Nyra Studios — sito statico. Un solo file per tutte le pagine.
   Palette e misure campionate dagli screenshot del mockup
   docs/attive/mockup-sito/screenshot/ (header #13141b, sezioni
   alternate #101117/#13141b, card #1a1b23, accento #6a58e8).
   ============================================================ */

/* ---- Font (serviti dal sito, nessuna richiesta esterna) ---- */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  --bg: #101117;
  --alt: #13141B;
  --head: #13141B;
  --grid: #14131F;
  --card: #1A1B23;
  --line: #262833;
  --line-2: #2A2C38;
  --line-3: #33354A;
  --line-cta: #3A3C52;
  --text: #E6E7EC;
  --muted: #A9AEBC;
  --dim: #9CA1B0;
  --soft: #C9CCD6;
  --purple: #6A58E8;
  --purple-soft: #B3A8FF;
  --purple-pale: #C9C2FF;
  --amber: #F2C26B;
  --green: #3FCB86;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 'IBM Plex Sans', system-ui, sans-serif; min-height: 100vh; }
img, svg { display: block; }
p { margin: 0; }
a { color: var(--purple-soft); }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--purple-soft); outline-offset: 2px; border-radius: 4px; }

.container { max-width: 1160px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 20;
  padding: 12px 18px; background: var(--purple); color: #FFFFFF;
  text-decoration: none; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ================= Barra in alto ================= */
header.site { background: var(--head); border-bottom: 1px solid var(--line); }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px;
  padding-top: 15px; padding-bottom: 15px; }
.brand { display: flex; align-items: center; gap: 10px; color: #FFFFFF;
  text-decoration: none; font-weight: 700; font-size: 17.5px; letter-spacing: -.2px; }
.brand img { flex-shrink: 0; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 26px;
  margin-left: auto; font-size: 15.5px; font-weight: 500; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px;
  color: var(--text); text-decoration: none; }
.nav a:hover { color: #FFFFFF; }
.nav a[aria-current] { color: #FFFFFF; }
.nav a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0;
  bottom: 6px; height: 2px; background: var(--purple); }

.lang { display: inline-flex; margin-left: 4px; border: 1px solid var(--line-3);
  border-radius: 9px; overflow: hidden; }
.lang .on, .lang .off { display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 46px; padding: 0 13px;
  font-size: 14px; font-weight: 600; }
.lang .on { background: #262740; color: #FFFFFF; font-weight: 700; }
.lang .off { color: var(--dim); text-decoration: none; }
.lang .off:hover { color: #FFFFFF; background: rgba(255, 255, 255, .05); }

.burger { display: none; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line-3); border-radius: 10px; background: var(--card);
  color: var(--text); cursor: pointer; }

/* ================= Testi, titoli, pulsanti ================= */
h1 { margin: 0; font-weight: 700; letter-spacing: -1px; }
h2 { margin: 0; font-weight: 700; letter-spacing: -.5px; line-height: 1.15;
  font-size: clamp(26px, 3.2vw, 34px); }
h3 { margin: 0; font-weight: 700; }

.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px; background: #262740; color: var(--purple-pale);
  font-size: 13px; font-weight: 600; }
.badge .dot, .chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px; background: #262740; color: var(--purple-pale);
  font-size: 12.5px; font-weight: 600; white-space: nowrap; line-height: 1.4; }
.chip.amber { background: rgba(242, 194, 107, .13); color: var(--amber); }

.tag { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px;
  background: #262740; color: var(--purple-pale); font-size: 12.5px; font-weight: 600;
  white-space: nowrap; }
.tag.amber { background: rgba(242, 194, 107, .14); color: var(--amber); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn svg { flex-shrink: 0; }
.btn.primary { background: var(--purple); color: #FFFFFF; }
.btn.primary:hover { background: #7B6AF0; }
.btn.ghost { background: transparent; border-color: var(--line-cta); color: var(--text); }
.btn.ghost:hover { border-color: var(--purple-soft); }
.btn.wide { display: flex; width: 100%; background: #1F2029; border-color: var(--line-3); }
.btn.wide:hover { border-color: var(--purple-soft); }
.btn.disabled { display: flex; width: 100%; background: #1F2029; border-color: var(--line-3);
  color: var(--dim); cursor: default; }

.num { font-size: 13.5px; font-weight: 700; letter-spacing: .5px; color: var(--purple-soft); }

.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  margin-top: auto; color: var(--purple-soft); font-weight: 600; font-size: 15.5px;
  text-decoration: none; }
.more::after { content: '→'; }
.more:hover { text-decoration: underline; }

/* ================= Hero e sezioni ================= */
.hero { padding: 80px 0 72px; }
.hero.grid { background-color: var(--grid);
  background-image: linear-gradient(rgba(124, 108, 242, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 108, 242, .10) 1px, transparent 1px);
  background-size: 32px 32px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 62px); line-height: 1.06; max-width: 960px; }
.hero .lede { margin-top: 22px; font-size: 18.5px; line-height: 1.6;
  color: var(--muted); max-width: 660px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 24px; font-size: 14px; color: var(--dim); }

.section { padding: 66px 0; border-top: 1px solid var(--line); }
.section.first { border-top: 0; }
.section.alt { background: var(--alt); }
.section.cont { border-top: 0; }
.section h2 + .sub, .contact-row .sub { margin-top: 12px; }
.sub { font-size: 16.5px; line-height: 1.6; color: var(--muted); max-width: 640px; }

/* griglie di card */
.cards2, .cards3, .cards4, .steps { margin-top: 36px; }
.cards2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.cards3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.cards4 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card { background: var(--card); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 21px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.card .ico { width: 48px; height: 48px; border-radius: 12px; background: #262740;
  color: var(--purple-pale); display: grid; place-items: center; }
.card.step { gap: 12px; }
.card.step h3 { font-size: 20px; }

/* passi senza card (su commissione) */
.steps { list-style: none; margin-bottom: 0; padding: 0;
  display: grid; gap: 26px 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* ================= Home ================= */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px; align-items: center; }
.split .txt { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.split .txt h2 { align-self: stretch; }
.lede-sm { font-size: 16.5px; line-height: 1.65; color: var(--muted); }

.art-panel { position: relative; height: 300px; border-radius: 16px;
  border: 1px solid var(--line-2); overflow: hidden; background: #1B3550;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 28px 28px; }
.el { position: absolute; }
.el.boat { left: 36%; top: 44%; width: 100px; height: 36px; background: #C98B4B;
  border-radius: 5px 5px 18px 18px; }
.el.head { left: calc(36% + 40px); top: calc(44% - 20px); width: 20px; height: 20px;
  border-radius: 50%; background: var(--amber); border: 2px solid #1B3550; }
.el.fish { width: 16px; height: 7px; background: #8FD3FF; border-radius: 3px; }
.el.f1 { left: 16%; top: 22%; }
.el.f2 { left: 70%; top: 26%; }
.el.f3 { left: 76%; top: 66%; width: 14px; height: 6px; }
.el.boat2 { left: 12%; top: 66%; width: 72px; height: 25px; background: #8E6BB8;
  border-radius: 4px 4px 12px 12px; }

/* ================= Giochi ================= */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--line-3); background: transparent;
  color: var(--soft); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.filter:hover { border-color: var(--line-cta); }
.filter[aria-pressed='true'] { border-color: var(--purple); background: #262740;
  color: #FFFFFF; }
.games-section { padding-top: 0; }

.games-grid { display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 380px)); }
.game { background: var(--card); border: 1px solid var(--line-2); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column; }
.cover { position: relative; height: 170px; overflow: hidden;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 24px 24px; }
.cover.pg { background-color: #1B3550; }
.cover.ghost { background-color: #2A2440; }
.cover .el.boat { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 86px; height: 31px; }
.cover .sq { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 10px; background: var(--purple); }
.game-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.game-top, .tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.game-top { justify-content: space-between; }
.game-body h3 { font-size: 21px; }
.game-body p { color: var(--muted); font-size: 15.5px; line-height: 1.6; flex: 1; }
.game-body .btn { margin-top: 2px; }
.empty { margin-top: 34px; color: var(--muted); font-size: 16px; }

/* ================= Nyra Cloud ================= */
.hero-split { grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); }
.hero-split .txt { gap: 20px; }

.scene { position: relative; height: 320px; border-radius: 16px; border: 1px solid var(--line-2);
  overflow: hidden; background-color: var(--grid);
  background-image: linear-gradient(rgba(124, 108, 242, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 108, 242, .12) 1px, transparent 1px);
  background-size: 32px 32px; }
.scene-tag, .scene-live, .sc-name { position: absolute; padding: 4px 10px; border-radius: 6px;
  background: rgba(16, 17, 23, .88); border: 1px solid var(--line-3);
  font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--text);
  white-space: nowrap; line-height: 1.5; }
.scene-tag { top: 14px; left: 14px; }
.scene-live { top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 7px; }
.scene-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.sc-tower { position: absolute; left: 12%; bottom: 124px; width: 32px; height: 30px;
  background: var(--purple); border-radius: 4px; }
.sc-house { position: absolute; left: 6%; bottom: 70px; width: 96px; height: 52px;
  background: #3D3A5C; border-radius: 4px; }
.sc-tree { position: absolute; left: 75%; bottom: 70px; width: 62px; height: 86px;
  background: #2E4A3A; border-radius: 4px; }
.sc-dock { position: absolute; left: 0; right: 0; bottom: 36px; height: 34px; background: #2C5A7A; }
.sc-water { position: absolute; left: 0; right: 0; bottom: 0; height: 36px; background: #1B3550; }
.sc-boat { position: absolute; border-radius: 4px 4px 14px 14px; }
.sc-boat.b1 { left: 44%; bottom: 44px; width: 72px; height: 26px; background: #C98B4B; }
.sc-boat.b2 { left: 20%; bottom: 8px; width: 60px; height: 22px; background: #8E6BB8;
  border-radius: 4px 4px 12px 12px; }
.sc-head { position: absolute; border-radius: 50%; border: 2px solid var(--grid); }
.sc-head.h1 { left: calc(44% + 26px); bottom: 70px; width: 20px; height: 20px; background: var(--amber); }
.sc-head.h2 { left: calc(20% + 21px); bottom: 30px; width: 18px; height: 18px; background: var(--green); }
.sc-name.n1 { left: 41%; bottom: 96px; }
.sc-name.n2 { left: 17%; bottom: 54px; }

/* mock degli strumenti */
.card.tool { padding: 0; gap: 0; overflow: hidden; }
.tool-art { display: flex; height: 250px; border-bottom: 1px solid var(--line-2); }
.tool-art .side { width: 62px; flex-shrink: 0; background: #15161D;
  border-right: 1px solid var(--line-2); padding: 12px 10px;
  display: flex; flex-direction: column; gap: 8px; }
.tool-art .side .sq { height: 26px; border-radius: 6px; background: #3D3A5C; }
.tool-art .side .sq.b { background: #2C5A7A; }
.tool-art .side .sq.g { background: #2E4A3A; outline: 2px solid var(--purple); }
.tool-art .side .sq.o { background: #C98B4B; }
.tool-art .side .sq.p { background: var(--purple); }
.tool-art .side .ln { height: 10px; border-radius: 4px; background: #26283A; }
.tool-art .wb-canvas { position: relative; flex: 1; min-width: 0; overflow: hidden;
  background-color: var(--grid);
  background-image: linear-gradient(rgba(124, 108, 242, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 108, 242, .14) 1px, transparent 1px);
  background-size: 26px 26px; }
.tool-art .wb-canvas .w { position: absolute; left: 0; right: 0; bottom: 0; height: 76px; background: #1B3550; }
.tool-art .wb-canvas .s { position: absolute; left: 0; right: 0; bottom: 76px; height: 26px; background: #2C5A7A; }
.tool-art .wb-canvas .b1 { position: absolute; left: 24px; bottom: 102px; width: 100px; height: 50px;
  background: #3D3A5C; border-radius: 4px; }
.tool-art .wb-canvas .b2 { position: absolute; left: 180px; bottom: 102px; width: 50px; height: 74px;
  background: #2E4A3A; border-radius: 4px; }
.tool-art .wb-canvas .b3 { position: absolute; left: 232px; bottom: 102px; width: 50px; height: 74px;
  border: 2px dashed var(--green); background: rgba(63, 203, 134, .10); border-radius: 4px; }
.tool-art .wb-canvas .lv { position: absolute; right: 12px; top: 12px; padding: 4px 10px;
  border-radius: 6px; background: rgba(16, 17, 23, .85); border: 1px solid var(--line-3);
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--soft); }
.tool-art .panel { flex: 1; min-width: 0; background: var(--bg); padding: 16px;
  display: flex; flex-direction: column; gap: 12px; }
.tool-art .panel .on { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--soft); }
.tool-art .panel .on::before { content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); flex-shrink: 0; }
.tool-art .panel .row { display: flex; gap: 10px; }
.tool-art .panel .stat { flex: 1; min-width: 0; height: 62px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--line-2); padding: 10px 12px;
  display: flex; flex-direction: column; justify-content: space-between; }
.tool-art .panel .stat i { display: block; height: 12px; width: 62%; border-radius: 4px; background: var(--line-3); }
.tool-art .panel .stat u { display: block; height: 8px; border-radius: 4px; background: var(--line);
  text-decoration: none; }
.tool-art .panel .log { flex: 1; border-radius: 10px; background: var(--card);
  border: 1px solid var(--line-2); padding: 14px;
  display: flex; flex-direction: column; gap: 10px; }
.tool-art .panel .log b { display: block; height: 8px; border-radius: 4px;
  background: var(--line); font-weight: 400; }
.tool-art .panel .log b:nth-child(2) { width: 78%; }
.tool-art .panel .log b:nth-child(3) { width: 88%; }
.tool-art .panel .log b:nth-child(4) { width: 62%; }
.tool-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.tool-body h3 { font-size: 21px; }
.tool-body p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* feature */
.feat { display: flex; gap: 16px; align-items: flex-start; padding: 22px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; }
.feat .ico { width: 44px; height: 44px; border-radius: 10px; background: #262740;
  color: var(--purple-pale); display: grid; place-items: center; flex-shrink: 0; }
.feat h3 { font-size: 16.5px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.feat p { margin-top: 7px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.feat .chip { padding: 3px 9px; font-size: 11.5px; }

/* vetrina giochi + slot */
.cloud-games { display: grid; gap: 24px;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); }
.slot { border: 1px dashed var(--line-cta); border-radius: 14px; padding: 34px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  align-items: flex-start; }
.slot h3 { font-size: 18px; }
.slot p { color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 540px; }

/* FAQ (funziona anche senza JavaScript: <details> nativi) */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq { margin-top: 36px; display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-of-type { border-top: 1px solid var(--line-2); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 60px; padding: 14px 0; cursor: pointer;
  font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--purple-soft); flex-shrink: 0; }
.faq details[open] summary::after { content: '\2212'; }
.faq p { padding: 0 0 20px; color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 780px; }

/* prezzi */
.price { max-width: 760px; margin: 0 auto; padding: 44px 32px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; }
.price .chip { align-self: center; }
.price p { color: var(--muted); max-width: 560px; font-size: 16.5px; }
.checks { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px 26px; font-size: 15px; color: var(--soft); }
.checks li { display: inline-flex; align-items: center; gap: 9px; }
.checks li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ================= Righe di contatto ================= */
.contact-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.contact-row .txt { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-row .txt .sub { margin-top: 0; }
.contact-row .btn { flex-shrink: 0; }
.mail { font-family: 'IBM Plex Mono', monospace; font-size: 14.5px; color: var(--dim); }

/* ================= Piè di pagina ================= */
footer.site { background: var(--alt); border-top: 1px solid var(--line); }
footer.site.dark { background: var(--bg); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 28px; padding-top: 26px; padding-bottom: 30px; font-size: 14px; }
.foot p { color: var(--dim); }
.foot nav { display: flex; gap: 26px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px;
  color: var(--purple-soft); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ================= Tablet / telefono ================= */
@media (max-width: 900px) {
  .split, .hero-split { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

@media (max-width: 767px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .bar { padding-top: 12px; padding-bottom: 12px; }
  .burger { margin-left: auto; } /* ☰ tutto a destra, subito dopo il logo */
  .brand { font-size: 16.5px; }

  .nav { flex-direction: column; align-items: stretch; gap: 0;
    width: 100%; margin-left: 0; border-top: 1px solid var(--line);
    padding: 6px 0 12px; font-size: 17px; }
  .nav a { min-height: 52px; padding: 4px 0; border-bottom: 1px solid var(--line);
    font-size: 17px; font-weight: 500; }
  .nav a[aria-current]::after { display: none; }
  .nav a[aria-current] { font-weight: 700; }
  .nav .lang { align-self: flex-start; margin-top: 18px; }

  /* collasso del menu solo con JavaScript: senza JS l'elenco resta visibile */
  .js .nav { display: none; }
  .js .nav.open { display: flex; }
  .js .burger { display: grid; }

  .hero { padding: 54px 0 46px; }
  .hero h1 { font-size: clamp(31px, 9.2vw, 40px); }
  .hero .lede { font-size: 17px; margin-top: 18px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 26px; }

  .section { padding: 52px 0; }
  .cards2, .cards3, .cards4, .steps { grid-template-columns: minmax(0, 1fr); margin-top: 30px; }
  .games-grid, .cloud-games { grid-template-columns: minmax(0, 1fr); }

  .art-panel { height: 240px; }
  .cover { height: 150px; }
  .scene { height: 240px; }
  .tool-art { height: 200px; }
  .tool-art .wb-canvas .b1 { width: 76px; }
  .tool-art .wb-canvas .b2, .tool-art .wb-canvas .b3 { left: 132px; }
  .tool-art .wb-canvas .b3 { left: 184px; }

  .filters { margin-bottom: 34px; }
  .contact-row { flex-direction: column; align-items: flex-start; }
  .contact-row .txt { flex: 0 0 auto; width: 100%; }
  .price { padding: 34px 20px; }
  .faq summary { font-size: 16.5px; }

  .foot { flex-direction: column; align-items: flex-start; gap: 14px;
    padding-top: 24px; padding-bottom: 28px; }
  .foot nav { gap: 22px; flex-wrap: wrap; }
}
