﻿/* Block: hero */
/* ── Hero ── */

.hero {
  position: relative;
  overflow: hidden;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__bg--left {
  position: absolute;
  top: 0;
  left: 0;
  width: 52%;
  bottom: 22%;
  background: var(--hero-mint);
}

.hero__bg--right {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  bottom: 22%;
  background: var(--hero-pink);
}

.hero__bg--floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  background: var(--hero-floor);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 2.5rem;
}

.hero__content {
  max-width: 520px;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-navy);
}

.hero__text {
  margin: 0 0 1.75rem;
  max-width: 42ch;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 48px;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  background: #fff;
  color: var(--color-navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(26, 46, 74, 0.1);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 46, 74, 0.14);
}

.hero__visual {
  justify-self: end;
  width: min(100%, 420px);
}

.hero__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-yellow);
  -webkit-mask-image: var(--mask-karta-frame);
  mask-image: var(--mask-karta-frame);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hero__shape {
  position: absolute;
  inset: var(--pet-card-border);
  overflow: hidden;
  background: var(--color-mint);
  -webkit-mask-image: var(--mask-karta);
  mask-image: var(--mask-karta);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hero__shape img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}