/* =================================================
   ForMove - Homepage
================================================= */

/* ── Hero ── */
.hero {
  position: relative;
  padding: 96px 0 140px;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.hero-copy .eyebrow { display: inline-block; margin-bottom: 18px; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero-copy p.lead {
  font-size: 1.15rem;
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-note {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--ink-soft);
}

/* Pila di etichette da collo - elemento firma della pagina */
.tag-stack {
  position: relative;
  height: 440px;
}
.cargo-tag {
  position: absolute;
  width: 300px;
  background: var(--white);
  border-radius: 12px;
  padding: 20px 22px 22px;
  box-shadow: var(--shadow-tag);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.cargo-tag::before {
  /* foro da etichetta appesa */
  content: '';
  position: absolute;
  top: 14px; left: 22px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
}
.cargo-tag:hover { box-shadow: var(--shadow-tag-hover); z-index: 5; }
.cargo-tag .tag-id {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ink-soft);
  margin-left: 24px;
  letter-spacing: .04em;
}
.cargo-tag .tag-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  margin: 10px 0 6px;
}
.cargo-tag .tag-meta {
  font-size: .86rem;
  color: var(--ink-soft);
}
.cargo-tag .tag-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 999px;
}
.tag-status.ok       { background: #e6f4ea; color: #1e7d3a; }
.tag-status.pending   { background: var(--primary-bg); color: var(--primary-dark); }
.tag-status.progress { background: #fdf1e0; color: var(--kraft-darker); }
.tag-status::before { content: '●'; font-size: .6rem; }

.tag-1 { top: 0;    left: 30px;  transform: rotate(-4deg); }
.tag-2 { top: 130px; left: 210px; transform: rotate(3deg);  }
.tag-3 { top: 270px; left: 60px;  transform: rotate(-2deg); }

@media (min-width: 861px) {
  .hero-copy h1 { font-size: clamp(2.6rem, 4.4vw, 4rem); }
}

/* ── Sezione: fascia loghi/riprova sociale leggera ── */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.trust-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}
.trust-strip p {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--ink-soft);
}

/* ── Checklist funzioni ── */

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.checklist-item {
  background: var(--white);
  padding: 32px 28px;
}
.checklist-check {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  margin-bottom: 18px;
}
.checklist-item h3 { margin-bottom: 8px; }
.checklist-item p { font-size: .92rem; }

/* ── Percorso - instradamento reale del lavoro, non step generici ── */
.route-section { background: var(--ink); color: var(--paper); }
.route-section .section-head p { color: #a9b8c6; }
.route-section .eyebrow { color: var(--primary-light); }
.route-section h2 { color: var(--white); }

.route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 20px;
}
.route::before {
  content: '';
  position: absolute;
  top: 17px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #3b5468 0 10px, transparent 10px 18px);
}
.route-stop { position: relative; padding-top: 50px; }
.route-dot {
  position: absolute;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 600;
  border: 4px solid var(--ink);
}
.route-stop h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.route-stop p { color: #93a4b3; font-size: .88rem; }

/* ── CTA banner finale ── */

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 80px; }
  .tag-stack { height: 340px; margin-top: 20px; }
  .cargo-tag { width: 78%; }
  .tag-2 { left: unset; right: 0; }
  .tag-3 { left: 6%; }
  .checklist-grid { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .route::before { display: none; }
}
