/* ==========================================================================
   AirGo Tel — /faq page specifics
   Accordion, breadcrumb and CTA patterns come from service.css.
   ========================================================================== */

.ag-faqhero {
  max-width: 760px;
  margin: 0 auto;
  padding: 26px var(--ag-gutter) 8px;
  text-align: center;
}
.ag-faqhero h1 { font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.ag-faqhero p {
  font-size: 17px;
  color: var(--ag-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.55;
}
.ag-faqhero p a { font-weight: 700; }

/* ---------- Category filter ---------- */

.ag-faqtabs {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px var(--ag-gutter) 8px;
}
.ag-faqtabs__row {
  display: flex;
  gap: 9px;
  justify-content: center;
  flex-wrap: wrap;
}

.ag-faqtab {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ag-slate);
  background: var(--ag-card);
  border: var(--ag-border);
  padding: 9px 16px;
  border-radius: var(--ag-radius-pill);
  cursor: pointer;
  min-height: 40px;
  transition: background var(--ag-motion-base), border-color var(--ag-motion-base), color var(--ag-motion-base);
}
.ag-faqtab:hover { border-color: var(--ag-azure); background: var(--ag-azure-100); }
.ag-faqtab[aria-pressed="true"] {
  color: #fff;
  background: var(--ag-navy);
  border-color: var(--ag-navy);
}

/* ---------- Groups ---------- */

.ag-faqgroups {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px var(--ag-gutter) 48px;
}
.ag-faqgroups__list { display: flex; flex-direction: column; gap: 30px; }

.ag-faqgroup[hidden] { display: none; }

.ag-faqgroup__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ag-faqgroup__title svg { width: 20px; height: 20px; color: var(--ag-azure-600); flex-shrink: 0; }

.ag-faqgroup__items { display: flex; flex-direction: column; gap: 11px; }

/* Slightly roomier answers than the service-page FAQ, per the prototype. */
.ag-faqgroups .ag-faq__q { padding: 17px 20px; }
.ag-faqgroups .ag-faq__a { font-size: 14.5px; line-height: 1.65; }

.ag-faqgroups__empty {
  background: var(--ag-card);
  border: var(--ag-border);
  border-radius: var(--ag-radius-lg);
  padding: 32px;
  text-align: center;
}
.ag-faqgroups__empty[hidden] { display: none; }
.ag-faqgroups__empty-title { font-size: 16px; font-weight: 800; color: var(--ag-navy); }
.ag-faqgroups__empty-sub { font-size: 14px; color: var(--ag-muted); margin-top: 5px; }

/* ---------- Still have questions ---------- */

.ag-faqcta {
  background: var(--ag-gradient-action);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  color: #fff;
  margin-top: 40px;
}
.ag-faqcta h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; color: #fff; }
.ag-faqcta p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 22px;
}
.ag-faqcta__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ag-faqcta__btn {
  font-size: var(--ag-text-base);
  font-weight: 800;
  padding: 13px 24px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}
.ag-faqcta__btn--white { color: var(--ag-coral); background: #fff; }
.ag-faqcta__btn--white:hover { background: #FFF3EE; color: var(--ag-coral); }
.ag-faqcta__btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .4);
}
.ag-faqcta__btn--ghost:hover { background: rgba(255, 255, 255, .28); color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 820px) {
  .ag-faqhero h1 { font-size: 32px; }
}

/* Hit targets: minimum 44x44 on mobile (RESPONSIVE.md names filter pills). */
@media (max-width: 768px) {
  .ag-faqtab { min-height: 44px; }
}

@media (max-width: 620px) {
  .ag-faqhero h1 { font-size: 28px; }
  .ag-faqhero p { font-size: 15.5px; }
  .ag-faqcta { padding: 28px 20px; }
  .ag-faqcta h2 { font-size: 22px; }
  .ag-faqcta__btn { width: 100%; }
}
