/* Estate Links — styles. Colours follow the logo: black and white, with an emerald accent. */
:root {
  --ink: #0b0d0c;
  --ink-2: #1a1d1b;
  --paper: #ffffff;
  --mist: #f3f4f1;
  --line: #e3e5e0;
  --muted: #5d635f;
  --accent: #0e9f6e;      /* emerald: available plots, main buttons */
  --accent-dark: #0a7a54;
  --gold: #c9a45c;        /* small highlights */
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 20, 15, .08);
  --fg: #0b0d0c;          /* main text */
  --card: #ffffff;        /* cards, panels */
  --display: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--fg); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; color: inherit; }
section[id] { scroll-margin-top: 70px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 600; color: var(--accent); margin-bottom: .8rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
section { padding: 88px 0; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.25em; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s, background .2s, box-shadow .2s; white-space: nowrap; font-size: .95rem; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-wa { background: var(--wa); color: #06341c; }
.btn-wa:hover { box-shadow: 0 6px 18px rgba(37, 211, 102, .35); }
.btn-ghost { background: transparent; border-color: currentColor; }
.btn-light { background: #fff; color: var(--ink); }
.btn-small { padding: .55em 1em; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, color .3s; color: var(--fg); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header.on-dark { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
.site-header.on-dark.scrolled, .site-header.on-dark.menu-open { background: rgba(11,13,12,.86); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.12rem; letter-spacing: .01em; }
.logo-mark { display: inline-block; width: 51px; height: 26px; background: currentColor; -webkit-mask: url(../img/logo-roof.png) center / contain no-repeat; mask: url(../img/logo-roof.png) center / contain no-repeat; flex: none; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .93rem; font-weight: 500; opacity: .86; white-space: nowrap; }
.nav a:hover, .nav a.current { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.mode-toggle { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1.5px solid currentColor; color: inherit; border-radius: 999px; padding: .45em .85em; font-size: .85rem; font-weight: 600; opacity: .9; }
.mode-toggle[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #1d1606; opacity: 1; }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; color: inherit; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 2px; background: currentColor; transition: transform .2s; }
.menu-btn span:first-child { top: 15px; } .menu-btn span:last-child { top: 23px; }
.menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
.cur-bar { display: none; background: var(--gold); color: #1d1606; font-size: .85rem; }
.overseas .cur-bar { display: block; }
.cur-bar .wrap { display: flex; align-items: center; gap: 8px; padding: 6px 0; flex-wrap: wrap; }
.cur-bar button { border: 1px solid rgba(0,0,0,.3); background: transparent; border-radius: 999px; padding: .15em .7em; font-weight: 600; font-size: .8rem; }
.cur-bar button.active { background: #1d1606; color: var(--gold); border-color: #1d1606; }
.cur-select { border: 1px solid rgba(0,0,0,.35); background: #fff8e6; color: #1d1606; border-radius: 999px; padding: .2em .6em; font: inherit; font-weight: 600; font-size: .82rem; max-width: 70vw; }
.cur-note { opacity: .75; margin-left: auto; }

@media (max-width: 960px) {
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; background: rgba(11,13,12,.97); color: #fff; padding: 8px 20px 20px; display: none; }
  .menu-open .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.05rem; }
  .menu-btn { display: block; }
  .nav .nav-quote { display: block; color: var(--wa); font-weight: 700; }
  .header-tools .btn { display: none; }
  .mode-toggle span { display: none; }
  .mode-toggle { padding: .45em; }
  .cur-note, .cur-label { display: none; }
  .cur-bar .wrap::before { content: "Prices also in:"; font-weight: 600; }
}

/* ---------- Hero / flyover ---------- */
.fly { position: relative; background: var(--ink); color: #fff; }
.fly-map { position: sticky; top: 0; height: 100vh; height: 100svh; width: 100%; overflow: hidden; }
.fly-map #flymap { position: absolute; inset: 0; }
.fly-map::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5,8,6,.62) 0%, rgba(5,8,6,.22) 40%, rgba(5,8,6,0) 60%), linear-gradient(0deg, rgba(5,8,6,.4), rgba(5,8,6,0) 25%); }
.fly-map #flymap { background: #1b1f1c center/cover no-repeat; }
.fly-steps { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
.fly-step { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 90px 0 40px; }
.fly-step .wrap { pointer-events: auto; }
.fly-card { max-width: 520px; padding: 4px 0; }
.fly-card h1 { font-size: clamp(2.3rem, min(6vw, 8.5vh), 4.4rem); margin-bottom: .3em; }
.fly-card h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.fly-card p { font-size: 1.1rem; color: rgba(255,255,255,.86); }
.fly-photo { position: relative; display: block; width: 100%; max-width: 460px; aspect-ratio: 16/9; margin: 0 0 18px; padding: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 24px 60px rgba(0,0,0,.55); cursor: pointer; }
.fly-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.fly-photo:hover img { transform: scale(1.04); }
.fly-photo .yt-play { transform: scale(.85); }
.fly-photo-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: #fff; font-size: .85rem; font-weight: 600; text-align: left; background: linear-gradient(0deg, rgba(0,0,0,.8), transparent); }
iframe.fly-photo { cursor: auto; }
.fly-num { font-family: var(--display); color: var(--gold); font-size: 1rem; letter-spacing: .1em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.brs { display: inline-flex; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); border-radius: 999px; padding: 5px; gap: 4px; margin-top: 22px; }
.brs a, .brs button { color: #fff; text-decoration: none; padding: .7em 1.3em; border-radius: 999px; font-weight: 600; background: transparent; border: 0; }
.brs a:hover, .brs button:hover { background: rgba(255,255,255,.16); }
.brs .on { background: #fff; color: var(--ink); }
.scroll-hint { margin-top: 40px; font-size: .85rem; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 10px; }
.scroll-hint i { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.5); border-radius: 12px; position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; background: #fff; border-radius: 2px; animation: drop 1.6s infinite; }
@keyframes drop { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.overseas .fly-step { padding-top: 120px; }
.nav-quote { display: none; }
.fly-dots { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 3; }
.fly-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 1.5px solid #fff; background: transparent; opacity: .7; }
.fly-dots button.on { background: var(--gold); border-color: var(--gold); opacity: 1; transform: scale(1.3); }
.map-credit { position: absolute; right: 8px; bottom: 6px; font-size: 10px; color: rgba(255,255,255,.7); z-index: 3; }
.soc-label { color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-shadow: 0 1px 6px rgba(0,0,0,.9); background: rgba(11,13,12,.55); border: 1px solid rgba(255,255,255,.35); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.soc-label.office { background: var(--gold); color: #1d1606; text-shadow: none; border-color: var(--gold); }
@media (max-width: 700px) {
  .fly-map::after { background: linear-gradient(0deg, rgba(5,8,6,.9) 0%, rgba(5,8,6,.55) 45%, rgba(5,8,6,.15) 100%); }
  .fly-step { align-items: flex-end; padding-bottom: 70px; }
  .fly-photo { max-width: 100%; max-height: 24vh; margin-bottom: 10px; }
  .fly-card .hero-actions { margin-top: 16px; }
  .fly-card h2 { font-size: 2rem; }
  .fly-dots { right: 10px; }
}

/* ---------- Sections ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.bg-mist { background: var(--mist); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-ink .lead, .bg-ink .muted { color: rgba(255,255,255,.72); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { border-radius: var(--radius); padding: 28px; background: var(--card); border: 1px solid var(--line); text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: transform .2s, box-shadow .2s; text-align: left; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile b { font-size: 1.25rem; }
.tile span { color: var(--muted); }
.tile .arrow { margin-top: auto; color: var(--accent); font-weight: 600; }
@media (max-width: 800px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-img { position: relative; aspect-ratio: 16/10.5; background: #2a2f2c; display: block; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.05); }
.pill { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--ink); font-size: .75rem; font-weight: 700; padding: .3em .75em; border-radius: 999px; }
.pill.rent { background: var(--gold); color: #1d1606; }
.sample { position: absolute; right: 12px; top: 12px; background: rgba(11,13,12,.8); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35em .7em; border-radius: 6px; border: 1px dashed rgba(255,255,255,.6); }
.sat-tag { position: absolute; left: 12px; bottom: 10px; font-size: .7rem; color: #fff; background: rgba(0,0,0,.5); padding: .2em .6em; border-radius: 4px; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-meta { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.card h3 { font-size: 1.15rem; margin: 2px 0; }
.card h3 a { text-decoration: none; }
.card-loc { color: var(--muted); font-size: .92rem; }
.price { margin: 10px 0 14px; display: flex; flex-direction: column; }
.price-pkr { font-weight: 700; font-size: 1.2rem; }
.price-pkr .per { font-weight: 500; font-size: .85rem; color: var(--muted); margin-left: 4px; }
.price-fx { color: #8a6a22; font-weight: 600; font-size: .92rem; }
.price-fx:empty { display: none; }
.card-actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.card-actions .btn { flex: 1 1 120px; padding: .7em .9em; font-size: .9rem; }
.only-overseas { display: none !important; }
.overseas .only-overseas { display: inline-flex !important; }
.overseas .hide-overseas { display: none !important; }

/* ---------- Society cards ---------- */
.soc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.soc-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; background: #222; }
.soc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.soc-card:hover img { transform: scale(1.06); }
.soc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,0) 65%); }
.soc-card div { position: relative; z-index: 1; padding: 20px; }
.soc-card b { font-family: var(--display); font-size: 1.6rem; font-weight: 500; display: block; }
.soc-card span { font-size: .92rem; opacity: .85; }
.soc-card.main { grid-column: span 2; grid-row: span 2; min-height: 420px; }
.soc-card.main b { font-size: 2.4rem; }
.badge-main { position: absolute; top: 16px; left: 16px; z-index: 1; background: var(--gold); color: #1d1606; font-weight: 700; font-size: .75rem; padding: .3em .8em; border-radius: 999px; letter-spacing: .05em; }
@media (max-width: 900px) { .soc-grid { grid-template-columns: 1fr 1fr; } .soc-card.main { grid-column: span 2; grid-row: auto; min-height: 320px; } }
@media (max-width: 560px) { .soc-grid { grid-template-columns: 1fr; } .soc-card.main { grid-column: auto; } }
.nearby { margin-top: 26px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: .35em .9em; font-size: .88rem; }

/* ---------- Map teaser ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: center; }
.map-teaser { border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); transition: transform .6s; display: block; }
.map-teaser:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.map-teaser img { width: 100%; height: 100%; object-fit: cover; }
.map-teaser .dot { position: absolute; width: 18px; height: 18px; border-radius: 4px; background: rgba(14,159,110,.75); border: 2px solid #7ff0c4; box-shadow: 0 0 0 6px rgba(14,159,110,.25); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(14,159,110,0); } }
.ticks { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat, linear-gradient(#000,#000); -webkit-mask-composite: xor; mask-composite: exclude; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .map-teaser { transform: none; } }

/* ---------- Overseas band ---------- */
.ov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.ov { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px; background: rgba(255,255,255,.03); }
.ov b { display: block; font-size: 1.15rem; margin: 10px 0 6px; }
.ov p { margin: 0; color: rgba(255,255,255,.7); }
.ov .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(201,164,92,.16); color: var(--gold); display: grid; place-items: center; }
@media (max-width: 800px) { .ov-grid { grid-template-columns: 1fr; } }

/* ---------- Sell ---------- */
.sell-box { border-radius: 22px; padding: 46px; background: linear-gradient(135deg, #0e2a20, #0b0d0c 70%); color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.sell-box .lead { color: rgba(255,255,255,.75); }
.steps { counter-reset: s; display: grid; gap: 14px; }
.steps div { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; }
.steps div::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
@media (max-width: 800px) { .sell-box { grid-template-columns: 1fr; padding: 30px 22px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; }
.contact-line { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--mist); text-decoration: none; font-weight: 600; }
.contact-line:hover { background: #e9ece6; }
.contact-line svg { color: var(--accent-dark); }
.contact-line small { display: block; font-weight: 400; color: var(--muted); }
.office-map { border-radius: var(--radius); overflow: hidden; min-height: 320px; position: relative; display: block; }
.office-map img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.office-map .pinmark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); color: var(--gold); filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.office-map .pinmark svg { width: 44px; height: 44px; }
.office-map .cap { position: absolute; left: 14px; bottom: 14px; right: 14px; background: rgba(11,13,12,.8); color: #fff; padding: 12px 14px; border-radius: 10px; font-size: .92rem; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 60px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
.site-footer a { text-decoration: none; display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); justify-content: center; }
.footer-small { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .8rem; color: rgba(255,255,255,.5); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }

.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.wa-fab svg { width: 30px; height: 30px; }
body[data-page="map"] .wa-fab, body[data-page="map"] .site-footer { display: none; }

/* ---------- Modal (Get a quote) ---------- */
.modal { position: fixed; inset: 0; background: rgba(5,8,6,.6); backdrop-filter: blur(4px); z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-card { background: var(--card); border-radius: 20px; width: min(480px, 100%); padding: 30px 26px 26px; position: relative; max-height: 92vh; overflow: auto; animation: pop .25s ease; }
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } }
.modal-x { position: absolute; right: 14px; top: 10px; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--muted); }
.modal-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.6rem; }
.q-steps { display: flex; gap: 6px; margin-bottom: 18px; }
.q-steps span { height: 4px; flex: 1; border-radius: 4px; background: var(--line); }
.q-steps span.on { background: var(--accent); }
.q-options { display: grid; gap: 8px; }
.q-options button { text-align: left; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); font-weight: 600; }
.q-options button:hover { border-color: var(--accent); background: #f1faf6; }
.modal-card label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; margin-bottom: 12px; }
.modal-card select, .modal-card input:not([type=checkbox]) { font: inherit; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; }
.modal-card label.check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.q-note { font-size: .82rem; color: var(--muted); text-align: center; margin: 10px 0 0; }

/* ---------- YouTube ---------- */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; margin: -25px 0 0 -36px; background: #f00; border-radius: 14px; }
.yt-play::after { content: ""; position: absolute; left: 29px; top: 15px; border-left: 18px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.yt-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; text-align: left; font-weight: 600; background: linear-gradient(0deg, rgba(0,0,0,.8), transparent); }
.yt-frame { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); }

/* ---------- Page header (inner pages) ---------- */
.page-top { padding: 120px 0 40px; background: var(--mist); }
.page-top h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.filters select, .filters .seg { font: inherit; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); }
.seg { display: inline-flex; padding: 4px !important; gap: 2px; }
.seg button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; font-weight: 600; }
.seg button.on { background: var(--ink); color: #fff; }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--radius); }

/* ---------- Society page ---------- */
.soc-hero { position: relative; height: 72vh; min-height: 460px; background: var(--ink); color: #fff; overflow: hidden; }
.soc-hero #socmap { position: absolute; inset: 0; }
.soc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,8,6,.85), rgba(5,8,6,.1) 60%); pointer-events: none; }
.soc-hero .wrap { position: absolute; left: 0; right: 0; bottom: 46px; z-index: 2; pointer-events: none; }
.soc-hero .wrap * { pointer-events: auto; }
.soc-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
.soc-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; }
.soc-body h2 { font-size: 1.7rem; margin-top: 1.6em; }
.soc-body h2:first-child { margin-top: 0; }
.soc-body ul { padding-left: 1.1em; }
.soc-body li { margin-bottom: .4em; }
.aside { position: sticky; top: 90px; align-self: start; display: grid; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.note { background: #fff8e8; border: 1px solid #f0dfb4; border-radius: 12px; padding: 16px 18px; }
.sources { font-size: .88rem; color: var(--muted); }
.sources a { color: var(--accent-dark); }
@media (max-width: 900px) { .soc-body { grid-template-columns: 1fr; } .aside { position: static; } }

/* ---------- Listing page ---------- */
.gallery { display: grid; gap: 10px; grid-template-columns: 2fr 1fr; grid-auto-rows: 220px; border-radius: 18px; overflow: hidden; }
.gallery > :first-child { grid-row: span 2; }
.gallery img, .gallery .g-map { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-map { position: relative; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; } .gallery > :first-child { grid-row: auto; } }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 24px 0; }
.facts div { background: var(--mist); border-radius: 12px; padding: 14px; }
.facts small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.facts b { font-size: 1.05rem; }
.sample-banner { background: var(--ink); color: #fff; border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; font-size: .95rem; }

/* ---------- Plot map page ---------- */
body[data-page="map"] { overflow: hidden; }
.pm { position: fixed; inset: 68px 0 0 0; display: grid; grid-template-columns: 380px 1fr; }
.overseas .pm { top: 104px; }
.pm-side { background: var(--card); overflow: auto; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.pm-head { padding: 20px 20px 12px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--card); z-index: 2; }
.pm-head h1 { font-size: 1.6rem; margin: 0 0 6px; }
.pm-head select { width: 100%; font: inherit; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); margin-top: 8px; }
.legend { display: flex; gap: 14px; font-size: .82rem; color: var(--muted); margin-top: 10px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.pm-list { padding: 8px; display: grid; gap: 6px; }
.pm-item { display: flex; gap: 12px; padding: 10px; border-radius: 12px; border: 1.5px solid transparent; background: none; text-align: left; width: 100%; }
.pm-item:hover, .pm-item.on { background: var(--mist); border-color: var(--line); }
.pm-item img { width: 76px; height: 60px; border-radius: 8px; object-fit: cover; flex: none; background: #333; }
.pm-item b { display: block; font-size: .95rem; }
.pm-item small { color: var(--muted); display: block; }
.pm-item .price-pkr { font-size: .95rem; }
.pm-item .price-fx { font-size: .8rem; }
#plotmap { position: relative; }
.pm-toggle { display: none; }
.maplibregl-popup-content { border-radius: 14px !important; padding: 16px 16px 14px !important; font-family: var(--sans); min-width: 230px; box-shadow: var(--shadow) !important; }
.pop h4 { margin: 0 0 2px; font-size: 1.05rem; }
.pop .muted { font-size: .85rem; }
.pop .price { margin: 8px 0 10px; }
.pop .btn { width: 100%; margin-top: 6px; font-size: .88rem; padding: .65em 1em; }
.pop .sample { position: static; display: inline-block; margin-bottom: 6px; }
@media (max-width: 860px) {
  .pm { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .pm-side { order: 2; max-height: 42vh; border-right: 0; border-top: 1px solid var(--line); }
  .pm-side.collapsed { max-height: 118px; }
  .pm-head h1 { font-size: 1.2rem; }
  .pm-toggle { display: block; position: absolute; right: 16px; top: 16px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 600; }
  .pm-head p { display: none; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Lahore photo band ---------- */
.photo-band { padding: 0 0 70px; overflow: hidden; }
.pb-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 14px; padding: 0 20px; overflow-x: auto; scroll-snap-type: x mandatory; perspective: 1400px; }
.pb { margin: 0; position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3/4; scroll-snap-align: start; transition: transform .6s; background: #222; }
.pb:nth-child(odd) { transform: rotateY(4deg) translateY(10px); }
.pb:nth-child(even) { transform: rotateY(-4deg); }
.pb:hover { transform: none; }
.pb img { width: 100%; height: 100%; object-fit: cover; }
.pb figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); font-size: .85rem; display: grid; gap: 2px; }
.pb figcaption b { font-size: 1rem; }
.pb figcaption a { color: rgba(255,255,255,.7); font-size: .72rem; text-decoration: none; }
.sell-box { background-size: cover; background-position: center; }
.pb-track { scrollbar-width: none; } .pb-track::-webkit-scrollbar { display: none; }
.more-soc { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.more-soc .nearby { margin-top: 10px; }
.chip-more { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Header icon buttons (saved, light/dark) ---------- */
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: inherit; opacity: .9; text-decoration: none; padding: 0; }
.icon-btn:hover { opacity: 1; }
.saved-count { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.saved-count[hidden] { display: none; }
@media (max-width: 960px) { .icon-btn { width: 36px; height: 36px; } .header-tools { gap: 6px; } }
@media (max-width: 400px) { .saved-link { display: none; } .brand span { font-size: 1rem; } }

/* ---------- Save heart on cards ---------- */
.card { position: relative; }
.save { position: absolute; right: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #7a807c; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.2); transition: transform .15s; }
.card .sample { right: 58px; }
.save:hover { transform: scale(1.08); }
.save.on { color: #e5484d; }
.save-btn.on { color: #e5484d; border-color: #e5484d; }
.aside-row { display: flex; gap: 10px; }
.aside-row .btn { flex: 1; }
.saved-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 22px; }
.saved-bar[hidden] { display: none; }
.seg .seg-saved.on { background: #e5484d; }

/* ---------- Marla & Kanal converter ---------- */
.conv { margin-top: 18px; display: grid; grid-template-columns: 1.2fr auto auto 1.6fr; gap: 18px; align-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 20px 24px; background: rgba(255,255,255,.03); }
.conv b { font-size: 1.1rem; }
.conv p { margin: 4px 0 0; color: rgba(255,255,255,.7); font-size: .92rem; }
.conv label { display: grid; gap: 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.7); }
.conv input, .conv select { font: inherit; font-size: 1rem; width: 120px; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; }
.conv select option { color: #000; }
.conv-out { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.conv-out span b { color: var(--gold); font-size: 1.3rem; }
.conv-out small { flex-basis: 100%; color: rgba(255,255,255,.55); font-size: .78rem; }
@media (max-width: 860px) { .conv { grid-template-columns: 1fr 1fr; } .conv > div:first-child, .conv-out { grid-column: 1 / -1; } .conv input, .conv select { width: 100%; } }

/* ---------- Dark mode ---------- */
html[data-theme="dark"] {
  --paper: #0d100f; --mist: #141816; --line: #29302c; --muted: #a4aca6; --fg: #eef1ee; --card: #171b19;
  --shadow: 0 10px 30px rgba(0,0,0,.4);
  color-scheme: dark;
}
html[data-theme="dark"] .bg-ink, html[data-theme="dark"] .site-footer { background: #050706; }
html[data-theme="dark"] .contact-line:hover { background: #1d2320; }
html[data-theme="dark"] .q-options button:hover { background: #12241c; }
html[data-theme="dark"] .note { background: #241e10; border-color: #4a3d1c; }
html[data-theme="dark"] .price-fx { color: var(--gold); }
html[data-theme="dark"] .seg button.on { background: var(--fg); color: var(--paper); }
html[data-theme="dark"] .chip-more { background: var(--fg); color: var(--paper); border-color: var(--fg); }
html[data-theme="dark"] .sample-banner { background: #1d2320; }
html[data-theme="dark"] .maplibregl-popup-content { background: var(--card); color: var(--fg); }
html[data-theme="dark"] .maplibregl-popup-anchor-bottom .maplibregl-popup-tip { border-top-color: var(--card); }
html[data-theme="dark"] .maplibregl-popup-anchor-top .maplibregl-popup-tip { border-bottom-color: var(--card); }
html[data-theme="dark"] .maplibregl-popup-close-button { color: var(--fg); }
html[data-theme="dark"] .modal-card select, html[data-theme="dark"] .modal-card input, html[data-theme="dark"] .filters select, html[data-theme="dark"] .pm-head select { background: var(--card); color: var(--fg); }
html[data-theme="dark"] .contact-line svg, html[data-theme="dark"] .sources a, html[data-theme="dark"] .tile .arrow { color: #3fd29c; }
.nav-saved { display: none; }
@media (max-width: 960px) { .nav .nav-saved { display: block; } }

/* ---------- Instalment calculator ---------- */
.calc { display: grid; grid-template-columns: 340px 1fr; gap: 30px; align-items: start; }
.calc-in { position: sticky; top: 90px; display: grid; gap: 4px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--card); }
.calc-in label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; margin-bottom: 14px; }
.calc-in select, .calc-in input[type=number] { font: inherit; font-weight: 500; padding: 11px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card); color: var(--fg); width: 100%; }
.range-row { display: flex; align-items: center; gap: 12px; }
.range-row input { flex: 1; accent-color: var(--accent); }
.range-row b { min-width: 42px; text-align: right; }
.small { font-size: .85rem; }
.calc-none { background: var(--mist); border-radius: 12px; padding: 14px 16px; font-size: .92rem; }
.calc-none a { color: var(--accent); font-weight: 600; }
.calc-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--card); }
.calc-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 18px; }
.calc-big > div { background: var(--mist); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; }
.calc-big small { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.calc-big b { display: flex; flex-direction: column; }
.calc-big .price-pkr { font-size: 1.35rem; }
.calc-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 2px; margin-bottom: 18px; }
.calc-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.calc-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--line); }
.calc-table td { padding: 12px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.calc-table td .price-pkr { font-size: .95rem; }
.calc-table td .price-fx { font-size: .8rem; display: block; }
.calc-table tfoot td { font-weight: 700; border-bottom: 0; }
.calc-table .prem td { color: var(--muted); }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; }
.calc-src { font-size: .85rem; color: var(--muted); margin: 18px 0 6px; }
.calc-src a { color: var(--accent); }
.calc-notes { font-size: .85rem; color: var(--muted); margin: 0; padding-left: 1.1em; }
.calc .note { margin-top: 14px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-in { position: static; } }
@media (max-width: 600px) {
  .calc-big { grid-template-columns: 1fr 1fr; } .calc-big > div:last-child { grid-column: 1 / -1; }
  .calc-card { padding: 18px; }
  .calc-table thead { display: none; }
  .calc-table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .calc-table td { border: 0; padding: 2px 4px; }
  .calc-table td:first-child { grid-column: 1 / -1; font-weight: 600; }
  .calc-table td:nth-child(2) { grid-column: 1 / -1; color: var(--muted); font-size: .85rem; }
  .calc-table td:nth-child(3)::before { content: "Each "; color: var(--muted); font-size: .8rem; }
  .calc-table td:nth-child(4)::before { content: "Total "; color: var(--muted); font-size: .8rem; }
  .calc-table tfoot tr { grid-template-columns: 1fr auto; }
  .calc-table tfoot td:nth-child(2)::before { content: none; }
}

/* ---------- Header uses the full width on big screens ---------- */
.site-header .header-inner { width: min(1680px, 100% - 64px); gap: 28px; }
.site-header .header-tools { margin-left: 18px; gap: 12px; }
.nav { gap: 26px; margin-left: auto; margin-right: auto; }
.cur-bar .wrap { width: min(1680px, 100% - 64px); }
@media (max-width: 1250px) { .nav { gap: 18px; margin-right: 0; } .site-header .header-inner { gap: 18px; } .site-header .header-tools { margin-left: 6px; gap: 8px; } }
@media (max-width: 1180px) and (min-width: 961px) { .nav { gap: 13px; } .nav a { font-size: .86rem; } }
@media (max-width: 960px) { .site-header .header-inner { width: min(1180px, 100% - 40px); } .site-header .header-tools { margin-left: auto; } }

/* ---------- Society facts on the flyover ---------- */
.fly-hl { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fly-hl li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 9px; border-radius: 999px; background: rgba(11,13,12,.55); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); font-size: .86rem; font-weight: 500; }
.fly-hl svg { width: 15px; height: 15px; flex: none; color: var(--gold); }
@media (max-width: 700px) {
  .fly-hl { flex-wrap: nowrap; overflow-x: auto; margin: 10px -20px 0; padding: 0 20px; scrollbar-width: none; }
  .fly-hl::-webkit-scrollbar { display: none; }
  .fly-hl li { flex: none; font-size: .8rem; }
  .fly-card p { font-size: 1rem; margin: .4em 0 0; }
}

/* ---------- Overseas: main feature ---------- */
.ov-feature { position: relative; overflow: hidden; padding: 110px 0; background: radial-gradient(1000px 500px at 85% 0%, rgba(201,164,92,.22), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(14,159,110,.18), transparent 60%), #070a09; }
.ov-feature h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 14ch; }
.ov-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.ov-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,164,92,.15); color: var(--gold); border: 1px solid rgba(201,164,92,.45); padding: .45em 1em; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.btn-gold { background: var(--gold); color: #1d1606; }
.btn-gold:hover { background: #d8b673; }
.ov-rates { border: 1px solid rgba(201,164,92,.35); background: rgba(255,255,255,.04); border-radius: 18px; padding: 22px 24px; }
.ov-rates-h { display: block; color: var(--gold); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
#ov-rates { display: grid; gap: 2px; }
#ov-rates span { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
#ov-rates span b { color: #fff; }
#ov-rates small { color: rgba(255,255,255,.5); margin-top: 8px; font-size: .78rem; }
.ov-feature .ov { background: rgba(255,255,255,.04); }
.ov-feature .ov-grid { margin-top: 44px; }
.ov-hero-link { display: inline-block; margin-top: 18px; color: var(--gold); font-weight: 600; text-decoration: none; font-size: .95rem; }
.ov-hero-link:hover { text-decoration: underline; }
@media (max-width: 860px) { .ov-top { grid-template-columns: 1fr; } .ov-feature { padding: 80px 0; } }
@media (max-width: 700px) { .ov-hero-link { display: none; } }

/* ---------- Photo pins on maps (property picture + price) ---------- */
.ppin { display: flex; flex-direction: column; align-items: stretch; width: 96px; padding: 0; border: 2px solid #fff; border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; font: inherit; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.45); position: relative; transition: transform .15s; margin-bottom: 8px; transform-origin: 50% 100%; }
.ppin::after { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: #fff; }
.ppin:hover, .ppin.on { transform: scale(1.12); }
.ppin-wrap:hover, .ppin-wrap.on { z-index: 5; }
.z-far .ppin-wrap { pointer-events: none; }
.ppin-img { display: block; height: 60px; border-radius: 10px 10px 0 0; background: #2a2f2c center/cover no-repeat; }
.ppin-txt { display: block; padding: 4px 6px 5px; text-align: center; line-height: 1.15; }
.ppin-txt b { display: block; font-size: 12.5px; color: var(--accent-dark); }
.ppin-txt small { display: block; font-size: 10px; color: #5d635f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ppin-rent .ppin-txt b { color: #9a7420; }
.ppin-plot { border-color: #18c98b; } .ppin-plot::after { border-top-color: #18c98b; }
.ppin-rent { border-color: #e0b860; } .ppin-rent::after { border-top-color: #e0b860; }
/* one society in view: round photo + price */
.z-mid .ppin { width: auto; flex-direction: row; align-items: center; border-radius: 999px; padding: 2px 9px 2px 2px; gap: 6px; }
.z-mid .ppin-img { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.z-mid .ppin-txt { padding: 0; } .z-mid .ppin-txt small { display: none; }
.z-mid .ppin-txt b { font-size: 13px; white-space: nowrap; }
.z-far .ppin { display: none; }

/* Landmark picture pins (e.g. Lake City Grand Mosque, Lake City Mall) */
.lmpin { display: flex; align-items: center; gap: 8px; padding: 3px 12px 3px 3px; border: 2px solid #d7c4ff; border-radius: 999px; background: rgba(11,13,12,.82); color: #fff; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.5); white-space: nowrap; }
.lmpin-left { flex-direction: row-reverse; padding: 3px 3px 3px 12px; }
.lmpin-mall { border-color: #e0b860; }
.lmpin-img { position: relative; width: 46px; height: 46px; border-radius: 50%; background: #222 center/cover no-repeat; flex: none; }
.lmpin-play { position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,.55); }
.lmpin-play::after { content: ""; position: absolute; left: 7px; top: 5px; border: 4px solid transparent; border-left: 6px solid #fff; }
.lmpin:hover { background: #000; }
.z-far .lmpin { display: none; }
.z-mid .lmpin { font-size: 12px; }

/* Video pop-up */
.vbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.8); display: grid; place-items: center; padding: 20px; }
.vbox-in { width: min(960px, 100%); color: #fff; text-align: center; position: relative; }
.vbox-in iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; background: #000; }
.vbox-in b { display: block; margin-top: 8px; }
.vbox-x { position: absolute; right: -6px; top: -44px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: #000; font-size: 24px; line-height: 1; cursor: pointer; }

/* Flyover: let taps reach the map pins beside the text */
.fly-step .wrap { pointer-events: none; }
.fly-card { pointer-events: auto; }

/* Plot map: society labels with price range, back button, society info */
.soc-label.rich { display: flex; flex-direction: column; align-items: center; line-height: 1.2; cursor: pointer; border-radius: 12px; padding: 5px 11px; }
.soc-label.rich small { font-weight: 600; font-size: 11px; letter-spacing: 0; color: #c9f5e2; }
.soc-label.rich:hover { background: rgba(14,159,110,.85); }
.pm-back { position: absolute; left: 14px; top: 14px; z-index: 3; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.pm-info { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--mist); font-size: .9rem; }
.pm-info b { display: block; }
.pm-info table { width: 100%; border-collapse: collapse; margin: 6px 0; font-size: .85rem; }
.pm-info td { padding: 3px 0; border-bottom: 1px solid var(--line); }
.pm-info td:last-child { text-align: right; font-weight: 600; }
.pm-info .btn { margin-top: 8px; }

/* Society page: prices table */
.price-table { width: 100%; border-collapse: collapse; margin: 10px 0 6px; font-size: .95rem; }
.price-table th, .price-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.price-table td:first-child, .price-table th:first-child { white-space: nowrap; }
.price-table td:nth-child(2) { font-weight: 700; white-space: nowrap; color: var(--accent-dark); }
html[data-theme="dark"] .price-table td:nth-child(2) { color: #3fd9a0; }
.price-box { padding: 16px 18px; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--line); margin: 14px 0; }
.price-box .big { font-family: var(--display); font-size: 1.6rem; }
.near-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 12px 0; padding: 0; list-style: none; }
.near-list li { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.near-list button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; font: inherit; text-align: left; }
.near-list .ni { display: block; aspect-ratio: 16/9; background: #222 center/cover; position: relative; }
.near-list .ni b.play { position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; font-size: 18px; }
.near-list span.nt { display: block; padding: 10px 12px; font-weight: 600; }
.near-list span.nt small { display: block; font-weight: 400; color: var(--muted); }

/* Home flyover: small pictures of a society's landmarks under the main picture */
.fly-thumbs { display: flex; gap: 8px; margin: -4px 0 14px; }
.fly-thumbs button { flex: 1; display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; text-align: left; }
.fly-thumbs button:hover { background: rgba(255,255,255,.18); }
.fly-thumbs i { width: 44px; height: 32px; border-radius: 6px; background: #222 center/cover; flex: none; }
.pop-img { display: block; height: 130px; margin: -16px -16px 12px; border-radius: 14px 14px 0 0; background: #222 center/cover; }
.pm-info .btn-block + .btn-block { margin-top: 6px; }
.pm-back[hidden] { display: none; }
/* Blocks and sectors (Google's embedded map) */
.blocks-in .blocks-map { width: 100%; height: min(78vh, 720px); border-radius: 12px; background: #e5e3df; color: #000; }
.blocks-frame { width: 100%; aspect-ratio: 16/10; border: 0; border-radius: var(--radius); background: #e5e3df; margin: 10px 0 6px; }
.blocks-btn::before { content: "▦ "; }

/* Society page: our block / sector names */
.block-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.block-chips .chip { cursor: pointer; border: 1px solid var(--line); background: var(--card); color: inherit; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 600; }
.block-chips .chip:hover, .block-chips .chip.on { border-color: var(--gold); color: var(--gold); }

/* Urdu switch */
.lang-btn { font-family: "Noto Naskh Arabic", "Inter", serif; font-size: .9rem; font-weight: 600; width: auto !important; min-width: 38px; padding: 0 10px !important; border-radius: 999px; }
html[lang="ur"] .ur-text { font-family: "Noto Naskh Arabic", "Inter", serif; letter-spacing: 0; }
html[lang="ur"] h1.ur-text, html[lang="ur"] h2.ur-text, html[lang="ur"] h3.ur-text { line-height: 1.5; }

/* ---------- Buy from abroad page ---------- */
.ov-guide > * { max-width: 860px; }
.ov-guide h2 { margin-top: 10px; }
.ov-steps { counter-reset: s; list-style: none; padding: 0; margin: 20px 0 40px; display: grid; gap: 14px; }
.ov-steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 66px; background: var(--card, rgba(127,127,127,.06)); border: 1px solid var(--line, rgba(127,127,127,.2)); border-radius: 16px; line-height: 1.6; }
.ov-steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--gold, #c9a45c); color: #111; font-weight: 700; display: grid; place-items: center; }
.ov-docs { columns: 2; column-gap: 30px; padding-left: 20px; margin: 16px 0 36px; line-height: 1.9; }
@media (max-width: 640px) { .ov-docs { columns: 1; } .ov-steps li { padding-left: 58px; } }
.ov-finance { border: 1px solid rgba(201,164,92,.45); background: rgba(201,164,92,.08); border-radius: 16px; padding: 20px 22px; margin-bottom: 18px; }
.ov-finance h3 { margin: 0 0 6px; }
.ov-finance p { margin: 0; }
.ov-time { margin-top: 18px; font-size: .95rem; opacity: .85; }
.ov-cta { text-align: center; border: 1px solid var(--line, rgba(127,127,127,.2)); border-radius: 22px; padding: 36px 22px; }
.ov-cta .hero-actions { justify-content: center; }
.calc-in label.check-row { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.calc-in label.check-row input { width: auto; }
/* Urdu paragraphs read right to left; mixed English bits (times, prices) stay in the right order */
html[lang="ur"] :is(p, li, h1, h2, h3, .lead).ur-text, html[lang="ur"] [data-lahore-time] { unicode-bidi: plaintext; text-align: start; }
html[lang="ur"] .ov-cta :is(h2, p) { text-align: center; }
.ov-guide-link { display: inline-block; margin-top: 16px; color: var(--gold); font-weight: 600; text-decoration: none; }
.ov-guide-link:hover { text-decoration: underline; }

/* ---------- Calculator pages: tab strip, budget finder, compare ---------- */
.tool-tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 22px; padding-bottom: 4px; scrollbar-width: none; }
.tool-tabs::-webkit-scrollbar { display: none; }
.tool-tabs a { flex: none; padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: inherit; text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.tool-tabs a:hover { border-color: var(--accent); }
.tool-tabs a.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.amount-row { display: flex; gap: 8px; }
.amount-row input { flex: 1; min-width: 0; }
.amount-row select { width: auto !important; flex: none; }
.b-h { font-size: 1.4rem; margin: 26px 0 14px; display: flex; align-items: center; gap: 10px; }
.calc-out > .b-h:first-child { margin-top: 0; }
.b-h small { font-family: var(--sans); font-size: .8rem; background: var(--mist); border-radius: 999px; padding: 2px 10px; color: var(--muted); }
.calc-out .grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.kv { width: 100%; border-collapse: collapse; font-size: .93rem; }
.kv td { padding: 12px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.kv td:last-child .price-fx { display: block; font-weight: 400; font-size: .8rem; }
.kv tr:last-child td { border-bottom: 0; }
.kv a { color: var(--accent); font-weight: 600; font-size: .85rem; }
.cmp-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.cmp { width: 100%; border-collapse: collapse; min-width: calc(150px + var(--n) * 230px); }
.cmp th, .cmp td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .93rem; }
.cmp th { width: 150px; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; position: sticky; left: 0; background: var(--card); }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: 0; }
.cmp td .price { margin: 0; }
.cmp-img { position: relative; display: block; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: var(--mist); margin-bottom: 8px; }
.cmp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmp-img .sample { position: absolute; top: 8px; left: 8px; right: auto; bottom: auto; width: auto; }
.cmp-title { font-weight: 700; color: inherit; text-decoration: none; }
.cmp a:not(.btn):not(.cmp-img):not(.cmp-title) { color: var(--accent); font-weight: 600; }
.best { background: var(--accent); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: .72rem; font-weight: 700; margin-left: 4px; }
.aside-tools { display: grid; gap: 8px; padding: 14px 0 4px; border-top: 1px solid var(--line); }
.aside-tools a { color: var(--accent); font-weight: 600; text-decoration: none; font-size: .92rem; }
.aside-tools a:hover { text-decoration: underline; }
@media (max-width: 600px) { .cmp th { width: 96px; padding: 10px 8px; font-size: .7rem; } .cmp { min-width: calc(96px + var(--n) * 190px); } .cmp td { padding: 10px 8px; } }
.calc-in [hidden] { display: none !important; }
.money-hint { display: block; font-size: .8rem; font-weight: 500; color: var(--accent); margin-top: -2px; }
.money-hint.bad { color: #e0564a; }
.calc-in input[data-money] { font: inherit; font-weight: 600; padding: 11px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card); color: var(--fg); width: 100%; }
.open-now, .closed-now { display: inline-block; font-size: .78rem; font-weight: 700; padding: 1px 9px; border-radius: 999px; margin: 0 4px; vertical-align: 1px; }
.open-now { background: rgba(14,159,110,.15); color: var(--accent); }
.closed-now { background: rgba(224,86,74,.13); color: #e0564a; }
.office-hours { margin-top: 10px; font-size: .95rem; }
.ov-manage { border-color: rgba(14,159,110,.45); background: rgba(14,159,110,.07); }
.pm-market { margin: 10px 0; }
.pm-market table { width: 100%; font-size: .85rem; }
.pm-market td:last-child { text-align: right; font-weight: 600; }
.mk-note { font-size: .88rem; background: var(--mist); border-radius: 10px; padding: 10px 12px; }
#mk-seg { flex-wrap: wrap; max-width: 100%; }
@media (max-width: 600px) { #mk-seg button { padding: 6px 10px; font-size: .85rem; } }
.price-note { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-top: 2px; }
.ppin-img { position: relative; }
.ppin-area { position: absolute; left: 4px; top: 4px; font: 700 9px/1 Inter, sans-serif; font-style: normal; letter-spacing: .04em; text-transform: uppercase; background: rgba(0,0,0,.62); color: #fff; padding: 3px 5px; border-radius: 4px; }
.z-mid .ppin-area { display: none; }
.approx-note { font-size: .85rem; color: var(--muted); margin: 6px 0 10px; }
.approx-note a { color: var(--accent); font-weight: 600; }
