﻿.hero {
  padding: 20px 0 8px;
}

.hero__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 440px;
  padding: 24px 22px 120px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.hero__content {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 500px;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero__badge-icon {
  display: none;
}

.hero__badge>span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hero__title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.hero__text {
  margin-top: 14px;
  max-width: 440px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.hero__text p {
  margin: 0;
}

.hero__text p+p {
  margin-top: 8px;
}

.hero__button {
  min-height: 50px;
  max-width: 100%;
  gap: 9px;
  margin-top: 20px;
  padding-inline: 16px;
  font-size: 14px;
}

.hero__button>span:not([class]) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hero__button-icon {
  display: flex;
  flex-shrink: 0;
}

.hero__button-arrow {
  flex-shrink: 0;
}

.hero__media {
  position: absolute;
  z-index: 0;
  inset: auto 0 0;
  height: 65%;
  pointer-events: none;
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(7, 11, 17, .88) 28%, rgba(7, 11, 17, .2) 78%);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 75% 70%, rgba(255, 59, 48, .16), transparent 70%);
  color: var(--text-muted);
  font-size: 34px;
  font-weight: 800;
}

.hero__placeholder span {
  opacity: .25;
}

.hero__glow {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: 200px;
  height: 140px;
  bottom: -95px;
  right: 10%;
  background: #ff3b30;
  filter: blur(75px);
  opacity: .16;
}

.hero__glow--two {
  display: none;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 28px;
  }

  .hero__card {
    min-height: 330px;
    display: flex;
    align-items: center;
    padding: 30px clamp(28px, 3vw, 42px);
  }

  .hero__content {
    width: 45%;
  }

  .hero__media {
    inset: 0 0 0 auto;
    width: 60%;
    height: 100%;
  }

  .hero__media::after {
    background: linear-gradient(90deg, var(--bg), rgba(7, 11, 17, .8) 12%, rgba(7, 11, 17, .18) 38%, transparent 65%);
  }

  .hero__badge {
    font-size: 11px;
  }

  .hero__button {
    font-size: 14px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero__card {
    min-height: 380px;
  }

  .hero__content {
    width: 55%;
  }

  .hero__title {
    font-size: clamp(32px, 3.7vw, 38px);
  }

  .hero__media {
    width: 55%;
  }

  .hero__image {
    object-position: 65% center;
  }

  .hero__media::after {
    background: linear-gradient(90deg, var(--bg), rgba(7, 11, 17, .9) 20%, rgba(7, 11, 17, .35) 50%, transparent 80%);
  }
}

@media (max-width: 767px) {
  .hero__card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
    padding: 12px 22px 24px;
  }

  .hero__media {
    position: relative;
    inset: auto;
    order: -1;
    flex: 0 0 auto;
    width: 100%;
    height: clamp(180px, 48vw, 240px);
  }

  .hero__media::after {
    background: linear-gradient(180deg, transparent 55%, rgba(7, 11, 17, .45) 78%, var(--bg) 100%);
  }

  .hero__title {
    font-size: clamp(30px, 4.5vw, 34px);
  }

  .hero__image {
    object-position: center top;
  }
}

@media (max-width: 390px) {
  .hero__content {
    padding: 12px 20px 22px;
  }

  .hero__title {
    font-size: clamp(28px, 8vw, 32px);
  }

  .hero__badge {
    margin-bottom: 10px;
    letter-spacing: 1.3px;
  }

  .hero__text {
    margin-top: 12px;
  }

  .hero__button {
    width: auto;
    gap: 7px;
    margin-top: 16px;
    padding: 12px 14px;
  }

}