:root {
  --ink: #111820;
  --muted: #5e6873;
  --line: #dbe1e5;
  --paper: #f7f8f6;
  --white: #ffffff;
  --navy: #0d3554;
  --teal: #2f807d;
  --gold: #b98b3f;
  --coral: #d86f52;
  --shadow: 0 24px 60px rgba(17, 24, 32, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 246, 0.92);
  border-bottom: 1px solid rgba(219, 225, 229, 0.85);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 172px;
}

.brand-mark {
  font-family: "Times New Roman", Georgia, serif;
  font-size: 1.38rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #27313a;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-links a {
  padding: 10px 0;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  font-weight: 750;
  letter-spacing: 0;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--navy);
  border-color: rgba(13, 53, 84, 0.35);
}

.button.light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  font-size: 1.35rem;
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 76px);
  position: relative;
  display: grid;
  align-items: end;
  background-image:
    linear-gradient(90deg, rgba(247, 248, 246, 0.98) 0%, rgba(247, 248, 246, 0.82) 40%, rgba(247, 248, 246, 0.18) 72%),
    url("assets/miami-waterfront-hero.png");
  background-size: cover;
  background-position: center;
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  padding: 82px 0 54px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  font-family: "Times New Roman", Georgia, serif;
  font-size: clamp(4rem, 9vw, 8.3rem);
  font-weight: 500;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #3f4a54;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 840px;
  margin-top: 72px;
  background: rgba(17, 24, 32, 0.12);
  border: 1px solid rgba(17, 24, 32, 0.1);
}

.hero-stat {
  min-height: 108px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(8px);
}

.hero-stat strong {
  display: block;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.hero-stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 86px 0;
}

.section.white {
  background: var(--white);
}

.section.dark {
  background: var(--ink);
  color: var(--white);
}

.section-header {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-header h2 {
  font-family: "Times New Roman", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 500;
}

.section-header p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 16px 0 0;
}

.dark .section-header p,
.dark .text-muted {
  color: #c5cdd3;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card,
.service-card,
.neighborhood-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  min-height: 310px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card h3,
.card h3,
.neighborhood-card h3 {
  font-family: "Times New Roman", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.service-card p,
.card p,
.neighborhood-card p {
  color: var(--muted);
}

.text-link {
  color: var(--navy);
  font-weight: 800;
}

.feature-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: stretch;
}

.feature-copy {
  padding: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
}

.feature-copy h2 {
  font-family: "Times New Roman", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 500;
}

.feature-copy p {
  color: #d9e2e7;
}

.market-panel {
  min-height: 100%;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.76)),
    url("assets/miami-waterfront-hero.png");
  background-size: cover;
  background-position: right center;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.market-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.market-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #26323c;
}

.market-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 9px;
  flex: 0 0 9px;
  background: var(--gold);
}

.page-hero {
  padding: 86px 0 58px;
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.86), rgba(17, 24, 32, 0.48)),
    url("assets/miami-waterfront-hero.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
}

.page-hero p {
  max-width: 720px;
  color: #e0e7ea;
  font-size: 1.18rem;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 42px;
  align-items: start;
}

.prose {
  font-size: 1.04rem;
}

.prose h2 {
  margin-top: 40px;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 500;
}

.prose p {
  color: #48535e;
}

.prose ul {
  padding-left: 20px;
  color: #48535e;
}

.side-card {
  position: sticky;
  top: 102px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.side-card h3 {
  font-family: "Times New Roman", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.neighborhood-card {
  padding: 26px;
  min-height: 210px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
  align-items: stretch;
}

.contact-info,
.contact-form {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form label {
  display: block;
  margin-top: 16px;
  color: #303a44;
  font-size: 0.92rem;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  margin-top: 7px;
  padding: 14px 12px;
  border: 1px solid #cfd7dc;
  border-radius: 6px;
  background: #fbfcfb;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form .button {
  margin-top: 18px;
  width: 100%;
}

.hidden-field {
  display: none;
}

.site-footer {
  padding: 40px 0;
  background: #0d141b;
  color: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
}

.footer-inner p {
  max-width: 640px;
  margin: 10px 0 0;
  color: #b8c2c9;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  color: #d7dee3;
  font-size: 0.9rem;
}

@media (max-width: 940px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(17, 24, 32, 0.12);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(219, 225, 229, 0.8);
  }

  .nav-cta {
    margin-top: 12px;
  }

  .hero {
    min-height: auto;
    background-image:
      linear-gradient(180deg, rgba(247, 248, 246, 0.98) 0%, rgba(247, 248, 246, 0.9) 56%, rgba(247, 248, 246, 0.2) 100%),
      url("assets/miami-waterfront-hero.png");
    background-position: center bottom;
  }

  .hero-inner {
    padding-top: 64px;
  }

  .hero-stats,
  .grid.three,
  .grid.two,
  .feature-band,
  .content-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .nav,
  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand-mark {
    font-size: 1.03rem;
  }

  .brand-sub {
    font-size: 0.62rem;
  }

  .hero-inner {
    padding-bottom: 32px;
  }

  h1 {
    font-size: clamp(3.15rem, 17vw, 5.2rem);
  }

  .hero-copy,
  .page-hero p {
    font-size: 1.04rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .feature-copy,
  .market-panel,
  .contact-info,
  .contact-form,
  .service-card,
  .neighborhood-card,
  .side-card {
    padding: 24px;
  }
}
