.hero {
  position: relative;
  min-height: 720px;
  padding: 92px 0 78px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  width: 540px;
  height: 540px;
  right: -180px;
  top: -160px;
  border: 1px solid rgba(215, 169, 74, 0.2);
  border-radius: 50%;
  content: "";
}

.hero::after {
  position: absolute;
  width: 980px;
  height: 1px;
  left: 0;
  top: 44%;
  background: linear-gradient(90deg, transparent, rgba(37, 228, 212, 0.42), transparent);
  content: "";
  transform: rotate(-16deg);
  transform-origin: left;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 40px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero-kicker span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 5px rgba(255, 115, 87, 0.14);
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(4rem, 9vw, 8.6rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.78;
}

.hero h1 em {
  display: block;
  margin-left: 0.08em;
  color: var(--color-primary);
  font-size: 0.28em;
  font-style: normal;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-description {
  max-width: 470px;
  margin-bottom: 32px;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 46px;
  color: var(--color-muted);
  font-size: 12px;
}

.hero-meta strong {
  color: var(--color-text);
  font-size: 28px;
  line-height: 1;
}

.hero-visual {
  position: relative;
  min-height: 570px;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0 0 0 8%;
  width: 108%;
  height: 100%;
  object-fit: cover;
  border-radius: 40% 6px 40% 6px;
  box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 12% 0 0 16%;
  border: 1px solid rgba(215, 169, 74, 0.28);
  background: rgba(7, 9, 13, 0.4);
  content: "";
  transform: rotate(-7deg);
}

.hero-visual::after {
  position: absolute;
  right: 9%;
  bottom: 4%;
  width: 180px;
  height: 180px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  content: "";
  opacity: 0.7;
}

.hero-flag {
  position: absolute;
  top: 11%;
  right: -4%;
  display: grid;
  width: 132px;
  height: 132px;
  padding: 14px;
  place-content: end;
  background: var(--color-deep);
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: rotate(8deg);
}

.hero-flag span {
  color: var(--color-secondary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-flag strong {
  font-size: 28px;
  line-height: 1;
}

.hero-index {
  position: absolute;
  left: 0;
  bottom: 2%;
  width: 180px;
  padding: 14px;
  border-left: 3px solid var(--color-primary);
  background: rgba(7, 9, 13, 0.84);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.hero-index strong {
  display: block;
  margin-bottom: 4px;
  font-size: 32px;
  line-height: 1;
}

.hero-index span {
  color: var(--color-muted);
  font-size: 12px;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 500px;
    margin-top: 20px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 52px 0 58px;
  }

  .hero h1 {
    font-size: clamp(4rem, 19vw, 6rem);
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-meta {
    margin-top: 32px;
  }

  .hero-visual {
    min-height: 340px;
    margin: 4px -8px 0;
  }

  .hero-image {
    inset: 0 0 0 4%;
    width: 104%;
    border-radius: 26% 4px 26% 4px;
  }

  .hero-flag {
    top: 7%;
    right: 3%;
    width: 100px;
    height: 100px;
    padding: 10px;
  }

  .hero-flag strong {
    font-size: 22px;
  }

  .hero-index {
    width: 136px;
    left: 4%;
  }

  .hero-index strong {
    font-size: 24px;
  }
}
