.hero {
  position: relative;
  overflow: hidden;

  padding: 3rem 0 2rem;

  background:
    radial-gradient(circle at top right,
      rgba(8, 145, 178, 0.10),
      transparent 45%),
    radial-gradient(circle at bottom left,
      rgba(34, 211, 238, 0.10),
      transparent 40%),
    var(--color-white);
}

.hero__content {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;

  margin-bottom: 1.25rem;
  padding: 0.5rem 1.25rem;

  border: 1px solid var(--color-gray-700);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #0891B2, #164E63);
  border-color: transparent;
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);

  box-shadow: var(--shadow-sm);
}

.hero__title {
  margin-bottom: 1.5rem;
  color: var(--color-gray-700);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.2;
  font-weight: 900;
}

.hero__title-highlight {
  color: var(--color-secondary);
}

.hero__description {
  max-width: 38rem;
  margin-bottom: 2rem;

  font-size: 1rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  margin-bottom: 2rem;
}

.hero__features {
  display: grid;
  gap: 0.75rem;

  margin: 0;
  padding: 0;

  list-style: none;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  font-weight: 500;
}

.hero__image-wrapper {
  position: relative;
  padding: 0;
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.hero__image-wrapper:hover {
  transform: translateY(-8px);

  box-shadow: 0 30px 70px rgba(15, 108, 189, 0.18);
}

.hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 0.5rem);
  transition: transform 0.5s ease;
}

.hero__image-wrapper:hover .hero__image {
  transform: scale(1.03);
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(8, 145, 178, 0.08);
  filter: blur(50px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.10);
  filter: blur(60px);
  pointer-events: none;
}

.hero__media {
  width: 100%;
  margin-inline: auto;
}

.hero__image-wrapper {
  aspect-ratio: 6 / 7;
  /* HTML'dagi width="600" height="700" nisbatiga mos */
}

/* ===========================
   Hero Card (overlay badge)
=========================== */

.hero__card {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;

  display: flex;
  flex-direction: column;
  gap: 0.25rem;

  max-width: 180px;
  padding: 1rem 1.25rem;

  background: var(--color-white);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-lg);
}

.hero__card-rating {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.hero__card-number {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-gray-900);
}

.hero__card-text {
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
  line-height: var(--lh-normal);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;

  margin-top: 2.5rem;
  padding-top: 2rem;

  border-top: 1px solid var(--color-gray-200);
  justify-content: space-between;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  text-align: center;
  align-items: center;
}

.hero__stat-stars {
  margin-bottom: .25rem;

  font-size: var(--fs-sm);
  letter-spacing: .1em;
  color: var(--color-accent);
}

.hero__stat-value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--fw-bold);
  color: var(--color-gray-900);
  line-height: 1.1;
}

.hero__stat-label {
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
}

@media (min-width: 640px) {
  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero__card {
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: 140px;
    padding: 0.75rem 1rem;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero__inner {
    padding: 1.25rem;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 3rem 0 2rem;
  }

  .hero__actions {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 1099px) {
  .hero {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .hero__badge {
    margin-bottom: 1rem;
  }

  .hero__title {
    margin-bottom: 1rem;
  }

  .hero__description {
    margin-bottom: 1.5rem;
  }

  .hero__actions {
    margin-bottom: 1.5rem;
  }

  .hero__content {
    gap: 2rem;
  }
}

@media (min-width: 1100px) {
  .hero__content {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .hero__media {
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .hero__content {
    gap: 4rem;
  }
}