/* =========================================
   LETI — FAQ page styles
   ========================================= */

/* =========================================
   PAGE HERO
   ========================================= */
.fq-hero {
  position: relative;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  overflow: hidden;
}
.fq-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 77, 126, 0.28), transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(255, 214, 229, 0.16), transparent 50%);
  pointer-events: none;
}
.fq-hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.fq-hero__shape--1 {
  width: 360px; height: 360px;
  top: -120px; right: -70px;
  background: rgba(255, 77, 126, 0.28);
}
.fq-hero__shape--2 {
  width: 300px; height: 300px;
  bottom: -140px; left: -50px;
  background: rgba(255, 214, 229, 0.18);
}
.fq-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.fq-hero__inner .pg-breadcrumb {
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  display: inline-flex;
  gap: 8px;
  margin-bottom: 14px;
}
.fq-hero__inner .pg-breadcrumb a { color: rgba(255, 255, 255, 0.8); }
.fq-hero__inner .pg-breadcrumb a:hover { color: #fff; }
.fq-hero__inner .pg-breadcrumb__current { color: #fff; }
.fq-hero__inner .section-tag { margin-bottom: 16px; }

.fq-hero__title {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.fq-hero__title-hl {
  background: linear-gradient(120deg, #FFD6E5, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fq-hero__sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

/* Search */
.fq-search {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}
.fq-search__icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.fq-search__input {
  width: 100%;
  padding: 18px 52px 18px 52px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-family: var(--font);
  color: var(--text-primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  transition: all var(--transition);
}
.fq-search__input::placeholder { color: var(--text-muted); }
.fq-search__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}
.fq-search__clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  color: var(--text-muted);
  border-radius: 50%;
  transition: all var(--transition);
}
.fq-search__clear:hover {
  background: var(--brand-pale);
  color: var(--brand);
}

/* =========================================
   BODY LAYOUT (sidebar + content)
   ========================================= */
.fq-body {
  padding: 80px 0;
  background: var(--bg);
}
.fq-body__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: flex-start;
}

/* ---- Sidebar ---- */
.fq-sidebar {
  position: sticky;
  top: 92px;
}
.fq-sidebar__title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-left: 6px;
}
.fq-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}
.fq-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: transparent;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  transition: all var(--transition);
  width: 100%;
}
.fq-tab:hover {
  background: var(--bg-light);
  color: var(--text-primary);
}
.fq-tab.is-active {
  background: var(--brand-pale);
  color: var(--brand);
}
.fq-tab__icon {
  font-size: 17px;
  flex-shrink: 0;
}
.fq-tab__label { flex: 1; }
.fq-tab__count {
  flex-shrink: 0;
  padding: 2px 9px;
  background: var(--bg-light);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}
.fq-tab.is-active .fq-tab__count {
  background: var(--brand);
  color: #fff;
}

.fq-sidebar__help {
  padding: 22px;
  background: linear-gradient(135deg, var(--brand-pale) 0%, #fff 100%);
  border: 1px dashed var(--brand);
  border-radius: var(--radius-lg);
  text-align: center;
}
.fq-sidebar__help-icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.fq-sidebar__help strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.fq-sidebar__help p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* ---- Content ---- */
.fq-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.fq-group {
  scroll-margin-top: 92px;
}
.fq-group.is-hidden { display: none; }

.fq-group__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border);
}
.fq-group__icon {
  font-size: 28px;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-pale);
  border-radius: var(--radius-md);
}
.fq-group__head h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.fq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Increase answer expansion height for longer content */
.fq-list .faq__answer { max-height: 0; }
.fq-list .faq__item.open .faq__answer { max-height: 400px; }
.fq-list .faq__item.is-hidden { display: none; }

/* Highlighted search matches */
.fq-list mark {
  background: #FFF3C4;
  color: inherit;
  padding: 0 2px;
  border-radius: 3px;
}

/* ---- No results ---- */
.fq-noresults {
  text-align: center;
  padding: 64px 24px;
  background: var(--bg-light);
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius-lg);
}
.fq-noresults__icon { font-size: 48px; margin-bottom: 14px; }
.fq-noresults h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.fq-noresults p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0 auto 20px;
  line-height: 1.55;
}

/* =========================================
   CTA (overrides final-cta)
   ========================================= */
.fq-cta .final-cta__inner { max-width: 760px; }

.fq-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
  margin: 28px auto 8px;
  text-align: left;
}
.fq-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fq-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fq-form__field--full { grid-column: 1 / -1; }
.fq-form__field span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.fq-form__field input,
.fq-form__field textarea {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 15px;
  font-family: var(--font);
  transition: all var(--transition);
  resize: vertical;
}
.fq-form__field input::placeholder,
.fq-form__field textarea::placeholder { color: rgba(255, 255, 255, 0.55); }
.fq-form__field input:focus,
.fq-form__field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.16);
}

.fq-form__submit {
  align-self: center;
  margin-top: 6px;
  min-width: 220px;
}

.fq-cta__contacts {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.fq-cta__contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  color: #fff;
  transition: all var(--transition);
  min-width: 240px;
}
.fq-cta__contact:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}
.fq-cta__contact-icon {
  font-size: 22px;
  flex-shrink: 0;
}
.fq-cta__contact strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.fq-cta__contact small {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   BREADCRUMB helper (if not in styles.css)
   ========================================= */
.pg-breadcrumb { font-size: 13px; }
.pg-breadcrumb__sep { opacity: 0.5; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .fq-body__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .fq-sidebar {
    position: static;
  }
  .fq-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
  }
  .fq-tab {
    width: auto;
    padding: 10px 14px;
  }
  .fq-sidebar__help {
    display: none;
  }
}

@media (max-width: 640px) {
  .fq-hero { padding: 70px 0 60px; }
  .fq-hero__title { font-size: 30px; }
  .fq-hero__sub { font-size: 15px; }
  .fq-search__input { padding: 14px 44px; font-size: 14px; }
  .fq-search__icon { left: 16px; }

  .fq-body { padding: 50px 0; }
  .fq-content { gap: 36px; }

  .fq-group__head { gap: 10px; }
  .fq-group__icon { font-size: 22px; width: 42px; height: 42px; }
  .fq-group__head h2 { font-size: 20px; }

  .fq-tab__label { font-size: 13px; }
  .fq-tab { padding: 8px 12px; gap: 8px; }

  .fq-form__row { grid-template-columns: 1fr; }
  .fq-cta__contacts { flex-direction: column; }
  .fq-cta__contact { min-width: 0; width: 100%; }

  .fq-list .faq__item.open .faq__answer { max-height: 600px; }
}
