.treatment-faq {
  position: relative;
  padding: clamp(72px, 10vw, 148px) clamp(20px, 6vw, 92px);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

.treatment-faq--hifu {
  background: #0b322e;
  color: #f7f4ec;
}

/* The source HIFU bundle includes question-only prompts; the enhanced section supplies the accessible question-and-answer experience. */
body[data-treatment-faq="hifu"] .faq-section {
  display: none;
}

.treatment-faq--labiaplasty {
  background: #f1e8e1;
  color: #332a25;
}

.treatment-faq__shell {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.treatment-faq__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.62fr);
  column-gap: clamp(48px, 10vw, 160px);
  align-items: end;
  margin-bottom: clamp(36px, 6vw, 72px);
}

.treatment-faq__kicker {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.treatment-faq__kicker::before {
  width: 30px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.65;
}

.treatment-faq__intro h2 {
  margin: 0;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(32px, 4.35vw, 60px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.055em;
}

.treatment-faq__intro > p:not(.treatment-faq__note) {
  max-width: 440px;
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: -0.02em;
  opacity: 0.82;
}

.treatment-faq__note {
  grid-column: 2;
  margin: 20px 0 0;
  font-size: 12px;
  line-height: 1.75;
  opacity: 0.62;
}

.treatment-faq__list {
  border-top: 1px solid color-mix(in srgb, currentColor 36%, transparent);
}

.treatment-faq__item {
  border-bottom: 1px solid color-mix(in srgb, currentColor 28%, transparent);
}

.treatment-faq__item summary {
  display: grid;
  grid-template-columns: 54px 1fr 34px;
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 27px 4px 25px;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: color 180ms cubic-bezier(0.23, 1, 0.32, 1), padding 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.treatment-faq__item summary::-webkit-details-marker {
  display: none;
}

.treatment-faq__item summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

.treatment-faq__item summary:hover {
  color: #dca978;
}

.treatment-faq--labiaplasty .treatment-faq__item summary:hover {
  color: #98634f;
}

.treatment-faq__number {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.62;
}

.treatment-faq__question {
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.treatment-faq__icon {
  position: relative;
  width: 26px;
  height: 26px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.78;
  transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), background 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.treatment-faq__icon::before,
.treatment-faq__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.treatment-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.treatment-faq__item[open] .treatment-faq__icon {
  color: #0b322e;
  background: #f7f4ec;
  transform: rotate(90deg);
}

.treatment-faq--labiaplasty .treatment-faq__item[open] .treatment-faq__icon {
  color: #f1e8e1;
  background: #50362c;
}

.treatment-faq__item[open] .treatment-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.treatment-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms cubic-bezier(0.23, 1, 0.32, 1), opacity 200ms cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0;
}

.treatment-faq__item[open] .treatment-faq__answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.treatment-faq__answer-inner {
  overflow: hidden;
}

.treatment-faq__answer p {
  max-width: 760px;
  margin: 0 42px 30px 72px;
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: -0.018em;
  opacity: 0.82;
}

.treatment-faq__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(38px, 5vw, 62px);
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, currentColor 36%, transparent);
  font-size: 14px;
}

.treatment-faq__footer > span {
  opacity: 0.75;
}

.treatment-faq__footer a {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding: 13px 17px;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background 180ms cubic-bezier(0.23, 1, 0.32, 1), color 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.treatment-faq__footer a:hover {
  color: #0b322e;
  background: #f7f4ec;
  transform: translateY(-2px);
}

.treatment-faq--labiaplasty .treatment-faq__footer a:hover {
  color: #f1e8e1;
  background: #50362c;
}

.treatment-faq__footer a:active {
  transform: scale(0.97);
}

.treatment-faq__footer b {
  font-size: 17px;
  font-weight: 500;
}

@media (max-width: 720px) {
  .treatment-faq {
    padding: 68px 20px;
  }

  .treatment-faq__intro {
    display: block;
    margin-bottom: 33px;
  }

  .treatment-faq__intro > p:not(.treatment-faq__note) {
    margin-top: 20px;
    font-size: 14px;
  }

  .treatment-faq__note {
    margin-top: 14px;
  }

  .treatment-faq__item summary {
    grid-template-columns: 33px 1fr 26px;
    gap: 10px;
    padding: 21px 0;
  }

  .treatment-faq__number {
    font-size: 10px;
  }

  .treatment-faq__question {
    font-size: 16px;
  }

  .treatment-faq__icon {
    width: 24px;
    height: 24px;
  }

  .treatment-faq__answer p {
    margin: 0 0 24px 43px;
    font-size: 14px;
    line-height: 1.85;
  }

  .treatment-faq__footer {
    align-items: flex-start;
    flex-direction: column;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .treatment-faq *,
  .treatment-faq *::before,
  .treatment-faq *::after {
    transition-duration: 0.01ms !important;
  }
}
