.hero {
  background: var(--bg-deep);
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  isolation: isolate;
}

/* ---------- Декоративная атмосфера — реальные PNG-ассеты из Figma ---------- */
.hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ribbon {
  position: absolute;
  width: auto;
  height: auto;
  mix-blend-mode: screen;
  opacity: 0.85;
}

/* Центр + ширина + угол поворота — точные координаты контейнеров
   426:97/98/100 из дизайн-кода Figma (% относительно секции 1440×920) */
.ribbon--1 {
  width: 67.2%;
  left: 65.07%;
  top: 87.72%;
  transform: translate(-50%, -50%) rotate(8deg);
  animation: ribbon-drift-1 22s ease-in-out infinite;
}

.ribbon--2 {
  width: 77.1%;
  left: 80.9%;
  top: 1.9%;
  transform: translate(-50%, -50%) rotate(-18deg);
  animation: ribbon-drift-2 26s ease-in-out infinite;
}

.ribbon--3 {
  width: 72.1%;
  left: 58.06%;
  top: 7.77%;
  transform: translate(-50%, -50%) rotate(10deg);
  animation: ribbon-drift-3 19s ease-in-out infinite;
}

/* Медленный, едва заметный дрейф лент — покачивание на пару градусов
   вокруг исходного угла, без рывков */
@keyframes ribbon-drift-1 {
  0%, 100% { transform: translate(-50%, -50%) rotate(8deg); }
  50% { transform: translate(-50%, -50%) rotate(10.5deg); }
}

@keyframes ribbon-drift-2 {
  0%, 100% { transform: translate(-50%, -50%) rotate(-18deg); }
  50% { transform: translate(-50%, -50%) rotate(-15.3deg); }
}

@keyframes ribbon-drift-3 {
  0%, 100% { transform: translate(-50%, -50%) rotate(10deg); }
  50% { transform: translate(-50%, -50%) rotate(7.6deg); }
}

.glow--product {
  width: 760px;
  height: 820px;
  right: -10%;
  top: 4%;
  background: radial-gradient(ellipse at center, rgba(18, 92, 235, 0.35), rgba(18, 92, 235, 0) 70%);
  mix-blend-mode: screen;
}

/* ---------- Каркас секции ---------- */
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-top: 24px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 11px 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: #9ea6b8;
  min-width: min(100%, 420px);
}

.eyebrow__index {
  color: var(--ink-muted-dark);
}

.hero__title {
  font-weight: 800;
  font-size: clamp(36px, 5.4vw, 74px);
  line-height: 1.05;
  letter-spacing: -0.0341em;
  color: var(--paper);
  margin: 0;
}

.hero__title-line3 {
  position: relative;
  display: inline-block;
}

/* Точечное разведение соприкасающейся пары «Е-Т» в слове ЭТИКЕТКА,
   без изменения общего трекинга заголовка (который соответствует Figma) */
.hero__kern-fix {
  margin-right: 0.045em;
}

.hero__kern-fix-lg {
  margin-right: 0.09em;
}

/* Градиентная стеклянная плашка за строкой «ВАШ ПРОДУКТ.» — из Figma:
   backdrop-blur, тонкая граница, диагональный градиент фирменных цветов
   низкой непрозрачности, скругление 26px, выходит за пределы текста. */
.hero__title-plate {
  position: absolute;
  left: -0.22em;
  right: -0.22em;
  top: -0.1em;
  bottom: -0.2em;
  z-index: -1;
  border-radius: 0.35em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: linear-gradient(128deg, rgba(18, 92, 235, 0.18) 0%, rgba(240, 0, 117, 0.11) 55%, rgba(255, 122, 0, 0.16) 100%);
  box-shadow: 0 18px 38px -10px rgba(5, 15, 46, 0.3);
  pointer-events: none;
}

.hero__title-text {
  position: relative;
  background: var(--brand-gradient-diag);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Градиентное подчёркивание под словом «ВАШ» — отдельный элемент вне
   текста (вложенные position:relative/inline-block ломают наследование
   background-clip:text у потомков в Chromium), со своим отдельным
   горизонтальным градиентом, не связанным с диагональным градиентом текста.
   Ширина в em откалибрована под слово «ВАШ» (179px при 82px в макете Figma). */
.hero__vash-underline {
  position: absolute;
  left: 0;
  bottom: -0.09em;
  width: 2.42em;
  height: 0.05em;
  min-height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-pink) 55%, var(--brand-orange) 100%);
  box-shadow: 0 0 12px rgba(240, 0, 117, 0.45);
}

.hero__lead {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.55;
  color: #b8bdcc;
  max-width: 560px;
}

/* ---------- Визуальная композиция с бутылками ---------- */
.hero__visual {
  position: relative;
  min-height: clamp(360px, 44vw, 744px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottle-cutout {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 690 / 744;
  margin: 0 auto;
}

.orbit {
  position: absolute;
  width: auto;
  height: auto;
  pointer-events: none;
}

.orbit--spectrum {
  width: 94.2%;
  left: 4.64%;
  top: 2.15%;
}

.orbit--glass {
  width: 71.01%;
  left: 15.94%;
  top: 13.17%;
}

.light-pedestal {
  position: absolute;
  width: 101.4%;
  left: -0.7%;
  top: 88.7%;
  pointer-events: none;
}

.lens {
  position: absolute;
  width: auto;
  height: auto;
  pointer-events: none;
  animation: lens-glow-pulse 3.6s ease-in-out infinite;
}

@keyframes lens-glow-pulse {
  0%, 100% {
    opacity: 0.55;
    filter: drop-shadow(0 0 0 transparent);
  }
  35% {
    opacity: 1;
    filter: drop-shadow(0 0 26px var(--lens-glow-color, rgba(255, 255, 255, 0.55)));
  }
  60% {
    opacity: 0.75;
    filter: drop-shadow(0 0 10px var(--lens-glow-color, rgba(255, 255, 255, 0.3)));
  }
}

.lens--blue-magenta {
  width: 20.87%;
  left: 4.64%;
  top: 74.73%;
  z-index: 4;
  --lens-glow-color: rgba(18, 92, 235, 0.75);
}

.lens--orange {
  width: 18.5%;
  left: 79.5%;
  top: 65.5%;
  z-index: 5;
  --lens-glow-color: rgba(255, 122, 0, 0.75);
  animation-duration: 4.4s;
  animation-delay: -1.8s;
}

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

.bottle {
  position: absolute;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 10, 0.45));
}

.bottle--tall {
  width: 25.36%;
  height: 84.01%;
  left: 29.71%;
  top: 3.36%;
  z-index: 2;
}

.bottle--right {
  width: 17.39%;
  height: 59.14%;
  left: 71.01%;
  top: 26.21%;
  z-index: 1;
}

.bottle--left {
  width: 28.99%;
  height: 69.89%;
  left: 10.87%;
  top: 19.49%;
  z-index: 3;
}

.bottle--front {
  width: 31.88%;
  height: 80.65%;
  left: 44.20%;
  top: 10.08%;
  z-index: 3;
}

.hero__principle {
  position: absolute;
  left: 7.83%;
  top: 85.22%;
  width: 85.8%;
  height: 10.48%;
  padding: 0 clamp(16px, 3vw, 32px);
  display: flex;
  align-items: center;
  z-index: 5;
}

.hero__principle span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: #a3abbd;
}
