/* FAQ Section - BEM Methodology with SFC Design System */
.faq {
  position: relative;
  padding: var(--sfc-space-3xl) 0 20px;
  background: var(--sfc-color-bg-white);
}

.faq__corner-decoration {
    position: absolute;
    top: -53px;
    right: 0;
    /* width: 100%; */
    max-width: 134px;
    max-height: 167px;
    object-fit: contain;
    height: 201px;
    pointer-events: none;
    z-index: 10;
}

.faq__container {
  width: min(960px, 90vw);
  margin: 0 auto;
}

.faq__header {
  display: flex;
  flex-direction: column;
  gap: var(--sfc-space-md);
  align-items: center;
  text-align: center;
  max-width: 808px;
  margin: 0 auto 60px;
}

.faq__title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.faq__title {
  font-family: var(--sfc-font-primary);
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--sfc-color-primary);
  margin: 0;
}

.faq__brush-decoration {
  width: 360px;
  height: 15px;
}

.faq__intro {
  font-family: var(--sfc-font-primary);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--sfc-color-text-black);
  max-width: 760px;
  text-align: center;
  margin: 0;
}

.faq__list {
  display: grid;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto;
}

.faq__item {
  border: none;
  border-radius: 10px;
  background: transparent;
  overflow: hidden;
}

.faq__question {
  font-family: var(--sfc-font-primary);
  width: 100%;
  text-align: left;
  padding: 20px 30px;
  background: var(--sfc-color-primary);
  border: none;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  cursor: pointer;
  transition: var(--sfc-transition-base);
}

.faq__question:hover {
  background: var(--sfc-color-primary-light);
}

.faq__question span:first-child {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--sfc-color-text-light);
}

.faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transform: rotate(180deg);
  transition: transform var(--sfc-transition-base);
}

.faq__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.faq__icon svg path {
  stroke: white;
}

.faq__item.is-open .faq__icon {
  transform: rotate(0deg);
}

.faq__answer {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.faq__answer-inner {
  font-family: var(--sfc-font-primary);
  padding: 0 30px 30px;
  font-size: 18px;
    padding-top: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--sfc-color-text-black);
}



.faq__answer-inner p {
  margin: 0;
}

/* Tablet */
@media (max-width: 1100px) {
  .faq {
    padding: var(--sfc-space-2xl) var(--sfc-space-lg) 20px;
  }

  .faq__title {
    font-size: 48px;
  }

  .faq__intro {
    font-size: 20px;
  }

  .faq__brush-decoration {
    width: 280px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .faq {
    padding: var(--sfc-space-xl) var(--sfc-space-sm) 20px;
  }

  .faq__title {
    font-size: 36px;
  }

  .faq__intro {
    font-size: 18px;
  }

  .faq__question {
    padding: 16px 20px;
    gap: 20px;
  }

  .faq__question span:first-child {
    font-size: 18px;
  }

  .faq__answer-inner {
    padding: 0 20px 20px;
    font-size: 16px;
  }

  .faq__brush-decoration {
    width: 240px;
  }
}
