.page-faq {
  --faq-card-bg: #154A41;
  --faq-line: rgba(230, 179, 30, 0.25);
  --faq-body-dim: rgba(252, 250, 245, 0.78);
  position: relative;
  overflow-x: hidden;
  background-color: #0A1F1C;
  background-image:
    linear-gradient(rgba(230, 179, 30, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 179, 30, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  color: #FCFAF5;
  padding: 1.75rem 0 4rem;
}

.page-faq__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(252, 250, 245, 0.5);
  letter-spacing: 0.04em;
}

.page-faq__breadcrumb a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.page-faq__breadcrumb a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq__breadcrumb-sep {
  opacity: 0.5;
}

.page-faq__hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 2.5rem var(--container-pad) 3.25rem;
}

.page-faq__hero-copy {
  position: relative;
  z-index: 1;
}

.page-faq__eyebrow {
  color: var(--gold);
}

.page-faq__title {
  max-width: 11.5em;
  margin: 0.5rem 0 0.85rem;
  font-family: var(--font-title);
  font-size: var(--fs-h1);
  line-height: 1.14;
  color: var(--ivory);
}

.page-faq__lead {
  max-width: 42em;
  margin: 0 0 1.6rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--faq-body-dim);
}

.page-faq__search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 520px;
  padding: 11px 16px;
  border: 1px solid var(--faq-line);
  border-radius: 2px;
  background: rgba(21, 74, 65, 0.6);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-faq__search:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(230, 179, 30, 0.14);
}

.page-faq__search-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--gold);
}

.page-faq__search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.page-faq__search-input::placeholder {
  color: rgba(252, 250, 245, 0.4);
}

.page-faq__hero-visual {
  position: relative;
  width: 100%;
}

.page-faq__hero-deco {
  position: absolute;
  top: 14px;
  right: -12px;
  bottom: -14px;
  left: 14px;
  z-index: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
  opacity: 0.92;
}

.page-faq__hero-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  border: 1px solid rgba(230, 179, 30, 0.4);
  background: var(--bg-forest);
}

.page-faq__hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-faq__layout {
  display: block;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.page-faq__aside {
  margin-bottom: 2.5rem;
}

.page-faq__aside-inner {
  padding: 26px 22px 24px;
  border: 1px solid var(--faq-line);
  background: linear-gradient(160deg, rgba(21, 74, 65, 0.92), rgba(10, 31, 28, 0.98));
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.page-faq__aside-eyebrow {
  display: block;
  color: var(--gold);
}

.page-faq__aside-title {
  margin: 0.4rem 0 1rem;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--ivory);
  letter-spacing: 0.02em;
}

.page-faq__aside-nav {
  display: flex;
  flex-direction: column;
}

.page-faq__aside-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.08);
  color: rgba(252, 250, 245, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.page-faq__aside-link:hover {
  color: var(--gold);
  padding-left: 6px;
}

.page-faq__aside-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  opacity: 0.6;
  letter-spacing: 0.06em;
  transition: opacity 0.2s var(--ease);
}

.page-faq__aside-link:hover .page-faq__aside-num {
  opacity: 1;
}

.page-faq__aside-action {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1.5rem;
}

.page-faq .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.page-faq__main {
  min-width: 0;
}

.page-faq__section {
  scroll-margin-top: 24px;
  margin-bottom: 3.25rem;
}

.page-faq__section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.5rem;
}

.page-faq__section-badge {
  flex-shrink: 0;
  width: 12px;
  height: 18px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), 50% 100%, 0 calc(100% - 7px));
}

.page-faq__section-badge--red {
  background: var(--red);
  box-shadow: 0 0 12px rgba(214, 69, 69, 0.45);
}

.page-faq__section-badge--yellow {
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(242, 201, 76, 0.45);
}

.page-faq__section-badge--gold {
  background: var(--gold);
  box-shadow: 0 0 12px rgba(230, 179, 30, 0.45);
}

.page-faq__section-badge--green {
  background: var(--blue);
  box-shadow: 0 0 12px rgba(74, 144, 226, 0.45);
}

.page-faq__section-title {
  margin: 0;
  font-family: var(--font-title);
  font-size: var(--fs-h2);
  line-height: 1.2;
  color: var(--ivory);
  letter-spacing: 0.01em;
}

.page-faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-faq__item {
  border: 1px solid var(--faq-line);
  background: linear-gradient(120deg, rgba(21, 74, 65, 0.92), rgba(10, 31, 28, 0.96));
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  transition: border-color 0.32s var(--ease), background 0.32s var(--ease), transform 0.32s var(--ease);
}

.page-faq__item:hover {
  border-color: rgba(230, 179, 30, 0.5);
}

.page-faq__item[open] {
  border-color: var(--gold);
  background: linear-gradient(120deg, rgba(21, 74, 65, 1), rgba(10, 31, 28, 1));
}

.page-faq__item-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 18px 22px;
  list-style: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ivory);
  transition: color 0.2s var(--ease);
  user-select: none;
}

.page-faq__item-summary::-webkit-details-marker {
  display: none;
}

.page-faq__item-summary::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.9;
}

.page-faq__item-summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.32s var(--ease);
}

.page-faq__item[open] > .page-faq__item-summary::after {
  transform: rotate(45deg);
}

.page-faq__item-summary:hover {
  color: var(--gold);
}

.page-faq__qid {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  padding-right: 2px;
}

.page-faq__question {
  min-width: 0;
}

.page-faq__item-body {
  padding: 0 28px 22px 50px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--faq-body-dim);
  animation: page-faq-fade 0.32s var(--ease);
}

.page-faq__item-body p {
  margin: 0 0 0.6rem;
}

.page-faq__item-body p:last-child {
  margin-bottom: 0;
}

.page-faq__item-body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(230, 179, 30, 0.5);
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.page-faq__item-body a:hover {
  color: var(--gold-dark);
  text-decoration-color: var(--gold-dark);
}

@keyframes page-faq-fade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-faq__figure {
  margin: 2rem 0 0;
  border: 1px solid rgba(230, 179, 30, 0.25);
  background: var(--bg-forest);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
  overflow: hidden;
}

.page-faq__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.page-faq__figure-caption {
  padding: 10px 14px;
  border-top: 1px solid rgba(230, 179, 30, 0.2);
  background: rgba(10, 31, 28, 0.92);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(252, 250, 245, 0.6);
  letter-spacing: 0.02em;
}

.page-faq__cta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  max-width: 1440px;
  margin: 1.5rem auto 0;
  padding: 2rem var(--container-pad) 0;
}

.page-faq__cta-text {
  max-width: 34em;
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(252, 250, 245, 0.85);
}

.page-faq__cta-btn {
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .page-faq__aside-action {
    flex-direction: row;
  }

  .page-faq__cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .page-faq {
    padding-top: 2.25rem;
  }

  .page-faq__hero {
    display: grid;
    grid-template-columns: 6fr 5fr;
    align-items: center;
    gap: 3rem;
    padding-bottom: 4rem;
  }

  .page-faq__layout {
    display: grid;
    grid-template-columns: minmax(240px, 280px) 1fr;
    gap: 48px;
    align-items: start;
  }

  .page-faq__aside {
    margin-bottom: 0;
  }

  .page-faq__aside-inner {
    position: sticky;
    top: 24px;
  }

  .page-faq__aside-action {
    flex-direction: column;
  }

  .page-faq__section {
    margin-bottom: 4rem;
  }

  .page-faq__item-summary {
    padding: 20px 24px 20px 26px;
    font-size: 1.0625rem;
  }

  .page-faq__item-body {
    font-size: 1rem;
  }

  .page-faq__cta {
    padding-top: 2.5rem;
  }
}
