
.sfsm-front,
.sfsm-front * {
  box-sizing: border-box;
}

.sfsm-front {
  --sfsm-bg: #f5f7fa;
  --sfsm-card: #ffffff;
  --sfsm-text: #111827;
  --sfsm-muted: #64748b;
  --sfsm-border: #e5e7eb;
  --sfsm-brand: #2563eb;
  --sfsm-soft: #f8fafc;
  max-width: 980px;
  margin: 42px auto;
  padding: 40px;
  background: var(--sfsm-bg);
  border: 1px solid var(--sfsm-border);
  border-radius: 32px;
  color: var(--sfsm-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sfsm-head {
  text-align: center;
  margin-bottom: 28px;
}

.sfsm-head span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.sfsm-head h2 {
  margin: 12px 0 8px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #111827;
  font-weight: 850;
}

.sfsm-head p {
  max-width: 640px;
  margin: 0 auto;
  color: #64748b;
  font-size: 18px;
}

.sfsm-items {
  display: grid;
  gap: 18px;
}

.sfsm-cards .sfsm-items {
  grid-template-columns: repeat(2, 1fr);
}

.sfsm-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.sfsm-item:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
  border-color: #d7dde7;
}

.sfsm-question {
  width: 100%;
  padding: 24px;
  display: grid;
  grid-template-columns: 50px 1fr 40px;
  gap: 16px;
  align-items: center;
  border: 0;
  background: #ffffff !important;
  color: #111827 !important;
  text-align: left;
  cursor: pointer;
}

.sfsm-question strong {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 750;
  color: #111827 !important;
}

.sfsm-question i {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #f8fafc !important;
  border: 1px solid #e5e7eb;
  color: #111827 !important;
  font-style: normal;
  font-size: 22px;
}

.sfsm-question b {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f8fafc !important;
  border: 1px solid #e5e7eb;
  color: #64748b !important;
  font-size: 24px;
  line-height: 1;
  transition: transform .2s ease, background .2s ease;
}

.sfsm-item.is-open .sfsm-question b {
  transform: rotate(45deg);
  background: #eef2f7 !important;
}

.sfsm-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: #ffffff !important;
  border-top: 1px solid #edf0f4;
}

.sfsm-answer > div {
  padding: 24px 24px 28px 90px;
  color: #475569;
  font-size: 17px;
  line-height: 1.8;
}

.sfsm-answer p {
  margin-top: 0;
}

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

.sfsm-minimal {
  background: transparent;
  border: 0;
  padding: 0;
}

.sfsm-minimal .sfsm-item {
  box-shadow: none;
}

@media (max-width: 760px) {
  .sfsm-cards .sfsm-items {
    grid-template-columns: 1fr;
  }

  .sfsm-front {
    padding: 22px;
    border-radius: 24px;
  }

  .sfsm-question {
    grid-template-columns: 44px 1fr 36px;
    padding: 18px;
  }

  .sfsm-question i {
    width: 44px;
    height: 44px;
  }

  .sfsm-question b {
    width: 36px;
    height: 36px;
  }

  .sfsm-question strong {
    font-size: 17px;
  }

  .sfsm-answer > div {
    padding: 18px;
    font-size: 16px;
  }
}
