.advantages-slide {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #040404;
  isolation: isolate;
}

.advantages-slide__bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/3.png");
  background-size: cover;
  background-position: center center;
  transform: scale(1.03);
}

.advantages-slide__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.advantages-slide__overlay--base {
  background: rgba(0, 0, 0, 0.44);
}

.advantages-slide__overlay--glow {
  background:
    radial-gradient(circle at 18% 18%, rgba(126, 20, 35, 0.22), transparent 24%),
    radial-gradient(circle at 80% 24%, rgba(126, 20, 35, 0.14), transparent 20%),
    radial-gradient(circle at 70% 80%, rgba(126, 20, 35, 0.12), transparent 22%);
  mix-blend-mode: screen;
}

.advantages-slide__overlay--shade {
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.20) 0%,
      rgba(0, 0, 0, 0.30) 24%,
      rgba(0, 0, 0, 0.62) 70%,
      rgba(0, 0, 0, 0.86) 100%
    );
}

.advantages-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.advantages-fx__ring {
  position: absolute;
  border: 1px solid rgba(160, 28, 44, 0.16);
  border-radius: 999px;
}

.advantages-fx__ring::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0%, rgba(190, 34, 52, 0.98) 38%, rgba(120, 18, 30, 0.16) 100%);
  box-shadow:
    0 0 18px rgba(206, 42, 62, 0.88),
    0 0 42px rgba(206, 42, 62, 0.44);
}

.advantages-fx__ring--one {
  width: 520px;
  height: 520px;
  right: -130px;
  top: 80px;
}

.advantages-fx__ring--one::before {
  transform: rotate(0deg) translateY(-260px);
  animation: advOrbitOne 13s linear infinite;
}

.advantages-fx__ring--two {
  width: 340px;
  height: 340px;
  left: -90px;
  bottom: 110px;
}

.advantages-fx__ring--two::before {
  width: 12px;
  height: 12px;
  transform: rotate(0deg) translateY(-170px);
  animation: advOrbitTwo 10s linear infinite reverse;
}

.advantages-fx__blur {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(171, 31, 47, 0.34), rgba(171, 31, 47, 0.08) 45%, transparent 72%);
  filter: blur(22px);
}

.advantages-fx__blur--one {
  width: 300px;
  height: 300px;
  right: 8%;
  top: 18%;
  animation: advFloatOne 9s ease-in-out infinite;
}

.advantages-fx__blur--two {
  width: 220px;
  height: 220px;
  left: 12%;
  bottom: 12%;
  animation: advFloatTwo 11s ease-in-out infinite;
}

.advantages-slide__inner {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 48px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.advantages-slide__head {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.advantages-slide__eyebrow,
.work-model__eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(118, 18, 30, 0.72);
  border-radius: 999px;
  background: rgba(9, 9, 9, 0.18);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.advantages-slide__intro {
  max-width: 900px;
}

.advantages-slide__title {
  margin: 0;
  font-size: clamp(34px, 5vw, 84px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.055em;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.advantages-slide__lead {
  margin: 16px 0 0;
  max-width: 760px;
  font-size: clamp(15px, 1.2vw, 20px);
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.advantages-slide__note {
  min-height: 100%;
  padding: 18px 18px;
  border: 1px solid rgba(110, 17, 29, 0.58);
  border-radius: 24px;
  background: rgba(7, 7, 7, 0.24);
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 18px 44px rgba(0, 0, 0, 0.24);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.adv-card {
  position: relative;
  min-height: 180px;
  padding: 22px;
  border: 1px solid rgba(110, 17, 29, 0.58);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(9, 9, 9, 0.20), rgba(9, 9, 9, 0.32));
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 18px 44px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.adv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(126, 20, 35, 0.18), transparent 42%, rgba(126, 20, 35, 0.06));
  opacity: 1;
  pointer-events: none;
}

.adv-card::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -35%;
  width: 42%;
  height: 320%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.02) 18%,
    rgba(255, 255, 255, 0.16) 48%,
    rgba(255, 255, 255, 0.02) 78%,
    transparent 100%
  );
  transform: rotate(22deg);
  animation: advShine 7s ease-in-out infinite;
  pointer-events: none;
}

.adv-card:nth-child(2)::after {
  animation-delay: 0.8s;
}

.adv-card:nth-child(3)::after {
  animation-delay: 1.6s;
}

.adv-card:nth-child(4)::after {
  animation-delay: 2.4s;
}

.adv-card:nth-child(5)::after {
  animation-delay: 3.2s;
}

.adv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(162, 31, 46, 0.82);
  box-shadow:
    0 0 0 1px rgba(150, 24, 39, 0.26),
    0 22px 50px rgba(39, 4, 8, 0.42);
}

.adv-card--wide {
  min-height: 210px;
}

.adv-card--accent {
  background:
    linear-gradient(180deg, rgba(24, 10, 12, 0.34), rgba(11, 11, 11, 0.42));
  border-color: rgba(142, 26, 41, 0.72);
}

.adv-card__icon,
.adv-card__num,
.adv-card__title,
.adv-card__text {
  position: relative;
  z-index: 1;
}

.adv-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: 1px solid rgba(164, 32, 48, 0.62);
  border-radius: 16px;
  background: rgba(18, 18, 18, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 22px rgba(142, 24, 39, 0.16);
  color: rgba(255, 255, 255, 0.96);
  font-size: 20px;
  line-height: 1;
  animation: advPulse 4.5s ease-in-out infinite;
}

.adv-card__num {
  display: inline-flex;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.46);
}

.adv-card__title {
  margin: 0;
  max-width: 320px;
  font-size: clamp(20px, 1.6vw, 30px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: rgba(255, 255, 255, 0.97);
}

.adv-card__text {
  margin: 14px 0 0;
  max-width: 420px;
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.advantages-slide__model-anchor {
  width: 100%;
  height: 1px;
}

.work-model {
  position: relative;
  margin-top: auto;
  padding: 22px;
  border: 1px solid rgba(110, 17, 29, 0.58);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.22), rgba(8, 8, 8, 0.36));
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 18px 50px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.work-model::before {
  content: "";
  position: absolute;
  inset: auto -10% -120px auto;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(156, 30, 45, 0.22), transparent 65%);
  filter: blur(12px);
  pointer-events: none;
}

.work-model__head {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.work-model__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 54px);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.98);
}

.work-model__text {
  margin: 14px 0 0;
  max-width: 760px;
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.76);
}

.work-model__grid {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.model-card {
  position: relative;
  min-height: 180px;
  padding: 22px 20px;
  border: 1px solid rgba(110, 17, 29, 0.52);
  border-radius: 24px;
  background: rgba(14, 14, 14, 0.28);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.model-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(126, 20, 35, 0.16), transparent 46%, rgba(126, 20, 35, 0.06));
  opacity: 0.92;
  pointer-events: none;
}

.model-card::after {
  content: "";
  position: absolute;
  top: -140%;
  left: -30%;
  width: 40%;
  height: 340%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.02) 18%,
    rgba(255, 255, 255, 0.13) 50%,
    rgba(255, 255, 255, 0.02) 82%,
    transparent 100%
  );
  transform: rotate(20deg);
  animation: advShine 8s ease-in-out infinite;
  pointer-events: none;
}

.model-card:nth-child(2)::after {
  animation-delay: 1s;
}

.model-card:nth-child(3)::after {
  animation-delay: 2s;
}

.model-card:hover {
  transform: translateY(-5px);
  border-color: rgba(156, 31, 46, 0.82);
  box-shadow:
    0 0 0 1px rgba(150, 24, 39, 0.22),
    0 18px 44px rgba(37, 4, 7, 0.32);
}

.model-card--highlight {
  border-color: rgba(146, 29, 44, 0.76);
  background: rgba(24, 11, 13, 0.36);
  box-shadow:
    0 0 0 1px rgba(150, 24, 39, 0.16),
    0 18px 44px rgba(37, 4, 7, 0.32);
}

.model-card--highlight .model-card__icon {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 26px rgba(180, 36, 54, 0.28);
}

.model-card__icon,
.model-card__name,
.model-card__desc {
  position: relative;
  z-index: 1;
}

.model-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 1px solid rgba(164, 32, 48, 0.62);
  border-radius: 14px;
  background: rgba(18, 18, 18, 0.34);
  color: rgba(255, 255, 255, 0.96);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  animation: advPulse 4.8s ease-in-out infinite;
}

.model-card__name {
  margin: 0 0 18px;
  font-size: clamp(22px, 1.8vw, 34px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.97);
}

.model-card__desc {
  margin: 0;
  max-width: 360px;
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

@keyframes advOrbitOne {
  from {
    transform: rotate(0deg) translateY(-260px);
  }
  to {
    transform: rotate(360deg) translateY(-260px);
  }
}

@keyframes advOrbitTwo {
  from {
    transform: rotate(0deg) translateY(-170px);
  }
  to {
    transform: rotate(360deg) translateY(-170px);
  }
}

@keyframes advFloatOne {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translate3d(-14px, 18px, 0) scale(1.06);
    opacity: 1;
  }
}

@keyframes advFloatTwo {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.72;
  }
  50% {
    transform: translate3d(18px, -14px, 0) scale(1.08);
    opacity: 0.96;
  }
}

@keyframes advShine {
  0% {
    transform: translateX(-180%) rotate(22deg);
    opacity: 0;
  }
  10% {
    opacity: 0.18;
  }
  35% {
    opacity: 0.24;
  }
  55% {
    transform: translateX(420%) rotate(22deg);
    opacity: 0;
  }
  100% {
    transform: translateX(420%) rotate(22deg);
    opacity: 0;
  }
}

@keyframes advPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.03),
      0 0 16px rgba(142, 24, 39, 0.12);
  }
  50% {
    transform: scale(1.06);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.03),
      0 0 28px rgba(182, 34, 52, 0.24);
  }
}

@media (max-width: 1220px) {
  .advantages-slide__inner {
    padding: 40px 18px 22px;
  }

  .advantages-slide__head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .advantages-slide__note {
    max-width: 760px;
  }

  .advantages-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-model__head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .work-model__grid {
    grid-template-columns: 1fr;
  }

  .advantages-fx__ring--one {
    width: 420px;
    height: 420px;
    right: -120px;
  }

  .advantages-fx__ring--one::before {
    transform: rotate(0deg) translateY(-210px);
    animation-name: advOrbitOneTablet;
  }
}

@keyframes advOrbitOneTablet {
  from {
    transform: rotate(0deg) translateY(-210px);
  }
  to {
    transform: rotate(360deg) translateY(-210px);
  }
}

@media (max-width: 820px) {
  .advantages-slide__inner {
    padding: 26px 14px 16px;
    gap: 16px;
  }

  .advantages-slide__title {
    font-size: clamp(30px, 8vw, 52px);
    line-height: 0.98;
  }

  .advantages-slide__lead {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.55;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .adv-card,
  .adv-card--wide {
    min-height: auto;
    padding: 18px;
    border-radius: 22px;
  }

  .adv-card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 14px;
    font-size: 18px;
  }

  .adv-card__num {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .adv-card__title {
    font-size: 22px;
  }

  .adv-card__text {
    margin-top: 10px;
    font-size: 14px;
  }

  .work-model {
    padding: 18px;
    border-radius: 24px;
  }

  .work-model__title {
    font-size: clamp(24px, 7vw, 38px);
    line-height: 1;
  }

  .work-model__text {
    margin-top: 10px;
    font-size: 14px;
  }

  .model-card {
    min-height: auto;
    padding: 18px 16px;
    border-radius: 18px;
  }

  .model-card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 12px;
    font-size: 15px;
  }

  .model-card__name {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .model-card__desc {
    font-size: 14px;
  }

  .advantages-fx__ring--one,
  .advantages-fx__ring--two {
    opacity: 0.55;
  }
}

@media (max-width: 520px) {
  .advantages-slide__inner {
    padding: 22px 10px 14px;
  }

  .advantages-slide__eyebrow,
  .work-model__eyebrow {
    min-height: 36px;
    padding: 8px 14px;
    font-size: 10px;
  }

  .advantages-slide__note,
  .work-model,
  .adv-card {
    border-radius: 18px;
  }

  .advantages-slide__note {
    padding: 14px;
    font-size: 13px;
  }

  .adv-card {
    padding: 14px;
  }

  .adv-card__title {
    font-size: 18px;
  }

  .adv-card__text {
    font-size: 13px;
  }

  .work-model {
    padding: 14px;
  }

  .model-card {
    padding: 14px;
    border-radius: 16px;
  }

  .model-card__name {
    font-size: 18px;
  }

  .model-card__desc {
    font-size: 13px;
  }

  .advantages-fx__ring--one {
    width: 280px;
    height: 280px;
    right: -90px;
    top: 180px;
  }

  .advantages-fx__ring--one::before {
    transform: rotate(0deg) translateY(-140px);
    animation-name: advOrbitOneMobile;
  }

  .advantages-fx__ring--two {
    width: 180px;
    height: 180px;
    left: -50px;
    bottom: 160px;
  }

  .advantages-fx__ring--two::before {
    transform: rotate(0deg) translateY(-90px);
    animation-name: advOrbitTwoMobile;
  }

  .advantages-fx__blur--one {
    width: 180px;
    height: 180px;
  }

  .advantages-fx__blur--two {
    width: 140px;
    height: 140px;
  }
}

@keyframes advOrbitOneMobile {
  from {
    transform: rotate(0deg) translateY(-140px);
  }
  to {
    transform: rotate(360deg) translateY(-140px);
  }
}

@keyframes advOrbitTwoMobile {
  from {
    transform: rotate(0deg) translateY(-90px);
  }
  to {
    transform: rotate(360deg) translateY(-90px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .advantages-fx__ring::before,
  .advantages-fx__blur,
  .adv-card::after,
  .model-card::after,
  .adv-card__icon,
  .model-card__icon {
    animation: none !important;
  }
}