/* ═══════════════════════════════════════════════════════════════
   B4B PRO THEME — main.css
   Boost4Biz.pro · Cormorant Garamond + Figtree
   Palette: ink / paper / gold / teal / blue
══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  /* Colors */
  --b4b-green: #0F8060;
  --b4b-green-dark: #0A5C45;
  --b4b-green-light: #E6F4EF;
  --b4b-orange: #F39422;
  --b4b-orange-light: #FDF0DE;
  --b4b-navy: #1D3D6B;
  --b4b-navy-light: #E3E8F0;
  --b4b-text: #3D4754;
  --b4b-text-muted: #7A8594;
  --b4b-border: #D4D9E0;
  --b4b-surface: #F5F7FA;
  --b4b-white: #FFFFFF;

  /* Spacing */
  --b4b-s-1: 4px;
  --b4b-s-2: 8px;
  --b4b-s-3: 12px;
  --b4b-s-4: 16px;
  --b4b-s-5: 24px;
  --b4b-s-6: 32px;
  --b4b-s-7: 48px;
  --b4b-s-8: 64px;

  /* Radius */
  --b4b-r-sm: 8px;
  --b4b-r-md: 12px;
  --b4b-r-lg: 20px;
  --b4b-r-full: 9999px;

  /* Shadow */
  --b4b-shadow-sm: 0 2px 4px rgba(15,23,33,.06);
  --b4b-shadow-md: 0 4px 12px rgba(15,23,33,.08);

  /* Typography */
  --b4b-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --b4b-font-display: 'Plus Jakarta Sans', var(--b4b-font);

  /* Legacy variables for compatibility */
  --ink: var(--b4b-navy);
  --paper: var(--b4b-surface);
  --white: var(--b4b-white);
  --gold: var(--b4b-orange);
  --goldlt: var(--b4b-orange-light);
  --teal: var(--b4b-green);
  --teallt: var(--b4b-green-light);
  --blue: var(--b4b-navy);
  --bluelt: var(--b4b-navy-light);
  --muted: var(--b4b-text-muted);
  --border: var(--b4b-border);
  --serif: var(--b4b-font-display);
  --sans: var(--b4b-font);
  --max: 1200px;
  --pad: clamp(24px, 5vw, 80px);
  --nav-h: 72px;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--sans); }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.1; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── TYPOGRAPHY UTILITIES ───────────────────────────────────── */
.display { font-family: var(--b4b-font-display); }

.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--b4b-text-muted);
}
.label.gold  { color: var(--b4b-orange); }
.label.teal  { color: var(--b4b-green); }
.label.blue  { color: var(--b4b-navy); }

/* Typography Scale */
.display-xl { font-family: var(--b4b-font-display); font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.display-lg { font-family: var(--b4b-font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.h1 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.h2 { font-size: clamp(1.5rem, 2.5vw, 1.75rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.375rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.h4 { font-size: clamp(1.125rem, 1.5vw, 1.125rem); font-weight: 600; line-height: 1.4; letter-spacing: -0.02em; }
.body-lg { font-size: 1.125rem; font-weight: 400; line-height: 1.6; }
.body { font-size: 1rem; font-weight: 400; line-height: 1.6; }
.body-sm { font-size: 0.875rem; font-weight: 400; line-height: 1.5; }
.caption { font-size: 0.75rem; font-weight: 500; line-height: 1.4; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-gold {
  display: inline-block;
  background: var(--b4b-green);
  border: none;
  color: var(--b4b-white);
  font-family: var(--b4b-font);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--b4b-r-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--b4b-shadow-sm);
  text-decoration: none;
}
.btn-gold:hover {
  background: var(--b4b-green-dark);
  transform: translateY(-1px);
  box-shadow: var(--b4b-shadow-md);
}
.btn-manifesto {
  padding: 14px 32px;
  font-size: 15px;
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--b4b-green);
  color: var(--b4b-green);
  font-family: var(--b4b-font);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--b4b-r-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-ghost:hover {
  background: var(--b4b-green);
  color: var(--b4b-white);
  transform: translateY(-1px);
  box-shadow: var(--b4b-shadow-sm);
}

.btn-outline-dark {
  display: inline-block;
  background: var(--b4b-orange);
  border: none;
  color: #fff;
  font-family: var(--b4b-font);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 5px;
  cursor: pointer;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
  box-shadow: var(--b4b-shadow-sm);
}
.btn-outline-dark:hover {
  opacity: .88;
  transform: translateY(-1px);
  box-shadow: var(--b4b-shadow-md);
}

/* ── SKIP LINK ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 8px 16px;
  background: var(--b4b-orange);
  color: #fff;
  font-weight: 600;
  z-index: 9999;
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
   Class names match header.php exactly
══════════════════════════════════════════════════════════════ */
.site-nav {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  transition: box-shadow .3s ease;
}
.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

/* Logo */
.nav-logo-link { flex-shrink: 0; line-height: 0; }
.nav-logo-img {
  height: 58px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-link {
  background: none;
  border: none;
  color: rgba(255,255,255,.55);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  transition: color .2s, background .2s;
  text-decoration: none;
  display: inline-block;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.08);
}

/* Nav actions (CTA + hamburger wrapper) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Nav CTA */
.nav-cta {
  background: var(--b4b-green);
  border: none;
  color: #fff;
  font-family: var(--b4b-font);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 20px;
  border-radius: var(--b4b-r-sm);
  transition: opacity .2s;
  text-decoration: none;
  display: inline-block;
  box-shadow: var(--b4b-shadow-sm);
  white-space: nowrap;
}
.nav-cta:hover { opacity: .88; }

/* Mobile hamburger — id="hamburger", class="hamburger" */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.ham-line {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer — id="mobile-nav", class="mobile-nav" */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h); right: 0; bottom: 0;
  width: min(320px, 90vw);
  background: var(--ink);
  z-index: 190;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0,0,0,.4);
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-nav.open {
  display: flex;
  transform: translateX(0);
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.mobile-nav-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}
.mobile-nav-close:hover { color: #fff; }
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  padding: 16px var(--pad);
  gap: 4px;
  flex: 1;
}
.mobile-nav-link {
  display: block;
  font-size: 17px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  padding: 12px 16px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.mobile-nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.mobile-nav-footer {
  padding: 20px var(--pad);
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-cta { width: 100%; text-align: center; }

/* Backdrop — id="mobile-nav-overlay" */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 180;
}
.mobile-nav-overlay.open { display: block; }
.nav-overlay .nav-cta {
  margin-top: 8px;
  text-align: center;
  font-size: 15px;
  padding: 14px 24px;
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  background: var(--b4b-white);
  padding: 96px var(--pad) 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: -120px;
  width: 600px; height: 600px;
  border: 1px solid rgba(15,128,96,.08);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 80px; right: 60px;
  width: 320px; height: 320px;
  border: 1px solid rgba(243,148,34,.06);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  animation: fadeUp .6s ease both;
}
.hero-eyebrow-since {
  color: var(--b4b-text-muted);
  font-size: 13px;
}
.hero-line {
  width: 32px;
  height: 1px;
  background: var(--b4b-orange);
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--b4b-font-display);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
  color: var(--b4b-navy);
  line-height: 1.08;
  letter-spacing: -.02em;
  max-width: 740px;
  margin-bottom: 28px;
  animation: fadeUp .7s .1s ease both;
}
.hero h1 em {
  color: var(--b4b-orange);
  font-style: italic;
}
.hero-sub {
  color: var(--b4b-text);
  font-size: 17px;
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 48px;
  animation: fadeUp .7s .2s ease both;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp .7s .3s ease both;
}
.hero-badges {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  animation: fadeUp .7s .4s ease both;
}
.hero-badge {
  color: var(--b4b-text-muted);
  font-size: 12px;
  background: var(--b4b-surface);
  padding: var(--b4b-s-3) var(--b4b-s-4);
  border-radius: var(--b4b-r-sm);
  border-left: 3px solid var(--b4b-green);
}
.hero-badge strong {
  color: var(--b4b-navy);
  font-size: 22px;
  font-family: var(--b4b-font-display);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

/* ══════════════════════════════════════════════════════════════
   PILLARS STRIP
══════════════════════════════════════════════════════════════ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
.pillar {
  padding: 36px var(--pad);
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.pillar:last-child { border-right: none; }

.pillar-letter {
  font-family: var(--serif);
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  right: 16px; top: -8px;
  pointer-events: none;
  letter-spacing: -.04em;
}
.pillar-num {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.pillar-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 8px;
}
.pillar-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 280px;
}
.pillar-p { border-left: 4px solid var(--b4b-orange); background: linear-gradient(135deg, rgba(243,148,34,.02) 0%, transparent 100%); }
.pillar-p .pillar-title  { color: var(--b4b-orange); }
.pillar-p .pillar-letter { color: var(--b4b-orange); opacity: .08; }
.pillar-t { border-left: 4px solid var(--b4b-green); background: linear-gradient(135deg, rgba(15,128,96,.02) 0%, transparent 100%); }
.pillar-t .pillar-title  { color: var(--b4b-green); }
.pillar-t .pillar-letter { color: var(--b4b-green); opacity: .08; }
.pillar-s { border-left: 4px solid var(--b4b-navy); background: linear-gradient(135deg, rgba(29,61,107,.02) 0%, transparent 100%); }
.pillar-s .pillar-title  { color: var(--b4b-navy); }
.pillar-s .pillar-letter { color: var(--b4b-navy); opacity: .08; }

/* ══════════════════════════════════════════════════════════════
   SECTIONS COMMON
══════════════════════════════════════════════════════════════ */
.section {
  padding: 88px var(--pad);
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--b4b-border);
}
.section:nth-child(2) { border-top-color: var(--b4b-green); }
.section:nth-child(3) { border-top-color: var(--b4b-orange); }
.section:nth-child(4) { border-top-color: var(--b4b-navy); }
.section-bg { background: var(--b4b-surface); }
.section-bg:nth-child(even) { background: var(--b4b-white); }
.section-header { margin-bottom: 52px; }

.section-flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.flag-letter {
  width: 36px; height: 36px;
  border-radius: 6px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.flag-gold { background: var(--b4b-orange); }
.flag-teal { background: var(--b4b-green); }
.flag-blue { background: var(--b4b-navy); }

.section-title {
  font-family: var(--b4b-font-display);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  max-width: 680px;
  margin-bottom: 16px;
  color: var(--b4b-navy);
  position: relative;
  padding-bottom: 12px;
}
.section-title::after {
  background: var(--b4b-green);
}
.section:nth-child(2) .section-title::after {
  background: var(--b4b-orange);
}
.section:nth-child(3) .section-title::after {
  background: var(--b4b-navy);
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.65;
}
.section-watermark {
  font-family: var(--serif);
  font-size: 260px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  right: -24px; top: 20px;
  opacity: .028;
  pointer-events: none;
  letter-spacing: -.06em;
  color: var(--ink);
  user-select: none;
}

/* ══════════════════════════════════════════════════════════════
   PROBLEMI
══════════════════════════════════════════════════════════════ */
.prob-intro {
  background: var(--b4b-white);
  border-left: 4px solid var(--b4b-orange);
  border-radius: 0 var(--b4b-r-sm) var(--b4b-r-sm) 0;
  padding: var(--b4b-s-4) var(--b4b-s-5);
  margin-bottom: var(--b4b-s-7);
  font-size: 14px;
  color: var(--b4b-navy);
  box-shadow: var(--b4b-shadow-sm);
}

.prob-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.prob-filter {
  background: none;
  border: 1px solid var(--border);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}
.prob-filter.active,
.prob-filter:hover {
  border-color: var(--b4b-orange);
  color: var(--b4b-orange);
  background: var(--b4b-orange-light);
}

.prob-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.prob-card {
  border: 2px solid var(--b4b-border);
  border-radius: 10px;
  background: var(--b4b-white);
  overflow: hidden;
  transition: all .3s ease;
  box-shadow: var(--b4b-shadow-sm);
}
.prob-card:hover { 
  border-color: var(--b4b-orange);
  box-shadow: var(--b4b-shadow-md);
  transform: translateY(-2px);
}

.prob-card-head {
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  user-select: none;
}
.prob-card-head:focus-visible {
  outline: 2px solid var(--b4b-orange);
  outline-offset: -2px;
  border-radius: 10px;
}
.prob-card-info { flex: 1; }
.prob-n {
  font-size: 12px;
  font-weight: 600;
  color: var(--b4b-orange);
  background: var(--b4b-orange-light);
  padding: 4px 9px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}
.prob-n.hi { color: #8A2A10; background: #FDE8E0; }
.prob-card-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}
.prob-intensity {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.prob-critica   { color: #8A2A10 !important; }
.prob-alta      { color: var(--ink) !important; }
.prob-strutturale { color: #6B7280 !important; }

.prob-chevron {
  color: var(--muted);
  font-size: 14px;
  transition: transform .2s;
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 1;
}
.prob-card.open .prob-chevron { transform: rotate(180deg); }

.prob-body {
  padding: 0 18px 16px;
  border-top: 1px solid var(--border);
}
.prob-body[hidden] { display: none; }
.prob-insight {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.55;
  margin: 14px 0 12px;
}
.prob-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.prob-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 500;
  background: var(--b4b-white);
  border: 1px solid var(--b4b-border);
}
.tag-tech { color: var(--b4b-green); border-color: var(--b4b-green); }
.tag-out  { color: var(--b4b-navy); border-color: var(--b4b-navy); }

/* ══════════════════════════════════════════════════════════════
   TECNICHE
══════════════════════════════════════════════════════════════ */
.tech-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tech-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 20px;
  border: 1.5px solid var(--b4b-border);
  background: var(--b4b-white);
  border-radius: var(--b4b-r-sm);
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: var(--b4b-shadow-sm);
}
.tech-item:hover {
  border-color: var(--b4b-green);
  background: var(--b4b-surface);
  box-shadow: var(--b4b-shadow-md);
}
.tech-item:last-child { border-bottom: 1.5px solid var(--b4b-border); }
.tech-num {
  font-family: var(--b4b-font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--b4b-green);
  line-height: 1;
  background: var(--b4b-green-light);
  border: 2px solid var(--b4b-green);
  border-radius: var(--b4b-r-md);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
  letter-spacing: -.02em;
}
.tech-item:hover .tech-num {
  background: var(--b4b-green);
  color: #fff;
  box-shadow: var(--b4b-shadow-md);
}
.tech-item.open .tech-num {
  background: var(--b4b-green);
  color: #fff;
  box-shadow: var(--b4b-shadow-md);
  border-color: var(--b4b-green);
}
.tech-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.tech-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 520px;
}
.tech-body {
  display: none;
  grid-column: 2;
  margin-top: 14px;
  padding: var(--b4b-s-4) var(--b4b-s-5);
  background: var(--b4b-white);
  border: 1px solid var(--b4b-border);
  border-radius: var(--b4b-r-sm);
  font-size: 14px;
  color: var(--b4b-navy);
  line-height: 1.65;
  box-shadow: var(--b4b-shadow-sm);
}
.tech-item.open .tech-body { display: block; }
.tech-arrow {
  color: var(--muted);
  font-size: 20px;
  margin-top: 4px;
  transition: transform .2s, color .2s;
  line-height: 1;
  user-select: none;
}
.tech-item:hover .tech-arrow { color: var(--ink); }
.tech-item.open .tech-arrow { transform: rotate(90deg); color: var(--b4b-green); }

/* ══════════════════════════════════════════════════════════════
   AI TOOLS STRIP
══════════════════════════════════════════════════════════════ */
.ai-strip {
  background: var(--ink);
  padding: 64px var(--pad);
}
.ai-inner { max-width: var(--max); margin: 0 auto; }
.ai-heading {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.ai-sub {
  color: rgba(255,255,255,.5);
  font-size: 14px;
  margin-bottom: 36px;
  max-width: 520px;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.ai-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 18px 16px;
  transition: background .2s, border-color .2s;
}
.ai-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
}
.ai-card-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 8px;
  color: var(--b4b-green);
}
.ai-card-name {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  margin-bottom: 6px;
}
.ai-card-use {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.55;
}

/* ══════════════════════════════════════════════════════════════
   SUPPORTO
══════════════════════════════════════════════════════════════ */
.supp-intro {
  background: var(--b4b-white);
  border-left: 4px solid var(--b4b-navy);
  border-radius: 0 var(--b4b-r-sm) var(--b4b-r-sm) 0;
  padding: var(--b4b-s-4) var(--b4b-s-5);
  margin-bottom: var(--b4b-s-7);
  font-size: 14px;
  color: var(--b4b-navy);
  line-height: 1.6;
  max-width: 680px;
  box-shadow: var(--b4b-shadow-sm);
}
.supp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.supp-card {
  border: 2px solid var(--b4b-border);
  border-radius: 12px;
  padding: 28px 24px;
  background: var(--b4b-white);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
  box-shadow: var(--b4b-shadow-sm);
}
.supp-card:hover {
  border-color: var(--b4b-navy);
  box-shadow: var(--b4b-shadow-md);
  transform: translateY(-2px);
}
.supp-card.featured { 
  border: 2px solid var(--b4b-navy);
  background: linear-gradient(135deg, rgba(29,61,107,.02) 0%, transparent 100%);
  box-shadow: var(--b4b-shadow-md);
}

.supp-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: var(--b4b-white);
  color: var(--b4b-navy);
  border: 1px solid var(--b4b-navy);
  padding: 3px 8px;
  border-radius: 4px;
}
.supp-card-num {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.num-1 { background: var(--b4b-white); color: var(--b4b-orange); border: 2px solid var(--b4b-orange); }
.num-2 { background: var(--b4b-white); color: var(--b4b-navy); border: 2px solid var(--b4b-navy); }
.num-3 { background: var(--b4b-white); color: var(--b4b-green); border: 2px solid var(--b4b-green); }

.supp-card-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}
.supp-card-tag {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.supp-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.supp-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  flex: 1;
}
.supp-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink);
}
.supp-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.dot-gold { background: var(--b4b-orange); }
.dot-blue { background: var(--b4b-navy); }
.dot-teal { background: var(--b4b-green); }

.supp-price {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.price-val {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.price-period {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════════
   MANIFESTO
══════════════════════════════════════════════════════════════ */
.manifesto {
  background: var(--ink);
  padding: 96px var(--pad);
  text-align: center;
}
.manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
}
.manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  font-style: italic;
  margin-bottom: 28px;
}
.manifesto-quote em {
  color: var(--b4b-orange);
  font-style: normal;
}
.manifesto-attr {
  font-size: 14px;
  color: rgba(255,255,255,.4);
  margin-bottom: 0;
}
.manifesto-cta { margin-top: 40px; }

/* ══════════════════════════════════════════════════════════════
   CONTATTO
══════════════════════════════════════════════════════════════ */
.contatto { padding: 88px var(--pad); }
.contatto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  max-width: var(--max);
  margin: 0 auto;
  align-items: start;
}
.contatto-title {
  font-family: var(--b4b-font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--b4b-navy);
  position: relative;
  padding-bottom: 12px;
}
.contatto-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 80px;
  background: var(--b4b-orange);
  border-radius: 2px;
}
.contatto-desc {
  font-size: 15px;
  color: var(--b4b-text);
  line-height: 1.65;
  margin-bottom: 32px;
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink);
}
.check-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--b4b-green);
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}

/* Form */
.pro-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field { display: flex; flex-direction: column; }
.field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--b4b-navy);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0;
}
.field-input {
  width: 100%;
  border: 2px solid var(--b4b-border);
  border-radius: var(--b4b-r-sm);
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--b4b-font);
  color: var(--b4b-text);
  background: var(--b4b-white);
  transition: all .2s ease;
  outline: none;
}
.field-input::placeholder {
  color: var(--b4b-text-muted);
}
.field-input:focus {
  border-color: var(--b4b-navy);
  box-shadow: 0 0 0 4px rgba(29,61,107,.12);
}
.field-input.error { border-color: #C0392B; }
.field-select { appearance: none; cursor: pointer; }

.check-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.check-row input { margin-top: 3px; flex-shrink: 0; cursor: pointer; }
.check-row label { font-size: 13px; color: var(--muted); cursor: pointer; }

.form-status {
  font-size: 13px;
  min-height: 20px;
  color: #C0392B;
}
.form-status.success { color: var(--b4b-green); }

.btn-submit {
  background: var(--b4b-green);
  border: none;
  color: var(--b4b-white);
  font-family: var(--b4b-font);
  font-weight: 600;
  font-size: 15px;
  padding: 14px;
  border-radius: var(--b4b-r-sm);
  width: 100%;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: var(--b4b-shadow-sm);
}
.btn-submit:hover {
  background: var(--b4b-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--b4b-shadow-md);
}
.btn-submit:active {
  transform: translateY(0);
}
.btn-submit:disabled {
  background: var(--b4b-text-muted);
  cursor: not-allowed;
  opacity: .6;
  box-shadow: none;
}
.form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* Success */
.success-msg {
  text-align: center;
  padding: var(--b4b-s-7) var(--b4b-s-6);
  background: var(--b4b-white);
  border: 2px solid var(--b4b-green);
  border-radius: var(--b4b-r-md);
  box-shadow: var(--b4b-shadow-md);
}
.success-msg[hidden] { display: none; }
.success-icon {
  font-size: 48px;
  margin-bottom: var(--b4b-s-4);
  color: var(--b4b-green);
}
.success-title {
  font-family: var(--b4b-font-display);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--b4b-navy);
}
.success-sub {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--ink);
  padding: 44px var(--pad) 28px;
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 22px;
}
.foot-brand { display: flex; flex-direction: column; gap: 8px; }
.foot-logo-link { display: inline-block; line-height: 0; }
.foot-logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
}
.foot-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.35);
}
.foot-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.foot-links a {
  color: rgba(255,255,255,.4);
  font-size: 14px;
  transition: color .2s;
}
.foot-links a:hover { color: rgba(255,255,255,.75); }
.foot-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.foot-contact a {
  color: rgba(255,255,255,.45);
  font-size: 14px;
  transition: color .2s;
}
.foot-contact a:hover { color: rgba(255,255,255,.8); }
.foot-sister-link { display: inline-block; line-height: 0; }
.foot-sister-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: .6;
  transition: opacity .2s;
}
.foot-sister-logo:hover { opacity: 1; }

.foot-bottom {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.foot-copy {
  color: rgba(255,255,255,.25);
  font-size: 12px;
}
.foot-legal {
  display: flex;
  gap: 16px;
}
.foot-legal a {
  color: rgba(255,255,255,.25);
  font-size: 12px;
  transition: color .2s;
}
.foot-legal a:hover { color: rgba(255,255,255,.55); }

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .supp-grid { grid-template-columns: 1fr 1fr; }
  .supp-card:last-child { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
  :root { --nav-h: 66px; }

  /* Miglioramenti leggibilità mobile */
  body { line-height: 1.8; }

  /* Nav */
  .nav-links { display: none; }
  .nav-actions .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-logo-img { height: 52px; }

  /* Hero */
  .hero { padding: 64px var(--pad) 56px; }
  .hero-badges { gap: 20px; }
  .hero-badge strong { font-size: 20px; }
  .hero-badge { font-size: 13px; }

  /* Pillars */
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--border); }

  /* Sections */
  .section { padding: 56px var(--pad); }
  .section-watermark { display: none; }

  /* Problemi */
  .prob-grid { grid-template-columns: 1fr; }
  .prob-card-title { font-size: 15px; }

  /* Tecniche */
  .tech-item { grid-template-columns: 54px 1fr auto; gap: 14px; }
  .tech-num {
    font-size: 22px;
    width: 46px;
    height: 46px;
  }
  .tech-name { font-size: 16px; }
  .tech-desc { font-size: 14px; }

  /* AI grid */
  .ai-grid { grid-template-columns: repeat(2, 1fr); }

  /* Supporto */
  .supp-grid { grid-template-columns: 1fr; }
  .supp-card:last-child { grid-column: auto; max-width: none; }

  /* Contatto */
  .contatto { padding: 64px var(--pad); }
  .contatto-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

  /* Manifesto */
  .manifesto { padding: 72px var(--pad); }

  /* Footer */
  .foot-inner { flex-direction: column; gap: 24px; }
  .foot-contact { align-items: flex-start; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot-logo-img { height: 52px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-gold,
  .hero-btns .btn-ghost { text-align: center; width: 100%; }
  .ai-grid { grid-template-columns: 1fr; }
  .prob-filters { gap: 6px; }
  .prob-filter { font-size: 12px; padding: 7px 13px; }
  .hero-badges { flex-wrap: wrap; gap: 16px; }
  .supp-card { padding: 22px 18px; }
  .contatto-title { font-size: clamp(26px, 8vw, 38px); }
  .section-title { font-size: clamp(28px, 6vw, 42px); }

  /* Miglioramenti spaziatura mobile */
  .section { padding: 48px var(--pad); }
  .hero { padding: 48px var(--pad) 40px; }
  .prob-intro, .supp-intro { margin-bottom: 32px; }
  .tech-item { padding: 20px; }
  .pillar { padding: 24px 20px; }
  p { margin-bottom: 1.2em; }
}
