:root {
  --green: #487153;
  --green-dark: #1e3323;
  --green-soft: #e7f0e7;
  --cream: #f4f8f4;
  --white: #ffffff;
  --muted: #647468;
  --border: #d7e6d9;
  --shadow: 0 18px 45px rgba(30, 51, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--green-dark);
  font-family: "Prompt", "Plus Jakarta Sans", sans-serif;
  font-weight: 300;
}

button,
a {
  font: inherit;
}

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

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

.material-symbols-rounded {
  font-variation-settings: "FILL" 0, "wght" 450, "GRAD" 0, "opsz" 24;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(30, 51, 35, 0.12);
  backdrop-filter: blur(14px);
}

.brand,
.header-actions,
.contact-link,
.fact,
.specs span,
.contact-actions a {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 10px;
}

.brand-mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  background: var(--green);
  color: var(--white);
  font-size: 25px;
}

.brand-copy {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}

.brand-copy strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.brand-copy small {
  margin-top: 2px;
  color: var(--green);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.header-actions {
  gap: 7px;
}

.contact-link {
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: var(--green);
  color: var(--white);
}

.contact-link span:last-child {
  display: none;
}

.menu-button,
.modal-close {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 15px;
  background: var(--green-soft);
  color: var(--green-dark);
  cursor: pointer;
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  width: min(230px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-menu.open {
  display: grid;
}

.mobile-menu a {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 400;
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: var(--green-dark);
}

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

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

.hero-shade {
  background: rgba(18, 38, 26, 0.35);
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: 50%;
  right: auto;
  width: min(850px, calc(100% - 28px));
  bottom: 112px;
  padding-inline: 14px;
  color: var(--white);
  text-align: center;
  text-shadow: 0 2px 18px rgba(10, 24, 15, 0.32);
  transform: translateX(-50%);
}

.eyebrow {
  margin: 0 0 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.hero h1 {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  font-size: clamp(28px, 8vw, 52px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero h1 span {
  font-size: 0.72em;
}

.hero-description {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.7;
}

.quick-facts {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: calc(100% - 28px);
  max-width: 850px;
  margin: -82px auto 0;
  padding: 20px 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.fact {
  justify-content: center;
  gap: 7px;
  min-width: 0;
  padding: 0 5px;
  border-right: 1px solid var(--border);
}

.fact:nth-child(3) {
  border-right: 0;
}

.fact > span {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 20px;
}

.fact p {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
}

.primary-button {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  margin-top: 16px;
  border-radius: 18px;
  background: var(--green);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 10px 24px rgba(72, 113, 83, 0.23);
}

.models-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 74px 16px 72px;
}

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

.eyebrow.green {
  color: var(--green);
}

.section-heading h2,
.contact-section h2,
.modal-panel h2 {
  margin: 0;
  font-size: clamp(30px, 8vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-heading > p:last-child {
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.models-grid {
  display: grid;
  gap: 24px;
}

.model-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.model-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--green-soft);
}

.model-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.model-label {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.sale-status-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 11px 18px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 22px rgba(20, 34, 24, 0.28);
}

.sale-status-available {
  background: #487153;
}

.sale-status-reserved {
  background: #b7791f;
}

.sale-status-sold {
  background: #c62828;
  box-shadow: 0 9px 24px rgba(198, 40, 40, 0.36);
}

.model-footer {
  padding: 16px;
}

.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 15px;
}

.specs span {
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding: 0 6px;
  border-right: 1px solid var(--border);
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
}

.specs span:last-child {
  border-right: 0;
}

.specs i {
  color: var(--green);
  font-size: 19px;
}

.detail-button {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--green);
  border-radius: 15px;
  background: var(--white);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.detail-button:hover,
.detail-button:focus-visible {
  background: var(--green);
  color: var(--white);
}

.detail-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-project {
  padding: 50px 20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  color: var(--muted);
  text-align: center;
}

.house-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.house-back,
.house-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
}

.house-contact {
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
}

.house-page {
  min-height: 100vh;
}

.house-intro,
.house-gallery-section,
.house-information {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.house-intro {
  padding: 52px 0 28px;
}

.house-intro h1 {
  margin: 0;
  font-size: clamp(38px, 10vw, 68px);
  font-weight: 500;
  line-height: 1.1;
}

.house-sale-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 16px;
  padding: 11px 20px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 22px rgba(20, 34, 24, 0.2);
}

.house-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 660px;
  margin-top: 26px;
  padding: 16px 0;
  border-block: 1px solid var(--border);
}

.house-specs span {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 0 8px;
  border-right: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
}

.house-specs span:last-child {
  border-right: 0;
}

.house-specs i {
  color: var(--green);
  font-size: 24px;
}

.house-specs strong {
  color: var(--green-dark);
  font-size: 18px;
}

.house-gallery-section {
  display: block;
  width: min(1120px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.house-gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding: 0;
}

.house-gallery-heading h2 {
  margin: 0;
  font-size: clamp(25px, 6vw, 38px);
  font-weight: 500;
  line-height: 1.25;
}

.house-gallery-heading span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
}

.house-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery-image {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 17px;
  background: var(--green-soft);
  cursor: pointer;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-main {
  grid-column: 1 / -1;
}

.gallery-main img {
  aspect-ratio: 16 / 10;
}

.house-information {
  display: grid;
  gap: 30px;
  padding: 52px 0 72px;
}

.house-information h2 {
  margin: 0;
  font-size: clamp(28px, 7vw, 42px);
  font-weight: 500;
}

.house-description {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.house-measurements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0;
}

.house-measurements div {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--white);
}

.house-measurements dt {
  color: var(--muted);
  font-size: 12px;
}

.house-measurements dd {
  margin: 7px 0 0;
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 600;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(12, 27, 18, 0.92);
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 36px);
  border-radius: 16px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  z-index: 1;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-dark);
  cursor: pointer;
}

.contact-section {
  padding: 64px 22px 88px;
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
}

.contact-section > p:not(.eyebrow) {
  max-width: 520px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

.contact-actions {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin: 26px auto 0;
}

.contact-actions a {
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 500;
}

.model-modal[hidden] {
  display: none;
}

.model-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: end center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 31, 20, 0.62);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  padding: 30px 24px 24px;
  border-radius: 28px 28px 0 0;
  background: var(--white);
  box-shadow: 0 -18px 50px rgba(17, 39, 25, 0.18);
}

.modal-panel > p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.modal-contact {
  margin-top: 22px;
}

body.modal-open {
  overflow: hidden;
}

@media (min-width: 720px) {
  .site-header {
    position: fixed;
    top: 24px;
    left: 50%;
    right: auto;
    width: min(1100px, calc(100% - 48px));
    padding-inline: 18px;
    transform: translateX(-50%);
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .contact-link {
    width: auto;
    padding: 0 18px;
    gap: 8px;
  }

  .contact-link span:last-child {
    display: inline;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    bottom: 150px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .quick-facts {
    margin-top: -96px;
    padding: 26px 28px 22px;
  }

  .fact p {
    font-size: 13px;
  }

  .primary-button {
    width: min(420px, 100%);
    margin-inline: auto;
  }

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

  .specs span {
    font-size: 12px;
  }

  .contact-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .model-modal {
    place-items: center;
  }

  .house-information {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: start;
  }

  .house-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-main {
    grid-column: span 3;
    grid-row: span 2;
  }

  .modal-panel {
    border-radius: 28px;
  }
}

@media (max-width: 380px) {
  .site-header {
    left: 12px;
    right: 12px;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .fact {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .fact p {
    font-size: 9px;
  }

  .specs span {
    display: grid;
    justify-items: center;
    font-size: 9px;
  }
}
