.vp-page-faq {
  --faq-white: #fcfeff;
  --faq-soft: #f0f6ff;
  --faq-navy: #051730;
  --faq-ink: #0e0f0f;
  --faq-text: #3e4651;
  --faq-gold: #d1ac84;
  --faq-icon-bg: #e8edf3;
  --faq-border: rgba(193, 200, 212, 0.55);
  --faq-card-shadow: 0 8px 24px rgba(10, 29, 55, 0.05);
  --faq-sans: "DM Sans", "Avenir Next Cyr", "Avenir Next", Avenir, var(--vp-sans);
  background: var(--faq-white);
  color: var(--faq-ink);
}

body.page-slug-faq .site-main {
  background: var(--faq-white);
}

.vp-page-faq h1,
.vp-page-faq h2,
.vp-page-faq p {
  margin: 0;
}

.vp-page-faq a {
  color: #0d3c7e;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

/* Hero */
.faq-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 88px 60px;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.faq-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.faq-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.faq-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 23, 48, 0.62) 0%, rgba(5, 23, 48, 0.34) 48%, rgba(5, 23, 48, 0.12) 100%);
}

.faq-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(100%, 1320px);
  margin: 0 auto;
  padding-inline: 20px;
}

.faq-hero-eyebrow {
  margin: 0;
  color: #fff;
  font-family: var(--faq-sans);
  font-size: 15px;
  font-weight: 600;
  font-variation-settings: "opsz" 24, "wght" 600;
  line-height: 1.4;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.faq-hero h1 {
  max-width: 760px;
  color: #fff;
  font-family: var(--vp-display);
  font-size: clamp(48px, 5.4vw, 72px);
  font-weight: 400;
  line-height: 1.1;
}

/* Sections */
.faq-section {
  padding: 84px 0;
  background: var(--faq-white);
}

.faq-section-soft {
  background: var(--faq-soft);
}

.faq-section-inner {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 48px 72px;
  align-items: start;
  width: min(100%, 1320px);
  margin: 0 auto;
  padding-inline: 60px;
}

.faq-section-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.faq-section-label {
  margin: 0;
  color: var(--faq-gold);
  font-family: var(--faq-sans);
  font-size: 15px;
  font-weight: 600;
  font-variation-settings: "opsz" 24, "wght" 600;
  line-height: 1.4;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.faq-section-intro h2 {
  margin: 16px 0 0;
  color: var(--faq-navy);
  font-family: var(--vp-display);
  font-size: clamp(36px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.faq-section-copy {
  margin: 24px 0 0;
  color: var(--faq-text);
  font-family: var(--faq-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

/* Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--faq-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--faq-card-shadow);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.faq-section-soft .faq-item {
  border-color: rgba(193, 200, 212, 0.4);
}

.faq-item[open] {
  border-color: var(--faq-gold);
  box-shadow: 0 10px 28px rgba(10, 29, 55, 0.07);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  background: url("../../img/static-pages/faq/icon-plus.svg") center / 32px 32px no-repeat;
}

.faq-item[open] .faq-item-icon {
  background-image: url("../../img/static-pages/faq/icon-minus.svg");
}

.faq-item-question {
  flex: 1;
  color: var(--faq-ink);
  font-family: var(--faq-sans);
  font-size: 17px;
  font-weight: 600;
  font-variation-settings: "opsz" 24, "wght" 600;
  line-height: 1.45;
  text-align: left;
}

.faq-answer {
  padding: 0 22px 22px 70px;
  text-align: left;
}

.faq-answer p,
.faq-answer li {
  color: var(--faq-text);
  font-family: var(--faq-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.faq-answer ol,
.faq-answer ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.faq-answer li + li {
  margin-top: 0.5em;
}

@media (max-width: 1024px) {
  .faq-section-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-inline: 40px;
  }
}

@media (max-width: 768px) {
  .faq-hero {
    min-height: 420px;
    padding: 72px 24px;
  }

  .faq-hero-inner {
    padding-inline: 0;
  }

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

  .faq-section-inner {
    padding-inline: 24px;
  }

  .faq-item summary {
    padding: 16px;
  }

  .faq-answer {
    padding: 0 16px 18px 64px;
  }

  .faq-item-question {
    font-size: 16px;
  }
}
