.mps-faq-section {
  background: #fff;
  padding: 32px 20px 30px;
  font-family: "Inter", sans-serif;
  z-index: 0;
}

.mps-faq-container {
  max-width: 1280px;
  margin: 0 auto;
}

.mps-faq-shell {
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 28px;
  padding: 34px 42px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 40px;
}

.mps-faq-left-card {
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 24px;
  min-height: 100%;
  padding: 34px 24px 42px;
  display: flex;
  max-width: 390px;
  flex-direction: column;
}

.mps-faq-title {
  margin: 0 0 34px;
  color: #093409;
  font-size: 48px;
  line-height: 55px;
  font-weight: 600;
  letter-spacing: -2px;
}

.mps-faq-copy {
  margin: 0 0 56px;
  color: rgba(41, 41, 41, 0.8);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

.mps-faq-contact-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: auto;
  margin-bottom: 34px;
}

.mps-faq-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #005500;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.mps-faq-contact-item img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 34px;
}

.mps-faq-chat-btn {
  min-height: 44px;
  border: 1px solid #009400;
  border-radius: 8px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-decoration: none;
  color: #009400;
  font-size: 16px;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.mps-faq-chat-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(27, 192, 27, 0.1);
  color: #2a8e2a;
}

.mps-faq-chat-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.mps-faq-right {
  min-width: 0;
}

.mps-faq-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background: #fafafa;
  border: 1px solid #e6e6e6;
  border-radius: 18px;
  padding: 4px;
  margin-bottom: 34px;
  overflow: hidden;
}

.mps-faq-tab {
  position: relative;
  border: none;
  background: transparent;
  color: #737373;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  padding: 16px 12px;
  border-radius: 14px;
  cursor: pointer;
  text-transform: none;
  transition: 0.5s ease;
  white-space: nowrap;
  display: flex;
  justify-content: center;
}

.mps-faq-tab:hover {
  color: #0b9f0b;
}

.mps-faq-tab.is-active {
  background: #fff;
  color: #0b9f0b;
  box-shadow:
    0px 3px 0 0 #24ca24,
    0 1px 2px 0 rgba(10, 13, 18, 0.05);
}

.mps-faq-panel {
  display: none;
}

.mps-faq-panel.is-active {
  display: block;
}

.mps-faq-item {
  border-bottom: 1px solid #e9e9e9;
}

.mps-faq-question {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 28px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
}

.mps-faq-question:hover {
  background: transparent;
  color: #093409;
}

.mps-faq-question-text {
  color: #424644;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  text-transform: none;
}

.mps-faq-icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin-top: 4px;
}

.mps-faq-icon::before,
.mps-faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #a0a0a0;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: 0.2s ease;
}

.mps-faq-icon::before {
  width: 24px;
  height: 2px;
}

.mps-faq-icon::after {
  width: 2px;
  height: 24px;
}

.mps-faq-item.is-open .mps-faq-icon::after {
  opacity: 0;
}

.mps-faq-answer {
  padding: 0 0 22px;
}

.mps-faq-answer-inner {
  color: #737373;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  max-width: 1100px;
}

@media (max-width: 1400px) {
  .mps-faq-shell {
    grid-template-columns: 420px minmax(0, 1fr);
  }

  .mps-faq-title {
    font-size: 58px;
  }

  .mps-faq-copy,
  .mps-faq-contact-item,
  .mps-faq-chat-btn,
  .mps-faq-tab,
  .mps-faq-question-text,
  .mps-faq-answer-inner {
    font-size: 20px;
  }
}

@media (max-width: 1100px) {
  .mps-faq-shell {
    grid-template-columns: 1fr;
  }

  .mps-faq-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .mps-faq-section {
    padding: 0 14px 20px;
  }

  .mps-faq-shell {
    padding: 18px;
    gap: 20px;
  }

  .mps-faq-left-card {
    padding: 24px 0;
    border: none;
    background: #fff;
    justify-content: center;
    align-items: center;
  }

  .mps-faq-title {
    font-size: 32px;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
    text-align: center;
    line-height: 42px;
  }

  .mps-faq-copy {
    font-size: 14px;
    margin: 0;
    text-align: center;
  }

  .mps-faq-contact-item {
    font-size: 16px;
    gap: 12px;
  }

  .mps-faq-contact-item img {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .mps-faq-chat-btn.mobile {
    display: flex !important;
  }

  .mps-faq-chat-btn {
    min-height: 58px;
    font-size: 20px;
  }

  .mps-faq-tabs {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px;
    padding-right: 56px;
    margin: 0 0 28px;
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mps-faq-tabs::-webkit-scrollbar {
    display: none;
  }

  .mps-faq-tabs::after {
    content: "";
    position: sticky;
    right: -60px;
    top: 0;
    width: 54px;
    min-width: 90px;
    height: 50px;
    margin-left: -54px;
    pointer-events: none;
    border-radius: 0 14px 14px 0;
    background: linear-gradient(
      to right,
      rgba(250, 250, 250, 0) 0%,
      rgba(250, 250, 250, 0.72) 45%,
      rgba(250, 250, 250, 0.95) 75%,
      #fafafa 100%
    );
    z-index: 2;
  }

  .mps-faq-tab {
    flex: 0 0 auto;
    min-width: max-content;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.2;
    padding: 18px 26px;
    border-radius: 16px;
    justify-content: center;
  }

  .mps-faq-tab:last-child() {
    min-width: auto;
  }

  .mps-faq-question {
    padding: 20px 0 16px;
    gap: 16px;
  }

  .mps-faq-question-text {
    font-size: 16px;
  }

  .mps-faq-answer-inner {
    font-size: 14px;
  }

  .mps-faq-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .mps-faq-icon::before {
    width: 18px;
  }

  .mps-faq-icon::after {
    height: 18px;
  }
  .mps-faq-contact-list.mobile {
    display: block !important;
  }

  .mps-videos-cta.mobile {
    display: flex !important;
    background: #fff;
  }

  .mps-videos-cta.mobile .mps-videos-cta-title {
    text-align: center;
    max-width: 250px;
  }

  .mps-videos-cta.mobile .mps-videos-cta-text {
    text-align: center;
  }
}
