/* ─── TOKENS ─── */
:root {
  --navy: #5C4238;
  --navy-light: #6E5248;
  --navy-dark: #3D2820;
  --teal: #C8785C;
  --teal-light: #F8EAE5;
  --teal-mid: #E0B5A5;
  --sand: #F5F0EB;
  --sand-dark: #EBE4DC;
  --warm-white: #FAF7F4;
  --warm-white-rgb: 250, 247, 244;
  --teal-dark: #A85940;
  --text-primary: #2A1F1C;
  --text-secondary: #6B5045;
  --text-muted: #B09080;
  --border: #DDD7CF;
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(92,66,56,0.07);
  --shadow: 0 6px 24px rgba(92,66,56,0.11);
  --shadow-lg: 0 12px 48px rgba(92,66,56,0.16);
  --shadow-teal: 0 4px 20px rgba(200,120,92,0.18);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--warm-white);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.4rem); letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; }
p { color: var(--text-secondary); }
a { text-decoration: none; color: inherit; }

/* ─── LAYOUT ─── */
.container { max-width: 1060px; margin: 0 auto; padding: 0 28px; }
.section { padding: 100px 0; }

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal); color: white;
  padding: 8px 16px; border-radius: 0 0 8px 0;
  font-size: 0.875rem; font-weight: 500; z-index: 9999;
}
.skip-link:focus { left: 0; }

/* ─── EYEBROW ─── */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow-muted { color: var(--teal-mid); }

/* ─── SECTION HEADER ─── */
.section-header { margin-bottom: 56px; }
.section-header h2 { color: var(--navy); margin-bottom: 18px; text-wrap: balance; }
.section-header p { max-width: 560px; font-size: 1rem; line-height: 1.75; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: white;
  padding: 14px 30px;
  border-radius: 9px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(92,66,56,0.18);
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(92,66,56,0.22); }
.btn-primary:active { transform: translateY(0) scale(0.99); box-shadow: 0 1px 6px rgba(92,66,56,0.14); }
.btn-primary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -150%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  animation: btn-shimmer 4.5s ease-in-out infinite 3s;
  pointer-events: none;
}
@keyframes btn-shimmer {
  0%   { left: -150%; }
  100% { left: 250%; }
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.9rem;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-secondary:hover { border-color: var(--navy); transform: translateY(-1px); }
.btn-secondary:active { transform: translateY(0) scale(0.99); }
.btn-secondary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
  border-radius: 7px;
}

.btn-ghost-white {
  display: inline-block;
  background: transparent;
  color: white;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.9rem;
  border: 1.5px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-ghost-white:hover { border-color: rgba(255,255,255,0.7); transform: translateY(-1px); }

.btn-white {
  display: inline-block;
  background: white;
  color: var(--navy);
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-white:hover { background: var(--sand); transform: translateY(-1px); }

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(var(--warm-white-rgb), 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.logo span { color: var(--teal); }
.logo-img {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img img { height: 60px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links .nav-cta {
  background: var(--navy);
  color: white;
  padding: 8px 18px;
  border-radius: 7px;
  font-weight: 500;
  font-size: 0.82rem;
  transition: background 0.2s;
}
.nav-links .nav-cta:hover { background: var(--navy-light); color: white; }

/* nav mobile toggle */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger svg { display: block; }

/* ─── SCROLL PROGRESS ─── */
.scroll-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  pointer-events: none;
  z-index: 201;
  transition: none;
}
nav.scrolled {
  box-shadow: 0 4px 24px rgba(92,66,56,0.09);
}

/* ─── HERO ─── */
.hero {
  background-color: var(--warm-white);
  background-image: url('img/Bulb-1.jpg');
  background-size: cover;
  background-position: center right;
  padding: 136px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 70%; height: 100%;
  background: linear-gradient(to right, rgba(var(--warm-white-rgb), 0.98) 50%, rgba(var(--warm-white-rgb), 0.0) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}
.hero-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 22px;
}
.hero h1 {
  color: var(--navy);
  margin-bottom: 28px;
  font-weight: 500;
  max-width: 660px;
  text-wrap: balance;
  line-height: 1.12;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* ─── TRUST BAR ─── */
.trust-bar {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.trust-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon {
  width: 40px; height: 40px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 18px; height: 18px; stroke: var(--teal); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.trust-label {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.35;
}
.trust-divider { width: 1px; height: 28px; background: var(--border); }

/* ─── CATENA (chain) ─── */
.chain-section {
  background: var(--sand);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.chain-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(200,120,92,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.chain-inner { position: relative; z-index: 1; }
.chain-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
  display: block;
  text-align: center;
}
.chain-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 12px;
  text-wrap: balance;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.chain-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 44px;
  max-width: 520px;
  line-height: 1.65;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ─── CITAZIONE ─── */
.chain-quote-section {
  background:
    linear-gradient(rgba(45,22,16,0.84), rgba(45,22,16,0.84)),
    url('img/Bulb-2.jpg') center/cover no-repeat;
  padding: 64px 0;
}
.chain-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-style: italic;
}
.chain-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
/* Chain flow — layout ad albero */
.chain-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.chain-fork {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: center;
}
.chain-fork-branch {
  display: flex;
  align-items: center;
  gap: 4px;
}
.chain-arrow-fork {
  display: inline-block;
  transform-origin: center;
}
.chain-fork-branch:first-child .chain-arrow-fork { transform: rotate(-20deg); }
.chain-fork-branch:last-child  .chain-arrow-fork { transform: rotate(20deg); }
.chain-step {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 7px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
  text-align: center;
}
.chain-step.active {
  background: rgba(200,120,92,0.28);
  border-color: rgba(200,120,92,0.7);
  color: white;
}
.chain-arrow {
  color: rgba(255,255,255,0.28);
  font-size: 1rem;
  padding: 0 2px;
  flex-shrink: 0;
}
.chain-note {
  margin-top: 48px;
  padding: 24px 28px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.65);
  max-width: 700px;
  line-height: 1.75;
  margin-left: auto;
  margin-right: auto;
}

/* ─── STACK CATENA ─── */
.ctl-stack {
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Blocchi singoli */
.ctl-block {
  width: 100%;
  max-width: 460px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

/* Freccia */
.ctl-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
  flex-shrink: 0;
}

/* Tag numerici */
.ctl-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 7px;
}

.ctl-block h3,
.ctl-fork-card h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.ctl-block p,
.ctl-fork-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Fork affiancati */
.ctl-fork {
  display: flex;
  align-items: stretch;
  width: 100%;
}
.ctl-fork-card {
  flex: 1;
  background: var(--teal-light);
  border: 1px solid var(--teal-mid);
  border-radius: 14px;
  padding: 20px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.ctl-fork-or {
  flex-shrink: 0;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Animazioni direzionali */
.ctl-anim.ctl-block.ctl-from-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
}
.ctl-anim.ctl-block.ctl-from-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
}
.ctl-anim.ctl-block.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fork: 04a da sx, 04b da dx */
.ctl-anim.ctl-fork {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.ctl-anim.ctl-fork .ctl-fork-card:first-child {
  transform: translateX(-40px);
  transition: opacity 0.55s ease 0.05s, transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94) 0.05s;
  opacity: 0;
}
.ctl-anim.ctl-fork .ctl-fork-card:last-child {
  transform: translateX(40px);
  transition: opacity 0.55s ease 0.15s, transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94) 0.15s;
  opacity: 0;
}
.ctl-anim.ctl-fork.visible { opacity: 1; }
.ctl-anim.ctl-fork.visible .ctl-fork-card:first-child,
.ctl-anim.ctl-fork.visible .ctl-fork-card:last-child {
  opacity: 1;
  transform: translateX(0);
}

/* Frecce: semplice fade */
.ctl-anim.ctl-arrow {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.ctl-anim.ctl-arrow.visible { opacity: 1; }

/* General scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.reveal-delay-1 { transition-delay: 0.12s; }
.reveal.reveal-delay-2 { transition-delay: 0.24s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Mobile */
@media (max-width: 768px) {
  .ctl-block { max-width: 100%; }
  .ctl-fork { flex-direction: column; gap: 8px; }
  .ctl-fork-or { width: auto; padding: 2px 0; height: auto; }
}

/* ─── SITUAZIONI (come-ti-aiutiamo) ─── */
.situazioni-section {
  background:
    linear-gradient(rgba(245,240,235,0.93), rgba(245,240,235,0.93)),
    url('img/Brain.jpg') center/cover no-repeat;
}
.situazioni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.sit-card {
  background: white;
  border: none;
  border-top: 3px solid var(--teal-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s, border-top-color 0.25s;
}
.sit-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-top-color: var(--teal);
}
.sit-icon {
  width: 48px; height: 48px;
  background: var(--teal-light);
  border-radius: 12px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sit-icon svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sit-card h3 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 1.1rem;
  line-height: 1.3;
}
.sit-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}

/* ─── SELF-ASSESSMENT ─── */
.assessment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.assessment-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.assessment-card-label {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 10px;
  display: block;
}
.assessment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.assessment-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.5;
}
.assessment-options label input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--teal);
  flex-shrink: 0;
}
.assessment-cta {
  text-align: center;
  margin-top: 24px;
}

/* ─── CONTATTO (#call) ─── */
.contact-section {
  background: #FEF1E4;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,120,92,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.contact-eyebrow { color: var(--teal); }
.contact-h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.5vw, 2.4rem);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 14px;
  text-wrap: balance;
  letter-spacing: -0.015em;
}
.contact-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.contact-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.contact-form-wrapper {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
  box-shadow: var(--shadow);
}
.form-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.form-field { margin-bottom: 12px; }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--warm-white);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  box-sizing: border-box;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  background: white;
}
textarea.form-input {
  resize: vertical;
  min-height: 100px;
}
.form-select {
  background-color: var(--warm-white);
  color: var(--text-primary);
  cursor: pointer;
}
.form-select option { background: white; color: var(--text-primary); }
.form-textarea { resize: vertical; min-height: 88px; }
.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
  cursor: pointer;
}
.form-privacy input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--teal);
  flex-shrink: 0;
  cursor: pointer;
}
.form-privacy a { color: var(--teal); text-decoration: underline; }
.form-submit {
  width: 100%;
  background: var(--teal);
  color: white;
  border: none;
  padding: 15px 24px;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 12px rgba(200,120,92,0.3);
}
.form-submit:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,120,92,0.35); }
.form-submit:active { transform: translateY(0) scale(0.99); }
.form-submit:focus-visible { outline: 2px solid white; outline-offset: 3px; }

/* ─── CHI SIAMO ─── */
.founders-section { background: var(--warm-white); }
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.founder-card {
  background: white;
  border: none;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
}
.founder-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.founder-avatar {
  width: 120px; height: 120px;
  border-radius: 20px;
  object-fit: cover;
  object-position: top;
  margin-bottom: 24px;
  flex-shrink: 0;
  display: block;
}
.founder-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.founder-role {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 18px;
  line-height: 1.5;
}
.founder-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.founder-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.skill-pill {
  font-size: 0.72rem;
  padding: 4px 12px;
  background: var(--sand);
  border: 1px solid var(--sand-dark);
  border-radius: 20px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 6px 12px;
  transition: border-color 0.2s, color 0.2s;
}
.founder-linkedin:hover { border-color: var(--navy); }
.founder-linkedin svg { width: 14px; height: 14px; fill: currentColor; }

/* ─── FOOTER ─── */
footer {
  background: var(--navy-dark);
  padding: 52px 0 32px;
}
.footer-inner { max-width: 1060px; margin: 0 auto; padding: 0 28px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
  display: block;
  text-decoration: none;
}
.footer-logo span { color: var(--teal-mid); }
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 9px;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.28); }
.footer-bottom a { font-size: 0.75rem; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.65); }
.footer-legal { display: flex; gap: 20px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(var(--warm-white-rgb), 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 12px 28px 20px;
    z-index: 199;
  }
  .nav-links.open a {
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    font-size: 0.95rem;
  }
  .nav-links.open a:last-child { border-bottom: none; }
  .nav-cta { margin-top: 4px; }
  .nav-hamburger { display: flex; }

  h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  h2 { font-size: clamp(1.35rem, 5vw, 1.75rem); }

  .hero { padding: 64px 0 56px; }
  .hero-sub { font-size: 1rem; }
  .hero::before { width: 100%; background: linear-gradient(to bottom, rgba(var(--warm-white-rgb), 0.95) 70%, rgba(var(--warm-white-rgb), 0.80) 100%); }

  .situazioni-grid { grid-template-columns: 1fr; gap: 16px; }
  .assessment-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; gap: 20px; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-direction: column; gap: 8px; }

  .chain-steps { gap: 4px; }
  .chain-step { font-size: 0.85rem; padding: 10px 16px; min-width: unset !important; width: 100%; text-align: center; white-space: normal; }

  /* Catena verticale su mobile */
  .chain-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .chain-flow > .chain-step { width: 100%; }
  .chain-arrow-main { display: none; }
  .chain-fork {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    align-items: flex-start;
    padding-left: 0;
    margin: 0;
  }
  .chain-fork-branch {
    flex: 1 1 calc(50% - 4px);
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .chain-fork-branch .chain-step { width: 100%; }
  .chain-fork-branch .chain-arrow-fork { display: none; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 24px 20px; }
  .contact-btns { flex-direction: column; align-items: center; }

  .trust-inner { gap: 20px; }
  .trust-divider { display: none; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary { width: 100%; text-align: center; }
}
