/* ============================================================
   FAQ PAGE — CALENDAR CARD TABS
   Additive page-specific stylesheet
============================================================ */

.faq-page-intro {
  max-width: 720px;
  margin: 0 auto;
}

/* ============================================================
   CALENDAR-STYLE CATEGORY NAVIGATION
============================================================ */

.faq-tabs-wrap {
  margin: 42px 0 18px;
  position: relative;
}

.faq-calendar-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 18px;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 134, 10, 0.72) rgba(39, 46, 58, 0.08);
}

.faq-calendar-scroll::-webkit-scrollbar {
  height: 7px;
}

.faq-calendar-scroll::-webkit-scrollbar-track {
  background: rgba(39, 46, 58, 0.08);
  border-radius: 999px;
}

.faq-calendar-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--gb), var(--coral));
  border-radius: 999px;
}

.faq-calendar-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--coral);
}

.faq-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  min-width: 100%;
  list-style: none;
  margin: 0;
  padding: 10px 18px 16px;
}

.faq-tabs > li {
  flex: 0 0 auto;
  display: flex;
  scroll-snap-align: start;
}

.faq-tab-btn {
  position: relative;
  /* width: 205px;
  min-height: 148px; */
  display: grid;
  grid-template-columns: 50px 1fr;
  /* grid-template-rows: auto 1fr; */
  align-items: center;
  column-gap: 14px;
  row-gap: 14px;
  padding: 10px;
  border: 1px solid rgba(39, 46, 58, 0.12);
  border-radius: 16px;
  background: var(--wh);
  color: var(--tx);
  font-family: var(--fb);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(25, 31, 42, 0.07);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease,
    color 0.28s ease;
}

.faq-tab-btn::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gb), var(--coral));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.faq-tab-btn:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 134, 10, 0.48);
  box-shadow: 0 18px 34px rgba(25, 31, 42, 0.12);
}

.faq-tab-btn:focus-visible {
  outline: 3px solid rgba(200, 134, 10, 0.28);
  outline-offset: 4px;
}

.faq-tab-top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(39, 46, 58, 0.15);
}

.faq-tab-index {
  font-family: var(--f);
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  color: var(--gb);
}

.faq-tab-label {
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--t2);
}

.faq-tab-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gpp);
  color: var(--coral);
  border: 1px solid rgba(200, 134, 10, 0.15);
  transition:
    background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease;
}

.faq-tab-icon i {
  font-size: 23px;
  line-height: 1;
}

.faq-tab-title {
  align-self: center;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 800;
  color: inherit;
}

.faq-tab-btn.active {
  color: var(--wh);
  border-color: transparent;
  background: linear-gradient(145deg, var(--tx), #303846);
  box-shadow: 0 20px 42px rgba(24, 30, 40, 0.22);
  transform: translateY(-5px);
}

.faq-tab-btn.active::before {
  opacity: 1;
}

.faq-tab-btn.active .faq-tab-top {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.faq-tab-btn.active .faq-tab-index {
  color: var(--gb);
}

.faq-tab-btn.active .faq-tab-label {
  color: rgba(255, 255, 255, 0.68);
}

.faq-tab-btn.active .faq-tab-icon {
  color: var(--wh);
  background: linear-gradient(135deg, var(--gb), var(--coral));
  border-color: transparent;
}

/* ============================================================
   DYNAMIC CONTENT HEADER
============================================================ */

.faq-content-head {
  max-width: 858px;
  margin: 34px auto 0;
  padding: 15px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(200, 134, 10, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 8% 20%,
      rgba(200, 134, 10, 0.11),
      transparent 32%
    ),
    var(--wh);
  box-shadow: 0 16px 36px rgba(25, 31, 42, 0.08);
}

.faq-content-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.faq-content-icon {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wh);
  background: linear-gradient(135deg, var(--gb), var(--coral));
  box-shadow: 0 12px 24px rgba(200, 110, 20, 0.23);
}

.faq-content-icon i {
  font-size: 29px;
  line-height: 1;
}

.faq-content-copy {
  min-width: 0;
}

.faq-content-kicker {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
}

.faq-content-copy h2 {
  margin: 0 0 5px;
  font-family: var(--f);
  font-size: 29px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--tx);
}

.faq-content-copy p {
  margin: 0;
  color: var(--t2);
  font-size: 15px;
  line-height: 1.65;
}

.faq-content-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-nav-btn {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border-radius: 10px;
  border: 1px solid rgba(39, 46, 58, 0.15);
  background: var(--wh);
  color: var(--tx);
  font-family: var(--fb);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition:
    color 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease,
    transform 0.24s ease,
    opacity 0.24s ease;
}

.faq-nav-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--gb);
  color: var(--coral);
}

.faq-nav-next {
  color: var(--wh);
  border-color: transparent;
  background: linear-gradient(135deg, var(--gb), var(--coral));
}

.faq-nav-next:hover:not(:disabled) {
  color: var(--wh);
  border-color: transparent;
}

.faq-nav-btn:focus-visible {
  outline: 3px solid rgba(200, 134, 10, 0.25);
  outline-offset: 3px;
}

.faq-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   TAB PANELS
============================================================ */

.faq-tab-panels {
  margin-top: 28px;
}

.faq-tab-panel {
  display: none;
  max-width: 860px;
  margin: 0 auto;
  animation: faqPanelIn 0.38s ease both;
}

.faq-tab-panel.active {
  display: block;
}

.faq-tab-panel[hidden] {
  display: none !important;
}

.faq-tab-panel .faq-list {
  display: grid;
  gap: 13px;
}

@keyframes faqPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   BOTTOM CTA STRIP
============================================================ */

.faq-more-help {
  margin-top: 55px;
  text-align: center;
  padding: 34px 24px;
  border-radius: 20px;
  background: var(--gpp);
  border: 1px solid rgba(200, 134, 10, 0.16);
}

.faq-more-help h3 {
  font-family: var(--f);
  font-size: 24px;
  color: var(--tx);
  margin-bottom: 8px;
}

.faq-more-help p {
  color: var(--t2);
  margin-bottom: 20px;
}

.faq-more-help .faq-more-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 991.98px) {
  .faq-tab-btn {
    width: 195px;
    min-height: 142px;
  }
  .faq-content-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .faq-content-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 767.98px) {
  .faq-tabs-wrap {
    margin-top: 34px;
  }
  .faq-tabs {
    gap: 12px;
    padding-top: 8px;
    padding-bottom: 18px;
  }
  .faq-tab-btn {
    width: 178px;
    min-height: 135px;
    grid-template-columns: 44px 1fr;
    gap: 11px;
    padding: 14px;
    border-radius: 14px;
  }
  .faq-tab-index {
    font-size: 23px;
  }
  .faq-tab-label {
    font-size: 9px;
  }
  .faq-tab-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
  .faq-tab-icon i {
    font-size: 20px;
  }
  .faq-tab-title {
    font-size: 13.5px;
  }
  .faq-content-head {
    margin-top: 24px;
    padding: 20px;
    border-radius: 16px;
  }
  .faq-content-identity {
    align-items: flex-start;
  }
  .faq-content-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }
  .faq-content-icon i {
    font-size: 25px;
  }
  .faq-content-copy h2 {
    font-size: 24px;
  }
  .faq-content-actions {
    justify-content: stretch;
  }
  .faq-nav-btn {
    flex: 1 1 50%;
  }
  .faq-more-help {
    padding: 28px 18px;
  }
}

@media (max-width: 575.98px) {
  .faq-tabs {
    gap: 10px;
  }
  .faq-tab-btn {
    width: 164px;
    min-height: 128px;
    grid-template-columns: 40px 1fr;
    padding: 12px;
  }
  .faq-tab-top {
    padding-bottom: 10px;
  }
  .faq-tab-icon {
    width: 40px;
    height: 40px;
  }
  .faq-tab-icon i {
    font-size: 18px;
  }
  .faq-content-head {
    gap: 20px;
    padding: 18px 15px;
  }
  .faq-content-identity {
    gap: 13px;
  }
  .faq-content-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }
  .faq-content-icon i {
    font-size: 21px;
  }
  .faq-content-copy h2 {
    font-size: 21px;
  }
  .faq-content-copy p {
    font-size: 14px;
  }
  .faq-nav-btn {
    min-height: 43px;
    padding: 9px 12px;
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-calendar-scroll {
    scroll-behavior: auto;
  }
  .faq-tab-btn,
  .faq-nav-btn,
  .faq-tab-panel {
    transition: none;
    animation: none;
  }
}
