/* =================================================================
   HOME.CSS — Homepage Boost4Biz V2 (Maggio 2026)
   Design system: verde #064F47 · arancio #FF6A00 · blu #1E3D73
   Font: Poppins 700 titoli · 600 sottotitoli · 400 body · 300 caption
   Tutte le classi homepage usano prefisso hp- per evitare conflitti.
   ================================================================= */

/* -----------------------------------------------------------------
   VARIABILI HOMEPAGE
   ----------------------------------------------------------------- */

:root {
  --hp-bg-dark:       #1E3D73;
  --hp-bg-light:      #E5E7EB;
  --hp-bg-white:      #FFFFFF;
  --hp-text-primary:  #064F47;
  --hp-text-secondary:#1A2A25;
  --hp-text-light:    #F5F7FA;
  --hp-text-muted:    #6B7280;
  --hp-accent:        #FF6A00;
  --hp-accent-dark:   #CC5500;
  --hp-border:        #D1D5DB;
  --hp-border-dark:   rgba(255, 106, 0, 0.25);
  --hp-font-heading:  'Poppins', system-ui, sans-serif;
  --hp-font-body:     'Poppins', system-ui, sans-serif;
  --hp-max-w:         1200px;
  --hp-text-max-w:    680px;
  --hp-radius:        4px;
  --hp-py:            96px;
  --hp-py-mob:        64px;
  --hp-px:            80px;
  --hp-px-tab:        40px;
  --hp-px-mob:        24px;
}

/* -----------------------------------------------------------------
   ANIMAZIONI SCROLL (fade-in via IntersectionObserver in main.js)
   ----------------------------------------------------------------- */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.fade-in:nth-child(2) { transition-delay: 0.10s; }
.fade-in:nth-child(3) { transition-delay: 0.20s; }
.fade-in:nth-child(4) { transition-delay: 0.30s; }
.fade-in:nth-child(5) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .hp-hero__title,
  .hp-hero__subtitle,
  .hp-hero__body,
  .hp-hero__scroll {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* -----------------------------------------------------------------
   BOTTONI HOMEPAGE
   ----------------------------------------------------------------- */

.hp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hp-accent);
  color: #ffffff;
  font-family: var(--hp-font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255,106,0,0.32), 0 1px 3px rgba(30,61,115,0.10);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  min-height: 48px;
}

.hp-btn-primary:hover {
  background: var(--hp-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,106,0,0.45), 0 2px 6px rgba(30,61,115,0.12);
  color: #ffffff;
}

.hp-btn-primary:active {
  transform: translateY(0);
}

.hp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--hp-accent);
  border: 1.5px solid var(--hp-accent);
  font-family: var(--hp-font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(255,106,0,0.12);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  min-height: 48px;
}

.hp-btn-secondary:hover {
  background: var(--hp-accent);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,106,0,0.32);
}

.hp-link-accent {
  font-family: var(--hp-font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--hp-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.hp-link-accent:hover {
  color: var(--hp-accent-dark);
  border-bottom-color: var(--hp-accent-dark);
}

/* -----------------------------------------------------------------
   BOTTONE OUTLINE SU SFONDI SCURI (hero / valore / contatti)
   ----------------------------------------------------------------- */

.hp-btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 106, 0, 0.55);
  font-family: var(--hp-font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  min-height: 48px;
}

.hp-btn-outline-light:hover {
  background: var(--hp-accent);
  border-color: var(--hp-accent);
  color: #ffffff;
}

/* -----------------------------------------------------------------
   PATTERN CTA RIPETUTO IN OGNI SEZIONE
   ----------------------------------------------------------------- */

.hp-section-cta {
  margin-top: 56px;
}

.hp-section-cta--center {
  text-align: center;
}

.hp-section-cta__note {
  display: block;
  margin-top: 12px;
  font-family: var(--hp-font-body);
  font-size: 0.8125rem;
  color: var(--hp-text-muted);
  font-style: italic;
}

@media (max-width: 640px) {
  .hp-section-cta { margin-top: 40px; }
}

/* =================================================================
   SEZIONE 1 — HERO
   ================================================================= */

.hp-hero {
  position: relative;
  min-height: 100vh;
  background-color: var(--hp-bg-light);
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.88) 100%),
    url('../img/Margini migliori.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px var(--hp-px) 100px;
}

/* Griglia decorativa di sfondo */
.hp-hero__grid-decor {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 61, 115, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 61, 115, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* Angolo geometrico decorativo */
.hp-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 320px;
  height: 320px;
  border-top: 1px solid rgba(255, 106, 0, 0.12);
  border-left: 1px solid rgba(255, 106, 0, 0.12);
  pointer-events: none;
}

.hp-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

/* Animazione entrata headline */
@keyframes hp-slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hp-hero__title {
  font-family: var(--hp-font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.15;
  color: var(--hp-text-primary);
  letter-spacing: 0.01em;
  margin-bottom: 32px;
  animation: hp-slideUp 0.8s ease-out 0.20s both;
}

.hp-hero__accent {
  color: var(--hp-accent);
  font-style: normal;
}

.hp-hero__subtitle {
  font-family: var(--hp-font-body);
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.80;
  color: #111827;
  max-width: 640px;
  margin: 0 auto 24px;
  animation: hp-slideUp 0.8s ease-out 0.45s both;
}

/* Gruppo CTA + micro proof */
.hp-hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 44px;
  animation: hp-slideUp 0.8s ease-out 0.85s both;
}

.hp-hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hp-hero__proof li {
  font-family: var(--hp-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111827;
  padding: 0 16px;
}

.hp-hero__proof li + li {
  border-left: 1px solid var(--hp-border);
}

@media (max-width: 640px) {
  .hp-hero__proof li { padding: 0 12px; font-size: 0.6875rem; }
}

/* Scroll hint animato */
@keyframes hp-scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

.hp-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--hp-text-muted);
  text-decoration: none;
  z-index: 1;
  animation: hp-scrollBounce 2.2s ease-in-out infinite;
  transition: color 0.2s ease;
}

.hp-hero__scroll:hover {
  color: var(--hp-accent);
}

.hp-hero__scroll-label {
  font-family: var(--hp-font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

@media (max-width: 1280px) { .hp-hero { padding-left: var(--hp-px-tab); padding-right: var(--hp-px-tab); } }

@media (max-width: 640px) {
  .hp-hero {
    padding: 100px var(--hp-px-mob) 80px;
    min-height: 100svh;
  }
  .hp-hero__body { display: none; }
  .hp-hero::after { display: none; }
}

/* =================================================================
   SEZIONE 2 — DIAGNOSI (Il Problema)
   ================================================================= */

.hp-diagnosi {
  background-color: var(--hp-bg-light);
  background-image:
    linear-gradient(rgba(229,231,235,0.74), rgba(229,231,235,0.74)),
    url('../img/Margini migliori.webp');
  background-size: cover;
  background-position: center;
  padding: var(--hp-py) var(--hp-px);
}

.hp-diagnosi__container {
  max-width: var(--hp-max-w);
  margin: 0 auto;
}

.hp-diagnosi__header {
  max-width: var(--hp-text-max-w);
  margin: 0 auto 64px;
  text-align: center;
}

.hp-diagnosi__title {
  font-family: var(--hp-font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.20;
  color: var(--hp-text-primary);
  margin-bottom: 32px;
}

.hp-diagnosi__text {
  font-family: var(--hp-font-body);
  font-size: 1.0625rem;
  line-height: 1.80;
  color: var(--hp-text-secondary);
  text-align: left;
}

.hp-diagnosi__text p + p {
  margin-top: 14px;
}

/* 3 card diagnosi */
.hp-diagnosi__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hp-diag-card {
  background: var(--hp-bg-white);
  border-left: 3px solid var(--hp-accent);
  border-radius: 20px;
  padding: 32px 28px 32px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15,38,71,0.07), 0 1px 3px rgba(15,38,71,0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hp-diag-card:hover {
  box-shadow: 0 10px 36px rgba(15,128,96,0.15), 0 3px 10px rgba(15,38,71,0.08);
  transform: translateY(-4px);
}

.hp-diag-card__num {
  position: absolute;
  top: 12px;
  right: 18px;
  font-family: var(--hp-font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(13, 27, 42, 0.06);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.hp-diag-card__title {
  font-family: var(--hp-font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--hp-text-primary);
  margin-bottom: 10px;
  line-height: 1.30;
}

.hp-diag-card__text {
  font-family: var(--hp-font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--hp-text-secondary);
}

@media (max-width: 1280px) { .hp-diagnosi { padding-left: var(--hp-px-tab); padding-right: var(--hp-px-tab); } }
@media (max-width: 1024px) {
  .hp-diagnosi__cards {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 640px) {
  .hp-diagnosi { padding: var(--hp-py-mob) var(--hp-px-mob); }
  .hp-diagnosi__header { margin-bottom: 40px; }
}

/* =================================================================
   SEZIONE 3 — METODO (Un metodo, non uno strumento)
   ================================================================= */

.hp-metodo {
  background-color: var(--hp-bg-white);
  background-image:
    linear-gradient(rgba(255,255,255,0.74), rgba(255,255,255,0.74)),
    url('../img/Imprenditore.webp');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--hp-border);
  padding: var(--hp-py) var(--hp-px);
}

.hp-metodo__container {
  max-width: var(--hp-max-w);
  margin: 0 auto;
}

.hp-metodo__header {
  max-width: var(--hp-text-max-w);
  margin: 0 auto 64px;
  text-align: center;
}

.hp-metodo__title {
  font-family: var(--hp-font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.20;
  color: var(--hp-text-primary);
  margin-bottom: 32px;
}

.hp-metodo__intro {
  font-family: var(--hp-font-body);
  font-size: 1rem;
  line-height: 1.80;
  color: var(--hp-text-secondary);
  text-align: left;
}

.hp-metodo__intro p + p {
  margin-top: 12px;
}

/* Griglia 2×2 pilastri */
.hp-metodo__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hp-pilastro {
  padding: 32px;
  border: 1px solid var(--hp-border);
  border-radius: 20px;
  background: var(--hp-bg-white);
  box-shadow: 0 2px 12px rgba(15,38,71,0.07), 0 1px 3px rgba(15,38,71,0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hp-pilastro:hover {
  border-color: var(--hp-accent);
  box-shadow: 0 10px 36px rgba(15,128,96,0.15), 0 3px 10px rgba(15,38,71,0.08);
  transform: translateY(-3px);
}

.hp-pilastro__icon {
  width: 40px;
  height: 40px;
  color: var(--hp-accent);
  margin-bottom: 18px;
  display: block;
}

.hp-pilastro__title {
  font-family: var(--hp-font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--hp-text-primary);
  margin-bottom: 10px;
  line-height: 1.30;
}

.hp-pilastro__text {
  font-family: var(--hp-font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--hp-text-secondary);
}

@media (max-width: 1280px) { .hp-metodo { padding-left: var(--hp-px-tab); padding-right: var(--hp-px-tab); } }
@media (max-width: 768px)  { .hp-metodo__grid { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 640px) {
  .hp-metodo { padding: var(--hp-py-mob) var(--hp-px-mob); }
  .hp-metodo__header { margin-bottom: 40px; }
  .hp-pilastro { padding: 24px 20px; }
}

/* =================================================================
   SEZIONE 4 — VALORE (Perché conta)
   ================================================================= */

.hp-valore {
  background-color: var(--hp-bg-light);
  background-image:
    linear-gradient(rgba(229,231,235,0.74), rgba(229,231,235,0.74)),
    url('../img/Servizi soluzioni.webp');
  background-size: cover;
  background-position: center;
  padding: var(--hp-py) var(--hp-px);
}

.hp-valore__container {
  max-width: var(--hp-max-w);
  margin: 0 auto;
}

.hp-valore__header {
  max-width: var(--hp-text-max-w);
  margin: 0 auto 64px;
  text-align: center;
}

.hp-valore__title {
  font-family: var(--hp-font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.20;
  color: var(--hp-text-primary);
  margin-bottom: 40px;
}

.hp-valore__text {
  font-family: var(--hp-font-body);
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--hp-text-secondary);
  text-align: left;
}

.hp-valore__text p + p {
  margin-top: 14px;
}

/* 3 scenari in colonne con separatori */
.hp-valore__scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hp-border);
}

.hp-scenario {
  padding: 40px 36px;
  border-right: 1px solid var(--hp-border);
}

.hp-scenario:last-child {
  border-right: none;
}

.hp-scenario__title {
  font-family: var(--hp-font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--hp-text-primary);
  margin-bottom: 14px;
  line-height: 1.30;
}

.hp-scenario__text {
  font-family: var(--hp-font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--hp-text-secondary);
}

@media (max-width: 1280px) { .hp-valore { padding-left: var(--hp-px-tab); padding-right: var(--hp-px-tab); } }
@media (max-width: 1024px) {
  .hp-valore__scenarios { grid-template-columns: 1fr; }
  .hp-scenario {
    border-right: none;
    border-bottom: 1px solid var(--hp-border);
    padding: 32px 0;
  }
  .hp-scenario:last-child { border-bottom: none; }
}
@media (max-width: 640px) {
  .hp-valore { padding: var(--hp-py-mob) var(--hp-px-mob); }
  .hp-valore__header { margin-bottom: 40px; }
}

/* =================================================================
   SEZIONE 5 — PROCESSO (Come funziona, in pratica)
   ================================================================= */

.hp-processo {
  background-color: var(--hp-bg-light);
  background-image:
    linear-gradient(rgba(229,231,235,0.74), rgba(229,231,235,0.74)),
    url('../img/Metodo pocessi.webp');
  background-size: cover;
  background-position: center;
  padding: var(--hp-py) var(--hp-px);
}

.hp-processo__container {
  max-width: var(--hp-max-w);
  margin: 0 auto;
}

.hp-processo__header {
  max-width: var(--hp-text-max-w);
  margin: 0 auto 64px;
  text-align: center;
}

.hp-processo__title {
  font-family: var(--hp-font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.20;
  color: var(--hp-text-primary);
  margin-bottom: 16px;
}

.hp-processo__subtitle {
  font-family: var(--hp-font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--hp-text-secondary);
}

/* Fasi numerate con linea verticale */
.hp-processo__phases {
  max-width: 740px;
  margin: 0 auto 64px;
  position: relative;
}

.hp-processo__phases::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 42px;
  bottom: 42px;
  width: 1px;
  background: var(--hp-accent);
  opacity: 0.6;
}

.hp-fase {
  position: relative;
  padding: 28px 28px 28px 78px;
  border-radius: 20px;
  transition: background 0.2s ease;
}

.hp-fase:hover {
  background: #D9DFE8;
}

.hp-fase__num {
  position: absolute;
  left: 0;
  top: 26px;
  width: 56px;
  height: 56px;
  background: var(--hp-bg-light);
  border: 1px solid var(--hp-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hp-font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--hp-accent);
  z-index: 1;
  transition: background 0.2s ease;
}

.hp-fase:hover .hp-fase__num {
  background: #D9DFE8;
}

/* Grande numero decorativo di sfondo */
.hp-fase__num-bg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--hp-font-heading);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(13, 27, 42, 0.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.hp-fase__title {
  font-family: var(--hp-font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--hp-text-primary);
  margin-bottom: 8px;
  line-height: 1.30;
}

.hp-fase__text {
  font-family: var(--hp-font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--hp-text-secondary);
}

/* Prima CTA della pagina */
.hp-processo__cta {
  text-align: center;
}

.hp-processo__cta-note {
  display: block;
  margin-top: 14px;
  font-family: var(--hp-font-body);
  font-size: 0.8125rem;
  color: var(--hp-text-muted);
  font-style: italic;
}

@media (max-width: 1280px) { .hp-processo { padding-left: var(--hp-px-tab); padding-right: var(--hp-px-tab); } }
@media (max-width: 640px) {
  .hp-processo { padding: var(--hp-py-mob) var(--hp-px-mob); }
  .hp-processo__header { margin-bottom: 40px; }
  .hp-processo__phases::before { left: 22px; top: 34px; bottom: 34px; }
  .hp-processo__phases { margin-bottom: 48px; }
  .hp-fase { padding: 22px 16px 22px 62px; }
  .hp-fase__num { width: 44px; height: 44px; font-size: 0.875rem; top: 20px; }
  .hp-fase__num-bg { display: none; }
}

/* =================================================================
   SEZIONE 6 — CREDENZIALI (Perché Boost4Biz)
   ================================================================= */

.hp-credenziali {
  background-color: var(--hp-bg-white);
  background-image:
    linear-gradient(rgba(255,255,255,0.74), rgba(255,255,255,0.74)),
    url('../img/Case studio-Team.webp');
  background-size: cover;
  background-position: center;
  padding: var(--hp-py) var(--hp-px);
}

.hp-credenziali__container {
  max-width: var(--hp-max-w);
  margin: 0 auto;
}

.hp-credenziali__inner {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 80px;
  align-items: start;
}

.hp-credenziali__title {
  font-family: var(--hp-font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.20;
  color: var(--hp-text-primary);
  margin-bottom: 32px;
}

.hp-credenziali__text {
  font-family: var(--hp-font-body);
  font-size: 1rem;
  line-height: 1.80;
  color: var(--hp-text-secondary);
}

.hp-credenziali__text p + p {
  margin-top: 14px;
}

.hp-credenziali__cta-wrap {
  margin-top: 36px;
}

/* Differenziatori (colonna destra) */
.hp-differenziatori {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}

.hp-diff__title {
  font-family: var(--hp-font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--hp-text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1.30;
}

.hp-diff__dash {
  color: var(--hp-accent);
  font-size: 1.1em;
  flex-shrink: 0;
  line-height: 1;
}

.hp-diff__text {
  font-family: var(--hp-font-body);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--hp-text-secondary);
  padding-left: 22px;
}

/* Metriche numeriche (righe 3 numeri) */
.hp-metrics {
  display: flex;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--hp-border);
  padding-top: 40px;
}

.hp-metric {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 32px;
}

.hp-metric + .hp-metric {
  padding-left: 32px;
  padding-right: 32px;
  border-left: 1px solid var(--hp-border);
}

.hp-metric:last-child {
  padding-right: 0;
}

.hp-metric__value {
  font-family: var(--hp-font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1;
  color: var(--hp-text-primary);
}

.hp-metric__plus {
  font-size: 0.55em;
  color: var(--hp-accent);
  vertical-align: super;
  font-weight: 600;
}

.hp-metric__label {
  font-family: var(--hp-font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--hp-text-secondary);
  line-height: 1.40;
}

@media (max-width: 640px) {
  .hp-metrics {
    flex-direction: column;
    gap: 28px;
    padding-top: 32px;
    margin-top: 36px;
  }
  .hp-metric,
  .hp-metric + .hp-metric {
    padding: 0;
    border-left: none;
    border-top: 1px solid var(--hp-border);
    padding-top: 28px;
  }
  .hp-metric:first-child { border-top: none; padding-top: 0; }
}

@media (max-width: 1280px) { .hp-credenziali { padding-left: var(--hp-px-tab); padding-right: var(--hp-px-tab); } }
@media (max-width: 1024px) {
  .hp-credenziali__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
@media (max-width: 640px) {
  .hp-credenziali { padding: var(--hp-py-mob) var(--hp-px-mob); }
}

/* =================================================================
   SEZIONE 7 — CONTATTI
   ================================================================= */

.hp-contatti {
  background-color: var(--hp-bg-light);
  background-image:
    linear-gradient(rgba(229,231,235,0.74), rgba(229,231,235,0.74)),
    url('../img/Scala il tuo livello.png');
  background-size: cover;
  background-position: center;
  padding: var(--hp-py) var(--hp-px);
}

.hp-contatti__container {
  max-width: var(--hp-max-w);
  margin: 0 auto;
}

.hp-contatti__header {
  max-width: var(--hp-text-max-w);
  margin: 0 auto 64px;
  text-align: center;
}

.hp-contatti__title {
  font-family: var(--hp-font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.20;
  color: var(--hp-text-primary);
  margin-bottom: 16px;
}

.hp-contatti__subtitle {
  font-family: var(--hp-font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--hp-text-secondary);
}

.hp-contatti__grid {
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 64px;
  align-items: start;
}

.hp-contatti__info-text {
  font-family: var(--hp-font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--hp-text-secondary);
  margin-bottom: 36px;
}

.hp-contatti__channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hp-contatti__channels li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--hp-font-body);
  font-size: 0.9375rem;
  color: var(--hp-text-secondary);
}

.hp-contatti__channels li svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.50;
}

.hp-contatti__channels a {
  color: var(--hp-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hp-contatti__channels a:hover {
  color: var(--hp-accent);
}

/* Form */
.hp-contact-form {
  background: #ffffff;
  border: 1px solid var(--hp-border);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(13,27,42,0.06);
}

.hp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.hp-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.hp-form-row .hp-form-group {
  margin-bottom: 0;
}

.hp-form-label {
  font-family: var(--hp-font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hp-text-secondary);
  letter-spacing: 0.02em;
}

.hp-form-input,
.hp-form-textarea {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 11px 14px;
  font-family: var(--hp-font-body);
  font-size: 0.9375rem;
  color: var(--hp-text-secondary);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hp-form-input::placeholder,
.hp-form-textarea::placeholder {
  color: var(--hp-text-muted);
}

.hp-form-input:focus-visible,
.hp-form-textarea:focus-visible {
  border-color: var(--hp-accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(212, 104, 0, 0.12);
}

.hp-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.hp-form-privacy {
  margin-top: 12px;
  font-family: var(--hp-font-body);
  font-size: 0.8125rem;
  color: var(--hp-text-muted);
  text-align: center;
}

.hp-form-privacy a {
  color: var(--hp-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Feedback AJAX (riutilizza classi esistenti di main.js) */
.contact-form__feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--hp-radius);
  font-family: var(--hp-font-body);
  font-size: 0.9375rem;
  text-align: center;
}

.contact-form__feedback.is-success {
  background: rgba(212, 104, 0, 0.08);
  color: #A85200;
  border: 1px solid rgba(212, 104, 0, 0.25);
}

.contact-form__feedback.is-error {
  background: rgba(220, 50, 50, 0.10);
  color: #F8A9A9;
  border: 1px solid rgba(220, 50, 50, 0.25);
}

@media (max-width: 1280px) { .hp-contatti { padding-left: var(--hp-px-tab); padding-right: var(--hp-px-tab); } }
@media (max-width: 1024px) {
  .hp-contatti__grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .hp-contatti { padding: var(--hp-py-mob) var(--hp-px-mob); }
  .hp-contatti__header { margin-bottom: 40px; }
  .hp-contact-form { padding: 28px 20px; }
  .hp-form-row { grid-template-columns: 1fr; }
}

