:root {
  --navy: #1b3a63;
  --blue: #2f6db5;
  --sky: #e8f0fa;
  --ink: #1d2430;
  --muted: #5a6677;
  --line: #d9e0ea;
  --bg: #ffffff;
  --card: #f6f8fb;
  --accent: #e07a1f;
  --radius: 14px;
  --max: 1120px;
  font-size: 17px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.small { font-size: .85rem; color: var(--muted); }
main > section, .top, .foot { padding-left: 16px; padding-right: 16px; }
main > section { max-width: var(--max); margin: 0 auto; padding-top: 56px; padding-bottom: 56px; }
main > section + section { border-top: 1px solid var(--line); }

.btn {
  display: inline-block; background: var(--blue); color: #fff; text-decoration: none;
  padding: .8em 1.3em; border-radius: 999px; font-weight: 600; border: 2px solid var(--blue);
}
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--sky); color: var(--navy); }
.btn-small { padding: .5em 1em; font-size: .9rem; }

.top {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 64px; max-width: 100%;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; }
.brand img { border-radius: 8px; }
.topnav { display: flex; gap: 18px; align-items: center; }
.topnav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.topnav a.btn { color: #fff; }
@media (max-width: 760px) { .topnav a:not(.btn) { display: none; } }

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--accent); font-weight: 700; margin-bottom: .6em; }
.price { font-size: 2rem; font-weight: 800; color: var(--navy); margin: 0 0 .5em; }
.price small { font-size: .55em; font-weight: 500; color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--sky); color: var(--navy); font-weight: 600; font-size: .85rem; padding: .35em .8em; border-radius: 999px; }
.lede { font-size: 1.1rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.2em 0 1em; }
.agent-line { color: var(--muted); font-size: .95rem; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } .hero-media img { aspect-ratio: 4 / 3; } }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid3 article { background: var(--card); border-radius: var(--radius); padding: 22px; }
.grid3 article p:last-child { margin-bottom: 0; }
@media (max-width: 820px) { .grid3 { grid-template-columns: 1fr; } }

.costs-head { max-width: 720px; margin-bottom: 28px; }
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }
.calc-inputs { background: var(--card); border-radius: var(--radius); padding: 22px; }
.field + .field { margin-top: 20px; }
.field label { font-weight: 700; color: var(--navy); display: block; margin-bottom: 6px; }
.field-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.field-row output { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; min-width: 8ch; text-align: right; }
.hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
input[type=range] { width: 100%; accent-color: var(--blue); }
.calc-results { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px; position: sticky; top: 80px; }
.calc-results .label { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; opacity: .8; margin: 0; }
.calc-results .big { font-size: 3rem; font-weight: 800; margin: 0; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-results .compare { opacity: .9; margin: .4em 0 1.2em; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 16px; }
.result-grid div { display: flex; flex-direction: column; }
.result-grid span { font-size: .78rem; opacity: .8; }
.result-grid strong { font-size: 1.1rem; font-variant-numeric: tabular-nums; }

.moneydown { margin-top: 40px; }
.moneydown table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.moneydown th, .moneydown td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.moneydown th { width: 24%; color: var(--navy); }
.moneydown td:nth-child(2) { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; width: 18%; }
.moneydown td.note { color: var(--muted); }
.moneydown tr.total th, .moneydown tr.total td { background: var(--sky); font-weight: 800; }
@media (max-width: 640px) {
  .moneydown table, .moneydown tbody, .moneydown tr, .moneydown th, .moneydown td { display: block; width: auto; }
  .moneydown tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .moneydown th, .moneydown td { border: 0; padding: 2px 0; }
}
.schemes { margin-top: 36px; background: var(--card); border-radius: var(--radius); padding: 22px; }
.schemes ul { margin: 0; padding-left: 1.2em; }
.schemes li + li { margin-top: .5em; }

.video video { width: 100%; border-radius: var(--radius); background: #000; aspect-ratio: 16 / 9; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; background: var(--card); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.03); }

.rooms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 820px) { .rooms-grid { grid-template-columns: 1fr; } }
.roomlist { margin: 0; }
.roomlist div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.roomlist dt { font-weight: 700; color: var(--navy); }
.roomlist dd { margin: 0; color: var(--muted); }
.floorplan { margin: 0; background: var(--card); border-radius: var(--radius); padding: 16px; }
.floorplan figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 8px; }

.map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); margin-top: 24px; }

.factlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; }
.factlist div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.factlist dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.factlist dd { margin: 0; }
@media (max-width: 700px) { .factlist { grid-template-columns: 1fr; } }

.viewing-card { background: var(--sky); border-radius: var(--radius); padding: 32px; text-align: center; }
.viewing-card .contact-name { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: .2em; }
.viewing-card .contact p { margin-bottom: .6em; }
.viewing-card .btn { margin: 4px; }

.foot { max-width: var(--max); margin: 0 auto; padding-top: 32px; padding-bottom: 48px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }

.lightbox { position: fixed; inset: 0; background: rgba(10,14,20,.94); z-index: 50; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 90vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #fff; margin-top: 10px; font-size: .95rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 2rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
