/* ============================================================
   NORTH & KEY REALTY
   ============================================================ */

:root {
  --ivory: #f6f3ee;
  --stone: #eae3d6;
  --charcoal: #211f1a;
  --charcoal-soft: #57544c;
  --brass: #a3814a;
  --brass-deep: #8a6c3c;
  --line: rgba(33, 31, 26, 0.13);
  --line-strong: rgba(33, 31, 26, 0.24);
  --white: #ffffff;

  --serif: 'Libre Caslon Display', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --container: 1320px;
  --pad: clamp(24px, 5vw, 80px);
  --radius: 3px;

  --dur: 0.6s;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
p { margin: 0; }

::selection { background: var(--charcoal); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--charcoal); color: var(--ivory); }
.btn-primary:hover { background: var(--brass-deep); }
.btn-small { padding: 11px 20px; font-size: 12.5px; }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--charcoal); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-ghost-light { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.45); backdrop-filter: blur(2px); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); }

/* ---------------- section scaffolding ---------------- */
.section-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.section-head.center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 10px; }
.section-sub { color: var(--charcoal-soft); font-size: 15px; max-width: 480px; }
.kicker {
  font-size: 13px;
  font-weight: 600;
  color: var(--brass-deep);
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px var(--pad);
  transition: padding var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav.scrolled {
  padding: 13px var(--pad);
  background: rgba(246, 243, 238, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--charcoal);
}
.nav-logo span { color: var(--brass-deep); }
.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--brass-deep);
  transition: right var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--charcoal); }
.nav-links a:hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  width: 24px; height: 16px;
  position: relative;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--charcoal);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span { top: 7px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--ivory);
  z-index: 400;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  gap: 22px;
  padding: 0 var(--pad);
  transform: translateY(-100%);
  transition: transform var(--dur) var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-family: var(--serif); font-size: 30px; }
.mobile-menu .btn { margin-top: 12px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding-bottom: 110px;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,14,0.5) 0%, rgba(20,18,14,0.25) 45%, rgba(20,18,14,0.55) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
}
.hero-copy { max-width: 640px; color: var(--white); }
.hero-copy h1 {
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero-copy p {
  font-size: 17px;
  color: rgba(255,255,255,0.88);
  max-width: 440px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }

/* search panel */
.search-panel {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: -78px auto 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(20,18,14,0.16);
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 0;
  border: 1px solid var(--line);
}
.search-field {
  padding: 18px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.search-field:last-of-type { border-right: none; }
.search-field label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--charcoal-soft);
}
.search-field select {
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--charcoal);
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2357544c'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 16px;
}
.search-btn {
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0 34px;
}

/* ============================================================
   PROPERTIES
   ============================================================ */
.properties { padding: 130px var(--pad) 110px; max-width: var(--container); margin: 0 auto; }
.properties .section-head { padding: 0; }

.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; }
.filter-bar select {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--charcoal-soft);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 9px 30px 9px 14px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2357544c'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.property-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.property-card:hover { box-shadow: 0 18px 36px rgba(33,31,26,0.1); transform: translateY(-3px); }
.property-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.property-card:hover .property-media img { transform: scale(1.045); }
.property-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--charcoal);
  color: var(--ivory);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 2px;
  letter-spacing: 0.02em;
}
.property-tag.rent { background: var(--brass-deep); }
.property-body { padding: 22px 24px 24px; }
.property-body h3 { font-size: 20px; margin-bottom: 4px; }
.property-location { color: var(--charcoal-soft); font-size: 13.5px; margin-bottom: 12px; }
.property-price { font-size: 19px; font-weight: 600; color: var(--brass-deep); font-family: var(--serif); margin-bottom: 12px; }
.property-specs {
  font-size: 13px;
  color: var(--charcoal-soft);
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-bottom: 18px;
}
.property-view {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 11px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.property-view:hover { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }

.no-results { text-align: center; padding: 60px 0 10px; color: var(--charcoal-soft); font-size: 15px; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why { background: var(--stone); padding: 110px var(--pad); }
.why-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}
.why-card { background: var(--stone); padding: 40px 30px; }
.why-mark {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--brass-deep);
  color: var(--brass-deep);
  font-family: var(--serif);
  font-size: 17px;
  border-radius: 50%;
  margin-bottom: 22px;
}
.why-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--charcoal-soft); line-height: 1.65; }

/* ============================================================
   SHOWCASE
   ============================================================ */
.showcase {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: flex-end;
}
.showcase-media { position: absolute; inset: 0; }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; }
.showcase-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(18,16,12,0.72) 0%, rgba(18,16,12,0.05) 55%);
}
.showcase-copy {
  position: relative; z-index: 2;
  max-width: 560px;
  color: var(--white);
  padding: 70px var(--pad);
}
.showcase-copy h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 18px; }
.showcase-copy p { color: rgba(255,255,255,0.85); font-size: 15.5px; margin-bottom: 26px; line-height: 1.7; }
.showcase .kicker { color: #d3b787; }

/* ============================================================
   BUY & SELL
   ============================================================ */
.buy-sell { display: grid; grid-template-columns: 1fr 1fr; }
.buy-sell-panel { position: relative; min-height: 480px; overflow: hidden; }
.buy-sell-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.buy-sell-panel:hover img { transform: scale(1.04); }
.buy-sell-panel::after { content: ""; position: absolute; inset: 0; background: rgba(16,15,11,0.42); }
.panel-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 44px; color: var(--white); }
.panel-copy h3 { font-size: 28px; margin-bottom: 8px; }
.panel-copy p { margin-bottom: 22px; font-size: 15px; color: rgba(255,255,255,0.85); }

/* ============================================================
   NEIGHBORHOODS
   ============================================================ */
.neighborhoods { padding: 110px var(--pad); max-width: var(--container); margin: 0 auto; }
.neighborhoods .section-head { padding: 0; }
.neighborhood-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.neighborhood-card { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); display: block; }
.neighborhood-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.neighborhood-card:hover img { transform: scale(1.06); }
.neighborhood-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,14,10,0.75) 0%, rgba(15,14,10,0.05) 55%); }
.n-copy { position: absolute; left: 20px; bottom: 20px; z-index: 2; color: var(--white); }
.n-copy h3 { font-size: 22px; margin-bottom: 4px; }
.n-copy span { font-size: 12.5px; color: rgba(255,255,255,0.82); }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px var(--pad);
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.about-media { aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 20px; }
.about-copy p { color: var(--charcoal-soft); font-size: 15px; line-height: 1.75; margin-bottom: 16px; max-width: 520px; }
.about-copy .btn { margin-top: 10px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--charcoal); color: var(--ivory); padding: 110px var(--pad); }
.testimonials .section-head h2 { color: var(--ivory); }
.testimonial-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.testimonial { margin: 0; }
.testimonial blockquote {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 22px;
  color: var(--ivory);
}
.testimonial figcaption { font-size: 13.5px; font-weight: 600; }
.testimonial figcaption span { color: rgba(246,243,238,0.6); font-weight: 400; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { text-align: center; padding: 130px var(--pad); max-width: 720px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.final-cta p { color: var(--charcoal-soft); font-size: 16px; margin-bottom: 34px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--stone); padding: 80px var(--pad) 0; }
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line-strong);
}
.footer-logo { font-family: var(--serif); font-size: 21px; margin-bottom: 16px; }
.footer-logo span { color: var(--brass-deep); }
.footer-brand p { color: var(--charcoal-soft); font-size: 14px; line-height: 1.7; max-width: 320px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--charcoal-soft);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer-social a:hover { color: var(--charcoal); border-color: var(--charcoal); }
.footer-col h4 { font-size: 13px; font-weight: 600; margin-bottom: 18px; color: var(--charcoal-soft); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col span { font-size: 14px; color: var(--charcoal-soft); }
.footer-col a:hover { color: var(--charcoal); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--charcoal-soft);
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   MODALS
   ============================================================ */
.modal {
  position: fixed; inset: 0;
  z-index: 900;
  display: flex;
  align-items: center; justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(18,16,12,0.6); }
.modal-panel {
  position: relative;
  z-index: 2;
  background: var(--white);
  max-width: 920px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  transform: translateY(16px) scale(0.98);
  transition: transform var(--dur) var(--ease);
}
.modal.open .modal-panel { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--charcoal);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.modal-gallery { position: relative; background: var(--stone); min-height: 320px; }
.modal-gallery img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  font-size: 20px;
  cursor: pointer;
  z-index: 3;
}
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 3; }
.gallery-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.6); }
.gallery-dots span.active { background: var(--white); }
.modal-info { padding: 34px; }
.modal-tag { display: inline-block; font-size: 11px; font-weight: 600; background: var(--charcoal); color: var(--ivory); padding: 5px 10px; border-radius: 2px; margin-bottom: 14px; }
.modal-info h3 { font-size: 24px; margin-bottom: 6px; }
.modal-location { color: var(--charcoal-soft); font-size: 14px; margin-bottom: 12px; }
.modal-price { font-family: var(--serif); font-size: 22px; color: var(--brass-deep); margin-bottom: 12px; }
.modal-specs { font-size: 13.5px; color: var(--charcoal-soft); padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.modal-desc { font-size: 14px; color: var(--charcoal-soft); line-height: 1.7; margin-bottom: 24px; }

.modal-form-panel { grid-template-columns: 1fr; max-width: 520px; }
.modal-form-inner { padding: 40px; }
.modal-form-inner h3 { font-size: 24px; margin-bottom: 10px; }
.modal-form-sub { color: var(--charcoal-soft); font-size: 14px; margin-bottom: 26px; line-height: 1.6; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label { font-size: 12.5px; font-weight: 600; color: var(--charcoal-soft); }
.form-row input, .form-row textarea {
  font-family: var(--sans);
  font-size: 14.5px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ivory);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--brass-deep); }
.form-row.error input, .form-row.error textarea { border-color: #b3453d; }
.field-error { font-size: 12px; color: #b3453d; min-height: 14px; }
.form-submit { width: 100%; margin-top: 6px; }
.form-success { margin-top: 16px; font-size: 13.5px; color: #3f6b45; text-align: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .neighborhood-grid { grid-template-columns: repeat(2, 1fr); }
  .search-panel { grid-template-columns: repeat(2, 1fr); }
  .search-field { border-right: none; border-bottom: 1px solid var(--line); }
  .search-btn { grid-column: 1 / -1; border-radius: var(--radius); padding: 15px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .about { grid-template-columns: 1fr; }
  .about-media { max-width: 380px; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .buy-sell { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 32px; }
  .modal-panel { grid-template-columns: 1fr; }
  .modal-gallery { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .nav-actions .btn-small { display: none; }
  .hero { padding-bottom: 170px; }
  .search-panel { grid-template-columns: 1fr; margin-top: -140px; }
  .search-field { border-bottom: 1px solid var(--line); }
  .properties { padding-top: 190px; }
  .property-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .neighborhood-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .filter-bar { width: 100%; }
  .filter-bar select { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; }
}
