/* FAQ PAGE — fq-* namespace */

/* ── Hero ──────────────────────────────────────────────────────────────── */
.fq-hero {
  position: relative;
  max-width: 1380px;
  width: 100%;
  margin: 48px auto 0;
  padding: 52px 40px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 110% 200% at -10% 50%, rgba(10, 132, 255, .12) 0%, transparent 58%),
    radial-gradient(ellipse 100% 180% at 110% 50%, rgba(191, 90, 242, .12) 0%, transparent 58%),
    var(--card-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  align-items: center;
  gap: 2rem;
}

.fq-hero__eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.fq-hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw + .5rem, 2.8rem);
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.fq-hero__sub {
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 22px;
}

.fq-hero__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  padding: 6px 6px 6px 14px;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.fq-hero__search:focus-within {
  border-color: rgba(10, 132, 255, .45);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, .1);
}

.fq-hero__search-icon {
  flex-shrink: 0;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
}

.fq-hero__search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: .875rem;
  color: var(--ink);
  font-family: inherit;
  min-width: 0;
}

.fq-hero__search-input::placeholder {
  color: var(--ink-soft);
  opacity: .7;
}

.fq-hero__search-btn {
  flex-shrink: 0;
  padding: 7px 18px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #0a84ff, #bf5af2);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  border: none;
  cursor: pointer;
  transition: filter .25s ease, transform .2s ease;
}

.fq-hero__search-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.fq-hero__img {
  width: clamp(110px, 13vw, 170px);
  height: auto;
  object-fit: contain;
  opacity: .85;
  filter: drop-shadow(0 12px 32px rgba(10, 132, 255, .22));
  position: relative;
  z-index: 1;
}

/* ── FAQ Section Heading ───────────────────────────────────────────────── */
.fq-section-hd {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 2.25rem 0 .875rem;
}

.fq-section-hd__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}

.fq-section-hd__count {
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ── FAQ Grid ──────────────────────────────────────────────────────────── */
.fq-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.fq-grid--search {
  display: block;
}

.fq-grid--search .fq-card {
  width: 100%;
  margin-bottom: 10px;
}

.fq-noresult {
  width: 100%;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--ink-soft);
  font-size: .95rem;
  font-style: italic;
}

/* ── FAQ Card ──────────────────────────────────────────────────────────── */
.fq-card {
  width: calc(50% - 5px);
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  overflow: hidden;
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .22s cubic-bezier(.2, .7, .2, 1);
}


.fq-card:hover {
  border-color: rgba(10, 132, 255, .55);
  box-shadow: 0 6px 24px -6px rgba(10, 132, 255, .48);
  transform: translateY(-2px);
}

.fq-card:last-child:nth-child(odd) {
  width: 100%;
}

.fq-card.open {
  border-color: rgba(10, 132, 255, .35);
  box-shadow: 0 8px 28px -8px rgba(10, 132, 255, .2);
  transform: none;
}

.fq-card__hd {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  transition: background .2s ease;
}

.fq-card.open .fq-card__hd {
  background: rgba(10, 132, 255, .03);
}

.fq-card__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--ink-soft);
  flex-shrink: 0;
  margin-top: 1px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.fq-card.open .fq-card__num {
  background: linear-gradient(135deg, #0a84ff, #bf5af2);
  color: #fff;
  border-color: transparent;
}

.fq-card__q {
  flex: 1;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  transition: color .2s ease;
}

.fq-card:hover .fq-card__q,
.fq-card.open .fq-card__q {
  color: var(--blue);
}

/* Chevron — wrapper + ::before border trick */
.fq-card__chv {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.fq-card__chv::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  border-radius: 1px;
  transform: rotate(45deg);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), border-color .25s ease;
}

.fq-card.open .fq-card__chv::before {
  transform: rotate(-135deg);
  border-color: #0a84ff;
}

/* Answer */
.fq-card__ans {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s cubic-bezier(.4, 0, .2, 1);
}

.fq-card.open .fq-card__ans {
  max-height: 900px;
}

.fq-card__ans-bd {
  padding: .875rem 1.25rem .875rem 3.75rem;
  border-top: 1px solid var(--glass-border);
  background: rgba(10, 132, 255, .022);
}

.fq-card__ans-bd p {
  font-size: .9rem;
  color: var(--ink-secondary);
  line-height: 1.72;
}

/* ── Bottom Row ────────────────────────────────────────────────────────── */
.fq-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 3rem;
  align-items: stretch;
}

/* ── Contact Card ──────────────────────────────────────────────────────── */
.fq-contact-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 30px;
  border-radius: 22px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.fq-contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 140% 220% at -10% 50%, rgba(10, 132, 255, .09) 0%, transparent 54%);
  pointer-events: none;
}

.fq-contact-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #bf5af2, #0a84ff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(191, 90, 242, .28);
  color: #fff;
  position: relative;
  z-index: 1;
}

.fq-contact-card__body {
  flex: 1;
  position: relative;
  z-index: 1;
}

.fq-contact-card__title {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}

.fq-contact-card__sub {
  font-size: .875rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 16px;
}

.fq-contact-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #0a84ff, #bf5af2);
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  transition: filter .28s ease, transform .28s ease, box-shadow .28s ease;
}

.fq-contact-card__btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(10, 132, 255, .4);
}

/* ── Subscribe override — FAQ page only ────────────────────────────────── */
.fq-subscribe-wrap {
  display: flex;
  align-items: stretch;
}

.fq-subscribe-wrap .subscribe {
  display: block;
  margin: 0;
  max-width: 100%;
  width: 100%;
  padding: 28px 30px;
  border-radius: 22px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.fq-subscribe-wrap .subscribe::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 140% 220% at 110% 50%, rgba(191, 90, 242, .09) 0%, transparent 54%);
  pointer-events: none;
}

.fq-subscribe-wrap .subscribe__img {
  display: none;
}

.fq-subscribe-wrap .subscribe__content {
  position: relative;
  z-index: 1;
}

.fq-subscribe-wrap .subscribe__title {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}

.fq-subscribe-wrap .subscribe__text {
  font-size: .875rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: none;
}

.fq-subscribe-wrap .subscribe__form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fq-subscribe-wrap .subscribe__input {
  flex: 1;
  min-width: 140px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--ink);
  font-size: .875rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s ease;
}

.fq-subscribe-wrap .subscribe__input:focus {
  border-color: rgba(10, 132, 255, .45);
}

.fq-subscribe-wrap .subscribe__submit {
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #0a84ff, #bf5af2);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: filter .25s ease, transform .22s ease;
}

.fq-subscribe-wrap .subscribe__submit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.fq-subscribe-wrap .subscribe__accept {
  display: block;
  margin-top: 10px;
  font-size: .72rem;
  color: var(--ink-soft);
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {

  .fq-card,
  .fq-card:last-child:nth-child(odd) {
    width: 100%;
  }

  .fq-bottom-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .fq-hero {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }

  .fq-hero__img {
    display: none;
  }

  .fq-hero__search {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .fq-hero {
    padding: 28px 18px;
  }

  .fq-hero__search {
    flex-wrap: wrap;
    padding: 8px 12px;
  }

  .fq-contact-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .fq-subscribe-wrap .subscribe__form {
    flex-direction: column;
  }

  .fq-subscribe-wrap .subscribe__submit {
    width: 100%;
    text-align: center;
  }
}