/* Domande */
.faq-item summary{
  font-family: "bebasbook", sans-serif;
  font-size: 22px;
}

/* Risposte */
.faq-answer{
  font-family: "bebasbookitalic", sans-serif;
  font-size: 20px;
}

.faq-item[open] .faq-answer{
  animation: fadeIn 300ms ease;
}

@keyframes fadeIn{
  from{ opacity:0; transform: translateY(-6px); }
  to{ opacity:1; transform: translateY(0); }
}


.faq-section{
  background-color: #121223;
  padding: 140px 0 160px;
  text-align: center;
}

.faq-title{
  font-family: "bebasbold", sans-serif;
  font-size: 102px;
  color: #fff;
  font-size: 70px;
  margin-bottom: 40px;
}

.faq-box{
  max-width: 1100px;
  margin: 0 auto;
  border: 3px solid #ffd200;
  border-radius: 24px;
  padding: 28px 40px;
}

.faq-item{
  border-top: 2px solid rgba(255,255,255,0.85);
}

.faq-item:first-child{
  border-top: 0;
}

.faq-item summary{
  list-style: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 0;
  color: rgba(255,255,255,0.95);
  font-size: 20px;
}

.faq-item summary::-webkit-details-marker{
  display: none;
}

/* icona cerchio + freccia */
.faq-icon{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.9);
  position: relative;
  flex: 0 0 auto;
}

/* “chevron” */
.faq-icon::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,0.9);
  border-bottom: 2px solid rgba(255,255,255,0.9);
  transform: translate(-50%, -60%) rotate(45deg);
  transition: all 0.2s ease;
}

/* aperto -> freccia ruota */
.faq-item[open] .faq-icon::before{
  transform: translate(-50%, -35%) rotate(-135deg);
}

.faq-answer{
  padding: 0 0 18px;
  color: rgba(255,255,255,0.8);
  text-align: left;
  max-width: 980px;
  margin: 0 auto;
}
