/* ── HERO (3 варіанти) ──
   index.html   → .hero--1  (Figma 9325:1397, 390×711)
   index-b.html → .hero--2  (Figma 8995:28502, 390×704)
   index-c.html → .hero--3  (Figma 8995:28383, 390×721)
   Фото в .hero__stage стоїть абсолютно в координатах Figma (stage = маска групи). */
.hero {
  padding: 30px 12px;
  background: #fff;
}
.hero__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 12px 24px;
  border-radius: 24px;
  background: #141318;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.hero__bg {
  position: absolute;
  left: -14.35%; top: 23.23%;
  width: 128.71%; height: 63.68%;
  object-fit: fill;
  opacity: .6;
  z-index: -1;
  pointer-events: none;
}
.hero--1 .hero__card { gap: 24px; }
.hero--2 .hero__card,
.hero--3 .hero__card { gap: 9px; }

/* ── бігуча стрічка ── */
.hero__band {
  align-self: stretch;
  margin: 0 -12px;
  height: 32px;
  background: #F65383;
  overflow: hidden;
}
.hero__track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 32px;
  margin-left: var(--band-x, -41.5px);
  animation: hero-ticker 16s linear infinite;
}
.hero__unit { display: flex; align-items: center; flex: none; }
.hero__unit span {
  font: 700 14px/19px 'Source Sans 3', sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 4px;
}
.hero__unit img { width: 11px; height: 16px; margin-right: 4px; }
@keyframes hero-ticker { to { transform: translateX(-25%); } }

/* ── заголовки (Figma: векторні написи Onest, тут — текст) ── */
.hero__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
}
.hero--2 .hero__top, .hero--3 .hero__top { gap: 20px; }
.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Onest', sans-serif;
  text-transform: uppercase;
  text-align: center;
}
.hero--1 .hero__title { gap: 18px; }
.hero--2 .hero__title { gap: 14px; }
.hero__ln {
  display: block;
  position: relative;
  white-space: nowrap;
}
.hero__kicker {
  height: 14.48px; line-height: 14.48px; top: .39px;
  font-size: 20.49px; font-weight: 600; letter-spacing: .08px;
  color: #F65383;
}
.hero--1 .hero__kicker { color: rgba(255, 255, 255, .5); }
.hero__main { display: flex; flex-direction: column; align-items: center; gap: 21.1px; }
.hero__big {
  height: 25px; line-height: 25px; top: .65px;
  font-size: 35.3px; font-weight: 800; letter-spacing: 1.1px; margin-right: -1.1px;
}
.hero--2 .hero__big { height: 31.72px; letter-spacing: .97px; margin-right: -.97px; }
.hero__extra {
  height: 17.4px; line-height: 17.4px; top: .51px;
  font-size: 24.73px; font-weight: 800;
  color: #F65383;
}

/* ── 1 + 1 = 3 (hero 2) ── */
.hero__sum {
  position: relative;
  flex: none;
  width: 236px; height: 101px;
  font-family: 'Onest', sans-serif;
}
.hero__sum-box {
  position: absolute;
  left: -.36px; right: -.25px; top: .2px;
  height: 100.87px;
  border-radius: 14.94px;
  background: rgba(0, 0, 0, .4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.hero__sum-d {
  position: absolute;
  top: 14.58px;
  height: 46.81px;
  display: flex; align-items: center; justify-content: center;
  font-size: 66px; font-weight: 700; line-height: 1;
  color: #fff;
}
.hero__sum-d--op { color: #F65383; font-weight: 600; }
.hero__sum-3 {
  position: absolute;
  left: 169.36px; top: .2px;
  width: 67.25px; height: 100.87px;
  border-radius: 14.94px 14.94px 14.94px 0;
  background: linear-gradient(90deg, #FF6A93 0%, #F65383 100%);
}
.hero__sum-3 b {
  position: absolute;
  left: 0; right: 0; top: 17.43px;
  height: 47.8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 66px; font-weight: 700; line-height: 1;
}
.hero__sum-bar {
  position: absolute;
  left: -.36px; right: -.25px; top: 76.16px;
  height: 24.91px;
  border-radius: 14.94px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 19.925px; font-weight: 700; line-height: 1;
  letter-spacing: 1.99px; text-indent: 1.99px;
  text-transform: uppercase;
  color: #000;
}

/* ── стрічка «Buy 2, get 1 free» (hero 3, растр із Figma) ── */
.hero__ribbon {
  position: relative;
  flex: none;
  width: 370px; height: 145px;
}
.hero__ribbon img {
  position: absolute;
  left: -40px; top: .52px;
  width: 467.76px; height: 172px;
}

/* ── сцена з фото і ціною ── */
.hero__stage {
  position: relative;
  flex: none;
  align-self: stretch;
  margin: 0 -12px;
  overflow: hidden;
}
.hero--1 .hero__stage { height: 288px; }
.hero--2 .hero__stage { height: 261.29px; }
.hero--3 .hero__stage { height: 279.3px; }
.hero__photo, .hero__front { position: absolute; pointer-events: none; }
.hero__photo img, .hero__front img { width: 100%; height: 100%; }
.hero__flip { transform: scaleX(-1); }

.hero--1 .hero__photo { left: -97px; top: -22px; width: 491px; height: 327px; }

.hero--2 .hero__photo,
.hero--2 .hero__front { left: -1px; top: -177.29px; width: 352.16px; height: 528.24px; }
.hero--2 .hero__front {
  clip-path: polygon(0 103.6px, 219.16px 103.6px, 167.18px 223.95px, 219.16px 316.2px, 219.16px 528.24px, 0 528.24px);
}

.hero--3 .hero__photo {
  left: 23.7px; top: -7.3px; width: 359.71px; height: 307.48px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 12.6px, #000 46.4px, #000 259.6px, transparent 359.7px);
          mask-image: linear-gradient(90deg, transparent 12.6px, #000 46.4px, #000 259.6px, transparent 359.7px);
}
.hero--3 .hero__photo img,
.hero--3 .hero__front img { position: absolute; width: 350.4px; height: 525.1px; }
.hero--3 .hero__photo img { left: 9.32px; top: -134.2px; }
.hero--3 .hero__front { left: 23.9px; top: -7.3px; width: 219.43px; height: 255.1px; overflow: hidden; }
.hero--3 .hero__front img { left: 9.13px; top: -134.2px; }

/* «скляна» плашка з ціною: шари з Figma (світіння, скло, біла обводка) */
.hero__glass {
  position: absolute;
  border-radius: var(--r);
}
.hero__glass i {
  position: absolute; inset: 0;
  border-radius: inherit;
  border: solid #FF6A93;
}
.hero__glass i:nth-child(1) { border-width: var(--b3); filter: blur(var(--g1)); opacity: .12; mix-blend-mode: hard-light; }
.hero__glass i:nth-child(2) { border-width: var(--b2); filter: blur(var(--g2)); mix-blend-mode: color-dodge; }
.hero__glass i:nth-child(3) { border-width: var(--b3); filter: blur(var(--g3)); mix-blend-mode: color-dodge; }
.hero__glass i:nth-child(4) { border-width: var(--b1); background: rgba(0, 0, 0, .17); -webkit-backdrop-filter: blur(var(--bb)); backdrop-filter: blur(var(--bb)); }
.hero__glass i:nth-child(5) { border-width: var(--b1); border-color: #fff; opacity: .7; mix-blend-mode: color-dodge; }

.hero__price {
  position: absolute;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.hero__old { opacity: .5; }
.hero__strike {
  position: absolute;
  height: var(--sw); border-radius: 2px;
  background: #fff;
}

/* hero 1 */
.hero--1 .hero__glass { left: 133px; top: 29px; width: 199px; height: 96px;
  --r: 16.25px; --b1: 1.625px; --b2: 2.843px; --b3: 3.655px; --g1: 7.05px; --g2: 3.17px; --g3: 8.35px; --bb: 4.67px; }
.hero--1 .hero__price--new { left: 244.5px; top: 34.9px; font-size: 59.85px; }
.hero--1 .hero__price--year { left: 247.5px; top: 93.6px; font-size: 20px; letter-spacing: -.4px; opacity: .6; }
.hero__pill {
  position: absolute;
  left: 133px; top: 136px; width: 200px; height: 43.84px;
  border-radius: 16.44px;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 4.11px 7.12px rgba(0, 0, 0, .25);
}
.hero__pill s {
  position: absolute;
  left: 113.5px; top: 8.6px;
  transform: translateX(-50%);
  font: 700 20px/1.25 'Source Sans 3', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  opacity: .5;
}
.hero__pill .hero__strike { left: 33px; top: 22.73px; width: 160px; --sw: 1.75px; }

/* hero 2 */
.hero--2 .hero__glass { left: 133px; top: 58.8px; width: 209px; height: 96px;
  --r: 16.25px; --b1: 1.625px; --b2: 2.843px; --b3: 3.655px; --g1: 7.05px; --g2: 3.17px; --g3: 8.35px; --bb: 16.55px; }
.hero--2 .hero__price--new { left: 261.5px; top: 63.2px; font-size: 59.85px; }
.hero--2 .hero__price--old { left: 262.5px; top: 116.2px; font-size: 28.1px; }
.hero--2 .hero__glass + .hero__strike, .hero--2 .hero__strike { left: 206px; top: 129.4px; width: 111.92px; --sw: 1.76px; }

/* hero 3 */
.hero--3 .hero__glass { left: 14px; top: 120.5px; width: 171.17px; height: 78.62px;
  --r: 13.3px; --b1: 1.33px; --b2: 2.33px; --b3: 2.99px; --g1: 5.77px; --g2: 2.59px; --g3: 6.84px; --bb: 13.55px; }
.hero--3 .hero__price--new { left: 73px; top: 123.3px; font-size: 49px; }
.hero--3 .hero__price--old { left: 73.25px; top: 165.1px; font-size: 23px; }
.hero--3 .hero__strike { left: 27.3px; top: 178.8px; width: 91.66px; --sw: 1.44px; }

/* ── низ картки: підпис, кнопка, довіра ── */
.hero__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  gap: 16px;
}
.hero--1 .hero__bottom { gap: 14px; }
.hero__buy { display: flex; flex-direction: column; align-items: center; gap: 8px; align-self: stretch; }
.hero__note {
  font: 600 14px/1.05 'Source Sans 3', sans-serif;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
.hero--1 .hero__note { font-size: 16px; }
.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: stretch;
  height: 57.28px;
  padding: 14px 24px;
  border-radius: 49.61px;
  background: linear-gradient(90deg, #FF6A93 0%, #F65383 100%);
  font: 800 18px/1.05 'Onest', sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}
.hero__cta img { width: 11.06px; height: 14.48px; }
.hero__trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  height: 23.86px;
}
.hero__proof { display: flex; align-items: center; gap: 4px; }
.hero__avatars { display: flex; align-items: center; height: 23.86px; }
.hero__avatars img {
  width: 25.11px; height: 25.11px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  margin-right: -7.53px;
}
.hero__avatars img:last-child { margin-right: 0; }
.hero__stars { display: flex; gap: 1px; }
.hero__stars i {
  position: relative;
  width: 12px; height: 12px;
  background: #00D157;
}
.hero__stars i:last-child { background: linear-gradient(90deg, #00D157 0%, #00D157 50%, #D9D9D9 50%); }
.hero__stars i::after {
  content: "";
  position: absolute;
  left: 3px; top: 3px;
  width: 6.25px; height: 6px;
  background: url('../images/hero/star.svg') center / 100% 100% no-repeat;
  transform: scaleY(-1);
}
.hero__trust p {
  font: 400 14px/20px 'Source Sans 3', sans-serif;
  white-space: nowrap;
}
.hero__trust b { font-weight: 700; }
.hero__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
}
