.services-sidecards {
  padding: 0 0 48px;
}

.services-sidecards__grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  gap: 22px;
}

.services-sidecards__grid--single {
  grid-template-columns: 1fr;
}

.services-loyalty {
  --services-loyalty-start: #3f8914;
  --services-loyalty-end: #347011;
  --services-loyalty-accent: #b57124;
  position: relative;
  min-height: 300px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, var(--services-loyalty-start) 0%, var(--services-loyalty-end) 100%);
  box-shadow: 0 22px 46px rgba(15, 48, 74, .22);
}

.services-loyalty::before,
.services-loyalty::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.services-loyalty::before {
  width: 220px;
  height: 220px;
  top: -122px;
  right: -98px;
  background: rgba(86, 169, 222, .28);
}

.services-loyalty::after {
  width: 180px;
  height: 180px;
  bottom: -94px;
  left: -86px;
  background: var(--services-loyalty-accent);
  opacity: .16;
}

.services-loyalty__top,
.services-loyalty__card,
.services-loyalty__description,
.services-loyalty__link {
  position: relative;
  z-index: 1;
}

.services-loyalty__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.services-loyalty__icon {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 22px rgba(0, 0, 0, .16);
  color: #fff;
}

.services-loyalty__icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.services-loyalty__title {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.services-loyalty__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--services-loyalty-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}

.services-loyalty__card {
  min-height: 126px;
  margin: 16px 0 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 16px 30px rgba(0, 0, 0, .14);
}

.services-loyalty__card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.services-loyalty__chip {
  width: 42px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #f0c45a 0%, #fff0aa 48%, #b68120 100%);
  box-shadow: inset 0 0 0 1px rgba(80, 55, 10, .18);
}

.services-loyalty__percent {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.services-loyalty__line {
  display: block;
  width: 78%;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  box-shadow: 56px 16px 0 rgba(255, 255, 255, .14);
}

.services-loyalty__description {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.services-loyalty__link,
.services-loyalty__link:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .16);
  color: var(--services-loyalty-end);
  font-size: 13px;
  font-weight: 800;
}

.services-loyalty__link:hover,
.services-loyalty__link:focus-visible {
  background: #fff;
  color: var(--services-loyalty-end);
  transform: translateY(-1px);
}

.services-map {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--smd-primary) 16%, transparent);
  border-radius: 20px;
  background: var(--smd-primary-soft);
  box-shadow: 0 18px 44px rgba(15, 48, 74, .12);
}

.services-map__embed,
.services-map__embed > iframe,
.services-map__embed > script + iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

.services-map__embed {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.services-map__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 32px;
  gap: 12px;
  color: #1a2332;
  font-weight: 700;
  text-align: center;
}

.services-map__info {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  gap: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(15, 48, 74, .14);
  backdrop-filter: blur(10px);
}

.services-map__title {
  margin: 0;
  color: #1a2332;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.services-map__address {
  margin-top: 3px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.services-map__route,
.services-map__route:visited {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--smd-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.services-map__route:hover,
.services-map__route:focus-visible {
  background: var(--smd-blue-dark);
  color: #fff;
}

@media (max-width: 1000px) {
  .services-sidecards__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .services-sidecards {
    padding-bottom: 40px;
  }

  .services-loyalty {
    padding: 22px;
  }

  .services-map {
    min-height: 390px;
  }

  .services-map__embed,
  .services-map__embed > iframe,
  .services-map__embed > script + iframe,
  .services-map__fallback {
    min-height: 390px;
  }

  .services-map__info {
    align-items: flex-start;
    flex-direction: column;
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .services-map__route {
    width: 100%;
  }
}
