.hero {
  position: relative;
  min-height: min(85vh, 720px);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 10vw, 5rem);
  color: var(--color-white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.35) 0%,
    rgba(15, 23, 42, 0.82) 100%
  );
}

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

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 18ch;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 52ch;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

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

.stat__num {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 0.875rem;
  opacity: 0.85;
}

@media (min-width: 768px) {
  .hero__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.quick-search-bar {
  background: var(--color-primary);
  padding: 1.25rem 0;
  margin-top: -1px;
}

.search-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--color-white);
  padding: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.search-bar__geo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--color-medium);
}

.search-bar__geo svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

.search-bar__change {
  margin-left: auto;
  border: none;
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.search-bar__input,
.search-bar__select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
}

.search-bar__btn {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  background: var(--color-accent);
  color: var(--color-dark);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.search-bar__btn:hover {
  background: var(--color-accent-dark);
}

@media (min-width: 768px) {
  .search-bar {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .search-bar__geo {
    flex: 1 1 100%;
  }

  .search-bar__input {
    flex: 2;
    min-width: 200px;
  }

  .search-bar__select {
    flex: 1;
    min-width: 160px;
    width: auto;
  }

  .search-bar__btn {
    flex-shrink: 0;
  }
}
