/* Royal Jaipur theme: deep navy and rich gold from the logo on soft ivory, like a premium township brochure.
   Headings in Cormorant Garamond, everything else in Poppins. */
:root {
  --navy: #0f1e3d;
  --navy-2: #1b2c52;
  --gold: #c9a04a;
  --gold-deep: #9c7a2c;     /* gold for text on light backgrounds */
  --gold-wash: #f6eedb;
  --ivory: #fbf9f4;
  --white: #ffffff;
  --ink: #0f1e3d;
  --ink-soft: #545e73;
  --line: #e7e0d0;
  --ok: #2e7d4f;
  --ok-wash: #e3f1e8;
  --on-navy: #e9ecf3;
  --on-navy-soft: #aab3c7;

  --f-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --s-1: 0.8125rem; --s0: 1rem; --s1: 1.125rem; --s2: 1.5rem; --s3: 2rem; --s4: 2.75rem; --s5: 3.75rem;
  --wrap: 1200px;
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--f-body); font-size: 0.97rem; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.5rem, 5.6vw, var(--s5)); }
h2 { font-size: clamp(2rem, 3.8vw, var(--s4)); }
h3 { font-size: var(--s2); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(60px, 8vw, 104px); }
.section.tint { background: var(--white); border-block: 1px solid var(--line); }
.stack { display: grid; gap: 14px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.lede { font-size: 1.05rem; color: var(--ink-soft); max-width: 62ch; }
.lede p + p { margin-top: 12px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.section-head .stack { max-width: 680px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 13px 24px; border-radius: 6px; border: 1.5px solid var(--navy);
  font: 500 0.95rem/1 var(--f-body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  background: var(--navy); color: var(--white); transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--navy-2); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 600; }
.btn.gold:hover { background: #d8b263; border-color: #d8b263; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: var(--white); }
.btn.ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn.ghost-light:hover { border-color: var(--gold); color: var(--gold); }
.btn.wa { background: #1f8f4e; border-color: #1f8f4e; }
.btn.wa:hover { background: #18773f; border-color: #18773f; }
.btn:disabled { opacity: .6; cursor: wait; }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.link-arrow:hover { color: var(--gold-deep); }

/* Top bar + header */
.topbar { background: var(--navy); color: var(--on-navy-soft); font-size: 0.8rem; border-bottom: 1px solid rgba(201,160,74,.25); }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-block: 8px; }
.topbar a { text-decoration: none; color: var(--gold); }
.topbar .contacts { display: flex; gap: 20px; flex-wrap: wrap; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--navy); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 58px; height: 58px; }
.brand strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; line-height: 1.05; color: var(--navy); }
.brand small { display: block; font-size: 0.66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.93rem; position: relative; }
.nav a:not(.btn)[aria-current="page"], .nav a:not(.btn):hover { color: var(--gold-deep); }
.nav a:not(.btn)[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); }
.nav .btn { padding: 11px 18px; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--navy); border-radius: 6px; padding: 8px 12px; font: 500 var(--s-1) var(--f-body); color: var(--navy); cursor: pointer; }
@media (max-width: 960px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 14px; }
  .brand img { width: 48px; height: 48px; }
  .brand strong { font-size: 1.25rem; }
}

/* Hero (navy band) */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 60vw; height: 60vw; border-radius: 50%;
  border: 1px solid rgba(201,160,74,.18); box-shadow: 0 0 0 60px rgba(201,160,74,.04), 0 0 0 140px rgba(201,160,74,.03); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 92px); }
.hero .eyebrow { color: var(--gold); }
.hero h1 { margin-top: 18px; color: var(--white); font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero .lede { margin-top: 20px; color: var(--on-navy-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.search {
  margin-top: 34px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px 10px;
  background: var(--white); border-radius: 10px; padding: 10px; color: var(--ink);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.6);
}
.search label { display: grid; gap: 0; padding: 6px 10px; min-width: 0; border-right: 1px solid var(--line); }
.search label:nth-of-type(3) { border-right: 0; }
.search label span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-deep); font-weight: 600; }
.search select { border: 0; background: transparent; font: 500 0.95rem var(--f-body); color: var(--ink); padding: 2px 0; width: 100%; }
.search .btn { grid-column: 1 / -1; }
.feature { display: block; position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid rgba(201,160,74,.45); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.feature-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; max-width: 100%; }
.feature-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: grid; gap: 6px; justify-items: start;
  background: linear-gradient(transparent, rgba(15,30,61,.94) 35%); color: var(--white); padding-top: 60px; }
.feature-cap strong { font-family: var(--f-display); font-size: 1.7rem; font-weight: 600; line-height: 1.1; }
.feature-cap > span:last-child { color: var(--on-navy); font-size: 0.9rem; }
.feature-cap small { color: var(--on-navy-soft); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .search label { border-right: 0; } }

/* Stats */
.stats-band { background: var(--white); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats > div { padding: 28px 20px; border-right: 1px solid var(--line); display: grid; gap: 4px; }
.stats > div:last-child { border-right: 0; }
.stats b { font-family: var(--f-display); font-weight: 700; font-size: var(--s4); line-height: 1; color: var(--gold-deep); }
.stats span { font-size: var(--s-1); color: var(--ink-soft); }
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Project cards */
.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 24px 48px -28px rgba(15,30,61,.5); }
.card-media { position: relative; }
.card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; max-width: 100%; }
.card.is-sold .card-img { filter: grayscale(.6); }
.no-photo {
  display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; padding: 20px;
  background: var(--navy); color: var(--white);
  background-image: radial-gradient(circle at 80% 20%, rgba(201,160,74,.25), transparent 50%), repeating-linear-gradient(45deg, rgba(201,160,74,.06) 0 2px, transparent 2px 14px);
}
.no-photo span { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; line-height: 1.1; }
.no-photo small { color: var(--gold); letter-spacing: .16em; text-transform: uppercase; font-size: 0.7rem; }
.card-media .chips { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: inline-block; font: 600 0.68rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 4px; background: var(--white); color: var(--navy);
}
.chip.new { background: var(--gold); color: var(--navy); }
.chip.limited { background: var(--navy); color: var(--gold); }
.chip.sold { background: #8a3b2e; color: var(--white); }
.chip.ok { background: var(--ok-wash); color: var(--ok); }
.card-body { display: grid; gap: 8px; padding: 22px 22px 18px; flex: 1; align-content: start; }
.card-body .place { font-size: 0.72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.card-body h3 { font-size: 1.75rem; }
.card-body p { color: var(--ink-soft); font-size: 0.92rem; }
.card-body .approval { font-size: 0.82rem; color: var(--ok); font-weight: 500; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-top: 1px solid var(--line); background: #fdfcf8; }
.price { font-weight: 600; font-variant-numeric: tabular-nums; }
.price small { font-weight: 400; color: var(--ink-soft); }
.card-foot .go { font-weight: 500; font-size: 0.9rem; color: var(--gold-deep); }
.empty { padding: 44px; text-align: center; border: 1px dashed var(--gold); border-radius: var(--radius); color: var(--ink-soft); grid-column: 1 / -1; background: var(--white); }

/* Ongoing / Sold tabs */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow-x: auto; }
.tabs button {
  background: none; border: 0; border-bottom: 3px solid transparent; padding: 14px 22px; margin-bottom: -1px; cursor: pointer;
  font: 500 1rem var(--f-body); color: var(--ink-soft); display: inline-flex; gap: 10px; align-items: center; white-space: nowrap;
}
.tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--gold); font-weight: 600; }
.tabs .count { font-size: 0.75rem; background: var(--gold-wash); color: var(--gold-deep); border-radius: 999px; padding: 2px 9px; font-weight: 600; }
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: baseline; margin-bottom: 20px; }
.list-head h2 { font-size: var(--s3); }

/* Filters */
.filters {
  display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; padding: 16px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 28px;
}
.field { display: grid; gap: 6px; min-width: 0; }
.field > span, .field > label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); font-weight: 500; }
input, select, textarea {
  font: 400 0.95rem var(--f-body); color: var(--ink); background: var(--ivory);
  border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; padding: 3px; background: var(--ivory); }
.seg button { border: 0; background: transparent; font: 500 0.88rem var(--f-body); padding: 8px 14px; border-radius: 4px; cursor: pointer; color: var(--ink-soft); }
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.results-count { font-size: var(--s-1); color: var(--ink-soft); }
@media (max-width: 600px) {
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  .filters .field:has(.seg), .filters .btn { grid-column: 1 / -1; }
}

/* Promises & steps */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pillars > div { padding: 30px 28px; display: grid; gap: 12px; align-content: start; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 4px; }
.pillars h3 { font-size: 1.65rem; }
.pillars p { color: var(--ink-soft); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold-deep); font: 600 1.4rem var(--f-display); margin-bottom: 6px;
}
.steps b { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; line-height: 1.2; }
.steps p { font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; }
.checklist li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "✓"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-wash); color: var(--gold-deep); font-weight: 700; font-size: 0.85rem; }
.checklist b { display: block; font-weight: 600; }
.checklist span { color: var(--ink-soft); font-size: 0.93rem; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quotes figure { margin: 0; padding: 30px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 20px; align-content: space-between; }
.quotes blockquote { margin: 0; font-family: var(--f-display); font-size: 1.35rem; line-height: 1.4; font-style: italic; }
.quotes figcaption { font-size: var(--s-1); color: var(--ink-soft); }
.quotes figcaption b { color: var(--ink); display: block; font-size: 0.95rem; font-weight: 600; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* Forms */
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; color: var(--ink); }
.form-panel h3 { font-size: 1.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form-panel .btn { width: 100%; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); }
.form-status { font-size: 0.92rem; padding: 12px 14px; border-radius: 6px; }
.form-status.ok { background: var(--ok-wash); color: var(--ok); }
.form-status.err { background: var(--gold-wash); color: var(--ink); }
.form-status a { font-weight: 600; }
.field-error { color: #a33a2a; font-size: 0.82rem; }
.contact-lines { display: grid; gap: 20px; margin-top: 30px; }
.contact-lines div { display: grid; gap: 2px; }
.contact-lines span { font-size: 0.72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.contact-lines a, .contact-lines p { font-size: 1.08rem; text-decoration: none; font-weight: 500; }
.contact-lines a:hover { color: var(--gold-deep); }

/* CTA band */
.cta-band { background: var(--navy); color: var(--white); }
.cta-band h2 { color: var(--white); }
.cta-band .eyebrow, .cta-band .contact-lines span { color: var(--gold); }
.cta-band .contact-lines a:hover { color: var(--gold); }

/* Page head */
.page-head { background: var(--navy); color: var(--white); }
.page-head .wrap { padding-block: clamp(44px, 6vw, 76px); }
.page-head .eyebrow { color: var(--gold); }
.page-head h1 { margin-top: 14px; }
.page-head .lede { margin-top: 14px; color: var(--on-navy-soft); }

/* Project detail */
.crumbs { font-size: var(--s-1); color: var(--ink-soft); padding-block: 20px 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-deep); }
.detail-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; padding-block: 18px 30px; }
.detail-head .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.detail-head .chip { border: 1px solid var(--line); }
.detail-price { text-align: right; }
.detail-price b { display: block; font-family: var(--f-display); font-size: var(--s4); font-weight: 700; line-height: 1; color: var(--gold-deep); }
.detail-price span { font-size: var(--s-1); color: var(--ink-soft); }
@media (max-width: 640px) { .detail-price { text-align: left; } }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 36px; align-items: start; padding-bottom: 80px; }
.detail-grid > aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: grid; gap: 20px; }
@media (max-width: 960px) { .detail-grid { grid-template-columns: 1fr; } .detail-grid > aside { position: static; } }
.block { display: grid; gap: 18px; padding-block: 30px; border-top: 1px solid var(--line); }
.block:first-child { border-top: 0; padding-top: 0; }
.gallery { display: grid; gap: 10px; }
.gallery-main { width: 100%; max-height: 620px; object-fit: contain; background: var(--navy); border-radius: var(--radius); }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: 0 0 auto; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; }
.thumbs button[aria-current="true"] { border-color: var(--gold); }
.thumbs img { width: 96px; height: 72px; object-fit: cover; }
.layout-img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.facts div { padding: 16px 18px; border-right: 1px solid var(--line); margin-right: -1px; }
.facts span { display: block; font-size: 0.7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.facts b { font-weight: 600; }
.rates { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.rates div { padding: 22px; border-radius: var(--radius); background: var(--navy); color: var(--white); display: grid; gap: 2px; }
.rates span { font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.rates b { font-family: var(--f-display); font-size: 2.6rem; font-weight: 700; line-height: 1.1; }
.rates small { color: var(--on-navy-soft); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 0.7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); background: var(--gold-wash); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.amenities li { padding: 13px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; font-size: 0.93rem; }
.amenities li::before { content: "◆"; color: var(--gold); font-size: 0.65rem; margin-right: 10px; vertical-align: 2px; }
.nearby { list-style: none; padding: 0; margin: 0; }
.nearby li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.nearby li b { font-weight: 500; white-space: nowrap; }

/* EMI calculator */
.emi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.emi h3 { font-size: 1.7rem; }
.emi .row { display: grid; gap: 6px; }
.emi .row-top { display: flex; justify-content: space-between; gap: 10px; font-size: 0.88rem; }
.emi .row-top b { font-variant-numeric: tabular-nums; font-weight: 600; }
.emi input[type="range"] { padding: 0; accent-color: var(--gold-deep); background: transparent; border: 0; }
.emi-out { background: var(--navy); color: var(--white); border-radius: 10px; padding: 18px; display: grid; gap: 2px; }
.emi-out span { font-size: var(--s-1); color: var(--on-navy-soft); }
.emi-out b { font-family: var(--f-display); font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1.1; font-variant-numeric: tabular-nums; }
.emi-out small { color: var(--on-navy-soft); font-size: 0.8rem; }

/* Guide / prose */
.prose { max-width: 72ch; display: grid; gap: 16px; }
.prose h2 { margin-top: 28px; font-size: var(--s3); }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2rem; margin: 0; display: grid; gap: 8px; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); display: grid; gap: 10px; font-size: 0.93rem; border-left: 2px solid var(--gold); padding-left: 16px; }
.toc a { text-decoration: none; color: var(--ink-soft); }
.toc a:hover { color: var(--gold-deep); }
.guide-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .guide-layout { grid-template-columns: 1fr; } .toc { position: static; } }
.doc-table td { white-space: normal; min-width: 160px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 500; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: "+"; color: var(--gold-deep); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin-top: 10px; color: var(--ink-soft); max-width: 70ch; }

/* Footer */
.site-footer { background: #0a1630; color: var(--on-navy-soft); font-size: 0.92rem; border-top: 3px solid var(--gold); }
.site-footer .wrap { padding-block: 60px 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-grid h4 { margin: 0 0 14px; font-size: 0.72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; color: var(--on-navy); }
.foot-grid a:hover { color: var(--gold); }
.foot-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.foot-brand img { width: 60px; height: 60px; background: var(--white); border-radius: 50%; }
.foot-brand strong { font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; color: var(--white); }
.foot-legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid #22304f; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.78rem; color: #8a93a8; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* WhatsApp float */
.wa-float {
  position: fixed; z-index: 70;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: #25a35a; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .45);
}
.wa-float:hover { background: #1e8c4c; }
.wa-float svg { width: 24px; height: 24px; fill: currentColor; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Cormorant uses old-style figures by default; use standard lining figures for all numbers */
h1, h2, h3, .stats b, .detail-price b, .rates b, .emi-out b, .no-photo span, .feature-cap strong, .steps li::before, .quotes blockquote {
  font-variant-numeric: lining-nums tabular-nums;
}
