/* ==============================================================
   FAQ page only — does not modify the shared styles.css file.
   ============================================================== */

.faq-page {
  background: #f8f6f1;
}

.faq-page .main-header {
  background: #fff;
}

.faq-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 64px;
  background:
    radial-gradient(circle at 14% 22%, rgba(200, 163, 79, .18), transparent 28%),
    linear-gradient(115deg, #080808, #1c1c1c);
}

.faq-hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -115px;
  bottom: -155px;
  width: 360px;
  height: 360px;
  border: 45px solid rgba(228, 204, 145, .09);
  border-radius: 50%;
  pointer-events: none;
}

.faq-hero .container {
  position: relative;
  z-index: 1;
}

.faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: #e4cc91;
  font-size: .9rem;
  font-weight: 700;
}

.faq-hero h1 {
  font-size: clamp(2.15rem, 4.5vw, 3.65rem);
}

.faq-hero p {
  max-width: 780px;
  margin-top: 12px;
  font-size: 1.04rem;
  line-height: 1.9;
}

.faq-hero-mark {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  color: #111;
  background: linear-gradient(145deg, #f1d99f, #c8a34f);
  border: 8px solid rgba(255, 255, 255, .08);
  border-radius: 34px 10px 34px 10px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .25);
  font-size: 4rem;
  transform: rotate(-4deg);
}

.faq-section {
  padding: 64px 0 88px;
}

.faq-toolbar {
  position: relative;
  margin-bottom: 28px;
  padding: 28px;
  background: #fff;
  border: 1px solid #e2ddd2;
  border-radius: 16px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .06);
}

.faq-toolbar::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 28px;
  width: 88px;
  height: 4px;
  background: #c8a34f;
  border-radius: 0 0 4px 4px;
}

.faq-toolbar-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.faq-toolbar-heading h2 {
  margin: 0 0 3px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.faq-toolbar-heading p {
  margin: 0;
  color: #6d6a64;
  font-size: .94rem;
}

.faq-section-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #111;
  background: #f3eee2;
  border: 1px solid #e4cc91;
  border-radius: 13px;
  font-size: 1.45rem;
}

.faq-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.faq-search {
  position: relative;
}

.faq-search > .bi-search {
  position: absolute;
  top: 50%;
  inset-inline-start: 18px;
  z-index: 2;
  color: #8a681f;
  font-size: 1.1rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.faq-search .form-control {
  min-height: 52px;
  padding-inline-start: 50px;
  padding-inline-end: 48px;
  color: #111;
  background: #fcfbf8;
  border: 1px solid #dcd5c8;
  border-radius: 10px;
  font-size: 1rem;
}

.faq-search .form-control:focus {
  background: #fff;
  border-color: #c8a34f;
  box-shadow: 0 0 0 .22rem rgba(200, 163, 79, .15);
}

.faq-clear {
  position: absolute;
  top: 50%;
  inset-inline-end: 11px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #706c64;
  background: transparent;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
}

.faq-clear:hover,
.faq-clear:focus-visible {
  color: #111;
  background: #eee8dc;
}

.faq-toggle-all {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 19px;
  color: #111;
  background: #fff;
  border: 1px solid #bda05e;
  border-radius: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.faq-toggle-all:hover,
.faq-toggle-all:focus-visible {
  color: #fff;
  background: #111;
  border-color: #111;
}

.faq-result-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: #746f66;
  font-size: .88rem;
}

.faq-result-line span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.faq-result-line strong {
  color: #8a681f;
}

.faq-accordion {
  display: grid;
  gap: 14px;
}

.faq-accordion .accordion-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1dbcf;
  border-radius: 13px;
  box-shadow: 0 7px 24px rgba(0, 0, 0, .035);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.faq-accordion .accordion-item:hover {
  border-color: #d2bd88;
  box-shadow: 0 13px 30px rgba(0, 0, 0, .055);
  transform: translateY(-1px);
}

.faq-accordion .accordion-button {
  min-height: 82px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 28px;
  gap: 16px;
  padding: 17px 20px;
  color: #111;
  background: #fff;
  border: 0;
  box-shadow: none;
  text-align: right;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.65;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: #111;
  background: linear-gradient(90deg, #fff, #fcf8ef);
  box-shadow: inset 4px 0 0 #c8a34f;
}

.faq-accordion .accordion-button:focus {
  z-index: 3;
  border-color: transparent;
  box-shadow: inset 0 0 0 2px rgba(200, 163, 79, .55);
}

.faq-accordion .accordion-button::after {
  grid-column: 3;
  margin: 0;
  background-image: none;
  content: "\f282";
  color: #8a681f;
  font-family: "bootstrap-icons";
  font-size: 1rem;
  transform: none;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  content: "\f286";
  transform: none;
}

.faq-number {
  grid-column: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #8a681f;
  background: #f5f0e5;
  border: 1px solid #e4cc91;
  border-radius: 50%;
  font-size: .84rem;
  font-weight: 900;
}

.faq-question {
  grid-column: 2;
  align-self: center;
}

.faq-accordion .accordion-body {
  position: relative;
  padding: 6px 82px 26px 64px;
  color: #595650;
  font-size: 1rem;
  line-height: 2;
}

.faq-accordion .accordion-body::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 82px;
  width: 44px;
  height: 2px;
  background: #e4cc91;
}

.faq-no-results {
  padding: 58px 24px;
  color: #6d6a64;
  background: #fff;
  border: 1px dashed #ccb678;
  border-radius: 15px;
  text-align: center;
}

.faq-no-results > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: #8a681f;
  background: #f3eee2;
  border-radius: 50%;
  font-size: 1.6rem;
}

.faq-no-results h2 {
  margin-bottom: 7px;
  font-size: 1.45rem;
}

.faq-no-results p {
  margin-bottom: 20px;
}

.faq-support-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 24px 26px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(200, 163, 79, .12), transparent 45%),
    #111;
  border: 1px solid #282828;
  border-radius: 15px;
}

.faq-support-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #111;
  background: #e4cc91;
  border-radius: 14px;
  font-size: 1.65rem;
}

.faq-support-card h2 {
  margin: 0 0 3px;
  color: #fff;
  font-size: 1.25rem;
}

.faq-support-card p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: .92rem;
}

.faq-support-card .btn-award {
  color: #111;
  background: #e4cc91;
  border-color: #e4cc91;
}

.faq-support-card .btn-award:hover {
  color: #111;
  background: #fff;
  border-color: #fff;
}

@media (max-width: 991.98px) {
  .faq-hero {
    padding: 44px 0 52px;
  }

  .faq-section {
    padding: 46px 0 68px;
  }
}

@media (max-width: 767.98px) {
  .faq-toolbar {
    padding: 22px 18px;
    border-radius: 13px;
  }

  .faq-search-row {
    grid-template-columns: 1fr;
  }

  .faq-toggle-all {
    width: 100%;
  }

  .faq-result-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-accordion .accordion-button {
    grid-template-columns: 40px minmax(0, 1fr) 22px;
    gap: 11px;
    min-height: 74px;
    padding: 15px 14px;
    font-size: .98rem;
  }

  .faq-number {
    width: 40px;
    height: 40px;
    font-size: .76rem;
  }

  .faq-accordion .accordion-body {
    padding: 5px 65px 23px 18px;
    font-size: .95rem;
    line-height: 1.9;
  }

  .faq-accordion .accordion-body::before {
    inset-inline-start: 65px;
  }

  .faq-support-card {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 21px 18px;
  }

  .faq-support-icon {
    width: 54px;
    height: 54px;
  }

  .faq-support-card .btn-award {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .faq-toolbar-heading {
    align-items: flex-start;
  }

  .faq-section-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .faq-accordion .accordion-button {
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    gap: 9px;
    padding-inline: 11px;
  }

  .faq-number {
    width: 36px;
    height: 36px;
  }

  .faq-accordion .accordion-body {
    padding-inline-start: 56px;
    padding-inline-end: 14px;
  }
}

@media print {
  .main-header,
  .site-footer,
  .faq-toolbar,
  .faq-support-card,
  .faq-hero-mark {
    display: none !important;
  }

  .faq-hero {
    padding: 20px 0;
    color: #111;
    background: #fff;
  }

  .faq-hero h1,
  .faq-hero p,
  .faq-hero .breadcrumb-item,
  .faq-hero .breadcrumb-item a,
  .faq-eyebrow {
    color: #111 !important;
  }

  .faq-section {
    padding: 20px 0;
  }

  .faq-accordion .accordion-collapse {
    display: block !important;
  }

  .faq-accordion .accordion-item {
    break-inside: avoid;
    box-shadow: none;
  }
}
