/* ==========================================================================
   LAND MARSHAL - MASTER STYLESHEET
   Accurately crafted to match the user's curated Paint wireframe
   (Home Page of Landmarshal.png & Maps Section.png)
   with design inspiration from:
     - Maps & Heatmap: estatehive.in/heatmap (Bangalore price points & yields)
     - Compare Tool: estatehive.in/compare (Side-by-side project & locality compare)
     - Data Analytics: rera-dashboard.vercel.app (K-RERA quarterly explorer)
   ========================================================================== */

:root {
  /* Brand Colors */
  --primary-green: #6eba01;
  --primary-green-hover: #5fa301;
  --emerald-dark: #14532d;
  --gold-accent: #b58434;
  --gold-light: #d4a755;
  --gold-dark: #8c6422;
  --navy-dark: #0f172a;
  --navy-surface: #182238;
  --navy-card: #1f2b45;
  --slate-dark: #1e293b;
  --slate-muted: #64748b;
  --slate-light: #f1f5f9;
  --border-color: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-serif: 'Lora', 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Poppins', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.2);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: #1e293b;
  background-color: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.container-wide {
  width: 94%;
  max-width: 1440px;
  margin: 0 auto;
}

/* ==========================================================================
   TOP VERSION SWITCHER
   ========================================================================== */
.top-version-bar {
  background: #0b0f19;
  color: #e2e8f0;
  font-size: 0.8rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
}

.top-version-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.top-pill {
  background: rgba(110, 186, 1, 0.18);
  color: #a3f721;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(110, 186, 1, 0.3);
}

.version-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v-link {
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 600;
}

.v-link.active {
  background: var(--primary-green);
  color: #ffffff;
}

.v-link:not(.active) {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.v-link:not(.active):hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   HEADER / NAVBAR (Exact from Home Page of Landmarshal.png)
   ========================================================================== */
.site-nav-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.brand-wrap {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 50px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  color: #334155;
  padding: 6px 0;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-item:hover,
.nav-item.active {
  color: var(--primary-green);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--primary-green);
  border-radius: 2px;
}

.nav-btn-search {
  background: var(--primary-green);
  color: #ffffff;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(110, 186, 1, 0.25);
  transition: var(--transition);
}

.nav-btn-search:hover {
  background: var(--primary-green-hover);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #1e293b;
}

/* ==========================================================================
   SECTION 1: HERO SECTION (SPLIT: CONTENT + HEATMAP PREVIEW)
   (Matches exact Paint layout!)
   ========================================================================== */
.hero-split-section {
  padding: 44px 0 56px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 40px;
  align-items: center;
}

.hero-text-col {
  padding-right: 12px;
}

.hero-h1 {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.16;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-h1 .gold-text {
  color: var(--gold-accent);
  font-style: normal;
  display: block;
}

.hero-subtitle-bullet {
  font-family: var(--font-sans);
  font-size: 1.22rem;
  font-weight: 700;
  color: #14532d;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-subtitle-dash {
  width: 28px;
  height: 3px;
  background: var(--gold-accent);
  display: inline-block;
  border-radius: 2px;
}

.hero-body-p {
  font-size: 1.04rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 28px;
}

/* Hero Search Box (Exact from Paint: Search icon + input + 'Search Facts' gold button) */
.hero-search-wrapper {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 6px 8px 6px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  max-width: 590px;
  transition: var(--transition);
}

.hero-search-wrapper:focus-within {
  border-color: var(--gold-accent);
  box-shadow: 0 6px 22px rgba(181, 132, 52, 0.2);
}

.hero-search-lens {
  color: #64748b;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: #1e293b;
  background: transparent;
}

.hero-search-input::placeholder {
  color: #94a3b8;
  font-size: 0.92rem;
}

.btn-search-facts {
  background: var(--gold-accent);
  color: #ffffff;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-search-facts:hover {
  background: var(--gold-dark);
}

/* Right Side: Bangalore Property Price Heatmap Card */
.hero-map-preview-card {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  height: 450px;
  display: flex;
  flex-direction: column;
}

.hero-map-header {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 15;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  padding: 5px 14px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.hero-map-zoom-controls {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.map-zoom-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
}

.map-zoom-btn:last-child {
  border-bottom: none;
}

.map-zoom-btn:hover {
  background: #f1f5f9;
}

.hero-map-container {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #eef2f6;
  z-index: 5;
}

.hero-map-container,
.bangalore-interactive-map {
  filter: none;
  overflow: hidden;
  z-index: 5;
}

.hero-map-header {
  z-index: 400;
}

.hero-map-zoom-controls {
  z-index: 400;
}

/* Breakdown Inspector Chips (Builders & Talukas in Regulatory Explorer) */
.rera-breakdown-chip {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 11px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.rera-breakdown-chip:hover {
  border-color: var(--primary-green);
  background: #f0fdf4;
}

.rera-breakdown-chip.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.rera-breakdown-chip .chip-count {
  background: #e2e8f0;
  color: #0f172a;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
}

.rera-breakdown-chip.active .chip-count {
  background: #a3f721;
  color: #0f172a;
}

.rera-breakdown-chip .chip-delay {
  color: #dc2626;
  font-size: 0.68rem;
  font-weight: 700;
}

.rera-breakdown-chip.active .chip-delay {
  color: #fca5a5;
}

/* ==========================================================================
   MAP PINS / HEATMAP MARKERS (Exact 2-line dark pill style from Paint!)
   ========================================================================== */
.map-marker-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 8;
  transition: transform 0.2s ease, z-index 0.2s ease;
}

.map-marker-pin:hover,
.map-marker-pin.active {
  transform: translate(-50%, -50%) scale(1.14);
  z-index: 25;
}

.marker-pill {
  background: rgba(24, 30, 41, 0.94);
  color: #ffffff;
  padding: 4px 9px;
  border-radius: 5px;
  font-family: var(--font-sans);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.map-marker-pin.active .marker-pill {
  border-color: #a3f721;
  box-shadow: 0 4px 14px rgba(110, 186, 1, 0.45);
}

.marker-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.marker-price {
  font-weight: 800;
  font-size: 0.68rem;
  padding: 0;
  background: transparent !important;
}

/* Heatmap Price Text Color Grades (Matches exact Paint screenshot!) */
.price-green {
  color: #84cc16 !important;
}

.price-lime {
  color: #a3e635 !important;
}

.price-gold {
  color: #facc15 !important;
}

.price-orange {
  color: #fb923c !important;
}

.price-red {
  color: #f87171 !important;
}

.marker-dot-ring {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(24, 30, 41, 0.94);
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
}

/* ==========================================================================
   SECTION 2: "WHAT YOU CAN DISCOVER" (4 CARDS FROM PAINT)
   ========================================================================== */
.discover-section {
  padding: 72px 0 64px;
  background-color: #ffffff;
  text-align: center;
}

.eyebrow-caps {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: #4e5ed0;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-h2 {
  font-family: var(--font-sans);
  font-size: 2.25rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.28;
  margin-bottom: 14px;
}

.section-intro-p {
  font-size: 0.98rem;
  color: #64748b;
  max-width: 760px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

.four-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.pillar-card-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 24px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.pillar-card-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.pillar-badge-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 20px;
}

.badge-scale {
  background: #eff6ff;
  color: #2563eb;
}

.badge-pin {
  background: #fdf2f8;
  color: #db2777;
}

.badge-rocket {
  background: #faf5ff;
  color: #9333ea;
}

.badge-shield {
  background: #f0fdf4;
  color: #16a34a;
}

.pillar-h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.pillar-p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.75;
  margin-bottom: 24px;
}

.pillar-arrow-link {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  color: #4e5ed0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.pillar-arrow-link:hover {
  color: var(--primary-green);
  gap: 9px;
}

/* ==========================================================================
   CHAPTERS 03, 04, 05: DOSSIER TWO-COLUMN ARCHITECTURE WITH STICKY TOC
   (Matches exact Paint layout where TOC sits on left of Chapters 03-05!)
   ========================================================================== */
.chapter-section {
  padding: 64px 0 72px;
  background-color: #fafbfc;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.dossier-layout-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

/* Left Table of Contents */
.toc-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  position: sticky;
  top: 105px;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
}

.toc-item {
  margin-bottom: 6px;
}

.toc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #475569;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  line-height: 1.35;
}

.toc-link::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
}

.toc-link.active,
.toc-link:hover {
  background: #f0fdf4;
  color: #14532d;
  font-weight: 700;
}

.toc-link.active::before {
  background: #16a34a;
}

/* Main Chapter Content Blocks */
.chapter-block {
  margin-bottom: 68px;
  scroll-margin-top: 105px;
}

.chapter-block:last-child {
  margin-bottom: 0;
}

.chapter-category {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.chapter-category::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold-accent);
  display: inline-block;
}

.chapter-h2 {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.chapter-intro {
  font-size: 1rem;
  color: #475569;
  margin-bottom: 32px;
  line-height: 1.75;
}

.six-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.six-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-top: 3px solid #14532d;
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.six-card.gold-top {
  border-top-color: var(--gold-accent);
}

.six-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.six-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.six-card.gold-top .six-card-icon {
  background: #fef9c3;
}

.six-card-h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.six-card-p {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 18px;
}

.six-card-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: #14532d;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

/* ==========================================================================
   CHAPTER 04 • BANGALORE MICRO-MARKETS MATRIX & COMPARE
   (Exact table from Paint + Compare tool from estatehive.in/compare)
   ========================================================================== */
.matrix-card-wrap {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-top: 20px;
}

.matrix-header-bar {
  padding: 24px 28px 18px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.matrix-h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.matrix-sub {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 14px;
}

.zone-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.zone-tab {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-family: var(--font-sans);
  font-weight: 600;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  transition: var(--transition);
}

.zone-tab.active,
.zone-tab:hover {
  background: #14532d;
  color: #ffffff;
  border-color: #14532d;
}

/* Matrix Table Styling */
.matrix-table-scroll {
  overflow-x: auto;
  width: 100%;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.matrix-table th {
  background: #f8fafc;
  color: #334155;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 18px;
  border-bottom: 1px solid #cbd5e1;
}

.matrix-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.matrix-table tr:hover td {
  background: #f8fafc;
}

.corridor-name-cell strong {
  color: #0f172a;
  font-size: 0.92rem;
  display: block;
}

.corridor-zone-badge {
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
}

.matrix-footer-bar {
  padding: 16px 28px;
  background: #fafbfc;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #64748b;
}

.btn-request-dossier {
  background: #ffffff;
  border: 1px solid #14532d;
  color: #14532d;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-request-dossier:hover {
  background: #14532d;
  color: #ffffff;
}

/* ==========================================================================
   INTERACTIVE SIDE-BY-SIDE COMPARE TOOL (inspired by estatehive.in/compare)
   ========================================================================== */
.compare-interactive-box {
  margin-top: 32px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.compare-tool-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 26px;
}

.compare-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.compare-selector-grid > div {
  min-width: 0;
  max-width: 100%;
}

.compare-select {
  width: 100%;
  max-width: 100%;
  padding: 9px 10px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compare-select option {
  font-size: 0.8rem;
  font-weight: 500;
  color: #0f172a;
  background: #ffffff;
}

.compare-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.compare-project-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.comp-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.comp-badge-verified {
  background: #dcfce7;
  color: #166534;
}

.comp-badge-delivered {
  background: #e0f2fe;
  color: #0369a1;
}

.comp-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.82rem;
  gap: 8px;
}

.comp-stat-label {
  color: #64748b;
}

.comp-stat-val {
  font-weight: 600;
  color: #0f172a;
  text-align: right;
}

/* ==========================================================================
   UNIFIED SIDE-BY-SIDE COMPARISON MATRIX TABLE (100% Row-Locked Alignment)
   ========================================================================== */
.comp-matrix-table-wrap {
  margin-top: 8px;
}

.comp-unified-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.comp-unified-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  table-layout: fixed;
}

.comp-unified-table th,
.comp-unified-table td {
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  vertical-align: top;
}

.comp-unified-table th:last-child,
.comp-unified-table td:last-child {
  border-right: none;
}

.comp-unified-table tbody tr:last-child td {
  border-bottom: none;
}

.comp-unified-table tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.comp-unified-table tbody tr:hover td {
  background: #f0fdf4;
}

.comp-th-param {
  width: 190px;
  background: #0f172a;
  color: #ffffff;
  padding: 18px 16px;
  text-align: left;
  position: sticky;
  left: 0;
  z-index: 3;
}

.comp-param-corner-tag {
  display: inline-block;
  background: #a3f721;
  color: #0f172a;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.comp-param-corner-title {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 4px;
}

.comp-param-corner-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.35;
}

.comp-th-proj {
  width: calc((100% - 190px) / 3);
  background: #f8fafc;
  padding: 16px 18px;
  text-align: left;
  border-bottom: 2px solid #0f172a !important;
}

.comp-proj-head-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.comp-rera-dot {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  color: #16a34a;
}

.comp-proj-head-title {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.comp-proj-head-meta {
  font-size: 0.76rem;
  color: #475569;
  font-weight: 500;
  line-height: 1.35;
}

.comp-td-param {
  width: 190px;
  background: #f1f5f9 !important;
  padding: 12px 16px;
  text-align: left;
  position: sticky;
  left: 0;
  z-index: 2;
}

.comp-param-name {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.comp-param-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
}

.comp-td-val {
  padding: 12px 18px;
  font-size: 0.82rem;
  color: #0f172a;
  text-align: left;
}

.comp-val-main {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}

.comp-val-sub {
  font-size: 0.73rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.35;
}

.comp-amen-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.comp-amen-pill {
  display: block;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 5px;
  line-height: 1.3;
}

.comp-amen-pill-extra {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.comp-see-more-link {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 800;
  color: #1d4ed8;
  text-decoration: underline;
  cursor: pointer;
}

.comp-see-more-link:hover {
  color: #15803d;
}

.comp-nil-badge {
  display: inline-block;
  background: #e2e8f0;
  color: #334155;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 4px;
}

.comp-progress-track {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin: 5px 0 3px;
}

.comp-progress-fill {
  height: 100%;
  background: #16a34a;
  border-radius: 999px;
}

.comp-inv-grid {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.comp-inv-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 0.73rem;
}

.comp-inv-chip.avail span {
  color: #15803d;
  font-weight: 800;
}

.comp-inv-chip.soldout span {
  color: #dc2626;
  font-weight: 700;
}

.comp-action-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comp-btn-primary {
  width: 100%;
  background: #14532d;
  color: #ffffff;
  border: none;
  padding: 8px 10px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.comp-btn-primary:hover {
  background: #166534;
}

.comp-btn-secondary {
  width: 100%;
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 8px 10px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.comp-btn-secondary:hover {
  background: #1e293b;
}

/* ==========================================================================
   CHAPTER 05 • HOW LAND MARSHAL WORKS (4 NUMBERED STEPS FROM PAINT)
   ========================================================================== */
.four-steps-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.step-row-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-row-card:hover {
  transform: translateX(4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.step-num-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #14532d;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-text-wrap h4 {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.step-text-wrap p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.65;
}

/* ==========================================================================
   SECTION 5: FULL MAPS & LOCALITY INTELLIGENCE (Exact from Maps Section.png)
   ========================================================================== */
.maps-intelligence-section {
  padding: 0;
  background-color: #f4f5f7;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.maps-split-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  min-height: 600px;
}

.maps-canvas-pane {
  position: relative;
  background: #eef2f6;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-color);
}

.maps-canvas-pane.fullscreen-map-modal {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9500 !important;
  border-right: none !important;
  box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.85);
}

.maps-canvas-pane.fullscreen-map-modal .bangalore-interactive-map {
  height: 100vh !important;
  min-height: 100vh !important;
}

.maps-hud-top {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.maps-hud-label {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.maps-metric-toggles {
  display: flex;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.metric-toggle-btn {
  border: none;
  background: #ffffff;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  color: #475569;
  transition: var(--transition);
}

.metric-toggle-btn.active {
  background: #0f172a;
  color: #ffffff;
}

/* Bangalore Map Layout Graphic */
.bangalore-interactive-map {
  width: 100%;
  height: 100%;
  min-height: 580px;
  position: relative;
  background-color: #f1f5f9;
}

/* Locality Intelligence Popover */
.locality-popover-card {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 30;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 20px;
  width: 320px;
  box-shadow: var(--shadow-xl);
  display: none;
}

.locality-popover-card.active {
  display: block;
}

/* Right Content Pane (Exact from Maps Section.png) */
.maps-content-pane {
  background: #f4f5f7;
  padding: 64px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.accent-blue-line {
  width: 56px;
  height: 3.5px;
  background: #4e5ed0;
  margin-bottom: 22px;
}

.maps-h2 {
  font-family: var(--font-sans);
  font-size: 2.15rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 16px;
}

.maps-p {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 26px;
}

.maps-checklist {
  list-style: none;
  margin-bottom: 34px;
}

.maps-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: #1e293b;
  margin-bottom: 12px;
  font-weight: 600;
}

.check-green-circle {
  width: 20px;
  height: 20px;
  background: rgba(110, 186, 1, 0.18);
  color: #5fa301;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.btn-explore-dossiers {
  align-self: flex-start;
  background: var(--primary-green);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-explore-dossiers:hover {
  background: var(--primary-green-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECTION 6: RERA DATA ANALYTICS EXPLORER (inspired by rera-dashboard.vercel.app)
   ========================================================================== */
.rera-analytics-section {
  padding: 70px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.rera-kpi-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 30px 0;
}

.rera-kpi-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}

.kpi-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.kpi-num {
  font-family: var(--font-sans);
  font-size: 1.9rem;
  font-weight: 800;
  color: #0f172a;
  margin: 4px 0 2px;
}

.kpi-note {
  font-size: 0.78rem;
  color: #16a34a;
  font-weight: 600;
}

.rera-filter-controls {
  display: grid;
  grid-template-columns: 1.6fr repeat(5, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}

.rera-search-input {
  min-width: 0;
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
}

.rera-select {
  padding: 10px 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 0.9rem;
  color: #334155;
  outline: none;
}

/* ==========================================================================
   SECTION 8: ARTICLES & DEVELOPMENTS (DARK NAVY SECTION FROM PAINT)
   (Exact cover art using assets/banner-2.jpg & assets/banner-1.jpg!)
   ========================================================================== */
.articles-navy-section {
  padding: 84px 0;
  background: #0d1522;
  color: #ffffff;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.card-seal-banner {
  height: 155px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #1e293b;
}

.card-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feat-article-card:hover .card-cover-img,
.small-article-card:hover .card-cover-img {
  transform: scale(1.04);
}

.feat-article-card {
  background: #162032;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.feat-article-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-green);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.feat-article-card .card-seal-banner {
  height: 270px;
}

.feat-article-body {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.tag-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.tag-featured {
  background: #6eba01;
  color: #ffffff;
}

.tag-rera {
  background: #4e5ed0;
  color: #ffffff;
}

.tag-trends {
  background: #6eba01;
  color: #ffffff;
}

.tag-locality {
  background: #e11d48;
  color: #ffffff;
}

.tag-framework {
  background: #059669;
  color: #ffffff;
}

.article-meta-line {
  font-size: 0.76rem;
  color: #94a3b8;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.four-articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.small-article-card {
  background: #162032;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.small-article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}

.small-article-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.art-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 4px 0 8px;
  line-height: 1.4;
}

.art-desc {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 14px;
}

.art-btn-green {
  align-self: flex-start;
  background: var(--primary-green);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.art-btn-green:hover {
  background: var(--primary-green-hover);
}

/* ==========================================================================
   SECTION 9: REACH US & LEAVE A MESSAGE (Exact from Paint file)
   ========================================================================== */
.contact-backdrop-section {
  position: relative;
  padding: 84px 0;
  background-color: #0f172a;
  background-image: url('assets/bg.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 17, 30, 0.86);
  backdrop-filter: blur(6px);
}

.contact-split-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 36px;
}

.reach-pane {
  background: rgba(20, 29, 47, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 38px 34px;
}

.reach-h2 {
  font-family: var(--font-sans);
  font-size: 1.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.reach-p {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 28px;
}

.reach-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.reach-icon-box {
  width: 40px;
  height: 40px;
  background: rgba(110, 186, 1, 0.16);
  color: #a3f721;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.reach-info h5 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.reach-info p {
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.5;
}

.social-bar-wrap {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-bar-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.social-bar {
  display: flex;
  gap: 10px;
}

.social-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: #e2e8f0;
  transition: var(--transition);
}

.social-circle-btn:hover {
  background: var(--primary-green);
  color: #ffffff;
  border-color: var(--primary-green);
  transform: translateY(-2px);
}

/* Leave A Message Form Pane */
.leave-message-pane {
  background: rgba(20, 29, 47, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 38px 36px;
}

.leave-h2 {
  font-family: var(--font-sans);
  font-size: 1.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.leave-sub {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 26px;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-col-full {
  grid-column: span 2;
}

.field-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.form-ctrl-input,
.form-ctrl-select,
.form-ctrl-textarea {
  width: 100%;
  background: rgba(11, 17, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.form-ctrl-input:focus,
.form-ctrl-select:focus,
.form-ctrl-textarea:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(110, 186, 1, 0.25);
}

.form-ctrl-textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-send-green {
  background: var(--primary-green);
  color: #ffffff;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  grid-column: span 2;
  margin-top: 6px;
}

.btn-send-green:hover {
  background: var(--primary-green-hover);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.master-footer {
  background: #090e17;
  color: #94a3b8;
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav-list {
  list-style: none;
}

.footer-nav-list li {
  margin-bottom: 9px;
}

.footer-nav-list a {
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-nav-list a:hover {
  color: var(--primary-green);
  padding-left: 3px;
}

.footer-sub-bar {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .four-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dossier-layout-grid {
    grid-template-columns: 1fr;
  }

  .toc-box {
    display: none;
  }

  .six-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .maps-split-grid {
    grid-template-columns: 1fr;
  }

  .maps-canvas-pane {
    min-height: 480px;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .contact-split-grid {
    grid-template-columns: 1fr;
  }

  .rera-filter-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rera-filter-controls .rera-search-input {
    grid-column: span 2;
  }

  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-h1 {
    font-size: 2.15rem;
  }

  .hero-text-col {
    padding-right: 0;
  }

  .hero-map-preview-card {
    height: 360px;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 82px;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    gap: 14px;
    z-index: 1200;
  }

  .mobile-menu-btn {
    display: block;
  }

  .four-pillars-grid {
    grid-template-columns: 1fr;
  }

  .six-pillars-grid {
    grid-template-columns: 1fr;
  }

  .compare-interactive-box {
    padding: 22px 16px;
  }

  .compare-selector-grid,
  .compare-cards-grid {
    grid-template-columns: 1fr;
  }

  .maps-content-pane {
    padding: 36px 22px;
  }

  .rera-kpi-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .rera-filter-controls {
    grid-template-columns: 1fr;
  }

  .rera-filter-controls .rera-search-input {
    grid-column: span 1;
  }

  .four-articles-grid {
    grid-template-columns: 1fr;
  }

  .form-grid-2col {
    grid-template-columns: 1fr;
  }

  .form-col-full,
  .btn-send-green {
    grid-column: span 1;
  }

  .reach-pane,
  .leave-message-pane {
    padding: 24px 18px;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .container {
    padding: 0 16px;
  }

  .hero-h1 {
    font-size: 1.85rem;
  }

  .hero-search-wrapper {
    flex-wrap: wrap;
    border-radius: 14px;
    padding: 10px 12px;
    gap: 8px;
  }

  .hero-search-input {
    min-width: 180px;
    font-size: 0.88rem;
  }

  .btn-search-facts {
    width: 100%;
    text-align: center;
    padding: 11px 16px;
    border-radius: 10px;
  }

  .rera-kpi-bar {
    grid-template-columns: 1fr;
  }

  .maps-hud-top {
    left: 8px;
    right: 8px;
    top: 8px;
  }

  #search-facts-modal > div,
  #rera-project-modal > div,
  #article-reader-modal > div,
  #dossier-request-modal > div {
    padding: 20px 16px !important;
  }
}

/* ==========================================================================
   CLEAN 3-SECTION EXECUTIVE PROPERTY DOSSIER MODAL (NO GALLERY, ZERO CLUTTER)
   ========================================================================== */
.lm-dossier-shell {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  font-family: var(--font-sans);
  color: #0f172a;
}

.lm-dossier-header {
  padding: 20px 56px 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  background: #ffffff;
}

.lm-dossier-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: #0f172a;
  margin: 4px 0 3px;
  line-height: 1.18;
}

.lm-dossier-sub {
  font-size: 0.82rem;
  color: #475569;
  font-weight: 500;
}

.lm-price-badge {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 9px 16px;
  text-align: right;
}

.lm-price-lbl {
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #15803d;
  margin-bottom: 2px;
}

.lm-price-val {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
}

/* Sticky 3-Section Quick-Jump & Mode Switcher Bar */
.lm-sec-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 24px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.lm-sec-nav-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lm-sec-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.lm-sec-pill:hover,
.lm-sec-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.lm-sec-pill .num {
  background: #e2e8f0;
  color: #0f172a;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
}

.lm-sec-pill.active .num {
  background: #a3f721;
  color: #0f172a;
}

/* Section Blocks */
.lm-section-block {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

.lm-section-block:last-child {
  border-bottom: none;
}

.lm-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.lm-section-heading-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lm-section-tag {
  background: #0f172a;
  color: #a3f721;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.lm-section-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.1px;
  margin: 0;
}

/* 5-Column Stat Strip in Section 1 & 4-Column Stat Strip in Section 2 */
.lm-stat-strip-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  margin-bottom: 14px;
}

.lm-stat-strip-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
}

.lm-stat-cell {
  padding: 13px 15px;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.lm-stat-cell:last-child {
  border-right: none;
}

.lm-stat-cell.clickable-cell {
  cursor: pointer;
  transition: background 0.15s ease;
}

.lm-stat-cell.clickable-cell:hover {
  background: #f1f5f9;
}

.lm-stat-lbl {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 5px;
  line-height: 1.25;
}

.lm-stat-val {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.lm-stat-sub {
  font-size: 0.71rem;
  font-weight: 700;
  color: #15803d;
  margin-top: 4px;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .lm-stat-strip-5,
  .lm-stat-strip-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .lm-stat-cell {
    border-bottom: 1px solid #e2e8f0;
  }
}

/* Clean Specification Ledger Rows */
.lm-spec-table {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.lm-spec-row {
  display: grid;
  grid-template-columns: 215px 1fr;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

.lm-spec-row:last-child {
  border-bottom: none;
}

.lm-spec-key {
  background: #f8fafc;
  padding: 12px 14px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #334155;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lm-spec-key small {
  font-size: 0.64rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-top: 2px;
}

.lm-spec-val {
  padding: 12px 16px;
  font-size: 0.82rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.lm-expand-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-size: 0.71rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.lm-expand-btn:hover {
  background: #0f172a;
  color: #a3f721;
  border-color: #0f172a;
}

@media (max-width: 860px) {
  .lm-stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .lm-stat-cell:nth-child(2) {
    border-right: none;
  }
  .lm-stat-cell:nth-child(1),
  .lm-stat-cell:nth-child(2) {
    border-bottom: 1px solid #e2e8f0;
  }
  .lm-spec-row {
    grid-template-columns: 1fr;
  }
  .lm-spec-key {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding: 8px 14px;
  }
}
