/* About — «Почему выбирают нас» (Figma 1:219) */

.ab-why {
  background: #fff;
  padding: 48px 0 80px;
}

.ab-why__shell {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5.69vw, 82px);
}

.ab-why__title {
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
  font-size: clamp(28px, 3.14vw, 40px);
  font-weight: 500;
  color: #0e0f0f;
  margin: 0 0 36px;
  max-width: 580px;
  line-height: 1.2;
}

.ab-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ab-why__grid > li {
  list-style: none;
  min-width: 0;
}

.ab-why__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 280px;
  padding: 28px;
  border-radius: 20px;
  background: #f5f6f7;
  box-sizing: border-box;
}

.ab-why__card--dark {
  background: radial-gradient(ellipse 140% 120% at 0% 0%, #3d403f 0%, #1f2221 55%, #1a1d1c 100%);
  color: #fff;
}

.ab-why__card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ab-why__card-title {
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  color: #0e0f0f;
  margin: 0;
  line-height: 1.25;
}

.ab-why__card--dark .ab-why__card-title {
  color: #fff;
}

.ab-why__card-text {
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
  font-size: 18px;
  font-weight: 400;
  color: #5e6266;
  margin: 0;
  line-height: 1.45;
}

.ab-why__card--dark .ab-why__card-text {
  color: rgba(255, 255, 255, 0.75);
}

.ab-why__icon-wrap {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
}

.ab-why__card--dark .ab-why__icon-wrap {
  background: #d25e24;
}

.ab-why__card--dark .ab-why__icon {
  filter: brightness(0) invert(1);
}

.ab-why__icon {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .ab-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ab-why__grid {
    grid-template-columns: 1fr;
  }
}
