/* VK advantages: composition adapted from the supplied desktop mockup. */
#benefits.vk-benefits {
  --vk-lime: #8cff4b;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 52px 0 44px;
  color: #f7f9f7;
  background: radial-gradient(ellipse 58% 65% at 74% 30%, #142318 0%, #0b1411 55%, transparent 100%), #0b1210;
}

#benefits.vk-benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 45% 38% at 58% 60%, rgb(85 243 36 / 9%), transparent 70%);
}

#benefits .vk-benefits__shell {
  width: min(calc(100% - (clamp(1rem, 2.35vw, 2.5rem) * 2)), 100rem);
  margin-inline: auto;
}

#benefits .vk-benefits__lead {
  position: relative;
  min-height: clamp(440px, 31vw, 535px);
}

#benefits .vk-benefits__copy {
  position: relative;
  z-index: 2;
  width: min(47%, 690px);
}

#benefits .vk-benefits__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 47px;
  color: var(--vk-lime);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .025em;
}

#benefits .vk-benefits__section-num {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  flex: none;
  border-radius: 50%;
  color: white;
  background: #1c2823;
  font-size: 17px;
  letter-spacing: 0;
}

#benefits .vk-benefits__eyebrow-line {
  width: 29px;
  height: 2px;
  flex: none;
  background: var(--vk-lime);
  box-shadow: 0 0 13px rgb(140 255 75 / 45%);
}

#benefits .vk-benefits__copy h2 {
  margin: 14px 0 18px;
  color: #fff;
  font-size: clamp(42px, 3.8vw, 66px);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -.052em;
}

#benefits .vk-benefits__copy h2 span { color: var(--vk-lime); }

#benefits .vk-benefits__copy p {
  max-width: 660px;
  margin: 0;
  color: #c7cecb;
  font-size: clamp(16px, 1.05vw, 19px);
  font-weight: 400;
  line-height: 1.43;
  letter-spacing: -.018em;
}

#benefits .vk-benefits__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 58px;
  margin-top: 26px;
  padding: 0 26px 0 30px;
  border-radius: 100px;
  color: #0c170c;
  background: var(--vk-lime);
  box-shadow: 0 12px 36px rgb(95 232 31 / 14%);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#benefits .vk-benefits__cta:hover {
  color: #0c170c;
  background: #a8ff76;
  box-shadow: 0 14px 42px rgb(112 240 51 / 26%);
  transform: translateY(-2px);
}

#benefits .vk-benefits__cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

#benefits .vk-benefits__cta svg { flex: none; transition: transform .2s ease; }
#benefits .vk-benefits__cta:hover svg { transform: translateX(3px); }

#benefits .vk-benefits__hero-art {
  position: absolute;
  top: -18px;
  right: 0;
  width: min(55%, 870px);
  height: auto;
  aspect-ratio: 940 / 550;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 95%, transparent 100%), linear-gradient(180deg, #000 0%, #000 85%, transparent 99%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

#benefits .vk-benefits__hero-art img {
  position: absolute;
  top: 0;
  left: -81.9%;
  display: block;
  width: 188.7%;
  max-width: none;
  height: auto;
}

#benefits .vk-benefits__cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

#benefits .vk-benefits__cards::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 1px;
  right: 3%;
  left: 3%;
  height: 1px;
  background: #8cff4b;
  box-shadow: 0 0 13px rgb(140 255 75 / 48%);
}

#benefits .vk-benefits__card {
  position: relative;
  min-width: 0;
  min-height: 308px;
  padding: 20px clamp(22px, 2.7vw, 48px) 24px;
  border: 1px solid #26332b;
  border-radius: 30px;
  background: linear-gradient(155deg, rgb(15 25 20 / 80%), rgb(11 20 17 / 97%));
  box-shadow: inset 0 1px rgb(255 255 255 / 3%), 0 16px 35px rgb(0 0 0 / 10%);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

#benefits .vk-benefits__card:hover {
  border-color: rgb(140 255 75 / 58%);
  box-shadow: inset 0 1px rgb(255 255 255 / 5%), 0 15px 38px rgb(90 245 34 / 8%);
  transform: translateY(-4px);
}

#benefits .vk-benefits__card::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 104px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--vk-lime);
  box-shadow: 0 0 16px rgb(140 255 75 / 40%);
}

#benefits .vk-benefits__card-num {
  position: absolute;
  z-index: 2;
  top: -20px;
  left: 30px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--vk-lime);
  border-radius: 50%;
  color: #fff;
  background: #0c1510;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

#benefits .vk-benefits__card-art {
  display: block;
  width: 230px;
  max-width: 100%;
  height: 143px;
  margin: 2px auto 7px;
  background-image: url('../images/new/services/vk/vk-benefits-reference.png');
  background-repeat: no-repeat;
  background-size: 1774px 887px;
  mask-image: radial-gradient(ellipse 73% 66% at center, #000 58%, transparent 100%);
}

#benefits .vk-benefits__card-art--audience { background-position: -155px -565px; }
#benefits .vk-benefits__card-art--analytics { background-position: -583px -565px; }
#benefits .vk-benefits__card-art--optimisation { background-position: -985px -565px; }
#benefits .vk-benefits__card-art--transparent { background-position: -1377px -565px; }

#benefits .vk-benefits__card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(18px, 1.23vw, 22px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.03em;
}

#benefits .vk-benefits__card p {
  margin: 0;
  color: #c3cac7;
  font-size: clamp(15px, .96vw, 17px);
  line-height: 1.39;
  letter-spacing: -.012em;
}

@media (max-width: 1300px) {
  #benefits .vk-benefits__hero-art { top: 0; right: 0; width: 54%; height: auto; }
  #benefits .vk-benefits__lead { min-height: 430px; }
  #benefits .vk-benefits__copy { width: 49%; }
  #benefits .vk-benefits__card { padding-inline: 25px; }
  #benefits .vk-benefits__card-art { transform: scale(.88); transform-origin: center bottom; }
}

@media (max-width: 980px) {
  #benefits.vk-benefits { padding-top: 52px; padding-bottom: 58px; }
  #benefits .vk-benefits__shell { width: min(calc(100% - 48px), 760px); }
  #benefits .vk-benefits__lead { min-height: 0; display: grid; }
  #benefits .vk-benefits__copy { width: 100%; }
  #benefits .vk-benefits__copy h2 { font-size: clamp(45px, 6vw, 68px); }
  #benefits .vk-benefits__copy p { max-width: 660px; }
  #benefits .vk-benefits__hero-art { position: relative; top: auto; right: auto; width: 100%; height: auto; aspect-ratio: 940 / 550; margin: 20px auto 20px; }
  #benefits .vk-benefits__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; margin-top: 14px; }
  #benefits .vk-benefits__card { min-height: 290px; }
  #benefits .vk-benefits__cards::before { display: none; }
}

@media (max-width: 600px) {
  #benefits.vk-benefits { padding-block: 44px 52px; }
  #benefits .vk-benefits__shell { width: min(calc(100% - 36px), 450px); }
  #benefits .vk-benefits__eyebrow { gap: 11px; font-size: 12px; }
  #benefits .vk-benefits__section-num { width: 40px; height: 40px; font-size: 15px; }
  #benefits .vk-benefits__eyebrow-line { width: 22px; }
  #benefits .vk-benefits__copy h2 { margin-block: 18px 18px; font-size: clamp(38px, 10vw, 52px); overflow-wrap: anywhere; }
  #benefits .vk-benefits__copy p { font-size: 16px; line-height: 1.52; }
  #benefits .vk-benefits__cta { min-height: 56px; margin-top: 24px; padding-inline: 24px; font-size: 16px; }
  #benefits .vk-benefits__hero-art { width: calc(100% + 36px); max-width: none; margin: 15px -18px 22px; }
  #benefits .vk-benefits__cards { grid-template-columns: minmax(0, 1fr); gap: 34px; margin-top: 8px; }
  #benefits .vk-benefits__card { min-height: 0; padding: 20px 28px 28px; }
  #benefits .vk-benefits__card-art { height: 145px; margin-bottom: 10px; transform: none; }
  #benefits .vk-benefits__card h3 { font-size: 21px; }
  #benefits .vk-benefits__card p { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  #benefits .vk-benefits__cta,
  #benefits .vk-benefits__cta svg,
  #benefits .vk-benefits__card { transition: none; }
}
