/* FAQ：结构比例参考 Dustrium FAQ，品牌与内容使用 SUNHORSE 体系。 */
.faq-main {
  margin-top: var(--header-height);
  overflow: hidden;
}

.faq-hero {
  position: relative;
  display: grid;
  min-height: 410px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, #BDBDBD 0%, #8E8E8E 100%);
  color: var(--color-white);
}

.faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 53%, rgba(255, 255, 255, 0.09) 53% 57%, transparent 57%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 80px);
}

.faq-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.55) 35%, rgba(255, 255, 255, 0.35) 100%);
}

.faq-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.faq-hero h1 {
  font-family: var(--font-num);
  font-size: clamp(50px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.05;
}

.faq-hero p {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 500;
}

.faq-hero__note,
.faq-contact__note {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

/* 合作流程：保留参考页的六步编号结构，适配 SUNHORSE 的中文内容与品牌色。 */
.faq-process {
  padding: 112px 0;
  background-color: var(--color-bg-light);
}

.faq-process__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 56px;
}

.faq-process__eyebrow {
  margin-bottom: 14px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}

.faq-process__head h2 {
  color: var(--color-text-heading);
  font-size: 44px;
  line-height: 1.18;
}

.faq-process__head > p {
  max-width: 520px;
  color: var(--color-text-body);
  line-height: 1.8;
}

.faq-process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.faq-process__step {
  min-height: 250px;
  padding: 34px 34px 38px;
  border-right: 1px solid var(--color-border);
}

.faq-process__step:nth-child(3n) {
  border-right: 0;
}

.faq-process__step:nth-child(n + 4) {
  border-top: 1px solid var(--color-border);
}

.faq-process__step > span {
  display: block;
  margin-bottom: 44px;
  color: var(--color-primary);
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}

.faq-process__step h3 {
  margin-bottom: 14px;
  color: var(--color-text-heading);
  font-size: 22px;
}

.faq-process__step p {
  color: var(--color-text-body);
  font-size: 14px;
  line-height: 1.75;
}

.faq-section {
  padding: 112px 0;
  background-color: var(--color-white);
}

.faq-section__grid {
  display: grid;
  grid-template-columns: 35fr 65fr;
  gap: 64px;
  align-items: start;
}

.faq-section__intro {
  padding: 16px 32px 16px 0;
}

.faq-section__eyebrow {
  margin-bottom: 18px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}

.faq-section__intro h2 {
  margin-bottom: 22px;
  color: var(--color-text-heading);
  font-size: 35px;
  line-height: 1.2;
}

.faq-categories {
  display: flex;
  flex-direction: column;
  margin-top: 34px;
  border-top: 1px solid var(--color-border);
}

.faq-categories__button {
  width: 100%;
  padding: 17px 0;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: none;
  color: var(--color-text-body);
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.faq-categories__button:hover,
.faq-categories__button.is-active {
  color: var(--color-primary);
}

.faq-categories__button.is-active {
  padding-left: 16px;
  font-weight: 700;
  box-shadow: inset 3px 0 var(--color-primary);
}

.faq-accordion details {
  border-bottom: 1px solid var(--color-border);
}

.faq-accordion summary {
  position: relative;
  padding: 28px 56px 28px 0;
  color: var(--color-text-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

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

.faq-accordion summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 24px;
  color: var(--color-primary);
  font-family: var(--font-num);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
}

.faq-accordion details[open] summary {
  color: var(--color-primary);
}

.faq-accordion details[open] summary::after {
  content: "−";
}

.faq-accordion details > div {
  padding: 0 56px 28px 0;
}

.faq-accordion details p {
  color: var(--color-text-body);
  font-size: 16px;
  line-height: 1.75;
}

.faq-accordion details p + p {
  margin-top: 14px;
}

.faq-answer-list {
  margin-top: 10px;
  padding-left: 20px;
  color: var(--color-text-body);
  font-size: 16px;
  line-height: 1.75;
}

.faq-contact {
  position: relative;
  padding: 88px 0;
  background: #F1F3F5;
  color: var(--color-text-heading);
}

.faq-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .68), transparent 62%),
    repeating-linear-gradient(0deg, rgba(80, 84, 88, .035) 0 1px, transparent 1px 72px);
}

.faq-contact__overlay {
  position: absolute;
  inset: 0;
}

.faq-contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.faq-contact__intro {
  padding: 16px 48px 24px 0;
}

.faq-contact__intro h2 {
  margin-bottom: 22px;
  font-size: 39px;
  line-height: 1.25;
}

.faq-contact__intro > p {
  color: var(--color-text-body);
  line-height: 1.8;
}

.faq-contact__line {
  height: 1px;
  margin: 34px 0;
  background-color: var(--color-border);
}

.faq-contact__methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq-contact__methods dt {
  margin-bottom: 7px;
  font-size: 14px;
}

.faq-contact__methods dd {
  color: var(--color-text-body);
  font-size: 14px;
}

.faq-contact__address-image {
  height: 220px;
  margin-top: 34px;
  border-color: #C5C9CD;
  background-color: #E3E6E8;
  color: #8C9297;
}

.faq-contact__card {
  padding: 48px;
  background-color: var(--color-white);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1023px) {
  .faq-hero {
    min-height: 350px;
  }

  .faq-process {
    padding: 64px 0;
  }

  .faq-process__head {
    gap: 32px;
    margin-bottom: 40px;
  }

  .faq-process__head h2 {
    font-size: 36px;
  }

  .faq-process__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-process__step:nth-child(3n) {
    border-right: 1px solid var(--color-border);
  }

  .faq-process__step:nth-child(2n) {
    border-right: 0;
  }

  .faq-process__step:nth-child(n + 3) {
    border-top: 1px solid var(--color-border);
  }

  .faq-section {
    padding: 64px 0;
  }

  .faq-section__grid {
    gap: 32px;
  }

  .faq-section__intro {
    padding: 16px;
  }

  .faq-section__intro h2,
  .faq-contact__intro h2 {
    font-size: 31px;
  }

  .faq-accordion summary {
    padding: 21px 42px 21px 0;
    font-size: 15px;
  }

  .faq-accordion details > div {
    padding: 0 42px 21px 0;
  }

  .faq-contact {
    padding: 56px 0;
  }

  .faq-contact__grid {
    gap: 32px;
  }

  .faq-contact__intro {
    padding: 16px 16px 24px;
  }

  .faq-contact__card {
    padding: 36px;
  }

  .faq-contact__address-image { height: 180px; }

}

@media (max-width: 767px) {
  .faq-hero {
    min-height: 300px;
  }

  .faq-hero h1 {
    font-size: 42px;
  }

  .faq-hero p {
    font-size: 19px;
  }

  .faq-process {
    padding: 48px 0;
  }

  .faq-process__head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 32px;
  }

  .faq-process__head h2 {
    font-size: 28px;
  }

  .faq-process__steps {
    grid-template-columns: 1fr;
  }

  .faq-process__step,
  .faq-process__step:nth-child(2n),
  .faq-process__step:nth-child(3n) {
    min-height: 0;
    padding: 26px 0 30px;
    border-top: 1px solid var(--color-border);
    border-right: 0;
  }

  .faq-process__step:first-child {
    border-top: 0;
  }

  .faq-process__step > span {
    margin-bottom: 22px;
  }

  .faq-hero__note,
  .faq-contact__note {
    right: 16px;
    bottom: 12px;
    left: 16px;
    text-align: center;
  }

  .faq-section {
    padding: 48px 0;
  }

  .faq-section__grid,
  .faq-contact__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .faq-section__intro {
    padding: 0;
  }

  .faq-section__intro h2,
  .faq-contact__intro h2 {
    font-size: 27px;
  }

  .faq-categories {
    flex-direction: row;
    gap: 24px;
    overflow-x: auto;
    margin-top: 24px;
    border-top: 0;
    border-bottom: 1px solid var(--color-border);
    scrollbar-width: none;
  }

  .faq-categories::-webkit-scrollbar {
    display: none;
  }

  .faq-categories__button,
  .faq-categories__button.is-active {
    width: auto;
    flex: 0 0 auto;
    padding: 0 0 12px;
    box-shadow: none;
  }

  .faq-categories__button.is-active {
    border-bottom: 2px solid var(--color-primary);
  }

  .faq-accordion summary {
    padding: 18px 40px 18px 0;
    font-size: 14px;
  }

  .faq-accordion summary::after {
    right: 8px;
    font-size: 21px;
  }

  .faq-accordion details > div {
    padding: 0 40px 18px 0;
  }

  .faq-accordion details p {
    font-size: 14px;
  }

  .faq-answer-list {
    font-size: 14px;
  }

  .faq-contact {
    padding: 48px 0;
  }

  .faq-contact__intro {
    padding: 0 0 24px;
    text-align: center;
  }

  .faq-contact__methods {
    grid-template-columns: 1fr;
  }

  .faq-contact__card {
    padding: 28px 20px;
  }
}
