/* ============================================================
   Luna's Properties — lunasproperties.com
   Palette: warm cream / near-black / antique gold
   ============================================================ */

:root {
  --cream: #faf8f4;
  --sand: #f1ece3;
  --ink: #17181a;
  --ink-soft: #4b4d52;
  --gold: #b0894a;
  --gold-dark: #96713a;
  --white: #ffffff;
  --line: #e4ddd0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(23, 24, 26, .08);
  --shadow-lg: 0 22px 60px rgba(23, 24, 26, .16);
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container { width: min(1160px, 92%); margin: 0 auto; }

h1, h2, h3, .serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: .01em; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}

.section { padding: 88px 0; }
.section.alt { background: var(--sand); }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.2; margin-bottom: .8rem; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .78rem 1.5rem;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
}
.btn-solid { background: var(--ink); color: var(--white); }
.btn-solid:hover { background: var(--gold-dark); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.75); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.btn-sm { padding: .55rem 1.15rem; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand-logo { height: 52px; width: auto; }
/* Logo art is white-on-transparent; render it black on light backgrounds */
.site-header .brand-logo { filter: brightness(0); }
.site-footer .brand-logo { height: 60px; }

.main-nav { display: flex; gap: 1.8rem; margin-left: auto; }
.main-nav a {
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); border-bottom-color: var(--gold); }

.header-cta { display: flex; gap: .7rem; align-items: center; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform .25s ease, opacity .25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(92vh - var(--header-h));
  display: flex;
  align-items: center;
  color: var(--white);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-img) center 62% / cover no-repeat;
  filter: saturate(1.12) contrast(1.04) brightness(1.02);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 16, 18, .72) 0%, rgba(15, 16, 18, .35) 55%, rgba(15, 16, 18, .15) 100%);
  z-index: -1;
}
/* Variant: photo's focal point (e.g. property sign) on the left — text moves right */
.hero.hero-right::before { background-position: left 38%; }
.hero.hero-right::after {
  background: linear-gradient(260deg, rgba(15, 16, 18, .74) 0%, rgba(15, 16, 18, .38) 55%, rgba(15, 16, 18, .1) 100%);
}
.hero.hero-right .hero-content { margin-left: auto; }
.hero-content { max-width: 640px; padding: 90px 0; }
.hero .eyebrow { color: #d9bc84; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); line-height: 1.12; margin-bottom: 1.2rem; }
.hero p { font-size: 1.12rem; color: rgba(255,255,255,.88); margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ---------- Property selector / cards ---------- */
.property-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }

.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.property-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.property-card .card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.property-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.property-card:hover .card-media img { transform: scale(1.05); }
.card-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(23,24,26,.82);
  color: var(--white);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: 999px;
}
.card-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.card-body h3 { font-size: 1.45rem; }
.card-loc { color: var(--ink-soft); font-size: .92rem; display: flex; align-items: center; gap: .4rem; }
.card-specs { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: .88rem; color: var(--ink-soft); }
.card-specs span strong { color: var(--ink); }
.card-actions { margin-top: auto; display: flex; gap: .7rem; flex-wrap: wrap; padding-top: .5rem; }

.property-card.placeholder {
  border: 2px dashed var(--line);
  background: transparent;
  box-shadow: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  color: var(--ink-soft);
  min-height: 340px;
}
.property-card.placeholder:hover { transform: none; box-shadow: none; }
.property-card.placeholder .moon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--sand);
  border: 1px solid var(--line);
  margin: 0 auto 1.1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.property-card.placeholder h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: .4rem; }

/* ---------- Google reviews carousel ---------- */
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.6rem;
  margin-bottom: 1.8rem;
  box-shadow: var(--shadow);
}
.rs-score {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold-dark);
}
.rs-meta p { font-size: .9rem; color: var(--ink-soft); margin-top: .25rem; }
.reviews-summary .btn { margin-left: auto; }

.stars { display: inline-flex; gap: 2px; }
.stars .star { width: 17px; height: 17px; fill: var(--gold); }
.stars .star-empty { fill: #d9d2c4; }

.reviews-carousel { position: relative; }
.reviews-track {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  /* No scroll-snap or smooth behavior: the marquee sets scrollLeft each frame */
  scroll-behavior: auto;
  padding: 4px 4px 1.2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 calc((100% - 2.8rem) / 3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.review-head { display: flex; align-items: center; gap: .75rem; }
.google-g { width: 19px; height: 19px; margin-left: auto; flex-shrink: 0; }
.review-text { font-size: .93rem; color: var(--ink-soft); line-height: 1.6; }
.review-date {
  margin-top: auto;
  padding-top: .3rem;
  font-size: .8rem;
  color: var(--ink-soft);
  opacity: .8;
}

.rev-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 2;
  transition: background .2s ease, opacity .2s ease;
}
.rev-nav:hover:not(:disabled) { background: var(--gold); color: var(--white); border-color: var(--gold); }
.rev-nav:disabled { opacity: .3; cursor: default; }
.rev-nav.prev { left: -18px; }
.rev-nav.next { right: -18px; }

.reviews-dots { display: flex; justify-content: center; gap: .45rem; margin-top: .3rem; }
.rev-dot {
  width: 8px; height: 8px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: #d9d2c4;
  cursor: pointer;
  transition: background .2s ease, width .2s ease;
}
.rev-dot.active { background: var(--gold); width: 22px; border-radius: 4px; }

@media (max-width: 980px) {
  .review-card { flex-basis: calc((100% - 1.4rem) / 2); }
  .rev-nav.prev { left: -6px; }
  .rev-nav.next { right: -6px; }
}
@media (max-width: 660px) {
  .review-card { flex-basis: 100%; }
  .reviews-summary .btn { margin-left: 0; }
  .rev-nav { display: none; }
}

/* ---------- Property map + legend ---------- */
.map-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--white);
}
.property-map {
  min-height: 440px;
  background: var(--sand);
  position: relative;
  z-index: 0; /* keep Leaflet panes under the sticky header */
}
.map-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--ink-soft);
}
.map-fallback a { color: var(--gold-dark); text-decoration: underline; }
.map-legend {
  padding: 1.9rem 1.7rem;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.map-legend h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  padding-bottom: .8rem;
  border-bottom: 2px solid var(--gold);
}
.map-legend ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.legend-item {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.legend-item:hover { background: var(--cream); border-color: var(--gold); }
.legend-pin {
  width: 14px; height: 14px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin-top: 4px;
  flex-shrink: 0;
  border: 2px solid rgba(23,24,26,.25);
}
.legend-item h4 { font-size: .98rem; font-weight: 600; }
.legend-item p { font-size: .84rem; color: var(--ink-soft); line-height: 1.45; }
.legend-item .legend-links { margin-top: .35rem; display: flex; gap: .9rem; font-size: .82rem; }
.legend-item .legend-links a { color: var(--gold-dark); font-weight: 600; }
.legend-item .legend-links a:hover { text-decoration: underline; }
.legend-note {
  margin-top: auto;
  padding-top: 1.2rem;
  font-size: .82rem;
  color: var(--ink-soft);
  font-style: italic;
}
.luna-map-pin {
  width: 30px; height: 30px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2.5px solid var(--white);
  box-shadow: 0 3px 10px rgba(23,24,26,.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.luna-map-pin::after {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--white);
}
.leaflet-popup-content { font-family: var(--font-sans); }
.leaflet-popup-content h4 { font-family: var(--font-serif); font-size: 1.05rem; margin-bottom: .2rem; }
.leaflet-popup-content .popup-links { margin-top: .5rem; display: flex; gap: .8rem; }
.leaflet-popup-content .popup-links a { color: var(--gold-dark); font-weight: 600; }

/* ---------- Feature strip ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
}
.feature .icon { font-size: 1.5rem; margin-bottom: .8rem; }
.feature h3 { font-size: 1.1rem; margin-bottom: .35rem; font-family: var(--font-sans); font-weight: 600; }
.feature p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Property page ---------- */
.prop-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
}
.prop-hero::before {
  content: "";
  position: absolute; inset: 0;
  /* Framing defaults to center 60%; a page can override with --hero-pos
     when its photo needs a different crop (see luna-bay-townhomes.html). */
  background: var(--hero-img) var(--hero-pos, center 60%) / cover no-repeat;
  z-index: -2;
}
.prop-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,16,18,.1) 30%, rgba(15,16,18,.78) 100%);
  z-index: -1;
}
.prop-hero-content { padding: 70px 0 46px; width: 100%; }
.prop-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: .5rem; }
.prop-hero .address { color: rgba(255,255,255,.85); font-size: 1.02rem; display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }

.prop-statbar { background: var(--ink); color: var(--white); }
.prop-statbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0 3rem;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  align-items: center;
}
.stat { padding: .4rem 0; }
.stat .label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.stat .value { font-size: 1.02rem; font-weight: 600; }
.prop-statbar .btn { margin-left: auto; }

/* Floor plans */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 2rem; }
.plan-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.plan-media {
  background: var(--white);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  border-bottom: 1px solid var(--line);
  cursor: zoom-in;
}
.plan-media img { max-height: 100%; object-fit: contain; }
.plan-media.coming-soon {
  background: var(--sand);
  flex-direction: column;
  gap: .6rem;
  color: var(--ink-soft);
  cursor: default;
  font-size: .95rem;
}
.plan-media.coming-soon .big { font-size: 2rem; }
.plan-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.plan-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.plan-body h3 { font-size: 1.35rem; }
.plan-price { color: var(--gold-dark); font-weight: 700; font-size: 1rem; }
.plan-specs {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.plan-specs div {
  flex: 1;
  text-align: center;
  padding: .7rem .4rem;
  font-size: .85rem;
  color: var(--ink-soft);
}
.plan-specs div + div { border-left: 1px solid var(--line); }
.plan-specs strong { display: block; color: var(--ink); font-size: 1.05rem; }
.plan-feats { list-style: none; display: flex; flex-direction: column; gap: .45rem; font-size: .92rem; color: var(--ink-soft); }
.plan-feats li { padding-left: 1.4rem; position: relative; }
.plan-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.plan-body .card-actions { margin-top: auto; }

/* Amenities */
.amenity-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.4rem; }
.amenity-col h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--gold);
}
.amenity-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; color: var(--ink-soft); font-size: .96rem; }
.amenity-col li { padding-left: 1.5rem; position: relative; }
.amenity-col li::before { content: "•"; position: absolute; left: .3rem; color: var(--gold); font-weight: 700; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 12px;
}
.gallery-grid a {
  border-radius: 10px;
  overflow: hidden;
  display: block;
  position: relative;
}
.gallery-grid a img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid a:nth-child(1) { grid-column: span 2; grid-row: span 2; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12,12,14,.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 4vh 4vw;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  background: var(--white);
}
.lightbox .lb-close {
  position: absolute;
  top: 18px; right: 24px;
  color: #fff;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
}

/* Prev / next arrows for paging through a set of photos */
.lightbox .lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(20, 20, 22, .55);
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
  transition: background .2s ease, border-color .2s ease;
}
.lightbox .lb-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.lightbox .lb-prev { left: 20px; }
.lightbox .lb-next { right: 20px; }

/* "3 / 13" position indicator */
.lightbox .lb-count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(20, 20, 22, .6);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: .85rem;
  letter-spacing: .06em;
  z-index: 2;
}

@media (max-width: 640px) {
  .lightbox { padding: 4vh 2vw; }
  .lightbox .lb-nav {
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
  }
  .lightbox .lb-prev { left: 8px; }
  .lightbox .lb-next { right: 8px; }
}

/* CTA band */
.cta-band { background: var(--ink); color: var(--white); text-align: center; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .8rem; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 520px; margin: 0 auto 2rem; }
.cta-band .hero-actions { justify-content: center; }

/* "Before you apply" block under the CTA buttons — centered, links stacked */
.cta-docs {
  margin-top: 3.4rem;
  text-align: center;
  font-size: .9rem;
  color: rgba(255, 255, 255, .62);
}
.cta-docs p { margin-bottom: .85rem; }
.cta-docs a {
  display: block;
  margin: 0 auto .5rem;
  width: fit-content;
  color: var(--gold-light, #d9bc84);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.cta-docs a:last-child { margin-bottom: 0; }
.cta-docs a:hover { color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  text-align: center;
}
.contact-card .icon { font-size: 1.6rem; margin-bottom: .7rem; }
.contact-card h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1rem; margin-bottom: .3rem; }
.contact-card a, .contact-card p { color: var(--ink-soft); font-size: .95rem; }
.contact-card a:hover { color: var(--gold-dark); }

/* ---------- Contact page ---------- */
.page-title {
  background: var(--sand);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-title h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .7rem; }
.page-title p { color: var(--ink-soft); max-width: 560px; }

.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2.4rem;
  align-items: start;
}
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem 2.2rem 2.4rem;
}
.contact-form-card h2 { font-size: 1.6rem; margin-bottom: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label {
  display: block;
  font-size: .86rem;
  font-weight: 600;
  margin-bottom: .4rem;
}
.form-field .req { color: var(--gold-dark); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .78rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color .2s ease, background .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-status { margin-top: .9rem; font-size: .9rem; color: var(--gold-dark); }
.form-status.error { color: #b03030; }
.form-status.success { color: #2e7d4f; font-weight: 600; }
/* Honeypot — hidden from people, visible to bots */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.contact-side { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
}
.contact-side-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
  padding-bottom: .7rem;
  border-bottom: 2px solid var(--gold);
}
.contact-lines { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-lines li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-lines .ci { font-size: 1.15rem; margin-top: .1rem; }
.contact-lines strong { display: block; font-size: .85rem; margin-bottom: .15rem; }
.contact-lines a, .contact-lines span:not(.ci) { color: var(--ink-soft); font-size: .93rem; }
.contact-lines a:hover { color: var(--gold-dark); }
.resident-hint p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1rem; }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: #101113; color: rgba(255,255,255,.65); padding: 56px 0 32px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.site-footer .brand-name { color: var(--white); }
.site-footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .site-header.menu-open .main-nav {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: .6rem 4%;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-header.menu-open .main-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .map-wrap { grid-template-columns: 1fr; }
  .map-legend { border-left: none; border-top: 1px solid var(--line); }
  .property-map { min-height: 340px; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  /* Logo + portal button + menu toggle must all fit a phone width */
  .header-inner { gap: .8rem; }
  .header-cta .btn { padding: .5rem .85rem; font-size: .78rem; }
  .brand-logo { height: 34px; }
  .prop-statbar .btn { margin-left: 0; }
  .gallery-grid a:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}
