 :root {
    --blue: #3973b9;
    --blue-dark: #2a5a9a;
    --blue-light: #5a8fd4;
    --blue-pale: #e8f0fa;
    --white: #FFFFFF;
    --dark: #38393a;
    --dark-soft: #5a5b5c;
    --dark-light: #8a8b8c;
    --border: rgba(57,115,185,0.15);
    --grid-line: rgba(57,115,185,0.08);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: "mozaic-hum-variable", sans-serif;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
  }


  /* ── NAV ── */
/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 78px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  width: 68px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark-soft);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--blue-dark);
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 999px;
  transition: all 0.25s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE MENU */
.mobile-nav {
  position: fixed;
  top: 78px;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 5vw 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  padding: 0.9rem 0.25rem;
  border-bottom: 1px solid rgba(57,115,185,0.08);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav-cta {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white) !important;
  padding: 12px 18px !important;
  border-radius: 6px;
  border-bottom: none !important;
}

/* RESPONSIVE NAV */
@media (max-width: 1200px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.82rem;
  }

  .nav-logo {
    width: 62px;
  }
}

@media (max-width: 992px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    height: 74px;
    padding: 0 4vw;
  }

  .nav-logo {
    width: 60px;
  }

  .mobile-nav {
    top: 74px;
    padding: 1rem 4vw 1.25rem;
  }
}

@media (max-width: 768px) {
  .nav-logo {
    width: 56px;
  }
}

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    padding: 120px 5vw 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 55%; height: 100%;
    background: linear-gradient(135deg, var(--blue-pale) 0%, #d4e4f7 100%);
    clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
  }

  /* Decorative grid */


  .hero-left { position: relative; z-index: 1; }
  .hero-right {
    position: relative; z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    
  }
  .hero-right-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
  }
  
  
  .hero-right .hero-card {
    position: relative; z-index: 1;
    background: rgba(57,115,185,1);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 8px;
    margin: 2rem;
  }
  .hero-right .hero-card-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 1.5rem;
  }
  .hero-right .metric-item {
    background: rgba(255,255,255,0.1);
    border-left: 3px solid rgba(255,255,255,0.6);
    border-radius: 0 4px 4px 0;
  }
  .hero-right .metric-icon {
    background: rgba(255,255,255,0.2);
    color: var(--white);
  }
  .hero-right .metric-text { color: var(--white); }
  .hero-right .metric-sub { color: rgba(255,255,255,0.6); }

  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--blue-pale); border: 1px solid var(--border);
    color: var(--blue); padding: 6px 14px; border-radius: 2px;
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; margin-bottom: 2rem;
  }
  .hero-eyebrow::before {
    content: ''; width: 6px; height: 6px;
    background: var(--blue); border-radius: 50%;
  }

  h1 {
    font-family: "mozaic-hum-variable", sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--dark);
    margin-bottom: 1.5rem;
  }
  h1 em {
    font-style: "mozaic-hum-variable", sans-serif;
    color: var(--blue);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
  }

  .hero-subtitle {
    font-size: 1.15rem; font-weight: 300; line-height: 1.65;
    color: var(--dark-soft); margin-bottom: 2.5rem;
    max-width: 440px;
  }

  .hero-cta {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--blue); color: var(--white);
    padding: 16px 32px; border-radius: 4px;
    font-size: 1rem; font-weight: 500;
    text-decoration: none; letter-spacing: 0.01em;
    transition: all 0.25s;
    box-shadow: 0 8px 32px rgba(57,115,185,0.3);
  }
  .hero-cta:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(57,115,185,0.4);
  }

  /* Hero right – visual card */
  .hero-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(57,115,185,0.12);
  }
  .hero-card-label {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--dark-light);
    margin-bottom: 1.5rem;
  }
  .metric-row {
    display: flex; flex-direction: column; gap: 1.2rem;
  }
  .metric-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--blue);
    background: var(--blue-pale);
    border-radius: 0 4px 4px 0;
  }
  .metric-icon {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--blue); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; flex-shrink: 0;
  }
  .metric-text { font-size: 0.9rem; font-weight: 500; color: var(--dark); }
  .metric-sub { font-size: 0.75rem; color: var(--dark-light); margin-top: 2px; }

  /* ── SECTION GENERIC ── */
  section { padding: 100px 5vw; }

  .section-label {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--blue);
    margin-bottom: 1rem;
    display: flex; align-items: center; gap: 8px;
  }
  .section-label::before {
    content: ''; display: block; width: 24px; height: 2px; background: var(--blue);
  }

  h2 {
    font-family: "mozaic-hum-variable", sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.15; letter-spacing: -0.03em;
    color: var(--dark); margin-bottom: 1.5rem;
  }
  h2 em { font-style: "mozaic-hum-variable", sans-serif, italic; color: var(--dark); }

  .section-body {
    font-size: 1.05rem; font-weight: 300; line-height: 1.75;
    color: var(--dark-soft); max-width: 680px;
  }
#contactForm {
  scroll-margin-top: 170px;
}
  /* ── S1 PROBLEMA ── */
  .s1 {
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
  }
  .s1::before {
    content: '';
    position: absolute; top: -50%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(57,115,185,0.2) 0%, transparent 70%);
    pointer-events: none;
  }
  .s1 .section-label { color: var(--blue-light); }
  .s1 .section-label::before { background: var(--blue-light); }
  .s1 h2 { color: var(--white); }
  .s1 h2 em { color: var(--blue-light); }
  .s1 .section-body { color: rgba(255,255,255,0.7); }
  .s1-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  .s1-visual {
    display: flex; flex-direction: column; gap: 0.8rem;
  }
  .problem-tag {
    padding: 12px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    font-size: 0.875rem; color: rgba(255,255,255,0.8);
    display: flex; align-items: center; gap: 10px;
  }

  .s1-closing {
    margin-top: 1.5rem;
    border-radius: 4px;
    font-size: 0.95rem; font-weight: 500; color: var(--white);
  }

  /* ── S2 CHI E' ── */
  .s2 { background: var(--white); }
  .s2-inner { max-width: 860px; }
  .s2-quote {
    margin-top: 2.5rem;
    padding: 2rem 2.5rem;
    border-left: 4px solid var(--blue);
    background: var(--blue-pale);
    border-radius: 0 8px 8px 0;
  }
  .s2-quote p {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem; line-height: 1.5;
    color: var(--dark); font-style: italic;
  }
  .s2-quote strong { color: var(--blue); }

  /* ── S3 MODELLO ── */
  .s3 {
    background: var(--blue-pale);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .s3-intro { max-width: 600px; margin-bottom: 3.5rem; }
  .model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .model-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
  }
  .model-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(57,115,185,0.15);
  }
  .model-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--blue);
  }
  .model-num {
    font-family: 'DM Serif Display', serif;
    font-size: 3.5rem; line-height: 1;
    color: var(--border);
    position: absolute; top: 1.5rem; right: 1.5rem;
    letter-spacing: -0.04em;
  }
  .model-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem; color: var(--blue);
    margin-bottom: 1rem;
  }
  .model-body {
    font-size: 0.9rem; font-weight: 300; line-height: 1.7;
    color: var(--dark-soft);
  }
  .s3-closing {
    margin-top: 2.5rem;

    border-radius: 4px;
    font-size: 1rem; font-weight: 400;
    color: var(--blue); line-height: 1.6;
    max-width: 720px;
  }
  .s3-closing em { font-style: italic; }

  /* ── S4 TARGET ── */
  .s4-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end; }
  .target-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin: 1.5rem 0 2rem; }
  .target-list li {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.9rem; font-weight: 500;
    display: flex; align-items: center; gap: 10px;
  }
  .s4-exclusion {
    padding: 1.5rem;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
  }
  .s4-exclusion p {
    font-size: 0.875rem; line-height: 1.7; color: var(--dark-soft);
  }
  .s4-exclusion p + p { margin-top: 0.8rem; }
  .s4-exclusion strong { color: var(--dark); font-weight: 600; }

  /* ── S5 SPAZIO ── */
  .s5 {
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
  }
  .s5::after {
    content: '';
    position: absolute; bottom: 0; right: 0;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(57,115,185,0.25) 0%, transparent 70%);
    pointer-events: none;
  }
  .s5 .section-label { color: var(--blue-light); }
  .s5 .section-label::before { background: var(--blue-light); }
  .s5 h2 { color: var(--white); }
  .s5 .section-body { color: rgba(255,255,255,0.7); }
  .s5-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  .space-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
  .space-list li {
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(57,115,185,0.3);
    border-radius: 4px;
    font-size: 0.95rem; color: rgba(255,255,255,0.85);
    display: flex; align-items: center; gap: 10px;
  }
  .space-list li::before { content: '●'; color: var(--blue-light); font-size: 0.5rem; }
  .s5-position {
    position: relative;
    padding: 2rem;
    background: rgba(57,115,185,0.15);
    border: 1px solid rgba(57,115,185,0.4);
    border-radius: 8px;
  }
  .s5-position p {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem; font-style: italic;
    line-height: 1.6; color: var(--white);
  }
  .s5-position strong { color: var(--blue-light); }

  /* ── S6 COME LAVORIAMO ── */
  .s6 { background: var(--white); }
  .s6-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
  .process-steps { display: flex; flex-direction: column; gap: 0; margin-top: 0.5rem; }
  .step {
    display: flex; gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
  }
  .step:last-child { border-bottom: none; }
  .step-num {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem; color: var(--blue);
    line-height: 1; flex-shrink: 0;
    width: 32px;
  }

  .s6-cta-wrap { margin-top: 2.5rem; }
  .cta-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    border: 2px solid var(--blue); color: var(--blue);
    padding: 14px 28px; border-radius: 4px;
    font-size: 1rem; font-weight: 500;
    text-decoration: none; transition: all 0.25s;
  }
  .cta-secondary:hover {
    background: var(--blue); color: var(--white);
  }

  /* ── S7 PREVIEW ── */
  .s7 { background: var(--blue-pale); border-top: 1px solid var(--border); }
  .preview-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2.5rem; }
  .preview-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.5rem 1.2rem;
    text-decoration: none;
    transition: all 0.2s;
  }
  .preview-card:hover {
    border-color: var(--blue);
    box-shadow: 0 8px 24px rgba(57,115,185,0.12);
    transform: translateY(-2px);
  }
  .preview-icon {
    font-size: 1.2rem; margin-bottom: 0.8rem;
  }
  .preview-title { font-weight: 600; font-size: 0.9rem; color: var(--dark); margin-bottom: 0.4rem; }
  .preview-desc { font-size: 0.78rem; font-weight: 300; line-height: 1.5; color: var(--dark-light); }
  .preview-arrow {
    display: block; margin-top: 1rem;
    font-size: 0.8rem; color: var(--blue); font-weight: 500;
  }

  /* ── CTA FINALE ── */
  .cta-final {
  background-image: url("../../reticolato.gif");
  background-color: #5a8fd4;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  }
  .cta-final::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(57,115,185,0.85);
  }
  .cta-final > * { position: relative; z-index: 1; }
  .cta-final h2 {
    color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem; max-width: 700px; margin-inline: auto;
  }
  .cta-final .section-body {
    color: rgba(255,255,255,0.9); max-width: 560px; margin-inline: auto;
    margin-bottom: 3rem; font-size: 1.1rem;
  }
  .cta-final-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--white); color: var(--blue);
    padding: 18px 40px; border-radius: 4px;
    font-size: 1.05rem; font-weight: 600;
    text-decoration: none; transition: all 0.25s;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  }
  .cta-final-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  }

  /* ── FOOTER ── */
  footer {
    background: var(--dark);
    color: rgba(255,255,255,0.4);
    padding: 2rem 5vw;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.8rem;
  }
  .footer-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem; color: var(--white);
  }

  /* ── MOBILE ── */
  @media (max-width: 768px) {
    html, body { overflow-x: hidden; max-width: 100%; }

    /* Nav */
    .nav-links { display: none; }
    nav { padding: 0 4vw; }

    /* Hero */
    .hero {
      grid-template-columns: 1fr;
      padding: 100px 5vw 60px;
      min-height: auto;
    }
    .hero::before, .hero::after { display: none; }
    .hero-right { display: none; }

    /* Sections */
    section { padding: 64px 5vw; }

    /* S1 */
    .s1-grid { grid-template-columns: 1fr; gap: 2rem; }

    /* S3 */
    .model-grid { grid-template-columns: 1fr; gap: 1rem; }

    /* S4 */
    .s4-grid { grid-template-columns: 1fr; gap: 2.5rem; }

    /* S5 */
    .s5-grid { grid-template-columns: 1fr; gap: 2rem; }

    /* S6 */
    .s6-grid { grid-template-columns: 1fr; gap: 2.5rem; }

    /* S7 */
    .preview-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }

    /* Footer */
    footer { flex-direction: column; gap: 0.5rem; text-align: center; padding: 1.5rem 5vw; }

    /* Clip-path elements that cause overflow */
    .s1::before, .s5::after { display: none; }
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-eyebrow { animation: fadeUp 0.6s ease both; }
  h1 { animation: fadeUp 0.6s 0.1s ease both; }
  .hero-subtitle { animation: fadeUp 0.6s 0.2s ease both; }
  .hero-cta { animation: fadeUp 0.6s 0.3s ease both; }
  .hero-card { animation: fadeUp 0.8s 0.2s ease both; }

  .hero-bg-video {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

/* =========================================
PAGINA MODELLO SANITHUB
========================================= */

/* HERO MODELLO */
.hero-modello {
  min-height: 90vh;
  padding: 140px 5vw 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
}

.hero-modello::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

/* Punti di luce animati */
.hero-modello .light-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57,115,185,0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-modello .light-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 60%);
  animation: pulse-modello 2.5s ease-in-out infinite;
}

.hero-modello .light-dot.dot-1 {
  width: 100px;
  height: 100px;
  top: 15%;
  left: 20%;
  animation: float-modello-1 18s ease-in-out infinite;
}

.hero-modello .light-dot.dot-2 {
  width: 70px;
  height: 70px;
  top: 60%;
  left: 35%;
  animation: float-modello-2 20s ease-in-out infinite;
  animation-delay: -6s;
}

.hero-modello .light-dot.dot-3 {
  width: 90px;
  height: 90px;
  bottom: 15%;
  left: 15%;
  animation: float-modello-3 22s ease-in-out infinite;
  animation-delay: -12s;
}

.hero-modello .light-dot.dot-4 {
  width: 60px;
  height: 60px;
  top: 40%;
  left: 50%;
  animation: float-modello-4 16s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes pulse-modello {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

@keyframes float-modello-1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(80px, 40px) rotate(90deg);
  }
  50% {
    transform: translate(40px, 80px) rotate(180deg);
  }
  75% {
    transform: translate(-40px, 40px) rotate(270deg);
  }
}

@keyframes float-modello-2 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(60px, -50px) rotate(120deg);
  }
  66% {
    transform: translate(-50px, 60px) rotate(240deg);
  }
}

@keyframes float-modello-3 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(-100px, 30px) rotate(72deg);
  }
  40% {
    transform: translate(-60px, -80px) rotate(144deg);
  }
  60% {
    transform: translate(50px, -60px) rotate(216deg);
  }
  80% {
    transform: translate(80px, 50px) rotate(288deg);
  }
}

@keyframes float-modello-4 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-80px, -60px) rotate(180deg);
  }
}

.hero-modello .hero-left {
  position: relative;
  z-index: 1;
}

.hero-modello .hero-right {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-modello .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}

.hero-modello .hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
}

.hero-modello h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-modello h1 em {
  font-style: italic;
  color: var(--blue-light);
}

.hero-modello .hero-subtitle-lg {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-style: italic;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-modello .hero-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 520px;
  animation: fadeUp 0.6s 0.3s ease both;
}

/* Card a destra */
.modello-card {
  background: rgba(42, 90, 154, 0.95);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-width: 420px;
  width: 100%;
  margin: 2rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.modello-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  display: block;
}

.modello-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.1);
  border-left: 3px solid rgba(255,255,255,0.6);
  border-radius: 0 4px 4px 0;
}

.pillar-num {
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  min-width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-name {
  font-weight: 500;
  font-size: 15px;
  color: var(--white);
}

.pillar-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

/* Animazioni */
.hero-modello .hero-eyebrow {
  animation: fadeUp 0.6s ease both;
}

.hero-modello h1 {
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-modello .hero-subtitle-lg {
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-modello .hero-subtitle {
  animation: fadeUp 0.6s 0.3s ease both;
}

.modello-card {
  animation: fadeUp 0.8s 0.4s ease both;
}

/* RESPONSIVE MODELLO */
@media (max-width: 1024px) {
  .hero-modello {
    grid-template-columns: 1fr;
    padding: 100px 5vw 60px;
  }
  
  .hero-modello .hero-bg-video {
    width: 100%;
    clip-path: none;
  }
  
  /* MODIFICATO: mostra il box sotto invece di nasconderlo */
  .hero-modello .hero-right {
    order: 2;
    justify-content: center;
    padding: 0;
    margin-top: 2rem;
    display: flex; /* AGGIUNTO: per mostrare il box */
  }
  
  .hero-modello .hero-left {
    order: 1;
    padding: 0;
  }
  
  .hero-modello h1 {
    font-size: 40px;
  }
  
  .hero-modello .hero-subtitle-lg {
    font-size: 24px;
  }
  
  .modello-card {
    max-width: 100%;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .hero-modello {
    padding: 80px 5vw 40px;
  }
  
  .hero-modello .hero-left {
    text-align: center;
  }
  
  .hero-modello h1 {
    font-size: 2rem;
  }
  
  .hero-modello .hero-subtitle-lg {
    font-size: 1.5rem;
  }
  
  .hero-modello .hero-subtitle {
    margin-inline: auto;
  }
  
  .modello-card {
    padding: 1.5rem;
  }
}

/* =========================================
   PAGINA CHI SIAMO
   ========================================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}

.container-section {
  padding-top: 0;
  padding-bottom: 0;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-dark .section-label {
  color: var(--blue-light);
}

.section-dark .section-label::before {
  background: var(--blue-light);
}

.section-dark h2 {
  color: var(--white);
}

.section-dark h2 em {
  color: var(--blue-light);
}

.section-dark .section-body {
  color: rgba(255,255,255,0.85);
}

.section-light {
  background: var(--white);
}

.section-pale {
  background: var(--blue-pale);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-body-spaced {
  margin-top: 1rem;
}

/* HERO CHI SIAMO */
.hero-about {
  min-height: 90vh;
  padding: 140px 5vw 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 60%);
}

.hero-about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image:
    linear-gradient(var(--dark-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--dark-light) 1px, transparent 1px);
  background-size: 40px 40px;
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-about-content {
  position: relative;
  z-index: 1;
}

.hero-about-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--white);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-about-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.identity-card {
  background: var(--blue-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(57,115,185,0.12);
  max-width: 420px;
  width: 100%;
}

.identity-card-title {
  font-family: "mozaic-hum-variable", sans-serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--white);
}

.identity-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-pale);
  color: var(--blue);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.identity-card-text {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--white);
  line-height: 1.6;
}

/* SEZIONE 1 */
.origin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.origin-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.origin-point {
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: 10px;
}

.origin-point::before {
  content: '•';
  color: var(--blue-light);
  font-size: 1.2rem;
  line-height: 1;
}

.origin-highlight {
  margin-top: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: var(--blue);
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  border-left: 3px solid var(--blue-light);
}

/* SEZIONE 2 */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.who-differentiator {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--blue-pale);
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
}

.who-differentiator p {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--dark);
  font-style: italic;
}

.who-differentiator strong {
  color: var(--blue);
}

/* SEZIONE 3 */
.mission-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.mission-list li {
  padding: 1rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.mission-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.mission-closing {
  margin-top: 2rem;

  border-radius: 4px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.6;
}

/* SEZIONE 4 */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.approach-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Tablet */
@media (max-width: 992px) {
  .approach-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .approach-grid-3 {
    grid-template-columns: 1fr;
  }
}
.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.approach-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.approach-step:last-child {
  border-bottom: none;
}

.approach-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--blue);
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
}

.approach-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.approach-text {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--dark-soft);
}

.approach-output {
  margin-top: 1.5rem;
  padding: 1.2rem;
  background: var(--blue-pale);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--dark);
}

.approach-output strong {
  color: var(--blue);
}

/* SEZIONE 5 */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.diff-unique {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.diff-unique li {
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(57,115,185,0.3);
  border-radius: 4px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: 10px;
}

.diff-unique li::before {
  content: '★';
  color: var(--blue-light);
  font-size: 0.9rem;
}

.diff-position {
  padding: 2rem;
  background: rgba(57,115,185,0.15);
  border: 1px solid rgba(57,115,185,0.4);
  border-radius: 8px;
}

.diff-position p {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--white);
}

.diff-position strong {
  color: var(--blue-light);
}

/* SEZIONE 6 */
.target-grid-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.target-list-about {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.5rem 0 2rem;
}

.target-list-about li {
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.target-list-about li::before {
  content: '↗';
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
}

.target-exclusion {
  padding: 1.5rem;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
}

.target-exclusion p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--dark-soft);
}

.target-exclusion p + p {
  margin-top: 0.8rem;
}

.target-exclusion strong {
  color: var(--dark);
  font-weight: 600;
}

.target-exclusion-highlight {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--blue-pale);
  border-radius: 4px;
  border-left: 3px solid var(--blue);
}

/* SEZIONE 7 */
.context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.context-focus {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(57,115,185,0.08);
}

.context-focus h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 1rem;
}

.context-focus p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dark-soft);
}

/* CTA FINALE CHI SIAMO */
.cta-identity {
  background-image: url("../../reticolato.gif");
  background-color: var(--blue);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 20px;
  text-align: center;
  position: relative;
}

.cta-identity::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(57,115,185,0.85);
}

.cta-identity > * {
  position: relative;
  z-index: 1;
}

.cta-identity h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-inline: auto;
}

.cta-identity .section-body {
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.cta-identity-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--blue);
  padding: 18px 40px;
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.cta-identity-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

/* ANIMAZIONI CHI SIAMO */
.hero-about .hero-eyebrow {
  animation: fadeUp 0.6s ease both;
}

.hero-about h1 {
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-about-subtitle {
  animation: fadeUp 0.6s 0.2s ease both;
}

.identity-card {
  animation: fadeUp 0.8s 0.2s ease both;
}

@media (max-width: 992px) {
  .hero-about,
  .origin-grid,
  .who-grid,
  .approach-grid,
  .diff-grid,
  .target-grid-about,
  .context-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-about::before {
    display: none;
  }
  
  /* MODIFICA QUI: rimuovi order: -1 o metti order: 1 */
  .hero-about-visual {
    order: 1; /* La card va DOPO il contenuto su mobile */
  }
}

@media (max-width: 768px) {
  .hero-about {
    padding: 100px 5vw 60px;
    min-height: auto;
  }
 
  
  .origin-point,
  .mission-list li,
  .diff-unique li,
  .target-list-about li {
    font-size: 0.9rem;
    padding: 0.9rem 1.2rem;
  }
}

/* =========================================
   PAGINA COSA FACCIAMO
   ========================================= */

.hero-services {
  min-height: 90vh;
  padding: 140px 5vw 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-pale) 100%);
}

.hero-services::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(57,115,185,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-services-content {
  position: relative;
  z-index: 1;
}

.hero-services-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--dark-soft);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-services-highlight {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: 1rem;
}

.hero-services-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-diagram {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(57,115,185,0.12);
  max-width: 400px;
  width: 100%;
}

.diagram-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-light);
  margin-bottom: 1.5rem;
  text-align: center;
}

.diagram-flow {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.diagram-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: var(--blue-pale);
  border-left: 3px solid var(--blue);
  border-radius: 0 4px 4px 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
}

.diagram-step .num {
  width: 28px;
  height: 28px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* SEZIONE 1 */
.analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.analysis-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 1.5rem 0;
}

.analysis-list li {
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: 10px;
}

.analysis-list li::before {
  content: '→';
  color: var(--blue-light);
  font-weight: 600;
  font-size: 1rem;
}

.analysis-highlight {
  margin-top: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: var(--blue);
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  border-left: 3px solid var(--blue-light);
}

/* SEZIONE 2 */
.pillars-intro {
  max-width: 700px;
  margin-bottom: 3rem;
}

.pillars-grid-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card-service {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.pillar-card-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(57,115,185,0.15);
}

.pillar-card-service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.pillar-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 1rem;
}

.pillar-section {
  margin-bottom: 1.5rem;
}

.pillar-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-light);
  margin-bottom: 0.6rem;
}

.pillar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pillar-list li {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--dark-soft);
  padding-left: 1.2rem;
  position: relative;
}

.pillar-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 600;
}

.pillar-result {
  margin-top: auto;
  padding: 1rem;
  background: var(--blue-pale);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  border-left: 3px solid var(--blue);
}

/* SEZIONE 3 */
.outputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.outputs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.outputs-list li {
  padding: 1.2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s;
}

.outputs-list li:hover {
  border-color: var(--blue);
}

.outputs-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.outputs-highlight {
  padding: 1.5rem;
  background: var(--blue);
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  text-align: center;
}

/* SEZIONE 4 */
.digital-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.digital-card {
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(57,115,185,0.08);
}

.digital-card h3 {
  margin-top: 0;
}

.digital-principle {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--blue-pale);
  border-radius: 4px;
  margin: 1.5rem 0;
}

.digital-principle-icon {
  font-size: 1.5rem;
  color: var(--blue);
  flex-shrink: 0;
}

.digital-principle p {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.6;
  margin: 0;
}

.digital-card-note {
  font-size: 0.9rem;
  color: var(--dark-soft);
  margin: 0;
}

/* SEZIONE 5 */
.where-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.where-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.where-list li {
  padding: 0.9rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.where-list li::before {
  content: '◉';
  color: var(--blue);
  font-size: 0.5rem;
}

.where-focus {
  padding: 1.5rem;
  background: var(--blue-pale);
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
}

.where-focus p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dark);
  margin: 0;
}

.where-focus strong {
  color: var(--blue);
  font-weight: 600;
}

/* SEZIONE 6 */
.not-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.not-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.not-list li {
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.not-list li::before {
  
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #e05252;
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 600;
  flex-shrink: 0;
}

.not-identity {
  padding: 2rem;
  background: rgba(57,115,185,0.15);
  border: 1px solid rgba(57,115,185,0.4);
  border-radius: 8px;
}

.not-identity p {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--dark);
  margin: 0;
}

/* SEZIONE 7 */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.value-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.value-list li {
  padding: 1.2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.value-list li::before {
  
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-closing {

  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  text-align: center;
}

/* CTA */
.cta-services {
  background-image: url("../../reticolato.gif");
  background-color: var(--blue);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 20px;
  text-align: center;
  position: relative;
}

.cta-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(57,115,185,0.85);
}

.cta-services > * {
  position: relative;
  z-index: 1;
}

.cta-services h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-inline: auto;
}

.cta-services .section-body {
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.cta-services-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--blue);
  padding: 18px 40px;
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.cta-services-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.cta-services-emphasis {
  color: var(--dark);
}

/* ANIMAZIONI */
.hero-services .hero-eyebrow {
  animation: fadeUp 0.6s ease both;
}

.hero-services h1 {
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-services-subtitle {
  animation: fadeUp 0.6s 0.2s ease both;
}

.service-diagram {
  animation: fadeUp 0.8s 0.2s ease both;
}

/* ── RESPONSIVE COSA FACCIAMO ── */
@media (max-width: 992px) {
  .hero-services,
  .analysis-grid,
  .outputs-grid,
  .digital-grid,
  .where-grid,
  .not-grid,
  .value-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-services::after {
    display: none;
  }

  /* MODIFICA QUI: rimosso order: -1 per far apparire il contenuto prima */
  .hero-services-visual {
    order: 0; /* O rimuovi completamente questa regola */
  }

  .pillars-grid-services {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .where-list {
    grid-template-columns: 1fr;
  }

  section {
    padding: 80px 5vw;
  }
}

@media (max-width: 768px) {
  .hero-services {
    padding: 100px 5vw 60px;
    min-height: auto;
  }



  .hero-services-highlight {
    margin-inline: auto;
  }

  .analysis-list li,
  .outputs-list li,
  .where-list li,
  .not-list li,
  .value-list li {
    font-size: 0.9rem;
    padding: 0.9rem 1.2rem;
  }
}
/* =========================================
   MODELLO PAGE - STILI AGGIUNTIVI
   ========================================= */

/* Model card dettagliata (per sezione 3in1) */
.model-card-detailed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  height: auto;
  min-height: 420px;
}

.model-card-detailed .model-subtitle {
  font-weight: 600;
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.model-card-detailed .model-detail {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.model-card-detailed .model-detail strong {
  color: var(--text);
  font-weight: 600;
  margin-top: 0.5rem;
  display: block;
}

.model-card-detailed .model-detail p {
  margin: 0;
  opacity: 0.9;
}

.model-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.model-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  opacity: 0.95;
}

.model-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}

/* Step con lista interna */
.step-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.step-list li {
  position: relative;
  padding-left: 1rem;
  opacity: 0.9;
}

.step-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.8rem;
}

/* Preview card per sezione futuro (non cliccabili) */
.preview-grid .preview-card[style*="cursor:default"] {
  cursor: default;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.preview-grid .preview-card[style*="cursor:default"]:hover {
  transform: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.preview-grid .preview-card[style*="cursor:default"] .preview-arrow {
  display: none;
}

/* CTA wrapper allineato a sinistra nella sezione come si applica */
.s6 .s6-cta-wrap {
  margin-top: 1.5rem;
}

/* Chiusure con enfasi */
.s1-closing strong,
.s3-closing strong {
  color: var(--blue);
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .model-card-detailed {
    min-height: auto;
    padding: 1.5rem;
  }
  
  
  .model-list li,
  .step-list li {
    font-size: 0.85rem;
  }
}

/* Utilità per liste con check */
.target-list li:has(:first-child:is("✅")) {
  font-weight: 500;
}

/* =========================================
   SERVIZI & SOLUZIONI PAGE - STILI AGGIUNTIVI
   ========================================= */

/* Hero tagline */
.hero-tagline {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.95;
}

.hero-tagline strong {
  color: var(--blue);
  font-weight: 600;
}

/* Model card dettagliata per aree di intervento */
.model-card-detailed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  height: auto;
  min-height: 480px;
}

.model-card-detailed .model-detail {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.model-card-detailed .model-detail p {
  margin: 0;
  opacity: 0.9;
}

.model-card-detailed .model-detail strong {
  color: var(--text);
  font-weight: 600;
  margin-top: 0.5rem;
  display: block;
}

.model-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.model-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  opacity: 0.95;
}

.model-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}

/* Grid soluzioni per tipologia struttura */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.solution-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.solution-title {
  font-weight: 600;
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--blue-pale);
}

.solution-problems,
.solution-benefits {
  margin-bottom: 1rem;
}

.solution-problems strong,
.solution-benefits strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.solution-problems ul,
.solution-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.solution-problems li {
  opacity: 0.8;
  padding-left: 1rem;
  position: relative;
}

.solution-problems li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.8rem;
}

.solution-benefits li {
  color: var(--green);
  font-weight: 500;
  padding-left: 1rem;
  position: relative;
}

.solution-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

/* Impact grid - cosa cambia */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.impact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--gray-light);
}

.impact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.impact-item strong {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.impact-item span {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.4;
}

/* Step text con liste */
.step-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.step-list li {
  position: relative;
  padding-left: 1rem;
  opacity: 0.9;
}

.step-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.8rem;
}

/* CTA wrapper allineato */
.s6 .s6-cta-wrap {
  margin-top: 1.5rem;
}

/* Chiusure con enfasi */
.s1-closing strong,
.s3-closing strong {
  color: var(--blue);
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .model-card-detailed {
    min-height: auto;
    padding: 1.5rem;
  }
  
  
  
  .hero-tagline {
    font-size: 1rem;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .impact-grid {
    grid-template-columns: 1fr;
  }
  
  .model-list li,
  .step-list li,
  .solution-problems li,
  .solution-benefits li {
    font-size: 0.85rem;
  }
}

/* Utility per liste con check/cross */
.solution-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

.solution-problems li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.8rem;
}

/* ── PUNTI DI LUCE ANIMATI HERO ── */
.hero-services {
  position: relative;
  overflow: hidden;
}

.light-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57,115,185,0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.light-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 60%);
  animation: pulse 2s ease-in-out infinite;
}

.light-dot.dot-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation: float-1 15s ease-in-out infinite;
}

.light-dot.dot-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  left: 20%;
  animation: float-2 18s ease-in-out infinite;
  animation-delay: -5s;
}

.light-dot.dot-3 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 15%;
  animation: float-3 20s ease-in-out infinite;
  animation-delay: -10s;
}

.light-dot.dot-4 {
  width: 50px;
  height: 50px;
  bottom: 20%;
  right: 25%;
  animation: float-4 16s ease-in-out infinite;
  animation-delay: -7s;
}

.light-dot.dot-5 {
  width: 70px;
  height: 70px;
  top: 50%;
  left: 50%;
  animation: float-5 22s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

@keyframes float-1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(100px, 50px) rotate(90deg);
  }
  50% {
    transform: translate(50px, 100px) rotate(180deg);
  }
  75% {
    transform: translate(-50px, 50px) rotate(270deg);
  }
}

@keyframes float-2 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(80px, -60px) rotate(120deg);
  }
  66% {
    transform: translate(-60px, 80px) rotate(240deg);
  }
}

@keyframes float-3 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(-120px, 40px) rotate(72deg);
  }
  40% {
    transform: translate(-80px, -100px) rotate(144deg);
  }
  60% {
    transform: translate(60px, -80px) rotate(216deg);
  }
  80% {
    transform: translate(100px, 60px) rotate(288deg);
  }
}

@keyframes float-4 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-100px, -80px) rotate(180deg);
  }
}

@keyframes float-5 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(60px, -100px) rotate(90deg);
  }
  50% {
    transform: translate(-100px, -60px) rotate(180deg);
  }
  75% {
    transform: translate(-60px, 100px) rotate(270deg);
  }
}

/* Responsive - nascondi su mobile */
@media (max-width: 768px) {
  .light-dot {
    display: none;
  }
}

/* ── HERO INDEX (HOMEPAGE) ── */
.hero-index {
  min-height: 100vh;
  padding: 160px 5vw 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-pale) 0%, #d4e4f7 100%);
}

.hero-index::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../../reticolato.gif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1; /* AUMENTATO da 0.08 a 0.15 */
  z-index: 0;
  pointer-events: none;  
}


/* Assicurati che il contenuto abbia z-index superiore */
.hero-index-content {
  position: relative;
  z-index: 1; /* Questo fa stare il contenuto SOPRA il background */
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.hero-index .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-pale);
  border: 1px solid var(--border);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s ease both;
}

.hero-index .hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.hero-index h1 {
  
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-index h1 em {
  font-style: italic;
  color: var(--blue);
}

.hero-index .hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dark-soft);
  margin-bottom: 3rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-index .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: all 0.25s;
  box-shadow: 0 8px 32px rgba(57,115,185,0.3);
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-index .hero-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(57,115,185,0.4);
}

/* Card problemi centrata sotto */
.hero-index-problems {
  margin-top: 4rem;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.8s 0.4s ease both;
}

.hero-index .hero-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(57,115,185,0.12);
  text-align: left;
}

.hero-index .hero-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-light);
  margin-bottom: 1.5rem;
}

.hero-index .metric-row {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-index .metric-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--blue);
  background: var(--blue-pale);
  border-radius: 0 4px 4px 0;
}

.hero-index .metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hero-index .metric-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
}

.hero-index .metric-sub {
  font-size: 0.75rem;
  color: var(--dark-light);
  margin-top: 2px;
}
@media (max-width: 768px) {
  .contatti-form-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}
/* Responsive Index Hero */
@media (max-width: 768px) {
  .hero-index {
    padding: 120px 5vw 60px;
  }
  
  .hero-index h1 {
    font-size: 2.0rem;
  }
  
  .hero-index .hero-subtitle {
    font-size: 1.05rem;
  }
  
  .hero-index .hero-card {
    padding: 1.5rem;
  }
  
  .hero-index-problems {
    margin-top: 3rem;
  }
}

/* ── PUNTI DI LUCE ANIMATI HERO CHI SIAMO ── */
.hero-about {
  position: relative;
  overflow: hidden;
}

.hero-about .light-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 180, 180, 0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-about .light-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 60%);
  animation: pulse-about 2.5s ease-in-out infinite;
}

.hero-about .light-dot.dot-1 {
  width: 100px;
  height: 100px;
  top: 15%;
  right: 20%;
  animation: float-about-1 18s ease-in-out infinite;
}

.hero-about .light-dot.dot-2 {
  width: 70px;
  height: 70px;
  top: 60%;
  right: 35%;
  animation: float-about-2 20s ease-in-out infinite;
  animation-delay: -6s;
}

.hero-about .light-dot.dot-3 {
  width: 90px;
  height: 90px;
  bottom: 15%;
  right: 15%;
  animation: float-about-3 22s ease-in-out infinite;
  animation-delay: -12s;
}

.hero-about .light-dot.dot-4 {
  width: 60px;
  height: 60px;
  top: 40%;
  right: 50%;
  animation: float-about-4 16s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes pulse-about {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

@keyframes float-about-1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(80px, 40px) rotate(90deg);
  }
  50% {
    transform: translate(40px, 80px) rotate(180deg);
  }
  75% {
    transform: translate(-40px, 40px) rotate(270deg);
  }
}

@keyframes float-about-2 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(60px, -50px) rotate(120deg);
  }
  66% {
    transform: translate(-50px, 60px) rotate(240deg);
  }
}

@keyframes float-about-3 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(-100px, 30px) rotate(72deg);
  }
  40% {
    transform: translate(-60px, -80px) rotate(144deg);
  }
  60% {
    transform: translate(50px, -60px) rotate(216deg);
  }
  80% {
    transform: translate(80px, 50px) rotate(288deg);
  }
}

@keyframes float-about-4 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-80px, -60px) rotate(180deg);
  }
}

/* Nascondi su mobile */
@media (max-width: 992px) {
  .hero-about .light-dot {
    display: none;
  }
}

/* ── HERO MODELLO SANITHUB (LAYOUT A BANDIERA CON SFONDO BLU SCURO) ── */
.hero-modello {
  min-height: 100vh;
  padding: 120px 5vw 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
}

.hero-modello::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, rgba(42,90,154,0.3) 0%, rgba(90,143,212,0.2) 100%);
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

/* Punti di luce animati - versione blu chiaro su sfondo scuro */
.hero-modello .light-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-modello .light-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 60%);
  animation: pulse-modello 2.5s ease-in-out infinite;
}

.hero-modello .light-dot.dot-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 15%;
  animation: float-modello-1 18s ease-in-out infinite;
}

.hero-modello .light-dot.dot-2 {
  width: 70px;
  height: 70px;
  top: 65%;
  right: 30%;
  animation: float-modello-2 20s ease-in-out infinite;
  animation-delay: -6s;
}

.hero-modello .light-dot.dot-3 {
  width: 90px;
  height: 90px;
  bottom: 15%;
  right: 20%;
  animation: float-modello-3 22s ease-in-out infinite;
  animation-delay: -12s;
}

.hero-modello .light-dot.dot-4 {
  width: 60px;
  height: 60px;
  top: 40%;
  right: 50%;
  animation: float-modello-4 16s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes pulse-modello {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

@keyframes float-modello-1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(80px, 50px) rotate(90deg);
  }
  50% {
    transform: translate(50px, 80px) rotate(180deg);
  }
  75% {
    transform: translate(-50px, 50px) rotate(270deg);
  }
}

@keyframes float-modello-2 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(60px, -60px) rotate(120deg);
  }
  66% {
    transform: translate(-60px, 60px) rotate(240deg);
  }
}

@keyframes float-modello-3 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(-100px, 40px) rotate(72deg);
  }
  40% {
    transform: translate(-70px, -90px) rotate(144deg);
  }
  60% {
    transform: translate(50px, -70px) rotate(216deg);
  }
  80% {
    transform: translate(80px, 50px) rotate(288deg);
  }
}

@keyframes float-modello-4 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-80px, -60px) rotate(180deg);
  }
}

.hero-modello-left {
  position: relative;
  z-index: 1;
}

.hero-modello-right {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-modello .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}

.hero-modello .hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
}

.hero-modello h1 {
  font-family: "Mozaic-hum-variable", sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-modello h1 em {
  font-style: italic;
  color: var(--dark);
}

.hero-modello .hero-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 520px;
  animation: fadeUp 0.6s 0.2s ease both;
}

/* Card diagramma a destra */
.hero-modello .hero-card {
  background: var(--dark);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  margin: 2rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-modello .hero-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.hero-modello .metric-row {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-modello .metric-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--blue);
  background: var(--blue-pale);
  border-radius: 0 4px 4px 0;
}

.hero-modello .metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hero-modello .metric-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
}

.hero-modello .metric-sub {
  font-size: 0.75rem;
  color: var(--dark-light);
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-modello {
    grid-template-columns: 1fr;
    padding: 100px 5vw 60px;
  }
  
  .hero-modello::before {
    display: none;
  }
  
  .hero-modello .light-dot {
    display: none;
  }
  
  .hero-modello-right {
    display: none;
  }
  


}

@media (max-width: 768px) {
  .hero-modello h1 {
    font-size: 2.2rem;
  }
  
  .hero-modello .hero-subtitle {
    font-size: 1.05rem;
  }
}

/* =========================================
PAGINA SOLUZIONI (ex SERVIZI)
========================================= */
.hero-solutions {
  min-height: 90vh;
  padding: 140px 5vw 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 60%);
}

.hero-solutions::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

/* Punti di luce animati */
.hero-solutions .light-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57,115,185,0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-solutions .light-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 60%);
  animation: pulse-solutions 2.5s ease-in-out infinite;
}

.hero-solutions .light-dot.dot-1 {
  width: 100px;
  height: 100px;
  top: 15%;
  right: 20%;
  animation: float-solutions-1 18s ease-in-out infinite;
}

.hero-solutions .light-dot.dot-2 {
  width: 70px;
  height: 70px;
  top: 60%;
  right: 35%;
  animation: float-solutions-2 20s ease-in-out infinite;
  animation-delay: -6s;
}

.hero-solutions .light-dot.dot-3 {
  width: 90px;
  height: 90px;
  bottom: 15%;
  right: 15%;
  animation: float-solutions-3 22s ease-in-out infinite;
  animation-delay: -12s;
}

.hero-solutions .light-dot.dot-4 {
  width: 60px;
  height: 60px;
  top: 40%;
  right: 50%;
  animation: float-solutions-4 16s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes pulse-solutions {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

@keyframes float-solutions-1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(80px, 40px) rotate(90deg);
  }
  50% {
    transform: translate(40px, 80px) rotate(180deg);
  }
  75% {
    transform: translate(-40px, 40px) rotate(270deg);
  }
}

@keyframes float-solutions-2 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(60px, -50px) rotate(120deg);
  }
  66% {
    transform: translate(-50px, 60px) rotate(240deg);
  }
}

@keyframes float-solutions-3 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(-100px, 30px) rotate(72deg);
  }
  40% {
    transform: translate(-60px, -80px) rotate(144deg);
  }
  60% {
    transform: translate(50px, -60px) rotate(216deg);
  }
  80% {
    transform: translate(80px, 50px) rotate(288deg);
  }
}

@keyframes float-solutions-4 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-80px, -60px) rotate(180deg);
  }
}

.hero-solutions-content {
  position: relative;
  z-index: 1;
}

.hero-solutions .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}

.hero-solutions .hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
}

.hero-solutions h1 {
  font-family: "Mozaic-hum-variable", sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-solutions h1 em {
  font-style: italic;
  color: var(--blue-light);
}

.hero-solutions-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 520px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-solutions-highlight {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: 1rem;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-solutions-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.solutions-diagram {
  background: rgba(57,115,185,1);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  margin: 2rem;
  max-width: 420px;
  width: 100%;
  animation: fadeUp 0.8s 0.2s ease both;
}

.solutions-diagram .diagram-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.solutions-diagram .diagram-flow {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.solutions-diagram .diagram-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.1);
  border-left: 3px solid rgba(255,255,255,0.6);
  border-radius: 0 4px 4px 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}

.solutions-diagram .diagram-step .num {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-solutions {
    grid-template-columns: 1fr;
    padding: 100px 5vw 60px;
  }
  
  .hero-solutions::before {
    display: none;
  }
  
  .hero-solutions .light-dot {
    display: none;
  }
  
  .hero-solutions-visual {
     order: 2; /* Il visual va DOPO il contenuto */
    justify-content: center;
    margin-top: 2rem;
  }
 
  .hero-solutions-content {
    order: 1; /* Il contenuto va PRIMA */
    text-align: left;
  }
  
  .hero-solutions-subtitle {
    margin-inline: 0;
  }
  
  .hero-solutions-highlight {
    margin-inline: 0;
  }
}

@media (max-width: 768px) {
  .hero-solutions h1 {
    font-size: 2.2rem;
  }
  
  .hero-solutions-subtitle {
    font-size: 1.05rem;
  }
}

/* Animazioni */
.hero-solutions .hero-eyebrow {
  animation: fadeUp 0.6s ease both;
}

.hero-solutions h1 {
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-solutions-subtitle {
  animation: fadeUp 0.6s 0.2s ease both;
}

.solutions-diagram {
  animation: fadeUp 0.8s 0.2s ease both;
}

/* =========================================
PAGINA CASI E RISULTATI
========================================= */
.hero-casi {
  min-height: 90vh;
  padding: 140px 5vw 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-pale) 100%);
}

.hero-casi::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(57,115,185,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Punti di luce animati */
.hero-casi .light-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57,115,185,0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-casi .light-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57,115,185,0.3) 0%, transparent 60%);
  animation: pulse-casi 2.5s ease-in-out infinite;
}

.hero-casi .light-dot.dot-1 {
  width: 100px;
  height: 100px;
  top: 15%;
  left: 20%;
  animation: float-casi-1 18s ease-in-out infinite;
}

.hero-casi .light-dot.dot-2 {
  width: 70px;
  height: 70px;
  top: 60%;
  left: 35%;
  animation: float-casi-2 20s ease-in-out infinite;
  animation-delay: -6s;
}

.hero-casi .light-dot.dot-3 {
  width: 90px;
  height: 90px;
  bottom: 15%;
  left: 15%;
  animation: float-casi-3 22s ease-in-out infinite;
  animation-delay: -12s;
}

.hero-casi .light-dot.dot-4 {
  width: 60px;
  height: 60px;
  top: 40%;
  left: 50%;
  animation: float-casi-4 16s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes pulse-casi {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

@keyframes float-casi-1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(80px, 40px) rotate(90deg);
  }
  50% {
    transform: translate(40px, 80px) rotate(180deg);
  }
  75% {
    transform: translate(-40px, 40px) rotate(270deg);
  }
}

@keyframes float-casi-2 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(60px, -50px) rotate(120deg);
  }
  66% {
    transform: translate(-50px, 60px) rotate(240deg);
  }
}

@keyframes float-casi-3 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(-100px, 30px) rotate(72deg);
  }
  40% {
    transform: translate(-60px, -80px) rotate(144deg);
  }
  60% {
    transform: translate(50px, -60px) rotate(216deg);
  }
  80% {
    transform: translate(80px, 50px) rotate(288deg);
  }
}

@keyframes float-casi-4 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-80px, -60px) rotate(180deg);
  }
}

.hero-casi-content {
  position: relative;
  z-index: 1;
}

.hero-casi .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-pale);
  border: 1px solid var(--border);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}

.hero-casi .hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.hero-casi h1 {
  font-family: "mozaic-hum-variable", sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-casi h1 em {
  font-style: italic;
  color: var(--blue);
}

.hero-casi-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--dark-soft);
  margin-bottom: 2.5rem;
  max-width: 520px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-casi-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.casi-diagram {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(57,115,185,0.12);
  max-width: 420px;
  width: 100%;
  animation: fadeUp 0.8s 0.2s ease both;
}

.casi-diagram .diagram-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-light);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.casi-diagram .diagram-flow {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.casi-diagram .diagram-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: var(--blue-pale);
  border-left: 3px solid var(--blue);
  border-radius: 0 4px 4px 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
}

.casi-diagram .diagram-step .num {
  width: 28px;
  height: 28px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-casi {
    grid-template-columns: 1fr;
    padding: 100px 5vw 60px;
  }
  
  .hero-casi::after {
    display: none;
  }
  
  .hero-casi .light-dot {
    display: none;
  }
  
  .hero-casi-visual {
    order: 2;
  }
  
  .hero-casi-content {
    text-align: left;
    order: 1
  }
  
  .hero-casi-subtitle {
    margin-inline: 0;
  }
}

@media (max-width: 768px) {
  .hero-casi h1 {
    font-size: 2.2rem;
  }
  
  .hero-casi-subtitle {
    font-size: 1.05rem;
  }
}

/* Animazioni */
.hero-casi .hero-eyebrow {
  animation: fadeUp 0.6s ease both;
}

.hero-casi h1 {
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-casi-subtitle {
  animation: fadeUp 0.6s 0.2s ease both;
}

.casi-diagram {
  animation: fadeUp 0.8s 0.2s ease both;
}

/* =========================================
PAGINA RISORSE
========================================= */
.hero-risorse {
  min-height: 90vh;
  padding: 140px 5vw 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
}

/* Punti di luce animati */
.hero-risorse .light-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-risorse .light-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 60%);
  animation: pulse-risorse 2.5s ease-in-out infinite;
}

.hero-risorse .light-dot.dot-1 {
  width: 100px;
  height: 100px;
  top: 15%;
  left: 20%;
  animation: float-risorse-1 18s ease-in-out infinite;
}

.hero-risorse .light-dot.dot-2 {
  width: 70px;
  height: 70px;
  top: 60%;
  left: 35%;
  animation: float-risorse-2 20s ease-in-out infinite;
  animation-delay: -6s;
}

.hero-risorse .light-dot.dot-3 {
  width: 90px;
  height: 90px;
  bottom: 15%;
  left: 15%;
  animation: float-risorse-3 22s ease-in-out infinite;
  animation-delay: -12s;
}

.hero-risorse .light-dot.dot-4 {
  width: 60px;
  height: 60px;
  top: 40%;
  left: 50%;
  animation: float-risorse-4 16s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes pulse-risorse {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

@keyframes float-risorse-1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(80px, 40px) rotate(90deg);
  }
  50% {
    transform: translate(40px, 80px) rotate(180deg);
  }
  75% {
    transform: translate(-40px, 40px) rotate(270deg);
  }
}

@keyframes float-risorse-2 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(60px, -50px) rotate(120deg);
  }
  66% {
    transform: translate(-50px, 60px) rotate(240deg);
  }
}

@keyframes float-risorse-3 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(-100px, 30px) rotate(72deg);
  }
  40% {
    transform: translate(-60px, -80px) rotate(144deg);
  }
  60% {
    transform: translate(50px, -60px) rotate(216deg);
  }
  80% {
    transform: translate(80px, 50px) rotate(288deg);
  }
}

@keyframes float-risorse-4 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-80px, -60px) rotate(180deg);
  }
}

.hero-risorse-content {
  position: relative;
  z-index: 1;
}

.hero-risorse .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}

.hero-risorse .hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
}

.hero-risorse h1 {
  font-family: "mozaic-hum-variable", sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-risorse h1 em {
  font-style: italic;
  color: var(--dark);
}

.hero-risorse-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 520px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-risorse-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.risorse-diagram {
  background: rgba(42, 90, 154, 0.95);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  margin: 2rem;
  max-width: 420px;
  width: 100%;
  animation: fadeUp 0.8s 0.2s ease both;
}

.risorse-diagram .diagram-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.risorse-diagram .diagram-flow {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.risorse-diagram .diagram-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.1);
  border-left: 3px solid rgba(255,255,255,0.6);
  border-radius: 0 4px 4px 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}

.risorse-diagram .diagram-step .num {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-risorse {
    grid-template-columns: 1fr;
    padding: 100px 5vw 60px;
  }
  
  .hero-risorse .light-dot {
    display: none;
  }
  
  /* MODIFICATO: non nascondere il visual, ma spostarlo sotto */
  .hero-risorse-visual {
    order: 2; /* Il visual va DOPO il contenuto */
    justify-content: center;
    margin-top: 2rem;
  }
  
  .hero-risorse-content {
    order: 1; /* Il contenuto va PRIMA */
    text-align: left;
  }
  
  .hero-risorse-subtitle {
    margin-inline: 0;
  }
}

@media (max-width: 768px) {
  .hero-risorse h1 {
    font-size: 2.2rem;
  }
  
  .hero-risorse-subtitle {
    font-size: 1.05rem;
  }
}

/* Animazioni */
.hero-risorse .hero-eyebrow {
  animation: fadeUp 0.6s ease both;
}

.hero-risorse h1 {
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-risorse-subtitle {
  animation: fadeUp 0.6s 0.2s ease both;
}

.risorse-diagram {
  animation: fadeUp 0.8s 0.2s ease both;
}

/* =========================================
PAGINA CONTATTI
========================================= */
.hero-contatti {
  min-height: 100vh;
  padding: 160px 5vw 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--blue-dark) 100%);
}

.hero-contatti::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

/* Punti di luce animati */
.hero-contatti .light-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57,115,185,0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-contatti .light-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 60%);
  animation: pulse-contatti 2.5s ease-in-out infinite;
}

.hero-contatti .light-dot.dot-1 {
  width: 100px;
  height: 100px;
  top: 15%;
  left: 20%;
  animation: float-contatti-1 18s ease-in-out infinite;
}

.hero-contatti .light-dot.dot-2 {
  width: 70px;
  height: 70px;
  top: 60%;
  left: 35%;
  animation: float-contatti-2 20s ease-in-out infinite;
  animation-delay: -6s;
}

.hero-contatti .light-dot.dot-3 {
  width: 90px;
  height: 90px;
  bottom: 15%;
  left: 15%;
  animation: float-contatti-3 22s ease-in-out infinite;
  animation-delay: -12s;
}

.hero-contatti .light-dot.dot-4 {
  width: 60px;
  height: 60px;
  top: 40%;
  left: 50%;
  animation: float-contatti-4 16s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes pulse-contatti {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

@keyframes float-contatti-1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(80px, 40px) rotate(90deg);
  }
  50% {
    transform: translate(40px, 80px) rotate(180deg);
  }
  75% {
    transform: translate(-40px, 40px) rotate(270deg);
  }
}

@keyframes float-contatti-2 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(60px, -50px) rotate(120deg);
  }
  66% {
    transform: translate(-50px, 60px) rotate(240deg);
  }
}

@keyframes float-contatti-3 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(-100px, 30px) rotate(72deg);
  }
  40% {
    transform: translate(-60px, -80px) rotate(144deg);
  }
  60% {
    transform: translate(50px, -60px) rotate(216deg);
  }
  80% {
    transform: translate(80px, 50px) rotate(288deg);
  }
}

@keyframes float-contatti-4 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-80px, -60px) rotate(180deg);
  }
}

.hero-contatti-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.hero-contatti .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s ease both;
}

.hero-contatti .hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
}

.hero-contatti h1 {
  font-family: "mozaic-hum-variable", sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-contatti h1 em {
  font-style: italic;
  color: var(--blue-light);
}

.hero-contatti .hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 3rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-contatti .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: all 0.25s;
  box-shadow: 0 8px 32px rgba(57,115,185,0.3);
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-contatti .hero-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(57,115,185,0.4);
}

/* Card problemi centrata sotto */
.hero-contatti-problems {
  margin-top: 4rem;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.8s 0.4s ease both;
}

.hero-contatti .hero-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  text-align: left;
}

.hero-contatti .hero-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-light);
  margin-bottom: 1.5rem;
}

.hero-contatti .metric-row {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-contatti .metric-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--blue);
  background: var(--blue-pale);
  border-radius: 0 4px 4px 0;
}

.hero-contatti .metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hero-contatti .metric-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
}

.hero-contatti .metric-sub {
  font-size: 0.75rem;
  color: var(--dark-light);
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-contatti {
    padding: 120px 5vw 60px;
  }
  
  .hero-contatti h1 {
    font-size: 2.4rem;
  }
  
  .hero-contatti .hero-subtitle {
    font-size: 1.05rem;
  }
  
  .hero-contatti .hero-card {
    padding: 1.5rem;
  }
  
  .hero-contatti-problems {
    margin-top: 3rem;
  }
  
  .hero-contatti .light-dot {
    display: none;
  }
}

/* Animazioni */
.hero-contatti .hero-eyebrow {
  animation: fadeUp 0.6s ease both;
}

.hero-contatti h1 {
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-contatti .hero-subtitle {
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-contatti .hero-cta {
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-contatti .hero-card {
  animation: fadeUp 0.8s 0.4s ease both;
}

.nav-cta i {
  margin-right: 8px;
}

.mobile-nav-cta i {
  margin-right: 8px;
}

.model-grid-2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 768px) {
  .modello-page .model-grid-2 {
    grid-template-columns: repeat(1, 1fr);
  }
}

.contatti-page {
    background: linear-gradient(135deg, var(--dark) 0%, var(--blue-dark) 100%);
}

.hero-contatti {
    background: transparent;
}