
/* RC2.2D — Categories Modern With Icons */

.mo-categories-modern {
  position: relative;
  z-index: 9;
  padding: 0 0 56px;
  font-family: Inter, Arial, sans-serif;
}

.mo-categories-modern,
.mo-categories-modern * {
  box-sizing: border-box;
}

.mo-categories-modern__shell {
  width: min(1320px, calc(100% - 72px));
  margin: 0 auto;
  padding: 30px;
  border: 1px solid rgba(226, 232, 240, .92);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(215,25,32,.055), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(15,23,42,.055), transparent 30%),
    rgba(255,255,255,.97);
  box-shadow: 0 28px 76px rgba(15, 23, 42, .105);
}

.mo-categories-modern__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.mo-categories-modern__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: #d71920;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.mo-categories-modern__eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: #d71920;
}

.mo-categories-modern__head h2 {
  margin: 10px 0 8px;
  color: #0f172a;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.mo-categories-modern__head p {
  max-width: 680px;
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
}

.mo-categories-modern__view-all {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1px solid #d7e0ed;
  border-radius: 999px;
  padding: 0 16px;
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .055em;
  box-shadow: 0 10px 24px rgba(15,23,42,.045);
}

.mo-categories-modern__view-all:hover {
  border-color: rgba(215,25,32,.38);
  color: #d71920;
}

.mo-categories-modern__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.mo-category-modern-card {
  position: relative;
  min-height: 104px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid #dce5f2;
  border-radius: 22px;
  background:
    linear-gradient(180deg, #ffffff, #fbfdff);
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(15,23,42,.055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.mo-category-modern-card:hover {
  transform: translateY(-3px);
  border-color: rgba(215,25,32,.42);
  box-shadow: 0 22px 48px rgba(15,23,42,.105);
}

.mo-category-modern-card__glow {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: rgba(215,25,32,.07);
  pointer-events: none;
}

.mo-category-modern-card.is-green .mo-category-modern-card__glow {
  background: rgba(22,163,74,.08);
}

.mo-category-modern-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.9), transparent 38%),
    #fff1f2;
  color: #d71920;
  box-shadow: inset 0 0 0 1px rgba(215,25,32,.08);
}

.mo-category-modern-card.is-green .mo-category-modern-card__icon {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.9), transparent 38%),
    #ecfdf3;
  color: #16a34a;
  box-shadow: inset 0 0 0 1px rgba(22,163,74,.10);
}

.mo-category-modern-card__icon svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.mo-category-modern-card__content {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.mo-category-modern-card__content h3 {
  margin: 0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.16;
  text-transform: uppercase;
}

.mo-category-modern-card__content p {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
}

.mo-category-modern-card__arrow {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #d71920;
  background: #fff1f2;
  font-weight: 950;
  opacity: .75;
  transform: translateX(-2px);
  transition: transform .22s ease, opacity .22s ease;
}

.mo-category-modern-card:hover .mo-category-modern-card__arrow {
  transform: translateX(0);
  opacity: 1;
}

.mo-category-modern-card.is-green .mo-category-modern-card__arrow {
  color: #16a34a;
  background: #ecfdf3;
}

.mo-categories-modern__footer {
  min-height: 48px;
  margin-top: 16px;
  border-radius: 16px;
  background: linear-gradient(90deg, #fff7ed, #fff1f2);
  color: #9f1d17;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.mo-categories-modern__footer strong {
  color: #b42318;
  font-weight: 950;
}

.mo-categories-modern__footer span {
  color: #9f1d17;
  font-weight: 750;
}

@media (max-width: 1280px) {
  .mo-categories-modern__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .mo-categories-modern__shell {
    width: min(100% - 28px, 1320px);
    padding: 22px;
    border-radius: 24px;
  }

  .mo-categories-modern__head {
    flex-direction: column;
  }

  .mo-categories-modern__grid {
    grid-template-columns: 1fr;
  }

  .mo-categories-modern__view-all {
    width: 100%;
  }

  .mo-categories-modern__footer {
    flex-direction: column;
  }
}
