/* ── Section Block 1: hero header ── */
.page#page--faq .section#section__block1 {
  background-color: #fff;
}

.page#page--faq .section#section__block1 .section__body {
  padding-top: 5rem;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .page#page--faq .section#section__block1 .section__body {
    padding-top: 7rem;
    padding-bottom: 2.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.page#page--faq .faq__header {
  border-left: 4px solid rgba(217, 32, 40, 1);
  padding-left: 1rem;
}

.page#page--faq .faq__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(217, 32, 40, 1);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.page#page--faq .faq__title {
  font-size: 32px;
  font-weight: 900;
  color: #000;
  line-height: 1.2;
  margin: 0;
}

@media (min-width: 992px) {
  .page#page--faq .faq__title {
    font-size: 48px;
  }
}

/* ── Section FAQ: filter + content ── */
.page#page--faq .section#section__faq {
  background-color: #fff;
}

.page#page--faq .section#section__faq .section__body {
  padding-top: 0;
  padding-bottom: 5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .page#page--faq .section#section__faq .section__body {
    padding-bottom: 7rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ── CTA section ── */
.page#page--faq .section#section__faq__cta .section__body {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1.5rem 5rem;
}

@media (min-width: 992px) {
  .page#page--faq .section#section__faq__cta .section__body {
    padding: 3rem 2rem 7rem;
  }
}

.page#page--faq .faq__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 1.5rem 2.5rem;
  border: 1.5px solid #000;
  border-radius: 9999px;
}

@media (min-width: 992px) {
  .page#page--faq .faq__cta {
    flex-direction: row;
    padding: 1.25rem 3rem;
  }
}

.page#page--faq .faq__cta__text {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  line-height: 1.5;
}

@media (min-width: 992px) {
  .page#page--faq .faq__cta__text {
    font-size: 22px;
  }
}

.page#page--faq .faq__cta__btn {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: rgba(217, 32, 40, 1);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.page#page--faq .faq__cta__btn:hover {
  opacity: 0.75;
}

/* ── Filter tabs ── */
.page#page--faq .faq__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
  padding-top: 0.5rem;
}

.page#page--faq .faq__filter__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.2rem;
  border-radius: 9999px;
  border: 1.5px solid #000;
  background: transparent;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.page#page--faq .faq__filter__btn.active,
.page#page--faq .faq__filter__btn:hover {
  background-color: rgba(217, 32, 40, 1);
  border-color: rgba(217, 32, 40, 1);
  color: #fff;
}

/* ── FAQ groups ── */
.page#page--faq .faq__groups {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.page#page--faq .faq__group__title {
  font-size: 20px;
  font-weight: 900;
  color: #000;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #000;
}

@media (min-width: 992px) {
  .page#page--faq .faq__group__title {
    font-size: 24px;
  }
}

/* ── FAQ list ── */
.page#page--faq .faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page#page--faq .faq__item {
  border-bottom: 1px solid #e0e0e0;
}

/* ── Question button ── */
.page#page--faq .faq__item__question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.page#page--faq .faq__item__q,
.page#page--faq .faq__item__a {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.page#page--faq .faq__item__q {
  background-color: #000;
  color: #fff;
  margin-top: 1px;
}

.page#page--faq .faq__item__a {
  background-color: rgba(217, 32, 40, 1);
  color: #fff;
  margin-top: 1px;
}

.page#page--faq .faq__item__question__text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  line-height: 1.6;
}

@media (min-width: 992px) {
  .page#page--faq .faq__item__question__text {
    font-size: 16px;
  }
}

/* arrow icon */
.page#page--faq .faq__item__arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  position: relative;
}

.page#page--faq .faq__item__arrow::before,
.page#page--faq .faq__item__arrow::after {
  content: '';
  position: absolute;
  background-color: #000;
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.page#page--faq .faq__item__arrow::before {
  width: 10px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg) translateX(-3px);
}

.page#page--faq .faq__item__arrow::after {
  width: 10px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg) translateX(3px);
}

.page#page--faq .faq__item.is--open .faq__item__arrow::before {
  transform: translate(-50%, -50%) rotate(-45deg) translateX(-3px);
}

.page#page--faq .faq__item.is--open .faq__item__arrow::after {
  transform: translate(-50%, -50%) rotate(45deg) translateX(3px);
}

/* ── Answer ── */
.page#page--faq .faq__item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.page#page--faq .faq__item.is--open .faq__item__answer {
  max-height: 3000px;
}

.page#page--faq .faq__item__answer__inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0 0 1.25rem 0;
  font-size: 14px;
  color: #444;
  line-height: 1.75;
}

@media (min-width: 992px) {
  .page#page--faq .faq__item__answer__inner {
    font-size: 15px;
  }
}

.page#page--faq .faq__answer__list {
  margin: 0.75rem 0 0.75rem 1.25rem;
  padding: 0;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.page#page--faq .faq__answer__list--numbered {
  list-style: decimal;
}

/* ── Flowchart inside answer ── */
.page#page--faq .faq__flowchart {
  margin-top: 1.5rem;
}

.page#page--faq .faq__flow__group {
  background-color: #f7f7f7;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.page#page--faq .faq__flow__group:last-of-type {
  margin-bottom: 0;
}

.page#page--faq .faq__flow__group__label {
  position: relative;
  padding-left: 0.75rem;
  font-size: 14px;
  font-weight: 700;
  color: rgba(217, 32, 40, 1);
  margin-bottom: 1rem;
}

.page#page--faq .faq__flow__group__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background-color: rgba(217, 32, 40, 1);
}

.page#page--faq .faq__flow__item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e2e2;
}

.page#page--faq .faq__flow__item:first-child {
  padding-top: 0;
}

.page#page--faq .faq__flow__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.page#page--faq .faq__flow__box {
  flex-shrink: 0;
  width: 180px;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: rgba(217, 32, 40, 1);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.page#page--faq .faq__flow__box strong {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.page#page--faq .faq__flow__box span {
  display: block;
  font-size: 11px;
  color: #ffb3b5;
  margin-top: 0.3rem;
  line-height: 1.4;
}

.page#page--faq .faq__flow__desc {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}

.page#page--faq .faq__flow__note {
  border: 1px dashed #d99a20;
  background-color: #fdf6e8;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}

.page#page--faq .faq__flow__note strong {
  color: rgba(217, 32, 40, 1);
}

@media (min-width: 992px) {
  .page#page--faq .faq__flow__box {
    width: 210px;
  }
  .page#page--faq .faq__flow__desc {
    font-size: 15px;
  }
  .page#page--faq .faq__flow__note {
    font-size: 15px;
  }
}
