/* ==========================================================================
   Selezione. — Design system condiviso
   (Google Fonts caricati via <link> nell'<head> di ogni pagina, non qui)
   ========================================================================== */

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

:root {
  --black: #000000;
  --black2: #0d0d0d;
  --black3: #141414;
  --anthracite: #2C2C2C;
  --offwhite: #F9F9F9;
  --cobalt: #2E5BFF;
  --muted: #555;
  --muted2: #777;
  --border: #1e1e1e;
  --img-bg: #111;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--offwhite);
  overflow-x: hidden;
}

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, label:focus-visible {
  outline: 2px solid var(--cobalt); outline-offset: 3px;
}

/* Utility: nascosto visivamente ma accessibile agli screen reader */
.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;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 6%;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}
nav.scrolled { box-shadow: 0 10px 40px rgba(0,0,0,0.5); padding-top: 1.1rem; padding-bottom: 1.1rem; }
.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem; letter-spacing: -0.5px;
  color: var(--offwhite); z-index: 102; text-decoration: none;
}
.logo span { color: var(--cobalt); }
.nav-links { list-style: none; display: flex; gap: 2.5rem; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  text-decoration: none; color: var(--muted);
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--cobalt); transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--offwhite); }
.nav-links a:hover::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--offwhite); }
.nav-links a[aria-current="page"]::after { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 34px; height: 34px; background: none; border: none; cursor: pointer;
  z-index: 102; padding: 0;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--offwhite);
  transition: transform 0.3s ease, opacity 0.2s ease; margin-left: auto;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 101;
  width: min(80vw, 320px);
  background: var(--black2); border-left: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: center; gap: 0.5rem;
  padding: 2rem 2.5rem;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  text-decoration: none; color: var(--muted2);
  font-family: 'DM Serif Display', serif; font-size: 1.5rem;
  padding: 0.7rem 0; border-bottom: 1px solid var(--border); transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--offwhite); }
.mobile-menu a[aria-current="page"] { color: var(--offwhite); }
.menu-backdrop {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.menu-backdrop.open { opacity: 1; visibility: visible; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* HERO (home) */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 5rem;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 5% 6rem 6%;
}
.hero-left > * { opacity: 0; transform: translateY(22px); animation: heroIn 0.8s cubic-bezier(.2,.6,.2,1) forwards; }
.hero-eyebrow { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.22s; }
.hero-desc { animation-delay: 0.34s; }
.hero-actions { animation-delay: 0.46s; }
.hero-explore { animation-delay: 0.56s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cobalt); font-weight: 600; margin-bottom: 2rem;
}
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 1.05; letter-spacing: -1px;
  color: var(--offwhite); margin-bottom: 2rem;
}
.hero h1 em { font-style: italic; color: var(--cobalt); }
.hero-desc {
  font-size: 1rem; color: var(--muted2); line-height: 1.8;
  max-width: 380px; font-weight: 300; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.btn-main {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--offwhite); color: var(--black);
  padding: 0.85rem 1.8rem; border-radius: 2px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-main:hover { background: var(--cobalt); color: var(--offwhite); transform: translateY(-2px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: transparent; color: var(--offwhite);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 0.85rem 1.8rem; border-radius: 2px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-secondary:hover { border-color: var(--cobalt); color: #7a9fff; transform: translateY(-2px); }
.hero-explore {
  display: inline-block; margin-top: 1.6rem;
  font-size: 0.8rem; color: var(--muted); text-decoration: none;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 1px solid var(--border); padding-bottom: 2px; width: fit-content;
  transition: color 0.2s, border-color 0.2s;
}
.hero-explore:hover { color: var(--offwhite); border-color: var(--muted); }

.hero-right {
  background: var(--img-bg);
  border-left: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.hero-right::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 70% 30%, rgba(46,91,255,0.14), transparent 60%);
}
.img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.5rem;
  color: #2a2a2a; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.img-placeholder svg { opacity: 0.6; }

/* PAGE HERO (pagine interne) */
.page-hero { padding: 11rem 6% 5rem; border-bottom: 1px solid var(--border); }
.page-hero > * { opacity: 0; transform: translateY(22px); animation: heroIn 0.8s cubic-bezier(.2,.6,.2,1) forwards; }
.page-hero .label { animation-delay: 0.1s; }
.page-hero h1 { animation-delay: 0.22s; }
.page-hero p { animation-delay: 0.34s; }
.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  letter-spacing: -1px; line-height: 1.1;
  color: var(--offwhite); margin-bottom: 1.5rem;
}
.page-hero h1 em { font-style: italic; color: var(--cobalt); }
.page-hero p {
  font-size: 1rem; color: var(--muted2); font-weight: 300;
  line-height: 1.8; max-width: 520px;
}

/* DIVIDER (marquee) */
.divider {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden; position: relative;
}
.divider-track {
  display: flex; align-items: center; gap: 3rem;
  padding: 1.8rem 1.5rem; white-space: nowrap; width: max-content;
  animation: marquee 30s linear infinite;
}
.divider:hover .divider-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.divider-item { display: flex; align-items: center; gap: 0.8rem; flex-shrink: 0; }
.divider-item span { font-family: 'Barlow Condensed', sans-serif; }
.divider-item span:first-child { font-size: 0.76rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cobalt); font-weight: 600; }
.divider-item span:last-child { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.divider-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); flex-shrink: 0; }

/* ABOUT */
.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.about-img {
  background: var(--img-bg);
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden; min-height: 500px;
}
.about-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 6%;
  border-top: 1px solid var(--border);
}
.label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cobalt); margin-bottom: 1.5rem; font-weight: 600;
}
.about-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.1; letter-spacing: -0.5px; margin-bottom: 1.5rem; color: var(--offwhite);
}
.about-content h2 em { font-style: italic; color: var(--cobalt); }
.about-content > p {
  font-size: 0.95rem; color: var(--muted2); line-height: 1.9;
  font-weight: 300; max-width: 440px; margin-bottom: 2.5rem;
}
.about-list { display: flex; flex-direction: column; gap: 1rem; }
.about-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.about-item:last-child { border-bottom: none; }
.about-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.76rem; color: var(--cobalt); font-weight: 600; letter-spacing: 0.1em; padding-top: 2px; flex-shrink: 0;
}
.about-item h3 { font-size: 0.88rem; font-weight: 500; color: var(--offwhite); margin-bottom: 0.2rem; }
.about-item p { font-size: 0.8rem; color: var(--muted2); margin: 0; line-height: 1.6; }
.about-content .hero-explore { margin-top: 2rem; }

/* CATEGORIE */
.categories { padding: 6rem 6%; background: var(--black2); border-top: 1px solid var(--border); }
.categories h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--offwhite); letter-spacing: -0.5px; margin-bottom: 4rem;
}
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.cat-card { background: var(--black2); transition: background 0.25s; }
.cat-card:nth-child(2) { transition-delay: 0.08s; }
.cat-card:nth-child(3) { transition-delay: 0.16s; }
.cat-card:nth-child(4) { transition-delay: 0.24s; }
.cat-card:hover { background: var(--black3); }
.cat-tile { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--img-bg); }
.cat-photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.cat-card:hover .cat-photo { transform: scale(1.04); }
.cat-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; color: #333; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; }
.cat-empty svg { opacity: 0.6; }
.cat-info { padding: 1.4rem 1.2rem; }
.cat-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.71rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 0.5rem; font-weight: 600;
}
.cat-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--offwhite); margin-bottom: 0.4rem; }
.cat-card p { font-size: 0.78rem; color: var(--muted2); line-height: 1.5; font-weight: 300; }

/* CANALI */
.channels { padding: 6rem 6%; border-top: 1px solid var(--border); }
.channels-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3rem; gap: 2rem; flex-wrap: wrap;
}
.channels-top h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -0.5px; color: var(--offwhite);
}
.channels-top p { font-size: 0.9rem; color: var(--muted2); line-height: 1.8; max-width: 380px; font-weight: 300; }
.channels-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.channel-card {
  background: var(--black);
  display: grid; grid-template-columns: 1fr 1fr;
  text-decoration: none; color: var(--offwhite); transition: background 0.2s;
}
.channel-card:nth-child(2) { transition-delay: 0.1s; }
.channel-card:hover { background: var(--black3); }
.channel-img {
  aspect-ratio: 1; background: var(--img-bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.4rem;
  color: #222; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  border-right: 1px solid var(--border);
}
.channel-img svg { opacity: 0.5; }
.channel-info {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 2rem;
}
.ch-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.71rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cobalt); font-weight: 600;
}
.channel-info h3 { font-family: 'DM Serif Display', serif; font-size: 1.8rem; letter-spacing: -0.5px; margin: 0.8rem 0; color: var(--offwhite); }
.channel-info p { font-size: 0.82rem; color: var(--muted2); line-height: 1.7; font-weight: 300; }
.ch-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-top: 1.5rem;
  border-bottom: 1px solid var(--border); padding-bottom: 2px; width: fit-content;
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}
.channel-card:hover .ch-arrow { color: var(--cobalt); border-color: var(--cobalt); gap: 0.8rem; }

/* VENDI A NOI */
.sell { padding: 6rem 6%; background: var(--black2); border-top: 1px solid var(--border); }
.sell-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; max-width: 1200px; margin: 0 auto; }
.sell-left { display: flex; flex-direction: column; justify-content: center; }
.sell-intro { margin-bottom: 2.2rem; }
.sell-intro h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.08;
  letter-spacing: -0.8px; color: var(--offwhite); margin-bottom: 1rem;
}
.sell-intro h1 em { font-style: italic; color: var(--cobalt); }
.sell-intro p {
  font-size: 0.95rem; color: var(--muted2); line-height: 1.9;
  font-weight: 300; max-width: 400px;
}
.sell-left h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.1;
  letter-spacing: -0.5px; color: var(--offwhite); margin-bottom: 1.5rem;
}
.sell-left h2 em { font-style: italic; color: var(--cobalt); }
.sell-steps { display: flex; flex-direction: column; gap: 1rem; }
.sell-step { display: flex; align-items: flex-start; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.sell-step:last-child { border-bottom: none; }
.sell-step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.76rem; color: var(--cobalt); font-weight: 600; letter-spacing: 0.1em; padding-top: 2px; flex-shrink: 0;
}
.sell-step h3 { font-size: 0.88rem; font-weight: 500; color: var(--offwhite); margin-bottom: 0.2rem; }
.sell-step p { font-size: 0.8rem; color: var(--muted2); margin: 0; line-height: 1.6; }
.sell-note { font-size: 0.8rem; color: var(--muted2); line-height: 1.7; font-weight: 300; margin-top: 2rem; max-width: 420px; }
.sell-note a { color: var(--cobalt); text-decoration: none; }
.sell-note a:hover { text-decoration: underline; }

.sell-form { background: var(--black); border: 1px solid var(--border); padding: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted2); margin-bottom: 0.5rem;
}
.field input, .field select, .field textarea {
  background: var(--black2); border: 1px solid var(--border);
  color: var(--offwhite); padding: 0.8rem 0.9rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  border-radius: 2px; transition: border-color 0.2s; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: #444; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); }
.field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.2rem; }
.field select option { background: var(--black2); }
.field textarea { resize: vertical; min-height: 100px; }
.field input[type=file] { padding: 0.65rem 0.9rem; cursor: pointer; font-size: 0.8rem; color: var(--muted2); }
.field input[type=file]::file-selector-button {
  background: var(--anthracite); color: var(--offwhite); border: none;
  padding: 0.4rem 0.9rem; margin-right: 0.8rem; border-radius: 2px;
  font-family: 'DM Sans', sans-serif; font-size: 0.72rem; letter-spacing: 0.05em;
  text-transform: uppercase; cursor: pointer; transition: background 0.2s;
}
.field input[type=file]::file-selector-button:hover { background: var(--cobalt); }
.field-hint { font-size: 0.68rem; color: var(--muted); margin-top: 0.45rem; line-height: 1.5; }

.form-check { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 1.4rem; }
.form-check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--cobalt); flex-shrink: 0; cursor: pointer; }
.form-check label { font-size: 0.76rem; color: var(--muted2); line-height: 1.5; cursor: pointer; }
.form-check a { color: var(--cobalt); text-decoration: none; }
.form-check a:hover { text-decoration: underline; }

.form-submit {
  width: 100%; background: var(--offwhite); color: var(--black);
  border: none; padding: 0.95rem; border-radius: 2px;
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  transition: background 0.2s, color 0.2s; margin-top: 0.5rem;
}
.form-submit:hover { background: var(--cobalt); color: var(--offwhite); }
.form-submit:disabled { opacity: 0.5; cursor: default; }
.form-note { font-size: 0.72rem; color: var(--muted); margin-top: 1rem; line-height: 1.6; text-align: center; }
.form-error { font-size: 0.78rem; color: #ff5c5c; margin-top: 0.9rem; text-align: center; line-height: 1.5; display: none; }
.form-error.show { display: block; }
.form-success { display: none; text-align: center; padding: 3rem 1rem; }
.form-success.show { display: block; }
.form-success svg { color: var(--cobalt); margin-bottom: 1rem; }
.form-success h3 { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--offwhite); margin-bottom: 0.8rem; }
.form-success p { font-size: 0.88rem; color: var(--muted2); line-height: 1.7; font-weight: 300; }

/* FAQ */
.faq { padding: 6rem 6%; border-top: 1px solid var(--border); }
.faq-head { margin-bottom: 3rem; }
.faq h2 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 3.5vw, 3rem); color: var(--offwhite); letter-spacing: -0.5px; }
.faq-list { max-width: 840px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--offwhite);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #7a9fff; }
.faq-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.25s ease; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--cobalt); }
.faq-icon::before { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-icon::after { top: 50%; left: 0; height: 2px; width: 100%; transform: translateY(-50%); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 0 1.5rem; font-size: 0.9rem; color: var(--muted2); line-height: 1.8; font-weight: 300; max-width: 700px; }
.faq-item[open] .faq-answer { animation: faqFade 0.35s ease; }
@keyframes faqFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq-more { margin-top: 2.5rem; }

/* CTA BAND */
.cta-band {
  padding: 5.5rem 6%; background: var(--black2); border-top: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.5px;
  color: var(--offwhite); margin-bottom: 1rem;
}
.cta-band h2 em { font-style: italic; color: var(--cobalt); }
.cta-band p {
  font-size: 0.95rem; color: var(--muted2); font-weight: 300;
  max-width: 460px; margin: 0 auto 2rem; line-height: 1.8;
}
.cta-band .hero-actions { justify-content: center; }

/* LEGAL SECTIONS */
.legal-section { padding: 4.5rem 6%; border-bottom: 1px solid var(--border); scroll-margin-top: 5.5rem; }
.legal-section h2 {
  font-family: 'DM Serif Display', serif; font-size: 1.8rem;
  color: var(--offwhite); margin-bottom: 1.5rem;
}
.legal-body { max-width: 760px; }
.legal-body p { font-size: 0.85rem; color: var(--muted2); line-height: 1.8; font-weight: 300; margin-bottom: 1rem; }
.legal-body strong { color: var(--offwhite); font-weight: 500; }
.legal-body a { color: var(--cobalt); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-updated { padding: 3rem 6%; font-size: 0.78rem; color: var(--muted); }

/* CONTATTI */
.contact-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.contact-card {
  background: var(--black2); padding: 2rem; text-decoration: none;
  display: flex; flex-direction: column; gap: 0.7rem;
  transition: background 0.2s;
}
.contact-card:hover { background: var(--black3); }
.contact-card-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.71rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cobalt); font-weight: 600;
}
.contact-card-value { font-family: 'DM Serif Display', serif; font-size: 1.15rem; color: var(--offwhite); word-break: break-word; }

/* ERROR PAGE (404) */
.error-page {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 6rem 6%; gap: 1.5rem;
}
.error-page .error-code {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(5rem, 15vw, 9rem); letter-spacing: -2px;
  color: var(--offwhite); line-height: 1;
}
.error-page .error-code span { color: var(--cobalt); }
.error-page p { font-size: 1rem; color: var(--muted2); font-weight: 300; max-width: 420px; line-height: 1.8; }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 3.5rem 6% 2.5rem; }
.footer-main {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 2rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border); margin-bottom: 2rem;
}
.footer-logo { font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: var(--offwhite); }
.footer-logo span { color: var(--cobalt); }
.footer-tag { font-size: 0.8rem; color: var(--muted2); margin-top: 0.6rem; font-style: italic; font-weight: 300; }
.footer-contacts { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-end; }
.footer-contacts a {
  font-size: 0.82rem; color: var(--muted2); text-decoration: none;
  letter-spacing: 0.03em; transition: color 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.footer-contacts a:hover { color: var(--cobalt); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.03em; }
.footer-bottom p a { color: var(--muted); text-decoration: none; transition: color 0.2s; cursor: pointer; }
.footer-bottom p a:hover { color: var(--offwhite); }
.footer-nav { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem; color: var(--muted); text-decoration: none;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; transition: color 0.2s; cursor: pointer;
}
.footer-nav a:hover { color: var(--offwhite); }

/* BACK TO TOP */
.to-top {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--cobalt); color: #fff; border: none; cursor: pointer;
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #1a47f0; }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 150;
  background: var(--black2); border: 1px solid var(--border);
  padding: 1.2rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.cookie-banner p { font-size: 0.8rem; color: var(--muted2); line-height: 1.6; font-weight: 300; max-width: 660px; }
.cookie-banner a { color: var(--cobalt); text-decoration: none; cursor: pointer; }
.cookie-banner a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-btn {
  font-family: 'DM Sans', sans-serif; font-size: 0.72rem; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.6rem 1.3rem; border-radius: 2px; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cookie-btn.ghost { background: transparent; border: 1px solid var(--border); color: var(--muted2); }
.cookie-btn.ghost:hover { border-color: var(--muted2); color: var(--offwhite); }
.cookie-btn.solid { background: var(--offwhite); border: 1px solid var(--offwhite); color: var(--black); }
.cookie-btn.solid:hover { background: var(--cobalt); border-color: var(--cobalt); color: var(--offwhite); }
@media(max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-left > * { opacity: 1; transform: none; }
  .page-hero > * { opacity: 1; transform: none; }
}

@media(max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 45vw; }
  .about { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .channels-grid { grid-template-columns: 1fr; }
  .sell-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-contacts { align-items: flex-start; }
}
@media(max-width: 700px) {
  .contact-cards { grid-template-columns: 1fr; }
}
@media(max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
  .channel-card { grid-template-columns: 1fr; }
  .channel-img { aspect-ratio: 16/7; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { width: 100%; }
  .hero-actions .btn-main, .hero-actions .btn-secondary { flex: 1; justify-content: center; }
}
