:root {
  --ocean: #12384a;
  --ocean-2: #1d5269;
  --sea: #5e8c87;
  --sand: #f5f0e6;
  --sand-2: #ebe3d3;
  --gold: #d4a63f;
  --gold-ink: #7a5a12;
  --ink: #1d2a30;
  --muted: #5b6a70;
  --radius: 14px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: var(--sand); }
img { max-width: 100%; display: block; }
a { color: var(--ocean-2); }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--ocean); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
section { padding: 72px 0; }
section.wrap { padding: 72px 22px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: #f1dca6; margin: 0 0 .6em; }
.eyebrow.dark { color: var(--sea); }
.fine { font-size: .85rem; color: var(--muted); }

/* hero */
.hero { position: relative; min-height: min(88vh, 780px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ocean); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 38%; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(8,24,32,.72) 0, rgba(8,24,32,0) 130px),
  linear-gradient(90deg, rgba(8,24,32,.8) 0%, rgba(8,24,32,.5) 42%, rgba(8,24,32,0) 72%),
  linear-gradient(0deg, rgba(8,24,32,.6) 0%, rgba(8,24,32,0) 45%); }
.topbar { position: absolute; top: 0; left: 0; right: 0; max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 26px; z-index: 2; }
.brand { color: #fff; text-decoration: none; font-size: 1.1rem; font-weight: 700; white-space: nowrap; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.topnav { white-space: nowrap; }
.topnav a { color: #fff; text-decoration: none; margin-left: 22px; font-size: .95rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.topnav a:hover { text-decoration: underline; }
.topnav .pill { border: 1px solid rgba(255,255,255,.75); padding: 6px 14px; border-radius: 99px; background: rgba(8,24,32,.25); }
.hero-copy { position: relative; z-index: 2; max-width: 1120px; width: 100%; margin: 0 auto; padding: 0 26px 100px; }
.hero .eyebrow { color: #f3d98e; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.02; margin-bottom: .3em; text-shadow: 0 2px 28px rgba(0,0,0,.4); }
.h1-sub { display: block; font-size: .42em; font-weight: 600; letter-spacing: 0; color: #f3d98e; margin-top: .3em; }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.4rem); max-width: 30em; margin: 0 0 1.4em; text-wrap: balance; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* buttons */
.btn { display: inline-block; padding: 13px 24px; border-radius: 99px; font-weight: 600; text-decoration: none; border: 0; font: 600 1rem var(--sans); cursor: pointer; text-align: center; }
.btn.block { display: block; width: 100%; }
.btn-gold { background: var(--gold); color: #1f1606; }
.btn-gold:hover { background: #e0b553; }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.85); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-ocean { background: var(--ocean); color: #fff; }
.btn-ocean:hover { background: var(--ocean-2); }

/* glance */
.glance { display: grid; grid-template-columns: repeat(6, 1fr); max-width: 1120px; margin: -46px auto 0; position: relative; z-index: 3; background: #fff; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(18,56,74,.14); padding: 0; }
.tile { padding: 22px 16px; text-align: center; border-right: 1px solid var(--sand-2); }
.tile:last-child { border-right: 0; }
.tile .ic { width: 30px; height: 30px; display: block; margin: 0 auto 8px; fill: none; stroke: var(--sea); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile b { display: block; font-family: var(--sans); font-size: 1.6rem; color: var(--ocean); }
.tile span { font-size: .85rem; color: var(--muted); }

/* opportunity */
.opportunity { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.col-card, .card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 6px 24px rgba(18,56,74,.08); }
.col-card h3 { color: var(--ocean); font-size: 1.3rem; }
.checks { list-style: none; padding: 0; margin: 0 0 22px; }
.checks li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--sand-2); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 2.5px solid var(--sea); border-bottom: 2.5px solid var(--sea); transform: rotate(-45deg); }

/* map */
.map-section { background: #fff; padding-bottom: 36px; }
.map-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.seg { display: inline-flex; background: var(--sand); border-radius: 99px; padding: 4px; }
.seg button { border: 0; background: transparent; padding: 9px 18px; border-radius: 99px; font: 600 .92rem var(--sans); color: var(--ocean); cursor: pointer; }
.seg button.on { background: var(--ocean); color: #fff; }
.map-frame { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 12px; }
#leaflet { height: min(72vh, 640px); min-height: 420px; border-radius: var(--radius); overflow: hidden; background: #cfd8d6; }
.map-guard { position: absolute; inset: 0 12px; z-index: 900; border: 0; border-radius: var(--radius); background: rgba(10,30,40,.18); color: #fff; font: 600 1rem var(--sans); cursor: pointer; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 28px; }
.map-guard[hidden], .map-done[hidden] { display: none; }
.map-done { position: absolute; z-index: 900; right: 26px; bottom: 26px; }
.map-done, .map-guard span { background: var(--ocean); color: #fff; border: 0; border-radius: 99px; padding: 10px 20px; font: 600 .95rem var(--sans); }
.legend { display: flex; gap: 22px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); padding-top: 14px; }
.sw { display: inline-block; width: 26px; height: 0; vertical-align: middle; margin-right: 8px; }
.sw-lot { height: 12px; background: rgba(212,166,63,.35); border: 2px solid var(--gold); border-radius: 2px; }
.sw-walk { border-top: 3px dashed #2a9d8f; }
.sw-drive { border-top: 3px solid #e76f51; }

/* map labels */
.lbl { background: rgba(255,255,255,.95); border: 0; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.18); color: var(--ink); font: 600 12.5px/1.3 var(--sans); padding: 5px 9px; }
.lbl small { display: block; font-weight: 400; color: var(--muted); }
.lbl-lot { background: var(--gold); color: #1f1606; font-size: 13.5px; }
.lbl-city { background: var(--ocean); color: #fff; }
.lbl-city small { color: #cfe2ea; }
.leaflet-tooltip.lbl::before { display: none; }
.lbl-water, .lbl-street { background: transparent; box-shadow: none; color: #fff; font-style: italic; letter-spacing: .08em; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.lbl-street { transform-origin: center; font-style: normal; text-transform: uppercase; font-size: 11px; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--ocean); border: 3px solid #fff; box-shadow: 0 1px 6px rgba(0,0,0,.35); }
.dot.sm { width: 11px; height: 11px; background: var(--sea); }
.leaflet-container { font-family: var(--sans); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.ph { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--sand-2); aspect-ratio: 3 / 2; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ph:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(8,20,26,.88); }
.lightbox img { max-width: 96vw; max-height: 88vh; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.92); border: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ocean); }
.lb-close { top: -14px; right: -14px; }
.lb-prev { left: 10px; top: calc(50% - 22px); }
.lb-next { right: 10px; top: calc(50% - 22px); }

/* details */
.details-band { background: var(--ocean); color: #e8f0f2; }
.details-band h2 { color: #fff; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin: 26px 0 18px; }
.facts div { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #9fc0bc; }
.facts dd { margin: 4px 0 0; font-size: 1.05rem; color: #fff; }
.details-band .fine { color: #b5cbd2; }
.details-band a { color: #f1dca6; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.form label { display: block; font-size: .88rem; font-weight: 600; color: var(--ocean); margin-bottom: 14px; }
.form small { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid #d9d2c3; border-radius: 10px; font: 1rem var(--sans); color: var(--ink); background: #fffdf9; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(94,140,135,.2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts:empty { display: none; }
.ts { margin-bottom: 14px; }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #2a7d5f; }
.form-status.err { color: #b4432c; }

/* footer */
.foot { background: #0c2733; color: #c9d8dd; padding: 36px 0; }
.foot .fine { color: #8fa9b1; max-width: 70em; }

@media (max-width: 900px) {
  .glance { grid-template-columns: repeat(3, 1fr); margin: -36px 14px 0; }
  .tile:nth-child(3) { border-right: 0; }
  .tile:nth-child(-n+3) { border-bottom: 1px solid var(--sand-2); }
  .opportunity, .contact { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .topnav a:not(.pill) { display: none; }
  .hero-copy { padding-bottom: 80px; }
  .brand { font-size: 1rem; }
  .topbar { padding: 16px 18px; }
  .tile { padding: 16px 8px; }
  .tile b { font-size: 1.12rem; white-space: nowrap; }
  .tile .ic { width: 24px; height: 24px; margin-bottom: 4px; }
  .tile span { font-size: .76rem; }
  section, section.wrap { padding-top: 54px; padding-bottom: 54px; }
  .seg button { padding: 8px 12px; font-size: .85rem; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .gallery { gap: 8px; }
  .lb-close { top: 8px; right: 8px; }
}
