:root {
  --ink: #172126;
  --muted: #62717a;
  --line: #dfe7e5;
  --paper: #ffffff;
  --soft: #f4f8f6;
  --brand: #1f7a63;
  --brand-dark: #12513f;
  --accent: #d58b36;
  --sky: #dcecef;
  --shadow: 0 20px 50px rgba(21, 35, 39, 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(--soft);
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 231, 229, 0.9);
  backdrop-filter: blur(16px);
}

.logo,
.main-nav,
.quick-actions,
.search-tabs,
.search-grid,
.property-grid,
.steps,
.site-footer {
  display: flex;
}

.logo {
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
}

.main-nav {
  gap: 28px;
  color: var(--muted);
  font-weight: 650;
}

.main-nav a:hover {
  color: var(--brand-dark);
}

.header-action,
.primary-link,
.secondary-link,
.search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.header-action,
.search-button,
.primary-link {
  color: #fff;
  background: var(--brand);
}

.header-action:hover,
.search-button:hover,
.primary-link:hover {
  background: var(--brand-dark);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1d302f;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 27, 28, 0.82) 0%, rgba(11, 27, 28, 0.55) 42%, rgba(11, 27, 28, 0.1) 100%),
    linear-gradient(0deg, rgba(11, 27, 28, 0.35), rgba(11, 27, 28, 0.08));
}

.hero-content {
  position: relative;
  width: min(1180px, 88vw);
  margin: 0 auto 72px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 590px;
  margin: 22px 0 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

.search-panel {
  width: min(1060px, 100%);
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-tabs {
  gap: 8px;
  margin-bottom: 16px;
}

.tab-button {
  min-height: 40px;
  padding: 0 18px;
  color: var(--muted);
  background: #eef4f2;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.tab-button.active {
  color: #fff;
  background: var(--brand-dark);
}

.search-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 12px;
}

.search-grid label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.search-grid input,
.search-grid select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-button {
  align-self: end;
  min-height: 50px;
}

.quick-actions {
  width: min(1180px, 88vw);
  margin: -34px auto 0;
  position: relative;
  z-index: 5;
  gap: 14px;
}

.quick-actions a {
  flex: 1;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(23, 33, 38, 0.08);
}

.quick-actions strong,
.quick-actions span {
  display: block;
}

.quick-actions strong {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.quick-actions span,
.property-info > p,
.seller-band p,
.steps p,
.contact-section p,
.site-footer {
  color: var(--muted);
}

.section {
  width: min(1180px, 88vw);
  margin: 92px auto;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2,
.seller-band h2,
.contact-section h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.property-grid,
.steps {
  gap: 22px;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 380px));
  justify-content: start;
  align-items: stretch;
}

.property-card,
.steps article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(23, 33, 38, 0.07);
}

.property-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
}

.property-card-link {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.property-card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(23, 33, 38, 0.12);
}

.property-photo {
  position: relative;
  height: 260px;
  min-height: 0;
  background-color: #eef4f0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.photo-1 {
  background:
    linear-gradient(135deg, rgba(31, 122, 99, 0.2), rgba(213, 139, 54, 0.12)),
    url("../images/hero-home.png") center/cover;
}

.photo-2 {
  background:
    linear-gradient(135deg, rgba(18, 81, 63, 0.7), rgba(80, 125, 136, 0.38)),
    url("../images/hero-home.png") right center/cover;
}

.photo-3 {
  background:
    linear-gradient(135deg, rgba(28, 63, 74, 0.62), rgba(213, 139, 54, 0.28)),
    url("../images/hero-home.png") center bottom/cover;
}

.favorite-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  border: 0;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}

.favorite-button.saved {
  color: #fff;
  background: var(--accent);
}

.property-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.property-price {
  margin: 0 0 4px;
  color: var(--brand-dark);
  font-size: 1.28rem;
  font-weight: 900;
}

.property-info h3 {
  margin: 0;
  font-size: 1.14rem;
}

.property-info > p {
  margin: 6px 0 18px;
}

.property-info dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.property-info dt {
  color: var(--muted);
  font-size: 0.76rem;
}

.property-info dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.seller-band,
.contact-section {
  width: min(1180px, 88vw);
  margin: 92px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px;
  background: var(--brand-dark);
  border-radius: 8px;
  color: #fff;
}

.seller-band p,
.contact-section p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.primary-link {
  flex: 0 0 auto;
  background: #fff;
  color: var(--brand-dark);
}

.primary-link:hover {
  color: #fff;
}

.process-section {
  margin-top: 0;
}

.steps article {
  flex: 1;
  padding: 28px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-weight: 900;
}

.steps h3 {
  margin: 0 0 8px;
}

.steps p {
  margin: 0;
}

.contact-section {
  background: linear-gradient(135deg, #ffffff 0%, #edf6f3 100%);
  border: 1px solid var(--line);
  color: var(--ink);
}

.contact-section p {
  color: var(--muted);
}

.secondary-link {
  color: var(--brand-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, 88vw);
  margin: 0 auto;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    padding: 16px 5vw;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.93rem;
  }

  .header-action {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content {
    width: min(92vw, 680px);
    margin-bottom: 34px;
  }

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

  .quick-actions,
  .steps,
  .seller-band,
  .contact-section,
  .site-footer {
    flex-direction: column;
  }

  .quick-actions {
    margin-top: 18px;
    width: min(92vw, 680px);
  }

  .quick-actions a,
  .property-card,
  .steps article {
    width: 100%;
  }

  .property-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 340px));
    gap: 18px;
  }

  .property-photo {
    height: 230px;
  }

  .section,
  .seller-band,
  .contact-section,
  .site-footer {
    width: min(92vw, 680px);
  }

  .seller-band,
  .contact-section {
    align-items: flex-start;
    padding: 30px;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: sticky;
    gap: 10px;
    min-height: auto;
    padding: 12px 4vw;
  }

  .logo {
    font-size: 1.12rem;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.94rem;
  }

  .main-nav {
    gap: 18px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .search-panel {
    padding: 12px;
  }

  .search-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .tab-button {
    padding: 0 8px;
  }

  .quick-actions a {
    padding: 18px;
  }

  .section {
    margin: 56px auto;
  }

  .section-heading h2,
  .seller-band h2,
  .contact-section h2 {
    font-size: 2.25rem;
  }

  .property-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .property-photo {
    height: 220px;
  }

  .property-info {
    padding: 18px;
  }

  .property-info dl {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .property-info dt {
    font-size: 0.7rem;
  }

  .property-info dd {
    font-size: 0.95rem;
  }

  .seller-band,
  .contact-section {
    padding: 24px;
  }
}
.showcase-section {
  scroll-margin-top: 96px;
}

.description-text + .description-text {
  margin-top: 22px;
}

.property-unit-section .content-panel {
  border-left: 6px solid #c98b37;
}

.property-unit-section h2 {
  max-width: 900px;
}

@media (max-width: 760px) {
  .property-unit-section .content-panel {
    border-left-width: 4px;
  }
}
