.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #ffffff;
}

.hero__media {
  position: absolute;
  inset: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(40, 54, 24, 0.8),
    rgba(40, 54, 24, 0.7),
    rgba(40, 54, 24, 0.9)
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  min-height: 100vh;
  margin: 0 auto;
  padding: 7rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #717d4e;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
}

.hero__title-accent {
  display: block;
  color: #717d4e;
}

.hero__description {
  max-width: 48rem;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.hero__accent {
  color: #717d4e;
  font-weight: 600;
}

.hero__search {
  width: 100%;
  max-width: 36rem;
  position: relative;
}

.hero__search-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero__input {
  height: 3rem;
  padding: 0 1rem;
  border-radius: 0.75rem;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  font-size: 0.875rem;
  outline: none;
}

.hero__input::-moz-placeholder {
  color: #64748b;
}

.hero__input::placeholder {
  color: #64748b;
}

.hero__button {
  height: 3rem;
  padding: 0 1.5rem;
  border: none;
  border-radius: 0.75rem;
  background: #717d4e;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero__button:hover {
  background: #5f6f3f;
}

.hero__autocomplete {
  margin-top: 0.5rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.3);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
  overflow: hidden;
}

.hero__autocomplete-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.hero__autocomplete-thumbButton,
.hero__autocomplete-labelButton {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  color: #f8fafc;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.hero__autocomplete-thumbButton {
  flex-shrink: 0;
}

.hero__autocomplete-labelButton {
  flex: 1;
  min-width: 0;
}

.hero__autocomplete-item:hover,
.hero__autocomplete-item:focus-within {
  background: rgba(148, 163, 184, 0.18);
}

.hero__autocomplete-thumb {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}

.hero__autocomplete-label {
  line-height: 1.3;
  width: 100%;
}

.hero__autocomplete-thumb--empty {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.hero__autocomplete-item.is-muted {
  color: rgba(248, 250, 252, 0.7);
  cursor: default;
}

.hero__stats {
  width: 100%;
  max-width: 48rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.hero__stat {
  padding: 1.5rem 1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
.hero__stat:hover {
    background-color: #5c6548; /* Puedes cambiar este color según lo prefieras */
}

.hero__stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.hero__stat-label {
  margin: 0.5rem 0 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
}

.hero__navigating-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
}

.hero__navigating-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #717d4e;
  border-radius: 50%;
  animation: hero-spin 0.8s linear infinite;
}

@keyframes hero-spin {
  to { transform: rotate(360deg); }
}

.hero__navigating-text {
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

@media (min-width: 640px) {
  .hero__search-row {
    flex-direction: row;
    align-items: center;
  }

  .hero__input {
    flex: 1;
  }
}

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

