@charset "utf-8";

.section--faq{
    padding: 60px 15px 60px;
    padding-top: 100px;
   
}
.faq__subtitle{
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 46px; 
  letter-spacing: 1px;
  padding-top: 100px;
}

.faq__nav {
  margin-bottom: 20px;
  text-align: center;
}

.faq__nav__list {
    display: flex;
    margin: 0;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.faq__nav__list a {
  display: flex;
  padding: 12px 16px;
  background-color: var(---primary--whiteLow);
  border-radius: 8px;
  text-decoration: none;
   box-sizing: border-box;
}


.faq-item + .faq-item {
    margin-top: 0px;
  }
  
  .faq-question {
    font-size: 14px;
    line-height: 24px; 
    letter-spacing: 1px;
    width: 100%;
    border: none;
    padding: 15px;
    text-align: left;
    position: relative;
    cursor: pointer;
    border-top: 1px solid;
    display: inline-flex;
    align-items: center;
    gap: 1.5em;
}
  
  .faq-question .arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary--skyBlue);
    border-bottom: 2px solid var(--primary--skyBlue);
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform-origin: center;
    transition: transform 0.3s ease;
  }

.faq-question span{
    color: #71AABE;
    font-size: 22px;
    font-weight: 500;
    line-height: 22px; 
    letter-spacing: 3px;
}
  
  .faq-item.open .faq-question .arrow {
    transform: rotate(-135deg);
  }

  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1.5rem;
    font-size: 14px;
    line-height: 24px; 
    letter-spacing: 1px;
    border-top: 1px solid;
    background-color: var( ---primary--whiteLow);
    border: none;
  }
  
  .faq-item.open .faq-answer {
    max-height: 300px; 
    padding: 1.5rem;

  }

  .faq-item{
    margin-top: 30px;
  }
.faq-answer p{
    padding: 15px;
}
.open .faq-answer{
    border-top: 1px dotted;
 } 
 .faq-question .arrow{
    transition: transform 0.1s ease;
 }

@media screen and (min-width: 769px){
.section--faq{
    padding: 200px 60px 120px 60px;
}

.faq-question {
    font-size: 1.8rem;
    line-height: 24px;
    letter-spacing: 3px;
    width: 100%;
    border: none;
    padding: 15px;
    text-align: left;
    position: relative;
    cursor: pointer;
    border-radius: 15px;
    border: 1px solid #D9D9D9;
    width: calc(100% - 114px);
    padding: 26px 28px 22px 39px;
    gap: 2em;
    margin-bottom: 25px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height  -2.6s ease;
    padding: 0 1.5rem;
    font-size: 20px;
    line-height: 24px; 
    letter-spacing: 1px;
    width: calc(100% - 114px);
    background-color: var( ---primary--whiteLow);
    border-radius: 0 0 15px 15px;
    
}

.open .faq-question {
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}
 .open .faq-answer{
    border-top: 1px dotted;
 }   
 .faq-item + .faq-item {
    margin-top: 10px;
  }   

.faq__subtitle {
  font-size: 2.4rem;
  line-height: 54px; 
  letter-spacing: 3px;
  padding-top: 140px;

}
.faq-question .arrow{
  right: 3.5rem;
}
 .faq__nav__list {
    gap: 30px;
    margin-top: 80px;
  }

  .faq__nav__list a {
    width: 170px;
    padding: 30px 20px;
    font-size: 16px;
    justify-content: center;
  }

} 
  