.faq-page {
  background: var(--surface, #f2f2f2);
  color: var(--navy, #293649);
}

.faq-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 12vw, 170px) 24px clamp(64px, 8vw, 104px);
  background:
    radial-gradient(circle at 82% 16%, rgba(23, 146, 162, 0.24), transparent 28%),
    linear-gradient(135deg, #293649 0%, #0e5573 58%, #293649 100%);
  color: #fff;
}

.faq-hero::after {
  content: "?";
  position: absolute;
  right: clamp(12px, 7vw, 112px);
  bottom: clamp(-76px, -5vw, -34px);
  color: rgba(255, 255, 255, 0.055);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(260px, 38vw, 580px);
  font-weight: 400;
  line-height: 0.75;
  pointer-events: none;
}

.faq-hero__inner,
.faq-content__inner,
.faq-contact__inner,
.faq-facts__grid {
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

.faq-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.faq-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.faq-breadcrumbs a:hover,
.faq-breadcrumbs a:focus-visible {
  color: #fff;
}

.faq-hero__eyebrow,
.faq-contact__eyebrow {
  margin: 0 0 18px;
  color: #1792a2;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.faq-hero__title {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(46px, 7.6vw, 108px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-wrap: balance;
}

.faq-hero__lead {
  max-width: 720px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.faq-hero__updated {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.faq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.faq-hero .btn--outline {
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
}

.faq-hero .btn--outline:hover,
.faq-hero .btn--outline:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #293649;
}

.faq-facts {
  position: relative;
  z-index: 2;
  margin: -30px 24px 0;
}

.faq-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(41, 54, 73, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(41, 54, 73, 0.12);
  overflow: hidden;
}

.faq-facts__grid > div {
  display: grid;
  gap: 4px;
  padding: 26px 30px;
}

.faq-facts__grid > div + div {
  border-left: 1px solid rgba(41, 54, 73, 0.1);
}

.faq-facts strong {
  color: var(--teal-dark, #0e5573);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1;
}

.faq-facts span {
  color: var(--muted, #808f92);
  font-size: 13px;
}

.faq-content {
  padding: clamp(76px, 9vw, 120px) 24px clamp(84px, 10vw, 140px);
}

.faq-content__inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: start;
}

.faq-tools {
  position: sticky;
  top: 106px;
}

.faq-search {
  display: grid;
  gap: 10px;
}

.faq-search__label {
  color: var(--navy, #293649);
  font-size: 13px;
  font-weight: 600;
}

.faq-search__field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(41, 54, 73, 0.18);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-search__field:focus-within {
  border-color: var(--teal-dark, #0e5573);
  box-shadow: 0 0 0 3px rgba(14, 85, 115, 0.1);
}

.faq-search__field i {
  color: var(--teal-dark, #0e5573);
  font-size: 18px;
}

.faq-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy, #293649);
  font: inherit;
  font-size: 14px;
}

.faq-search input::placeholder {
  color: #808f92;
}

.faq-search__status {
  margin: 10px 0 26px;
  color: var(--muted, #808f92);
  font-size: 12px;
  line-height: 1.5;
}

.faq-categories {
  display: grid;
  border-top: 1px solid rgba(41, 54, 73, 0.12);
}

.faq-categories a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border-bottom: 1px solid rgba(41, 54, 73, 0.12);
  color: var(--muted, #808f92);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.faq-categories a::after {
  content: "↘";
  color: var(--teal-dark, #0e5573);
}

.faq-categories a:hover,
.faq-categories a:focus-visible {
  padding-left: 6px;
  color: var(--teal-dark, #0e5573);
}

.faq-sections {
  min-width: 0;
}

.faq-category {
  scroll-margin-top: 110px;
}

.faq-category + .faq-category {
  margin-top: clamp(72px, 9vw, 118px);
}

.faq-category__head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 28px;
}

.faq-category__head > span {
  padding-top: 9px;
  color: #1792a2;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.faq-category__head h2 {
  margin: 0;
  color: var(--navy, #293649);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

.faq-list--page {
  max-width: none;
  margin: 0;
  gap: 10px;
}

.faq-list--page .faq-item {
  border-radius: 18px;
  box-shadow: none;
}

.faq-list--page .faq-item__q {
  padding: 21px 22px;
  font-size: 17px;
}

.faq-list--page .faq-item__a {
  padding: 0 22px 22px;
}

.faq-list--page .faq-item__a p {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.72;
}

.faq-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 24px;
  border-radius: 18px;
  background: var(--navy, #293649);
  color: #fff;
}

.faq-inline-cta div {
  display: grid;
  gap: 4px;
}

.faq-inline-cta span {
  color: #1792a2;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-inline-cta strong {
  font-size: 15px;
  font-weight: 500;
}

.faq-empty {
  padding: 34px;
  border: 1px dashed rgba(41, 54, 73, 0.24);
  border-radius: 18px;
  color: var(--muted, #808f92);
  text-align: center;
}

.faq-contact {
  padding: clamp(64px, 8vw, 104px) 24px;
  background: var(--navy, #293649);
  color: #fff;
}

.faq-contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  gap: clamp(40px, 8vw, 100px);
  align-items: end;
}

.faq-contact h2 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.faq-contact p:not(.faq-contact__eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  line-height: 1.65;
}

.faq-contact__actions {
  display: grid;
  gap: 10px;
}

.faq-contact__actions .btn {
  width: 100%;
  justify-content: center;
}

.faq-contact .btn--outline-light {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

@media (max-width: 900px) {
  .faq-facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-facts__grid > div:nth-child(3) {
    border-left: 0;
  }

  .faq-facts__grid > div:nth-child(n + 3) {
    border-top: 1px solid rgba(41, 54, 73, 0.1);
  }

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

  .faq-tools {
    position: static;
  }

  .faq-categories {
    display: flex;
    gap: 8px;
    margin-right: -20px;
    border: 0;
    overflow-x: auto;
    scrollbar-width: none;
    padding-right: 44px;
    padding-bottom: 4px;
    scroll-padding-inline: 18px;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent 100%);
  }

  .faq-categories::-webkit-scrollbar {
    display: none;
  }

  .faq-categories a {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(41, 54, 73, 0.15);
    border-radius: 999px;
    background: #fff;
  }

  .faq-categories a::after {
    display: none;
  }

  .faq-categories a:hover,
  .faq-categories a:focus-visible {
    padding-left: 14px;
  }

  .faq-contact__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 600px) {
  .faq-hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .faq-hero__title {
    max-width: 12ch;
    margin-inline: auto;
    font-size: clamp(34px, 10.5vw, 44px);
    line-height: 1.04;
    text-wrap: balance;
  }

  .faq-hero__actions,
  .faq-hero__actions .btn {
    width: 100%;
  }

  .faq-hero__actions .btn {
    justify-content: center;
  }

  .faq-facts {
    margin-right: 14px;
    margin-left: 14px;
  }

  .faq-facts__grid {
    border-radius: 18px;
  }

  .faq-facts__grid > div {
    padding: 20px 18px;
  }

  .faq-content,
  .faq-contact {
    padding-right: 18px;
    padding-left: 18px;
  }

  .faq-category__head {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .faq-category__head > span {
    padding-top: 6px;
  }

  .faq-list--page .faq-item__q {
    padding: 18px;
    font-size: 16px;
  }

  .faq-list--page .faq-item__a {
    padding: 0 18px 18px;
  }

  .faq-list--page .faq-item__a p {
    font-size: 15px;
  }

  .faq-inline-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .faq-inline-cta .btn {
    justify-content: center;
  }
}

@media (max-width: 350px) {
  .faq-hero__title {
    font-size: 32px;
  }

  .faq-categories {
    margin-right: -18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-categories a,
  .faq-search__field {
    transition: none;
  }
}
