:root {
  --ink: #101319;
  --muted: #5f6875;
  --green: #075fb8;
  --green-2: #043a77;
  --red: #0b4f98;
  --gold: #2f8de4;
  --soil: #0a64bd;
  --paper: #fbfdff;
  --line: #d9e4f2;
  --soft: #eef6ff;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(4, 58, 119, 0.12);
  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.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(217, 228, 242, 0.95);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 238px;
  width: 238px;
  height: 68px;
  overflow: hidden;
}

.brand img {
  width: 238px;
  max-width: none;
  height: auto;
  transform: translateY(-80px);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 2px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  border-radius: 8px;
  padding: 10px 13px;
  color: #202936;
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--soft);
  color: var(--green);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 8px;
  padding: 11px 18px;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--white);
  font-weight: 800;
}

.cta.alt {
  background: var(--white);
  color: var(--green);
}

.cta.gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.hero {
  min-height: calc(100vh - 76px);
  position: relative;
  display: grid;
  align-items: end;
  background: linear-gradient(90deg, rgba(3, 29, 61, 0.92), rgba(4, 58, 119, 0.56), rgba(4, 58, 119, 0.12)), url("../images/hero-estate.png") center/cover no-repeat;
  color: var(--white);
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #bfe0ff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5.85rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  margin: 22px 0 0;
  font-size: clamp(1.02rem, 2.1vw, 1.28rem);
  color: rgba(255, 255, 255, 0.9);
}

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

.hero-strip {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-strip div {
  min-height: 96px;
  padding: 18px;
  background: rgba(3, 29, 61, 0.76);
}

.hero-strip strong {
  display: block;
  font-size: 1.2rem;
}

.hero-strip span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.section,
.page-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-head h2,
.page-section h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  line-height: 1.05;
}

.section-head p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
}

.band {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

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

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

.service {
  padding: 24px;
}

.service .icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e2f0ff;
  color: var(--soil);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.service h3,
.listing-body h3,
.contact-panel h3 {
  margin: 0 0 8px;
  font-size: 1.16rem;
}

.service p,
.listing-body p,
.contact-panel p,
.story p,
.copy p {
  margin: 0;
  color: var(--muted);
}

.listing-card {
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(4, 58, 119, 0.08);
}

.listing-card img {
  width: 100%;
  height: 235px;
  object-fit: cover;
}

.listing-body {
  padding: 18px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 8px;
  padding: 4px 9px;
  background: var(--soft);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.price-row strong {
  color: var(--red);
  font-size: 1.05rem;
}

.text-link {
  color: var(--green);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.story {
  padding: 0;
}

.story-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
}

.story-list div {
  padding-left: 18px;
  border-left: 4px solid var(--gold);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  padding: 24px;
}

.stat strong {
  display: block;
  color: var(--green);
  font-size: 2.1rem;
  line-height: 1;
}

.stat span {
  color: var(--muted);
}

.page-hero {
  background: var(--green-2);
  color: var(--white);
}

.page-hero .inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 54px;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.1rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn {
  min-height: 42px;
  border-radius: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.contact-panel {
  padding: 24px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}

.contact-list a,
.contact-list span {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--green-2);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.footer {
  background: #101811;
  color: rgba(255, 255, 255, 0.82);
  padding: 34px 0;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer img {
  width: 150px;
  background: var(--white);
  border-radius: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.notice {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid #b9dafb;
  background: #f0f7ff;
  border-radius: 8px;
  color: #17395f;
}

@media (max-width: 850px) {
  .nav {
    min-height: 68px;
  }

  .brand img {
    width: 210px;
    transform: translateY(-70px);
  }

  .brand {
    min-width: 210px;
    width: 210px;
    height: 60px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav-links .cta {
    width: 100%;
  }

  .hero {
    min-height: 760px;
    background-position: 58% center;
  }

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

  .hero-strip,
  .grid-3,
  .split,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section-head,
  .footer-inner {
    align-items: start;
    flex-direction: column;
  }

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

@media (max-width: 520px) {
  .hero h1,
  .page-hero h1 {
    font-size: 2.45rem;
  }

  .hero-strip {
    margin-top: 42px;
  }

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