/* =============== HERO BASE =============== */
.hero__spotzi {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__spotzi__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero__grid {
  width: 100%;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__desc strong {
  color: #FFFFFF;
}

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

/* Overlay */
.hero__spotzi::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.56);
}

.hero__content {
  position: relative;
  width: 100%;
  max-width: 760px;
  padding: 40px 0;
  color: #fff;
}

.hero__title {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero__desc,
.hero__spotzi p {
  margin: 0 auto 24px;
  max-width: 680px;
  font-size: 0.95rem;
  font-family: "Inter Light", sans-serif;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

/* Form row */
.hero__form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
  max-width: 620px;
  margin: 0 auto;
}

.dropdown-home-panel {
  flex: 1 1 auto;
  min-width: 0;
}

.dropdown-home-panel select {
  width: 100%;
  height: 50px;
  padding: 0 48px 0 16px;
  border: 0;
  border-radius: 6px;
  background-color: #fff;
  color: #6f6f6f;
  font-size: 0.95rem;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #666 50%),
    linear-gradient(135deg, #666 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.search-home-panel {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  background: #2fc3a3;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, transform 0.2s ease;
}

.search-home-panel:hover {
  background: #28af92;
}

.search-home-panel:active {
  transform: translateY(1px);
}

.search-home-panel:focus {
  outline: none;
}

.search-home-panel svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-left: 1rem;
}

/* Optional secondary button/link */
.hero__secondary {
  margin-top: 16px;
}

.hero__secondary .spotzi-link {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
}

.hero__secondary .spotzi-link:hover {
  opacity: 1;
}

.hero__empty {
  display: none;
}

/* =============== DESKTOP / TABLET =============== */
@media (min-width: 481px) {
  .hero__spotzi {
    min-height: 75%;
  }

  .hero__grid {
    min-height: 430px;
  }

  .hero__content {
    max-width: 760px;
  }

  .hero__title {
    font-size: clamp(2.2rem, 4vw, 3rem);
  }
}

/* =============== MOBILE =============== */
@media (max-width: 480px) {
  .hero__spotzi {
    min-height: 520px;
    padding: 24px 0;
  }

  .hero__spotzi::before {
    background: rgba(0, 0, 0, 0.56);
  }

  .hero__spotzi__container {
    padding: 0 16px;
  }

  .hero__grid {
    min-height: 520px;
  }

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

  .hero__title {
    margin-bottom: 12px;
    font-size: 2rem;
    line-height: 1.12;
  }

  .hero__desc,
  .hero__spotzi p {
    max-width: 100%;
    margin-bottom: 20px;
    font-size: 0.92rem;
  }

  .hero__form {
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
  }

  .dropdown-home-panel,
  .hero__actions {
    width: 100%;
  }

  .dropdown-home-panel select,
  .search-home-panel {
    width: 100%;
  }

  .search-home-panel {
    min-width: 0;
  }

  .search-home-panel svg {
    margin-left: 0.75rem;
  }
}