.journey-page--faq {
  --faq-ink: #181714;
  --faq-paper: #f4f2ed;
  --faq-lime: #dfe200;
  --faq-green: #1b573b;
  --faq-orange: #e45e00;
  --faq-startline: #003369;
  --faq-red: #ae2100;
  color: var(--faq-ink);
  background: #fff;
}

.journey-page--faq main {
  overflow: clip;
}

.faq-hero {
  position: relative;
  min-height: 560px;
  padding-top: var(--header-height);
  color: #fff;
  background: #101412;
}

.faq-hero__photo,
.faq-hero__overlay {
  position: absolute;
  inset: 0;
}

.faq-hero__photo {
  background: url("../images/group-travel.webp") center 42% / cover no-repeat;
}

.faq-hero__overlay {
  background:
    linear-gradient(90deg, rgba(8, 15, 13, .9) 0%, rgba(8, 15, 13, .68) 46%, rgba(8, 15, 13, .22) 100%),
    linear-gradient(0deg, rgba(8, 15, 13, .42), transparent 55%);
}

.faq-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(560px - var(--header-height));
  padding-block: 80px;
  flex-direction: column;
  justify-content: center;
}

.faq-hero__eyebrow {
  margin: 0 0 18px;
  color: var(--faq-lime);
  font-family: "Montserrat Digits", "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
}

.faq-hero h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.08;
}

.faq-hero h1::after {
  display: block;
  width: min(250px, 38vw);
  height: 13px;
  margin-top: -5px;
  background: var(--faq-lime);
  content: "";
}

.faq-hero__inner > p:last-child {
  max-width: 620px;
  margin: 32px 0 0;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.9;
}

.faq-guide {
  background:
    linear-gradient(rgba(24, 23, 20, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 23, 20, .035) 1px, transparent 1px),
    #fff;
  background-size: 32px 32px;
}

.faq-guide .section-description {
  max-width: 760px;
  margin-inline: auto;
}

.faq-guide__grid {
  display: grid;
  margin-top: clamp(42px, 5vw, 70px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.faq-program {
  --program-color: var(--faq-green);
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 410px;
  padding: 30px 24px 24px;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(24, 23, 20, .13);
  border-top: 8px solid var(--program-color);
  box-shadow: 0 14px 34px rgba(24, 23, 20, .08);
}

.faq-program--orange {
  --program-color: var(--faq-orange);
}

.faq-program--startline {
  --program-color: var(--faq-startline);
}

.faq-program--red {
  --program-color: var(--faq-red);
}

.faq-program__stage {
  margin: 0 0 24px;
  color: var(--program-color);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.faq-program > img {
  width: min(180px, 88%);
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.faq-program h3 {
  margin: 25px 0 12px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.65;
}

.faq-program > p:not(.faq-program__stage) {
  margin: 0 0 24px;
  color: #5a5550;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.85;
}

.faq-program a {
  display: flex;
  min-height: 49px;
  margin-top: auto;
  padding: 10px 14px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--program-color);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, filter .18s ease;
}

.faq-program a:hover,
.faq-program a:focus-visible {
  filter: brightness(.92);
  transform: translateY(-2px);
}

.faq-main {
  background: var(--faq-paper);
}

.faq-main__layout {
  display: grid;
  grid-template-columns: minmax(210px, .28fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
}

.faq-index {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  padding: 28px 24px;
  color: #fff;
  background: var(--faq-ink);
}

.faq-index > p {
  margin: 0 0 18px;
  color: var(--faq-lime);
  font-family: "Montserrat Digits", "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.faq-index nav {
  display: grid;
}

.faq-index button {
  display: grid;
  width: 100%;
  padding: 15px 0;
  grid-template-columns: 32px 1fr;
  gap: 8px;
  align-items: center;
  color: #fff;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  border-radius: 0;
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
}

.faq-index button:hover,
.faq-index button:focus-visible {
  color: var(--faq-lime);
}

.faq-index button:focus-visible {
  outline: 2px solid var(--faq-lime);
  outline-offset: 4px;
}

.faq-index button span {
  color: var(--faq-lime);
  font-family: "Montserrat Digits", "Montserrat", Arial, Helvetica, sans-serif;
}

.faq-main__heading {
  margin-bottom: 60px;
}

.faq-main__heading h2 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 900;
  letter-spacing: .03em;
  line-height: 1.35;
}

.faq-group {
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.faq-group + .faq-group {
  margin-top: 78px;
}

.faq-group__title {
  display: flex;
  margin-bottom: 22px;
  gap: 18px;
  align-items: center;
}

.faq-group__title > span {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  color: var(--faq-ink);
  background: var(--faq-lime);
  border-radius: 50%;
  font-family: "Montserrat Digits", "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 21px;
  font-weight: 900;
  place-items: center;
}

.faq-group__title small {
  display: block;
  margin-bottom: 4px;
  color: #807970;
  font-family: "Montserrat Digits", "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
}

.faq-group__title h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
}

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

.faq-accordion details {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(24, 23, 20, .13);
  box-shadow: 0 7px 20px rgba(24, 23, 20, .04);
}

.faq-accordion summary {
  position: relative;
  display: grid;
  min-height: 82px;
  padding: 20px 64px 20px 24px;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.7;
  list-style: none;
}

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

.faq-accordion summary > span {
  color: var(--faq-orange);
  font-family: "Montserrat Digits", "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 900;
}

.faq-accordion summary::before,
.faq-accordion summary::after {
  position: absolute;
  top: 50%;
  right: 25px;
  width: 18px;
  height: 2px;
  background: var(--faq-ink);
  content: "";
  transition: transform .2s ease;
}

.faq-accordion summary::after {
  transform: rotate(90deg);
}

.faq-accordion details[open] summary::after {
  transform: rotate(0deg);
}

.faq-accordion details[open] summary {
  background: var(--faq-lime);
}

.faq-accordion details > div {
  padding: 23px 28px 26px 72px;
  border-top: 1px solid rgba(24, 23, 20, .1);
}

.faq-accordion details p {
  margin: 0;
  color: #504b46;
  font-size: 14px;
  font-weight: 600;
  line-height: 2;
}

.faq-accordion details strong {
  color: var(--faq-ink);
  font-weight: 900;
}

.faq-contact {
  position: relative;
  min-height: 610px;
  color: #fff;
  background: #121613;
}

.faq-contact__photo,
.faq-contact__overlay {
  position: absolute;
  inset: 0;
}

.faq-contact__photo {
  background: url("../images/conversion-background.webp") center / cover no-repeat;
}

.faq-contact__overlay {
  background: linear-gradient(90deg, rgba(9, 16, 14, .91), rgba(9, 16, 14, .66) 58%, rgba(9, 16, 14, .34));
}

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

.faq-contact .section-kicker {
  text-align: left;
}

.faq-contact h2 {
  max-width: 780px;
  margin: 18px 0;
  font-size: clamp(34px, 4.7vw, 64px);
  font-weight: 900;
  letter-spacing: .03em;
  line-height: 1.35;
}

.faq-contact__inner > p:not(.section-kicker) {
  max-width: 660px;
  margin: 0 0 34px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
}

.faq-contact .button {
  max-width: 600px;
  margin: 0;
}

.faq-contact .micro-notes {
  justify-content: flex-start;
  max-width: 600px;
}

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

  .faq-program {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .faq-hero {
    min-height: 500px;
  }

  .faq-hero__photo {
    background-position: 62% center;
  }

  .faq-hero__overlay {
    background: linear-gradient(0deg, rgba(8, 15, 13, .94) 0%, rgba(8, 15, 13, .48) 100%);
  }

  .faq-hero__inner {
    min-height: calc(500px - var(--header-height));
    padding-block: 60px 54px;
    justify-content: flex-end;
  }

  .faq-hero__eyebrow {
    font-size: 12px;
    letter-spacing: .11em;
  }

  .faq-hero h1 {
    font-size: clamp(43px, 14vw, 62px);
  }

  .faq-hero__inner > p:last-child {
    font-size: 14px;
    line-height: 1.8;
  }

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

  .faq-program {
    min-height: 0;
    padding: 26px 22px 22px;
  }

  .faq-program h3 {
    font-size: 17px;
  }

  .faq-main__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq-index {
    position: static;
    padding: 22px 20px;
  }

  .faq-index nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }

  .faq-main__heading {
    margin-bottom: 46px;
  }

  .faq-group + .faq-group {
    margin-top: 62px;
  }

  .faq-group__title > span {
    width: 54px;
    height: 54px;
    font-size: 18px;
  }

  .faq-accordion summary {
    min-height: 76px;
    padding: 17px 50px 17px 16px;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    font-size: 13px;
  }

  .faq-accordion summary > span {
    font-size: 19px;
  }

  .faq-accordion summary::before,
  .faq-accordion summary::after {
    right: 17px;
    width: 15px;
  }

  .faq-accordion details > div {
    padding: 20px 18px 22px;
  }

  .faq-accordion details p {
    font-size: 13px;
    line-height: 1.9;
  }

  .faq-contact {
    min-height: 570px;
  }

  .faq-contact__overlay {
    background: rgba(9, 16, 14, .75);
  }

  .faq-contact h2 {
    font-size: clamp(30px, 9.5vw, 42px);
  }

  .faq-contact__inner > p:not(.section-kicker) {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .faq-index nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-program a,
  .faq-accordion summary::after {
    transition: none;
  }
}
