/* ══════════════════════════════════════════════════════════════
   ROLEFIGZ v2 — nuovo sistema visivo
   Caricato dopo shared.css e style.css: ridefinisce i token e
   ristila i componenti esistenti senza toccare ID né logica JS.
   ══════════════════════════════════════════════════════════════ */

/* i token sono in v2-tokens.css */

body { font-family: var(--sans); font-size: 15px; -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: #cfcbc2; border-radius: 8px; }
::selection { background: var(--accent); color: #fff; }

/* ── TOPBAR ── */
.v2-topbar {
  background: var(--dark); color: #cfcac0; text-align: center;
  padding: 8px 16px; font-size: 12px; display: flex; gap: 8px;
  align-items: center; justify-content: center; position: relative; z-index: 300;
}

/* ── PRIMITIVE ── */
.v2-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; box-shadow: 0 0 0 4px rgba(242,106,27,.2); animation: dotPulse 2s infinite; flex-shrink: 0; }
.v2-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  color: #e8e4dc; font-size: 13px; backdrop-filter: blur(8px);
}
.v2-eyebrow {
  display: inline-block; font-family: var(--mono); font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--accent2); margin-bottom: 12px;
}
.v2-dark .v2-eyebrow { color: var(--accent); }
.v2-h2, .section-title, .catalogue-title {
  font-family: var(--display); font-weight: 800; text-transform: none;
  font-size: clamp(36px, 4.6vw, 60px); line-height: 1; letter-spacing: -.5px;
  color: var(--dark); margin: 0;
}
.v2-h2 em, .section-title em { font-style: normal; color: var(--accent); }
.v2-dark .v2-h2, .v2-dark .section-title { color: #fff; }
.v2-lead { color: var(--muted); font-size: 16px; line-height: 1.65; margin-top: 14px; max-width: 460px; }

.v2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-family: var(--sans);
  font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none;
  cursor: pointer; text-decoration: none; border: 1px solid transparent;
  transition: transform .15s ease, background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.v2-btn:active { transform: scale(.97); }
.v2-btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(242,106,27,.6); }
.v2-btn-primary:hover { background: #ff7a2e; transform: translateY(-1px); }
.v2-btn-glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.v2-btn-glass:hover { background: rgba(255,255,255,.18); }
.v2-btn-outline { background: transparent; color: var(--dark); border-color: var(--border); }
.v2-btn-outline:hover { border-color: var(--dark); }

/* ── HEADER ── */
header {
  height: 72px; padding: 0 var(--pad-x);
  background: rgba(246,245,242,.82); backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(17,17,16,.06);
}
.logo-img { height: 34px; }
.header-nav { gap: 8px; }
.hn-link, .hn-login {
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0;
  text-transform: none; padding: 8px 14px; border-radius: 999px; color: var(--text);
}
.hn-link:hover, .hn-login:hover { background: rgba(17,17,16,.06); color: var(--text); }
#headerLoginBtn { background: var(--dark); color: #fff; padding: 9px 18px; }
#headerLoginBtn:hover { background: var(--dark3); }
.hn-icon { width: 40px; height: 40px; border-radius: 50%; justify-content: center; }
.hn-icon:hover { background: rgba(17,17,16,.06); color: var(--text); }
.cart-badge { background: var(--accent); top: 2px; right: 2px; font-size: 10px; font-weight: 600; }
.menu-toggle { border-radius: 10px; }
.avatar-btn { border-radius: 50%; }
.avatar-dropdown { border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; }
.avatar-dd-item { font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; }

/* pannello menu mobile */
.nav-panel { border-radius: var(--r-lg) 0 0 var(--r-lg); box-shadow: var(--shadow-lg); }
.nav-panel-label { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; }
.nav-panel-btn { font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0; border-radius: 10px; }
.nav-panel-btn.primary { background: var(--accent); border-color: var(--accent); }
.nav-overlay { backdrop-filter: blur(4px); }

/* ── HERO ── */
.v2-hero {
  position: relative; overflow: hidden; background: var(--dark); color: #fff;
  min-height: min(88vh, 820px); display: flex; align-items: flex-end;
}
.v2-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; transform: scale(1.04); animation: v2Zoom 18s ease-out forwards; }
.v2-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(17,17,16,.55) 0%, rgba(17,17,16,.25) 35%, rgba(17,17,16,.92) 100%),
    radial-gradient(60% 60% at 15% 80%, rgba(242,106,27,.28), transparent 70%);
}
.v2-hero::after {
  /* righe di layer, richiamo alla stampa FDM */
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 6px);
  mask-image: linear-gradient(180deg, transparent, #000 60%);
}
.v2-hero-inner { position: relative; z-index: 2; width: 100%; padding: 120px var(--pad-x) 56px; }
.v2-hero-copy { max-width: 760px; }
.v2-hero-h1 {
  font-family: var(--display); font-weight: 800; letter-spacing: -1px;
  font-size: clamp(54px, 8.4vw, 124px); line-height: .92; margin: 22px 0 22px;
  animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) .1s both;
}
.v2-hero-h1 em { font-style: normal; color: var(--accent); }
.v2-hero-p { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: #d9d4ca; max-width: 560px; animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) .2s both; }
.v2-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) .3s both; }
.v2-hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 64px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r); overflow: hidden; backdrop-filter: blur(10px);
}
.v2-stat { background: rgba(17,17,16,.55); padding: 20px 22px; }
.v2-stat strong { display: block; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; color: #fff; }
.v2-stat strong small { font-size: 20px; margin-left: 2px; color: #bdb7ab; }
.v2-stat span { font-size: 13px; color: #a9a397; }
@keyframes v2Zoom { to { transform: scale(1); } }

/* ── SEZIONI ── */
.v2-section { padding: clamp(64px, 9vw, 120px) var(--pad-x); }
.v2-section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.v2-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.v2-dark { background: var(--dark); color: #fff; border: 0; }

/* bento servizi */
.v2-bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 14px; }
.v2-tile {
  position: relative; border-radius: var(--r-lg); overflow: hidden; display: block;
  background: var(--dark); color: #fff; text-decoration: none; cursor: pointer;
  isolation: isolate; box-shadow: var(--shadow-sm);
}
.v2-tile-xl { grid-row: span 2; }
.v2-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.v2-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,17,16,0) 30%, rgba(17,17,16,.88) 100%); }
.v2-tile:hover img { transform: scale(1.06); }
.v2-tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.v2-tile h3 { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1; margin: 10px 0 6px; }
.v2-tile-xl h3 { font-size: 40px; }
.v2-tile p { font-size: 14px; color: #d4cfc5; line-height: 1.5; max-width: 340px; }
.v2-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; }

/* ── CATALOGO ── */
.catalogue-section { padding: clamp(64px, 9vw, 120px) var(--pad-x); }
.search-wrap { border-radius: 999px; border: 1px solid var(--border); background: var(--surface); padding-left: 6px; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.search-wrap:focus-within { border-color: var(--dark); box-shadow: 0 0 0 4px rgba(17,17,16,.06); }
.search-wrap input { font-family: var(--sans); font-size: 15px; letter-spacing: 0; width: 260px; padding: 12px 18px 12px 4px; }
.search-icon { padding: 10px 6px 10px 12px; display: flex; }
.filtri-bar { gap: 8px; margin-bottom: 28px; }
.filtro-pill { border-radius: 999px; font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; padding: 8px 16px; background: var(--surface); color: var(--text); }
.filtro-pill:hover { border-color: var(--dark); }
.filtro-pill.active { background: var(--dark); color: #fff; }

.grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; background: none; }
.card {
  border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s;
}
.card:hover { background: var(--surface); transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover .card-name { color: var(--dark); }
.card:hover .card-desc, .card:hover .card-stock { color: var(--muted); }
.card:hover .card-cat { color: var(--accent2); }
.card:hover .card-price { color: var(--dark); }
.card-img, .card-ph { aspect-ratio: 1 / 1; background: var(--surface2); }
.card-ph { font-size: 40px; color: #d6d2c9; border-radius: 0; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .3px; color: var(--accent2); text-transform: none; }
.card-name { font-family: var(--sans); font-size: 17px; font-weight: 600; text-transform: none; letter-spacing: -.1px; line-height: 1.3; }
.card-desc { font-size: 13px; margin-bottom: 14px; }
.card-footer { margin-top: auto; }
.card-price { font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--dark); }
.card-stock { font-family: var(--sans); font-size: 12px; }
.card-badge { top: 12px; left: 12px; border-radius: 999px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .5px; padding: 5px 10px; }
.card .add-btn, .add-btn {
  border-radius: 999px; font-family: var(--sans); font-size: 14px; font-weight: 600;
  letter-spacing: 0; padding: 11px; color: var(--dark); border-color: var(--border); background: var(--surface);
}
.card:hover .add-btn, .add-btn:hover:not(:disabled) { background: var(--dark); border-color: var(--dark); color: #fff; }

/* ── COME FUNZIONA ── */
.how-section { padding: clamp(64px, 9vw, 120px) var(--pad-x); border-bottom: 0; }
.v2-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.step { background: var(--dark2); border: 1px solid var(--dark3); border-radius: var(--r-lg); padding: 32px 28px; position: relative; overflow: hidden; }
.step:hover { background: var(--dark3); }
.step-num { font-size: 15px; font-family: var(--mono); color: var(--accent); font-weight: 500; margin-bottom: 40px; line-height: 1; }
.step-title { font-family: var(--display); font-size: 30px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.step:hover .step-title { color: #fff; }
.step-desc { color: #a29d92; font-size: 14px; }

/* ── PERCHÉ NOI ── */
.why-section { background: var(--bg); border-top: 0; padding: clamp(64px, 9vw, 120px) var(--pad-x); }
.why-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; background: none; }
.why-card { border-radius: var(--r-lg); border: 1px solid var(--border); padding: 28px 24px; }
.why-card:hover { box-shadow: var(--shadow); }
.why-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent2); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.why-title { font-family: var(--sans); font-size: 18px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.why-desc { font-size: 14px; }

/* ── RECENSIONI ── */
.resenas-dest-section { padding: clamp(64px, 9vw, 120px) var(--pad-x); }
.resenas-dest-grid { gap: 14px; }
.resena-dest-card { border-radius: var(--r-lg); background: var(--dark2); border: 1px solid var(--dark3); }

/* ── FAQ ── */
.v2-faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.v2-faq-grid .v2-section-head { position: sticky; top: 100px; }
.v2-faq-list details { border-bottom: 1px solid var(--border); }
.v2-faq-list details:first-child { border-top: 1px solid var(--border); }
.v2-faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 17px; font-weight: 600; color: var(--dark);
}
.v2-faq-list summary::-webkit-details-marker { display: none; }
.v2-faq-list summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-weight: 400; font-size: 18px;
  transition: transform .25s, background .2s, color .2s;
}
.v2-faq-list details[open] summary::after { content: '–'; background: var(--dark); color: #fff; border-color: var(--dark); }
.v2-faq-list details p { padding: 0 40px 22px 0; color: var(--muted); line-height: 1.7; animation: fadeIn .25s ease; }

/* ── CTA FINALE ── */
.v2-cta {
  margin: 0 var(--pad-x) clamp(64px, 9vw, 120px); padding: clamp(32px, 5vw, 64px);
  border-radius: 28px; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.v2-cta::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 7px); }
.v2-cta > * { position: relative; z-index: 1; }
.v2-cta .v2-h2 { color: #fff; }
.v2-cta .v2-h2 em { color: var(--dark); }
.v2-cta .v2-lead { color: rgba(255,255,255,.88); }
.v2-cta .v2-hero-ctas { margin-top: 0; animation: none; }
.v2-cta .v2-btn-primary { background: var(--dark); box-shadow: none; }
.v2-cta .v2-btn-primary:hover { background: var(--dark3); }
.v2-cta .v2-btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.v2-cta .v2-btn-outline:hover { border-color: #fff; }

/* ── FOOTER ── */
footer { padding: 64px var(--pad-x) 28px; color: #a29d92; }
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { height: 40px; opacity: 1; }
.footer-tagline { font-size: 14px; color: #8d877c; }
.footer-col-title { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #fff; }
.footer-link { font-size: 14px; color: #a29d92; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer-link:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--dark3); padding-top: 22px; font-size: 13px; }
.footer-copy, .footer-fatto { font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; color: #77726a; }
.footer-fatto a { color: inherit; }
.footer-fatto a:hover { color: #fff; }

/* ══ COMPONENTI CONDIVISI (prodotto, carrello, modali, checkout, profilo, chat) ══ */
.pill { border-radius: 999px; font-size: 11px; padding: 3px 10px; }
.msg { border-radius: var(--r-sm); font-family: var(--sans); font-size: 13px; letter-spacing: 0; }
.loading { font-family: var(--sans); font-size: 14px; letter-spacing: 1px; }
.empty-state { border-radius: var(--r-lg); background: var(--surface); }
.empty-state h3 { font-family: var(--display); font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 26px; }

.field label { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text); }
.field input, .field textarea, .field select, input[type=text], input[type=email], input[type=tel], input[type=password], select, textarea {
  border-radius: 10px; font-family: var(--sans); font-size: 15px;
}
.field input, .field textarea, .field select { background: var(--surface); padding: 12px 14px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--dark); box-shadow: 0 0 0 4px rgba(17,17,16,.06); }

.btn-full, .btn-submit, .big-btn, .add-cart-btn {
  border-radius: 999px; font-family: var(--sans); font-size: 16px; font-weight: 600;
  letter-spacing: 0; text-transform: none;
}
.btn-full, .big-btn, .add-cart-btn { background: var(--accent); }
.btn-full:hover, .big-btn:hover, .add-cart-btn:hover { background: #ff7a2e; }
.btn-ghost, .action-btn, .btn-spediz-calc { border-radius: 999px; font-family: var(--sans); letter-spacing: 0; }
.btn-ghost { font-size: 14px; }
.action-btn { font-size: 12px; padding: 5px 12px; }

/* pagina prodotto */
.galeria-main, .galeria-thumb { border-radius: var(--r); overflow: hidden; }
.producto-nombre { font-family: var(--display); font-weight: 800; text-transform: none; letter-spacing: -.5px; }
.producto-cat, .producto-breadcrumb { font-family: var(--sans); letter-spacing: 0; text-transform: none; }
.producto-precio { font-family: var(--display); font-weight: 700; }
.variante-btn { border-radius: 999px; font-family: var(--sans); letter-spacing: 0; }
.variante-btn.selected { background: var(--dark); border-color: var(--dark); color: #fff; }
.qty-ctrl { border-radius: 999px; overflow: hidden; }
.share-btn { border-radius: 999px; }

/* carrello */
.drawer { border-radius: var(--r-lg) 0 0 var(--r-lg); box-shadow: var(--shadow-lg); }
.overlay, .modal-bg { backdrop-filter: blur(6px); }
.drawer-title, .modal-title { font-family: var(--display); font-weight: 800; text-transform: none; letter-spacing: 0; }
.x-btn { border-radius: 50%; }
.ci-thumb { border-radius: 10px; overflow: hidden; }
.ci-name { font-family: var(--sans); font-weight: 600; text-transform: none; letter-spacing: 0; }

/* modali / auth */
.modal { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.modal-sub { font-family: var(--sans); letter-spacing: 0; }
.auth-tabs { background: var(--surface2); border-radius: 999px; padding: 4px; gap: 4px; border: 0; }
.auth-tab { border-radius: 999px; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; border: 0; }
.auth-tab.active { background: var(--surface); color: var(--dark); box-shadow: var(--shadow-sm); }

/* checkout */
.chk-title { font-family: var(--display); font-weight: 800; text-transform: none; }
.chk-eyebrow, .chk-box-title, .chk-total-label, .chk-summary-row, .chk-item-meta, .chk-item-qty { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 13px; }
.chk-box-title { font-weight: 600; color: var(--text); font-size: 15px; }
.chk-box { border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.chk-item-img, .chk-item-ph { border-radius: 12px; }
.chk-item-name { font-family: var(--sans); font-weight: 600; text-transform: none; font-size: 16px; }
.spediz-opt { border-radius: 12px; }
.spediz-opt.selected { border-color: var(--accent); background: var(--accent-soft); }
.phone-prefix { border-radius: 10px 0 0 10px; }
.phone-number { border-radius: 0 10px 10px 0; }

/* profilo e ordini */
.perfil-sidebar, .orden-card, .ocv2 { border-radius: var(--r-lg); overflow: hidden; }
.perfil-avatar { border-radius: 50%; }
.perfil-menu-item { border-radius: 10px; font-family: var(--sans); letter-spacing: 0; text-transform: none; }
.perfil-menu-item.active { background: var(--dark); color: #fff; }

/* chat */
.chat-fab { border-radius: 50%; background: var(--accent); box-shadow: 0 12px 30px -8px rgba(242,106,27,.6); }
.chat-panel { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.chat-msg-bubble { border-radius: 14px; }
.chat-msg.mine .chat-msg-bubble { background: var(--accent); }
.chat-invito { border-radius: var(--r); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .v2-bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .v2-tile-xl { grid-column: span 2; grid-row: span 1; height: 320px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  header { height: 64px; }
  .v2-hero { min-height: 0; }
  .v2-hero-inner { padding: 72px 16px 28px; }
  .v2-hero-stats { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .v2-stat { padding: 16px; }
  .v2-stat strong { font-size: 32px; }
  .v2-hero-ctas .v2-btn { flex: 1 1 auto; }
  .v2-bento { grid-template-columns: 1fr; grid-auto-rows: 220px; gap: 12px; }
  .v2-tile-xl { grid-column: auto; height: auto; }
  .v2-tile-xl h3 { font-size: 30px; }
  .v2-steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .v2-faq-grid { grid-template-columns: 1fr; }
  .v2-faq-grid .v2-section-head { position: static; }
  .search-wrap { width: 100%; }
  .search-wrap input { width: 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body { padding: 12px; }
  .card-name { font-size: 15px; }
  .card-desc { display: none; }
  .card-price { font-size: 22px; }
  .card-stock { display: none; }
  .card .add-btn { font-size: 13px; padding: 9px; }
  .v2-cta { margin-left: 16px; margin-right: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .drawer { border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── COOKIE ── */
.v2-cookie {
  display: none; position: fixed; left: 16px; bottom: 16px; z-index: 9999;
  max-width: 420px; padding: 18px 20px; gap: 14px; flex-direction: column; align-items: flex-start;
  background: var(--dark); color: #cfcac0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  font-size: 13px; line-height: 1.55; border: 1px solid var(--dark3);
}
.v2-cookie a { color: var(--accent); }
.v2-cookie button { background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 9px 18px; font-family: var(--sans); font-weight: 600; font-size: 14px; cursor: pointer; }
@media (max-width: 768px) {
  .v2-tile-xl { grid-row: auto; }
  .v2-cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ══ HERO 3D ══ */
.v2-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; column-gap: 24px; }
.v2-hero-copy { grid-column: 1; grid-row: 1; }
.v2-hero-stats { grid-column: 1 / -1; grid-row: 2; }
.v2-hero-3d { grid-column: 2; grid-row: 1; position: relative; height: min(62vh, 600px); min-height: 380px; cursor: grab; opacity: 0; transition: opacity 1s ease .2s; }
.v2-hero-3d.is-ready, .v2-hero-3d.is-fallback { opacity: 1; }
.v2-hero-3d.is-grabbing { cursor: grabbing; }
.v2-hero-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.v2-hero-3d.is-fallback { display: flex; align-items: center; justify-content: center; }
.v2-hero-3d.is-fallback img { width: 70%; max-width: 380px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.v2-hero-3d-hint {
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #bdb7ab;
  font-size: 12px; pointer-events: none; white-space: nowrap; backdrop-filter: blur(8px);
  animation: v2Hint 2.4s ease-in-out 4.2s 3 both;
}
.v2-hero-3d.is-fallback .v2-hero-3d-hint { display: none; }
@keyframes v2Hint { 0%,100% { opacity: .9; } 50% { opacity: .35; } }
.v2-hero-bg { opacity: .28; }
.v2-hero .v2-hero-h1 { margin-top: 18px; }

/* titoli divisi in parole (motion) */
.v2-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.v2-wi { display: inline-block; will-change: transform; }
.js-motion .v2-hero.is-animated .v2-hero-h1,
.js-motion .v2-hero.is-animated .v2-hero-p,
.js-motion .v2-hero.is-animated .v2-hero-ctas { animation: none; }
.js-motion .will-animate { opacity: 1; transform: none; }

/* barra di avanzamento + header compatto */
.v2-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 1000; pointer-events: none; }
header { transition: height .35s ease, background .35s ease, box-shadow .35s ease; }
header.is-scrolled { height: 60px; background: rgba(246,245,242,.92); box-shadow: 0 6px 24px -12px rgba(17,17,16,.25); }

/* ══ NASTRO ══ */
.v2-marquee { background: var(--accent); color: #fff; overflow: hidden; padding: 16px 0; border-block: 1px solid rgba(0,0,0,.08); }
.v2-marquee-track { display: flex; width: max-content; gap: 28px; align-items: center; animation: v2Marquee 38s linear infinite; }
.v2-marquee span { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.v2-marquee i { font-style: normal; opacity: .6; font-size: 16px; }
.v2-marquee:hover .v2-marquee-track { animation-play-state: paused; }
@keyframes v2Marquee { to { transform: translateX(-50%); } }

/* ══ CIRCUITI IN SCALA ══ */
.v2-f1 { overflow: hidden; }
.v2-f1-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 320px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
  margin: 0 calc(var(--pad-x) * -1); padding-inline: var(--pad-x); scrollbar-width: none;
}
.v2-f1-rail::-webkit-scrollbar { display: none; }
.v2-f1-card { scroll-snap-align: start; display: block; text-decoration: none; color: #fff; border-radius: var(--r-lg); background: var(--dark2); border: 1px solid var(--dark3); padding: 14px; transition: border-color .3s, background .3s; position: relative; overflow: hidden; }
.v2-f1-card:hover { border-color: rgba(242,106,27,.6); background: #201f1c; }
.v2-f1-img { aspect-ratio: 1 / 1; border-radius: 14px; background: radial-gradient(70% 70% at 50% 45%, #2b2a27, #161614); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.v2-f1-img img { width: 86%; height: 86%; object-fit: contain; transition: transform .6s cubic-bezier(.2,.7,.2,1); filter: drop-shadow(0 18px 24px rgba(0,0,0,.45)); }
.v2-f1-card:hover .v2-f1-img img { transform: scale(1.08) rotate(-3deg); }
.v2-f1-card span { display: block; margin-top: 12px; font-family: var(--display); font-size: 22px; font-weight: 700; }

/* ══ PROCESSO: linea di avanzamento ══ */
.v2-steps { position: relative; }
.v2-steps-line { position: absolute; left: 0; right: 0; top: -22px; height: 2px; background: var(--accent); transform-origin: 0 50%; border-radius: 2px; }
.v2-steps::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 2px; background: var(--dark3); border-radius: 2px; }

/* riflesso che segue il puntatore su card e tessere */
.card, .v2-tile, .why-card, .v2-f1-card { transform-style: preserve-3d; will-change: transform; }
.js-motion .card:hover { transform: none; }
.card::after, .why-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 45%);
  mix-blend-mode: soft-light;
}
.card:hover::after, .why-card:hover::after { opacity: 1; }
.why-card { position: relative; }

@media (max-width: 900px) {
  .v2-hero-inner { grid-template-columns: 1fr; }
  .v2-hero-copy, .v2-hero-3d, .v2-hero-stats { grid-column: 1; grid-row: auto; }
  .v2-hero-3d { height: 340px; min-height: 0; margin: 8px -16px 0; }
}
@media (max-width: 768px) {
  .v2-f1-rail { grid-auto-columns: 72%; }
  .v2-steps-line, .v2-steps::before { display: none; }
}
.hn-link { text-decoration: none; }
.v2-hero-h1 { font-size: clamp(50px, 6.4vw, 104px); }
@media (min-width: 901px) { .v2-hero-inner { padding-top: 96px; } .v2-hero-stats { margin-top: 40px; } }

/* ══ PAGINA PRODOTTO ══ */
.producto-layout { gap: 0; }
.producto-info { padding: clamp(28px, 4vw, 56px); }
.producto-breadcrumb { font-size: 13px; color: var(--muted); }
.producto-nombre { font-size: clamp(36px, 4vw, 56px); line-height: 1; }
.producto-precio { font-size: 44px; color: var(--dark); }
.producto-desc { font-size: 15px; line-height: 1.7; color: #4f4c46; }
.producto-stock { font-family: var(--sans); font-size: 13px; letter-spacing: 0; }
.meta-key { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2px; text-transform: none; color: var(--muted); }
.v2-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 14px; }
.v2-trust > div { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--surface2); font-size: 13px; font-weight: 600; line-height: 1.3; }
.v2-trust iconify-icon { color: var(--accent2); flex-shrink: 0; margin-top: 1px; }
.v2-trust small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 3px; }
.v2-custom-cta { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--border); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; margin-bottom: 20px; transition: border-color .2s, background .2s; }
.v2-custom-cta:hover { border-color: #25D366; background: rgba(37,211,102,.06); }
.v2-custom-cta iconify-icon { color: #25D366; flex-shrink: 0; }
@media (max-width: 1100px) { .v2-trust { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  /* bottone "aggiungi" sempre a portata di pollice */
  .qty-row { position: sticky; bottom: 0; z-index: 20; background: rgba(246,245,242,.94); backdrop-filter: blur(12px); margin: 0 -16px; padding: 12px 16px; border-top: 1px solid var(--border); }
}

/* ══ FIGURE PERSONALIZZATE ══ */
.v2-figz { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: 0; }
.v2-figz-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: radial-gradient(80% 70% at 50% 40%, #fff, var(--surface2)); box-shadow: var(--shadow); }
.v2-figz-media img { width: 100%; height: 100%; object-fit: cover; }
.v2-figz-badge { position: absolute; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; box-shadow: var(--shadow); animation: v2Float 5s ease-in-out infinite; }
.v2-figz-badge.b1 { top: 22px; left: 22px; }
.v2-figz-badge.b2 { bottom: 22px; right: 22px; background: var(--dark); color: #fff; animation-delay: -2.5s; }
@keyframes v2Float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.v2-figz-steps { list-style: none; counter-reset: f; margin: 0 0 30px; display: grid; gap: 12px; }
.v2-figz-steps li { counter-increment: f; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.v2-figz-steps li::before { content: counter(f, decimal-leading-zero); grid-row: span 2; font-family: var(--mono); font-size: 14px; color: var(--accent2); padding-top: 2px; }
.v2-figz-steps strong { font-size: 16px; }
.v2-figz-steps span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.v2-figz .v2-hero-ctas { margin-top: 0; animation: none; }
@media (max-width: 900px) { .v2-figz { grid-template-columns: 1fr; } .v2-figz-media { aspect-ratio: 4 / 3; } }

/* ══ BLOG & ARTICOLO ══ */
.section-eyebrow, .art-eyebrow, .bf-label { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: var(--accent2); text-transform: uppercase; }
.v2-dark .section-eyebrow, .resenas-dest-section .section-eyebrow { color: var(--accent); }
.blog-wrap { padding: clamp(56px, 7vw, 96px) var(--pad-x); }
.blog-tag { border-radius: 999px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; padding: 7px 16px; }
.blog-featured { border-radius: 24px; overflow: hidden; margin-bottom: 18px; background: var(--surface); transition: box-shadow .3s, transform .3s cubic-bezier(.2,.7,.2,1); }
.blog-featured:hover { background: var(--surface); box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-featured:hover .bf-title { color: var(--dark); }
.blog-featured:hover .bf-excerpt { color: var(--muted); }
.blog-featured:hover .bf-read { color: var(--accent2); }
.bf-title, .bc-title, .art-h1 { font-family: var(--display); font-weight: 800; text-transform: none; letter-spacing: -.5px; line-height: 1.02; }
.bf-date, .bc-date, .arc-date, .art-meta, .bf-read, .bc-read, .bc-meta { font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; }
.bf-read, .bc-read { font-weight: 600; color: var(--accent2); }
.bf-excerpt, .bc-excerpt, .art-excerpt { font-size: 15px; line-height: 1.65; }
.blog-grid { gap: 18px; background: none; margin-top: 0; }
.blog-card { border-radius: 22px; border: 1px solid var(--border); transition: box-shadow .3s, transform .3s cubic-bezier(.2,.7,.2,1); }
.blog-card:hover { background: var(--surface); box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-card:hover .bc-title { color: var(--dark); }
.blog-card:hover .bc-excerpt { color: var(--muted); }
.art-wrap { padding: clamp(40px, 6vw, 80px) 20px; }
.art-back-btn { font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; padding: 8px 14px; margin-left: -14px; border-radius: 999px; }
.art-back-btn:hover { background: rgba(17,17,16,.06); }
.art-hero-img { border-radius: 22px; }
.art-body { font-size: 17px; line-height: 1.8; }
.art-share-btn, .art-related-card { border-radius: 999px; }
.art-related-card { border-radius: 18px; overflow: hidden; }

/* ══ PRIVATI / AZIENDE ══ */
.v2-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(17,17,16,.07); gap: 2px; }
.v2-switch-opt { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.v2-switch-opt:hover { color: var(--text); }
.v2-switch-opt.is-on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.v2-switch.on-dark { background: rgba(255,255,255,.1); }
.v2-switch.on-dark .v2-switch-opt { color: #a9a397; }
.v2-switch.on-dark .v2-switch-opt.is-on { background: var(--accent); color: #fff; }
@media (max-width: 768px) { .header-actions .v2-switch { display: none; } }

.v2-tile-contain { object-fit: contain !important; padding: 18px 18px 70px; background: radial-gradient(70% 70% at 50% 40%, #2b2a27, #161614); }
.v2-tile-b2b { background: linear-gradient(140deg, var(--accent) 0%, #c24f0c 100%); }
.v2-tile-b2b::after { background: repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 7px); }
.v2-tile-b2b .v2-tag { background: var(--dark); }
.v2-tile-b2b p { color: rgba(255,255,255,.9); }
.v2-tile-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; font-size: 14px; }

.v2-b2b-band {
  margin: 0 var(--pad-x) clamp(20px, 3vw, 32px); padding: clamp(28px, 4vw, 52px);
  border-radius: 28px; background: var(--dark); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background-image: radial-gradient(60% 120% at 100% 0%, rgba(242,106,27,.28), transparent 60%);
}
.v2-b2b-band .v2-h2 { color: #fff; font-size: clamp(30px, 3.6vw, 48px); }
.v2-b2b-band .v2-eyebrow { color: var(--accent); }
.v2-b2b-band .v2-lead { color: #bdb7ab; }
.v2-b2b-band > div { min-width: 0; max-width: 640px; }

/* ══ RITOCCHI: un solo rimando, solo foto su nero ══ */
.v2-tile-accent { background: linear-gradient(140deg, var(--accent) 0%, #c24f0c 100%); }
.v2-tile-accent::after { background: repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 7px); }
.v2-tile-accent .v2-tag { background: var(--dark); }
.v2-tile-accent p { color: rgba(255,255,255,.9); }
.v2-tile-icon { display: block; margin-bottom: auto; color: #fff; opacity: .95; }
.v2-tile-accent .v2-tile-body { top: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.v2-tile-accent .v2-tile-icon { position: absolute; top: 22px; left: 22px; }
.v2-tile img { background: #111110; }

/* figure: percorso foto → modello → figura, su fondo nero */
.v2-figz-flow {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: radial-gradient(70% 60% at 50% 40%, #232220, #0d0d0c); padding: 32px; box-shadow: var(--shadow-lg);
}
.v2-figz-stage {
  width: min(260px, 80%); display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #f6f5f2;
  font-family: var(--display); font-size: 24px; font-weight: 700;
}
.v2-figz-stage iconify-icon { color: #a9a397; flex-shrink: 0; }
.v2-figz-stage.is-final { background: var(--accent); border-color: var(--accent); box-shadow: 0 18px 40px -16px rgba(242,106,27,.8); }
.v2-figz-stage.is-final iconify-icon { color: #fff; }
.v2-figz-arrow { width: 2px; height: 26px; background: linear-gradient(var(--accent), rgba(242,106,27,0)); position: relative; }
.v2-figz-arrow::after { content: ''; position: absolute; left: 50%; bottom: -2px; width: 8px; height: 8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateX(-50%) rotate(45deg); }

/* footer a tre colonne (marchio, sezione, contatti) */
.footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr; }

/* l'interruttore è l'unico rimando tra privati e aziende: visibile anche su telefono */
@media (max-width: 768px) {
  .header-actions .v2-switch { display: inline-flex; }
  .v2-switch-opt { padding: 6px 10px; font-size: 12px; }
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

/* Lenis (scroll fluido): il "smooth" nativo del vecchio CSS non deve combattere con lo script */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* tessera arancione: l'etichetta resta compatta */
.v2-tile-accent .v2-tile-body { align-items: flex-start; }

/* ══════════════════════════════════════════════════════════════
   INGRESSO: PRIVATI O AZIENDE
   Due metà a tutto schermo; sulla linea che le divide si stampa il logo 3D.
   ══════════════════════════════════════════════════════════════ */
.v2-gate { display: none; }
html.gate-open body { overflow: hidden; }
html.gate-open .v2-gate {
  display: flex; position: fixed; inset: 0; z-index: 1000; background: #0b0b0a; color: #f6f5f2;
  clip-path: inset(0 0 0 0);
}
html.gate-open .chat-fab, html.gate-open .chat-invito, html.gate-open .v2-cookie { display: none !important; }

.v2-gate-top {
  position: absolute; z-index: 4; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(20px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) 20px max(24px, env(safe-area-inset-left, 0px));
  pointer-events: none;
}
.v2-gate-logo { height: 34px; width: auto; }
.v2-gate-q { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: .2px; text-align: center; }
.v2-gate-place { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #8d877c; }

.v2-gate-half {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end; color: inherit; text-decoration: none;
  padding: clamp(28px, 5vw, 72px); padding-bottom: calc(clamp(28px, 5vw, 72px) + env(safe-area-inset-bottom, 0px));
  transition: flex-grow .9s cubic-bezier(.2,.7,.2,1);
}
.v2-gate-half:hover, .v2-gate-half:focus-visible { flex-grow: 1.35; }
.v2-gate-half:focus-visible { outline: 2px solid var(--accent); outline-offset: -6px; }
.v2-gate-half + .v2-gate-half { border-left: 1px solid rgba(255,255,255,.1); }

.v2-gate-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  opacity: .42; transform: scale(1.08); filter: saturate(.9);
  transition: opacity .9s ease, transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.v2-gate-half:hover .v2-gate-bg { opacity: .62; transform: scale(1.01); }
.v2-gate-half::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,11,10,.55) 0%, rgba(11,11,10,.1) 35%, rgba(11,11,10,.92) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 6px);
}
.is-b2c::before, .is-b2b::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .9; }
.is-b2c::before { background: radial-gradient(70% 60% at 15% 100%, rgba(242,106,27,.35), transparent 70%); }
.is-b2b::before { background: radial-gradient(70% 60% at 85% 100%, rgba(120,130,140,.28), transparent 70%); }

.v2-gate-copy { max-width: 440px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.is-b2b .v2-gate-copy { margin-left: auto; align-items: flex-end; text-align: right; }
.v2-gate-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.is-b2b .v2-gate-eyebrow { color: #b9c0c7; }
.v2-gate-title {
  margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -2px; line-height: .82;
  font-size: clamp(64px, 10vw, 168px); text-wrap: balance;
}
.v2-gate-text { margin: 0; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.55; color: #cfc9be; }
.v2-gate-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.is-b2b .v2-gate-chips { justify-content: flex-end; }
.v2-gate-chips li { padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-size: 12px; font-weight: 600; color: #e8e4dc; }
.v2-gate-cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 13px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  transition: background .3s, border-color .3s, gap .3s;
}
.v2-gate-cta i { font-style: normal; transition: transform .3s; }
.is-b2c:hover .v2-gate-cta { background: var(--accent); border-color: var(--accent); }
.is-b2b:hover .v2-gate-cta { background: #f6f5f2; color: #111110; border-color: #f6f5f2; }
.v2-gate-half:hover .v2-gate-cta i { transform: translateX(4px); }

/* il logo si stampa sulla linea di divisione */
.v2-gate-center {
  position: absolute; z-index: 3; left: 50%; top: 44%; transform: translate(-50%, -50%);
  width: min(30vw, 400px); aspect-ratio: 1; pointer-events: none;
  transition: left .9s cubic-bezier(.2,.7,.2,1);
}
.v2-gate-center::before {
  content: ''; position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242,106,27,.22), rgba(242,106,27,0));
}
.v2-gate-3d { position: absolute; inset: 0; }
.v2-gate-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.v2-gate-3d.is-fallback { display: flex; align-items: center; justify-content: center; }
.v2-gate-3d.is-fallback img { width: 60%; }
.v2-gate:has(.is-b2c:hover) .v2-gate-center { left: 57%; }
.v2-gate:has(.is-b2b:hover) .v2-gate-center { left: 43%; }
.v2-gate.is-chosen .v2-gate-half { pointer-events: none; }

@media (max-width: 768px) {
  html.gate-open .v2-gate { flex-direction: column; }
  .v2-gate-half { align-items: flex-end; padding: 22px max(20px, env(safe-area-inset-left, 0px)); }
  .v2-gate-half + .v2-gate-half { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .is-b2c { padding-top: 88px; }
  .is-b2b { padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
  .v2-gate-half:hover, .v2-gate-half:focus-visible { flex-grow: 1; }
  .v2-gate-copy { gap: 10px; max-width: none; }
  .is-b2b .v2-gate-copy { margin-left: 0; align-items: flex-start; text-align: left; }
  .is-b2b .v2-gate-chips { justify-content: flex-start; }
  .v2-gate-title { font-size: clamp(52px, 16vw, 84px); letter-spacing: -1px; }
  .v2-gate-text { font-size: 14px; max-width: 64%; }
  .v2-gate-chips { display: none; }
  .v2-gate-cta { padding: 11px 16px; font-size: 14px; }
  .v2-gate-place { display: none; }
  .v2-gate-q { font-size: 17px; text-align: right; }
  .v2-gate-center { width: 44vw; left: auto; right: -2vw; top: 50%; transform: translate(0, -50%); }
  .v2-gate:has(.is-b2c:hover) .v2-gate-center, .v2-gate:has(.is-b2b:hover) .v2-gate-center { left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-gate-half, .v2-gate-bg, .v2-gate-center { transition: none; }
}
/* ingresso: le foto stanno in alto, i titoli su fondo pulito */
.v2-gate-bg { object-position: 50% 18%; opacity: .34; }
.v2-gate-half:hover .v2-gate-bg { opacity: .5; }
.v2-gate-half::after {
  background:
    linear-gradient(180deg, rgba(11,11,10,.6) 0%, rgba(11,11,10,.05) 28%, rgba(11,11,10,.75) 55%, rgba(11,11,10,.97) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 6px);
}
@media (max-width: 768px) { .v2-gate-bg { object-position: 50% 30%; } }

/* ══ PRESTAZIONI ══
   - niente will-change permanente: decine di livelli GPU rallentavano lo scroll
   - il "vetro" (backdrop-filter) resta solo dove serve; su telefono sfondo pieno */
.card, .v2-tile, .why-card, .v2-f1-card { will-change: auto; }
.v2-stat, .v2-hero-stats, .v2-tile-body, .v2-figz-badge, .v2-hero-3d-hint, .v2-chip { backdrop-filter: none; -webkit-backdrop-filter: none; }
.v2-hero-stats { background: rgba(255,255,255,.1); }
.v2-stat { background: rgba(17,17,16,.82); }
@media (max-width: 768px), (pointer: coarse) {
  header, header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(246,245,242,.98); }
  .v2-btn-glass, .search-wrap, .v2-gate-chips li { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .v2-btn-glass { background: rgba(255,255,255,.14); }
  .v2-figz-badge { animation: none; }
  .v2-tile:hover img { transform: none; }
}

/* ══ BLOG: rivista ══ */
.blog-head { margin-bottom: 28px; }
.blog-featured {
  display: grid; grid-template-columns: 1.15fr 1fr; background: var(--dark); color: #fff; border: 0;
  border-radius: 28px; overflow: hidden; margin-bottom: 22px; box-shadow: var(--shadow);
}
.blog-featured:hover { background: var(--dark); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-featured-img { min-height: 380px; }
.blog-featured-body { padding: clamp(28px, 4vw, 52px); gap: 12px; display: flex; flex-direction: column; justify-content: center; }
.bf-label { display: inline-flex; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.bf-title { color: #fff; font-size: clamp(32px, 3.4vw, 48px); }
.blog-featured:hover .bf-title { color: #fff; }
.bf-date { color: #a9a397; }
.bf-excerpt { color: #cfc9be; }
.blog-featured:hover .bf-excerpt { color: #cfc9be; }
.bf-read, .blog-featured:hover .bf-read { color: var(--accent); }
.blog-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.blog-card { display: flex; flex-direction: column; }
.blog-card-img { aspect-ratio: 16 / 10; background: #111110; }
.blog-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.bc-meta { display: flex; gap: 10px; color: var(--muted); }
.bc-title { font-size: 26px; }
.bc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
@media (max-width: 860px) { .blog-featured { grid-template-columns: 1fr; } .blog-featured-img { min-height: 240px; } }

/* articolo: testata scura, colonna di lettura comoda */
.art-hero { background: var(--dark); color: #fff; padding: clamp(40px, 6vw, 80px) var(--pad-x) clamp(48px, 7vw, 96px);
  background-image: radial-gradient(55% 80% at 90% 0%, rgba(242,106,27,.22), transparent 60%); }
.art-hero-inner { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.art-hero .art-back-btn { color: #cfc9be; background: rgba(255,255,255,.06); }
.art-hero .art-back-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.art-hero .art-eyebrow { color: var(--accent); }
.art-hero .art-h1 { color: #fff; font-size: clamp(40px, 6vw, 76px); line-height: .98; margin: 0; text-wrap: balance; }
.art-hero .art-meta { color: #a9a397; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.art-meta-sep { color: #4a4843; }
.art-meta-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.art-hero .pill { border-color: rgba(255,255,255,.2); color: #e8e4dc; }
.art-hero .art-excerpt { color: #cfc9be; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; max-width: 62ch; margin: 6px 0 0; }
.art-wrap { max-width: 760px; margin: 0 auto; padding: 0 20px clamp(56px, 7vw, 96px); }
.art-hero-img { width: 100%; margin-top: calc(clamp(48px, 7vw, 96px) * -0.6); margin-bottom: 36px; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow-lg); background: #111110; }
.art-body { font-size: 18px; line-height: 1.8; color: #2b2925; }
.art-body > * + * { margin-top: 1.1em; }
.art-body h2 { font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1.05; margin-top: 1.6em; color: var(--dark); }
.art-body h3 { font-size: 21px; font-weight: 700; margin-top: 1.4em; }
.art-body a { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; }
.art-body img { border-radius: 18px; margin: 1.6em 0; }
.art-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-size: 21px; color: var(--dark); font-style: normal; }
.art-body ul, .art-body ol { padding-left: 1.3em; }
.art-body li + li { margin-top: .4em; }
.art-body code { font-family: var(--mono); font-size: .88em; background: var(--surface2); padding: 2px 6px; border-radius: 6px; }
.art-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); }
.art-share-label { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--text); margin-right: 6px; }
.art-share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.art-share-btn.wa { background: #25D366; border-color: #25D366; color: #fff; }
.art-related { margin-top: 56px; }
.art-related-label { font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: 0; text-transform: none; color: var(--dark); margin-bottom: 18px; }
.art-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; background: none; }
.art-related-card { border-radius: 18px; border: 1px solid var(--border); background: var(--surface); padding: 0 0 16px; overflow: hidden; transition: box-shadow .3s, transform .3s; }
.art-related-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); background: var(--surface); }
.arc-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; margin-bottom: 12px; background: #111110; }
.arc-date, .arc-title { padding: 0 16px; }
.arc-title { font-family: var(--display); font-weight: 700; font-size: 21px; text-transform: none; letter-spacing: 0; line-height: 1.1; margin-top: 4px; color: var(--dark); }
.art-related-card:hover .arc-title { color: var(--dark); }
.blog-featured { max-height: 560px; }
.blog-featured-img-wrap { position: relative; min-height: 380px; }
.blog-featured-img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
@media (max-width: 860px) { .blog-featured { max-height: none; } .blog-featured-img-wrap { min-height: 240px; } }
.art-hero .art-meta { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
