/* Why Majnooni: isolated homepage trust-card section. No global selectors. */
.mj-why {
  --mj-why-accent: #ed080c;
  box-sizing: border-box;
  direction: rtl;
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 4.5vw, 54px) clamp(14px, 3vw, 36px);
  border: 1px solid rgba(237, 8, 12, .085);
  border-radius: clamp(19px, 2.5vw, 30px);
  background: radial-gradient(ellipse at 88% -30%, rgba(237, 8, 12, .055), transparent 55%),
              linear-gradient(145deg, #fffdfb, #faf6f3);
  color: #29231c;
  font-family: inherit;
}
.mj-why, .mj-why * { box-sizing: border-box; }
.mj-why__intro { text-align: center; margin: 0 0 clamp(22px, 3vw, 30px); }
.mj-why__eyebrow {
  display: inline-block;
  color: #ae3335;
  font-size: 10px;
  line-height: 1.8;
  font-weight: 700;
  letter-spacing: .17em;
  direction: ltr;
}
.mj-why__intro h2 {
  margin: 5px 0 6px;
  color: #29231c;
  font-size: clamp(23px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.5;
}
.mj-why__intro p { margin: 0; color: #7a6d65; font-size: 14px; line-height: 1.9; }
.mj-why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.mj-why__card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: clamp(22px, 2.9vw, 32px) clamp(16px, 2vw, 24px);
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 9px 25px rgba(64, 29, 22, .055), inset 0 1px 0 rgba(255, 255, 255, .96);
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.mj-why__card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  width: 52px;
  height: 3px;
  border-radius: 0 0 8px 8px;
  transform: translateX(50%);
  background: var(--mj-why-accent);
}
.mj-why__card:hover {
  transform: translateY(-3px);
  border-color: rgba(237, 8, 12, .17);
  box-shadow: 0 14px 35px rgba(64, 29, 22, .085), inset 0 1px 0 #fff;
}
.mj-why__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border: 1px solid rgba(237, 8, 12, .11);
  border-radius: 19px;
  background: linear-gradient(135deg, #fff, #fff0ee);
  color: var(--mj-why-accent);
}
.mj-why__icon svg { display: block; width: 28px; height: 28px; }
.mj-why__card h3 {
  margin: 0 0 8px;
  color: #302722;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 750;
  line-height: 1.75;
}
.mj-why__card p {
  max-width: 290px;
  margin: 0 auto;
  color: #786b63;
  font-size: 13px;
  line-height: 2;
}
@media (max-width: 820px) {
  .mj-why__grid { grid-template-columns: 1fr; gap: 12px; }
  .mj-why__card { padding: 22px 20px; }
  .mj-why__icon { width: 54px; height: 54px; margin-bottom: 11px; border-radius: 17px; }
  .mj-why__card p { max-width: 430px; }
}
@media (max-width: 700px) {
  .mj-why { width: calc(100% - 28px); padding: 25px 12px; border-radius: 20px; }
  .mj-why__intro { margin-bottom: 20px; }
  .mj-why__intro h2 { font-size: 23px; }
  .mj-why__intro p { font-size: 12px; }
  .mj-why__card { border-radius: 17px; }
  .mj-why__card h3 { font-size: 16px; }
  .mj-why__card p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .mj-why__card { transition: none; }
  .mj-why__card:hover { transform: none; }
}
