/* ─── RESET & BASE ─────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --color-bg:          #f8f7f4;
  --color-bg-alt:      #ffffff;
  --color-text:        #242424;
  --color-text-muted:  rgba(36,36,36,0.55);
  --color-accent:      #FFC000;
  --color-accent-deep: #ff6020;
  --color-accent-blue: #30a0ff;
  --color-border:      rgba(36,36,36,0.10);
  --font: 'Outfit', sans-serif;
  --max-w: 1200px;
  --section-pad: 96px 24px;
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 17px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAVBAR ───────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s, background 0.3s;
}

.navbar.scrolled {
  border-color: var(--color-border);
  box-shadow: 0 2px 24px rgba(36,36,36,0.06);
  backdrop-filter: blur(12px);
  background: rgba(248,247,244,0.95);
}

.navbar-inner {
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo svg {
  height: 36px;
  width: auto;
}

/* Logo scritta bianca su hero scura */
.navbar:not(.scrolled) .navbar-logo .st0 { fill: #f8f7f4; }

/* Hamburger bianco su hero scura */
.navbar:not(.scrolled) .hamburger span {
  background: #f8f7f4;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.navbar-links a {
  font-size: 15px;
  font-weight: 300;
  color: rgba(248,247,244,0.65);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.navbar-links a:hover {
  color: #f8f7f4;
}

.navbar.scrolled .navbar-links a {
  color: var(--color-text-muted);
}

.navbar.scrolled .navbar-links a:hover {
  color: var(--color-text);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 9px 24px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text) !important;
  background: var(--color-accent);
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  will-change: transform;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,192,0,0.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 24px 32px 32px;
  z-index: 99;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 17px;
  font-weight: 300;
  color: var(--color-text);
  text-decoration: none;
}
.mobile-menu .btn-nav { width: fit-content; margin-top: 8px; }

/* ─── HERO ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: 68px;
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  background: #0e0d0a;
  overflow: hidden;
}

.hero-text {
  padding: 80px 48px 80px 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #f8f7f4;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: rgba(248,247,244,0.55);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 44px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 15px 38px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-accent);
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  will-change: transform;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,192,0,0.40);
}

.btn-secondary {
  font-size: 16px;
  font-weight: 300;
  color: rgba(248,247,244,0.70);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(248,247,244,0.25);
  transition: color 0.2s, text-decoration-color 0.2s;
}

.btn-secondary:hover {
  color: #f8f7f4;
  text-decoration-color: rgba(248,247,244,0.70);
}

/* Hero animation cell */
.hero-anim {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-anim canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* ─── SHARED SECTION ───────────────────────────── */
.section {
  padding: var(--section-pad);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 20px;
}

.section-intro {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 64px;
}

/* ─── SEZIONE 1 — Il problema ──────────────────── */
.section-problema {
  background: var(--color-bg-alt);
}

.problema-split {
  display: grid;
  grid-template-columns: 42fr 58fr;
  gap: 80px;
  align-items: start;
}

.problema-left .section-label {
  color: var(--color-accent-deep);
}

.problema-left .section-title {
  color: var(--color-text);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  margin-bottom: 24px;
}

.problema-statement {
  font-size: 1.4rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

.problema-verdict {
  border-left: 2px solid var(--color-accent);
  padding: 16px 20px;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-style: italic;
}

/* lista alternative */
.alt-list {
  display: flex;
  flex-direction: column;
}

.alt-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}

.alt-item:first-child {
  border-top: 1px solid var(--color-border);
}

.alt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 12px;
}

.alt-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.alt-verdict {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  flex-shrink: 0;
}

.alt-no {
  background: rgba(255,96,32,0.10);
  color: var(--color-accent-deep);
}

.alt-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.35;
}

.alt-item p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ─── SEZIONE 2 — Come funziona (intro split) ──── */
.section-come-intro {
  background: var(--color-bg-alt);
}

.come-intro-split {
  display: grid;
  grid-template-columns: 48fr 52fr;
  gap: 80px;
  align-items: start;
}

.come-intro-left p {
  font-size: 1.4rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.come-intro-stat-row {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.come-stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.come-stat-label {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.4;
  max-width: 110px;
}

/* schema visivo flusso AI ↔ umano */
.flow-schema {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
}

.flow-col {
  display: flex;
  flex-direction: column;
}

.flow-col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
}

.flow-col-header svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.flow-col-ai .flow-col-header {
  color: var(--color-accent-blue);
  background: rgba(48,160,255,0.04);
}

.flow-col-human .flow-col-header {
  color: var(--color-accent);
  background: rgba(255,192,0,0.04);
}

.flow-node,
.flow-gate {
  padding: 14px 20px;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.4;
  border-bottom: 1px solid var(--color-border);
}

.flow-node {
  color: var(--color-text-muted);
}

.flow-gate {
  font-weight: 600;
  color: #2d9e5f;
  font-size: 1.2rem;
}

.flow-arrows {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--color-border);
  border-bottom: 1px solid var(--color-border);
  /* match altezza righe: header + 5 righe */
}

/* header row */
.flow-arrows .flow-arrow:first-child {
  padding: 18px 10px;
  border-bottom: 1px solid var(--color-border);
  opacity: 0;
  pointer-events: none;
}

.flow-arrows .flow-arrow:not(:first-child) {
  padding: 14px 10px;
  color: var(--color-text-muted);
  opacity: 0.4;
}

/* ─── SEZIONE 2b — Come funziona (steps) ─────── */
.section-come-funziona {
  background: var(--color-bg);
}

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 1px;
  background: linear-gradient(to right, var(--color-accent), var(--color-border));
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-text);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-output {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.step-output strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
  margin-bottom: 4px;
}

/* ─── SEZIONE 2c — Gli agenti (slider) ──────────── */
.section-agenti {
  background: #0e0d0a;
  padding: 96px 0;
  overflow: hidden;
}

.section-agenti .section-label {
  color: var(--color-accent-deep);
}

.section-agenti .section-title {
  color: #f8f7f4;
}

.section-agenti .section-intro {
  color: rgba(248,247,244,0.50);
}

/* header row: testo sx + frecce dx */
.agenti-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}

.agenti-header {
  max-width: 580px;
}

.agenti-header .section-title { margin-bottom: 12px; }
.agenti-header .section-intro { margin-bottom: 0; }

.agenti-nav {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.agenti-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(248,247,244,0.15);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.agenti-btn svg {
  width: 18px;
  height: 18px;
  stroke: rgba(248,247,244,0.6);
  transition: stroke 0.2s;
}

.agenti-btn:hover {
  border-color: var(--color-accent);
  background: rgba(255,192,0,0.06);
}

.agenti-btn:hover svg {
  stroke: var(--color-accent);
}

.agenti-btn:disabled {
  opacity: 0.25;
  cursor: default;
}

/* track: scorre orizzontalmente */
.agenti-track-wrap {
  width: 100%;
  overflow: hidden;
  /* fade sui bordi */
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 5%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 5%, black 90%, transparent 100%);
}

.agenti-track {
  display: flex;
  gap: 24px;
  padding: 4px 5%;
  will-change: transform;
  user-select: none;
  cursor: grab;
}

.agenti-track:active {
  cursor: grabbing;
}

/* card singola */
.agente-card {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 36px 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(248,247,244,0.08);
  border-radius: 16px;
  transition: border-color 0.2s, background 0.2s;
}

.agente-card:hover {
  border-color: rgba(255,192,0,0.25);
  background: rgba(255,192,0,0.03);
}

.agente-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgb(255, 255, 254);
  margin-bottom: 24px;
}

.agente-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,192,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.agente-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
}

.agente-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f8f7f4;
  margin-bottom: 6px;
  line-height: 1.3;
}

.agente-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.agente-card p {
  font-size: 1.07rem;
  font-weight: 300;
  color: rgba(247, 247, 240, 0.75);
  line-height: 1.75;
}

/* dots — nascosti con infinite scroll */
.agenti-dots {
  display: none;
}

.agenti-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(248,247,244,0.15);
  transition: background 0.3s, transform 0.3s;
}

.agenti-dot.active {
  background: var(--color-accent);
  transform: scale(1.3);
}

/* ─── SEZIONE 3 — Il sistema ───────────────────── */
.section-sistema {
  background: var(--color-bg-alt);
}

.sistema-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sistema-text p {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.sistema-text .pull-quote {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.6;
  border-left: 3px solid var(--color-accent);
  padding-left: 20px;
  margin: 32px 0;
}

.flywheel-box {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

.flywheel-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.flywheel-ring {
  position: relative;
  width: 435px;
  height: 390px;
}

.flywheel-ring svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.flywheel-nodes {
  position: absolute;
  inset: 0;
}

.fw-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transform: translate(-50%, -50%);
}

.fw-node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.fw-node-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  max-width: 90px;
  white-space: normal;
  text-align: center;
}

/* ─── SEZIONE 4 — Per chi ──────────────────────── */
.section-per-chi {
  background: var(--color-bg);
}

.per-chi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 0;
}

.icp-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: 12px;
  padding: 40px;
  transition: transform 0.2s, box-shadow 0.2s;
  will-change: transform;
}

.icp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(255,192,0,0.10);
}

.icp-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
  margin-bottom: 16px;
}

.icp-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.25;
}

.icp-card .icp-desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.icp-situations {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.icp-sit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.55;
}

.icp-sit::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  margin-top: 9px;
}

.icp-want {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

.icp-want span {
  font-weight: 300;
  color: var(--color-text-muted);
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
}

/* ─── SEZIONE 5 — Proof points ─────────────────── */
.section-proof {
  background: var(--color-bg-alt);
}

.proof-intro {
  max-width: 640px;
  margin-bottom: 56px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255,192,0,0.10);
}

.product-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
}

.product-type {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
  margin-bottom: 14px;
}

.product-card p {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.process-box {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.process-box-text h4 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 12px;
}

.process-box-text p {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 560px;
}

.process-box-link {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-accent);
  white-space: nowrap;
  align-self: center;
}

.process-box-link:hover {
  color: var(--color-accent-deep);
}

/* ─── CTA SECTION ──────────────────────────────── */
.section-cta {
  background: #242424;
  padding: 120px 24px;
  text-align: center;
}

.section-cta .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.cta-big-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8f7f4;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 700px;
}

.cta-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(248,247,244,0.55);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 17px 46px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: #242424;
  background: var(--color-accent);
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  will-change: transform;
  margin-bottom: 32px;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255,192,0,0.40);
}

.cta-email {
  font-size: 15px;
  font-weight: 300;
  color: rgba(248,247,244,0.40);
  letter-spacing: 0.01em;
}

.cta-email a {
  color: rgba(248,247,244,0.70);
  text-decoration: none;
  border-bottom: 1px solid rgba(248,247,244,0.25);
  transition: color 0.2s;
}

.cta-email a:hover {
  color: #f8f7f4;
}

/* ─── FOOTER ───────────────────────────────────── */
footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 48px 24px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.footer-logo svg {
  height: 28px;
  width: auto;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--color-text); }

.footer-right {
  text-align: right;
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.footer-right a {
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s;
}

.footer-right a:hover { color: var(--color-text); }

/* ─── FADE-IN ANIMATIONS ───────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ───────────────────────────────── */
@media (max-width: 900px) {
  .navbar-links { display: none; }
  .hamburger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 300px 1fr;
    min-height: 100vh;
  }

  .hero-anim {
    height: 300px;
    order: -1;
  }

  .hero-text {
    padding: 48px 32px 64px;
    align-items: center;
    text-align: center;
  }

  .hero-sub { text-align: center; max-width: 100%; }
  .hero-ctas { justify-content: center; }

  .problema-split { grid-template-columns: 1fr; gap: 48px; }
  .come-intro-split { grid-template-columns: 1fr; gap: 48px; }
  .come-intro-stat-row { gap: 28px; }
  .agenti-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .agente-card { flex: 0 0 280px; }
  .steps-row { flex-direction: column; gap: 32px; }
  .step::after { display: none; }
  .step { align-items: flex-start; text-align: left; flex-direction: row; gap: 20px; }
  .step-number { flex-shrink: 0; margin-bottom: 0; }

  .sistema-split { grid-template-columns: 1fr; gap: 48px; }
  .per-chi-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }

  .process-box { flex-direction: column; gap: 24px; }
  .process-box-link { align-self: flex-start; }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .footer-logo { display: flex; justify-content: center; }
  .footer-right { text-align: center; }
}

@media (max-width: 600px) {
  :root { --section-pad: 72px 20px; }
  body { font-size: 16px; }
  .hero-text { padding: 40px 20px 56px; }
  .icp-card { padding: 28px 24px; }
  .process-box { padding: 28px 24px; }
}
