/* Page-specific sections. */

/* Intro image with floating label (JSSR home "Who we are") */
.float-img { position: relative; }
.float-img .frame { aspect-ratio: 4 / 5; }
.float-img .chip-card { position: absolute; right: -24px; bottom: 32px; background: var(--white); border: 1px solid var(--gold-line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow-lift); display: flex; gap: 12px; align-items: center; }
.float-img .chip-card .i { color: var(--gold); }
.float-img .chip-card b { display: block; font: 600 16px/1.2 var(--serif); color: var(--forest); }
.float-img .chip-card span { font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 1023px) { .float-img .frame { aspect-ratio: 16 / 10; } .float-img .chip-card { right: 16px; } }

/* Featured DRMS showcase (JSSR home) */
.showcase { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--gutter); }
.showcase .media-card { min-height: 460px; }
.showcase .specs { display: grid; gap: var(--gutter); }
.spec { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--white); border: 1px solid var(--stone); border-radius: var(--r); }
.spec .icon { width: 44px; height: 44px; border-radius: var(--r); display: grid; place-items: center; background: var(--gold-subtle); color: var(--gold-text); flex: none; }
.spec .k { font: 600 11px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.spec .v { font: 600 20px/1.3 var(--serif); color: var(--forest); }
.spec p { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
@media (max-width: 1023px) { .showcase { grid-template-columns: minmax(0, 1fr); } .showcase .media-card { min-height: 360px; } }

/* Asset class cards */
.asset { overflow: hidden; padding: 0; }
.asset .thumb { aspect-ratio: 16 / 10; background: var(--forest); position: relative; overflow: hidden; }
.asset .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.asset:hover .thumb img { transform: scale(1.05); }
.asset .thumb .badge { position: absolute; left: 14px; top: 14px; }
.asset .thumb.art { display: grid; place-items: center; background: linear-gradient(135deg, var(--forest) 0%, var(--botanical) 60%, #2E5240 100%); color: var(--gold-muted); }
.asset .thumb.art .i { width: 56px; height: 56px; stroke-width: 1.1; }
.asset .in { padding: var(--space-lg); display: flex; flex-direction: column; gap: 12px; flex: 1; }

/* Growth tracker */
.tracker { display: grid; gap: var(--gutter); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.track { position: relative; }
.track .big { font: 600 30px/1.1 var(--serif); color: var(--forest); }
.track .src { font-size: 12px; color: var(--ink-3); margin-top: auto; padding-top: 8px; border-top: 1px solid var(--stone); }
.track .src a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 2px; }
.track.lead-card { grid-column: span 2; background: var(--forest); color: var(--on-dark); border-color: var(--gold-line); }
.track.lead-card .big { color: var(--gold-muted); font-size: 40px; }
.track.lead-card p { color: var(--on-dark-2); }
.track.lead-card .src { border-color: rgba(200,161,90,0.2); color: var(--green-tint); }
.track.lead-card .src a { color: var(--gold-muted); }
@media (max-width: 1023px) { .tracker { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .tracker { grid-template-columns: minmax(0, 1fr); } .track.lead-card { grid-column: auto; } }

/* Numbered checklist */
.checks { display: grid; gap: 0; border-top: 1px solid var(--stone); }
.check-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--stone); }
.check-row .n { font: 600 28px/1 var(--serif); color: var(--gold); }
.check-row h3 { font: 600 17px/1.4 var(--sans); color: var(--forest); margin-bottom: 4px; }
.check-row p { color: var(--ink-2); font-size: 15px; }

/* Calculator */
.calc { background: var(--white); border: 1px solid var(--stone); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); box-shadow: var(--shadow-float); }
.calc .inputs { padding: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-md); }
.calc .result { background: var(--forest); color: var(--on-dark); padding: var(--space-xl); display: flex; flex-direction: column; gap: 12px; }
.calc .result .total { font: 600 clamp(36px, 4.4vw, 48px)/1.05 var(--serif); color: var(--gold-muted); }
.calc .result .kv { border-color: rgba(200,161,90,0.18); }
.calc .result .kv .k { color: var(--on-dark-2); }
.calc .result .kv .v { color: var(--on-dark); }
.calc .sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.calc.compact { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 767px) { .calc { grid-template-columns: minmax(0, 1fr); } .calc .inputs, .calc .result { padding: var(--space-lg); } }
input[type="range"] { width: 100%; accent-color: var(--gold); }
.range-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }

/* Partner benefits */
.benefit { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(200,161,90,0.18); }
.benefit .i { color: var(--gold-muted); margin-top: 3px; }
.benefit b { display: block; color: var(--on-dark); font-weight: 600; }
.benefit span { font-size: 14px; color: var(--on-dark-2); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gutter); counter-reset: s; }
.steps li { list-style: none; position: relative; padding-top: 56px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-text); display: grid; place-items: center; font: 600 16px/1 var(--serif); background: var(--white); }
.steps li::after { content: ""; position: absolute; top: 20px; left: 48px; right: -8px; height: 1px; background: var(--gold-line); }
.steps li:last-child::after { display: none; }
.steps b { display: block; font: 600 16px/1.4 var(--sans); color: var(--forest); margin-bottom: 4px; }
.steps span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 1023px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 0; } .steps li { padding: 0 0 24px 60px; } .steps li::after { top: 44px; bottom: 4px; left: 20px; right: auto; width: 1px; height: auto; } }

/* Leadership quote */
.quote { font: 500 italic clamp(22px, 2.6vw, 30px)/1.45 var(--serif); color: var(--forest); border-left: 2px solid var(--gold); padding-left: var(--space-lg); }
.bg-forest .quote { color: var(--on-dark); }
.person { display: flex; flex-direction: column; gap: 12px; }
.person .phbox { aspect-ratio: 4 / 5; min-height: 0; }
.person b { font: 600 18px/1.3 var(--serif); color: var(--forest); }
.person span { font-size: 13px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; }

/* Timeline */
.timeline { position: relative; display: grid; gap: var(--space-lg); padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: var(--gold-line); }
.timeline .t { position: relative; }
.timeline .t::before { content: ""; position: absolute; left: -32px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--gold); }
.timeline .yr { font: 600 13px/1 var(--sans); letter-spacing: 0.14em; color: var(--gold-text); text-transform: uppercase; }
.timeline h3 { font: 600 18px/1.4 var(--serif); color: var(--forest); margin-top: 6px; }

/* Reviews */
.review { gap: 16px; }
.review .stars { color: var(--gold); letter-spacing: 3px; font-size: 16px; }
.review blockquote { margin: 0; font: 500 italic 18px/1.6 var(--serif); color: var(--charcoal); }

/* Office / contact */
.office { display: grid; gap: 18px; }
.office-row { display: flex; gap: 14px; align-items: flex-start; }
.office-row .icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold-line); display: grid; place-items: center; color: var(--gold-muted); flex: none; }
.bg-white .office-row .icon, .bg-low .office-row .icon, .bg-ivory .office-row .icon { color: var(--gold-text); }
.office-row .k { font: 600 11px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.on-dark .office-row .k, .bg-forest .office-row .k { color: var(--gold-muted); }
.office-row .v { font-size: 15px; margin-top: 2px; }
.map-tap { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--stone); aspect-ratio: 4 / 3; background: var(--surface-mid); }
.map-tap img { width: 100%; height: 100%; object-fit: cover; }
.map-tap iframe { width: 100%; height: 100%; border: 0; }
.map-tap .over { position: absolute; inset: auto 16px 16px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: rgba(8,36,23,0.9); color: var(--on-dark); border-radius: var(--r); padding: 12px 16px; font-size: 13px; border: 1px solid var(--gold-line); }

/* DRMS: four pillars */
.pillar { padding: var(--space-xl); }
.pillar .tag { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--stone); font: 600 11px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }

/* DRMS: plot explorer */
.plots-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--gutter); align-items: start; }
@media (max-width: 1023px) { .plots-wrap { grid-template-columns: minmax(0, 1fr); } }
.plot-map { position: relative; background: var(--forest-deep); border: 1px solid var(--gold-line); border-radius: var(--r-lg); padding: 28px 22px 22px; color: var(--on-dark); overflow-x: auto; }
.plot-map .north { position: absolute; top: 10px; right: 14px; font: 600 11px/1 var(--sans); letter-spacing: 0.14em; color: var(--gold-muted); }
.plot-grid { display: grid; grid-template-columns: repeat(24, minmax(22px, 1fr)); gap: 4px; min-width: 620px; }
.plot { aspect-ratio: 1 / 1.35; border-radius: 2px; border: 1px solid rgba(200,161,90,0.35); background: rgba(134,164,144,0.18); color: var(--on-dark); font: 600 9px/1 var(--sans); display: grid; place-items: center; padding: 0; transition: background 0.2s, transform 0.2s, border-color 0.2s; }
.plot:hover { background: rgba(200,161,90,0.35); transform: translateY(-1px); }
.plot.s140 { background: rgba(134,164,144,0.16); }
.plot.s150 { background: rgba(134,164,144,0.3); }
.plot.s160 { background: rgba(134,164,144,0.46); }
.plot.booked { background: repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 4px, transparent 4px 8px); color: rgba(242,241,236,0.4); border-style: dashed; }
.plot.sel { background: var(--gold); color: var(--forest-deep); border-color: var(--gold); box-shadow: 0 0 0 2px rgba(200,161,90,0.4); }
.plot.dim { opacity: 0.22; }
.road { grid-column: 1 / -1; height: 26px; border-radius: 2px; background: rgba(255,255,255,0.06); border-block: 1px dashed rgba(223,193,137,0.35); display: grid; place-items: center; font: 600 9px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-muted); }
.park { grid-column: span 6; grid-row: span 2; border-radius: 4px; background: radial-gradient(circle at 50% 50%, rgba(37,120,70,0.55), rgba(31,58,43,0.6)); border: 1px solid rgba(134,164,144,0.5); display: grid; place-items: center; text-align: center; font: 600 10px/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark); }
.park.club { background: rgba(200,161,90,0.25); border-color: var(--gold-line); color: var(--gold-muted); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; font-size: 12px; color: var(--on-dark-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 2px; border: 1px solid rgba(200,161,90,0.35); display: inline-block; }
.plot-panel { position: sticky; top: calc(var(--header-h) + 16px); }
.plot-panel .sel-title { font: 600 26px/1.2 var(--serif); color: var(--forest); }
.plot-panel .est { font: 600 30px/1 var(--serif); color: var(--forest); }

/* DRMS: location list */
.dist { display: grid; }
.dist-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--stone); }
.dist-row .icon { width: 42px; height: 42px; border-radius: var(--r); background: var(--gold-subtle); color: var(--gold-text); display: grid; place-items: center; flex: none; }
.dist-row .name { flex: 1; }
.dist-row .name b { display: block; font-weight: 600; color: var(--forest); }
.dist-row .name span { font-size: 13px; color: var(--ink-3); }
.dist-row .km { font: 600 20px/1 var(--serif); color: var(--gold-text); white-space: nowrap; }

/* DRMS: amenities feature */
.amen-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: var(--forest); color: var(--on-dark); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--gold-line); }
.amen-hero .img { min-height: 380px; position: relative; }
.amen-hero .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.amen-hero .txt { padding: var(--space-2xl) var(--space-xl); display: flex; flex-direction: column; justify-content: center; gap: var(--space-md); }
@media (max-width: 1023px) { .amen-hero { grid-template-columns: minmax(0, 1fr); } .amen-hero .img { min-height: 260px; } }
.amen { padding: 0; overflow: hidden; }
.amen .img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-mid); }
.amen .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.amen:hover .img img { transform: scale(1.05); }
.amen .in { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.amen h3 { font: 600 19px/1.3 var(--serif); color: var(--forest); }

/* DRMS: gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 12px; }
.gallery a { position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--stone); background: var(--surface-mid); }
.gallery a img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery a .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(27,29,23,0.85)); color: var(--white); font-size: 13px; font-weight: 500; }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
.gallery .phbox { min-height: 0; height: 100%; }
.gallery [hidden] { display: none; }
@media (max-width: 1023px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; } }
@media (max-width: 479px) { .gallery .wide { grid-column: span 2; } .gallery .tall { grid-row: span 1; } }

/* DRMS: documents */
.doc { gap: 10px; }
.doc .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

/* Investor: remote features */
.remote-feat { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(200,161,90,0.18); }
.remote-feat .icon { width: 48px; height: 48px; border-radius: var(--r); border: 1px solid var(--gold-line); color: var(--gold-muted); display: grid; place-items: center; flex: none; }
.remote-feat b { display: block; color: var(--on-dark); font: 600 17px/1.4 var(--sans); }
.remote-feat span { font-size: 14px; color: var(--on-dark-2); }

/* Hindi page tweaks */
:lang(hi) .eyebrow { letter-spacing: 0.04em; }
:lang(hi) .btn { letter-spacing: 0.02em; text-transform: none; font-size: 15px; }
:lang(hi) .factbar .k, :lang(hi) .stat .k, :lang(hi) .spec .k { letter-spacing: 0.02em; }
:lang(hi) .faq summary { font-family: var(--hindi); }

/* Thank-you / 404 */
.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: var(--space-3xl); }
.center-page .seal { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto var(--space-lg); background: var(--gold-subtle); border: 1px solid var(--gold); color: var(--gold-text); }
.center-page .seal .i { width: 40px; height: 40px; }

/* Legal pages */
.legal-doc h2 { font: 600 24px/1.3 var(--serif); color: var(--forest); margin: var(--space-xl) 0 var(--space-sm); }
.legal-doc p, .legal-doc li { color: var(--ink-2); line-height: 1.75; }
.legal-doc ul { padding-left: 20px; display: grid; gap: 6px; margin-top: 8px; }

/* Large feature card: image left, details right */
.feature-card { padding: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.feature-card > .frame { border: 0; border-radius: 0; min-height: 360px; }
.feature-card > .frame img { position: absolute; inset: 0; }
@media (max-width: 1023px) { .feature-card { grid-template-columns: minmax(0, 1fr); } .feature-card > .frame { min-height: 260px; } }
/* CTA band with a photo behind a dark green wash (set the image with style="--photo:url(...)"). */
.cta-band.photo { background: linear-gradient(90deg, rgba(8, 36, 23, 0.94) 0%, rgba(8, 36, 23, 0.8) 55%, rgba(8, 36, 23, 0.6) 100%), var(--photo) center / cover no-repeat, var(--forest); }
/* Brochure plans and maps: show the whole image (no cropping), click to enlarge. */
.plan-figure { display: block; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--stone); background: var(--white); }
.plan-figure img { width: 100%; height: auto; display: block; }
.plan-figure + .note, .plan-cap { margin-top: 10px; }
/* Interactive layout plan (plots.js). */
.layout-svg { display: block; width: 100%; height: auto; min-width: 760px; }
.layout-svg .lp-plot { fill: rgba(200, 161, 90, 0); stroke: none; cursor: pointer; outline: none; transition: fill 0.15s; }
.layout-svg .lp-plot:hover, .layout-svg .lp-plot:focus-visible { fill: rgba(200, 161, 90, 0.35); stroke: var(--gold); stroke-width: 3; }
.layout-svg .lp-plot.sel { fill: rgba(200, 161, 90, 0.6); stroke: var(--forest); stroke-width: 4; }
.plot-map.official { background: #fff; color: var(--ink, #1f2a24); padding: 16px; }
.plot-map.official .legend { color: var(--muted, #5b6460); }
.plot-map.official .swipe-hint { color: var(--gold-text); }
.swipe-hint { display: none; margin: 0 0 10px; font: 600 11px/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-muted); }
@media (max-width: 767px) { .swipe-hint { display: block; } }

/* Layout balance (empty-space fixes, Oct 2026) */
/* Short column beside a long one: keep it in view on desktop instead of leaving a blank band */
@media (min-width: 1024px) {
  .split.top > .sticky-col { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}
/* Short text column beside a form or long text: centre it vertically */
.split.top.mid { align-items: center; }
/* Home reviews: long review on the left, the two short ones stacked beside it (no half-empty cards) */
@media (min-width: 640px) {
  .reviews-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .reviews-grid > :first-child { grid-row: span 2; }
}
/* Projects: icon-only placeholder panels were 16:10 blocks of empty green */
.asset .thumb.art { aspect-ratio: auto; height: 132px; }
/* Growth tracker: a lone last card fills its row instead of leaving 2/3 of it blank */
.tracker > .lead-card:first-child ~ .track:last-child:nth-child(3n) { grid-column: 1 / -1; }
@media (max-width: 1023px) {
  .tracker > .lead-card:first-child ~ .track:last-child:nth-child(3n) { grid-column: auto; }
  .tracker > .lead-card:first-child ~ .track:last-child:nth-child(2n) { grid-column: 1 / -1; }
}
/* DRMS plots: give the long "Extra charges" spec more width so the row's cards stay even */
@media (min-width: 1024px) { .spec-row { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.55fr); } }
/* DRMS gallery: plan thumbnails span two columns so the last row is full */
.gallery a.plan-thumb { background: var(--white); }
.gallery a.plan-thumb img { object-position: center 45%; }
/* Five-up fact bars on phones: last fact takes the full row */
@media (max-width: 639px) { .factbar .container > .fact:last-child:nth-child(odd) { grid-column: 1 / -1; } }
