/* ============================
   STILE SPECIFICO - PAGINA THANK YOU
============================ */

/* HERO con icona check */
.thankyou-arrow {
  margin: 2rem 0 1rem;
  animation: bounce 2s infinite;
}

.thankyou-invite {
  color: #ffffff !important;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* ============================
   LISTA STEP "Prossimi passi"
============================ */

.thankyou-steps {
  padding: 4rem 1rem;
  text-align: center;
}

.thankyou-section-title {
  color: #c2380c;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.thankyou-subheading {
  color: #04211A;
}

.thankyou-list {
  list-style: none;
  margin-top: 2rem;
  padding-left: 250px; 
  max-width: 800px;
  display: grid;
  gap: 2rem;
}

.thankyou-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.step-icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.step-content h4 {
  color: #04211A;
  text-align: left;
}

.step-content p {
  color: #444;
}

/* ============================
   CTA FINALE
============================ */

.thankyou-cta {
  text-align: center;
  padding: 4rem 1rem;
}

.thankyou-cta h2 {
  color: #04211A;
}

.thankyou-cta .btn-primary {
  display: inline-block;
  background-color: #c2380c;
  color: #fff;
  font-weight: 500;
  padding: 0.8rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.thankyou-cta .btn-primary:hover {
  background-color: #084537;
  color: #ffffff !important;
}

/* ============================
   RESPONSIVE
============================ */

@media (max-width: 768px) {
  .thankyou-list {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .thankyou-list li {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .step-icon {
    margin-bottom: 0.5rem;
  }
   .step-content h4 {
    text-align: center; /* ✅ centro titolo solo su mobile */
  }
}
