:root {
  --ink: #151515;
  --muted: #6f6a63;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #e8e1d7;
  --gold: #b08a45;
  --blue: #0d47a1;
  --blue-deep: #083575;
  --olive: #56634b;
  --stone: #efe8dd;
  --shadow: 0 24px 70px rgba(25, 21, 16, .14);
  --radius: 24px;
}
* { 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; background: var(--paper); color: var(--ink); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 18px clamp(20px, 4vw, 56px); background: rgba(251,250,247,.88); border-bottom: 1px solid rgba(232,225,215,.78); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 12px; font-family: Georgia, serif; font-size: 1.1rem; letter-spacing: .03em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--blue); color: var(--blue); border-radius: 50%; }
.site-nav { display: flex; gap: 24px; align-items: center; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--blue); color: white; border: 1px solid var(--blue); font-weight: 700; letter-spacing: .02em; cursor: pointer; }
.button-secondary { background: transparent; color: var(--blue); }
.button-small { min-height: 38px; padding: 0 16px; font-size: .78rem; }
.hero { display: grid; grid-template-columns: 1fr; gap: 0; }
.hero-media { position: relative; width: 100%; min-height: clamp(420px, 72vw, 840px); max-height: 86vh; overflow: hidden; background: var(--stone); }
.hero-media img, .hero-video { width: 100%; height: 100%; min-height: inherit; object-fit: cover; display: block; }
.hero-price { position: absolute; top: clamp(18px, 3vw, 36px); right: clamp(18px, 4vw, 56px); z-index: 2; display: grid; gap: 3px; padding: 14px 18px 16px; border-radius: 18px; background: rgba(13, 71, 161, .92); color: white; box-shadow: 0 18px 50px rgba(0,0,0,.28); backdrop-filter: blur(10px); text-align: right; }
.hero-price span { text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; font-weight: 800; color: rgba(255,255,255,.78); }
.hero-price strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1; font-weight: 500; }
.hero-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(20px, 5vw, 72px) clamp(34px, 7vw, 92px); color: white; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 48%, rgba(0,0,0,.72) 100%); }
.hero-overlay .eyebrow { color: rgba(255,255,255,.86); text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.hero-overlay h1 { width: min(1180px, 100%); max-width: 1120px; text-shadow: 0 4px 26px rgba(0,0,0,.45); }
.hero-panel { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 42px 0 65px; background: var(--paper); }
.eyebrow { margin: 0 0 14px; color: var(--blue); text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 800; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; margin: 0; font-weight: 500; }
h1 { font-size: clamp(3rem, 6vw, 6.7rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.1rem, 4vw, 4.3rem); letter-spacing: -.04em; }
h3 { font-size: 1.55rem; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.35rem); color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 34px 0 0; }
.stats div { background: var(--paper); padding: 18px; }
dt { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .13em; }
dd { margin: 4px 0 0; font-weight: 800; font-size: 1.1rem; }
.section { padding: 65px clamp(20px, 5vw, 72px); }
.split { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(30px, 7vw, 96px); align-items: start; }
.rich-text { font-size: 1.12rem; color: var(--muted); }
.rich-text p:first-child { margin-top: 0; }
.feature-strip { display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--line); background: var(--panel); }
.feature-strip article { padding: clamp(26px, 4vw, 52px); border-right: 1px solid var(--line); }
.feature-strip span { color: var(--blue); font-weight: 800; letter-spacing: .12em; }
.feature-strip p { color: var(--muted); }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading p:last-child { color: var(--muted); font-size: 1.05rem; }
code { background: var(--stone); padding: 2px 6px; border-radius: 8px; }
.gallery-section { background: linear-gradient(180deg, var(--paper), #ffffff); }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.gallery-card { position: relative; display: block; overflow: hidden; border-radius: 18px; box-shadow: 0 10px 26px rgba(0,0,0,.08); background: var(--stone); }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 44%, rgba(0,0,0,.62) 100%); opacity: .92; transition: opacity .25s ease; }
.gallery-card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-card span { position: absolute; left: 18px; right: 18px; bottom: 15px; z-index: 1; color: white; font-weight: 800; letter-spacing: .03em; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card:hover::after { opacity: 1; }
.gallery-hidden { display: none; }
.details-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
.card { padding: clamp(24px, 4vw, 46px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(0,0,0,.04); }
.dark-card { background: var(--blue); color: white; }
.dark-card .eyebrow, .dark-card dt { color: rgba(255,255,255,.78); }
.dark-card li { color: #ffffff; }
.dark-card .check-list li { color: #ffffff; }
.dark-card .check-list li::before { border-color: #ffffff; background: rgba(255,255,255,.18); }
.accent-card { background: var(--olive); color: white; }
.accent-card p { color: rgba(255,255,255,.82); }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 12px; height: 12px; border: 1px solid var(--blue); border-radius: 50%; }
.two-column { grid-template-columns: repeat(2, 1fr); }
.detail-list { margin: 20px 0 0; display: grid; gap: 16px; }
.detail-list div { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.location-section { background: var(--stone); }
.contact-section { padding: 65px clamp(20px, 5vw, 72px); display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 20px; align-items: stretch; }
.contact-card, .agent-card { border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.contact-card { background: var(--panel); }
.agent-card { background: var(--blue); color: white; display: flex; flex-direction: column; gap: 12px; }
.agent-card .price { font-family: Georgia, serif; font-size: 2.4rem; margin: 12px 0; color: rgba(255,255,255,.92); }
form { display: grid; gap: 16px; margin-top: 24px; }
form .button { font-size: 1rem; min-height: 54px; padding-inline: 28px; }
label { display: grid; gap: 8px; font-weight: 700; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; font: inherit; background: #fff; }
textarea { resize: vertical; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(20px, 5vw, 72px); color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 75px; left: 16px; right: 16px; display: none; flex-direction: column; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .split, .details-grid, .contact-section { grid-template-columns: 1fr; }
  .hero-media { min-height: 460px; }
  .feature-strip { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
  .hero-price { left: 18px; right: auto; text-align: left; padding: 12px 15px 14px; }
  .feature-strip, .gallery-grid, .stats, .two-column { grid-template-columns: 1fr; }
  h1 { font-size: 3.2rem; }
  .site-footer { flex-direction: column; }
}


.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: clamp(18px, 4vw, 48px); background: rgba(10, 9, 8, .86); backdrop-filter: blur(14px); }
.lightbox.open { display: flex; }
.lightbox-content { width: min(1120px, 100%); margin: 0; color: white; }
.lightbox-content img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 18px; box-shadow: 0 28px 90px rgba(0,0,0,.45); background: rgba(255,255,255,.08); }
.lightbox-content figcaption { min-height: 1.8em; margin-top: 14px; text-align: center; color: rgba(255,255,255,.82); font-size: .95rem; }
.lightbox-close, .lightbox-nav { position: absolute; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.12); color: white; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.22); transform: scale(1.04); }
.lightbox-close { top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 999px; font-size: 2rem; line-height: 1; }
.lightbox-nav { top: 50%; width: 52px; height: 70px; border-radius: 999px; transform: translateY(-50%); font-size: 3rem; line-height: .8; }
.lightbox-nav:hover { transform: translateY(-50%) scale(1.04); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
body.lightbox-lock { overflow: hidden; }

@media (max-width: 560px) {
  .lightbox { padding: 70px 14px 24px; }
  .lightbox-nav { top: auto; bottom: 18px; transform: none; width: 48px; height: 48px; font-size: 2.2rem; }
  .lightbox-nav:hover { transform: scale(1.04); }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
  .lightbox-content img { max-height: 72vh; }
  .lightbox-content figcaption { margin-bottom: 58px; }
}

.captcha-wrap { display: grid; gap: 8px; align-items: start; }
.captcha-help { display: none; margin: 0; color: #9f1d1d; font-size: .92rem; font-weight: 700; }
.captcha-help.show { display: block; }
