.faq-page {
  background: #ffffff;
}

.faq-hero {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.faq-hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.88) 28%, rgba(255, 255, 255, 0.2) 58%, rgba(255, 255, 255, 0.06) 100%),
    url("/images/redesign/faq/faq-banner1.png") no-repeat center / cover;
}

.faq-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.faq-hero__copy {
  width: min(100%, 1020px);
  padding: 84px 0 52px;
}

.faq-hero__copy h1 {
  margin: 0;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.05em;
  color: #1b1b1b;
}

.faq-hero__copy p {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: #555555;
}

.faq-categories {
  position: sticky;
  top: 64px;
  z-index: 8;
  background: #ffffff;
  border-bottom: 1px solid #edf1f7;
}

.faq-categories__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 24px 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.faq-categories__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid #dfe7f3;
  border-radius: 999px;
  background: #ffffff;
  color: #222222;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.faq-categories__link:hover,
.faq-categories__link:focus-visible,
.faq-categories__link.is-active {
  border-color: #014ed9;
  background: #eff5ff;
  color: #014ed9;
  transform: translateY(-1px);
}

.faq-page__content {
  padding: 0;
}

.faq-group,
.faq-insight {
  padding-top: 110px;
}

.faq-group:first-child {
  padding-top: 76px;
}

.faq-group__head {
  margin-bottom: 8px;
  text-align: center;
}

.faq-group__head h2 {
  margin: 0;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.04em;
  color: #202020;
}

.faq-group__head span {
  margin-left: 8px;
  font-size: 18px;
  font-weight: 500;
  color: #777777;
}

.faq-group .faq-list {
  max-width: 1180px;
  margin-top: 0;
}

.faq-page .faq-btn {
  padding: 34px 0;
  font-size: 18px;
}

.faq-page .faq-btn:hover,
.faq-page .faq-item.is-open .faq-btn {
  color: #014ed9;
}

.faq-page .faq-btn::after {
  content: "+";
  font-size: 30px;
  font-weight: 300;
}

.faq-page .faq-item.is-open .faq-btn::after {
  content: "-";
}

.faq-group .faq-panel {
  max-width: 1120px;
}

.faq-group .faq-panel p {
  padding: 18px 0 0;
}

.faq-group .faq-panel p:last-child {
  padding-bottom: 70px;
}

.faq-group .faq-panel p+p {
  margin-top: 10px;
}

.faq-insight__list {
  display: grid;
  gap: 22px;
  max-width: 1180px;
  margin: 44px auto 0;
}

.faq-insight__card {
  padding: 34px 36px 30px;
  border: 1px solid #e5eaf3;
  background: #ffffff;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.faq-insight__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15, 43, 94, 0.08);
}

.faq-insight__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 28px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.faq-insight__badge--blue {
  background: #005EB8;
}

.faq-insight__badge--orange {
  background: #e48d2c;
}

.faq-insight__card h3 {
  margin: 22px 0 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.04em;
  color: #1f1f1f;
}

.faq-insight__card p {
  max-width: 920px;
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: #666666;
}

.faq-insight__card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: #808aa0;
  transition: color 0.2s ease;
}

.faq-insight__card a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.faq-insight__card a:hover,
.faq-insight__card a:focus-visible {
  color: #014ed9;
}

.faq-insight__action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}



body[data-page="faq"] [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

body[data-page="faq"] [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="faq"] [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1200px) {
  .faq-hero__copy h1 {
    font-size: 46px;
  }

  .faq-group__head h2 {
    font-size: 44px;
  }

  .faq-insight__card h3 {
    font-size: 30px;
  }
}

@media (max-width: 1024px) {
  .faq-categories {
    top: 36px;
  }

  .faq-categories__nav {
    padding: 22px 0 18px;
  }

  .faq-page__content {
    padding-top: 0;
  }

  .faq-group:first-child {
    padding-top: 72px;
  }

  .faq-group,
  .faq-insight {
    scroll-margin-top: 210px;
  }

  .faq-group__head h2 {
    font-size: 38px;
  }

  .faq-group__head span {
    display: block;
    margin: 6px 0 0;
  }

  .faq-insight__card {
    padding: 28px 26px;
  }
}

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

  .faq-hero__inner {
    min-height: 320px;
  }

  .faq-hero__copy {
    width: min(100%, 420px);
    padding: 76px 0 40px;
  }

  .faq-hero__copy h1 {
    font-size: 34px;
  }

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

  .faq-categories__nav {
    justify-content: flex-start;
    gap: 10px;
    padding: 18px 0 16px;
  }

  .faq-categories__link {
    min-width: 96px;
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }

  .faq-page__content {
    padding-top: 0;
  }

  .faq-group:first-child {
    padding-top: 64px;
  }


  @media (max-width: 1024px) {

    .faq-group,
    .faq-insight {
      scroll-margin-top: 180px;
    }
  }

  .faq-group__head h2 {
    font-size: 32px;
  }

  .faq-page .faq-btn {
    font-size: 17px;
  }

  .faq-insight__card h3 {
    font-size: 24px;
  }

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

@media (max-width: 480px) {
  .faq-hero__copy h1 {
    font-size: 28px;
  }

  .faq-group:first-child {
    padding-top: 40px;
  }

  .faq-group,
  .faq-insight {
    scroll-margin-top: 160px;
  }

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

  .faq-group__head span {
    font-size: 14px;
  }

  .faq-page .faq-btn::after {
    font-size: 24px;
  }

  .faq-insight__card {
    padding: 22px 18px;
  }

  .faq-insight__badge {
    min-width: 76px;
  }
}

/* =========================
   CTA - FAQ
========================= */

.site-cta--faq {
  margin-top: 150px;
  min-height: 540px;
  border-top: 0;
  background: #f7faff;
}

.site-cta--faq .site-cta__backdrop {
  background: url("/images/redesign/faq/faq-banner2.png") no-repeat center center /cover;
  opacity: 1;
}

.site-cta--faq .site-cta__inner {
  grid-template-columns: 1fr;
  min-height: 540px;
  padding: 0;
}

.site-cta--faq .site-cta__visual {
  display: none;
}

.site-cta--faq .site-cta__copy {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-cta--faq .site-cta__copy h2 {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.04em;
  color: #1e1e1e;
}

.site-cta--faq .site-cta__copy p {
  display: none;
}

.site-cta--faq .site-cta__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 48px;
  width: auto;
}

.site-cta--faq .site-cta__actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 260px;
  height: 56px;
  padding: 0 32px;

  flex: 0 0 auto;
}

.site-cta--faq .site-cta__actions .button--primary {
  background: #014ed9;
  border-color: #014ed9;
  color: #ffffff;
}

.site-cta--faq .site-cta__actions .button--dark {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
}

/* 모바일 */
@media (max-width: 767px) {

  .site-cta--faq {
    margin-top: 90px;
    min-height: 420px;
  }

  .site-cta--faq .site-cta__inner {
    min-height: 420px;
    padding: 60px 0;
  }

  .site-cta--faq .site-cta__copy h2 {
    font-size: 28px;
  }

  .site-cta--faq .site-cta__actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 36px;
  }

  .site-cta--faq .site-cta__actions .button {
    width: 100%;
    max-width: 320px;
    min-width: 0;
  }
}
