.vf-hero {
  --hero-pad-top: clamp(44px, calc(2.690972vw + 23.333333px), 75px);
  --hero-title-left: clamp(209px, calc(10.87963vw + 125.444444px), 256px);
  --hero-title-top: clamp(44px, calc(2.690972vw + 23.333333px), 75px);
  --hero-title-width: clamp(350px, calc(40.798611vw + 36.666667px), 820px);
  --hero-title-size: clamp(29px, calc(2.170139vw + 12.333333px), 54px);
  --hero-title-line: clamp(1.08em, calc(1.0749em + 0.0013vw), 1.1em);
  --hero-title-line-1-shift: clamp(0px, calc(-15.740741vw + 188.888889px), 68px);
  --hero-title-line-2-shift: clamp(0px, calc(-3.703704vw + 44.444444px), 16px);
  --hero-title-line-3-shift: clamp(0px, calc(-6.944444vw + 83.333333px), 30px);
  --hero-title-line-4-shift: 0px;
  --hero-title-home-weight: 700;

  --hero-card-left: clamp(209px, calc(91.753472vw - 495.666667px), 1266px);
  --hero-card-top: clamp(93px, calc(-11.371528vw + 311.333333px), 200px);
  --hero-card-width: clamp(350px, calc(4.079861vw + 318.666667px), 397px);
  --hero-card-min-height: clamp(240px, calc(5.989583vw + 194px), 309px);
  --hero-card-pad-top: clamp(27px, calc(1.302083vw + 17px), 42px);
  --hero-card-pad-x: clamp(8px, calc(2.083333vw - 8px), 32px);
  --hero-card-title-size: clamp(20px, calc(0.347222vw + 17.333333px), 24px);
  --hero-card-price-affix-size: clamp(14px, calc(0.347222vw + 11.333333px), 18px);
  --hero-card-price-value-size: clamp(38px, calc(0.520833vw + 34px), 44px);
  --hero-card-button-height: 64px;
  --hero-card-radius: 40px;

  --hero-visual-left: clamp(188px, calc(-1.822917vw + 223px), 209px);
  --hero-visual-top: clamp(346px, calc(-9.201389vw + 522.666667px), 452px);
  --hero-visual-width: clamp(350px, calc(103.645833vw - 446px), 1544px);
  --hero-visual-height: clamp(535px, calc(23.611111vw + 353.666667px), 807px);
  --hero-visual-radius: clamp(40px, calc(2.083333vw + 24px), 64px);

  --hero-branch-width: clamp(86px, calc(15.104167vw - 30px), 260px);
  --hero-cupcake-width: clamp(78px, calc(9.288194vw + 6.666667px), 185px);
  --hero-cupcake-right: clamp(14px, calc(0.868056vw + 7.333333px), 24px);
  --hero-cupcake-bottom: clamp(-24px, calc(1.215278vw - 33.333333px), -10px);

  --hero-info-left: clamp(248px, calc(-1.649306vw + 279.666667px), 267px);
  --hero-info-top: clamp(370px, calc(-13.541667vw + 630px), 526px);
  --hero-info-width: clamp(230px, calc(17.361111vw + 96.666667px), 430px);
  --hero-info-height: clamp(132px, calc(5.208333vw + 92px), 192px);
  --hero-sticker-min-width: clamp(172px, calc(11.545139vw + 83.333333px), 305px);
  --hero-sticker-min-height: clamp(58px, calc(3.298611vw + 32.666667px), 96px);
  --hero-sticker-gap: clamp(10px, calc(1.5625vw - 2px), 28px);
  --hero-sticker-pad-left: clamp(9px, calc(0.954861vw + 1.666667px), 20px);
  --hero-sticker-pad-right: clamp(17px, calc(1.128472vw + 8.333333px), 30px);
  --hero-sticker-radius: clamp(20px, calc(0.868056vw + 13.333333px), 30px);
  --hero-sticker-font-size: clamp(12px, calc(1.041667vw + 4px), 24px);
  --hero-sticker-icon-size: clamp(40px, calc(2.083333vw + 24px), 64px);
  --hero-discount-left: clamp(42px, calc(3.298611vw + 16.666667px), 80px);
  --hero-discount-top: clamp(48px, calc(3.819444vw + 18.666667px), 92px);

  position: relative;
  width: 100%;
  max-width: 1920px;
  min-height: clamp(1032px, calc(17.881944vw + 894.666667px), 1238px);
  margin: 0 auto;
  color: var(--primary-color);
  box-sizing: border-box;
}

.vf-block--hero {
  overflow: hidden;
}

.vf-heading-style-1 {
  margin: 0;
  color: var(--primary-color);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.vf-heading-style-1__bold {
  font-weight: 700;
}

.vf-hero__layer {
  position: relative;
}

.vf-hero__layer--base {
  z-index: 1;
}

.vf-hero__layer--stickers {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.vf-hero__copy {
  position: absolute;
  top: var(--hero-title-top);
  left: var(--hero-title-left);
  width: var(--hero-title-width);
  z-index: 2;
}

.vf-hero__title {
  width: 100%;
  max-width: var(--hero-title-width);
  font-size: var(--hero-title-size);
  line-height: var(--hero-title-line);
}

.vf-hero__title .vf-heading-style-1__bold {
  font-weight: 700;
}

.vf-hero__title .vf-hero__title-home {
  font-weight: var(--hero-title-home-weight);
}

.vf-hero__title-line {
  display: block;
  width: max-content;
  max-width: 100%;
  transform-origin: left center;
}

.vf-hero__title-line--1 {
  transform: translateX(var(--hero-title-line-1-shift));
}

.vf-hero__title-line--2 {
  transform: translateX(var(--hero-title-line-2-shift));
}

.vf-hero__title-line--3 {
  transform: translateX(var(--hero-title-line-3-shift));
}

.vf-hero__title-line--4 {
  transform: translateX(var(--hero-title-line-4-shift));
}

.vf-hero__visual {
  position: absolute;
  top: var(--hero-visual-top);
  left: var(--hero-visual-left);
  width: var(--hero-visual-width);
  height: var(--hero-visual-height);
  z-index: 1;
}

.vf-hero__image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: var(--hero-visual-radius);
  background: var(--blue-soft);
  clip-path: inset(0 round var(--hero-visual-radius));
  contain: paint;
  isolation: isolate;
  overflow: hidden;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

.vf-hero__poster,
.vf-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  clip-path: inherit;
  transform: translateZ(0) scale(1.01);
  transform-origin: center center;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 220ms ease;
}

.vf-hero__poster {
  z-index: 1;
}

.vf-hero__video {
  z-index: 2;
}

.vf-hero__image-frame.is-image-ready .vf-hero__poster,
.vf-hero__image-frame.is-video-ready .vf-hero__video {
  opacity: 1;
}

.vf-hero__media-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: clamp(42px, calc(1.736111vw + 28.666667px), 62px);
  height: clamp(42px, calc(1.736111vw + 28.666667px), 62px);
  margin: 0;
  border: 4px solid rgba(30, 68, 135, 0.18);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: vfHeroMediaSpin 0.8s linear infinite;
  pointer-events: none;
}

.vf-hero__image-frame.is-image-ready .vf-hero__media-spinner {
  opacity: 0;
  visibility: hidden;
}

@keyframes vfHeroMediaSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vf-hero__media-spinner {
    animation: none;
  }
}

.vf-hero__decor {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.vf-hero__decor--branch {
  top: 0;
  left: -8px;
  width: var(--hero-branch-width);
}

.vf-hero__decor--cupcake {
  right: var(--hero-cupcake-right);
  bottom: var(--hero-cupcake-bottom);
  width: var(--hero-cupcake-width);
  transform: rotate(-3deg);
}

.vf-hero-info-badges {
  position: absolute;
  top: var(--hero-info-top);
  left: var(--hero-info-left);
  width: var(--hero-info-width);
  height: var(--hero-info-height);
  pointer-events: none;
}

.vf-hero-sticker {
  position: absolute;
  display: flex;
  align-items: center;
  min-width: var(--hero-sticker-min-width);
  min-height: var(--hero-sticker-min-height);
  gap: var(--hero-sticker-gap);
  padding: 7px var(--hero-sticker-pad-right) 7px var(--hero-sticker-pad-left);
  border-radius: var(--hero-sticker-radius);
  box-sizing: border-box;
  font-size: var(--hero-sticker-font-size);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  box-shadow: 0 16px 30px rgba(30, 68, 135, 0.08);
  pointer-events: auto;
}

.vf-hero-sticker img {
  width: var(--hero-sticker-icon-size);
  height: var(--hero-sticker-icon-size);
  flex: 0 0 auto;
}

.vf-hero-sticker--delivery {
  top: 0;
  left: 0;
  color: var(--secondary-color);
  background: var(--orange-soft);
  transform: rotate(2deg);
}

.vf-hero-sticker--discount {
  top: var(--hero-discount-top);
  left: var(--hero-discount-left);
  color: var(--text-dark);
  background: var(--accent-color);
  transform: rotate(-2deg);
}

.vf-hero-plan-card {
  position: absolute;
  top: var(--hero-card-top);
  left: var(--hero-card-left);
  width: var(--hero-card-width);
  min-height: var(--hero-card-min-height);
  padding: var(--hero-card-pad-top) var(--hero-card-pad-x) 12px;
  border-radius: var(--hero-card-radius);
  box-sizing: border-box;
  background: var(--white);
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 20px 40px rgba(30, 68, 135, 0.06);
  pointer-events: auto;
}

.vf-hero-plan-card__title {
  margin: 0;
  font-size: var(--hero-card-title-size);
  font-weight: 400;
  line-height: 1.15;
}

.vf-hero-plan-card__title strong {
  font-weight: 800;
}

.vf-hero-plan-card__price {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: clamp(6px, calc(0.173611vw + 4.666667px), 8px);
  margin: 0;
  font-size: var(--hero-card-price-affix-size);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.vf-hero-plan-card__price span {
  font-size: var(--hero-card-price-affix-size);
}

.vf-hero-plan-card__price strong {
  font-size: var(--hero-card-price-value-size);
  line-height: 0.9;
}

.vf-hero-plan-card__button {
  width: 100%;
  min-height: var(--hero-card-button-height);
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary-color);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .vf-hero {
    --hero-title-left: 20px;
    --hero-title-top: 44px;
    --hero-title-width: 350px;
    --hero-title-size: 29px;
    --hero-title-line: 1.08em;
    --hero-title-line-1-shift: 68px;
    --hero-title-line-2-shift: 16px;
    --hero-title-line-3-shift: 30px;
    --hero-title-line-4-shift: 0px;
    --hero-title-home-weight: 400;

    --hero-card-left: 20px;
    --hero-card-top: 200px;
    --hero-card-width: 350px;
    --hero-card-min-height: 240px;
    --hero-card-pad-top: 27px;
    --hero-card-pad-x: 8px;
    --hero-card-title-size: 20px;
    --hero-card-price-affix-size: 14px;
    --hero-card-price-value-size: 38px;
    --hero-card-button-height: 64px;
    --hero-card-radius: 40px;

    --hero-visual-left: 20px;
    --hero-visual-top: 452px;
    --hero-visual-width: 350px;
    --hero-visual-height: 535px;
    --hero-visual-radius: 40px;

    --hero-branch-width: 86px;
    --hero-cupcake-width: 78px;
    --hero-cupcake-right: 14px;
    --hero-cupcake-bottom: -24px;

    --hero-info-left: 78px;
    --hero-info-top: 478px;
    --hero-info-width: 230px;
    --hero-info-height: 132px;
    --hero-sticker-min-width: 172px;
    --hero-sticker-min-height: 58px;
    --hero-sticker-gap: 10px;
    --hero-sticker-pad-left: 9px;
    --hero-sticker-pad-right: 17px;
    --hero-sticker-radius: 20px;
    --hero-sticker-font-size: 12px;
    --hero-sticker-icon-size: 40px;
    --hero-discount-left: 42px;
    --hero-discount-top: 48px;

    width: 390px;
    min-height: 1032px;
    max-width: none;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .vf-hero {
    --hero-card-top: calc(12.037037vw + 107.555556px);
    --hero-visual-top: calc(18.055556vw + 313.333333px);
    --hero-info-top: calc(18.055556vw + 339.333333px);

    min-height: max(
      clamp(1032px, calc(17.881944vw + 894.666667px), 1238px),
      calc(var(--hero-visual-top) + var(--hero-visual-height) + 85px)
    );
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .vf-hero {
    --hero-card-left: calc(111.666667vw - 735px);
    --hero-card-top: calc(12.037037vw + 107.555556px);
    --hero-visual-top: calc(18.055556vw + 313.333333px);
    --hero-info-top: calc(18.055556vw + 339.333333px);

    min-height: max(
      clamp(1032px, calc(17.881944vw + 894.666667px), 1238px),
      calc(var(--hero-visual-top) + var(--hero-visual-height) + 85px)
    );
  }
}

@media (min-width: 1440px) and (max-width: 1519px) {
  .vf-hero {
    --hero-card-left: calc(33vw + 397.4px);
    --hero-card-top: calc(-208.1425vw + 3278.252px);
    --hero-visual-top: calc(-238.1596vw + 4002.831px);
    --hero-info-top: calc(-278.958vw + 4616.333px);

    min-height: max(
      clamp(1032px, calc(17.881944vw + 894.666667px), 1238px),
      calc(var(--hero-visual-top) + var(--hero-visual-height) + 85px)
    );
  }
}

@media (min-width: 1920px) {
  .vf-hero {
    --hero-title-left: 256px;
    --hero-title-top: 75px;
    --hero-title-width: 820px;
    --hero-title-size: 54px;
    --hero-title-line: 1.1em;
    --hero-title-line-1-shift: 0px;
    --hero-title-line-2-shift: 0px;
    --hero-title-line-3-shift: 0px;
    --hero-title-line-4-shift: 0px;
    --hero-title-home-weight: 700;

    --hero-card-left: 1266px;
    --hero-card-top: 93px;
    --hero-card-width: 397px;
    --hero-card-min-height: 309px;
    --hero-card-pad-top: 42px;
    --hero-card-pad-x: 32px;
    --hero-card-title-size: 24px;
    --hero-card-price-affix-size: 18px;
    --hero-card-price-value-size: 44px;
    --hero-card-button-height: 64px;
    --hero-card-radius: 40px;

    --hero-visual-left: 188px;
    --hero-visual-top: 346px;
    --hero-visual-width: 1544px;
    --hero-visual-height: 807px;
    --hero-visual-radius: 64px;

    --hero-branch-width: 260px;
    --hero-cupcake-width: 185px;
    --hero-cupcake-right: 24px;
    --hero-cupcake-bottom: -10px;

    --hero-info-left: 248px;
    --hero-info-top: 370px;
    --hero-info-width: 430px;
    --hero-info-height: 192px;
    --hero-sticker-min-width: 305px;
    --hero-sticker-min-height: 96px;
    --hero-sticker-gap: 28px;
    --hero-sticker-pad-left: 20px;
    --hero-sticker-pad-right: 30px;
    --hero-sticker-radius: 30px;
    --hero-sticker-font-size: 24px;
    --hero-sticker-icon-size: 64px;
    --hero-discount-left: 80px;
    --hero-discount-top: 92px;

    width: 1920px;
    max-width: none;
    min-height: 1238px;
    left: auto;
    margin: 0 auto;
    transform: none;
  }
}
