:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-soft: #f0ece4;
  --text: #1b2430;
  --muted: #5e6978;
  --line: rgba(16, 24, 40, 0.12);
  --navy: #0f2742;
  --navy-2: #143a62;
  --gold: #c9a85d;
  --gold-soft: #ead7aa;
  --shadow: 0 18px 38px rgba(9, 21, 36, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  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(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(246, 244, 239, 0.82);
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 8px 18px rgba(9, 21, 36, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.brand strong,
.footer-brand strong {
  display: block;
  font-size: 1rem;
}

.brand span,
.footer-brand span,
.site-footer p {
  font-size: 0.92rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero {
  background: linear-gradient(135deg, rgba(15, 39, 66, 0.98), rgba(20, 58, 98, 0.96));
  color: #fefdf9;
  padding: 4.8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero::before {
  width: 320px;
  height: 320px;
  right: -110px;
  top: -120px;
}

.hero::after {
  width: 180px;
  height: 180px;
  left: -70px;
  bottom: -60px;
}

.hero-grid,
.detail-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-grid {
  grid-template-columns: 1.02fr 0.98fr;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow-dark {
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-text {
  margin: 1.2rem 0 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: #fff7e2;
  color: var(--navy);
}

.button-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
  color: #f9f8f5;
}

.submit-button {
  width: 100%;
  border: 0;
}

.hero-visual {
  min-height: 420px;
  position: relative;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-top {
  right: 0;
  top: 0;
  width: 79%;
  height: 250px;
}

.hero-card-bottom {
  left: 0;
  top: 165px;
  width: 62%;
  height: 190px;
}

.hero-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 0.95rem 1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
}

.hero-card figcaption strong,
.hero-card figcaption span {
  display: block;
}

.hero-card figcaption span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55));
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-heading p {
  max-width: 56ch;
  color: var(--muted);
  margin: 0;
}

.property-grid,
.future-grid {
  display: grid;
  gap: 1.4rem;
}

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

.property-card,
.detail-panel,
.future-card,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(17, 27, 39, 0.06);
}

.property-card {
  overflow: hidden;
}

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

.property-body {
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.pill-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid rgba(20, 58, 98, 0.08);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.property-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-grid {
  grid-template-columns: 1.04fr 0.96fr;
}

.detail-panel {
  padding: 1.7rem;
}

.feature-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.feature-list li + li {
  margin-top: 0.45rem;
}

.feature-list.compact li + li {
  margin-top: 0.3rem;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(17, 27, 39, 0.08);
}

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

.future-card {
  padding: 1.4rem;
  border-style: dashed;
}

.future-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-form {
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(17, 27, 39, 0.14);
  background: #fff;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(201, 168, 93, 0.28);
  border-color: rgba(20, 58, 98, 0.28);
}

.hidden-field {
  display: none;
}

.site-footer {
  background: #f3efe6;
  border-top: 1px solid rgba(16, 24, 40, 0.08);
}

@media (max-width: 980px) {
  .hero-grid,
  .detail-grid,
  .contact-grid,
  .property-grid,
  .future-grid,
  .section-heading {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section-heading {
    align-items: start;
  }
}

@media (max-width: 760px) {
  .site-nav {
    gap: 0.8rem;
  }

  h1 {
    max-width: none;
  }

  .hero {
    padding-top: 3.8rem;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-card-top {
    width: 84%;
    height: 220px;
  }

  .hero-card-bottom {
    width: 68%;
    height: 170px;
    top: 150px;
  }

  .header-inner,
  .footer-inner {
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .brand img,
  .footer-brand img {
    width: 50px;
    height: 50px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .property-card img,
  .gallery-grid img {
    height: 210px;
  }
}