/* Sunny FAQ — Figma Component9 (11:17) (rem 베이스: html 10px) */

.sunny-faq {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 10rem 0 12rem;
  overflow: visible;
  background-color: #ffffff;
  box-sizing: border-box;
}

.sunny-faq *,
.sunny-faq *::before,
.sunny-faq *::after {
  box-sizing: border-box;
}

/* Group9 — 사각형11(#ff671f 10%) + sunny_side1(10%) */
.sunny-faq__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.sunny-faq__bg-tint {
  position: absolute;
  inset: 0;
  background-color: #ff671f;
  opacity: 0.1;
}

.sunny-faq__bg-watermark {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
}

/* Frame21 — 콘텐츠 높이에 맞춰 자동 확장 */
.sunny-faq__stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 167.8rem;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sunny-faq__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 0:92 — 50px orange, h60 */
.sunny-faq__title {
  margin: 0;
  padding: 0;
  color: #ff671f;
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  font-size: clamp(4.2rem, 2.604vw, 5rem);
  font-weight: 600;
  line-height: 6rem;
  text-align: center;
}

/* Frame20 — 1638×398, gap 72.692px from title(60) */
.sunny-faq__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(1.6rem, 1.563vw, 3rem);
  width: 100%;
  margin-top: 7.27rem;
}

/* 사각형 27 — 387×398, radius 30px */
.sunny-faq__card {
  width: 100%;
  height: auto;
  min-height: 39.8rem;
  padding: 5.7rem 2rem 4.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background-color: #ff671f;
  border-radius: 3rem;
}

.sunny-faq__num {
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  font-size: clamp(3rem, 1.875vw, 3.6rem);
  font-weight: 700;
  line-height: 4.3rem;
  margin-bottom: 1.8rem;
}

.sunny-faq__question {
  margin: 0;
  padding: 0;
  align-self: center;
  color: #ffffff;
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  font-size: clamp(2.9rem, 1.875vw, 3.6rem);
  font-weight: 600;
  line-height: 4.8rem;
  margin-bottom: 3.9rem;
  min-height: 0;
  display: block;
}

.sunny-faq__answer {
  margin: 0;
  padding: 0;
  align-self: stretch;
  color: #ffffff;
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  font-size: clamp(2.2rem, 1.354vw, 2.6rem);
  font-weight: 500;
  line-height: 3.2rem;
  display: block;
  width: 100%;
}

.sunny-faq__card:nth-child(2) .sunny-faq__answer,
.sunny-faq__card:nth-child(3) .sunny-faq__answer,
.sunny-faq__card:nth-child(4) .sunny-faq__answer {
  font-size: clamp(2.1rem, 1.25vw, 2.4rem);
}

.sunny-faq__card:nth-child(3) .sunny-faq__question,
.sunny-faq__card:nth-child(4) .sunny-faq__question {
  font-size: clamp(2.8rem, 1.771vw, 3.4rem);
}

@media (max-width: 1280px) {
  .sunny-faq__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3rem;
  }
}

@media (max-width: 768px) {
  .sunny-faq {
    padding: 8rem 0;
  }

  .sunny-faq__stage {
    max-width: 76.8rem;
    padding: 0 2rem;
  }

  .sunny-faq__title {
    font-size: 3.8rem;
    line-height: 4.4rem;
  }

  .sunny-faq__cards {
    grid-template-columns: 1fr;
    margin-top: 4rem;
    row-gap: 2.4rem;
  }

  .sunny-faq__card {
    height: auto;
    min-height: 36rem;
    padding: 4rem 2.4rem 4.8rem;
  }

  .sunny-faq__num {
    font-size: 3.2rem;
    line-height: 1.4;
  }

  .sunny-faq__question {
    font-size: 3.2rem;
    line-height: 1.4;
  }

  .sunny-faq__card:nth-child(3) .sunny-faq__question,
  .sunny-faq__card:nth-child(4) .sunny-faq__question {
    font-size: 3.2rem;
  }

  .sunny-faq__answer {
    font-size: 2.8rem;
    line-height: 1.4;
  }

  .sunny-faq__card:nth-child(2) .sunny-faq__answer,
  .sunny-faq__card:nth-child(3) .sunny-faq__answer,
  .sunny-faq__card:nth-child(4) .sunny-faq__answer {
    font-size: 2.8rem;
  }
}
