/* Porta il box sopra all’overlay dell’hero */
.floating-wrapper,
.floating-box {
  position: relative;
  z-index: 20;  /* > di overlay e immagini hero */
}


.floating-box {
  background-color: white;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  margin-top: -100px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  z-index: 1;
}

.floating-box h2 {
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.floating-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 30px;
}



.floating-button {
  background: linear-gradient(135deg, #0066cc, #0099ff);
  color: white;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 rgba(255,255,255,0), 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  backdrop-filter: blur(4px);
}

.floating-button:hover {
  background: linear-gradient(135deg, #005bb5, #0077e6);
  transform: scale(1.06);
  box-shadow: inset 0 0 8px rgba(255,255,255,0.2), 0 6px 20px rgba(0,0,0,0.2);
}



@media (max-width: 768px) {
  .floating-box {
    margin: -60px 16px 40px 16px;
    padding: 24px 24px 40px 24px; /* aumenta il padding-bottom */
  }
}
