/* The Fit Class - FAQ Section */

.tfc-faq,
.tfc-faq * {
  box-sizing: border-box;
}

.tfc-faq {
  width: 100%;
  padding: clamp(64px, 8vw, 110px) 16px;
  background:
    radial-gradient(circle at 20% 0%, rgba(18, 101, 255, .10), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #071126;
}

.tfc-faq__inner {
  width: min(100%, 980px);
  margin: 0 auto;
}

.tfc-faq__header {
  max-width: 760px;
  margin: 0 auto clamp(28px, 4vw, 46px);
  text-align: center;
}

.tfc-faq__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(18, 101, 255, .14);
  border-radius: 999px;
  color: #1265ff;
  background: rgba(18, 101, 255, .07);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.tfc-faq__header h2 {
  margin: 16px 0 12px;
  color: #071126;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: -.06em;
}

.tfc-faq__header p {
  margin: 0;
  color: #536078;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  font-weight: 750;
  letter-spacing: -.025em;
}

.tfc-faq__list {
  display: grid;
  gap: 14px;
}

.tfc-faq__item {
  overflow: hidden;
  border: 1px solid rgba(7, 17, 38, .08);
  border-radius: 22px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
}

.tfc-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  color: #071126;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -.035em;
}

.tfc-faq__item summary::-webkit-details-marker {
  display: none;
}

.tfc-faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(18, 101, 255, .10), rgba(73, 56, 255, .10));
}

.tfc-faq__icon::before,
.tfc-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: #1265ff;
  transform: translate(-50%, -50%);
}

.tfc-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform .18s ease, opacity .18s ease;
}

.tfc-faq__item[open] .tfc-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.tfc-faq__answer {
  padding: 0 24px 24px;
}

.tfc-faq__answer p {
  max-width: 820px;
  margin: 0;
  color: #536078;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 700;
  letter-spacing: -.018em;
}

@media (max-width: 680px) {
  .tfc-faq {
    padding: 54px 12px;
  }

  .tfc-faq__header {
    margin-bottom: 26px;
  }

  .tfc-faq__header h2 {
    font-size: 38px;
  }

  .tfc-faq__header p {
    font-size: 15px;
  }

  .tfc-faq__list {
    gap: 12px;
  }

  .tfc-faq__item {
    border-radius: 18px;
  }

  .tfc-faq__item summary {
    padding: 18px 16px;
    gap: 12px;
    font-size: 17px;
  }

  .tfc-faq__icon {
    width: 30px;
    height: 30px;
  }

  .tfc-faq__answer {
    padding: 0 16px 18px;
  }

  .tfc-faq__answer p {
    font-size: 14.5px;
    line-height: 1.6;
  }
}
