/* =========================================================
   SUPPORT / FAQS
   Dedicated styles for main/faqs.html + faqs-modelcontent.html
   ========================================================= */

.support-faq-hero {
  background-color:#152027;
  background-image:url("../images/news-b.jpg");
  background-position:center 48%;
  background-size:cover;
}
.support-faq-hero::before {
  background:
    linear-gradient(180deg,rgba(4,8,11,.42),rgba(4,8,11,.72)),
    linear-gradient(90deg,rgba(4,8,11,.64),rgba(4,8,11,.2) 55%,rgba(4,8,11,.58));
}
.support-faq-hero .eyebrow {
  margin-bottom:16px;
  color:#fff;
  opacity:.82;
}
.support-faq-hero .inner-hero-content > p:last-child {
  max-width:680px;
  margin:22px auto 0;
  color:rgba(255,255,255,.8);
  font-size:.9rem;
  line-height:1.8;
}

/* Support section navigation: flex is safer than a fixed tab count. */
.support-page-tabs {
  display:flex;
  width:min(980px,100%);
  grid-template-columns:none;
  justify-content:center;
  overflow-x:auto;
  scrollbar-width:none;
}
.support-page-tabs::-webkit-scrollbar { display:none; }
.support-page-tabs .page-tab {
  flex:1 0 150px;
  max-width:260px;
}
.support-page-tabs .page-tab.on,
.support-page-tabs .page-tab.is-active,
.support-page-tabs .page-tab[aria-current="page"] {
  color:#fff;
  background:var(--red);
  box-shadow:0 9px 22px rgba(191,0,8,.2);
}

.faq-page-intro {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.55fr);
  align-items:end;
  gap:44px;
  margin:12px 0 42px;
}
.faq-page-intro h2 {
  max-width:760px;
  margin:0;
  font-size:clamp(2.6rem,5vw,5.4rem);
  line-height:.92;
  letter-spacing:-.06em;
}
.faq-page-intro > p {
  max-width:520px;
  margin:0 0 4px auto;
  color:#626b70;
  font-size:.84rem;
  line-height:1.8;
}

.faq-center {
  overflow:hidden;
  border:1px solid rgba(17,19,21,.08);
  border-radius:24px;
  background:#fff;
  box-shadow:0 20px 54px rgba(10,17,20,.06);
}

.faq-category-tabs {
  display:flex;
  gap:8px;
  padding:18px;
  overflow-x:auto;
  border-bottom:1px solid rgba(17,19,21,.08);
  background:#f7f8f8;
  scrollbar-width:none;
}
.faq-category-tabs::-webkit-scrollbar { display:none; }
.faq-category-tab {
  flex:0 0 auto;
  min-width:132px;
  min-height:44px;
  padding:9px 20px;
  border:1px solid rgba(17,19,21,.09);
  border-radius:999px;
  color:#4d5559;
  background:#fff;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  cursor:pointer;
  transition:color .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.faq-category-tab:hover { color:var(--red); border-color:rgba(191,0,8,.3); }
.faq-category-tab.is-active,
.faq-category-tab[aria-selected="true"] {
  color:#fff;
  border-color:var(--red);
  background:var(--red);
  box-shadow:0 10px 22px rgba(191,0,8,.18);
}

.faq-panels { padding:0 32px 24px; }
.faq-panel[hidden] { display:none!important; }
.faq-list { display:grid; }

.faq-item {
  margin:0;
  border-bottom:1px solid rgba(17,19,21,.1);
  background:#fff;
}
.faq-item:last-child { border-bottom:0; }
.faq-item summary,
.faq-summary-static {
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:21px 2px;
  list-style:none;
}
.faq-item summary {
  cursor:pointer;
  user-select:none;
}
.faq-item summary::-webkit-details-marker { display:none; }
.faq-question {
  color:#171a1c;
  font-size:clamp(.96rem,1.45vw,1.13rem);
  font-weight:800;
  line-height:1.45;
}

.faq-toggle-icon,
.faq-static-icon {
  position:relative;
  flex:0 0 36px;
  width:36px;
  height:36px;
  border-radius:50%;
}
.faq-toggle-icon {
  border:1px solid rgba(17,19,21,.12);
  background:#f4f5f6;
  transition:transform .25s var(--ease),background-color .25s ease,border-color .25s ease;
}
.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:12px;
  height:2px;
  background:#212628;
  border-radius:999px;
  transform:translate(-50%,-50%);
  transition:transform .25s ease,background-color .25s ease;
}
.faq-toggle-icon::after { transform:translate(-50%,-50%) rotate(90deg); }
.faq-item[open] .faq-toggle-icon {
  border-color:var(--red);
  background:var(--red);
  transform:rotate(180deg);
}
.faq-item[open] .faq-toggle-icon::before,
.faq-item[open] .faq-toggle-icon::after { background:#fff; }
.faq-item[open] .faq-toggle-icon::after { transform:translate(-50%,-50%) rotate(0deg); }

.faq-answer {
  max-width:920px;
  padding:0 58px 26px 2px;
}
.faq-answer p {
  margin:0;
  color:#616a6e;
  font-size:.84rem;
  line-height:1.9;
}

/* Questions whose answer text was absent from the supplied source. */
.faq-item--question-only .faq-summary-static { color:#70787c; }
.faq-item--question-only .faq-question { color:#5d6569; font-weight:700; }
.faq-static-icon {
  border:1px solid rgba(17,19,21,.08);
  background:#f5f6f6;
}
.faq-static-icon::before {
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:8px;
  height:2px;
  border-radius:999px;
  background:#a5aaad;
  transform:translate(-50%,-50%);
}

.faq-contact-cta {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:34px;
  margin-top:52px;
  padding:34px 38px;
  color:#fff;
  background:#11191d;
  border-radius:22px;
  box-shadow:0 20px 48px rgba(10,17,20,.12);
}
.faq-contact-cta .eyebrow { color:#ff474d; }
.faq-contact-cta h2 {
  margin:0;
  color:#fff;
  font-size:clamp(1.8rem,3.4vw,3.1rem);
  line-height:1;
  letter-spacing:-.045em;
}
.faq-contact-cta p:not(.eyebrow) {
  max-width:720px;
  margin:10px 0 0;
  color:rgba(255,255,255,.68);
  font-size:.78rem;
  line-height:1.7;
}

@media (max-width:900px) {
  .faq-page-intro { grid-template-columns:1fr; gap:18px; }
  .faq-page-intro > p { max-width:700px; margin-left:0; }
  .faq-contact-cta { grid-template-columns:1fr; }
  .faq-contact-cta .button { justify-self:start; }
}

@media (max-width:640px) {
  .support-faq-hero .inner-hero-content > p:last-child { font-size:.8rem; }
  .support-page-tabs { justify-content:flex-start; }
  .support-page-tabs .page-tab { flex-basis:145px; }
  .faq-category-tabs { padding:14px; }
  .faq-category-tab { min-width:116px; padding-inline:16px; }
  .faq-panels { padding:0 18px 18px; }
  .faq-item summary,
  .faq-summary-static { min-height:70px; gap:18px; padding:18px 0; }
  .faq-toggle-icon,
  .faq-static-icon { flex-basis:32px; width:32px; height:32px; }
  .faq-answer { padding:0 42px 22px 0; }
  .faq-contact-cta { padding:28px 22px; }
}
