/* =========================================================
   MAV UNITED REALTY — EDITORIAL HERO SECTION
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 2.5rem;
}

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

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  animation: heroZoom 24s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.10); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(11, 15, 23, 0.65) 0%,
    rgba(11, 15, 23, 0.40) 50%,
    rgba(11, 15, 23, 0.85) 100%
  );
}

.hero__container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
}

.hero__top-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.hero__left {
  max-width: 720px;
}

.hero__eyebrow-text {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-bronze);
  margin-bottom: var(--space-4);
  display: block;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.25rem);
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(242, 239, 231, 0.85);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  max-width: 580px;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
}

.hero__right-badge {
  text-align: right;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(242, 239, 231, 0.7);
  line-height: 1.8;
  padding-bottom: var(--space-2);
}

/* ── Integrated Clean Luxury Search Engine (One Sotheby's Style) ── */
/* ── Sotheby's Style Clean Transparent Search Bar ── */
.hero-sothebys-bar {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: 100%;
  max-width: 1050px;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  border: none !important;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.sothebys-select-group {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.95);
  padding-bottom: 0.6rem;
  flex-shrink: 0;
  transition: border-color 0.3s ease;
}

.sothebys-select-group:focus-within,
.sothebys-select-group:hover {
  border-bottom-color: #FFFFFF;
}

.sothebys-select-arrow {
  color: #FFFFFF;
  flex-shrink: 0;
  pointer-events: none;
}

.sothebys-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  padding-right: 0.5rem;
}

.sothebys-select option {
  background-color: #0B0F17;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 12px;
}

.sothebys-input-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.95);
  padding-bottom: 0.6rem;
  transition: border-color 0.3s ease;
}

.sothebys-input-group:focus-within,
.sothebys-input-group:hover {
  border-bottom-color: #FFFFFF;
}

.sothebys-search-icon {
  color: #FFFFFF;
  flex-shrink: 0;
}

.sothebys-input {
  width: 100%;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  outline: none;
}

.sothebys-input::placeholder {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.sothebys-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #FFFFFF;
  border-radius: 9999px;
  background: transparent;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 2.4rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.sothebys-btn-pill:hover {
  background: #FFFFFF;
  color: #0B0F17;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .hero-sothebys-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  .sothebys-select-group,
  .sothebys-input-group {
    width: 100%;
  }
  .sothebys-btn-pill {
    width: 100%;
    margin-top: 0.5rem;
  }
}

@media (max-width: 992px) {
  .hero__top-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
  }
  .hero__right-badge {
    text-align: left;
  }
  .hero-search-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1.1rem;
    padding: 1.25rem;
  }
  .hero-search-divider {
    display: none;
  }
  .hero-search-btn {
    width: 100%;
    justify-content: center;
    padding: 1.1rem;
  }
}


