/* Hero. Mobile-first: 360 → 768 → 1024 → 1280. */

.hero {
  padding: 44px 0 8px; /* свес плашки-эмблемы из шапки */
}

.hero__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero__copy {
  min-width: 0;
  container-type: inline-size;
}

.hero .h-display {
  font-size: 52px;
  line-height: 0.88;
}

.hero__line {
  display: block;
  white-space: nowrap;
}

.hero .lead {
  margin: 16px 0 0;
  text-wrap: balance;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero__cta .btn {
  flex: 1 1 100%;
}

@media (min-width: 540px) {
  .hero__cta .btn {
    flex: 0 1 auto;
  }
}

.hero__also {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.hero__also a {
  color: var(--ink);
  text-underline-offset: 3px;
}

/* Эмблема: (1) тень 6×6, (2) контур ink, (3) мёд inset 4px. Фото только в мёде. */
.hero__art {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  aspect-ratio: 119.566 / 91.137;
}

.hero__shape {
  position: absolute;
  -webkit-mask: url("../../assets/brand/cartouche.svg") center / 100% 100% no-repeat;
  mask: url("../../assets/brand/cartouche.svg") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.hero__shape--shadow,
.hero__shape--ink {
  inset: 0 12px 12px 0;
}

.hero__shape--shadow {
  background: var(--ink);
  transform: translate(6px, 6px);
}

.hero__shape--ink {
  background: var(--ink);
}

.hero__shape--fill {
  inset: 4px 16px 16px 4px;
  background: var(--honey);
  isolation: isolate;
}

.hero__photo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 96%;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero__sticker {
  position: absolute;
  z-index: 2;
  height: auto;
  pointer-events: none;
}

.hero__sticker--leaf {
  width: 22%;
  max-width: 112px;
  right: 4%;
  top: 0;
  transform: rotate(12deg);
}

.hero__sticker--spark {
  width: 15%;
  max-width: 80px;
  left: 2%;
  bottom: 7%;
  transform: rotate(-14deg);
}

@media (min-width: 768px) {
  .hero {
    padding: 64px 0 16px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }

  .hero__art {
    margin-inline: 0;
    max-width: none;
  }

  .hero .h-display {
    font-size: 68px;
  }

  .hero__cta .btn {
    flex: 0 1 auto;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 72px 0 28px;
  }

  .hero .h-display {
    font-size: 64px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    gap: 40px;
  }

  .hero .lead {
    margin-top: 18px;
  }
}

@supports (width: 1cqi) {
  .hero .h-display {
    font-size: clamp(44px, 15.4cqi, 112px);
  }
}

/* Планшет в две колонки: обе кнопки в один ряд */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero__cta { flex-wrap: nowrap; gap: 10px; }
  .hero__cta .btn { padding: 0 18px; font-size: 16px; white-space: nowrap; }
}
