:root {
  --nh-bg: #f8f7f3;
  --nh-ink: #111111;
  --nh-muted: #5f5c54;
  --nh-card: #ffffff;
  --nh-stroke: #ddd7c8;
  --nh-accent: #d49a17;
}

.nh-home {
  background: linear-gradient(180deg, #f4f0e6 0%, #f8f7f3 40%, #ffffff 100%);
  color: var(--nh-ink);
}

.nh-wrap {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.nh-hero {
  position: relative;
  padding: 110px 0 56px;
  border-bottom: 1px solid var(--nh-stroke);
}

.nh-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 400px at 10% 0%, rgba(212, 154, 23, 0.12), transparent 60%),
    radial-gradient(900px 360px at 90% 0%, rgba(17, 17, 17, 0.06), transparent 55%);
  pointer-events: none;
}

.nh-hero__inner {
  position: relative;
  z-index: 1;
}

.nh-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--nh-muted);
  margin: 0 0 8px;
}

.nh-title {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 900px;
}

.nh-subtitle {
  margin: 14px 0 0;
  font-size: clamp(16px, 2.4vw, 22px);
  color: #3b3a35;
}

.nh-search {
  margin-top: 30px;
  background: #fff;
  border: 1px solid var(--nh-stroke);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  padding: 14px;
}

.nh-search__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 10px;
}

.nh-search__field {
  display: grid;
  gap: 6px;
}

.nh-search__label {
  font-size: 12px;
  font-weight: 700;
  color: #545248;
}

.nh-search input,
.nh-search select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d8d2c1;
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  color: #151514;
}

.nh-btn {
  align-self: end;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--nh-accent);
  color: #fff;
  font-weight: 700;
  padding: 0 22px;
}

.nh-btn:hover {
  filter: brightness(0.95);
}

.nh-listings {
  padding: 42px 0 72px;
}

.nh-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.nh-section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
}

.nh-link {
  color: #1f1f1d;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nh-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.nh-card {
  background: var(--nh-card);
  border: 1px solid var(--nh-stroke);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.nh-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  background: #ece6d7;
}

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

.nh-card__fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #6a665c;
  font-weight: 700;
}

.nh-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.74);
  color: #fff;
}

.nh-card__body {
  padding: 14px;
}

.nh-card__price {
  margin: 0 0 6px;
  color: #7a5200;
  font-weight: 700;
}

.nh-card__body h3 {
  margin: 0;
  font-size: 20px;
}

.nh-card__body h3 a {
  color: inherit;
}

.nh-card__address {
  margin: 8px 0 0;
  color: var(--nh-muted);
}

.nh-card__facts {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nh-card__facts li {
  font-size: 12px;
  border: 1px solid #e1dece;
  border-radius: 999px;
  padding: 4px 8px;
}

@media (max-width: 1024px) {
  .nh-search__grid {
    grid-template-columns: 1fr 1fr;
  }

  .nh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .nh-hero {
    padding-top: 82px;
  }

  .nh-search__grid {
    grid-template-columns: 1fr;
  }

  .nh-btn {
    width: 100%;
  }

  .nh-grid {
    grid-template-columns: 1fr;
  }
}

