/* === BASE === */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  /* background: #fcece9; */
  color: #2e2e2e;
}

/* === HERO === */
.hero {
  background: #e04e39;
  color: white !important;
  text-align: center;
  padding: 1rem 0.5rem 2rem;
}

.hero h1 {
  font-size: 2.0rem;
  /* margin-bottom: 1rem; */
  color: white !important;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  color: white !important;
}

/* === QUIZ CONTAINER === */
.quiz-container {
  max-width: 800px;
  margin: -2rem auto 1rem;
  padding: 1rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.quiz-container p {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.quiz-container label {
  display: block;
  padding: 0.6rem 1rem;
  background: #f9f1ef;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
}

.quiz-container label:hover {
  background: #f0d8d3;
}

.quiz-container input[type="radio"] {
  margin-right: 0.5rem;
}

.quiz-container input[type="email"] {
  width: 100%;
  padding: 0.75rem;
  margin: 1rem 0;
  border: 1px solid #ddd1cb;
  border-radius: 6px;
}

/* === BOTTONI === */
.quiz-container button {
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: #e04e39;
  border: none;
  border-radius: 6px;
  margin-right: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.quiz-container button:hover {
  background: #b03a27;
}

/* === STEP === */
.step {
  display: none;
}

.step.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === FOOTER === */
.footer {
  margin-top: 50px;
  background: #2e2e2e;
  color: #ddd1cb;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

.footer a {
  color: #f0d8d3;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}



.chart-container .btn-book {
  display: inline-block;
  margin-top: 1.5rem;
}

.btn-book {
  background: #e04e39;
  color: #fff;
  border: none;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-book:hover {
  background: #c63c2c;
}

.report-marketing-cards {
  max-width: 410px;
  margin: 2rem auto 0;
  padding: 1.7rem 1.4rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(224, 78, 57, 0.09);
  font-size: 1.08rem;
}

.report-marketing-cards h3 {
  margin-bottom: 1.2rem;
  font-size: 1.16em;
  text-align: left;
}

.report-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.05rem 0.5rem 1.05rem 0.5rem;
  border-bottom: 1px solid #eee;
  gap: 1.2rem;
}

.report-row:last-child {
  border-bottom: none;
  background: #f7f6f2;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  color: #1a531b;
  margin-top: 1.3rem;
}

.report-label {
  min-width: 130px;
  font-weight: 600;
  color: #e04e39;
  font-size: 1.09em;
  margin-bottom: 3px;
}

.report-desc {
  flex: 1;
  color: #4d4d4d;
  font-size: 0.99em;
  margin-bottom: 1px;
  margin-left: 2px;
}

.report-score {
  min-width: 38px;
  text-align: right;
  font-weight: 700;
  color: #e04e39;
  font-size: 1.2em;
}

.report-marketing-cards .media-row {
  justify-content: flex-end;
  font-size: 1.05em;
  margin-top: 1rem;
  background: #f7f6f2;
  border-radius: 10px;
  padding: 1rem 1.4rem;
  color: #116e1e;
}

@media (max-width: 600px) {
  .report-marketing-cards {
    padding: 1rem 0.5rem;
  }

  .report-row,
  .media-row {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }

  .report-label {
    min-width: 90px;
    font-size: 1em;
  }

  .hero.hide-hero {
    display: none !important;
  }
}

.chart-container {
  max-width: 640px;
  margin: 3rem auto;
  text-align: center;
  font-family: Segoe UI, sans-serif;
}

.chart-container h2 {
  font-size: 2.1rem;
  margin-bottom: .25rem;
}

.chart-container .email {
  font-weight: 600;
  color: #e04e39;
}

canvas {
  width: 100% !important;
  height: auto !important;
}

.divReport {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 0 auto 3rem auto;
  max-width: 1100px;
}

/* Fai in modo che i contenitori non diventino troppo piccoli */
.divReport>.chart-container,
.divReport>.report-marketing-cards {
  flex: 1 1 370px;
  min-width: 320px;
  max-width: 510px;
}

.quiz-header {
  text-align: center;
  padding: 0.2rem 0;
  background-color: #ffffff;
}

.quiz-logo {
  max-height: 50px;
  height: auto;
  margin: 0 auto;
  display: block;
}



/* Stack verticale su mobile */
@media (max-width: 900px) {
  .divReport {
    flex-direction: column;
    gap: 1.6rem;
    max-width: 97vw;
    padding-left: 2vw;
    padding-right: 2vw;
  }

  .divReport>.chart-container,
  .divReport>.report-marketing-cards {
    max-width: 100%;
    min-width: 0;
  }
}

.cta-booking-wrapper {
  max-width: 480px;
  margin: 3rem auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-booking-wrapper .btn-book {
  display: block;
  width: 100%;
  max-width: 400px;
  font-size: 1.08rem;
  margin: 0 auto 1.2rem auto;
  box-shadow: 0 2px 12px rgba(224, 78, 57, 0.10);
}

.divCtaStart {
  display: flex;
  justify-content: center;
}

/* .divHeroQuiz {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 88vh;
} */

.quiz-nav-btns {
  display: flex;
  justify-content: end;
}