.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(34px, 5vw, 70px)) 0 clamp(60px, 8vw, 120px);
  overflow: clip;
}

.hero__glow {
  position: absolute;
  top: -22%;
  right: -12%;
  width: min(70vw, 1000px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 164, 26, 0.34) 0%, rgba(250, 164, 26, 0.1) 38%, transparent 66%);
  pointer-events: none;
}

.hero__wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7.6fr) minmax(0, 4.4fr);
  gap: clamp(20px, 2.4vw, 40px);
  align-items: center;
}

.hero__main {
  position: relative;
  z-index: 2;
}

.hero__hello {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(14px, 2vw, 26px);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__hello::after {
  content: "";
  width: clamp(36px, 6vw, 80px);
  height: 1px;
  background: currentColor;
}

.hero__title {
  display: grid;
  gap: clamp(6px, 1vw, 16px);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 6.6vw, 6.3rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--text-0);
  white-space: nowrap;
}

.hero__line {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.18em;
}

.hero__ticks {
  position: absolute;
  left: -0.34em;
  top: -0.3em;
  display: flex;
  align-items: flex-end;
  gap: 0.07em;
  transform: rotate(-24deg);
}

.hero__ticks i {
  width: 0.06em;
  height: 0.2em;
  border-radius: 0.04em;
  background: var(--accent);
}

.hero__ticks i:nth-child(2) {
  height: 0.3em;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2em 0.5em 0.24em;
  border-radius: var(--r-pill);
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--surface-line-strong), 0 0 0 0.09em rgba(255, 255, 255, 0.03);
  font-size: 0.5em;
  letter-spacing: 0;
  color: var(--accent);
}

.hero__accent {
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent) 35%, #ffe7bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.6));
}

:lang(en) .hero__title,
:lang(kk) .hero__title {
  font-size: clamp(2rem, 5vw, 4.8rem);
  white-space: normal;
}

:lang(en) .hero__line,
:lang(kk) .hero__line {
  flex-wrap: wrap;
}

.hero__below {
  display: grid;
  grid-template-columns: clamp(140px, 19vw, 290px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 50px);
  align-items: center;
  margin-top: clamp(22px, 3.4vw, 50px);
}

.hero__ring {
  width: 100%;
  height: auto;
  animation: float-y 9s ease-in-out infinite;
}

.hero__text p {
  max-width: 44ch;
  margin-bottom: clamp(20px, 2.4vw, 32px);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: var(--text-1);
}

.hero__card {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: clamp(380px, 46vw, 660px);
}

.hero__card-img {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: var(--r-lg);
  border: 1px solid var(--surface-line);
  background:
  radial-gradient(90% 70% at 50% 38%, rgba(250, 164, 26, 0.3) 0%, transparent 70%),
  linear-gradient(180deg, #1a1712 0%, #0a0a0a 100%);
  overflow: hidden;
}

.hero__card-img img {
  width: 118%;
  max-width: none;
  animation: spin-slow 70s linear infinite;
}

.hero__card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, transparent 58%);
}


.hero__info {
  position: absolute;
  z-index: 3;
  right: -14px;
  bottom: 26px;
  display: grid;
  gap: 14px;
  width: min(100%, 270px);
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--bg-0);
  border: 1px solid var(--surface-line);
  animation: float-y 8s ease-in-out infinite;
}

.hero__info-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__info-top b {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
}

.hero__info-top span {
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-0);
}

.hero__avatars {
  display: flex;
}

.hero__avatars i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-right: -10px;
  border-radius: 50%;
  border: 2px solid var(--bg-0);
  background: var(--bg-2);
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-0);
}

.hero__avatars i:last-child {
  background: var(--accent);
  color: var(--on-accent);
}

@media (max-width: 1080px) {
  .hero__wrap {
    grid-template-columns: 1fr;
  }

  .hero__title {
    white-space: normal;
  }

  .hero__line {
    flex-wrap: wrap;
  }

  .hero__card {
    width: min(100%, 460px);
    min-height: 0;
    aspect-ratio: 536 / 600;
    margin-inline: auto;
  }


  .hero__info {
    right: -6px;
  }
}

@media (max-width: 640px) {
  .hero__below {
    grid-template-columns: 1fr;
  }

  .hero__ring {
    display: none;
  }

  .hero .btn-pair .btn {
    flex: 1;
  }
}
