:root {
  --ink: #172022;
  --muted: #607176;
  --line: #dce5e4;
  --paper: #f7faf9;
  --panel: #ffffff;
  --brand: #0f6b64;
  --brand-dark: #0b4f4a;
  --gold: #c69044;
  --rose: #ad5d50;
  --shadow: 0 20px 60px rgba(33, 53, 57, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
  transition: background 200ms ease, box-shadow 200ms ease;
}

.nav.is-scrolled {
  background: rgba(11, 28, 30, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 6px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
}

.links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  font-size: 0.95rem;
  font-weight: 650;
}

.links a {
  opacity: 0.92;
}

.nav .call {
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  font-weight: 750;
}

.hero {
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 120px clamp(18px, 4vw, 56px) 44px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 21, 22, 0.82) 0%, rgba(6, 21, 22, 0.54) 44%, rgba(6, 21, 22, 0.08) 100%),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=85") center / cover;
}

.hero-inner {
  width: min(1160px, 100%);
}
.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.86);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.accent {
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 7.2rem);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 34px;
  color: rgba(255,255,255,0.86);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}

.search {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.8fr 0.75fr auto;
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255,255,255,0.38);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 16px 18px;
  background: #fff;
  color: var(--ink);
}

.field label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 750;
}

.search button,
.primary {
  border: 0;
  color: #fff;
  background: var(--brand);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.search button {
  padding: 0 26px;
  min-width: 132px;
}

.search button:hover,
.primary:hover {
  background: var(--brand-dark);
}

main {
  overflow: hidden;
}

section {
  padding: 82px clamp(18px, 4vw, 56px);
}

.section-head {
  width: min(1160px, 100%);
  margin: 0 auto 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
}

.properties {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.property {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 36px rgba(23, 32, 34, 0.08);
}

.property figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.property img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.property:hover img {
  transform: scale(1.045);
}

.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 5px;
  color: #fff;
  background: rgba(15, 107, 100, 0.92);
  font-size: 0.78rem;
  font-weight: 850;
}

.property-body {
  padding: 20px;
}

.price {
  color: var(--brand);
  font-size: 1.35rem;
  font-weight: 850;
}

.property h3 {
  margin: 8px 0 6px;
  font-size: 1.08rem;
}

.address {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.fact {
  display: grid;
  gap: 2px;
  min-width: 0;
  font-weight: 850;
}

.fact span {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 750;
  text-transform: uppercase;
}

.feature-band {
  background: #fff;
}

.feature {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.feature-media {
  min-height: 520px;
  border-radius: 8px;
  background: url("https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1600&q=85") center / cover;
  box-shadow: var(--shadow);
}

.feature h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4.4vw, 4.2rem);
  line-height: 0.98;
}

.feature p {
  color: var(--muted);
  font-size: 1.06rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0;
}

.stat strong {
  display: block;
  color: var(--rose);
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
  text-transform: uppercase;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 6px;
}

.neighborhoods {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}

.place {
  position: relative;
  min-height: 310px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: #233;
}

.place:first-child {
  grid-row: span 2;
  min-height: 638px;
}

.place img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.76));
}

.place-content {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.place h3 {
  margin: 0 0 4px;
  font-size: 1.45rem;
}

.place p {
  margin: 0;
  color: rgba(255,255,255,0.82);
}

.agents-band {
  background: #102b2d;
  color: #fff;
}

.agents-band .section-head p {
  color: rgba(255,255,255,0.68);
}

.agents {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.agent {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
}

.agent img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.agent div {
  padding: 18px;
}

.agent h3 {
  margin: 0;
}

.agent p {
  margin: 5px 0 0;
  color: rgba(255,255,255,0.66);
}

.contact {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.contact h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
}

.contact p {
  color: var(--muted);
  font-size: 1.06rem;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: var(--ink);
  font-weight: 750;
}

form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(23, 32, 34, 0.08);
}

form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

form input,
form select,
form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 12px;
  color: var(--ink);
  background: #fbfdfd;
  font: inherit;
  font-size: 0.98rem;
  outline-color: var(--brand);
}

.full {
  grid-column: 1 / -1;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

form button {
  min-height: 50px;
}

.form-note {
  min-height: 1.4em;
  margin: -2px 0 0;
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 750;
}

footer {
  padding: 26px clamp(18px, 4vw, 56px);
  color: rgba(255,255,255,0.74);
  background: #0b1c1e;
}

.footer-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .links {
    display: none;
  }

  .search,
  .feature,
  .contact {
    grid-template-columns: 1fr;
  }

  .search button {
    min-height: 56px;
  }

  .properties,
  .agents {
    grid-template-columns: 1fr 1fr;
  }

  .neighborhoods {
    grid-template-columns: 1fr 1fr;
  }

  .place:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 360px;
  }

  .feature-media {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 14px 18px;
  }

  .nav .call {
    display: none;
  }

  .hero {
    min-height: 96vh;
    padding-top: 100px;
  }

  .search {
    border-radius: 8px;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .properties,
  .agents,
  .neighborhoods,
  .contact,
  form,
  .stats {
    grid-template-columns: 1fr;
  }

  .place,
  .place:first-child {
    min-height: 290px;
  }

  section {
    padding: 58px 18px;
  }
}
