/* =========================================================
   SG Infra Projects — public site
   ========================================================= */
:root {
  --gold: #c9a14a;
  --gold-2: color-mix(in srgb, var(--gold) 70%, #fff);
  --gold-soft: color-mix(in srgb, var(--gold) 14%, #fff);
  --ink: #0e0f13;
  --ink-2: #17181e;
  --ink-3: #23252d;
  --bg: #ffffff;
  --bg-alt: #f7f5f0;
  --text: #1c1e24;
  --muted: #6b6f7a;
  --line: #ebe7de;
  --ok: #16a34a;
  --wa: #25d366;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 17, 22, .04), 0 8px 28px rgba(16, 17, 22, .07);
  --shadow-lg: 0 24px 60px rgba(16, 17, 22, .16);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Playfair Display", Georgia, serif;
  --header-h: 78px;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 em, h2 em, h3 em { font-family: var(--display); font-style: italic; font-weight: 700; color: var(--gold); letter-spacing: 0; }
p { margin: 0 0 1em; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 860px; }
.center-text { text-align: center; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
[data-lucide] { width: 1.1em; height: 1.1em; stroke-width: 2; vertical-align: -0.17em; flex-shrink: 0; }
svg.lucide { width: 1.1em; height: 1.1em; vertical-align: -0.17em; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 1px solid transparent; border-radius: 999px; padding: .72em 1.35em; font-weight: 700; font-size: .95rem; line-height: 1.2; transition: .2s ease; white-space: nowrap; background: none; color: inherit; }
.btn-lg { padding: .95em 1.7em; font-size: 1rem; }
.btn-sm { padding: .55em 1em; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #17130a; box-shadow: 0 8px 22px color-mix(in srgb, var(--gold) 35%, transparent); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px color-mix(in srgb, var(--gold) 45%, transparent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { border-color: var(--text); }
.btn-outline:hover { background: var(--text); color: #fff; }
.btn-ghost { border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: #8a6a22; }
.btn-glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(.95); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.btn-row.center { justify-content: center; }
.link { color: #8a6a22; font-weight: 600; text-decoration: underline; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8a6a22; margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.section-dark .eyebrow { color: var(--gold-2); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: var(--gold-2); font-weight: 600; font-size: .88rem; backdrop-filter: blur(8px); }

/* ---------- Topbar & header ---------- */
.topbar { background: #08090b; color: #a9abb3; font-size: .8rem; }
.topbar-in { display: flex; gap: 24px; align-items: center; height: 36px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-right { margin-left: auto; }
.topbar a:hover { color: var(--gold-2); }
.topbar-right a { display: inline-flex; align-items: center; gap: 6px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(14, 15, 19, .92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); color: #fff; transition: .25s; }
.header.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.header-in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(201, 161, 74, .4); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; background: linear-gradient(180deg, #f3dc9a, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text small { font-size: .66rem; color: #9a9ca5; letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-dd > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .93rem; color: #d7d8de; transition: .2s; }
.nav > a:hover, .nav-dd > a:hover, .nav a.active { color: var(--gold-2); background: rgba(255, 255, 255, .05); }
.nav-dd { position: relative; }
.dd-caret { width: 14px; height: 14px; opacity: .7; }
.dd-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 8px); min-width: 260px; background: #fff; color: var(--text); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transition: .2s; }
.dd-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-dd:hover .dd-menu, .nav-dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: .9rem; }
.dd-menu a:hover { background: var(--bg-alt); color: #8a6a22; }
.dd-menu a svg { color: var(--gold); }
.dd-menu a em { margin-left: auto; font-style: normal; font-size: .75rem; background: var(--bg-alt); color: var(--muted); padding: 1px 8px; border-radius: 99px; }
.dd-cols { display: grid; grid-template-columns: 1fr 1fr; min-width: 420px; }
.dd-all { border-top: 1px solid var(--line); margin-top: 4px; color: #8a6a22; }
.nav-mobile-cta { display: none; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 10px; line-height: 1.2; }
.header-phone small { display: block; font-size: .7rem; color: #9a9ca5; }
.header-phone strong { font-size: .95rem; }
.ico-circle { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(201, 161, 74, .45); color: var(--gold-2); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .15); background: transparent; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: 110px 0 0; background: linear-gradient(180deg, rgba(9, 10, 13, .55) 0%, rgba(9, 10, 13, .7) 55%, rgba(9, 10, 13, .96) 100%), var(--hero) center/cover no-repeat; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 20% 30%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%); z-index: -1; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.hero-copy { max-width: 780px; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); margin: 22px 0 18px; font-weight: 800; letter-spacing: -.035em; }
.lead { font-size: clamp(1rem, 1.6vw, 1.18rem); color: #d4d5dc; max-width: 640px; }
.search-card { background: #fff; color: var(--text); border-radius: 22px; padding: 10px; box-shadow: var(--shadow-lg); width: 100%; }
.search-tabs { display: flex; gap: 4px; padding: 6px 6px 10px; overflow-x: auto; scrollbar-width: none; }
.search-tabs button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--muted); white-space: nowrap; }
.search-tabs button.active { background: var(--ink); color: #fff; }
.search-fields { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 8px; background: var(--bg-alt); border-radius: 16px; padding: 8px; }
.sf { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 0 14px; border: 1px solid var(--line); min-height: 54px; }
.sf svg { color: var(--gold); }
.sf input, .sf select { border: 0; outline: 0; background: transparent; font: inherit; font-weight: 600; width: 100%; min-width: 0; color: var(--text); padding: 12px 0; }
.sf select { cursor: pointer; }
.search-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 8px 6px; font-size: .85rem; }
.search-popular span { color: var(--muted); font-weight: 600; }
.search-popular a { padding: 4px 12px; border-radius: 99px; background: var(--gold-soft); color: #7a5c1a; font-weight: 600; }
.search-popular a:hover { background: var(--gold); color: #17130a; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; overflow: hidden; margin: 64px 0 0; transform: translateY(40px); backdrop-filter: blur(10px); }
.stat { display: flex; align-items: center; gap: 16px; padding: 26px 24px; background: rgba(23, 24, 30, .9); }
.stat strong { display: block; font-size: 1.9rem; line-height: 1; font-weight: 800; color: #fff; }
.stat span { font-size: .85rem; color: #a6a8b1; }
.stat-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold-2); font-size: 1.3rem; }
.stats-light { background: var(--line); border-color: var(--line); transform: none; margin-top: 48px; }
.stats-light .stat { background: #fff; }
.stats-light .stat strong { color: var(--text); }
.stats-light .stat span { color: var(--muted); }
.stats-light .stat-ico { color: #8a6a22; background: var(--gold-soft); }
.is-home .hero + .section { padding-top: 140px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 48px 0 80px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #e7e8ec; }
.section-dark p { color: #a6a8b1; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 10px; }
.sec-head p { color: var(--muted); max-width: 620px; margin: 0; }
.sec-head.center { justify-content: center; text-align: center; }
.sec-head.center p { margin-inline: auto; }
.section-dark .sec-head p { color: #a6a8b1; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ---------- Property types ---------- */
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.type-card { position: relative; overflow: hidden; border-radius: var(--r); padding: 28px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; background: var(--ink); }
.type-card::before { content: ""; position: absolute; inset: 0; background: var(--img) center/cover; z-index: -2; transition: transform .6s ease; }
.type-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 13, .15), rgba(10, 10, 13, .88) 75%); z-index: -1; }
.type-card:hover::before { transform: scale(1.07); }
.type-ico { position: absolute; top: 22px; left: 22px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); color: var(--gold-2); font-size: 1.3rem; border: 1px solid rgba(255, 255, 255, .2); }
.type-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.type-card p { font-size: .88rem; color: #cfd0d6; margin: 0 0 14px; }
.type-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--gold-2); }

/* ---------- Property card ---------- */
.pcard { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: .3s ease; display: flex; flex-direction: column; color: var(--text); }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pcard-media { position: relative; aspect-ratio: 4/3; overflow: hidden; display: block; background: var(--ink-2); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-media::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 99px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: #fff; color: var(--text); }
.pcard-media .badge { position: absolute; top: 14px; left: 14px; z-index: 1; }
.pcard-media .badge-featured { left: auto; right: 14px; }
.badge-ongoing { background: #16a34a; color: #fff; }
.badge-upcoming { background: #2563eb; color: #fff; }
.badge-ready { background: #0d9488; color: #fff; }
.badge-sold_out { background: #6b7280; color: #fff; }
.badge-featured { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #17130a; }
.badge-soft { background: var(--gold-soft); color: #7a5c1a; }
.pcard-type { position: absolute; bottom: 12px; left: 14px; z-index: 1; color: #fff; font-weight: 700; font-size: .82rem; display: inline-flex; gap: 6px; align-items: center; }
.pcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pcard-price { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.pcard-title { font-size: 1.08rem; font-weight: 700; margin: 4px 0 6px; }
.pcard-title a:hover { color: #8a6a22; }
.pcard-loc { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); margin: 0 0 14px; }
.pcard-loc svg { color: var(--gold); }
.pcard-specs { list-style: none; padding: 12px 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; border-block: 1px dashed var(--line); font-size: .85rem; font-weight: 600; color: #444852; }
.pcard-specs li { display: inline-flex; align-items: center; gap: 6px; }
.pcard-specs svg { color: var(--muted); }
.pcard-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.section-dark .pcard { border-color: transparent; }

/* ---------- Horizontal track ---------- */
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 14px; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.slider-nav { display: flex; gap: 10px; }
.sbtn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; display: grid; place-items: center; transition: .2s; }
.sbtn:hover { background: var(--gold); color: #17130a; border-color: var(--gold); }

/* ---------- Locations ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 260px; gap: 18px; }
.loc-card { position: relative; border-radius: var(--r); overflow: hidden; isolation: isolate; }
.loc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s; }
.loc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8, 8, 10, .85)); z-index: -1; }
.loc-card:hover img { transform: scale(1.08); }
.loc-lg { grid-column: span 2; grid-row: span 2; }
.loc-info { position: absolute; inset: auto 0 0; padding: 18px; color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.loc-info h3 { margin: 0; font-size: 1.2rem; }
.loc-lg .loc-info h3 { font-size: 1.9rem; }
.loc-info span { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); white-space: nowrap; }

/* ---------- About split ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-split.reverse .about-media { order: 2; }
.about-media { position: relative; }
.about-media > img { border-radius: 24px; aspect-ratio: 4/4.4; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.about-media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 2px solid var(--gold); border-radius: 24px; z-index: -1; opacity: .5; }
.about-badge { position: absolute; left: -24px; bottom: 32px; display: flex; gap: 14px; align-items: center; background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 20px 14px 14px; box-shadow: var(--shadow-lg); max-width: 320px; }
.about-badge img { width: 56px; height: 56px; border-radius: 50%; }
.about-badge strong { display: block; color: var(--gold-2); text-transform: uppercase; font-size: .9rem; letter-spacing: .04em; }
.about-badge span { font-size: .72rem; color: #a6a8b1; letter-spacing: .08em; text-transform: uppercase; }
.about-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.rich { color: #3e424c; }
.rich p:last-child { margin-bottom: 0; }
.rich h2, .rich h3 { color: var(--text); margin-top: 1.2em; }
.rich ul, .rich ol { padding-left: 1.2em; }
.rich a { color: #8a6a22; text-decoration: underline; }
.rich img { border-radius: 12px; margin: 1em 0; }
.lead-rich { font-size: 1.1rem; }
.lead-rich p:first-child { font-size: 1.25rem; color: var(--text); }
.check-list { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.check-list svg { flex-shrink: 0; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--gold-soft); color: #8a6a22; margin-top: 1px; }
.check-list.two-col { grid-template-columns: 1fr 1fr; }
.section-dark .check-list li { color: #e7e8ec; }
.section-dark .check-list svg { background: color-mix(in srgb, var(--gold) 20%, transparent); color: var(--gold-2); }
.signature { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: #8a6a22; margin-top: 1.2em; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { position: relative; background: #fff; border-radius: var(--r); padding: 30px 26px; border: 1px solid var(--line); transition: .3s; overflow: hidden; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.svc-num { position: absolute; top: 18px; right: 22px; font-family: var(--display); font-size: 2.4rem; font-weight: 700; color: var(--gold-soft); line-height: 1; }
.svc-ico, .why-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); font-size: 1.4rem; margin-bottom: 20px; }
.svc h3 { font-size: 1.08rem; }
.svc p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Upcoming ---------- */
.up-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.up-card { position: relative; min-height: 400px; border-radius: 22px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.up-card::before { content: ""; position: absolute; inset: 0; background: var(--img) center/cover; z-index: -2; transition: transform .7s; }
.up-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 20, .1), rgba(10, 12, 20, .92) 70%); z-index: -1; }
.up-card:hover::before { transform: scale(1.06); }
.up-card > .badge { position: absolute; top: 18px; left: 18px; }
.up-body { padding: 26px; }
.up-loc { display: inline-flex; gap: 6px; align-items: center; font-size: .85rem; color: var(--gold-2); font-weight: 700; }
.up-body h3 { font-size: 1.4rem; margin: 8px 0 4px; }
.up-body p { color: #c9cad1; font-size: .9rem; margin: 0; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { padding: 32px; border-radius: var(--r); background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .06); transition: .3s; }
.why-card:hover { border-color: color-mix(in srgb, var(--gold) 50%, transparent); background: var(--ink-3); }
.why-card .why-ico { background: color-mix(in srgb, var(--gold) 16%, transparent); }
.why-card h3 { color: #fff; font-size: 1.15rem; }
.why-card p { margin: 0; font-size: .92rem; }

/* ---------- Testimonials ---------- */
.testi { margin: 0; padding: 30px; border-radius: var(--r); background: var(--bg-alt); border: 1px solid var(--line); display: flex; flex-direction: column; }
.stars { color: var(--gold); display: flex; gap: 2px; margin-bottom: 14px; }
.stars svg { fill: currentColor; }
.testi blockquote { margin: 0 0 22px; font-size: 1.02rem; color: #3e424c; flex: 1; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi figcaption img, .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.avatar { display: grid; place-items: center; background: var(--ink); color: var(--gold-2); font-weight: 800; }
.testi strong { display: block; }
.testi span { font-size: .85rem; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 96px 0; color: #fff; background: linear-gradient(100deg, rgba(10, 10, 13, .94) 30%, rgba(10, 10, 13, .55)), var(--hero) center/cover; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.cta p { color: #c9cad1; max-width: 560px; margin: 0; }
.cta .btn-row { margin: 0; flex-shrink: 0; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; padding: 80px 0 72px; color: #fff; background: radial-gradient(70% 90% at 85% 0%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 60%), linear-gradient(180deg, rgba(10, 10, 13, .82), rgba(10, 10, 13, .94)), var(--hero, none) center/cover, var(--ink); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 14px 0 12px; }
.page-hero p { color: #c9cad1; max-width: 680px; font-size: 1.08rem; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; color: #a6a8b1; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs span { color: var(--gold-2); }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.crumbs-dark { color: var(--muted); }
.crumbs-dark span { color: var(--text); font-weight: 600; }
.crumbs-dark a:hover { color: #8a6a22; }

/* ---------- Listing ---------- */
.filter-bar { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr) auto; gap: 10px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); margin-top: -90px; position: relative; z-index: 2; }
.filter-bar select { border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; font: inherit; font-weight: 600; font-size: .9rem; background: #fff; min-height: 50px; color: var(--text); min-width: 0; }
.filter-bar .sf { min-height: 50px; }
.type-chips, .loc-pills { display: flex; gap: 10px; overflow-x: auto; padding: 22px 0 6px; scrollbar-width: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .88rem; white-space: nowrap; transition: .2s; }
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.active svg { color: var(--gold-2); }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 18px 0 26px; flex-wrap: wrap; }
.results-bar p { margin: 0; color: var(--muted); }
.results-bar strong { color: var(--text); }
.sort-form label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.sort-form select { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 600; background: #fff; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pager a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; }
.pager a.active, .pager a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line); border-radius: var(--r); background: var(--bg-alt); }
.empty-ico { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #fff; color: var(--gold); font-size: 1.8rem; margin-bottom: 16px; box-shadow: var(--shadow); }
.seg { display: inline-flex; gap: 4px; padding: 6px; background: var(--bg-alt); border-radius: 99px; border: 1px solid var(--line); margin-bottom: 8px; }
.seg button { border: 0; background: none; padding: 10px 22px; border-radius: 99px; font-weight: 700; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.seg button em { font-style: normal; font-size: .75rem; background: #fff; padding: 1px 8px; border-radius: 99px; }
.seg button.active { background: var(--ink); color: #fff; }
.seg button.active em { background: var(--gold); color: #17130a; }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fade .35s ease; }
.tab-pane .grid-3 { margin-top: 18px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Property detail ---------- */
.pd-head { padding: 28px 0 24px; background: var(--bg-alt); }
.pd-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 18px; }
.pd-title h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 10px 0 6px; }
.pd-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); margin: 0; }
.pd-loc svg { color: var(--gold); }
.pd-price { text-align: right; flex-shrink: 0; }
.pd-price small { display: block; color: var(--muted); font-weight: 600; }
.pd-price strong { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; letter-spacing: -.02em; }
.pd-price span { font-size: .85rem; }
.gallery { display: grid; gap: 10px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; margin-top: 24px; border-radius: 22px; overflow: hidden; }
.g-item { position: relative; padding: 0; border: 0; overflow: hidden; background: var(--ink-2); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g-item:hover img { transform: scale(1.05); }
.g-item:first-child { grid-row: span 2; }
.g-1 { grid-template-columns: 1fr; grid-template-rows: 460px; }
.g-2 { grid-template-columns: 2fr 1fr; }
.g-2 .g-item:nth-child(2) { grid-row: span 2; }
.g-3 { grid-template-columns: 2fr 1fr; }
.g-4 .g-item:nth-child(4) { grid-column: span 2; }
.g-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: #fff; font-weight: 800; font-size: 1.2rem; }
.pd-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.pd-main { display: grid; gap: 24px; min-width: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.card h2 { font-size: 1.4rem; margin-bottom: 18px; }
.card h3 { font-size: 1.25rem; }
.pd-tabs { position: sticky; top: var(--header-h); z-index: 5; display: flex; gap: 4px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); padding: 6px; border-radius: 14px; border: 1px solid var(--line); overflow-x: auto; }
.pd-tabs a { padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: .9rem; color: var(--muted); white-space: nowrap; }
.pd-tabs a.active, .pd-tabs a:hover { background: var(--ink); color: #fff; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.fact { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--bg-alt); }
.fact > span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #8a6a22; flex-shrink: 0; }
.fact small { display: block; color: var(--muted); font-size: .76rem; font-weight: 600; }
.fact strong { font-size: .92rem; }
.amen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amen { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: .9rem; }
.amen svg { color: var(--gold); width: 20px; height: 20px; }
.map { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 360px; border: 0; display: block; }
.map-lg iframe { height: 440px; }
.video { aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; }
.video iframe { width: 100%; height: 100%; border: 0; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.pd-side .card { padding: 26px; box-shadow: var(--shadow); }
.side-quick { display: grid; gap: 10px; margin: 16px 0; }
.or { text-align: center; position: relative; margin: 18px 0; font-size: .8rem; color: var(--muted); }
.or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line); }
.or span { position: relative; background: #fff; padding: 0 10px; }

/* ---------- Forms ---------- */
.enq-form { display: grid; gap: 12px; }
.field label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 5px; color: #444852; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: .95rem; background: #fff; color: var(--text); transition: .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.form-note { margin: 0; font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 6px; justify-content: center; }
.alert { padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .9rem; display: flex; gap: 8px; align-items: center; }
.alert-ok { background: #dcfce7; color: #166534; }
.alert-err { background: #fee2e2; color: #991b1b; }

/* ---------- About / contact ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card { padding: 44px; border-radius: 24px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .07); }
.vm-card h2 { color: #fff; font-size: 1.9rem; }
.vm-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #17130a; font-size: 1.5rem; margin-bottom: 22px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 30px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; transition: .3s; }
.value:hover { box-shadow: var(--shadow); border-color: var(--gold); }
.value p { color: var(--muted); margin: 0; font-size: .92rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; margin-top: -70px; position: relative; z-index: 2; }
.contact-info { display: grid; gap: 14px; }
.cinfo { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: .2s; }
a.cinfo:hover { border-color: var(--gold); transform: translateX(4px); }
.cinfo > span { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); font-size: 1.3rem; flex-shrink: 0; }
.cinfo > span.wa { background: var(--wa); color: #fff; }
.cinfo small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; }
.cinfo strong { font-size: 1rem; word-break: break-word; }
.faqs { display: grid; gap: 12px; }
.faq { border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { transition: .25s; color: var(--gold); }
.faq[open] summary svg { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: #08090b; color: #a6a8b1; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer .brand img { width: 64px; height: 64px; }
.footer-brand p { margin: 20px 0; font-size: .92rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.footer ul a:hover { color: var(--gold-2); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { color: var(--gold); margin-top: 4px; }
.footer .btn-wa { margin-top: 20px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .12); transition: .2s; }
.socials a:hover { background: var(--gold); color: #17130a; border-color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .07); padding: 22px 0; font-size: .85rem; }
.footer-bottom-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-tag { font-family: var(--display); color: var(--gold-2); }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom nav a:hover { color: var(--gold-2); }

/* ---------- Floating, modal, lightbox, toast ---------- */
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; font-size: 1.6rem; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } }
.mobile-bar { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: .25s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 8, 10, .7); backdrop-filter: blur(4px); }
.modal-card { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 24px; padding: 30px; transform: translateY(20px) scale(.98); transition: .3s; }
.modal.open .modal-card { transform: none; }
.modal-head h3 { font-size: 1.5rem; margin-bottom: 4px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg-alt); display: grid; place-items: center; }
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(5, 5, 7, .95); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; object-fit: contain; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; font-size: 1.3rem; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-count { position: absolute; bottom: 20px; color: #fff; font-weight: 600; }
.toast { position: fixed; top: 110px; left: 50%; transform: translateX(-50%); z-index: 120; padding: 14px 22px; border-radius: 14px; font-weight: 700; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow-lg); animation: toast 6s forwards; max-width: calc(100% - 32px); }
.toast-ok { background: #16a34a; color: #fff; }
.toast-err { background: #dc2626; color: #fff; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, -16px); } 6%, 88% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; visibility: hidden; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .fab-wa { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn span { display: none; }
  .header-cta .btn { padding: .7em; }
  .header-cta { margin-left: auto; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 16px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s; margin: 0; }
  .nav-dd > a { width: 100%; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav > a, .nav-dd > a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; justify-content: space-between; }
  .dd-menu { position: static; transform: none; opacity: 1; visibility: visible; display: none; box-shadow: none; background: var(--ink-2); color: #d7d8de; min-width: 0; margin: 6px 0; }
  .nav-dd.open .dd-menu { display: grid; }
  .dd-menu a:hover { background: rgba(255, 255, 255, .05); color: var(--gold-2); }
  .dd-menu a em { background: rgba(255, 255, 255, .08); color: #a6a8b1; }
  .dd-cols { grid-template-columns: 1fr 1fr; min-width: 0; }
  .nav-mobile-cta { display: block; margin-top: 18px; }
  .filter-bar { grid-template-columns: repeat(4, 1fr); }
  .filter-bar .sf-q { grid-column: span 4; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .topbar .hide-sm { display: none; }
  .grid-3, .types-grid, .up-grid, .why-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .track { grid-auto-columns: calc((100% - 28px) / 2); }
  .loc-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; }
  .about-split, .vm-grid, .contact-grid, .pd-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-split.reverse .about-media { order: 0; }
  .about-media > img { aspect-ratio: 4/3; }
  .about-media::before { display: none; }
  .about-badge { left: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .sticky { position: static; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-fields .sf-q { grid-column: span 2; }
  .facts, .amen-grid { grid-template-columns: 1fr 1fr; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .08); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a, .mobile-bar button { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 6px; font-weight: 700; font-size: .88rem; border: 0; background: none; color: var(--text); }
  .mobile-bar button { background: var(--ink); color: var(--gold-2); }
  .mobile-bar a:nth-child(2) { color: #128c4a; }
  .fab-wa { display: none; }
  body { padding-bottom: 56px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .topbar-in span:first-child { display: none; }
  .topbar-right { margin: 0 auto; }
  .brand img { width: 44px; height: 44px; }
  .brand-text strong { font-size: .9rem; }
  .brand-text small { display: none; }
  .hero { padding-top: 56px; }
  .grid-3, .types-grid, .up-grid, .why-grid, .values-grid, .svc-grid, .footer-grid { grid-template-columns: 1fr; }
  .track { grid-auto-columns: 86%; gap: 16px; }
  .loc-grid { grid-auto-rows: 160px; gap: 12px; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .search-fields { grid-template-columns: 1fr; }
  .search-fields .sf-q { grid-column: auto; }
  .stat { padding: 18px 14px; gap: 10px; }
  .stat strong { font-size: 1.4rem; }
  .stat-ico { width: 40px; height: 40px; font-size: 1.1rem; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
  .sec-head.center { align-items: center; }
  .filter-bar { grid-template-columns: 1fr 1fr; margin-top: -60px; }
  .filter-bar .sf-q, .filter-bar .btn { grid-column: span 2; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px 120px; }
  .gallery .g-item:first-child { grid-column: span 2; grid-row: auto; }
  .g-1 { grid-template-columns: 1fr; grid-template-rows: 260px; }
  .g-1 .g-item:first-child { grid-column: auto; }
  .pd-title { flex-direction: column; align-items: flex-start; }
  .pd-price { text-align: left; }
  .facts, .amen-grid, .check-list.two-col { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .vm-card { padding: 30px 24px; }
  .about-badge { position: static; margin-top: -40px; margin-left: 16px; position: relative; }
  .pcard-actions { grid-template-columns: 1fr; }
  .contact-grid { margin-top: -50px; }
  .dd-cols { grid-template-columns: 1fr; }
}
