/* ============================================
   Gentilezza in Azione – Stili custom
   ============================================ */

.hero-deco {
  position: absolute;
  font-size: 12rem;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}
.hero-deco--tl { top: 8%; left: 4%; }
.hero-deco--br { bottom: 8%; right: 4%; }

.carousel-track {
  scrollbar-width: thin;
  scrollbar-color: #2A9D8F #e5e7eb;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-track { background: #e5e7eb; border-radius: 3px; }
.carousel-track::-webkit-scrollbar-thumb { background: #2A9D8F; border-radius: 3px; }

.think-item {
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.think-item:hover {
  transform: scale(1.04);
  background-color: #e5e7eb;
}

.card-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (hover: hover) {
  .card-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-children .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 0.3s; }

.checklist-item {
  cursor: pointer;
  transition: background-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.checklist-item:hover,
.checklist-item:active {
  background-color: #f3f4f6;
  border-radius: 8px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1rem;
}
.faq-answer.open {
  max-height: 300px;
  padding: 1rem;
}

.gradient-text {
  background: linear-gradient(90deg, #2A9D8F, #264653);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-1522 {
  animation: pulse-1522 2.5s ease-in-out infinite;
}
@keyframes pulse-1522 {
  0%, 100% { box-shadow: 0 3px 12px rgba(231,111,81,0.3); }
  50%      { box-shadow: 0 3px 24px rgba(231,111,81,0.6); }
}

.btn-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.btn-top.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.active {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}
.modal-content {
  transform: translateY(24px) scale(0.96);
  transition: transform 0.25s ease;
}
.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2A9D8F33, transparent);
  margin: 4rem 0;
}

/* Stat number animazione */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* Valore card pratica quotidiana */
.valore-tip {
  border-top: 1px solid #f3f4f6;
  margin-top: auto;
  padding-top: 0.75rem;
}

/* Azione numerata */
.azione-num {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .hero-deco { font-size: 6rem; }
  .carousel-arrow { display: none !important; }
  .checklist-item { padding: 0.5rem; }
}