@charset "utf-8";

/* Phase 3 only: PREVER-proportioned FLOW / FAQ. */
.p3-flow-faq {
  width: 100%;
  background: #fff;
  color: var(--p1-navy);
}

.p3-flow-faq__inner {
  display: grid;
  width: 100%;
  max-width: 1408px;
  grid-template-columns: 46% 46%;
  justify-content: space-between;
  margin: 0 auto;
}

.p3-flow,
.p3-faq {
  min-width: 0;
  padding: 100px 0;
  overflow: hidden;
}

.p3-flow-faq__heading {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 145px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  text-align: center;
}

.p3-flow-faq__heading h2 {
  font-family: var(--salon-serif);
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .07em;
}

.p3-flow-faq__heading p {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .08em;
}

.p3-flow-faq__lead {
  display: flex;
  width: 100%;
  min-height: 204px;
  align-items: center;
  justify-content: center;
  padding: 34px 11%;
  background: #e8edf2;
  color: #365a84;
  text-align: center;
}

.p3-flow-faq__lead p {
  font-size: 14px;
  font-weight: 600;
  line-height: 2;
}

.p3-flow__steps {
  margin-top: 30px;
  list-style: none;
}

.p3-flow__steps .p3-flow__step {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  margin-bottom: 30px;
  background: transparent;
}

.p3-flow__step-card {
  display: flex;
  width: 100%;
  min-height: 198px;
  background: #f8f6f1;
}

.p3-flow__step-label {
  display: none;
}

.p3-flow__step:not(:last-child)::after {
  position: absolute;
  bottom: -21px;
  left: 50%;
  width: 13px;
  height: 13px;
  border-right: 2px solid #9fb1c7;
  border-bottom: 2px solid #9fb1c7;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.p3-flow__step:last-child {
  margin-bottom: 0;
}

.p3-flow__visual {
  display: grid;
  width: 36%;
  min-height: 0;
  flex: 0 0 36%;
  box-sizing: border-box;
  align-self: center;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 0;
  background: #f8f6f1;
  overflow: hidden;
}

.p3-flow__image {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.p3-flow__content {
  width: 64%;
  min-width: 0;
  flex: 1 1 auto;
}

.p3-flow__step-heading {
  display: flex;
  min-height: 63px;
  align-items: center;
  padding: 10px 25px 8px;
  border-bottom: 1px solid #ccc;
}

.p3-flow__step-heading > p {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  margin-right: 12px;
  color: #9fb1c7;
  font-family: var(--salon-serif);
  line-height: 1;
}

.p3-flow__step-heading span {
  margin-right: 4px;
  font-size: 9px;
  letter-spacing: .08em;
}

.p3-flow__step-heading strong {
  font-size: 28px;
  font-weight: 400;
}

.p3-flow__step-heading h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.p3-flow__description {
  padding: 13px 25px 18px;
  color: #474747;
  font-size: 13px;
  line-height: 1.8;
}

.p3-flow__step.is-image-empty .p3-flow__content {
  width: 100%;
}

.p3-faq__list {
  margin: 30px 0;
}

.p3-faq__list-title {
  display: flex;
  width: 100%;
  min-height: 68px;
  align-items: center;
  padding: 8px 10px;
  background: #9fb1c7;
  color: #fff;
  font-size: 19px;
  font-weight: 600;
}

.p3-faq__list-title span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  margin-right: 10px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  font-family: var(--salon-serif);
  font-size: 18px;
}

.p3-faq__item {
  border-bottom: 1px solid #fff;
}

.p3-faq__item h3 {
  margin: 0;
}

.p3-faq__item button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 68px;
  align-items: center;
  padding: 13px 64px 13px 16px;
  border: 0;
  background: #f5f4f1;
  color: var(--p1-navy);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background-color .25s ease;
}

.p3-faq__item button:hover,
.p3-faq__item button:focus-visible {
  background: #eceff2;
}

.p3-faq__q {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  margin-right: 10px;
  color: #9fb1c7;
  font-family: var(--salon-serif);
  font-size: 21px;
}

.p3-faq__question {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.p3-faq__icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 100%;
  color: #9fb1c7;
}

.p3-faq__icon::before,
.p3-faq__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  border-top: 1px solid currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: opacity .5s ease, transform .5s ease;
}

.p3-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.p3-faq__item button[aria-expanded="true"] .p3-faq__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(180deg);
}

.p3-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  background: #fcfcfc;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows .5s ease, opacity .5s ease, visibility .5s ease;
}

.p3-faq__answer-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 25px;
  color: #474747;
  font-size: 14px;
  line-height: 1.75;
  transition: padding .5s ease;
}

.p3-faq__answer.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
}

.p3-faq__answer.is-open .p3-faq__answer-inner {
  padding-top: 18px;
  padding-bottom: 18px;
}

.p3-faq__answer-inner > :first-child { margin-top: 0; }
.p3-faq__answer-inner > :last-child { margin-bottom: 0; }

.p3-faq__more {
  display: flex;
  justify-content: flex-end;
  margin-top: -5px;
}

.p3-faq__more a {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  color: #567ca9;
  font-size: 16px;
}

.p3-faq__more span {
  margin-left: 8px;
}

@media (max-width: 786px) {
  .p3-flow-faq {
    position: relative;
    z-index: 1;
    padding-bottom: 100px;
  }

  .p3-flow-faq__inner {
    display: block;
  }

  .p3-flow,
  .p3-faq {
    width: 100%;
    padding: 100px 5% 0;
  }

  .p3-flow {
    background: transparent;
  }

  .p3-flow__step-card,
  .p3-flow__visual {
    background: #f8f6f1;
  }

  .p3-flow-faq__heading {
    min-height: 118px;
  }

  .p3-flow-faq__heading h2 {
    font-size: 52px;
  }

  .p3-flow-faq__lead {
    min-height: 121px;
    padding: 24px 8%;
  }

  .p3-flow-faq__lead p {
    font-size: 13px;
    line-height: 1.85;
  }

  .p3-flow__steps .p3-flow__step:not(:last-child) {
    min-height: 0;
    margin-bottom: 40px;
  }

  .p3-flow__step-card {
    min-height: 0;
    align-items: center;
  }

  .p3-flow__step > .p3-flow__step-label {
    display: flex;
    width: calc(64% - 20px);
    height: 24px;
    align-items: baseline;
    margin: 0 0 4px calc(36% + 20px);
    color: #a18f6e;
    font-family: var(--salon-serif);
    line-height: 1;
  }

  .p3-flow__step-label::after {
    display: none;
  }

  .p3-flow__step-label span {
    font-family: var(--salon-sans);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .16em;
  }

  .p3-flow__step-label strong {
    margin-left: 6px;
    font-size: 22px;
    font-weight: 400;
  }

  .p3-flow__step:not(:last-child)::after {
    bottom: -28px;
  }

  .p3-flow__step-heading > p {
    display: none;
  }

  .p3-flow__visual {
    width: 36%;
    height: auto;
    min-height: 0;
    flex-basis: 36%;
    align-self: center;
    aspect-ratio: 4 / 3;
  }

  .p3-flow__content {
    width: 64%;
  }

  .p3-flow__step-heading {
    min-height: 36px;
    padding: 7px 20px 5px;
  }

  .p3-flow__description {
    padding: 7px 20px 9px;
  }

  .p3-faq__list-title,
  .p3-faq__item button {
    min-height: 64px;
  }

  .p3-faq__list-title {
    font-size: 18px;
  }

  .p3-faq__q {
    font-size: 20px;
  }

  .p3-faq__question {
    font-size: 14px;
  }

  .p3-faq__answer-inner {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .p3-flow__step > .p3-flow__step-label {
    width: calc(64% - 14px);
    margin-left: calc(36% + 14px);
  }

  .p3-flow__step-heading {
    min-height: 36px;
    padding-top: 7px;
    padding-bottom: 5px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .p3-flow__step-heading > p {
    margin-right: 8px;
  }

  .p3-flow__step-heading strong {
    font-size: 25px;
  }

  .p3-flow__step-heading h3 {
    font-size: 14px;
  }

  .p3-flow__description {
    padding: 7px 14px 9px;
    font-size: 12px;
    line-height: 1.78;
  }

  .p3-faq__list-title {
    min-height: 62px;
    font-size: 17px;
  }

  .p3-faq__item button {
    padding-left: 10px;
    min-height: 62px;
  }

  .p3-faq__question {
    font-size: 14px;
  }

  .p3-faq__answer-inner {
    padding-right: 18px;
    padding-left: 18px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p3-faq__item button,
  .p3-faq__icon::before,
  .p3-faq__icon::after,
  .p3-faq__answer,
  .p3-faq__answer-inner {
    transition: none;
  }
}
