/* ================================================================
   Cifrea Theme — main.css  v4.0.0
   Hub editoriale — community-first
   ================================================================ */

/* ── TOKENS ────────────────────────────────────────────────────── */
:root {
  --blu:       #0F1F3D;
  --blu-dark:  #080f1e;
  --ambra:     #E8831A;
  --ambra-dim: rgba(232,131,26,0.12);
  --crema:     #F8F6F2;
  --ardesia:   #6B7280;
  --bianco:    #FFFFFF;
  --border:    rgba(15,31,61,0.09);

  --font-sans: 'Nunito', system-ui, sans-serif;
  --font-head: 'Space Grotesk', 'Nunito', sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;

  --nav-h: 72px;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;
  --radius-xl: 22px;

  --shadow-sm: 0 1px 4px rgba(15,31,61,.06);
  --shadow:    0 4px 20px rgba(15,31,61,.10);
  --shadow-lg: 0 16px 48px rgba(15,31,61,.16);
  --shadow-ambra: 0 8px 32px rgba(232,131,26,.32);

  --trans: 250ms ease;
  --trans-fast: 150ms ease;
}

/* ── RESET ─────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
body {
  font-family: var(--font-sans);
  background: var(--crema);
  color: var(--blu);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
img,svg { max-width:100%; display:block; }
img { height:auto; }
a { color: var(--ambra); text-decoration: none; transition: color var(--trans-fast); }
ul,ol { list-style: none; }
button { font-family: inherit; cursor: none; }

/* ── ACCESSIBILITY ─────────────────────────────────────────────── */
.skip-to-content {
  position: absolute; top: -100%; left: 1rem; z-index: 9999;
  background: var(--ambra); color: #fff; font-weight: 700;
  padding: .6rem 1.25rem; border-radius: var(--radius);
  transition: top var(--trans-fast);
}
.skip-to-content:focus { top: 1rem; }
*:focus-visible { outline: 2px solid var(--ambra); outline-offset: 3px; border-radius: 3px; }

/* ── CURSOR ────────────────────────────────────────────────────── */
.cursor {
  width: 10px; height: 10px;
  background: var(--ambra); border-radius: 50%;
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform .1s, width .25s, height .25s;
  mix-blend-mode: normal;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(232,131,26,.5); border-radius: 50%;
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform .18s cubic-bezier(.23,1,.32,1), width .3s, height .3s, border-color .3s;
}
body:has(a:hover) .cursor,
body:has(button:hover) .cursor { width: 18px; height: 18px; }
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring { width: 56px; height: 56px; border-color: var(--ambra); }

/* ── NAV ───────────────────────────────────────────────────────── */
#mainNav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  transition: background .4s, box-shadow .4s;
}
#mainNav.scrolled {
  background: rgba(248,246,242,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  padding: 0 6%;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-sans); font-weight: 900; font-size: 21px;
  color: var(--bianco); text-decoration: none; letter-spacing: -.4px;
  display: flex; align-items: center; gap: 9px;
  transition: color .3s; cursor: none;
}
#mainNav.scrolled .nav-logo { color: var(--blu); }
.nav-logo-mark {
  width: 28px; height: 28px; background: var(--ambra); border-radius: 7px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 700;
  color: rgba(255,255,255,.65); text-decoration: none;
  transition: color .25s; letter-spacing: .01em; cursor: none;
}
#mainNav.scrolled .nav-links a { color: var(--ardesia); }
.nav-links a:hover { color: var(--bianco) !important; }
#mainNav.scrolled .nav-links a:hover { color: var(--blu) !important; }
.nav-cta {
  background: var(--ambra) !important; color: var(--bianco) !important;
  padding: 10px 22px; border-radius: 8px; font-weight: 800 !important;
  box-shadow: 0 2px 12px rgba(232,131,26,.3);
  transition: transform .2s, box-shadow .2s !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,131,26,.4) !important; }

/* Mobile toggle */
.menu-toggle {
  display: none; background: none; border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--radius-sm); padding: 6px; width: 38px; height: 38px;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transition: border-color var(--trans-fast); cursor: none;
}
.menu-toggle:hover { border-color: var(--ambra); }
.hamburger { display: flex; flex-direction: column; gap: 4px; }
.hamburger span {
  display: block; width: 20px; height: 2px; background: var(--bianco);
  border-radius: 2px; transition: transform var(--trans), opacity var(--trans);
  transform-origin: center;
}
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--blu-dark);
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-lg);
}
.mobile-menu.is-open { display: block; }
.mobile-menu-inner {
  padding: 1.5rem 6%; display: flex; flex-direction: column; gap: .75rem;
}
.mobile-nav-link {
  display: block; padding: .75rem 1rem;
  color: rgba(255,255,255,.8); font-size: 1.1rem; font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background var(--trans-fast), color var(--trans-fast); cursor: none;
}
.mobile-nav-link:hover { background: rgba(255,255,255,.07); color: var(--ambra); }
.mobile-cta { text-align: center; margin-top: .5rem; cursor: none; }

/* ── BUTTONS ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: .625rem 1.375rem; border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-weight: 900; font-size: 1rem;
  border: 2px solid transparent; text-decoration: none; cursor: none;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.15) 50%, transparent 60%);
  transform: translateX(-100%); transition: transform .5s;
}
.btn:hover::after { transform: translateX(100%); }
.btn:active { transform: translateY(1px); }

.btn-ambra {
  background: var(--ambra); color: var(--bianco); border-color: var(--ambra);
  box-shadow: 0 4px 24px rgba(232,131,26,.35);
}
.btn-ambra:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(232,131,26,.5); color: var(--bianco); }

.btn-outline {
  background: transparent; color: var(--bianco); border-color: rgba(255,255,255,.3);
}
.btn-outline:hover { border-color: var(--bianco); color: var(--bianco); }

.btn-dark {
  background: var(--blu); color: var(--bianco);
  box-shadow: 0 4px 20px rgba(15,31,61,.2);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(15,31,61,.3); color: var(--bianco); }

.btn-ghost-hero {
  color: rgba(255,255,255,.6); font-size: 14px; font-weight: 700;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 4px; transition: color .2s; cursor: none; letter-spacing: .01em;
  background: none; border: none; overflow: visible;
}
.btn-ghost-hero::after { display: none; }
.btn-ghost-hero:hover { color: var(--bianco); }
.btn-ghost-hero svg { transition: transform .25s; }
.btn-ghost-hero:hover svg { transform: translateX(4px); }

.btn--lg  { font-size: 1.0625rem; padding: .875rem 2rem; }
.btn--xl  { font-size: 1.125rem; padding: 1rem 2.5rem; }
.btn--full { width: 100%; }

/* btn-primary = amber CTA (used in front-page and page templates) */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-family: var(--font-sans); font-weight: 900; font-size: 15px;
  background: var(--ambra); color: var(--bianco);
  border: none; text-decoration: none; cursor: none;
  box-shadow: 0 4px 24px rgba(232,131,26,.35);
  transition: transform .2s, box-shadow .2s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.15) 50%, transparent 60%);
  transform: translateX(-100%); transition: transform .5s;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(232,131,26,.5); color: var(--bianco); }
.btn-primary:active { transform: translateY(1px); }

/* ── LAYOUT ────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin-inline: auto; padding-inline: 6%; }
section { padding: 108px 6%; }

/* S-TAG (DM Mono eyebrow) */
.s-tag {
  font-family: var(--font-mono); font-size: 9px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ambra);
  margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
}
.s-tag::before { content: ''; width: 24px; height: 1px; background: var(--ambra); }
.s-title {
  font-weight: 900; font-size: clamp(30px, 4vw, 52px);
  line-height: 1.07; letter-spacing: -1.8px; color: var(--blu);
}
.s-title em { color: var(--ambra); font-style: normal; }
.s-title-white, .s-title-light { color: var(--bianco); }
.s-sub {
  font-size: 17px; font-weight: 500; line-height: 1.72;
  color: var(--ardesia); max-width: 520px; margin-top: 18px;
}

/* ── HERO ──────────────────────────────────────────────────────── */
.hero, .hero-section {
  min-height: 100vh; background: var(--blu);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding: 0 6%;
  position: relative; overflow: hidden; gap: 48px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.dot-grid {
  position: absolute; inset: -10%;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 36px 36px;
  animation: driftGrid 18s linear infinite;
}
@keyframes driftGrid { from { transform: translate(0,0); } to { transform: translate(36px,36px); } }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero-orb-1 {
  width: 480px; height: 480px; background: rgba(232,131,26,.18);
  top: -120px; right: -80px; animation: orbFloat1 9s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px; height: 300px; background: rgba(232,131,26,.1);
  bottom: -60px; left: 30%; animation: orbFloat2 12s ease-in-out infinite;
}
@keyframes orbFloat1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-30px,40px) scale(1.08)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-30px)} }
.hero-scanline {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232,131,26,.4) 50%, transparent 100%);
  animation: scanDown 6s ease-in-out infinite; pointer-events: none;
}
@keyframes scanDown { 0%{top:20%;opacity:0} 10%{opacity:1} 90%{opacity:1} 100%{top:80%;opacity:0} }

.hero-left { position: relative; z-index: 1; padding: 120px 0 80px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ambra); background: rgba(232,131,26,.12); border: 1px solid rgba(232,131,26,.25);
  padding: 7px 14px; border-radius: 4px; margin-bottom: 36px;
  opacity: 0; animation: fadeUp .6s .1s forwards;
}
.eyebrow-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--ambra);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }

.hero-left h1 {
  font-weight: 900; font-size: clamp(42px, 5.5vw, 74px);
  line-height: 1.03; letter-spacing: -2.5px; color: var(--bianco);
  opacity: 0; animation: fadeUp .7s .25s forwards;
}
.hero-left h1 .line-accent {
  display: block; color: transparent;
  -webkit-text-stroke: 1.5px var(--ambra);
  transition: color .4s, -webkit-text-stroke .4s;
}
.hero-left h1 .line-accent:hover { color: var(--ambra); -webkit-text-stroke: 0px transparent; }

.hero-sub {
  font-size: 17px; font-weight: 500; line-height: 1.72;
  color: rgba(255,255,255,.58); max-width: 480px; margin-top: 28px;
  opacity: 0; animation: fadeUp .7s .42s forwards;
}
.hero-actions {
  display: flex; gap: 14px; align-items: center; margin-top: 44px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .7s .56s forwards;
}

/* Hero stats bar */
.hero-stats-bar {
  position: absolute; bottom: 0; left: 6%; right: 6%;
  border-top: 1px solid rgba(255,255,255,.08); padding: 28px 0;
  display: flex; gap: 48px; z-index: 1; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .7s .85s forwards;
}
.hstat { display: flex; flex-direction: column; gap: 3px; opacity: 0; animation: fadeUp .5s forwards; }
.hstat:nth-child(1){animation-delay:.9s}
.hstat:nth-child(2){animation-delay:1.0s}
.hstat:nth-child(3){animation-delay:1.1s}
.hstat:nth-child(4){animation-delay:1.2s}
.hstat-num { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--bianco); }
.hstat-num b { color: var(--ambra); }
.hstat-label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .13em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
}

/* Terminal card */
.hero-right {
  position: relative; z-index: 1; padding: 120px 0 80px;
  display: flex; align-items: center; justify-content: center;
}
.terminal {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; overflow: hidden; width: 100%; max-width: 420px;
  box-shadow: 0 32px 80px rgba(0,0,0,.35);
  opacity: 0; animation: fadeLeft .9s .6s forwards;
}
.terminal-bar {
  background: rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.t-dots { display: flex; gap: 6px; }
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot-r { background: #ff5f56; }
.t-dot-y { background: #ffbd2e; }
.t-dot-g { background: #27c93f; }
.t-title {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
  color: rgba(255,255,255,.3); text-transform: uppercase;
  margin-left: auto; margin-right: auto;
}
.terminal-body { padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; }
.t-kpi {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center;
  transition: border-color .3s, background .3s;
}
.t-kpi:hover { border-color: rgba(232,131,26,.4); background: rgba(232,131,26,.06); }
.t-kpi-label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 6px;
}
.t-kpi-value { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--ambra); }
.t-kpi-delta { font-family: var(--font-head); font-size: 11px; font-weight: 500; display: flex; align-items: center; gap: 4px; }
.delta-up { color: #4ade80; }
.t-bar-row { display: flex; flex-direction: column; gap: 10px; }
.t-bar-item { display: flex; flex-direction: column; gap: 6px; }
.t-bar-header { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.5); }
.t-bar-header span:last-child { font-family: var(--font-head); color: var(--ambra); }
.t-bar-track { height: 4px; background: rgba(255,255,255,.07); border-radius: 2px; overflow: hidden; }
.t-bar-fill {
  height: 100%; background: var(--ambra); border-radius: 2px;
  transform-origin: left; animation: barGrow 1.4s cubic-bezier(.22,1,.36,1) forwards; transform: scaleX(0);
}
@keyframes barGrow { to { transform: scaleX(1); } }
.t-alert {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.2);
  border-radius: 10px; padding: 14px 16px;
}
.t-alert-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.t-alert-text { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.65); line-height: 1.55; }
.t-alert-text strong { color: #4ade80; }

/* ── PROBLEMA ──────────────────────────────────────────────────── */
.problema { background: var(--crema); }
.problema-layout {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 72px; align-items: start; margin-top: 72px;
}
.problema-cards { display: flex; flex-direction: column; gap: 14px; }
.pcard {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 22px 26px; background: var(--bianco);
  border-radius: 14px; border: 1.5px solid transparent;
  transition: border-color .3s, transform .3s, box-shadow .3s; cursor: none;
}
.pcard:hover {
  border-color: var(--ambra); transform: translateX(6px);
  box-shadow: -4px 0 0 var(--ambra), 4px 8px 32px rgba(15,31,61,.08);
}
.pcard-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--ambra-dim); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.pcard:hover .pcard-icon { background: var(--ambra); }
.pcard:hover .pcard-icon svg path,
.pcard:hover .pcard-icon svg rect,
.pcard:hover .pcard-icon svg circle,
.pcard:hover .pcard-icon svg polyline { stroke: var(--bianco) !important; }
.pcard-body h4 { font-weight: 800; font-size: 15px; color: var(--blu); margin-bottom: 5px; }
.pcard-body p { font-size: 13px; color: var(--ardesia); line-height: 1.6; }

/* P-visual block */
.p-visual {
  position: sticky; top: 100px;
  background: var(--blu); border-radius: 22px;
  padding: 40px 36px; overflow: hidden;
}
.p-visual::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(232,131,26,.18), transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.p-visual-quote {
  font-size: 15px; font-weight: 700; color: rgba(255,255,255,.75);
  line-height: 1.65; padding-left: 20px; border-left: 3px solid var(--ambra);
  margin-bottom: 36px; position: relative; z-index: 1;
}
.p-stat { position: relative; z-index: 1; margin-top: 14px; }
.p-stat-inner {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px; padding: 20px 22px;
  display: flex; align-items: center; gap: 18px; margin-bottom: 12px;
  transition: border-color .25s;
}
.p-stat-inner:hover { border-color: rgba(232,131,26,.4); }
.p-stat-num {
  font-family: var(--font-head); font-size: 38px; font-weight: 700;
  color: var(--ambra); min-width: 80px; line-height: 1;
}
.p-stat-desc { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.6; }
.p-stat-source {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em;
  color: rgba(255,255,255,.25); margin-top: 4px;
}

/* ── METODI TABS ───────────────────────────────────────────────── */
.metodi { background: var(--bianco); }
.metodi-top {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 52px; flex-wrap: wrap; gap: 24px;
}
.tab-nav {
  display: flex; gap: 0; background: var(--crema); border-radius: 12px;
  padding: 5px; border: 1.5px solid var(--border);
}
.tab-btn {
  font-family: var(--font-sans); font-size: 13px; font-weight: 800;
  color: var(--ardesia); background: none; border: none;
  padding: 10px 22px; border-radius: 9px; cursor: none;
  transition: all .25s; display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.tab-btn.active { background: var(--blu); color: var(--bianco); box-shadow: 0 4px 16px rgba(15,31,61,.2); }
.tab-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .4; transition: opacity .25s; }
.tab-btn.active .tab-dot { opacity: 1; background: var(--ambra); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.metodo-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.metodo-tag {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ambra); margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.metodo-tag::before { content: ''; width: 18px; height: 1px; background: var(--ambra); }
.metodo-headline {
  font-weight: 900; font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: -1.2px; line-height: 1.1; color: var(--blu); margin-bottom: 14px;
}
.metodo-promise {
  font-size: 15px; font-weight: 600; color: var(--ardesia); line-height: 1.7;
  padding-left: 16px; border-left: 3px solid var(--ambra-dim); margin-bottom: 32px;
}
.metodo-feats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.mfeat { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 700; color: var(--blu); }
.mfeat-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--ambra-dim); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.metodo-footer-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.m-price { font-family: var(--font-head); font-size: 42px; font-weight: 700; color: var(--blu); line-height: 1; }
.m-price sup { font-size: 20px; font-weight: 500; vertical-align: super; color: var(--ardesia); }
.m-price sub { font-size: 13px; font-weight: 400; color: var(--ardesia); vertical-align: bottom; }

/* Metodo visual card */
.mv-card {
  background: var(--blu); border-radius: 22px; padding: 36px; overflow: hidden; position: relative;
}
.mv-card::after {
  content: ''; position: absolute; bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(232,131,26,.2), transparent 65%);
  border-radius: 50%;
}
.mv-header {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 24px;
}
.mv-kpis { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.mv-kpi {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; background: rgba(255,255,255,.06); border-radius: 10px;
  border: 1px solid rgba(255,255,255,.07); transition: background .25s;
}
.mv-kpi:hover { background: rgba(255,255,255,.1); }
.mv-kpi-label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.55); }
.mv-kpi-value { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ambra); }
.mv-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; position: relative; z-index: 1; }
.mv-tag {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.5);
  padding: 5px 10px; border-radius: 4px; border: 1px solid rgba(255,255,255,.1);
}

/* Bundle strip */
.bundle-strip {
  margin-top: 56px; background: var(--crema); border: 1.5px solid var(--border);
  border-radius: 18px; padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.bs-label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ambra); margin-bottom: 8px;
}
.bs-title { font-weight: 900; font-size: 20px; color: var(--blu); letter-spacing: -.4px; margin-bottom: 4px; }
.bs-sub { font-size: 13px; color: var(--ardesia); }
.bs-right { display: flex; align-items: center; gap: 24px; flex-shrink: 0; flex-wrap: wrap; }
.bs-old { font-family: var(--font-head); font-size: 18px; color: var(--ardesia); text-decoration: line-through; }
.bs-new { font-family: var(--font-head); font-size: 40px; font-weight: 700; color: var(--ambra); line-height: 1; }
.bs-save {
  font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--bianco); background: var(--ambra); padding: 4px 9px; border-radius: 4px; align-self: center;
}

/* ── COME FUNZIONA ─────────────────────────────────────────────── */
.come-funziona { background: var(--crema); }
.steps-wrapper { margin-top: 72px; display: flex; flex-direction: column; gap: 0; }
.step-row {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 0 32px; position: relative;
}
.step-row:not(:last-child) .step-line {
  position: absolute; left: 31px; top: 64px; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--ambra), rgba(232,131,26,.1));
}
.step-col-left { display: flex; flex-direction: column; align-items: center; }
.step-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--bianco); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ardesia);
  flex-shrink: 0; transition: background .3s, border-color .3s, color .3s; position: relative; z-index: 1;
}
.step-row:hover .step-circle { background: var(--ambra); border-color: var(--ambra); color: var(--bianco); }
.step-content { padding: 14px 0 52px; }
.step-content h4 { font-weight: 900; font-size: 20px; color: var(--blu); margin-bottom: 8px; letter-spacing: -.3px; }
.step-content p { font-size: 14px; color: var(--ardesia); line-height: 1.7; max-width: 500px; }

/* ── LEAD MAGNET SECTION ───────────────────────────────────────── */
.lead-magnet, .lm-section { background: var(--blu); position: relative; overflow: hidden; }
.lm-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.lm-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; position: relative; z-index: 1;
}
.lm-perks { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.lm-perk {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
  transition: border-color .25s;
}
.lm-perk:hover { border-color: rgba(232,131,26,.4); }
.lm-perk-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(232,131,26,.15); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.lm-perk-text { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.75); }
.lm-form-card { background: var(--crema); border-radius: 22px; padding: 44px 40px; }
.lm-form-tag {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ambra); margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.lm-form-tag::before { content: ''; width: 16px; height: 1px; background: var(--ambra); }
.lm-form-title { font-weight: 900; font-size: 22px; color: var(--blu); margin-bottom: 8px; letter-spacing: -.4px; }
.lm-form-sub { font-size: 13px; color: var(--ardesia); margin-bottom: 28px; line-height: 1.6; }
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block; font-family: var(--font-mono); font-size: 9px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ardesia); margin-bottom: 7px;
}
.form-field input {
  width: 100%; padding: 13px 16px; background: var(--bianco);
  border: 1.5px solid var(--border); border-radius: 10px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 700; color: var(--blu);
  outline: none; cursor: none; transition: border-color .2s, box-shadow .2s;
}
.form-field input::placeholder { color: rgba(107,114,128,.5); font-weight: 500; }
.form-field input:focus { border-color: var(--ambra); box-shadow: 0 0 0 3px rgba(232,131,26,.12); }
.form-field input.is-error { border-color: #e53e3e; }
.form-error-msg { color: #e53e3e; font-size: 11px; font-weight: 600; display: none; margin-top: 4px; }
.form-error-msg.is-visible { display: block; }
.form-gdpr {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; color: var(--ardesia); margin-bottom: 14px; line-height: 1.6;
}
.form-gdpr input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; accent-color: var(--ambra); margin-top: 1px; cursor: none; }
.form-submit {
  width: 100%; padding: 15px; background: var(--blu); color: var(--bianco);
  border: none; border-radius: 10px; font-family: var(--font-sans);
  font-size: 15px; font-weight: 900; cursor: none; margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(15,31,61,.2);
  position: relative; overflow: hidden;
}
.form-submit::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.12) 50%, transparent 60%);
  transform: translateX(-100%); transition: transform .5s;
}
.form-submit:hover::after { transform: translateX(100%); }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(15,31,61,.3); }
.form-submit:disabled { opacity: .6; transform: none; }
.form-privacy {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em;
  color: var(--ardesia); margin-top: 12px; text-align: center; line-height: 1.7;
}
.form-success, #lead-success { display: none; text-align: center; padding: 2rem 0; }
.form-success.is-visible, #lead-success.is-visible { display: block; }
.form-success h3, #lead-success p { font-size: 1.05rem; color: var(--blu); margin-top: 1rem; }
#lead-success svg { margin: 0 auto 8px; }

/* GDPR checkbox label */
.gdpr-label { display: flex; align-items: flex-start; gap: 10px; cursor: none; }
.gdpr-label input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; accent-color: var(--ambra); margin-top: 2px; cursor: none; }
.gdpr-label span { font-size: 12px; color: var(--ardesia); line-height: 1.6; }
.gdpr-label a { color: var(--ambra); text-decoration: underline; }

/* ── CHI SIAMO ─────────────────────────────────────────────────── */
.chi-siamo { background: var(--bianco); }
.chi-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 64px; }
.chi-text p { font-size: 16px; font-weight: 500; line-height: 1.8; color: var(--ardesia); margin-bottom: 18px; }
.chi-text p strong { color: var(--blu); }
.chi-values { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.chi-val {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px; background: var(--crema); border-radius: 12px;
  border: 1.5px solid transparent; transition: border-color .25s;
}
.chi-val:hover { border-color: var(--ambra); }
.chi-val-icon {
  width: 40px; height: 40px; flex-shrink: 0; background: var(--ambra-dim);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
}
.chi-val h5 { font-weight: 800; font-size: 14px; color: var(--blu); margin-bottom: 4px; }
.chi-val p { font-size: 12px; color: var(--ardesia); line-height: 1.6; }
.chi-img, .chi-visual {
  background: var(--blu); border-radius: 22px; padding: 44px 40px; position: relative; overflow: hidden;
}
.chi-img::before, .chi-visual::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(232,131,26,.2), transparent 65%);
  border-radius: 50%;
}
.ci-label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 24px;
}
.ci-tagline {
  font-weight: 900; font-size: 26px; line-height: 1.25; letter-spacing: -.6px;
  color: var(--bianco); margin-bottom: 32px; position: relative; z-index: 1;
}
.ci-tagline span { color: var(--ambra); }
.ci-pills { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.ci-pill {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.5);
  padding: 6px 12px; border-radius: 4px; border: 1px solid rgba(255,255,255,.1);
}

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq, .faq-s { background: var(--crema); }
.faq-layout { margin-top: 60px; max-width: 760px; }
.faq-item { border-bottom: 1.5px solid var(--border); overflow: hidden; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; cursor: none; font-weight: 800; font-size: 16px;
  color: var(--blu); transition: color .25s; user-select: none;
  background: none; border: none; width: 100%; text-align: left;
  font-family: var(--font-sans);
}
.faq-q:hover,.faq-q.open { color: var(--ambra); }
.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--ambra-dim); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .35s;
}
.faq-q.open .faq-icon { background: var(--ambra); transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .4s;
  font-size: 14px; color: var(--ardesia); line-height: 1.75; font-weight: 500;
}
.faq-a.open { max-height: 200px; padding-bottom: 20px; }

/* ── CTA FINALE ────────────────────────────────────────────────── */
.cta-finale {
  background: var(--blu); text-align: center;
  padding: 112px 6%; position: relative; overflow: hidden;
}
.cta-finale-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 36px 36px;
}
.cta-finale-orb {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  filter: blur(100px); background: rgba(232,131,26,.15);
  top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none;
}
.cta-finale-content { position: relative; z-index: 1; }
.cta-pre {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(232,131,26,.8); margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.cta-pre::before,.cta-pre::after { content: ''; flex: 1; max-width: 60px; height: 1px; background: rgba(232,131,26,.3); }
.cta-h {
  font-weight: 900; font-size: clamp(34px, 5.5vw, 64px);
  letter-spacing: -2px; line-height: 1.06; color: var(--bianco); margin-bottom: 20px;
}
.cta-h em { color: var(--ambra); font-style: normal; }
.cta-p { font-size: 18px; color: rgba(255,255,255,.6); max-width: 460px; margin: 0 auto 44px; font-weight: 500; line-height: 1.65; }

/* ── CONTATTI ──────────────────────────────────────────────────── */
.contatti-section { background: var(--crema); }
.contatti-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 64px; }
.contatti-info { display: flex; flex-direction: column; gap: 24px; }
.cinfo-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 22px; background: var(--bianco); border-radius: 14px;
  border: 1.5px solid var(--border); transition: border-color .25s;
}
.cinfo-item:hover { border-color: var(--ambra); }
.cinfo-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--ambra-dim); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.cinfo-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--ardesia); margin-bottom: 4px; }
.cinfo-value { font-weight: 800; font-size: 15px; color: var(--blu); }
.cinfo-value a { color: var(--blu); transition: color .2s; }
.cinfo-value a:hover { color: var(--ambra); }

/* ── FOOTER ────────────────────────────────────────────────────── */
footer, .site-footer {
  background: var(--blu-dark); padding: 72px 6% 40px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 36px;
}
.footer-brand-name {
  font-family: var(--font-sans); font-weight: 900; font-size: 22px;
  color: var(--bianco); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px; letter-spacing: -.3px;
}
.footer-tagline {
  font-size: 13px; color: rgba(255,255,255,.35); font-weight: 500;
  margin-bottom: 28px; line-height: 1.6; max-width: 260px;
}
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.fsocial {
  width: 36px; height: 36px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s; cursor: none; text-decoration: none;
}
.fsocial:hover { background: var(--ambra); border-color: var(--ambra); }
.fsocial svg { pointer-events: none; }
.footer-col h5 {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.25); margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,.5); text-decoration: none;
  margin-bottom: 12px; transition: color .2s; cursor: none;
}
.footer-col a:hover { color: var(--ambra); }
.footer-col .fsocial-label {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  transition: color .2s; cursor: none; text-decoration: none;
}
.footer-col .fsocial-label:hover { color: var(--ambra); }
.footer-col .fsocial-label svg { opacity: .7; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-copy {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; color: rgba(255,255,255,.2);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em;
  color: rgba(255,255,255,.2); text-decoration: none; transition: color .2s; cursor: none; display: inline;
}
.footer-legal a:hover { color: rgba(255,255,255,.5); }

/* ── COMING SOON BOX ───────────────────────────────────────────── */
.coming-soon-box {
  background: var(--bianco); border: 2px dashed var(--ambra);
  border-radius: 22px; padding: 56px 48px;
  max-width: 540px; margin-inline: auto; text-align: center;
  box-shadow: var(--shadow);
}
.coming-soon-box__badge {
  display: inline-block; background: var(--ambra-dim); color: var(--ambra);
  font-family: var(--font-mono); font-size: 9px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 4px; margin-bottom: 20px;
}
.coming-soon-box__title { font-size: 1.25rem; color: var(--blu); font-weight: 900; margin-bottom: 12px; letter-spacing: -.3px; }
.coming-soon-box__text { color: var(--ardesia); font-size: 14px; line-height: 1.7; margin-bottom: 28px; }
.coming-soon-box__price { font-family: var(--font-head); font-size: 56px; font-weight: 700; color: var(--ambra); line-height: 1; margin-bottom: 28px; }
.coming-soon-box__note { margin-top: 16px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; color: var(--ardesia); }
.coming-soon-box__note a { color: var(--ambra); }

/* ── PAGE — generic ────────────────────────────────────────────── */
.section-page { padding: 108px 6%; }
.page-content { max-width: 760px; margin-inline: auto; }
.page-header { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1.5px solid var(--border); }
.page-title { font-size: clamp(28px, 4vw, 48px); letter-spacing: -1.2px; }
.page-body { font-size: 16px; font-weight: 500; line-height: 1.8; color: var(--ardesia); }
.page-body h2,.page-body h3 { color: var(--blu); margin-block: 2rem 1rem; letter-spacing: -.5px; }
.page-body p { margin-bottom: 1.25rem; }
.page-body a { text-decoration: underline; color: var(--ambra); }

/* ── 404 ───────────────────────────────────────────────────────── */
.error-404-section { padding: 140px 6%; text-align: center; }
.error-404__code { font-family: var(--font-head); font-size: 120px; font-weight: 700; color: var(--border); line-height: 1; }
.error-404__code span { color: var(--ambra); }

/* ── ANIMATIONS ────────────────────────────────────────────────── */
@keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeLeft { from{opacity:0;transform:translateX(36px)} to{opacity:1;transform:translateX(0)} }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── READING PROGRESS ──────────────────────────────────────────── */
.reading-progress {
  position: fixed; top: 0; left: 0; width: 0%; height: 2px;
  background: linear-gradient(90deg, var(--ambra), rgba(232,131,26,.5));
  z-index: 9999; transition: width 80ms linear;
}

/* ── PAGE HERO (chi siamo, contatti, inner pages) ──────────────── */
.page-hero {
  background: var(--blu);
  padding: calc(var(--nav-h) + 80px) 6% 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 680px; }
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700; line-height: 1.06;
  letter-spacing: -1.5px; color: var(--bianco); margin-bottom: 20px;
}
.page-hero-title em { color: var(--ambra); font-style: normal; }
.page-hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.6);
  font-weight: 500; line-height: 1.65; max-width: 540px;
}

/* ── CONTATTI PAGE ──────────────────────────────────────────────── */
.contatti { background: var(--bianco); padding: 96px 6%; }
.contatti-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start; margin-top: 0;
}
.contatti-desc {
  font-size: 15px; color: var(--ardesia); line-height: 1.75;
  font-weight: 500; margin: 24px 0 36px;
}
.contatti-channels { display: flex; flex-direction: column; gap: 12px; }
.contatto-card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: var(--crema); border-radius: var(--radius-lg);
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: border-color var(--trans);
}
.contatto-card:hover { border-color: var(--ambra); }
.contatto-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--ambra-dim); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.contatto-label {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ardesia); margin-bottom: 4px;
}
.contatto-value { font-weight: 800; font-size: 14px; color: var(--blu); }
.contatti-social { margin-top: 32px; }
.contatti-social-label {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ardesia); margin-bottom: 14px;
}
.contatti-social .fsocial {
  background: var(--crema); border: 1.5px solid var(--border); color: var(--blu);
}
.contatti-social .fsocial:hover { background: var(--ambra); border-color: var(--ambra); color: var(--bianco); }
.contatti-social .fsocial svg path,
.contatti-social .fsocial svg rect,
.contatti-social .fsocial svg circle { stroke: currentColor; }

/* ── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero, .hero-section { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-stats-bar { position: relative; }
  .problema-layout,.metodo-layout,.lm-grid,.chi-layout,.contatti-layout { grid-template-columns: 1fr; gap: 40px; }
  .metodo-visual { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 72px 5%; }
  #mainNav .nav-inner { padding: 0 5%; }
  .nav-links a:not(.nav-cta) { display: none; }
  .menu-toggle { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .bundle-strip { padding: 24px; }
  .coming-soon-box { padding: 40px 28px; }
  .lm-form-card { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .tab-nav { overflow-x: auto; }
  .tab-btn { padding: 10px 14px; font-size: 12px; }
}

/* ══════════════════════════════════════════════════════════════
   COMPONENTI HOME v3.1 — tutti i CSS mancanti
══════════════════════════════════════════════════════════════ */

/* Fix globale: SVG inline non devono essere block */
.hf-perks svg, .mc-feat-check svg, .bs2-check svg,
.bi-item svg, .be-item svg, .bc-cta svg, .bc-guarantee svg,
.bundle-extras svg, .footer-socials svg, .fn-form svg,
.cf-metrics svg, .cta-finale svg, .step-row svg,
.pcard-icon svg, .problema-quote svg,
.faq-q svg, .faq-icon svg,
.hero-actions svg, .btn-primary svg, .btn-ghost-hero svg {
  display: inline-block !important;
  vertical-align: middle;
}

/* ── LOGO (custom_logo) ────────────────────────────────────── */
.nav-logo { display: flex; align-items: center; gap: 0; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { height: 36px; width: auto; }
.nav-logo-text {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.3px;
  color: currentColor;
}

/* ── METODI GRID HOME ──────────────────────────────────────── */
.metodi { background: var(--crema); padding: 100px 6%; }
.metodi .s-tag { color: var(--ambra); font-family: var(--font-mono); font-size: 11px; letter-spacing:.12em; text-transform:uppercase; display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.metodi .s-tag::before { content:''; width:32px; height:1.5px; background:var(--ambra); }
.metodi .s-title { font-family:var(--font-head); font-size:clamp(32px,4.5vw,52px); font-weight:700; line-height:1.1; letter-spacing:-1px; color:var(--blu); margin-bottom:14px; }
.metodi .s-title em { color:var(--ambra); font-style:normal; }
.metodi .s-sub { font-size:17px; color:var(--ardesia); max-width:580px; line-height:1.7; margin-bottom:52px; }

.metodi-grid-3col {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
  margin-bottom: 0;
}

.metodo-card {
  background: var(--bianco);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
}
.metodo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232,131,26,.3);
}
.metodo-card-featured {
  background: var(--blu);
  border-color: var(--ambra);
  box-shadow: 0 8px 40px rgba(15,31,61,.18);
}
.metodo-card-featured .mc-name,
.metodo-card-featured .mc-price,
.metodo-card-featured .mc-promise,
.metodo-card-featured .mc-num { color: var(--bianco); }
.metodo-card-featured .mc-feat { color: rgba(255,255,255,.75); }

.mc-badge {
  display: inline-block;
  background: var(--ambra);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.mc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ambra);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mc-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--blu);
  line-height: 1.2;
  margin-bottom: 14px;
}
.mc-price {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--blu);
  line-height: 1;
  margin-bottom: 16px;
}
.mc-price sup { font-size: 18px; vertical-align: top; margin-top: 6px; }
.mc-price sub { font-size: 13px; font-weight: 500; color: var(--ardesia); vertical-align: bottom; font-family: var(--font-sans); }
.mc-promise {
  font-size: 15px;
  color: var(--ardesia);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
.mc-feats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.mc-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ardesia);
  line-height: 1.5;
}
.mc-feat-check {
  width: 18px; height: 18px;
  background: var(--ambra-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.metodo-card-featured .mc-feat { color: rgba(255,255,255,.65); }
.metodo-card-featured .mc-feat-check { background: rgba(232,131,26,.2); }

.metodo-card .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: var(--ambra);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  cursor: none;
  margin-top: auto;
}
.metodo-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-ambra);
  color: #fff;
}

/* ── BUNDLE PREMIUM ────────────────────────────────────────── */
.bundle-premium {
  position: relative;
  padding: 100px 6%;
  background: linear-gradient(135deg, var(--blu-dark) 0%, #0a1628 100%);
  overflow: hidden;
}
.bundle-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(232,131,26,.1) 0%, transparent 70%);
  pointer-events: none;
}
.bundle-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.bundle-tag {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing:.12em; text-transform:uppercase;
  color: var(--ambra); margin-bottom: 16px;
}
.bundle-title {
  font-family: var(--font-head);
  font-size: clamp(30px,4vw,50px);
  font-weight: 700; color: var(--bianco);
  line-height: 1.1; letter-spacing:-1px; margin-bottom: 18px;
}
.bundle-title em { color: var(--ambra); font-style: normal; }
.bundle-sub { font-size: 16px; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 32px; }
.bundle-includes { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.bi-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
}
.bi-icon {
  width: 34px; height: 34px;
  background: rgba(232,131,26,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bi-item > div:nth-child(2) { flex: 1; }
.bi-item strong { display: block; font-size: 13px; font-weight: 800; color: var(--bianco); }
.bi-item span { font-size: 12px; color: rgba(255,255,255,.45); }
.bi-price { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.3); text-decoration: line-through; }
.bundle-extras { display: flex; flex-direction: column; gap: 9px; }
.be-item { display: flex; align-items: center; gap: 9px; font-size: 14px; color: rgba(255,255,255,.55); }
.bundle-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 36px 32px; text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.bc-label { font-family: var(--font-mono); font-size: 10px; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.35); margin-bottom:10px; }
.bc-old { font-size: 17px; color: rgba(255,255,255,.28); text-decoration: line-through; margin-bottom: 2px; }
.bc-new { font-family: var(--font-head); font-size: 68px; font-weight: 700; color: var(--bianco); line-height:1; letter-spacing:-2px; margin-bottom:4px; }
.bc-new sup { font-size: 28px; vertical-align: top; margin-top: 10px; }
.bc-save { font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 10px; }
.bc-badge { display:inline-block; background:var(--ambra); color:#fff; font-size:12px; font-weight:800; padding:5px 14px; border-radius:20px; margin-bottom:24px; }
.bc-cta {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 15px 20px;
  background: var(--ambra); color: #fff;
  font-weight: 900; font-size: 16px;
  border-radius: var(--radius); text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 28px rgba(232,131,26,.4);
  margin-bottom: 14px; cursor: none;
}
.bc-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(232,131,26,.5); color:#fff; }
.bc-guarantee { display:flex; align-items:center; justify-content:center; gap:6px; font-size:11px; color:rgba(255,255,255,.3); margin-bottom:24px; }
.bc-trust {
  display:flex; align-items:center; justify-content:center; gap:8px;
  padding-top:20px; margin-top:4px; border-top:1px solid rgba(255,255,255,.07);
}
.bc-trust svg { flex-shrink:0; }
.bc-trust span { font-size:12px; color:rgba(255,255,255,.55); font-weight:500; letter-spacing:-.1px; }

/* ── GRAFICO BARRE CF ──────────────────────────────────────── */
.cf-visual {
  background: var(--bianco); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow);
}
.cf-chart-header { margin-bottom: 24px; }
.cf-chart-title { display:block; font-family:var(--font-head); font-size:16px; font-weight:700; color:var(--blu); margin-bottom:4px; }
.cf-chart-sub { font-size:11px; color:var(--ardesia); font-family:var(--font-mono); }
.cf-chart { display:flex; gap:12px; align-items:flex-end; height:160px; position:relative; }
.cf-chart-bars { display:flex; gap:14px; align-items:flex-end; height:100%; flex:1; }
.cf-bar-group { flex:1; display:flex; flex-direction:column; align-items:center; gap:5px; height:100%; justify-content:flex-end; }
.cf-bar {
  width:100%; border-radius:5px 5px 0 0;
  height: 0;
  transition: height 1.2s cubic-bezier(.22,1,.36,1);
}
.cf-bar.animated { height: var(--h); }
.cf-bar-before { background: #ef4444; }
.cf-bar-mid    { background: #f97316; }
.cf-bar-mid2   { background: #fb923c; }
.cf-bar-after  { background: #22c55e; }
.cf-bar-label { font-size:10px; color:var(--ardesia); font-weight:600; text-align:center; }
.cf-bar-val { font-size:11px; font-family:var(--font-mono); color:var(--blu); font-weight:700; }
.cf-chart-axis { display:flex; flex-direction:column; justify-content:space-between; height:100%; font-size:10px; color:var(--ardesia); font-family:var(--font-mono); padding-bottom:28px; }
.cf-metrics { display:flex; gap:20px; margin-top:20px; padding-top:20px; border-top:1px solid var(--border); }
.cf-metric { flex:1; }
.cf-metric-num { font-family:var(--font-head); font-size:28px; font-weight:700; color:var(--ambra); letter-spacing:-1px; line-height:1; margin-bottom:3px; }
.cf-metric-label { font-size:12px; color:var(--ardesia); line-height:1.4; }

/* ── PROBLEMA STATS GRANDI ─────────────────────────────────── */
.problema-stats {
  display: flex; align-items: flex-start;
  gap: 0; margin: 44px 0 52px;
  padding: 44px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pstat-item { flex:1; padding: 0 36px; }
.pstat-item:first-child { padding-left: 0; }
.pstat-item:last-child  { padding-right: 0; }
.pstat-divider { width:1px; background:var(--border); align-self:stretch; }
.pstat-num {
  font-family: var(--font-head);
  font-size: clamp(52px, 6.5vw, 84px);
  font-weight: 700; color: var(--ambra);
  line-height: 1; letter-spacing:-2px; margin-bottom:10px;
}
.pstat-desc { font-size:14px; color:var(--ardesia); line-height:1.55; margin-bottom:5px; }
.pstat-source { font-family:var(--font-mono); font-size:10px; color:rgba(107,114,128,.55); letter-spacing:.04em; }

/* ── HERO FORM INNER ───────────────────────────────────────── */
.hero-form-inner {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hf-badge {
  display: inline-block; background: var(--ambra); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing:.08em; text-transform:uppercase;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 12px;
}
.hero-form-inner h3 {
  font-family: var(--font-head); font-size: clamp(18px,2vw,24px);
  font-weight: 700; color: var(--bianco); margin-bottom: 8px; line-height: 1.2;
}
.hero-form-inner > p { font-size:14px; color:rgba(255,255,255,.55); margin-bottom:18px; line-height:1.6; }
.hf-perks { display:flex; flex-direction:column; gap:7px; margin-bottom:20px; }
.hf-perks span {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.7);
}

/* ── PROBLEMA QUOTE ────────────────────────────────────────── */
.problema-quote {
  background: rgba(232,131,26,.05);
  border: 1px solid rgba(232,131,26,.15);
  border-left: 3px solid var(--ambra);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex; gap: 14px; align-items: flex-start;
  max-width: 700px; margin: 0 auto;
}
.problema-quote p { font-size:15px; color:var(--ardesia); line-height:1.7; font-style:italic; }

/* ── PROBLEMA CARDS 2 COLONNE ──────────────────────────────── */
.problema-cards {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 18px;
  margin-bottom: 36px;
}
.pcard {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bianco); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  transition: border-color .25s, box-shadow .25s;
}
.pcard:hover { border-color: rgba(232,131,26,.3); box-shadow: var(--shadow); }
.pcard-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--ambra-dim); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.pcard-body h4 { font-weight: 800; font-size: 15px; color: var(--blu); margin-bottom: 5px; }
.pcard-body p { font-size: 14px; color: var(--ardesia); line-height: 1.6; }

/* ── FOOTER NUOVO ──────────────────────────────────────────── */
.footer-inner {
  max-width: 640px; margin: 0 auto;
  padding: 72px 6% 44px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px;
}
.footer-logo { display:flex; align-items:center; justify-content:center; }
.footer-logo img, .footer-logo .custom-logo { height: 32px; width: auto; }
.footer-tagline { font-size:15px; color:rgba(255,255,255,.45); line-height:1.65; max-width:460px; }
.footer-socials { display:flex; gap:12px; }
.fsocial {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%; display:flex; align-items:center; justify-content:center;
  transition: background .2s, border-color .2s, transform .2s; cursor:none;
}
.fsocial:hover { background:rgba(232,131,26,.15); border-color:var(--ambra); transform:translateY(-2px); }
.footer-newsletter { width:100%; max-width:400px; }
.fn-label { font-size:13px; color:rgba(255,255,255,.45); margin-bottom:10px; }
.fn-form { display:flex; gap:7px; }
.fn-form input {
  flex:1; padding:12px 14px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius-sm); color:#fff; font-size:14px;
  font-family:var(--font-sans); outline:none; transition:border-color .2s;
}
.fn-form input:focus { border-color:var(--ambra); }
.fn-form input::placeholder { color:rgba(255,255,255,.28); }
.fn-form button {
  padding:12px 18px; background:var(--ambra); color:#fff; border:none;
  border-radius:var(--radius-sm); font-weight:800; font-size:14px;
  display:flex; align-items:center; gap:5px;
  transition:transform .2s, box-shadow .2s; cursor:none;
}
.fn-form button:hover { transform:translateY(-2px); box-shadow:0 6px 18px rgba(232,131,26,.4); }
.footer-legal-bar {
  width:100%; padding-top:20px; border-top:1px solid rgba(255,255,255,.05);
  display:flex; flex-direction:column; align-items:center; gap:10px;
}
.footer-legal-bar > span { font-size:12px; color:rgba(255,255,255,.22); font-family:var(--font-mono); }
.footer-legal-links { display:flex; gap:18px; flex-wrap:wrap; justify-content:center; }
.footer-legal-links a { font-size:12px; color:rgba(255,255,255,.38); transition:color .2s; }
.footer-legal-links a:hover { color:var(--ambra); }

/* ── CTA GARANZIA ──────────────────────────────────────────── */
.cta-garanzia { margin-top:16px; font-size:12px; color:rgba(255,255,255,.38); font-family:var(--font-mono); }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bundle-inner { grid-template-columns:1fr; gap:44px; }
  .bundle-right { max-width:400px; margin:0 auto; width:100%; }
  .problema-stats { flex-direction:column; gap:28px; padding:28px 0; }
  .pstat-divider { display:none; }
  .pstat-item { padding:0; }
}
@media (max-width: 900px) {
  .metodi-grid-3col { grid-template-columns: 1fr !important; }
  .problema-cards { grid-template-columns: 1fr !important; }
}
@media (max-width: 768px) {
  .fn-form { flex-direction:column; }
  .fn-form input, .fn-form button { width:100%; }
  .cf-chart { height:120px; }
}

/* Override colonne footer vecchie */
.footer-top, .footer-bottom { display:none !important; }

/* ================================================================
   CRO UPDATE v3.1 — layout patches
   ================================================================ */

/* Come funziona — single column (chart removed) */
.cf-steps-solo {
  max-width: 740px;
  margin: 3rem auto 0;
}
.cf-steps-solo .step-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 1.5rem;
}

/* CTA finale — subtitle paragraph */
.cta-sub {
  color: rgba(255,255,255,0.72);
  font-size: clamp(.95rem,1.8vw,1.1rem);
  max-width: 520px;
  margin: 0 auto 1.8rem;
  line-height: 1.65;
}

/* Chi siamo — stat section override */
#numeri { padding: 5rem 1.5rem; }
#numeri .s-title { color: var(--blu); }
#numeri .s-sub   { color: var(--ardesia); }

/* ================================================================
   TYPOGRAPHY HARMONIZATION v3.2
   ================================================================ */

/* Variante ridotta di .s-title per heading dentro sezioni narrative */
.s-title-inline {
  font-size: clamp(26px, 3.2vw, 38px) !important;
  letter-spacing: -1.2px;
  margin-bottom: 1.5rem;
}

/* Sezione Competenze (Chi Siamo) — pulita, no eredita .metodi */
.competenze {
  padding: 5rem 1.5rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}
.competenze-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 3rem;
}
@media (max-width: 900px) {
  .competenze-grid { grid-template-columns: 1fr; }
}
.comp-card {
  background: var(--bianco);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--trans), box-shadow var(--trans);
}
.comp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.comp-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--ambra-dim);
  display: flex; align-items: center; justify-content: center;
}
.comp-name {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blu);
  letter-spacing: -.3px;
  line-height: 1.3;
  margin: 0;
}
.comp-desc {
  font-size: 14px;
  color: var(--ardesia);
  line-height: 1.7;
  margin: 0;
}

/* ================================================================
   PRODUCT PAGES v3.2 — Metodi / Bundle / Lead Magnet
   ================================================================ */

/* ── Product Hero ──────────────────────────────────────────── */
.product-hero { padding-bottom: 6rem; }

.product-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.5rem;
  padding: 6px 14px;
  background: rgba(232,131,26,.12);
  border: 1px solid rgba(232,131,26,.35);
  border-radius: 100px;
}
.pe-num { color: var(--ambra); font-weight: 700; }
.pe-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(232,131,26,.5);
}
.pe-tag-savings { color: var(--ambra); font-weight: 700; }

.product-hero-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.phm-price {
  font-family: var(--font-sans);
  color: var(--bianco);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.phm-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  vertical-align: top;
}
.phm-num {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
}
.phm-old {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(255,255,255,.4);
  text-decoration: line-through;
  margin-right: 12px;
}
.phm-price-bundle { gap: 8px; }

.btn-buy {
  padding: 14px 28px !important;
  font-size: 15px !important;
}

/* ── Product Overview (Problema / Promessa) ────────────────── */
.product-overview {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.po-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 800px) {
  .po-grid { grid-template-columns: 1fr; }
}
.po-card {
  background: var(--bianco);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
}
.po-card.po-problem {
  background: rgba(232, 131, 26, 0.04);
  border-color: rgba(232, 131, 26, 0.2);
}
.po-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ambra);
  margin-bottom: 14px;
  display: inline-block;
}
.po-title {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: var(--blu);
  line-height: 1.3;
  letter-spacing: -.4px;
  margin-bottom: 1rem;
}
.po-card p {
  font-size: 15px;
  color: var(--ardesia);
  line-height: 1.75;
}

/* ── Product Detail (Excel/PDF/AI) ─────────────────────────── */
.product-detail {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.pd-blocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 3rem;
}
.pd-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  background: var(--bianco);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  align-items: start;
}
@media (max-width: 700px) {
  .pd-block { grid-template-columns: 1fr; gap: 16px; padding: 1.5rem 1.5rem; }
}
.pd-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--ambra-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ambra);
  margin-bottom: 6px;
}
.pd-content h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blu);
  letter-spacing: -.3px;
  margin-bottom: 1rem;
}
.pd-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pd-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ardesia);
  line-height: 1.7;
}
.pd-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ambra);
}

/* ── Buy Box ───────────────────────────────────────────────── */
.product-buy {
  padding: 4rem 1.5rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.pb-card {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  background: var(--blu);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pb-card-bundle {
  background: linear-gradient(135deg, var(--blu) 0%, var(--blu-dark) 100%);
}
@media (max-width: 800px) {
  .pb-card { grid-template-columns: 1fr; }
}
.pb-left {
  padding: 3rem 2.5rem;
  color: var(--bianco);
}
.pb-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ambra);
  margin-bottom: 1rem;
  display: inline-block;
}
.pb-title {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -.6px;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.pb-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pb-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255,255,255,.85);
  line-height: 1.55;
}
.pb-perks li svg { flex-shrink: 0; margin-top: 3px; }

.pb-right {
  background: rgba(0,0,0,0.25);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.05);
}
.pb-price-block { margin-bottom: 1.75rem; }
.pb-price-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 8px;
}
.pb-price-old {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  color: rgba(255,255,255,.4);
  text-decoration: line-through;
  margin-bottom: 4px;
}
.pb-price {
  font-family: var(--font-sans);
  font-size: clamp(56px, 7vw, 76px);
  font-weight: 900;
  color: var(--bianco);
  letter-spacing: -2.5px;
  line-height: 1;
  margin-bottom: 6px;
}
.pb-price sup {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  vertical-align: top;
  margin-right: 2px;
}
.pb-price-note {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}
.pb-savings {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  background: var(--ambra);
  color: var(--blu);
  font-size: 11px;
  font-weight: 800;
  border-radius: 100px;
  letter-spacing: .04em;
}
.pb-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--ambra);
  color: var(--bianco);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 15px;
  border-radius: var(--radius);
  text-decoration: none;
  width: 100%;
  transition: transform var(--trans), box-shadow var(--trans);
  letter-spacing: -.2px;
}
.pb-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-ambra);
  color: var(--bianco);
}
.pb-guarantee {
  margin-top: 1rem;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}

/* ── Bundle Detail (3 prodotti) ────────────────────────────── */
.bundle-detail {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.bundle-products {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 3rem;
}
.bp-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  background: var(--bianco);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  align-items: start;
  transition: transform var(--trans), box-shadow var(--trans);
}
.bp-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
@media (max-width: 700px) {
  .bp-item { grid-template-columns: 1fr; }
}
.bp-num {
  font-family: var(--font-sans);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--ambra);
  line-height: 1;
  letter-spacing: -1.5px;
}
.bp-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.bp-head h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blu);
  letter-spacing: -.3px;
  margin: 0;
}
.bp-price {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ambra);
}
.bp-content p {
  font-size: 14.5px;
  color: var(--ardesia);
  line-height: 1.7;
  margin-bottom: 12px;
}
.bp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ambra);
  font-weight: 700;
  text-decoration: none;
  transition: gap var(--trans-fast);
}
.bp-link:hover { gap: 10px; color: var(--ambra); }

/* ── Bundle Why ────────────────────────────────────────────── */
.bundle-why {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--crema);
}
.bw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 3rem;
}
@media (max-width: 700px) {
  .bw-grid { grid-template-columns: 1fr; }
}
.bw-card {
  background: var(--bianco);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
}
.bw-icon {
  width: 44px; height: 44px;
  background: var(--ambra-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.bw-card h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blu);
  letter-spacing: -.3px;
  margin-bottom: 8px;
}
.bw-card p {
  font-size: 14px;
  color: var(--ardesia);
  line-height: 1.7;
}

/* ── Lead Magnet ───────────────────────────────────────────── */
.lead-hero { padding-bottom: 5rem; }
.lead-hero-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .lead-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.lead-hero-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 2.5rem;
}
.lhp-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}
.lhp-icon {
  width: 28px; height: 28px;
  background: var(--ambra-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.lhp-item strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--bianco);
  margin-bottom: 2px;
}
.lhp-item span {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.55;
}
.lead-form-card {
  margin-top: 0;
}
.lead-form-note {
  margin-top: 1rem;
  font-size: 11px;
  color: var(--ardesia);
  line-height: 1.5;
  text-align: center;
}

.lead-content {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.lc-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 3rem;
}
@media (max-width: 800px) {
  .lc-blocks { grid-template-columns: 1fr; }
}
.lc-block {
  background: var(--bianco);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
}
.lc-num {
  font-family: var(--font-sans);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--ambra);
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}
.lc-block h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blu);
  letter-spacing: -.3px;
  margin-bottom: 8px;
}
.lc-block p {
  font-size: 14px;
  color: var(--ardesia);
  line-height: 1.7;
}

/* ── CTA Actions (cross-sell) ──────────────────────────────── */
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.btn-ghost-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: transparent;
  color: rgba(255,255,255,.7);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--trans-fast);
}
.btn-ghost-cta:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.4);
  color: var(--bianco);
}

/* ====================================================
   GLOBAL HARMONIZATION v3.3
   Spacing rhythm + typography fixes finali
   (questo blocco e caricato per ULTIMO e fa override
    dei valori sparsi nei selettori precedenti)
   ==================================================== */

:root {
  /* Token verticali — usati ovunque per uniformita */
  --section-y:     clamp(2.75rem, 5vw, 4.25rem);   /* 44-68px - sezioni standard */
  --section-y-lg:  clamp(3.5rem, 7vw, 5.5rem);     /* 56-88px - sezioni piu ampie */
  --section-x:     clamp(1.5rem, 6vw, 4rem);       /* 24-64px - orizzontale */
  --container-max: 1180px;

  /* Spaziatura interna ai title-block */
  --tag-mb:        0.75rem;   /* eyebrow tag -> titolo */
  --title-mb:      0.5rem;    /* titolo -> sub */
  --sub-mb:        clamp(2rem, 4vw, 3rem);  /* sub -> contenuto */
}

/* ── Section reset uniforme ────────────────────────── */
section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

/* Sezioni standard centrate */
.problema,
.metodi,
.come-funziona,
.faq,
.product-overview,
.product-detail,
.product-buy,
.bundle-detail,
.bundle-why,
.competenze,
.lead-content,
.bundle-premium {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  padding-left: var(--section-x);
  padding-right: var(--section-x);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

/* Le sezioni "story" (chi-siamo) restano col loro layout */
.chi-siamo {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  padding-left: var(--section-x);
  padding-right: var(--section-x);
}

/* Hero pages — un po piu di breathing top per la nav */
.hero,
.page-hero,
.product-hero,
.lead-hero {
  padding-top: clamp(5.5rem, 9vw, 7.5rem);
  padding-bottom: var(--section-y-lg);
}

/* CTA finale */
.cta-finale {
  padding-top: var(--section-y-lg);
  padding-bottom: var(--section-y-lg);
}

/* ── Title block (tag + title + sub) rhythm ────────── */
.s-tag {
  margin-bottom: var(--tag-mb);
}
.s-title {
  margin-bottom: var(--title-mb);
}
.s-sub {
  margin-top: 0;
  margin-bottom: var(--sub-mb);
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

/* Gli elementi che seguono il title-block partono con margin 0 top */
.s-sub + .metodi-grid,
.s-sub + .problema-cards,
.s-sub + .problema-stats,
.s-sub + .cf-steps,
.s-sub + .pd-blocks,
.s-sub + .bundle-products,
.s-sub + .bw-grid,
.s-sub + .lc-blocks,
.s-sub + .competenze-grid,
.s-sub + .faq-layout {
  margin-top: 0;
}

/* ── Tipografia: catch finali a Nunito 900 ─────────── */
.hero-form-inner h3,
.cf-chart-title {
  font-family: var(--font-sans);
  font-weight: 900;
  letter-spacing: -0.4px;
}

/* ── Hero h1 — gestione speciale (resta come definito) */
/* Solo riduco padding-top eccessivo */
.hero-left {
  padding-top: clamp(5rem, 8vw, 7rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}
.hero-right {
  padding-top: clamp(5rem, 8vw, 7rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

/* ── Problema cards — riduco margin top eccessivo ──── */
.problema-stats { margin-top: 0; }
.problema-cards { margin-top: var(--sub-mb); }
.problema-quote { margin-top: var(--sub-mb); }

/* ── Metodi grid — gap coerente ────────────────────── */
.metodi-grid { margin-top: 0; }

/* ── Come funziona — niente margin doppio ──────────── */
.cf-steps,
.cf-steps-solo {
  margin-top: var(--sub-mb);
}

/* ── FAQ layout ────────────────────────────────────── */
.faq-layout { margin-top: var(--sub-mb); }

/* ── Bundle premium ────────────────────────────────── */
.bundle-inner { padding: 0; }

/* ── Product detail — coerente con il resto ────────── */
.pd-blocks { margin-top: var(--sub-mb); }

/* Bundle products list */
.bundle-products { margin-top: var(--sub-mb); }
.bw-grid { margin-top: var(--sub-mb); }
.competenze-grid { margin-top: var(--sub-mb); }
.lc-blocks { margin-top: var(--sub-mb); }

/* ── Page hero — restringo lo spacing interno ──────── */
.page-hero-inner {
  padding-top: 0;
  padding-bottom: 0;
}
.page-hero-title { margin-bottom: 1rem; }
.page-hero-sub { margin-bottom: 0; }

/* Product hero meta più aderente al sub */
.product-hero-meta { margin-top: 2rem; }

/* ── Lead hero grid centrato e ridotto ─────────────── */
.lead-hero { padding-bottom: var(--section-y-lg); }

/* ── Competenze — annulla padding doppio ───────────── */
.competenze {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

/* ── Override sezioni con padding hard-coded ───────── */
#per-chi {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
#numeri {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

/* ── Card paddings coerenti ────────────────────────── */
.metodo-card,
.po-card,
.pd-block,
.pb-card,
.bw-card,
.bp-item,
.comp-card,
.lc-block,
.pcard {
  /* mantieni i loro padding esistenti, non ridefinire qui */
}

/* ── Body font sicurezza: forza Nunito ovunque ─────── */
body, p, span, div, li, a, label, input, button, textarea {
  font-family: var(--font-sans);
}

/* Eccezioni — numeric displays in Space Grotesk (intenzionale) */
.pstat-num,
.bc-new,
.bc-old,
.bi-price,
.cf-metric-num,
.cf-bar-val,
.error-404__code,
.coming-soon-box__price,
.m-price,
.bs-old,
.bs-new,
.mv-kpi-value,
.hstat-num,
.t-kpi-value,
.t-kpi-delta,
.t-bar-header span:last-child {
  font-family: var(--font-head);
}

/* ── Spacing: rimuove qualsiasi margin-top sul primo elemento di section */
section > *:first-child { margin-top: 0; }

/* ── Mobile — comprimi ancora di piu ───────────────── */
@media (max-width: 700px) {
  :root {
    --section-y:    2.25rem;
    --section-y-lg: 3rem;
    --section-x:    1.25rem;
    --sub-mb:       1.5rem;
  }
  .page-hero,
  .product-hero,
  .lead-hero {
    padding-top: 4.5rem;
  }
}

/* ====================================================
   PRODUCT HERO SPLIT v3.4
   Layout 2-col: media stage (sx) + info+CTA (dx)
   con mockup CSS per Cassa / Margine / AI / Bundle
   ==================================================== */

.product-hero-split { padding-bottom: var(--section-y-lg) !important; }

.phs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--section-x);
  align-items: start;
}
@media (max-width: 900px) {
  .phs-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── MEDIA STAGE (sinistra) ────────────────────────── */
.phs-media {
  position: sticky;
  top: 100px;
  z-index: 1;
}
@media (max-width: 900px) {
  .phs-media { position: static; }
}

.phs-stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phs-main {
  position: relative;
  background: var(--bianco);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.28), 0 4px 16px rgba(0,0,0,.18);
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255,255,255,.08);
}

/* Window chrome */
.phs-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: #ebe9e4;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.phs-dots {
  display: inline-flex;
  gap: 6px;
}
.phs-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ccc;
  display: inline-block;
}
.phs-dots i:nth-child(1) { background: #ff5f56; }
.phs-dots i:nth-child(2) { background: #ffbd2e; }
.phs-dots i:nth-child(3) { background: #27c93f; }
.phs-title-mock {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blu);
  font-weight: 600;
  letter-spacing: -.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Content area */
.phs-content {
  padding: 18px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: calc(100% - 38px);
}

/* === VARIANT: EXCEL TABLE (cassa, margine) === */
.phs-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  font-size: 11px;
}
.phs-row {
  display: grid;
  grid-template-columns: 70px 1fr 1.2fr 90px;
  gap: 0;
  padding: 8px 12px;
  border-bottom: 1px solid #f0f0f0;
  color: var(--blu);
  font-family: var(--font-mono);
  align-items: center;
}
.phs-row:last-child { border-bottom: none; }
.phs-row-head {
  background: #f5f4f0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ardesia);
}
.amt { font-weight: 700; }
.amt-in  { color: #16a34a; }
.amt-out { color: #dc2626; }

/* === MINI CHART (cassa) === */
.phs-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 55px;
  padding: 6px;
  background: #faf9f6;
  border-radius: 6px;
}
.mc-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--ambra) 0%, #f9a64a 100%);
  border-radius: 2px 2px 0 0;
  min-height: 12%;
  transition: opacity .3s;
}
.mc-bar-faded { opacity: .35; }

/* === VARIANT: MARGIN LIST (metodo 2) === */
.phs-products {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11.5px;
}
.phs-product {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 9px 12px;
  background: #f8f7f3;
  border-radius: 5px;
  border-left: 3px solid;
  align-items: center;
}
.phs-product-good { border-left-color: #16a34a; }
.phs-product-mid  { border-left-color: #eab308; }
.phs-product-bad  { border-left-color: #dc2626; }
.phs-product-name {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--blu);
  letter-spacing: -.1px;
}
.phs-product-margin {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
}
.phs-product-good .phs-product-margin { color: #16a34a; }
.phs-product-mid  .phs-product-margin { color: #ca8a04; }
.phs-product-bad  .phs-product-margin { color: #dc2626; }

.phs-simulator {
  margin-top: auto;
  padding: 10px 12px;
  background: rgba(232,131,26,.06);
  border: 1px dashed rgba(232,131,26,.4);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blu);
}
.phs-simulator strong { color: var(--ambra); }

/* === VARIANT: AI CHAT (metodo 3) === */
.phs-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 11.5px;
  height: 100%;
  overflow: hidden;
}
.phs-msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  max-width: 92%;
}
.phs-msg-user { align-self: flex-end; flex-direction: row-reverse; }
.phs-msg-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blu);
  color: var(--bianco);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  flex-shrink: 0;
}
.phs-msg-user .phs-msg-avatar { background: var(--ambra); }
.phs-msg-ai .phs-msg-avatar { background: var(--blu); }
.phs-msg-bubble {
  padding: 8px 12px;
  border-radius: 12px;
  line-height: 1.45;
  color: var(--blu);
}
.phs-msg-user .phs-msg-bubble {
  background: var(--ambra);
  color: var(--bianco);
  border-bottom-right-radius: 2px;
}
.phs-msg-ai .phs-msg-bubble {
  background: #f3f2ee;
  border-bottom-left-radius: 2px;
}
.phs-msg-bubble strong { color: var(--ambra); font-weight: 700; }
.phs-msg-user .phs-msg-bubble strong { color: var(--bianco); }
.phs-typing {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}
.phs-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ardesia);
  animation: phsTyping 1.4s infinite;
}
.phs-typing span:nth-child(2) { animation-delay: .2s; }
.phs-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes phsTyping {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* === VARIANT: BUNDLE MOSAIC === */
.phs-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
  height: 100%;
}
.phs-mosaic-main {
  grid-column: 1 / 3;
  background: #f5f4f0;
  border-radius: 6px;
  padding: 10px;
  border: 1px solid rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.phs-mosaic-side {
  background: #f5f4f0;
  border-radius: 6px;
  padding: 9px;
  border: 1px solid rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.phs-mosaic-icon {
  width: 26px;
  height: 26px;
  background: var(--ambra-dim);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phs-mosaic-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ardesia);
  font-weight: 700;
}
.phs-mosaic-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 35px;
}
.phs-mosaic-bars i {
  flex: 1;
  background: linear-gradient(180deg, var(--ambra), #f9a64a);
  border-radius: 2px 2px 0 0;
  display: block;
}

/* === PLAY BUTTON OVERLAY === */
.phs-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ambra);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  box-shadow: 0 8px 28px rgba(232,131,26,.55);
  transition: transform var(--trans);
  z-index: 2;
}
.phs-play::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--ambra);
  opacity: .4;
  animation: phsPulse 2s infinite;
}
.phs-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.phs-play svg {
  width: 22px;
  height: 22px;
  fill: var(--bianco);
  margin-left: 3px;
}
@keyframes phsPulse {
  0%   { opacity: .4; transform: scale(1); }
  50%  { opacity: 0;   transform: scale(1.25); }
  100% { opacity: 0;   transform: scale(1.3); }
}

/* === THUMBNAIL STRIP === */
.phs-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.phs-thumb {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: none;
  transition: all var(--trans-fast);
  color: rgba(255,255,255,.65);
}
.phs-thumb:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(232,131,26,.35);
  color: var(--bianco);
}
.phs-thumb.active {
  background: rgba(232,131,26,.12);
  border-color: var(--ambra);
  color: var(--bianco);
}
.phs-thumb-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phs-thumb-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ── INFO SIDE (destra) ────────────────────────────── */
.phs-info { padding: 0; }
.phs-info .product-eyebrow { margin-bottom: 1.5rem; }
.phs-info .page-hero-title {
  font-size: clamp(32px, 4.5vw, 54px);
  margin-bottom: 1.25rem;
  line-height: 1.05;
}
.phs-desc {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

.phs-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phs-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255,255,255,.85);
  line-height: 1.55;
  font-weight: 500;
}
.phs-benefits li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── BUY BLOCK (sotto descrizione) ─────────────────── */
.phs-buy {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.75rem;
}
.phs-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 1.25rem;
  color: var(--bianco);
}
.phs-price-currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  vertical-align: top;
}
.phs-price-num {
  font-family: var(--font-sans);
  font-size: clamp(48px, 5.5vw, 64px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
}
.phs-price-old {
  font-size: 1.1rem;
  color: rgba(255,255,255,.35);
  text-decoration: line-through;
  margin-right: 8px;
  font-weight: 500;
}
.phs-price-note {
  margin-left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,.45);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
  align-self: center;
}
.phs-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: var(--ambra);
  color: var(--bianco);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -.2px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform var(--trans), box-shadow var(--trans);
}
.phs-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-ambra);
  color: var(--bianco);
}
.phs-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}
.phs-trust svg { flex-shrink: 0; opacity: .7; }

/* ====================================================
   HARMONIZATION v3.5 — Sistema a due font + layout esteso
   ==================================================== */

:root {
  --container-max: 1380px;          /* era 1180, ora piu esteso */
  --section-x: clamp(2rem, 6vw, 5rem);
}

/* Container massimi aggiornati ovunque */
.problema,
.metodi,
.come-funziona,
.faq,
.product-overview,
.product-detail,
.product-buy,
.bundle-detail,
.bundle-why,
.competenze,
.lead-content,
.bundle-premium {
  max-width: var(--container-max);
}
.phs-grid,
.lead-hero-grid {
  max-width: var(--container-max);
}
.bundle-inner {
  max-width: var(--container-max);
}

/* ── TIPOGRAFIA: TITOLI sempre Nunito ──────────────── */
h1, h2, h3, h4, h5, h6,
.s-title,
.s-title em,
.page-hero-title,
.page-hero-title em,
.cta-h,
.cta-h em,
.bundle-title,
.bundle-title em,
.hero-left h1,
.hero-left h1 .line-accent,
.po-title,
.pb-title,
.bp-head h3,
.bw-card h4,
.lc-block h4,
.comp-name,
.pd-content h3,
.pcard-body h4,
.step-content h4,
.lm-form-title,
.hero-form-inner h3,
.cf-chart-title,
.nav-logo-text,
.bs-title,
.coming-soon-box__title,
.chi-val h5 {
  font-family: var(--font-title);
}

/* Body, paragrafi, descrizioni, liste, form: Inter */
body,
p,
li,
span,
div,
a,
label,
input,
textarea,
.s-sub,
.hero-sub,
.phs-desc,
.po-card p,
.bp-content p,
.bw-card p,
.lc-block p,
.comp-desc,
.pd-list,
.pb-perks,
.phs-benefits,
.lm-form-sub {
  font-family: var(--font-sans);
}

/* Buttons: Inter ma con weight 700-800 per impatto */
button,
.btn-primary,
.btn-ghost-hero,
.btn-cta-finale,
.btn-ghost-cta,
.pb-cta,
.phs-cta,
.bc-cta,
.form-submit,
.btn-buy {
  font-family: var(--font-sans);
}

/* Eyebrow tags (precedentemente DM Mono) — Inter uppercase letterspaced */
.s-tag,
.lm-form-tag,
.bundle-tag,
.pe-num,
.pe-tag,
.pd-label,
.pb-tag,
.pb-price-label,
.bc-label,
.ci-label,
.phs-thumb-label,
.phs-title-mock,
.phs-price-note,
.po-tag,
.product-eyebrow,
.bp-link,
.hero-eyebrow,
.contatto-label,
.contatti-social-label {
  font-family: var(--font-sans);
  font-weight: 700;
}

/* Numeric displays grandi (precedentemente Space Grotesk) — Nunito */
.pstat-num,
.bc-new,
.bc-old,
.bi-price,
.cf-metric-num,
.cf-bar-val,
.error-404__code,
.coming-soon-box__price,
.m-price,
.bs-old,
.bs-new,
.mv-kpi-value,
.hstat-num,
.t-kpi-value,
.t-kpi-delta,
.phs-price-num,
.phm-num,
.lc-num,
.bp-num,
.pb-price,
.pb-price-old {
  font-family: var(--font-title);
}

/* -- COOKIE BANNER (T-03) -------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bianco);
  border-top: 2px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem var(--section-x);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1;
  font-family: var(--font-sans);
  font-size: .875rem;
  color: var(--ardesia);
  line-height: 1.5;
  margin: 0;
}
.cookie-banner__text a { color: var(--ambra); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .6rem; flex-shrink: 0; }
.cookie-btn {
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 600;
  padding: .55rem 1.3rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  line-height: 1;
}
.cookie-btn--primary { background: var(--ambra); color: #fff; border-color: var(--ambra); }
.cookie-btn--primary:hover { background: #d4741a; border-color: #d4741a; }
.cookie-btn--ghost { background: transparent; color: var(--ardesia); border-color: var(--border); }
.cookie-btn--ghost:hover { border-color: var(--ardesia); color: var(--blu); }
@media (max-width: 540px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions { justify-content: flex-end; }
}

/* -- Checkout CTA disabilitato (T-04) -------------- */
.phs-cta--disabled {
  background: var(--ardesia) !important;
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none !important;
}

/* -- PAGINA GRAZIE (T-05) -------------------------- */
.grazie-page { min-height: 70vh; display: flex; flex-direction: column; background: var(--crema); }
.grazie-hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-y-lg) var(--section-x);
  text-align: center;
}
.grazie-inner { max-width: 580px; width: 100%; }
.grazie-check {
  width: 4.5rem; height: 4.5rem;
  background: var(--ambra);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.75rem;
  box-shadow: var(--shadow-ambra);
}
.grazie-page .s-title { justify-content: center; }
.grazie-intro {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  color: var(--ardesia);
  line-height: 1.65;
  margin: 1.25rem auto 2.25rem;
  max-width: 480px;
}
.grazie-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto 2.25rem;
  max-width: 440px;
  text-align: left;
  counter-reset: gsteps;
}
.grazie-steps li {
  counter-increment: gsteps;
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--blu);
}
.grazie-steps li:last-child { border-bottom: none; }
.grazie-steps li::before {
  content: counter(gsteps);
  min-width: 2rem; height: 2rem;
  background: var(--bianco);
  border: 2px solid var(--ambra);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title);
  font-size: .85rem; font-weight: 800; color: var(--ambra);
  flex-shrink: 0;
}
.grazie-actions { margin-bottom: 1.75rem; }
.grazie-actions .btn-ghost-cta {
  color: var(--blu);
  border-color: var(--border);
}
.grazie-actions .btn-ghost-cta:hover {
  background: var(--bianco);
  border-color: var(--ambra);
  color: var(--ambra);
}
.grazie-support {
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--ardesia);
}
.grazie-support a { color: var(--ambra); font-weight: 600; }

/* -- PAGINE LEGALI: Privacy / Cookie (v3.6) -------- */
.legal-page { background: var(--crema); }
.legal-hero {
  padding: clamp(5rem, 8vw, 7rem) var(--section-x) var(--section-y);
  text-align: center;
}
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal-updated {
  font-family: var(--font-sans);
  font-size: .85rem;
  color: var(--ardesia);
  margin-top: 1rem;
}
.legal-body {
  padding: 0 var(--section-x) var(--section-y-lg);
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bianco);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.legal-intro {
  font-size: 1rem;
  color: var(--blu);
  line-height: 1.75;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--crema);
  font-weight: 500;
}
.legal-content h2 {
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 800;
  color: var(--blu);
  margin: 2rem 0 .75rem;
  letter-spacing: -.3px;
}
.legal-content h3 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blu);
  margin: 1.5rem 0 .5rem;
}
.legal-content p {
  font-family: var(--font-sans);
  font-size: .95rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.legal-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.legal-content ul li {
  position: relative;
  padding-left: 1.4rem;
  font-family: var(--font-sans);
  font-size: .95rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: .6rem;
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: .65rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ambra);
}
.legal-content a { color: var(--ambra); text-decoration: underline; }
.legal-content strong { color: var(--blu); font-weight: 700; }
.legal-content code {
  font-family: var(--font-mono, monospace);
  font-size: .85em;
  background: var(--crema);
  padding: .12em .4em;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--ambra);
}

/* Tabelle cookie */
.legal-table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: .85rem;
  min-width: 480px;
}
.legal-table thead th {
  background: var(--blu);
  color: var(--bianco);
  text-align: left;
  padding: .65rem .85rem;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .02em;
}
.legal-table thead th:first-child { border-radius: 6px 0 0 0; }
.legal-table thead th:last-child { border-radius: 0 6px 0 0; }
.legal-table tbody td {
  padding: .7rem .85rem;
  border-bottom: 1px solid var(--border);
  color: #374151;
  line-height: 1.55;
  vertical-align: top;
}
.legal-table tbody tr:last-child td { border-bottom: none; }
.legal-table tbody tr:nth-child(even) { background: #fafaf8; }

/* -- Logo immagine nella nav (logo incorporato) ---- */
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
  /* In cima la nav è trasparente sull'hero scuro: logo bianco per visibilità */
  filter: brightness(0) invert(1);
  transition: filter .35s ease;
}
/* Quando la nav diventa crema (scrolled) mostro il logo a colori originali */
#mainNav.scrolled .nav-logo-img {
  filter: none;
}
@media (max-width: 700px) {
  .nav-logo-img { height: 32px; }
}

/* -- Logo immagine nel footer (sfondo scuro = bianco) -- */
.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-logo-text {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 22px;
  color: var(--bianco);
  letter-spacing: -.5px;
}

/* ================================================================
   HUB TRANSFORMATION v4.0 — Blog, Risorse, Gated Pages, Footer
   ================================================================ */

/* ── HERO FORM (front-page: right col) ──────────────── */
.hero-form {
  position: relative; z-index: 1;
  padding: 120px 0 80px;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 1024px) {
  .hero-form { padding: 0 0 60px; }
}

/* ── BLOG HERO ────────────────────────────────────────── */
.blog-hero {
  background: var(--blu);
  padding: calc(var(--nav-h) + 80px) 6% 64px;
  position: relative; overflow: hidden;
}
.blog-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.blog-hero-inner { position: relative; z-index: 1; max-width: 680px; }
.blog-hero .s-title { color: var(--bianco); }
.blog-hero .s-tag { color: var(--ambra); }
.blog-hero-sub {
  font-size: 17px; color: rgba(255,255,255,.6);
  font-weight: 500; line-height: 1.65; max-width: 540px; margin-top: 12px;
}

/* ── BLOG FILTERS ────────────────────────────────────── */
.blog-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 20px 6%;
  background: var(--bianco);
  border-bottom: 1px solid var(--border);
}
.blog-filter-btn {
  font-size: 13px; font-weight: 700;
  color: var(--ardesia); text-decoration: none;
  padding: 8px 18px; border-radius: 100px;
  border: 1.5px solid var(--border);
  transition: all var(--trans-fast);
}
.blog-filter-btn:hover { border-color: var(--ambra); color: var(--ambra); }
.blog-filter-btn.active {
  background: var(--ambra); color: var(--bianco); border-color: var(--ambra);
}

/* ── BLOG GRID ────────────────────────────────────────── */
.blog-grid, .blog-archive-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; padding: 0 6%; margin-top: 28px;
}
.blog-archive-grid { padding: 32px 6%; }
@media (max-width: 900px) {
  .blog-grid, .blog-archive-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .blog-grid, .blog-archive-grid { grid-template-columns: 1fr; }
}

/* ── BLOG CARD ────────────────────────────────────────── */
.blog-card {
  background: var(--bianco);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(232,131,26,.3);
}
.blog-card-img { display: block; overflow: hidden; aspect-ratio: 16/9; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 20px 22px; }
.blog-card-cat {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ambra);
  background: var(--ambra-dim);
  padding: 3px 10px; border-radius: 4px;
  margin-bottom: 10px;
}
.blog-card-body h2,
.blog-card-body h3 {
  font-size: 17px; font-weight: 800; color: var(--blu);
  line-height: 1.3; letter-spacing: -.3px; margin-bottom: 8px;
}
.blog-card-body h2 a,
.blog-card-body h3 a { color: inherit; text-decoration: none; }
.blog-card-body h2 a:hover,
.blog-card-body h3 a:hover { color: var(--ambra); }
.blog-card-body > p {
  font-size: 14px; color: var(--ardesia); line-height: 1.65;
  margin-bottom: 12px;
}
.blog-card-meta {
  font-size: 12px; color: var(--ardesia); opacity: .7;
}

/* ── BLOG CTA ROW ─────────────────────────────────────── */
.blog-cta-row, .risorse-cta-row {
  text-align: center; margin-top: 36px; padding: 0 6%;
}

/* ── BLOG PAGINATION ──────────────────────────────────── */
.blog-pagination {
  padding: 36px 6%;
  display: flex; justify-content: center;
}
.blog-pagination .nav-links {
  display: flex; gap: 6px; align-items: center;
}
.blog-pagination .nav-links a,
.blog-pagination .nav-links span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  font-size: 14px; font-weight: 700; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); color: var(--ardesia);
  text-decoration: none; transition: all var(--trans-fast);
}
.blog-pagination .nav-links a:hover { border-color: var(--ambra); color: var(--ambra); }
.blog-pagination .nav-links .current {
  background: var(--ambra); color: var(--bianco); border-color: var(--ambra);
}

/* ── BLOG EMPTY ───────────────────────────────────────── */
.blog-empty {
  text-align: center; padding: 80px 6%;
  font-size: 16px; color: var(--ardesia); line-height: 1.7;
}

/* ── SINGLE POST ──────────────────────────────────────── */
.entry-cat-link {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ambra); text-decoration: none;
  margin-bottom: 12px;
}
.entry-cat-link:hover { text-decoration: underline; }
.entry-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 900;
  letter-spacing: -1.2px; line-height: 1.12; color: var(--blu);
}
.entry-meta {
  font-size: 13px; color: var(--ardesia); margin-top: 12px;
}
.entry-tags {
  font-size: 13px; color: var(--ardesia); margin-top: 32px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.entry-tags a { color: var(--ambra); }

/* ── POST SUBSCRIBE BOX ──────────────────────────────── */
.post-subscribe-box {
  max-width: 760px; margin: 48px auto 0;
  background: var(--blu); border-radius: var(--radius-xl);
  overflow: hidden;
}
.psb-inner {
  padding: 36px 40px;
}
.psb-inner h3 {
  font-size: 20px; font-weight: 900; color: var(--bianco);
  margin-bottom: 10px; letter-spacing: -.3px;
}
.psb-inner > p {
  font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.65;
  margin-bottom: 24px;
}
.psb-fields {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.psb-fields input[type="text"],
.psb-fields input[type="email"] {
  flex: 1; min-width: 160px;
  padding: 12px 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; color: var(--bianco);
  outline: none; transition: border-color .2s;
}
.psb-fields input::placeholder { color: rgba(255,255,255,.35); }
.psb-fields input:focus { border-color: var(--ambra); }
.psb-fields .form-submit {
  padding: 12px 22px; font-size: 14px; margin-top: 0;
  width: auto;
}
.psb-gdpr {
  margin-top: 12px;
}
.psb-gdpr span { color: rgba(255,255,255,.5); }
.psb-gdpr a { color: var(--ambra); }
.psb-success {
  text-align: center; padding: 20px 0;
}
.psb-success p { color: var(--bianco); font-weight: 700; }
.psb-error { color: #f87171; font-size: 13px; margin-top: 10px; }
.psb-risorsa {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 16px 40px;
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px; color: rgba(255,255,255,.55);
}
.psb-risorsa a { color: var(--ambra); font-weight: 700; }

@media (max-width: 768px) {
  .psb-inner { padding: 28px 24px; }
  .psb-fields { flex-direction: column; }
  .psb-fields .form-submit { width: 100%; }
  .psb-risorsa { padding: 14px 24px; }
}

/* ── POST NAVIGATION ─────────────────────────────────── */
.post-navigation {
  max-width: 760px; margin: 36px auto 0;
  display: flex; gap: 16px;
}
.post-nav-link {
  flex: 1;
  padding: 18px 22px;
  background: var(--bianco);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color var(--trans), transform var(--trans);
  display: flex; flex-direction: column; gap: 4px;
}
.post-nav-link:hover { border-color: var(--ambra); transform: translateY(-2px); }
.post-nav-next { text-align: right; }
.post-nav-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ambra);
}
.post-nav-title {
  font-size: 14px; font-weight: 700; color: var(--blu);
  line-height: 1.4;
}
@media (max-width: 600px) {
  .post-navigation { flex-direction: column; }
}

/* ── RISORSE PREVIEW (homepage) ──────────────────────── */
.risorse-preview { background: var(--bianco); }
.risorse-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 32px;
}
@media (max-width: 900px) {
  .risorse-grid { grid-template-columns: 1fr; }
}
.risorsa-card {
  background: var(--crema);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.risorsa-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
  border-color: rgba(232,131,26,.3);
}
.rc-icon {
  width: 48px; height: 48px;
  background: var(--ambra-dim); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.rc-badge {
  display: inline-block; align-self: flex-start;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ambra); background: var(--ambra-dim);
  padding: 3px 10px; border-radius: 4px;
}
.risorsa-card h3 {
  font-size: 18px; font-weight: 900; color: var(--blu);
  letter-spacing: -.3px; line-height: 1.25;
}
.risorsa-card > p {
  font-size: 14px; color: var(--ardesia); line-height: 1.65; flex: 1;
}
.rc-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 800; color: var(--ambra);
  text-decoration: none; margin-top: auto;
  transition: gap var(--trans-fast);
}
.rc-cta:hover { gap: 12px; }

/* ── DAL BLOG (homepage) ─────────────────────────────── */
.dal-blog { background: var(--crema); }

/* ── RISORSE HUB PAGE ────────────────────────────────── */
.risorse-hero {
  background: var(--blu);
  padding: calc(var(--nav-h) + 80px) 6% 64px;
  position: relative; overflow: hidden;
}
.risorse-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.risorse-hero-inner { position: relative; z-index: 1; max-width: 680px; }
.risorse-hero .s-title { color: var(--bianco); }
.risorse-hero-sub {
  font-size: 17px; color: rgba(255,255,255,.6);
  font-weight: 500; line-height: 1.65; max-width: 540px; margin-top: 12px;
}

.risorse-hub {
  background: var(--crema); padding: 64px 6%;
}
.risorse-hub-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; max-width: var(--container-max); margin: 0 auto;
}
@media (max-width: 900px) {
  .risorse-hub-grid { grid-template-columns: 1fr; }
}
.risorsa-hub-card {
  background: var(--bianco);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.risorsa-hub-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-lg);
  border-color: rgba(232,131,26,.3);
}
.rhc-icon {
  width: 56px; height: 56px;
  background: var(--ambra-dim); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.rhc-badge {
  display: inline-block; align-self: flex-start;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--bianco); background: var(--ambra);
  padding: 4px 12px; border-radius: 100px;
}
.rhc-keyword {
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  color: var(--ardesia); opacity: .6;
}
.risorsa-hub-card h2 {
  font-size: 20px; font-weight: 900; color: var(--blu);
  letter-spacing: -.4px; line-height: 1.25;
}
.risorsa-hub-card > p {
  font-size: 14px; color: var(--ardesia); line-height: 1.65; flex: 1;
}
.rhc-cta { margin-top: auto; align-self: flex-start; }

.risorse-cta-section {
  background: var(--blu); padding: 80px 6%; text-align: center;
}
.risorse-cta-inner { max-width: 540px; margin: 0 auto; }
.risorse-cta-inner h2 {
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 900;
  color: var(--bianco); letter-spacing: -.8px; margin-bottom: 14px;
}
.risorse-cta-inner > p {
  font-size: 16px; color: rgba(255,255,255,.6); line-height: 1.65;
  margin-bottom: 32px;
}

/* ── RISORSA PAGE (gated) ────────────────────────────── */
.risorsa-hero {
  background: var(--blu);
  padding: calc(var(--nav-h) + 80px) 6% 64px;
  position: relative; overflow: hidden;
}
.risorsa-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.risorsa-hero-inner {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 60px; align-items: start;
  position: relative; z-index: 1;
  max-width: var(--container-max); margin: 0 auto;
}
@media (max-width: 900px) {
  .risorsa-hero-inner { grid-template-columns: 1fr; gap: 36px; }
}
.risorsa-hero-left { padding-top: 12px; }
.risorsa-hero .s-title { color: var(--bianco); margin-bottom: 16px; }
.risorsa-tipo-badge {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--bianco); background: var(--ambra);
  padding: 4px 14px; border-radius: 100px;
  margin-bottom: 16px;
}
.risorsa-desc {
  font-size: 17px; color: rgba(255,255,255,.7); line-height: 1.7;
  margin-bottom: 20px;
}
.risorsa-per-chi {
  font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.65;
  font-style: italic;
}
.risorsa-form-card {
  background: var(--crema); border-radius: var(--radius-xl);
  padding: 36px 32px;
}
.risorsa-form-card h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 900; color: var(--blu);
  margin-bottom: 8px;
}
.risorsa-form-card > p {
  font-size: 13px; color: var(--ardesia); line-height: 1.6;
  margin-bottom: 24px;
}
.risorsa-gate-success {
  text-align: center; padding: 24px 0;
}
.risorsa-gate-success p {
  font-size: 14px; color: var(--blu); font-weight: 700; margin-top: 12px;
}

.risorsa-contenuto {
  background: var(--crema); padding: 64px 6%;
  max-width: var(--container-max); margin: 0 auto;
}
.risorsa-contenuto h2 {
  font-size: clamp(22px, 3vw, 32px); font-weight: 900;
  color: var(--blu); letter-spacing: -.6px; margin-bottom: 28px;
}
.risorsa-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  .risorsa-features { grid-template-columns: 1fr; }
}
.risorsa-feat {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 20px;
  background: var(--bianco); border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 14px; color: var(--blu); font-weight: 600; line-height: 1.5;
}
.risorsa-feat svg { flex-shrink: 0; margin-top: 2px; }

/* ── GRAZIE PAGES (v4.0 override) ────────────────────── */
.grazie-page {
  min-height: 80vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--crema);
  padding: calc(var(--nav-h) + 48px) 6% 64px;
  text-align: center;
}
.grazie-inner { max-width: 560px; width: 100%; }
.grazie-check {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
}
.grazie-page h1 {
  font-size: clamp(26px, 3.5vw, 38px); font-weight: 900;
  color: var(--blu); letter-spacing: -.8px; margin-bottom: 10px;
}
.grazie-sub {
  font-size: 15px; color: var(--ardesia); line-height: 1.65;
  margin-bottom: 32px;
}
.grazie-download-card {
  background: var(--bianco);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center; margin-bottom: 32px;
}
.gd-icon { margin: 0 auto 16px; }
.grazie-download-card h2 {
  font-size: 18px; font-weight: 900; color: var(--blu);
  letter-spacing: -.3px; margin-bottom: 8px;
}
.grazie-download-card > p {
  font-size: 14px; color: var(--ardesia); line-height: 1.6;
}
.grazie-coming-soon {
  font-size: 13px; color: var(--ambra); font-weight: 600;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border); line-height: 1.6;
}
.grazie-download-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
}
.grazie-steps {
  text-align: left; margin-bottom: 32px;
}
.grazie-steps h3 {
  font-size: 16px; font-weight: 900; color: var(--blu);
  margin-bottom: 16px;
}
.grazie-step {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.grazie-step:last-child { border-bottom: none; }
.gs-num {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--ambra-dim);
  border: 2px solid var(--ambra);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--ambra);
}
.grazie-step p {
  font-size: 14px; color: var(--ardesia); line-height: 1.55;
}
.grazie-links {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  font-weight: 800; font-size: 14px;
  background: transparent; color: var(--blu);
  border: 1.5px solid var(--border);
  text-decoration: none; transition: all var(--trans-fast);
}
.btn-ghost:hover { border-color: var(--ambra); color: var(--ambra); }

/* ── FOOTER GRID (v4.0) ──────────────────────────────── */
.footer-grid {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 48px; align-items: start;
  width: 100%; max-width: var(--container-max);
  margin: 24px auto 0;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-align: left;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-col-title {
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 16px;
}
.footer-nav {
  display: flex; flex-direction: column; gap: 10px;
}
.footer-nav a {
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,.55); text-decoration: none;
  transition: color var(--trans-fast);
}
.footer-nav a:hover { color: var(--ambra); }

.footer-newsletter-desc {
  font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.6;
  margin-bottom: 16px;
}
.footer-newsletter-form { width: 100%; }
.footer-form-row {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.footer-form-row input[type="text"],
.footer-form-row input[type="email"] {
  flex: 1; min-width: 140px;
  padding: 11px 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm); color: var(--bianco);
  font-size: 13px; outline: none; transition: border-color .2s;
}
.footer-form-row input::placeholder { color: rgba(255,255,255,.28); }
.footer-form-row input:focus { border-color: var(--ambra); }
.footer-submit {
  padding: 11px 18px; font-size: 13px; white-space: nowrap;
}
.footer-privacy-note {
  font-size: 11px; color: rgba(255,255,255,.3); margin-top: 10px; line-height: 1.5;
}
.footer-privacy-note a { color: rgba(255,255,255,.5); }
.form-message {
  font-size: 13px; margin-top: 8px; font-weight: 600;
}
.form-message.success { color: #4ade80; }
.form-message.error { color: #f87171; }

@media (max-width: 600px) {
  .footer-form-row { flex-direction: column; }
  .footer-form-row input, .footer-submit { width: 100%; }
}

/* ── COPERTINA FALLBACK (post senza immagine in evidenza) ─ */
.cover-fallback {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  position: relative; overflow: hidden;
  background-color: var(--blu);
  background-size: cover; background-position: center;
}
.cover-fallback::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px;
}
.cover-fallback-art {
  position: relative; z-index: 1;
  display: inline-flex; color: rgba(255,255,255,.92);
}
.cover-fallback-label {
  position: relative; z-index: 1;
  font-family: var(--font-title);
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.85); text-align: center; padding: 0 18px;
}

/* ── SINGLE POST — layout esteso, stile magazine ─────────── */
.single-main { background: var(--crema); padding-bottom: 80px; }

.single-hero {
  background: var(--blu);
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 72px) 6% 132px;
}
.single-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.single-hero-inner {
  position: relative; z-index: 1;
  max-width: 880px; margin-inline: auto; text-align: center;
}
.single-hero .entry-cat-link { color: var(--ambra); }
.single-hero .entry-title { color: var(--bianco); }
.single-hero .entry-meta { color: rgba(255,255,255,.55); }

/* Copertina larga che sborda sotto l'hero */
.single-cover {
  position: relative; z-index: 2;
  padding: 0 6%; margin-top: -96px;
}
.single-cover-inner {
  max-width: 1040px; margin-inline: auto;
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--blu);
  aspect-ratio: 16 / 7;
}
.single-cover-inner img,
.single-cover-inner .cover-fallback {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Colonna di lettura più ampia e ariosa */
.single-body {
  max-width: 820px; margin-inline: auto;
  padding: 56px 6% 0;
}
.single-body .page-body { font-size: 18px; line-height: 1.85; }
.single-body .page-body h2 { font-size: 27px; margin-block: 2.6rem 1rem; }
.single-body .page-body h3 { font-size: 21px; margin-block: 2.1rem .8rem; }
.single-body .page-body p { margin-bottom: 1.5rem; }

/* Allinea box iscrizione e navigazione alla colonna di lettura */
.single-main .post-subscribe-box,
.single-main .post-navigation { max-width: 820px; }
.single-main .post-subscribe-box { margin-top: 56px; }

@media (max-width: 768px) {
  .single-hero { padding: calc(var(--nav-h) + 44px) 6% 104px; }
  .single-cover { margin-top: -72px; }
  .single-cover-inner { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); }
  .single-body { padding-top: 40px; }
  .single-body .page-body { font-size: 16.5px; line-height: 1.8; }
  .single-body .page-body h2 { font-size: 23px; }
  .single-body .page-body h3 { font-size: 19px; }
}
