/*  
	Theme Name: Artsurfcamp 
	Version: 1.0 2025
    Contenido: Faqs
	Author: hctr
*/

.faqs {
  width: 100%;
}

.faqs__container {
  width: 100%;
  padding: 9rem 2.2rem 8.5rem 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10%;
}

.faqs__titulo {
  flex: 1 0.2 20%;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-start;
  gap: 2.5rem;
}

.faqs__titulo div span {
  font-size: var(--size--70);
  font-weight: normal;
  line-height: 1;
  color: var(--color--secundario);
  text-transform: uppercase;
}

.faqs__titulo h2 span {
  font-size: var(--size--15);
  font-weight: normal;
  line-height: 1.3;
  color: var(--color--secundario);
}

.faqs__contenido {
  flex: 1 0.8 80%;
  display: flex;
  flex-direction: column;
  border-top: 0.5px solid var(--color--secundario);
}

.faqs__item {
  width: 100%;
  padding: 2.6rem 0 2.1rem 0;
  border-bottom: 0.5px solid var(--color--secundario);
}

.faqs__item h3 {
  width: 100%;
  font-size: var(--size--16);
  font-weight: normal;
  line-height: 1;
  color: var(--color--secundario);
  text-transform: uppercase;
  text-align: right;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faqs__item h3::before {
  content: "";
  width: 1.8rem;
  max-width: 1.8rem;
  min-width: 1.8rem;
  height: 1.8rem;
  border-radius: 100%;
  border: 0.1rem solid var(--color--secundario);
  display: block;
}

.faqs__item h3:hover::before {
  background-color: var(--color--secundario);
}

.faqs__item div {
  padding-left: 5rem;
  max-height: 0;
  overflow: hidden;
}

.faqs__item.activo div {
  max-height: 999rem;
}

@media (max-width: 799px) {
  .faqs__container {
    flex-direction: column;
    align-items: center;
    gap: 4rem;
  }
  .faqs__contenido {
    flex: 1 0 100%;
  }
  .faqs__titulo {
    flex: 1 0 100%;
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 639px) {
  .faqs__item h3 {
    text-align: center;
    justify-content: center;
  }
  .faqs__item h3::before {
    display: none;
  }
  .faqs__item div {
    padding-left: 0;
  }
}
