/* ===============================
   PERSONALIZZAZIONE RAPIDA
================================ */
:root {
  --hero-title-size: 48px;
  --hero-title-color: #ffffff;

  --hero-text-size: 19px;
  --hero-text-color: rgba(255,255,255,.95);

  --hero-text-shift-x: 140px;
  --hero-text-shift-y: 0px;

  --image-max-width: 720px;
}

/* ===============================
   RESET
================================ */
* {
  box-sizing:border-box;
  margin:0;
  padding:0;
}

body {
  font-family:'Inter',sans-serif;
  color:#1c1c1c;
  background:#ffffff;
}

/* ===============================
   HEADER
================================ */
.header {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px 32px;
  border-bottom:1px solid #e5e5e5;
  position:relative;
}

.logo-white {
  height:56px;
}

.legal {
  position:absolute;
  right:32px;
  font-size:12px;
  color:#6f6f6f;
}

/* ===============================
   HERO
================================ */
.hero-split {
  position:relative;
  z-index: 0;
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:580px;
  background:linear-gradient(120deg,#0B5C33,#0F7F44);  /* COLORE SFONDO HERO*/
  overflow:hidden;
}

/* BACKGROUND PATTERN */
.bg-pattern {
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 30%,rgba(255,255,255,.08),transparent 40%),
    radial-gradient(circle at 80% 70%,rgba(255,255,255,.05),transparent 40%);
  z-index:1;
}

/* ===============================
   HERO TEXT
================================ */
.hero-text {
  position:relative;
  z-index:999;
  padding:90px 70px; /* ↑ aumentata spaziatura verticale */
  transform:translate(var(--hero-text-shift-x), var(--hero-text-shift-y));
  color:white;
}

.badge {
  background:#FFD200;
  color:#1c1c1c;
  padding:6px 14px;
  font-size:12px;
  font-weight:700;
  border-radius:6px;
  letter-spacing:.5px;
}

/* ===============================
   HERO EYEBROW TEXT
================================ */

.hero-eyebrow {
  font-size: 15px;                 /* più piccolo del titolo */
  font-weight: 500;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.85);
  margin-top: 16px;
  margin-bottom: 10px;
}

.hero-eyebrow strong {
  font-weight: 700;
}


.hero-title {
  font-size:var(--hero-title-size);
  color:var(--hero-title-color);
  margin:28px 0 18px; /* ↑ più distanza titolo → testo */
  font-weight:800;
  letter-spacing:-0.5px;
  line-height:1.1;
}

.hero-description {
  font-size:var(--hero-text-size);
  color:var(--hero-text-color);
  max-width:480px;
  margin-bottom:44px; /* ↑ più distanza testo → CTA */
}
/* TEXT HIGHLIGHTS */
.highlight {
  color: #FFD200; /* giallo accent */
}

.highlight-alt {
  color: #00D085; /* verde bright */
}

/* ===============================
   BUTTONS
================================ */
.hero-buttons {
  display:flex;
  gap:18px;
  align-items:center;
}

.btn {
  padding:16px 40px;
  border-radius:32px;
  font-weight:700;
  border:none;
  cursor:pointer;
  text-decoration:none;
  font-size:16px;
}

/* PRIMARY CTA */
.primary {
  background:#FF8E0D;
  color:#1c1c1c;
  box-shadow:0 10px 28px rgba(255,142,13,.35);
  transition:all .25s ease;
}

.primary:hover {
  transform:translateY(-2px);
  box-shadow:0 14px 36px rgba(255,142,13,.45);
}

/* SECONDARY CTA */
.secondary {
  background:transparent;
  border:2px solid rgba(255,255,255,.7);
  color:white;
  opacity:.8;
  transition:opacity .2s ease;
}

.secondary:hover {
  opacity:1;
}

.small {
  font-size:14.5px;
  padding:14px 34px;
}

/* ===============================
   HERO MEDIA
================================ */
.hero-media {
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px;
}

/* GEOMETRIC DIVIDER */
.divider {
  position:absolute;
  left:-90px;
  width:240px;
  height:200%;
  background:linear-gradient(180deg,#1FA45B,#E6F4EC);
  transform:rotate(12deg);
  opacity:.3;
    z-index:1;
    pointer-events: none;
}

/* IMAGE CONTAINER */
.media-box {
  position:relative;
  max-width:var(--image-max-width);
  aspect-ratio:4/3;
  border-radius:28px;
  overflow:hidden;
}

/* MASK OVER IMAGE */
.media-box::after {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(120deg,
      rgba(11,92,51,.35),
      rgba(31,164,91,.15)
    );
  z-index:1;
}

.media-box img {
  width:100%;
  height:100%;
  object-fit:contain;
  position:relative;
  z-index:2;
  transform: translate(-15px, -10px) scale(0.99);  /* SPOSTA IMG NEL BOX */
}

/* ===============================
   HERO INFO STRIP
================================ */

.hero-strip {
  margin-top: 28px;
  padding: 14px 22px;
  max-width: 750px;

  position: relative;
  z-index: 999;

  background: rgba(255,255,255,0.88); /* fascia visibile */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border-top: 2px solid rgba(15,127,68,0.4);
  border-radius: 12px;

  color: #0b5c33;
}

.strip-text strong {
  font-weight: 700;
}



/* ===============================
   FEATURES
================================ */
.features {
  background:#ffffff;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0px;
  padding:5px 20px;
  text-align:center;
}

<!--

/* STEP NUMBER */
.step-circle {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #0F7F44;
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
-->

/* STEP TEXT */
.feature p {
  font-size: 15px;
  line-height: 1.5;
  color: #1c1c1c;
}


/* ===============================
   FOOTER
================================ */
.footer {
  background:#1c1c1c;
  color:#aaa;
  padding:24px;
  text-align:center;
  font-size:12px;
}

/* FOOTER LINKS */
.footer a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity .2s ease;
}

.footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===============================
   MODAL (immutato)
================================ */
/* ===============================
   MODAL
================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-overlay.open {
  display: flex;
}

/* BOX */
.modal-box {
  background: #ffffff;
  width: 92%;
  max-width: 560px;
  max-height: 80vh;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

/* HEADER */
.modal-header {
  background: #f2f2f2;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 16px;
}

/* CLOSE X */
.close-modal {
  background: none;
  border: none;
  font-size: 22px;
  color: #ffffff;
  cursor: pointer;
  background:#8c8c8c;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  line-height: 1;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* CONTENT (SCROLL) */
.modal-content {
  padding: 28px 29px;
  font-size: 15px;
  line-height: 1.75;
  color: #1c1c1c;
  overflow-y: auto;
  flex: 1;
}

/* FOOTER */
.modal-footer {
  background: #f2f2f2;
  padding: 16px;
  text-align: center; /* CENTRATO */
}

/* BOTTONE CHIUDI */
.modal-footer .btn {
  background: #5a5a5a;      /* grigio scuro */
  color: #ffffff;
  border: none;
  padding: 14px 36px;
  font-size: 14px;
  border-radius: 24px;
  cursor: pointer;
  transition: background .2s ease;
}

.modal-footer .btn:hover {
  background: #3f3f3f;
}


/* ===============================
   RESPONSIVE – MOBILE UX
================================ */
@media (max-width:900px) {

  /* HERO LAYOUT */
  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-text {
    padding: 40px 20px 48px;
    transform: none;
    text-align: center;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
  }

  /* CTA */
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }

  .hero-buttons .btn {
    padding: 14px 20px;
    font-size: 14px;
    min-height: 48px;
    border-radius: 28px;
    white-space: nowrap;
  }

  .hero-strip {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 13.5px;
  }

  .hero-eyebrow {
    font-size: 14px;
  }


  /* HERO MEDIA */
  .hero-media {
    padding: 24px 16px;
  }

  .media-box {
    aspect-ratio: 16 / 9;
    max-width: 100%;
  }

  .divider {
    display: none;
  }

  /* FEATURES / STEPS */
  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 10px 16px;
  }

  .feature {
    padding: 16px 8px;
    background: transparent;
    box-shadow: none;
  }

  .step-circle {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin-bottom: 8px;
  }

  .feature p {
    font-size: 13px;
    line-height: 1.4;
  }

  /* LEGAL */
  .legal {
    right: 16px;
  }

  @media (max-width: 480px) {

    .header {
      justify-content: space-between;
    }

    .legal {
      position: static;
      margin-left: 12px;
      font-size: 11px;
      white-space: nowrap;
    }

    .logo-white {
      height: 44px;
    }

}
