/* =====================================================================
   Nagpur Plotted Land Growth dashboard — loaded only with the homepage growth section.
   Desktop: image | performance | chart in one card; compare row; accordions.
   Mobile: name + figure beside a thumbnail, three metric columns, full-width chart, swipeable compare cards.
   ===================================================================== */
.gd-section {
  --gd-navy: var(--navy, #153F78);
  --gd-navy-deep: var(--navy-deep, #0D2A56);
  --gd-green: #159447;
  --gd-line: #E3E8EF;
  --gd-muted: #66758A;
  --gd-shadow: 0 12px 32px -16px rgba(13, 42, 86, .25);
  background: linear-gradient(180deg, #F5F8FC 0%, #FFFFFF 100%);
}
.gd-section .icon { width: 20px; height: 20px; }

/* Header */
.gd-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 28px; margin-bottom: 20px; }
.gd-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--gd-green); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.gd-eyebrow .icon { width: 18px; height: 18px; }
.gd-section .gd-head h2 { margin: 0; color: var(--gd-navy-deep); font-family: var(--font-serif); font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 600; line-height: 1.06; letter-spacing: -.015em; }
.gd-hl { color: var(--gd-green); }
.gd-lead { max-width: 64ch; margin: 10px 0 0; color: var(--gd-muted); font-size: 1.04rem; }
.gd-trust { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 16px; border: 1px solid var(--gd-line); border-radius: 14px; background: rgba(255, 255, 255, .92); box-shadow: var(--gd-shadow); }
.gd-trust-ic { display: grid; width: 40px; height: 40px; flex: none; place-items: center; border-radius: 12px; }
.gd-trust strong { display: block; color: var(--gd-navy-deep); font-size: .9rem; }
.gd-trust small { display: block; color: var(--gd-muted); font-size: .76rem; }
.gd-trust.is-verified .gd-trust-ic { background: rgba(21, 148, 71, .12); color: var(--gd-green); }
.gd-trust.is-pending { border-color: #F3D9A4; background: #FFFAF0; }
.gd-trust.is-pending .gd-trust-ic { background: #FDEFD3; color: #B26A00; }

/* Area picker */
.gd-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 20px; }
.gd-picker label { display: inline-flex; align-items: center; gap: 8px; color: var(--gd-navy-deep); font-weight: 700; }
.gd-picker label .icon { width: 22px; height: 22px; color: var(--gd-navy); }
.gd-picker select { min-width: min(100%, 340px); min-height: 50px; padding: 0 44px 0 16px; border: 1px solid #D6DEE7; border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230D2A56' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 16px center; box-shadow: 0 6px 18px -10px rgba(13, 42, 86, .35); color: var(--gd-navy-deep); font: inherit; font-weight: 600; appearance: none; cursor: pointer; }
.gd-picker select:focus-visible { outline: 3px solid rgba(21, 148, 71, .35); outline-offset: 2px; }

/* Main card */
.gd-card { display: grid; grid-template-columns: minmax(0, 30fr) minmax(0, 30fr) minmax(0, 40fr); gap: 0 28px; padding: 14px; border: 1px solid var(--gd-line); border-radius: 22px; background: #fff; box-shadow: var(--gd-shadow); transition: opacity .2s; }
.gd-card.is-loading { opacity: .55; pointer-events: none; }
.gd-media { position: relative; min-height: 320px; overflow: hidden; border-radius: 16px; background: radial-gradient(120% 90% at 85% 0%, rgba(52, 211, 153, .35), transparent 60%), linear-gradient(150deg, #1E5A8F, var(--gd-navy-deep) 80%); }
.gd-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gd-media-ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .22); }
.gd-media-ph .icon { width: 96px; height: 96px; }
.gd-media-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(7, 21, 45, .85) 100%); }
.gd-media-copy { position: absolute; right: 18px; bottom: 16px; left: 18px; display: grid; gap: 4px; color: #fff; }
.gd-media-copy strong { font-family: var(--font-display); font-size: 1.12rem; }
.gd-media-copy span { color: rgba(255, 255, 255, .85); font-size: .84rem; line-height: 1.45; }
.gd-media-copy span:empty { display: none; }
.gd-perf { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 12px 0; }
.gd-name { margin: 0; color: var(--gd-navy-deep); font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.gd-desc { display: none; margin: -6px 0 0; color: var(--gd-muted); font-size: .9rem; }
.gd-type { margin: -6px 0 0; color: var(--gd-muted); font-size: .8rem; font-weight: 600; }
.gd-series { display: flex; flex-wrap: wrap; gap: 6px; }
.gd-series[hidden] { display: none; }
.gd-series button, .gd-toggle button { min-height: 34px; padding: 6px 14px; border: 0; border-radius: 999px; background: transparent; color: #334155; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; }
.gd-series button { border: 1px solid var(--gd-line); }
.gd-series button[aria-pressed="true"] { border-color: var(--gd-green); background: rgba(21, 148, 71, .1); color: var(--gd-green); }
.gd-appr { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(21, 148, 71, .1), rgba(21, 148, 71, .04)); }
.gd-appr-ic { display: grid; width: 52px; height: 52px; flex: none; place-items: center; border-radius: 50%; background: rgba(21, 148, 71, .15); color: var(--gd-green); }
.gd-appr-ic .icon { width: 26px; height: 26px; }
.gd-appr strong { color: var(--gd-green); font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.gd-appr span:last-child { color: #475569; font-size: .88rem; line-height: 1.35; }
.gd-appr.is-insufficient { background: #F5F7FA; }
.gd-appr.is-insufficient strong { color: var(--gd-navy-deep); font-size: 1.25rem; }
.gd-appr.is-insufficient .gd-appr-ic { background: #E7ECF2; color: var(--gd-muted); }
.gd-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.gd-metrics > div { padding: 2px 12px; }
.gd-metrics > div:first-child { padding-left: 0; }
.gd-metrics > div + div { border-left: 1px solid var(--gd-line); }
.gd-metrics dt { color: var(--gd-navy-deep); font-family: var(--font-display); font-size: 1.32rem; font-weight: 800; letter-spacing: -.01em; }
.gd-metrics dd { margin: 2px 0 0; color: var(--gd-muted); font-size: .8rem; line-height: 1.35; }
.gd-cta { gap: 10px; min-height: 52px; border-radius: 12px; }
.gd-cta-bottom { display: none; }

/* Chart */
.gd-chart-wrap { display: flex; flex-direction: column; min-width: 0; padding: 12px 6px 6px 22px; border-left: 1px solid var(--gd-line); }
.gd-chart-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.gd-chart-head h4 { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--gd-navy-deep); font-size: 1.02rem; font-weight: 700; }
.gd-chart-ic { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: rgba(21, 148, 71, .1); color: var(--gd-green); }
.gd-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--gd-line); border-radius: 999px; background: #F5F7FA; }
.gd-toggle button[aria-pressed="true"] { background: var(--gd-navy-deep); color: #fff; }
.gd-toggle button:focus-visible, .gd-series button:focus-visible { outline: 3px solid rgba(21, 148, 71, .45); outline-offset: 2px; }
.gd-chart { position: relative; flex: 1; height: 300px; min-height: 260px; }
.gd-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.gd-grid { stroke: #EDF1F5; stroke-width: 1; }
.gd-axis { fill: #7A8797; font-size: 12px; font-family: var(--font, sans-serif); }
.gd-line { stroke: var(--gd-green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: stroke-dashoffset 1.1s cubic-bezier(.22, .61, .36, 1); }
.gd-bar { fill: rgba(21, 148, 71, .55); transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.gd-bar.is-latest { fill: var(--gd-green); }
.gd-dot { fill: #fff; stroke: var(--gd-green); stroke-width: 3; }
.gd-pt.is-latest .gd-dot { fill: var(--gd-green); stroke: #fff; }
.gd-halo { fill: rgba(21, 148, 71, .18); }
.gd-hit { fill: transparent; cursor: pointer; }
.gd-pt:focus { outline: none; }
.gd-pt:focus-visible .gd-dot { stroke: var(--gd-navy-deep); stroke-width: 4; }
.gd-latest { fill: var(--gd-navy-deep); font-size: 12px; font-weight: 800; font-family: var(--font-display, sans-serif); }
.gd-tip { position: absolute; z-index: 5; display: grid; gap: 1px; padding: 7px 10px; border-radius: 10px; background: var(--gd-navy-deep); box-shadow: 0 10px 24px -10px rgba(7, 21, 45, .6); color: #fff; font-size: .78rem; white-space: nowrap; transform: translate(-50%, calc(-100% - 14px)); pointer-events: none; }
.gd-tip strong { font-size: .92rem; }
.gd-tip span { color: rgba(255, 255, 255, .8); }
.gd-tip[hidden] { display: none; }
.gd-chart-fallback { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 16px 0; color: var(--gd-muted); list-style: none; }
.gd-chart-empty { color: var(--gd-muted); }
.gd-chart-note { margin: 6px 0 0; color: var(--gd-muted); font-size: .74rem; }

/* Compare */
.gd-compare { margin-top: 18px; padding: 18px 20px 20px; border: 1px solid var(--gd-line); border-radius: 22px; background: #fff; box-shadow: var(--gd-shadow); }
.gd-compare h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--gd-navy-deep); font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; }
.gd-compare h3 small { color: var(--gd-muted); font-size: .85rem; font-weight: 600; }
.gd-compare-ic { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: rgba(21, 148, 71, .1); color: var(--gd-green); }
.gd-compare-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.gd-cmp { display: grid; gap: 10px; width: 100%; height: 100%; padding: 14px 16px; border: 1px solid var(--gd-line); border-radius: 16px; background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.gd-cmp:hover { border-color: color-mix(in srgb, var(--c) 45%, #fff); box-shadow: 0 12px 26px -16px rgba(13, 42, 86, .35); transform: translateY(-2px); }
.gd-cmp.is-active { border-color: var(--c); background: color-mix(in srgb, var(--c) 5%, #fff); }
.gd-cmp:focus-visible { outline: 3px solid rgba(21, 148, 71, .5); outline-offset: 2px; }
.gd-cmp-top { display: flex; align-items: center; gap: 10px; }
.gd-cmp-top strong { flex: 1; min-width: 0; color: var(--gd-navy-deep); font-size: .98rem; }
.gd-cmp-pin { display: grid; width: 32px; height: 32px; flex: none; place-items: center; border-radius: 50%; background: var(--c); color: #fff; }
.gd-cmp-pin .icon { width: 16px; height: 16px; }
.gd-cmp-go .icon { width: 16px; height: 16px; color: var(--gd-muted); }
.gd-cmp-body { display: grid; grid-template-columns: auto auto minmax(80px, 1fr); align-items: center; gap: 14px; }
.gd-cmp-val, .gd-cmp-appr { display: grid; }
.gd-cmp-appr { padding-left: 14px; border-left: 1px solid var(--gd-line); }
.gd-cmp b { color: var(--gd-navy-deep); font-family: var(--font-display); font-size: 1.25rem; }
.gd-cmp-appr b { color: var(--gd-green); }
.gd-cmp-appr b.gd-na { color: var(--gd-muted); }
.gd-cmp small { color: var(--gd-muted); font-size: .76rem; }
.gd-spark { width: 100%; height: 40px; }

/* Accordions */
.gd-accordions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.gd-acc { border: 1px solid var(--gd-line); border-radius: 16px; background: #fff; box-shadow: 0 6px 18px -14px rgba(13, 42, 86, .3); }
.gd-acc[open] { grid-column: 1 / -1; }
.gd-acc summary { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 18px; color: var(--gd-navy-deep); font-weight: 700; list-style: none; cursor: pointer; }
.gd-acc summary::-webkit-details-marker { display: none; }
.gd-acc summary::after { content: ""; width: 9px; height: 9px; margin-left: auto; border-right: 2px solid var(--gd-navy-deep); border-bottom: 2px solid var(--gd-navy-deep); transform: rotate(-45deg); transition: transform .2s; }
.gd-acc[open] summary::after { transform: rotate(45deg); }
.gd-acc summary small { color: var(--gd-muted); font-weight: 600; }
.gd-acc summary:focus-visible { outline: 3px solid rgba(21, 148, 71, .45); outline-offset: -3px; border-radius: 16px; }
.gd-acc-ic { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: #EEF3F9; color: var(--gd-navy); }
.gd-table-wrap { margin: 0 18px 18px; overflow-x: auto; border: 1px solid var(--gd-line); border-radius: 12px; }
.gd-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: .84rem; }
.gd-table th, .gd-table td { padding: 10px 12px; border-bottom: 1px solid #EEF1F4; text-align: left; vertical-align: top; }
.gd-table th { background: #F7F9FB; color: var(--gd-navy-deep); font-size: .76rem; letter-spacing: .02em; white-space: nowrap; }
.gd-table tr:last-child td { border-bottom: 0; }
.gd-table td:nth-child(3) { font-weight: 700; white-space: nowrap; }
.gd-table a { color: var(--gd-navy); }
.gd-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.gd-badge.is-ok { background: rgba(21, 148, 71, .12); color: #0F6E33; }
.gd-badge.is-warn { background: #FDEFD3; color: #8A5300; }
.gd-method { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; padding: 0 18px 8px; }
.gd-method dt { color: var(--gd-navy-deep); font-size: .9rem; font-weight: 700; }
.gd-method dd { margin: 3px 0 0; color: #475569; font-size: .86rem; line-height: 1.55; }
.gd-method-link { margin: 6px 18px 18px; font-size: .84rem; }
.gd-method-link a { display: inline-flex; align-items: center; gap: 6px; color: var(--gd-navy); font-weight: 700; }
.gd-disclaimer { margin: 14px 2px 0; color: var(--gd-muted); font-size: .78rem; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .gd-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 24px; }
  .gd-chart-wrap { grid-column: 1 / -1; padding: 16px 4px 4px; border-top: 1px solid var(--gd-line); border-left: 0; }
  .gd-media { min-height: 280px; }
}

/* ---------- Mobile: follows the mobile reference ---------- */
@media (max-width: 767px) {
  .gd-head { align-items: flex-start; margin-bottom: 16px; }
  .gd-section .gd-head h2 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .gd-lead { font-size: .95rem; }
  .gd-trust { padding: 8px 12px; box-shadow: none; }
  .gd-trust-ic { width: 32px; height: 32px; }
  .gd-picker { display: grid; gap: 0; padding: 10px 14px 12px 50px; position: relative; border: 1px solid var(--gd-line); border-radius: 16px; background: #fff; box-shadow: var(--gd-shadow); }
  .gd-picker label { position: absolute; top: 12px; left: 14px; right: 14px; display: block; color: var(--gd-muted); font-size: .8rem; font-weight: 600; pointer-events: none; }
  .gd-picker label span { margin-left: 36px; }
  .gd-picker label .icon { position: absolute; top: 12px; left: 0; color: var(--gd-green); }
  .gd-picker select { min-width: 0; width: 100%; min-height: 48px; padding: 18px 36px 0 0; border: 0; background-position: right 2px center; box-shadow: none; font-size: 1rem; font-weight: 700; }
  .gd-card { grid-template-columns: minmax(0, 1fr) 108px; gap: 0 14px; padding: 18px 16px; border-radius: 20px; }
  .gd-perf { display: contents; }
  .gd-media { grid-column: 2; grid-row: 1 / span 3; align-self: start; min-height: 0; height: 108px; border-radius: 14px; }
  .gd-media-copy, .gd-media-shade { display: none; }
  .gd-media-ph .icon { width: 44px; height: 44px; }
  .gd-name { grid-column: 1; grid-row: 1; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; }
  .gd-desc { display: block; grid-column: 1; grid-row: 2; margin: 6px 0 0; font-size: .86rem; }
  .gd-desc[hidden] { display: none; }
  .gd-appr { grid-column: 1 / -1; grid-row: 4; margin-top: 14px; padding: 0; background: none; }
  .gd-appr.is-insufficient { background: none; }
  .gd-appr-ic { width: 46px; height: 46px; }
  .gd-series { grid-column: 1 / -1; grid-row: 5; margin-top: 12px; }
  .gd-type { grid-column: 1 / -1; grid-row: 6; margin: 10px 0 0; }
  .gd-metrics { grid-column: 1 / -1; grid-row: 7; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gd-line); }
  .gd-metrics > div { padding: 0 8px; }
  .gd-metrics dt { font-size: 1.08rem; }
  .gd-metrics dd { font-size: .74rem; }
  .gd-card .gd-cta { display: none; }
  .gd-chart-wrap { grid-column: 1 / -1; grid-row: 8; margin-top: 14px; padding: 14px 0 0; border-top: 1px solid var(--gd-line); }
  .gd-chart-head h4 { font-size: .92rem; }
  .gd-chart-ic { display: none; }
  .gd-chart { height: 240px; min-height: 220px; }
  .gd-toggle button { padding: 5px 11px; font-size: .76rem; }
  .gd-compare { margin-top: 14px; padding: 14px; border: 0; background: transparent; box-shadow: none; }
  .gd-compare h3 { font-size: 1rem; }
  .gd-compare-list { display: flex; gap: 10px; margin: 0 -16px; padding: 2px 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gd-compare-list::-webkit-scrollbar { display: none; }
  .gd-compare-list > li { flex: 0 0 min(72vw, 240px); scroll-snap-align: start; }
  .gd-cmp { padding: 12px 14px; }
  .gd-cmp-body { grid-template-columns: auto auto; }
  .gd-cmp-body .gd-spark { display: none; }
  .gd-cmp b { font-size: 1.1rem; }
  .gd-accordions { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 12px; }
  .gd-acc summary { min-height: 56px; font-size: .94rem; }
  .gd-table-wrap { margin: 0 12px 14px; }
  .gd-method { grid-template-columns: minmax(0, 1fr); padding: 0 14px 6px; }
  .gd-cta-bottom { display: flex; width: 100%; margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .gd-line, .gd-bar, .gd-card, .gd-cmp, .gd-acc summary::after { transition: none; }
}

/* Desktop picker sits inline with its label (a global rule otherwise stretches selects) */
@media (min-width: 768px) { .gd-picker select { width: auto; max-width: 420px; } }
