/* =====================================================
   FAQ
   ===================================================== */

#faq-custom {
  position: relative;
  overflow: hidden;
  padding: 104px 40px 120px;
  background:
    radial-gradient(circle at 12% 10%, rgba(220, 29, 36, 0.16), transparent 26%),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.05), transparent 20%),
    linear-gradient(180deg, #080c1c 0%, #0d1426 55%, #10182f 100%);
}

#faq-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), transparent 94%);
  pointer-events: none;
}

.faq__head,
.faq__timeline {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
}

.faq__head {
  text-align: center;
  margin-bottom: 72px;
}

.faq__label {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(220, 29, 36, 0.3);
  border-radius: 999px;
  background: rgba(220, 29, 36, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.faq__label span {
  color: rgba(255, 255, 255, 0.68);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq__title {
  margin: 0;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.faq__timeline {
  position: relative;
  display: grid;
  gap: 44px;
}

.faq__timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 35px;
  width: 2px;
  background: linear-gradient(180deg, rgba(220, 29, 36, 0.6), rgba(255, 255, 255, 0.14));
}

.faq__item {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  column-gap: 28px;
  align-items: start;
  min-width: 0;
}

.faq__step {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(180deg, #1b2030 0%, #101623 100%);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.faq__content {
  min-width: 0;
  width: 100%;
  padding-top: 2px;
}

.faq__question {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 860px;
  margin: 0 0 14px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 2.2vw, 38px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  overflow-wrap: normal;
  word-break: normal;
}

.faq__answer {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 880px;
}

.faq__answer p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 1.06vw, 18px);
  line-height: 1.7;
  overflow-wrap: normal;
  word-break: normal;
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

.faq__answer strong {
  color: #fff;
  font-weight: 800;
}

.faq__answer em {
  color: #ffd2d4;
  font-style: italic;
}

@media (max-width: 960px) {
  #faq-custom {
    padding: 78px 24px 92px;
  }

  .faq__head {
    margin-bottom: 56px;
  }

  .faq__timeline {
    gap: 34px;
  }

  .faq__item {
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 22px;
  }

  .faq__timeline::before {
    left: 29px;
  }

  .faq__step {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  #faq-custom {
    padding: 58px 16px 74px;
  }

  .faq__head {
    margin-bottom: 40px;
  }

  .faq__timeline {
    gap: 28px;
  }

  .faq__item {
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 16px;
  }

  .faq__timeline::before {
    left: 18px;
    top: 14px;
    bottom: 14px;
  }

  .faq__step {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .faq__question {
    font-size: 24px;
    line-height: 1.14;
    margin-bottom: 10px;
  }

  .faq__answer p {
    font-size: 15px;
    line-height: 1.58;
  }
}
