/* ============ Medina Valley Ranch — replica styles ============ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --cream: #f7f3ec;
  --cream-2: #efe8dc;
  --ink: #2a221c;
  --ink-soft: #574a40;
  --muted: #8a7c6e;
  --rust: #9d3b22;
  --rust-dark: #7e2f1b;
  --gold: #c08a2d;
  --line: #e3d9c9;
  --green: #4f7a3f;
  --green-bg: #e7efe1;
  --amber-bg: #f6ecd2;
  --gray-bg: #e8e3da;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', 'Segoe UI', sans-serif;
  --shadow: 0 18px 40px -18px rgba(42,34,28,.35);
  --shadow-sm: 0 8px 22px -12px rgba(42,34,28,.3);
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--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; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .72rem;
  font-weight: 600; color: var(--rust); margin-bottom: 14px;
}
.section { padding: 92px 0; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 1.5px solid transparent; transition: .2s ease;
  font-family: var(--sans);
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--rust); color: #fdf6f0; }
.btn-primary:hover { background: var(--rust-dark); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--rust); color: var(--rust); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }

/* ---------- Announcement banner ---------- */
#mvr-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 55; background: var(--rust); color: #fff;
  text-align: center; font-size: .9rem; font-weight: 600; padding: 9px 44px; letter-spacing: .01em; }
body.has-banner .site-header { top: 40px; }
body.has-banner .hero .container { padding-top: 130px; }
body.has-banner .page-head { padding-top: 182px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: .3s ease;
}
.site-header .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; }
.site-header.scrolled { background: rgba(247,243,236,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; justify-self: start; }
.brand img { height: 64px; width: auto; }
.site-header .nav-links { justify-self: center; }
.header-actions { display: flex; align-items: center; gap: 16px; justify-self: end; }
.admin-link { font-size: .82rem; font-weight: 500; letter-spacing: .02em; opacity: .7; }
.site-header.light .admin-link { color: #fff; }
.site-header.scrolled .admin-link { color: var(--ink); }
.admin-link:hover { color: var(--rust); opacity: 1; }
@media (max-width: 760px) { .header-actions .admin-link { display: none; } }
.site-header .nav-links { display: flex; gap: 26px; align-items: center; font-weight: 500; font-size: .92rem; }
.site-header.light .nav-links a, .site-header.light .menu-btn { color: #fff; }
.site-header.scrolled .nav-links a, .site-header.scrolled .menu-btn { color: var(--ink); }
.nav-links a:hover { color: var(--rust); }
.site-header.scrolled .nav-links a.active { color: var(--rust); }
.site-header.light .nav-links a.active { color: #f0c98a; }
.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-btn svg { width: 26px; height: 26px; }

.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  background: var(--cream); border-top: 1px solid var(--line); padding: 12px 24px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,20,14,.55) 0%, rgba(30,20,14,.25) 40%, rgba(30,20,14,.75) 100%); }
.hero .container { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 40px; }
.hero-logo { height: 182px; margin: 0 auto 26px; filter: drop-shadow(0 6px 20px rgba(0,0,0,.4)); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; max-width: 14ch; margin: 0 auto; text-align: center; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.hero h1 .accent { color: #f0c98a; display: block; }
.hero-sub { text-align: center; max-width: 640px; margin: 22px auto 0; font-size: 1.12rem; color: rgba(255,255,255,.92); }
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; max-width: 760px; margin: 56px auto 0; }
.hero-stats .stat { text-align: center; border-left: 1px solid rgba(255,255,255,.25); padding: 0 10px; }
.hero-stats .stat:first-child { border-left: none; }
.hero-stats .num { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: #f0c98a; }
.hero-stats .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.85); margin-top: 4px; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; opacity: .8; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,8px)} }

/* ---------- Glance ---------- */
.glance { background: var(--cream); }
.glance-big { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; max-width: 880px; margin: 0 auto 60px; }
.glance-big .item { text-align: center; }
.glance-big .n { font-family: var(--serif); font-size: 3.4rem; color: var(--rust); font-weight: 600; }
.glance-big .t { font-weight: 600; font-size: 1.05rem; margin: 4px 0 6px; }
.glance-big .d { color: var(--muted); font-size: .92rem; }
.glance-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.glance-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm); }
.glance-card .ic { width: 46px; height: 46px; margin: 0 auto 14px; color: var(--rust); }
.glance-card .v { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.glance-card .l { color: var(--muted); font-size: .88rem; }

/* ---------- Vision ---------- */
.vision { background: var(--cream-2); }
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.vision h2 { font-size: clamp(2rem,4vw,3rem); margin-bottom: 22px; }
.vision h2 .accent { color: var(--rust); display: block; }
.vision p { color: var(--ink-soft); margin-bottom: 16px; }
.vision-img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.vision-cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

/* ---------- MUD callout ---------- */
.mud-band { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--rust); border-radius: var(--radius);
  padding: 26px 32px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 48px 1fr; gap: 22px; align-items: start; }
.mud-band .ic { width: 46px; height: 46px; color: var(--rust); margin-top: 4px; }
.mud-band h3 { font-size: 1.35rem; margin-bottom: 8px; }
.mud-band p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 14px; max-width: 72ch; }
@media (max-width: 700px) { .mud-band { grid-template-columns: 1fr; } .mud-band .ic { display: none; } }

/* ---------- Why ---------- */
.why-head { text-align: center; margin-bottom: 56px; }
.why-head h2 { font-size: clamp(2rem,4vw,3rem); }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); transition: .25s; }
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-card .ic { width: 48px; height: 48px; color: var(--rust); margin-bottom: 18px; }
.why-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.why-card p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Map ---------- */
.map-sec { background: var(--cream-2); }
.map-head { text-align: center; margin-bottom: 44px; }
.map-head h2 { font-size: clamp(2rem,4vw,3rem); }
.map-head p { color: var(--muted); max-width: 620px; margin: 14px auto 0; }
.map-panel { background: #2a221c; color: #fff; border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.map-panel h3 { font-size: 1.8rem; text-align: center; }
.map-panel > p { text-align: center; color: rgba(255,255,255,.7); max-width: 560px; margin: 12px auto 30px; }
.map-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 30px; }
.map-stats .ms { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 18px; text-align: center; }
.map-stats .ms .a { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: #f0c98a; }
.map-stats .ms .b { font-size: .8rem; color: rgba(255,255,255,.7); margin-top: 4px; }
.legend { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; font-size: .85rem; }
.legend span { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.85); }
.dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.map-img { background: #fff; border-radius: 12px; overflow: hidden; }
.map-cta { text-align: center; margin-top: 30px; }
.map-cta p { color: rgba(255,255,255,.8); margin-bottom: 14px; }

/* ---------- Premium lots carousel ---------- */
.prem-head { text-align: center; margin-bottom: 50px; }
.prem-head h2 { font-size: clamp(2rem,4vw,3rem); }
.prem-head p { color: var(--muted); max-width: 660px; margin: 14px auto 0; }
.lot-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.lot-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .25s; display: flex; flex-direction: column; }
.lot-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.lot-photo { position: relative; aspect-ratio: 4/3; background: linear-gradient(135deg,#c9a05c,#8a5a2b); overflow: hidden; }
.lot-photo img { width: 100%; height: 100%; object-fit: cover; }
.lot-badge { position: absolute; top: 12px; left: 12px; background: rgba(157,59,34,.95); color: #fff; font-size: .72rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; letter-spacing: .03em; }
.lot-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.lot-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.lot-block { color: var(--muted); font-size: .85rem; margin-bottom: 16px; }
.lot-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.lot-meta .k { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.lot-meta .v { font-weight: 600; font-size: .92rem; }
.lot-actions { display: flex; gap: 10px; margin-top: auto; }
.lot-actions .btn { flex: 1; justify-content: center; }

/* ---------- Lifestyle ---------- */
.life { background: #221b15; color: #fff; }
.life-head { text-align: center; margin-bottom: 50px; }
.life-head .eyebrow { color: #f0c98a; }
.life-head h2 { font-size: clamp(2rem,4vw,3rem); }
.life-head h2 .accent { color: #f0c98a; display: block; }
.life-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.life-tile { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; }
.life-tile img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.life-tile:hover img { transform: scale(1.06); }
.life-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.8)); }
.life-cap { position: absolute; bottom: 22px; left: 22px; right: 22px; z-index: 2; }
.life-cap h3 { font-size: 1.4rem; }
.life-cap p { color: rgba(255,255,255,.85); font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; text-align: center; padding: 110px 0; overflow: hidden; }
.cta-band .bg { position: absolute; inset: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(125,47,27,.82), rgba(40,30,22,.86)); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(2.2rem,4.5vw,3.4rem); }
.cta-band p { max-width: 620px; margin: 18px auto 30px; color: rgba(255,255,255,.92); font-size: 1.08rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-call { margin-top: 26px; color: rgba(255,255,255,.85); }
.cta-call a { color: #f0c98a; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #1d1711; color: rgba(255,255,255,.75); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .logo-text { font-family: var(--serif); color: #fff; line-height: 1; }
.footer-brand .logo-text b { display: block; font-size: 1.5rem; letter-spacing: .04em; }
.footer-brand .logo-text span { font-size: .9rem; letter-spacing: .35em; color: #f0c98a; }
.footer-brand p { margin-top: 16px; font-size: .92rem; max-width: 40ch; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: .02em; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav a:hover, .footer-contact a:hover { color: #f0c98a; }
.footer-contact div { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .92rem; }
.footer-contact svg { width: 17px; height: 17px; color: #f0c98a; flex: none; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: .82rem; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: #f0c98a; }

/* ---------- Chat bubble ---------- */
.chat-btn { position: fixed; bottom: 24px; right: 24px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--rust); color: #fff; border: none; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; transition: .2s; }
.chat-btn:hover { background: var(--rust-dark); transform: scale(1.06); }
.chat-btn svg { width: 26px; height: 26px; }

/* ---------- Status badges ---------- */
.badge { font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.badge.available { background: var(--green-bg); color: var(--green); }
.badge.pending { background: var(--amber-bg); color: #9a6a16; }
.badge.sold { background: var(--gray-bg); color: #6b6358; }

/* ---------- Page header (subpages) ---------- */
.page-head { background: var(--cream-2); padding: 140px 0 60px; text-align: center; }
.page-head h1 { font-size: clamp(2.4rem,5vw,3.6rem); }
.page-head p { color: var(--ink-soft); max-width: 680px; margin: 16px auto 0; }

/* ---------- Lots page ---------- */
.lots-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; max-width: 640px; margin: 36px auto 0; }
.lots-stats .s { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-align: center; box-shadow: var(--shadow-sm); }
.lots-stats .s .n { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--rust); }
.lots-stats .s .l { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.toolbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; }
.search-box { position: relative; flex: 1; min-width: 240px; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search-box input { width: 100%; padding: 13px 16px 13px 42px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--sans); font-size: .95rem; background: #fff; }
.search-box input:focus { outline: none; border-color: var(--rust); }
.sort-wrap { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.sort-wrap select { padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--sans); background: #fff; cursor: pointer; }
.result-count { color: var(--muted); margin-bottom: 22px; font-size: .92rem; }
.lots-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }

/* ---------- Lot detail ---------- */
.detail-wrap { padding-top: 110px; }
.breadcrumb { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--rust); }
.detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: start; }
.detail-photo { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.detail-info h1 { font-size: 2.6rem; }
.detail-price { font-family: var(--serif); font-size: 2.2rem; color: var(--rust); font-weight: 600; margin: 8px 0 20px; }
.detail-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 24px 0; }
.detail-specs div { background: #fff; padding: 18px; }
.detail-specs .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.detail-specs .v { font-weight: 600; font-size: 1.05rem; margin-top: 3px; }
.detail-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.detail-desc { color: var(--ink-soft); margin: 20px 0; }

/* ---------- Lot plat location panel ---------- */
.plat-panel { margin-top: 30px; }
.plat-panel h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 6px; }
.plat-panel .sub { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.plat-view { position: relative; width: 100%; aspect-ratio: 16/10; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  background-repeat: no-repeat; background-color: #fff; }
.plat-full { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.plat-full img { width: 100%; display: block; }
.plat-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 92px; height: 92px; border: 3px solid var(--rust); border-radius: 50%;
  box-shadow: 0 0 0 9999px rgba(40,30,22,.14); pointer-events: none; }
.plat-ring::after { content: ''; position: absolute; inset: -10px; border: 1px dashed rgba(157,59,34,.6); border-radius: 50%; }
.plat-actions { margin-top: 14px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Interactive pin map ---------- */
.imap { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; }
.imap-stage { position: relative; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fbf9f5; box-shadow: var(--shadow-sm); overflow: visible; }
.imap-canvas { position: relative; width: 100%; }
.imap-canvas img { width: 100%; display: block; border-radius: var(--radius); user-select: none; -webkit-user-drag: none; }
.hot { position: absolute; width: 24px; height: 24px; transform: translate(-50%, -50%); border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.45); cursor: pointer; display: grid; place-items: center;
  font-size: 10px; font-weight: 700; color: #fff; transition: transform .1s; }
.hot.available { background: #4f7a3f; }
.hot.pending { background: #c08a2d; }
.hot.sold { background: #8a8076; }
.hot.premium { border-color: #f0c98a; box-shadow: 0 0 0 3px rgba(240,201,138,.9), 0 1px 4px rgba(0,0,0,.45); }
.hot.active { outline: 3px solid var(--rust); z-index: 6; transform: translate(-50%, -50%) scale(1.3); }
.imap-controls { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 12; }
.imap-controls button { width: 38px; height: 38px; border: none; border-radius: 9px; background: #2a221c; color: #fff;
  font-size: 19px; cursor: pointer; box-shadow: var(--shadow-sm); }
.imap-controls button:hover { background: var(--rust); }
.imap-info { position: absolute; z-index: 20; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); width: 206px; font-size: .88rem;
  display: none; pointer-events: none; }
.imap-info.show { display: block; }
.imap-info .ti { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.imap-info .bl { color: var(--muted); font-size: .82rem; margin-bottom: 8px; }
.imap-info .rowline { display: flex; justify-content: space-between; padding: 3px 0; border-top: 1px solid var(--line); font-size: .86rem; }
.imap-info .rowline b { font-weight: 600; }
.imap-info .prem { display: inline-block; margin-top: 8px; background: var(--amber-bg); color: #9a6a16; font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.imap-info .go { display: block; text-align: center; margin-top: 10px; }
.imap-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: .85rem; color: var(--ink-soft); }
.imap-legend span { display: inline-flex; align-items: center; gap: 7px; }
.imap-legend .dot { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.imap-hint { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.imap-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); max-height: 74vh; overflow: auto; }
.imap-side h4 { position: sticky; top: 0; background: #efe8dc; padding: 11px 15px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); font-family: var(--sans); }
.imap-side a { display: flex; justify-content: space-between; align-items: center; padding: 9px 15px; font-size: .9rem; border-bottom: 1px solid var(--line); cursor: pointer; }
.imap-side a:hover, .imap-side a.active { background: var(--cream-2); }
.imap-side a .tag { font-size: .68rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.imap-side a .tag.available { background: var(--green-bg); color: var(--green); }
.imap-side a .tag.pending { background: var(--amber-bg); color: #9a6a16; }
.imap-side a .tag.sold { background: var(--gray-bg); color: #6b6358; }
.imap-side a .star { color: var(--gold); margin-left: 6px; }
@media (max-width: 900px) { .imap { grid-template-columns: 1fr; } .imap-side { max-height: 320px; } }

/* ---------- Plat calibration tool ---------- */
.cal-wrap { max-width: 1300px; margin: 0 auto; padding: 24px; }
.cal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 22px; align-items: start; }
.cal-list { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; max-height: 78vh; overflow: auto; box-shadow: var(--shadow-sm); }
.cal-list .lot-btn { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: .9rem; }
.cal-list .lot-btn:hover { background: var(--cream-2); }
.cal-list .lot-btn.active { background: var(--rust); color: #fff; }
.cal-list .lot-btn.done span { color: var(--green); }
.cal-list .lot-btn.active.done span { color: #cdebbf; }
.cal-viewport { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: auto;
  height: 76vh; box-shadow: var(--shadow-sm); background: #fff; }
.cal-canvas { position: relative; width: 200%; }
.cal-canvas img { width: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.cal-zoom { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 20; }
.cal-zoom button { width: 36px; height: 36px; border: none; border-radius: 8px; background: #2a221c; color: #fff; font-size: 18px; cursor: pointer; box-shadow: var(--shadow-sm); }
.cal-zoom button:hover { background: var(--rust); }
.cal-pin { position: absolute; width: 24px; height: 24px; transform: translate(-50%,-50%);
  color: #fff; border: 2px solid #fff; border-radius: 50%;
  font-size: .66rem; font-weight: 700; display: grid; place-items: center; cursor: grab; box-shadow: 0 2px 6px rgba(0,0,0,.45); }
.cal-pin.b1 { background: #2c5fa8; }
.cal-pin.b2 { background: #9d3b22; }
.cal-pin.sel { outline: 3px solid #111; width: 30px; height: 30px; z-index: 8; }
.cal-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.contact-info .ic-row { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info .ic-row .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--rust); color: #fff; display: grid; place-items: center; flex: none; }
.contact-info .ic-row .ic svg { width: 20px; height: 20px; }
.contact-info .ic-row .t { font-weight: 600; }
.contact-info .ic-row .d { color: var(--muted); font-size: .92rem; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 38px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--sans); font-size: .95rem; background: var(--cream); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rust); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.form-success { background: var(--green-bg); color: var(--green); border: 1px solid #bcd3ab; border-radius: 12px; padding: 16px 18px; margin-bottom: 20px; font-weight: 500; display: none; }
.form-success.show { display: block; }

/* ---------- Deed restrictions ---------- */
.deed-intro { max-width: 760px; margin: 0 auto 56px; text-align: center; color: var(--ink-soft); }
.deed-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-bottom: 56px; }
.deed-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.deed-card .ic { width: 44px; height: 44px; color: var(--rust); margin-bottom: 16px; }
.deed-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.deed-card p { color: var(--ink-soft); font-size: .94rem; }
.deed-download { background: var(--amber-bg); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 50px; text-align: center; box-shadow: var(--shadow-sm); }
.deed-download h2 { font-size: 1.9rem; margin-bottom: 14px; }
.deed-download p { color: var(--ink-soft); max-width: 640px; margin: 0 auto 26px; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.gallery-filters button {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-family: var(--sans); font-weight: 500; font-size: .9rem; color: var(--ink-soft); cursor: pointer; transition: .2s;
}
.gallery-filters button:hover { border-color: var(--rust); color: var(--rust); }
.gallery-filters button.active { background: var(--rust); border-color: var(--rust); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.gallery-grid figure { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.gallery-grid figure:hover img { transform: scale(1.07); }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 14px; color: #fff;
  font-weight: 600; font-size: .95rem; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.gallery-empty { text-align: center; color: var(--muted); padding: 60px 0; }
.lightbox { position: fixed; inset: 0; background: rgba(20,14,10,.92); z-index: 100; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox .close { position: absolute; top: 22px; right: 28px; background: none; border: none; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .lot-grid, .lots-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid, .glance-grid, .map-stats, .hero-stats, .life-grid { grid-template-columns: repeat(2,1fr); }
  .vision-grid, .detail-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .glance-big { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .section { padding: 64px 0; }
  .lot-grid, .lots-grid, .why-grid, .life-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2,1fr); gap: 24px 12px; }
  .hero-stats .stat:nth-child(3) { border-left: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .detail-specs { grid-template-columns: 1fr 1fr; }
}
