/* =========================================
   FAQ PAGE
   ========================================= */

.faq-container{
  flex-direction: column;
  gap: 22px;
}

.faq-header{
  width: 100%;
  text-align: left;
}

.faq-grid{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* Card */
.faq-card{
  border: 2px solid rgba(0,140,140,0.22);
  border-radius: 26px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,140,140,0.10);
}

/* Domanda (bottone) */
.faq-q{
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  text-align: left;

  /* ✅ no flash grigio su mobile */
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.faq-q:focus,
.faq-q:focus-visible{
  outline: none;
  box-shadow: none;
}

.faq-q:active{
  background: transparent;   /* evita “pressed bg” */
}




.faq-q-text{
  font-weight: 900;
  color: #111;
  font-size: 1.02rem;
  line-height: 1.25;
}

.faq-ico{
  color: var(--primary);
  transition: transform .22s ease;
}

/* Risposta (collassabile) */
.faq-a{
  height: 0;
  overflow: hidden;
  border-top: 1px solid rgba(0,140,140,0.14);

  transition: height .34s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: height;
  transform: translateZ(0);          /* ✅ aiuta su mobile */
  -webkit-transform: translateZ(0);
}


.faq-a-inner{
  padding: 14px 18px 18px 18px;
  color: rgba(0, 140, 140, 0.92); /* acquagreen leggibile */
  line-height: 1.55;
  font-size: 0.98rem;
}
.faq-a-inner li::marker{
  color: rgba(0, 140, 140, 0.85);
}

.faq-a-inner ul{
  margin: 10px 0 0 18px;
  padding: 0;
}
.faq-a-inner li{ margin: 6px 0; }

/* Stato aperto */
.faq-card.open .faq-ico{
  transform: rotate(180deg);
}

/* Hover soft */
@media (hover:hover){
  .faq-q:hover{
    background: rgba(0,140,140,0.05);
  }
}

/* Mobile */
@media (max-width: 900px){
     .faq-a{
    transition-duration: .42s;  /* un filo più lenta = più “burro” */
  }
  .faq-header{ text-align: center; }

  .faq-header h1{
    font-size: 2.15rem;
    line-height: 1.12;
  }
  .faq-header h1 .brand-name{
    display: block;
    margin-top: 6px;
  }

  .faq-q-text{ font-size: 1.02rem; }
}
