.elementor-57487 .elementor-element.elementor-element-1d3a1c1{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS */:root {
  --green-deep: #00543e;
  --green-mid: #006f53;
  --green-light: #9cf4d0;
  --blue: #3a5f94;
  --gold: #f59e0b;
  --surface: #f8faf9;
  --ink: #111816;
  --muted: #4a5754;
}

* { box-sizing: border-box; }

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Lexend', sans-serif;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* Urgency bar */
.urgency-bar {
  background: linear-gradient(90deg, #92400e, #b45309, #92400e);
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
  0% { background-position: 0% 0 }
  100% { background-position: 200% 0 }
}

/* Hero */
.hero-bg {
  background: linear-gradient(135deg, #001f17 0%, #003d2a 50%, #004d38 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(156,244,208,0.12) 0%, transparent 70%);
}

.hero-grid {
  background-image: linear-gradient(rgba(156,244,208,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(156,244,208,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  position: absolute;
  inset: 0;
}

/* Badge */
.badge-gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1c1200;
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Form */
.form-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,84,62,0.18), 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid rgba(156,244,208,0.3);
}

.form-input {
  width: 100%;
  background: #f0faf5;
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(0,84,62,0.1);
}

.form-input::placeholder {
  color: #9bada7;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%234a5754' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* Button */
.btn-primary {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  color: #fff;
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 1rem 2rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(0,84,62,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,84,62,0.45);
}

/* Stats */
.stat-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(156,244,208,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logos */
.trust-logo {
  background: white;
  border: 1px solid rgba(0,84,62,0.1);
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

/* Cards */
.benefit-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(0,84,62,0.08);
  transition: box-shadow 0.3s, transform 0.3s;
}

.benefit-card:hover {
  box-shadow: 0 16px 48px rgba(0,84,62,0.12);
  transform: translateY(-4px);
}

/* Testimonial */
.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  border-left: 4px solid var(--green-deep);
  box-shadow: 0 4px 20px rgba(0,84,62,0.07);
}

/* Floating badge */
.float-badge {
  animation: floatUp 3s ease-in-out infinite;
}

@keyframes floatUp {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Sticky mobile */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid rgba(0,84,62,0.12);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.1);
  z-index: 100;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
}

@media(min-width:768px){
  .sticky-bar { display: none; }
}

.btn-sticky {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  border: none;
}

/* ===== RESPONSIVE FIXES ===== */

/* Evita overflow orizzontale */
html, body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* HERO */
@media (max-width: 1024px) {
  .hero-bg .max-w-7xl {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }

  .hero-bg h1 {
    font-size: clamp(2rem, 7vw, 3rem) !important;
    line-height: 1.08 !important;
    text-align: center !important;
  }

  .hero-bg p {
    max-width: 100% !important;
    text-align: center !important;
  }

  .hero-bg .badge-gold {
    display: inline-flex !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-bg .lg\:col-span-6,
  .hero-bg .lg\:col-span-5 {
    text-align: center;
  }

  .hero-bg .lg\:col-span-6 > div[style*="display:flex; align-items:center; gap:1rem; margin-bottom:2rem;"] {
    justify-content: center !important;
  }

  .hero-bg .lg\:col-span-6 > div[style*="display:flex; flex-wrap:wrap; gap:1.5rem; margin-bottom:2.5rem;"] {
    justify-content: center !important;
  }
}

/* FORM */
@media (max-width: 767px) {
  .form-card {
    padding: 22px !important;
    border-radius: 18px !important;
  }

  .form-card form > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .form-card h3 {
    font-size: 1.25rem !important;
  }

  .form-input {
    font-size: 16px !important;
  }

  .btn-primary {
    font-size: 0.95rem !important;
    padding: 0.95rem 1.2rem !important;
  }

  .float-badge {
    position: static !important;
    margin-bottom: 12px !important;
    animation: none !important;
  }

  .float-badge > div {
    display: inline-block !important;
  }
}

/* STAT BOX HERO */
@media (max-width: 767px) {
  .stat-ring {
    width: 48px !important;
    height: 48px !important;
  }

  .hero-bg .lg\:col-span-6 > div[style*="display:flex; flex-wrap:wrap; gap:1.5rem; margin-bottom:2.5rem;"] {
    gap: 14px !important;
  }

  .hero-bg .lg\:col-span-6 > div[style*="display:flex; flex-wrap:wrap; gap:1.5rem; margin-bottom:2.5rem;"] > div[style*="width:1px"] {
    display: none !important;
  }
}

/* SEZIONI GENERALI */
@media (max-width: 767px) {
  section {
    padding-top: 55px !important;
    padding-bottom: 55px !important;
  }

  section h2 {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }

  section p {
    line-height: 1.6 !important;
  }
}

/* BOX "PERCHÉ AGIRE ORA" */
@media (max-width: 767px) {
  .grid-cols-responsive {
    grid-template-columns: 1fr !important;
  }

  .grid-cols-responsive > div {
    padding: 1.3rem !important;
  }
}

/* STEP */
@media (max-width: 767px) {
  .steps-grid {
    grid-template-columns: 1fr !important;
    gap: 2.2rem !important;
  }
}

/* FOTO STRIP */
@media (max-width: 767px) {
  section[style*="height:260px"] {
    height: 180px !important;
  }

  section[style*="height:260px"] div[style*="grid-template-columns"] {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* COSA FINANZIANO */
@media (max-width: 767px) {
  .finance-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .finance-grid > div:last-child {
    grid-template-columns: 1fr !important;
  }

  .finance-grid > div:last-child > div {
    margin-top: 0 !important;
  }
}

/* REQUISITI */
@media (max-width: 767px) {
  .req-grid {
    grid-template-columns: 1fr !important;
  }

  .benefit-card {
    padding: 1.4rem !important;
  }
}

/* CTA FINALE */
@media (max-width: 767px) {
  section[style*="background:linear-gradient(135deg,#003d2a,#00543e)"] h2 {
    font-size: 2rem !important;
  }

  section[style*="background:linear-gradient(135deg,#003d2a,#00543e)"] .max-w-3xl > div[style*="display:flex; flex-wrap:wrap; gap:1rem; justify-content:center;"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  section[style*="background:linear-gradient(135deg,#003d2a,#00543e)"] .max-w-3xl > div[style*="display:flex; flex-wrap:wrap; gap:1rem; justify-content:center;"] a {
    justify-content: center !important;
    width: 100% !important;
  }
}

/* STICKY MOBILE BAR */
@media (max-width: 767px) {
  .sticky-bar {
    padding: 0.85rem 1rem !important;
    gap: 0.75rem !important;
    align-items: center !important;
  }

  .sticky-bar > div:first-child {
    min-width: 0;
  }

  .sticky-bar > div:first-child div:first-child {
    font-size: 0.82rem !important;
  }

  .sticky-bar > div:first-child div:last-child {
    font-size: 0.7rem !important;
    line-height: 1.3 !important;
  }

  .btn-sticky {
    font-size: 0.8rem !important;
    padding: 0.75rem 1rem !important;
  }
}

/* EXTRA SMALL */
@media (max-width: 480px) {
  .hero-bg .max-w-7xl,
  .max-w-7xl,
  .max-w-3xl {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .hero-bg h1 {
    font-size: clamp(1.8rem, 9vw, 2.5rem) !important;
  }

  .hero-bg p {
    font-size: 0.98rem !important;
  }

  section h2 {
    font-size: 1.55rem !important;
  }

  .badge-gold {
    font-size: 0.62rem !important;
    padding: 0.32rem 0.75rem !important;
  }
}

/* ===== MINI UTILITIES per questa landing (sostituiscono Tailwind) ===== */

.text-white { color: #fff; }
.text-center { text-align: center; }
.relative { position: relative; }
.grid { display: grid; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.mx-auto { margin-left: auto; margin-right: auto; }
.z-10 { z-index: 10; }
.mb-6 { margin-bottom: 1.5rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.p-7 { padding: 1.75rem; }

.max-w-7xl { max-width: 80rem; width: 100%; }
.max-w-3xl { max-width: 48rem; width: 100%; }

.grid-cols-1 { grid-template-columns: 1fr; }
.gap-14 { gap: 3.5rem; }

.lg\:col-span-6,
.lg\:col-span-5,
.lg\:grid-cols-11,
.md\:px-12,
.md\:py-28,
.md\:p-9 {
}

/* Tablet/Desktop */
@media (min-width: 768px) {
  .md\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .md\:p-9 { padding: 2.25rem; }
}

/* Large desktop */
@media (min-width: 1024px) {
  .lg\:grid-cols-11 { grid-template-columns: repeat(11, minmax(0, 1fr)); }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
}

/* Migliorie base per la landing */
img { max-width: 100%; height: auto; }
html, body { overflow-x: hidden; }

/* Responsive */
@media (max-width: 767px) {
  .max-w-7xl,
  .max-w-3xl {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .gap-14 { gap: 2rem !important; }

  .hero-bg h1 {
    font-size: clamp(1.9rem, 8vw, 2.8rem) !important;
    line-height: 1.08 !important;
  }

  .form-card {
    padding: 22px !important;
  }

  .form-card form > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .finance-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .finance-grid > div:last-child {
    grid-template-columns: 1fr !important;
  }

  .finance-grid > div:last-child > div {
    margin-top: 0 !important;
  }

  .req-grid {
    grid-template-columns: 1fr !important;
  }

  .steps-grid {
    grid-template-columns: 1fr !important;
  }

  .grid-cols-responsive {
    grid-template-columns: 1fr !important;
  }

  section[style*="height:260px"] {
    height: 180px !important;
  }

  section[style*="background:linear-gradient(135deg,#003d2a,#00543e)"] .max-w-3xl > div[style*="display:flex; flex-wrap:wrap; gap:1rem; justify-content:center;"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  section[style*="background:linear-gradient(135deg,#003d2a,#00543e)"] .max-w-3xl > div[style*="display:flex; flex-wrap:wrap; gap:1rem; justify-content:center;"] a {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Fix rendering mini titoli (tipo DESTINATARI DEL BANDO) */
div[style*="text-transform:uppercase"][style*="letter-spacing"] {
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Mobile: collega i box a coppie */
@media (max-width: 767px) {
  
  .finance-grid > div:last-child {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .finance-grid > div:last-child > div {
    margin-top: 0 !important;
    padding: 1.2rem !important;
    border-radius: 14px !important;
  }

  /* Riduce dimensione numeri per stare meglio affiancati */
  .finance-grid > div:last-child > div div:first-child {
    font-size: 1.6rem !important;
  }

  /* Testo sotto più compatto */
  .finance-grid > div:last-child > div div:last-child {
    font-size: 0.7rem !important;
    line-height: 1.4 !important;
  }
}

/* Centra logo su mobile */
@media (max-width: 767px) {
  
  .hero-bg img {
    display: block !important;
    margin: 0 auto 1.5rem auto !important;
    text-align: center !important;
  }

}/* End custom CSS */