#faq {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 80px 100px;
  width: 100%;
}

#faq h2 {
  color: #000;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

#faq ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  max-width: 1080px;
  padding: 0;
  width: 100%;
}

#faq li {
  margin: 0;
  padding: 0;
}

#faq details {
  background: #fff;
  width: 100%;
}

#faq summary {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #242528;
  cursor: pointer;
  display: grid;
  font-size: 18px;
  font-weight: 700;
  gap: 20px;
  grid-template-columns: auto 1fr 40px;
  line-height: 1.85;
  list-style: none;
  padding: 15px;
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::before {
  color: #ff6f61;
  content: "Q";
  font-size: 28px;
  line-height: 1;
}

#faq summary::after {
  align-items: center;
  border: 1px solid rgba(36, 37, 40, 0.1);
  border-radius: 50%;
  content: "+";
  display: flex;
  font-size: 24px;
  font-weight: 400;
  height: 40px;
  justify-content: center;
  line-height: 1;
  width: 40px;
}

#faq details[open] summary::after {
  content: "−";
}

#faq summary:hover,
#faq summary:focus-visible {
  border-color: rgba(36, 37, 40, 0.7);
  outline: none;
}

#faq details p {
  color: #242528;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.75;
  margin: 0;
  padding: 15px;
}

@media (max-width: 840px) {
  #faq {
    padding: 100px 40px;
  }

  #faq h2 {
    font-size: 36px;
  }
}

@media (max-width: 540px) {
  #faq {
    padding: 32px 16px;
  }

  #faq h2 {
    font-size: 24px;
  }

  #faq summary {
    font-size: 14px;
    grid-template-columns: auto 1fr 24px;
  }

  #faq summary::before {
    font-size: 18px;
  }

  #faq summary::after {
    font-size: 16px;
    height: 24px;
    width: 24px;
  }

  #faq details p {
    font-size: 14px;
    padding: 8px 16px;
  }
}
