.dgsb-section {
  padding: 0;
  color: #f5f1e8;
}

.dgsb-section *,
.dgsb-section *::before,
.dgsb-section *::after {
  box-sizing: border-box;
}

.dgsb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.dgsb-card {
  position: relative;
  isolation: isolate;
  min-height: 280px;
  padding: 122px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(52, 56, 62, 0.98), rgba(27, 31, 37, 0.99) 20%, rgba(12, 15, 21, 1) 44%, rgba(5, 8, 13, 1) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 26px 54px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  overflow: hidden;
}

.dgsb-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(55, 59, 65, 0.99) 0, rgba(39, 43, 49, 0.98) 78px, transparent 78px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.04), transparent 34%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.dgsb-card::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -28%;
  z-index: 0;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(211, 175, 127, 0.14), transparent 70%);
  filter: blur(18px);
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
}

.dgsb-card > * {
  position: relative;
  z-index: 1;
}

.dgsb-card__index {
  position: absolute;
  top: 12px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  color: rgba(244, 245, 251, 0.78);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.dgsb-card__title {
  margin: 0;
  color: #ffffff;
  font-family: "Epilogue", Helvetica, Arial, sans-serif;
  font-size: clamp(2.35rem, 3.7vw, 3.85rem);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.06em;
  max-width: 9ch;
}

.dgsb-card__text {
  margin: 0;
  width: 100%;
  max-width: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .dgsb-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dgsb-card {
    min-height: 0;
    padding: 106px 18px 20px;
  }

  .dgsb-card__index {
    top: 14px;
    left: 16px;
    width: 46px;
    height: 46px;
    font-size: 0.76rem;
  }

  .dgsb-card__title {
    font-size: clamp(2rem, 9vw, 2.8rem);
    max-width: none;
  }

  .dgsb-card__text {
    width: 100%;
    font-size: 16px;
    line-height: 1.45;
  }
}
