/*
Theme Name: Land Sensing Geospatial Analytics
Theme URI: https://lsga.af
Author: Land Sensing
Description: High-performance, Elementor-ready WordPress theme for Land Sensing Geospatial Analytics (LSGA). Built according to WordPress coding standards with full support for Elementor Free and Gutenberg.
Version: 1.2.2
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: land-sensing
*/

:root {
  --navy: #01416B;
  --navy-dark: #002c49;
  --navy-light: #0d5485;
  --green: #359D4B;
  --green-dark: #267a37;
  --green-light: #eaf7ee;
  --slate: #608BA6;
  --slate-light: #eef5f9;
  --slate-dark: #3f6880;
  --text: #1d3349;
  --muted: #5b7388;
  --line: #dce7ee;
  --bg-tint: #f5f8fa;
  --bg-light: #ffffff;
  --shadow: 0 8px 24px rgba(1, 65, 107, 0.08);
  --shadow-lg: 0 16px 36px rgba(1, 65, 107, 0.12);
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--green); }
button, input, textarea, select { font: inherit; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(1, 65, 107, 0.04);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo-img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  color: var(--navy);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand-tagline {
  color: var(--slate);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 2px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  padding: 26px 0;
  display: block;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}
.main-nav a:hover,
.main-nav .current-menu-item > a {
  color: var(--green);
  border-bottom-color: var(--green);
}
.menu-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: #ffffff !important;
  border: 1px solid var(--green);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.3;
}
.btn:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: #ffffff !important;
  border-color: #ffffff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}
.btn-outline-dark {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--line);
}
.btn-outline-dark:hover {
  border-color: var(--navy);
  color: var(--navy) !important;
}
.btn-light {
  background: #ffffff;
  color: var(--navy) !important;
  border-color: var(--line);
}
.btn-light:hover {
  background: var(--slate-light);
}
.text-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.text-link:hover {
  color: var(--green);
}

/* Typography & Headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 800;
  color: var(--green);
  margin: 0 0 8px;
}
.eyebrow:before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green);
  display: inline-block;
}
.section-title {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.lead-text, .section-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 780px;
  margin: 0 0 24px;
}
.section { padding: 54px 0; }
.section-tint { background: var(--bg-tint); }

/* Hero Section with Before-After Slider */
.hero {
  background: var(--navy);
  color: #ffffff;
  padding: 50px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}
.hero-copy h1 span { color: #8fe0a5; }
.hero-copy p {
  font-size: 17px;
  line-height: 1.55;
  color: #e2eff8;
  max-width: 520px;
  margin: 0 0 24px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Interactive Before-and-After Slider */
.hero-slider-box {
  width: 100%;
}
.lsga-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  background: #001f33;
}
.lsga-slider-after, .lsga-slider-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.lsga-slider-after img, .lsga-slider-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.lsga-slider-before {
  width: 50%;
  overflow: hidden;
  border-right: 2px solid #ffffff;
  z-index: 2;
}
.lsga-slider-before img {
  width: 100%;
  min-width: 100%;
  height: 100%;
  max-width: none;
}
.lsga-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  margin-left: -22px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.handle-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
}
.handle-arrow-left, .handle-arrow-right {
  position: absolute;
  width: 32px;
  height: 32px;
  background: #ffffff;
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.handle-arrow-left { display: none; }
.handle-arrow-right { display: flex; }
.slider-badge {
  position: absolute;
  top: 14px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 5;
  pointer-events: none;
}
.badge-left {
  left: 14px;
  background: rgba(1, 65, 107, 0.85);
  color: #ffffff;
}
.badge-right {
  right: 14px;
  background: rgba(53, 157, 75, 0.9);
  color: #ffffff;
}
.slider-caption {
  font-size: 12px;
  color: #c3d9ea;
  margin-top: 10px;
  text-align: right;
}

/* Split Intro: The gap we close */
.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.intro-copy p {
  color: var(--text);
  font-size: 16px;
  margin: 0;
}
.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.photo-frame img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.photo-caption {
  display: block;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

/* Services / What We Do */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.service-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.service-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.service-icon {
  font-size: 28px;
  line-height: 1;
}
.service-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--navy);
}
.service-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.service-items {
  list-style: none;
  padding: 0;
  margin: 14px 0 16px;
  flex: 1;
}
.service-items li {
  font-size: 13px;
  color: var(--text);
  padding: 4px 0;
  position: relative;
  padding-left: 18px;
}
.service-items li:before {
  content: "•";
  color: var(--green);
  font-weight: bold;
  position: absolute;
  left: 0;
}
.service-card-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
}
.service-connector {
  text-align: center;
  font-size: 14px;
  color: var(--slate-dark);
  font-style: italic;
  margin: 28px auto 20px;
  max-width: 700px;
}

/* Geospatial Monitoring Band */
.monitor-band {
  background: #eef5f9;
  border: 1px solid #d5e6f0;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 14px;
}
.monitor-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.monitor-info {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.monitor-icon {
  font-size: 32px;
  line-height: 1;
}
.monitor-inner h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--navy);
}
.monitor-inner p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text);
  max-width: 700px;
}
.monitor-tags {
  font-size: 12px;
  color: var(--slate-dark);
  font-weight: 700;
}

/* Four Stages Flow */
.stage-section-intro {
  color: var(--muted);
  font-size: 15px;
  margin-top: -6px;
  margin-bottom: 22px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.process-step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.process-step:hover {
  transform: translateY(-2px);
  border-color: var(--slate);
}
.step-highlight {
  border: 2px solid var(--green);
  background: #fbfefc;
}
.step-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.number {
  width: 38px;
  height: 38px;
  background: var(--navy);
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}
.step-highlight .number {
  background: var(--green);
}
.step-stage-tag {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 800;
  letter-spacing: 0.05em;
  display: block;
}
.process-step h3 {
  margin: 2px 0 0;
  font-size: 17px;
  color: var(--navy);
}
.step-title-wrap small {
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.process-step ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text);
}
.process-step li {
  padding: 3px 0;
  position: relative;
  padding-left: 14px;
}
.process-step li:before {
  content: "›";
  color: var(--slate);
  font-weight: bold;
  position: absolute;
  left: 0;
}
.step-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 8px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

/* Stats / Evidence in Numbers */
.stats-band {
  background: var(--navy);
  color: #ffffff;
  padding: 46px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-tile {
  background: rgba(255, 255, 255, 0.06);
  border-top: 3px solid var(--green);
  border-radius: 8px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  color: #ffffff !important;
}
.stat-tile:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.stat-number {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: #c9e1f2;
  line-height: 1.4;
}

/* Featured Projects Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.project-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-thumb-link img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.meta {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.project-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}
.project-card h3 a {
  color: var(--navy);
}
.project-card h3 a:hover {
  color: var(--green);
}
.project-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 14px;
  flex: 1;
}

/* About Us Section */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  margin-bottom: 36px;
}
.about-who p {
  font-size: 15px;
  color: var(--text);
}
.about-reg-note {
  color: var(--slate-dark);
  font-size: 13px;
}
.sub-title {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
}
.tier-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 8px;
}
.tier-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
}
.tier-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
}
.tier-expanding .tier-badge { background: var(--slate); }
.tier-emerging .tier-badge { background: #8faec2; }
.tier-row strong { color: var(--navy); min-width: 160px; }
.tier-row span { color: var(--muted); font-size: 12px; }

.why-lsga-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.why-col {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.why-icon {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--green);
}
.why-col h4 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 16px;
}
.why-col p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.team-grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.team-member-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.team-avatar {
  font-size: 32px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--slate-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.team-member-card strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}
.team-member-card .role {
  display: block;
  font-size: 12px;
  color: var(--green-dark);
  font-weight: 700;
  margin: 2px 0 6px;
}
.team-member-card small {
  font-size: 11px;
  color: var(--muted);
  display: block;
}

/* Call to Action Band */
.cta-band {
  background: var(--navy);
  color: #ffffff;
  padding: 44px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta-copy h2 {
  color: #ffffff;
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 8px;
}
.cta-copy p {
  color: #dceaf5;
  font-size: 16px;
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #d7e7f5;
  padding: 44px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr;
  gap: 30px;
}
.footer-logo {
  max-height: 48px;
  width: auto;
  margin-bottom: 12px;
}
.site-footer h4 {
  color: #ffffff;
  margin: 0 0 12px;
  font-size: 15px;
}
.site-footer p, .site-footer li, .site-footer a {
  font-size: 13px;
  color: #d7e7f5;
}
.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-footer li {
  margin: 5px 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 32px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: #9cb8cf;
}
.footer-bottom a { color: #9cb8cf; }
.footer-bottom a:hover { color: #ffffff; }

/* Sub-Navigation Strip (Services & Satellite) */
.services-subnav-strip, .sticky-stage-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 76px;
  z-index: 90;
  box-shadow: 0 2px 6px rgba(1,65,107,0.03);
}
.services-subnav, .stage-bar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
  overflow-x: auto;
  white-space: nowrap;
}
.services-subnav a, .stage-bar-inner a {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  padding: 6px 12px;
  border-radius: 4px;
}
.services-subnav a:hover, .stage-bar-inner a:hover {
  background: var(--slate-light);
  color: var(--green);
}
.stage-bar-inner .highlight {
  background: var(--green-light);
  color: var(--green-dark);
}

/* Diagrams & Flow Images */
.diagram-container img, .timeline-diagram img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-top: 14px;
}

/* Services Detail Page */
.services-sector-grid, .stage-section-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}
.sector-reverse {
  grid-template-columns: 0.85fr 1.15fr;
}
.service-line-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.service-line-list li {
  padding: 7px 0;
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.service-line-list li:before {
  content: "✔";
  color: var(--green);
  position: absolute;
  left: 0;
  font-weight: bold;
}
.sector-meta-box {
  background: var(--slate-light);
  border-left: 3px solid var(--navy);
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  margin: 18px 0;
  font-size: 13px;
}
.sector-meta-box p { margin: 4px 0; }
.sector-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.media-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #ffffff;
}
.media-card .caption {
  display: block;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--muted);
}
.verification-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}
.verif-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.verif-box h4 { margin: 0 0 10px; color: var(--navy); font-size: 16px; }
.verif-box ul { padding-left: 18px; margin: 0; font-size: 13px; color: var(--text); }
.verif-box li { margin-bottom: 6px; }
.sectors-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sectors-pill-grid span {
  background: var(--slate-light);
  border: 1px solid #d8e6ef;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

/* Deliverables Grid 7 Tiles */
.deliverables-grid-7 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.deliverable-tile {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.tile-icon { font-size: 24px; margin-bottom: 6px; display: block; }
.deliverable-tile h4 { margin: 0 0 4px; color: var(--navy); font-size: 16px; }
.deliverable-tile p { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.deliverable-tile small { color: var(--slate-dark); font-weight: 700; font-size: 11px; }

/* Satellite Stages Details */
.stage-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}
.stage-badge.badge-green { background: var(--green); }
.field-green-highlight {
  background: #edf7ef;
  border-left: 4px solid var(--green);
  padding: 12px 16px;
  margin: 16px 0;
  color: #1a5c29;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
}
.decision-two-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 18px;
}
.dec-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.dec-box h4 { margin: 0 0 8px; color: var(--navy); font-size: 18px; }
.dec-box ul { padding-left: 18px; margin: 0; font-size: 14px; }
.dec-box li { margin-bottom: 6px; }

/* Khulm Worked Example */
.khulm-stages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.khulm-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.khulm-img img { width: 100%; height: 160px; object-fit: cover; }
.khulm-text { padding: 14px; }
.khulm-text .tag { font-size: 10px; color: var(--green); font-weight: 800; display: block; margin-bottom: 4px; }
.khulm-text h4 { margin: 0 0 6px; font-size: 15px; color: var(--navy); }
.khulm-text p { margin: 0; font-size: 12px; color: var(--muted); }

/* Tool Strip */
.tool-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 18px;
}
.tool-strip > div {
  padding: 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tool-strip > div:last-child { border-right: 0; }
.tool-strip strong { font-size: 15px; color: var(--navy); }
.tool-strip span { font-size: 12px; color: var(--muted); }

/* Data and Portal Page */
.portal-preview-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.portal-preview-frame img { width: 100%; height: 320px; object-fit: cover; }
.portal-overlay-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(1, 65, 107, 0.92);
  color: #ffffff;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}
.dataset-grid-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}
.dataset-card-horizontal {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.dataset-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}
.dataset-details h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--navy);
}
.dataset-meta-line {
  font-size: 13px;
  color: var(--text);
  margin: 4px 0;
}
.dataset-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.policy-block {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.policy-block h4 { margin: 0 0 6px; color: var(--navy); font-size: 16px; }
.policy-block p { font-size: 14px; color: var(--text); margin: 0 0 16px; }
.cite-box {
  background: var(--slate-light);
  border: 1px solid #d5e4ed;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 13px;
  word-break: break-all;
}

/* Citation Modal */
.lsga-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
}
.lsga-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lsga-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 44, 73, 0.6);
  backdrop-filter: blur(2px);
}
.lsga-modal-dialog {
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  padding: 28px;
  width: min(560px, calc(100% - 32px));
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  z-index: 10;
}
.lsga-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
}
.lsga-modal-dialog h3 { margin: 0 0 8px; color: var(--navy); }
.lsga-modal-dialog p { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.lsga-modal-citation-text {
  background: var(--slate-light);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 18px;
}

/* Contact Details & Form */
.contact-details-col { padding-right: 14px; }
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
}
.info-icon { font-size: 24px; color: var(--green); }
.info-row strong { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; }
.info-row a, .info-row span { font-size: 15px; color: var(--navy); font-weight: 700; }
.lsga-contact-form p { margin: 0 0 14px; }
.lsga-contact-form label { display: block; color: var(--navy); font-weight: 700; font-size: 13px; margin-bottom: 5px; }
.lsga-contact-form input, .lsga-contact-form select, .lsga-contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  padding: 10px 12px;
  color: var(--text);
}
.lsga-contact-form input:focus, .lsga-contact-form select:focus, .lsga-contact-form textarea:focus {
  outline: 2px solid var(--slate);
  border-color: var(--navy);
}
.lsga-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Elementor Full Width & Canvas Page Template Compatibility */
.elementor-template-full-width .site-main,
.elementor-page .lsga-elementor-content {
  width: 100%;
  max-width: none;
}
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1180px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .deliverables-grid-7 { grid-template-columns: repeat(2, 1fr); }
  .khulm-stages-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-strip { grid-template-columns: repeat(2, 1fr); }
  .tool-strip > div:nth-child(2) { border-right: 0; }
  .tool-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .main-nav a { padding: 10px 0; border-bottom: 0; width: 100%; }
  .intro-grid, .services-sector-grid, .sector-reverse, .stage-section-grid, .content-layout, .about-intro-grid {
    grid-template-columns: 1fr;
  }
  .service-grid, .project-grid, .why-lsga-grid, .verification-split-grid, .decision-two-grid {
    grid-template-columns: 1fr;
  }
  .dataset-card-horizontal { grid-template-columns: 1fr; }
  .team-grid-cards { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .process-grid, .stats-grid, .deliverables-grid-7, .khulm-stages-grid, .team-grid-cards, .tool-strip {
    grid-template-columns: 1fr;
  }
}

/* Case Study Figures, Tables & Full-Screen Lightbox */
.case-figure {
  margin: 24px 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.case-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.case-figure figcaption {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--muted);
  background: var(--bg-tint);
  border-top: 1px solid var(--line);
}
.comparison {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.comparison th, .comparison td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}
.comparison th {
  background: var(--navy);
  color: #ffffff;
  font-weight: 700;
}
.project-filter-row button.active {
  background: var(--navy) !important;
  color: #ffffff !important;
  border-color: var(--navy) !important;
}
.proof-points {
  display: grid;
  gap: 10px;
}
.proof-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
}
.proof-icon {
  font-size: 20px;
  line-height: 1;
}
.lsga-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 22, 38, 0.92);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lsga-lightbox.is-open {
  display: flex;
}
.lsga-lightbox-img {
  max-width: 94vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.lsga-lightbox-caption {
  color: #ffffff;
  font-size: 14px;
  margin-top: 12px;
  text-align: center;
  max-width: 800px;
}
.lsga-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}
@media (max-width: 900px) {
  .project-detail-layout {
    grid-template-columns: 1fr !important;
  }
  .two-map-gallery, .four-map-gallery {
    grid-template-columns: 1fr !important;
  }
}
