/* ===== FAQ Page ===== */
.faq-page {
  padding: 80px 0;
}

.faq-page__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.faq-page__title {
  font-size: 50px;
  font-weight: var(--font-weight-medium);
  margin-bottom: 50px;
}

.faq-page__list {
  display: flex;
  flex-direction: column;
}

/* ===== FAQ Item (details/summary) ===== */
.faq-item {
  border-top: 1px solid #eee;
}

.faq-item:last-child {
  border-bottom: 1px solid #eee;
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 24px;
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: '+';
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 28px;
  font-weight: var(--font-weight-light);
  color: var(--color-text-light);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-item__question::after {
  content: '\00d7';
  font-size: 32px;
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 0 20px;
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.6;
  overflow: hidden;
  transition: max-height 0.3s ease, padding-bottom 0.3s ease;
}

.faq-item__answer p {
  margin-bottom: 8px;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.faq-item__answer ul {
  margin: 8px 0;
  padding-left: 20px;
  list-style: disc;
}

.faq-item__answer li {
  margin-bottom: 4px;
  list-style: disc;
}

.faq-item__answer a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-item__answer a:hover {
  color: #2d373c;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .faq-page {
    padding: 50px 0;
  }

  .faq-page__title {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .faq-item__question {
    font-size: 16px;
    padding: 18px 0;
  }

  .faq-item__answer {
    font-size: 14px;
  }
}

@media (max-width: 375px) {
  .faq-page__title {
    font-size: 26px;
  }
}
