/* ==========================================================
   Bo-One Guitars — foglio di stile principale
   ========================================================== */

:root {
  --bg: #0d0c0b;
  --bg-2: #151311;
  --bg-3: #1d1a17;
  --line: #2c2824;
  --text: #ece7e1;
  --muted: #a39b91;
  --accent: #c9935a;       /* rame / legno */
  --accent-2: #e2b27c;
  --radius: 4px;
  --maxw: 1240px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.05;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: 1.6rem; }
p  { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-size: .95rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.8em;
  font-family: var(--head); font-size: 1.05rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--accent);
  background: var(--accent); color: #140f0a;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--text); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid,
.site-header--solid {
  background: rgba(13,12,11,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.nav__logo img { height: 56px; width: auto; }
.nav__menu { display: flex; gap: 2.2rem; list-style: none; margin: 0; padding: 0; }
.nav__menu a {
  font-family: var(--head); font-size: 1.08rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text); opacity: .85; position: relative; padding: .4em 0;
  transition: opacity .2s;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--accent); transition: right .3s var(--ease);
}
.nav__menu a:hover, .nav__menu a[aria-current="page"] { opacity: 1; }
.nav__menu a:hover::after, .nav__menu a[aria-current="page"]::after { right: 0; }

.nav__toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  width: 46px; height: 46px; position: relative;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  position: absolute; left: 11px; width: 24px; height: 2px; background: var(--text);
  transition: transform .3s var(--ease), background .2s;
}
.nav__toggle span { top: 22px; }
.nav__toggle span::before { content: ""; left: 0; top: -7px; }
.nav__toggle span::after  { content: ""; left: 0; top: 7px; }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav__toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav { height: 70px; }
  .nav__logo img { height: 46px; }
  .nav__toggle { display: block; z-index: 2; }
  .nav__menu {
    position: fixed; inset: 0; flex-direction: column; align-items: center; justify-content: center;
    gap: 1.6rem; background: var(--bg);
    opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
  }
  .nav__menu a { font-size: 1.8rem; }
  .nav-open .nav__menu { opacity: 1; pointer-events: auto; }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: 140px 0 90px; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,12,11,.55) 0%, rgba(13,12,11,.15) 35%, rgba(13,12,11,.85) 80%, var(--bg) 100%),
    linear-gradient(90deg, rgba(13,12,11,.75) 0%, rgba(13,12,11,0) 65%);
}
.hero h1 { max-width: 16ch; font-size: clamp(2.5rem, 5.6vw, 4.8rem); }
.hero .lead { color: #d6cec5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .7em; margin-bottom: 1.4rem;
  font-family: var(--head); letter-spacing: .25em; text-transform: uppercase; font-size: .95rem;
}
.flag { display: inline-flex; height: 12px; width: 22px; border-radius: 1px; overflow: hidden; }
.flag i { flex: 1; }
.flag i:nth-child(1) { background: #0b8f4d; }
.flag i:nth-child(2) { background: #f4f1ea; }
.flag i:nth-child(3) { background: #cf2a35; }

/* Page hero (pagine interne) */
.page-hero {
  position: relative; padding: 180px 0 80px; overflow: hidden; isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,12,11,.6), var(--bg));
}
@media (max-width: 600px) { .page-hero { padding: 130px 0 56px; } }

/* ---------- Sezioni ---------- */
.section { padding: 120px 0; }
.section--alt { background: var(--bg-2); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 56px; }
.section__head p { margin: 0; max-width: 52ch; }
@media (max-width: 600px) { .section { padding: 80px 0; } .section__head { margin-bottom: 36px; } }

/* Intro a due colonne */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--accent);
  border-radius: var(--radius); z-index: -1; opacity: .5;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split--rev .split__media { order: 0; }
  .split__media::before { inset: 12px -12px -12px 12px; }
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2.5rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.stats strong { display: block; font-family: var(--head); font-size: 2.4rem; font-weight: 600; color: var(--accent); line-height: 1; }
.stats span { font-size: .9rem; color: var(--muted); }

/* ---------- Card linee / categorie ---------- */
.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .lines { grid-template-columns: 1fr; } }
.line-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 3 / 4; display: flex; align-items: flex-end; isolation: isolate;
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .line-card { aspect-ratio: 4 / 3; } }
.line-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.line-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.88)); }
.line-card:hover img { transform: scale(1.05); }
.line-card__body { padding: 28px; }
.line-card h3 { font-size: 2rem; margin-bottom: .2em; }
.line-card p { color: #cfc7bd; margin: 0 0 1rem; font-size: .95rem; }
.link-arrow {
  font-family: var(--head); letter-spacing: .16em; text-transform: uppercase; font-size: .95rem;
  color: var(--accent); display: inline-flex; align-items: center; gap: .5em;
}
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
a:hover .link-arrow::after, .link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Griglia modelli ---------- */
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.model {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; cursor: pointer; text-align: left; padding: 0;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.model:hover { border-color: var(--accent); transform: translateY(-4px); }
.model__img { aspect-ratio: 3 / 4; overflow: hidden; background: #000; }
.model__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.model:hover .model__img img { transform: scale(1.04); }
.model__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.model__name { font-family: var(--head); font-size: 1.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }
.model__meta { font-size: .88rem; color: var(--muted); }
.model__cta { margin-top: auto; padding-top: 12px; }
.model--soon { cursor: default; }
.model--soon:hover { transform: none; border-color: var(--line); }
.model__img--soon { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--bg-2) 0 14px, var(--bg-3) 14px 28px); }
.model__img--soon span { font-family: var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.tag {
  display: inline-block; align-self: flex-start; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .25em .7em; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); margin-bottom: 6px;
}
.tag--accent { border-color: var(--accent); color: var(--accent); }

.on-request {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between;
  margin-top: 56px; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2);
}
.on-request p { margin: 0; max-width: 60ch; }

/* ---------- Feature (Evil 6) ---------- */
.feature { position: relative; overflow: hidden; isolation: isolate; padding: 140px 0; }
.feature__bg { position: absolute; inset: 0; z-index: -2; }
.feature__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,12,11,.95) 0%, rgba(13,12,11,.75) 45%, rgba(13,12,11,.2) 100%); }
.feature__body { max-width: 560px; }
.swatch-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 1.6rem 0 2rem; }
.swatch-row i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); }

/* ---------- Passi su misura ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 36px 28px 8px 0; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--head); font-size: 3rem; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 14px;
}
.step h3 { font-size: 1.35rem; }
.steps--plain .step::before { display: none; }
.steps--plain .step { padding-top: 28px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Galleria ---------- */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery a { display: block; margin-bottom: 16px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery img { width: 100%; transition: transform .6s var(--ease), opacity .3s; }
.gallery a:hover img { transform: scale(1.03); }

.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter button {
  background: transparent; border: 1px solid var(--line); border-radius: 99px; padding: .55em 1.2em; cursor: pointer;
  font-family: var(--head); letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; color: var(--muted);
  transition: all .2s;
}
.filter button:hover { color: var(--text); border-color: var(--muted); }
.filter button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #140f0a; }

/* ---------- Evil 6: configuratore colori ---------- */
.config { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .config { grid-template-columns: 1fr; gap: 32px; } }
.config__stage { background: #f2f2f0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 800 / 622; }
.config__stage img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.config__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.config__thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; background: #f2f2f0; cursor: pointer; aspect-ratio: 800 / 622; }
.config__thumbs button[aria-pressed="true"] { border-color: var(--accent); }
.config__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 1.4rem 0 2rem; }
.swatch {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2); cursor: pointer; text-align: left; font-size: .85rem; line-height: 1.2;
  transition: border-color .2s;
}
.swatch:hover { border-color: var(--muted); }
.swatch[aria-pressed="true"] { border-color: var(--accent); }
.swatch i { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }

/* ---------- Pagina modello ---------- */
.product { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; gap: 36px; } }
.product > * { min-width: 0; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.shots a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: #000; }
.shots a:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shots a:hover img { transform: scale(1.04); }
.shots--light a { background: #f2f2f0; }
.shots--light img { object-fit: contain; }

.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 40% 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.specs dt { color: var(--muted); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding-top: 2px; }
.specs dd { margin: 0; }
.specs-title { font-size: 1.3rem; margin: 0 0 .9rem; color: var(--accent); }

.configs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.config-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.config-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.config-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.config-card__img:hover img { transform: scale(1.04); }
.config-card__img--light { background: #f2f2f0; }
.config-card__img--light img { object-fit: contain; }
.config-card__body { padding: 20px 22px 22px; }
.config-card h3 { font-size: 1.45rem; margin-bottom: .2em; }
.config-card .specs div { padding: 7px 0; font-size: .88rem; }
.config-card .count { font-size: .8rem; color: var(--muted); margin-bottom: 14px; display: block; }

/* ---------- Total Black: fila di chitarre ---------- */
.lineup {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 0;
  background: linear-gradient(180deg, #fbfbfa, #e9e9e6); border-radius: var(--radius); overflow: hidden;
  padding: 10px 2%;
}
.lineup button, .lineup a { position: relative; aspect-ratio: 1 / 2.7; overflow: hidden; background: none; border: 0; padding: 0; cursor: pointer; display: block; }
.lineup img {
  position: absolute; left: 50%; top: 50%; width: 270%; max-width: none;
  transform: translate(-50%, -50%) rotate(-90deg); mix-blend-mode: multiply;
  transition: transform .5s var(--ease);
}
.lineup button:hover img, .lineup a:hover img { transform: translate(-50%, -52%) rotate(-90deg) scale(1.03); }
.lineup button[aria-pressed="true"]::after {
  content: ""; position: absolute; left: 25%; right: 25%; bottom: 2%; height: 3px; border-radius: 3px; background: var(--accent);
}
.config__specs { margin-top: 1.6rem; }

/* ---------- Contatti ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 48px; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.contact-list strong { display: block; font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; font-weight: 500; font-size: 1rem; color: var(--muted); }
.contact-list a:hover { color: var(--accent); }
.person { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.wa { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: #6fcf8f; }
.wa svg { width: 16px !important; height: 16px !important; color: #6fcf8f !important; margin: 0 !important; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--bg-2); padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; padding: 22px; } }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); font: inherit; transition: border-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--accent); }
.check a { text-decoration: underline; }
.hidden { display: none !important; }

/* ---------- CTA finale ---------- */
.cta { text-align: center; padding: 120px 0; border-top: 1px solid var(--line); background:
  radial-gradient(ellipse at center top, rgba(201,147,90,.14), transparent 60%), var(--bg); }
.cta h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta p { margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: #090807; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid img { height: 64px; width: auto; margin-bottom: 16px; }
.footer-grid h4 { font-size: 1rem; letter-spacing: .2em; color: var(--muted); margin-bottom: 1rem; font-weight: 500; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a:hover { color: var(--accent); }
.socials { display: flex; gap: 12px; margin-top: 4px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: all .2s; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: .82rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(5,5,5,.95);
  display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 60px 70px 24px;
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 160px); object-fit: contain; border-radius: var(--radius); }
.lightbox__caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; padding-top: 18px; text-align: center; }
.lightbox__caption h3 { margin: 0; font-size: 1.8rem; }
.lightbox__btn {
  position: absolute; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: 50%;
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; font-size: 1.4rem; line-height: 1;
  transition: background .2s;
}
.lightbox__btn:hover { background: rgba(255,255,255,.15); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox { padding: 64px 12px 20px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; }
}

/* ---------- Testi legali ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.8rem; margin-top: 2.2em; }
.prose a { color: var(--accent); text-decoration: underline; }

/* ---------- Animazioni ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #000; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 10px; top: 10px; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
