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

.mcrm-faq {
  position: relative;
  min-height: 720px;
  padding: 88px 24px 112px;
  overflow: hidden;
  background: #06040c;
}

.mcrm-faq::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50px;
  left: -475px;
  width: 1444px;
  height: 1258px;
  background: url('/assets/images/source/faq-lines.webp') center / contain no-repeat;
  opacity: .2;
  pointer-events: none;
}

.mcrm-faq::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 30%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,113,71,.18), rgba(130,34,98,.12), transparent 70%);
  filter: blur(120px);
  pointer-events: none;
}

.mcrm-faq__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1090px;
  margin: 0 auto;
}

.mcrm-faq__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 69px;
  color: #fff;
  font: 700 36px/1.05 Manrope, sans-serif;
  letter-spacing: -.03em;
  text-align: center;
}

.mcrm-faq__title::before,
.mcrm-faq__title::after {
  content: "";
  display: block;
  width: 108px;
  height: 43px;
  flex: 0 0 108px;
  background: linear-gradient(90deg, transparent 0%, rgba(171,53,156,.18) 32%, rgba(216,58,170,.82) 88%, rgba(248,117,73,.44) 100%) center / 100% 2px no-repeat;
  filter: drop-shadow(0 0 8px rgba(252,146,232,.38));
}

.mcrm-faq__title::after {
  background: linear-gradient(90deg, rgba(248,117,73,.44) 0%, rgba(216,58,170,.82) 12%, rgba(171,53,156,.18) 68%, transparent 100%) center / 100% 2px no-repeat;
}

.mcrm-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
}

.mcrm-faq__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mcrm-faq__item {
  position: relative;
  min-height: 84px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(17, 10, 19, .9), rgba(3, 3, 5, .96));
  transition: background .3s ease, box-shadow .3s ease, opacity .3s ease;
}

.mcrm-faq__item::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 2px;
  border-radius: 4px;
  background: linear-gradient(180deg, #e05a2a -3.03%, #842262 71.55%, #610d77 100%);
}

.mcrm-faq__question {
  width: 100%;
  min-height: 84px;
  padding: 0 26px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .93);
  cursor: pointer;
  font: 400 16px/1.5 Inter, sans-serif;
  text-align: left;
}

.mcrm-faq__question span {
  min-width: 0;
}

.mcrm-faq__icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
  opacity: .9;
  filter: brightness(1.35) contrast(1.12);
  transition: transform .3s ease;
}

.mcrm-faq__answer {
  margin: -4px 28px 0 30px;
  padding: 0 0 24px;
  color: rgba(180,170,180,.8);
  font: 400 15px/1.65 Inter, sans-serif;
  text-align: left;
}

.mcrm-faq__answer p {
  margin: 0;
}

.mcrm-faq__answer p + p {
  margin-top: 12px;
}

.mcrm-faq__answer strong {
  color: rgba(255, 255, 255, .88);
  font-weight: 600;
}

.mcrm-faq__answer[hidden] {
  display: none;
}

.mcrm-faq__item.is-open {
  background: rgba(9,8,10,.78);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 10px 40px rgba(224,90,42,.15);
}

.mcrm-faq__item.is-open .mcrm-faq__icon {
  transform: rotate(180deg);
}

.mcrm-faq__question:focus-visible {
  outline: 1px solid #f87549;
  outline-offset: -4px;
}

@media (max-width: 1024px) {
  .mcrm-faq {
    min-height: 0;
    padding: 88px 20px 96px;
  }

  .mcrm-faq::after {
    top: 250px;
    left: -50px;
    width: 400px;
    height: 835px;
  }

  .mcrm-faq__inner {
    max-width: 720px;
  }

  .mcrm-faq__title {
    margin-bottom: 50px;
    gap: 12px;
    font-size: 30px;
  }

  .mcrm-faq__title::before,
  .mcrm-faq__title::after {
    width: 80px;
    height: 32px;
    flex-basis: 80px;
  }

  .mcrm-faq__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mcrm-faq__col {
    display: contents;
  }

  .mcrm-faq__item {
    width: 100%;
    max-width: 516px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .mcrm-faq {
    padding: 56px 16px 64px;
  }

  .mcrm-faq__inner {
    max-width: 340px;
  }

  .mcrm-faq__title {
    margin-bottom: 28px;
    gap: 10px;
    font-size: 21px;
    line-height: 1.2;
  }

  .mcrm-faq__title::before,
  .mcrm-faq__title::after {
    width: 48px;
    height: 15px;
    flex-basis: 48px;
  }

  .mcrm-faq__grid {
    gap: 10px;
  }

  .mcrm-faq__item {
    min-height: 74px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
  }

  .mcrm-faq__question {
    min-height: 72px;
    padding: 14px 18px 14px 20px;
    font-size: 15px;
    line-height: 1.42;
  }

  .mcrm-faq__icon {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
    transform: scale(1.6);
  }

  .mcrm-faq__item.is-open .mcrm-faq__icon {
    transform: rotate(180deg) scale(1.6);
  }

  .mcrm-faq__answer {
    margin: -6px 20px 0;
    padding-bottom: 18px;
    font-size: 14px;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mcrm-faq *,
  .mcrm-faq *::before,
  .mcrm-faq *::after {
    transition-duration: .01ms !important;
  }
}
