/* ==========================================================================
   FAQ Section — AI Gateway page.
   A 2-column grid displaying frequently asked questions. Uses a clean white
   background (#fff) to contrast with the preceding light warm section (#f7f6f2).
   Motion: scroll-reveal rise + stagger for FAQ items.
   ========================================================================== */

.pg-faq {
  background-color: #fff;
  padding: 120px 0 140px;
}

.pg-faq__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

/* --- Head --- */
.pg-faq__head {
  margin-bottom: 64px;
}

.pg-faq__kicker {
  font-family: "Cabin", sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #0036fa, #4e87fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pg-faq__title {
  font-family: "Cabin", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #12140f;
  margin-top: 18px;
}

/* --- Grid --- */
.pg-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
}

.pg-faq__col {
  display: flex;
  flex-direction: column;
}

/* --- Item --- */
.pg-faq__item {
  padding: 32px 0;
  border-top: 1px solid #e6e4db;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pg-faq__item:hover {
  border-top-color: #0036fa;
}

.pg-faq__q {
  font-family: "Cabin", sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 28px;
  color: #12140f;
  transition: color 0.3s ease;
}

.pg-faq__item:hover .pg-faq__q {
  color: #0036fa;
}

.pg-faq__a {
  font-family: "Cabin", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #4d4d4d;
  margin-top: 12px;
}

.pg-faq__link {
  color: #0036fa;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.pg-faq__link:hover {
  color: #4e87fc;
  text-decoration: underline;
}

/* --- scroll-reveal (site motion language) --- */
.pg-faq__head,
.pg-faq__item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.pg-faq__head.is-in,
.pg-faq__item.is-in {
  opacity: 1;
  transform: none;
}

.pg-faq__item.is-in:nth-child(1) { transition-delay: 0.05s; }
.pg-faq__item.is-in:nth-child(2) { transition-delay: 0.10s; }
.pg-faq__item.is-in:nth-child(3) { transition-delay: 0.15s; }
.pg-faq__item.is-in:nth-child(4) { transition-delay: 0.20s; }
.pg-faq__item.is-in:nth-child(5) { transition-delay: 0.25s; }

@media (prefers-reduced-motion: reduce) {
  .pg-faq__head,
  .pg-faq__item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- responsive --- */
@media (max-width: 1040px) {
  .pg-faq {
    padding: 88px 0;
  }
  .pg-faq__inner {
    padding: 0 24px;
  }
  .pg-faq__grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .pg-faq__title {
    font-size: 32px;
  }
  .pg-faq__item:first-child {
    border-top: none;
  }
}

@media (max-width: 600px) {
  .pg-faq__title {
    font-size: 28px;
  }
  .pg-faq__q {
    font-size: 17px;
    line-height: 25px;
  }
  .pg-faq__a {
    font-size: 15px;
    line-height: 24px;
  }
}
