:root {
  --navy: #09213a;
  --blue: #123a5c;
  --ink: #101827;
  --muted: #657284;
  --line: rgba(16, 24, 39, 0.14);
  --gold: #c89b42;
  --gold-soft: #ecd7a8;
  --cyan: #4bb9c7;
  --green: #68ad80;
  --white: #ffffff;
  --paper: #f6f8fa;
  --shadow: 0 24px 70px rgba(9, 33, 58, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
}

[lang="ar"],
.ar,
.ar-heading,
.ar-card-title {
  font-family: "Cairo", "Tahoma", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 58px);
  color: var(--white);
  background: rgba(9, 33, 58, 0.93);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98), rgba(236, 215, 168, 0.92));
  border: 2px solid rgba(236, 215, 168, 0.92);
  border-radius: 50%;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.08),
    0 0 22px rgba(236, 215, 168, 0.72),
    0 0 44px rgba(200, 155, 66, 0.32);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  margin-top: 2px;
  color: var(--gold-soft);
  font-size: 12px;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.language-switch button {
  min-width: 48px;
  min-height: 34px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.language-switch button.active {
  color: var(--navy);
  background: var(--gold);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

html[data-lang="en"] [lang="ar"],
html[data-lang="en"] .ar,
html[data-lang="en"] .ar-heading,
html[data-lang="en"] .ar-card-title {
  display: none !important;
}

html[data-lang="ar"] body {
  text-align: right;
}

html[data-lang="ar"] nav span,
html[data-lang="ar"] .button span,
html[data-lang="ar"] h1,
html[data-lang="ar"] h2:not(.ar-heading),
html[data-lang="ar"] h3:not(.ar-card-title),
html[data-lang="ar"] p:not(.eyebrow):not(.ar):not(.footer-note):not(.hero-name-ar),
html[data-lang="ar"] address > strong:not([lang]),
html[data-lang="ar"] .brand-text > strong {
  display: none !important;
}

html[data-lang="ar"] .brand-text > small,
html[data-lang="ar"] nav small,
html[data-lang="ar"] .button small,
html[data-lang="ar"] .hero-name-ar,
html[data-lang="ar"] .ar,
html[data-lang="ar"] .ar-heading,
html[data-lang="ar"] .ar-card-title {
  display: block !important;
}

html[data-lang="ar"] .pill-row span,
html[data-lang="ar"] .capability-row span,
html[data-lang="ar"] .value-row span,
html[data-lang="ar"] li,
html[data-lang="ar"] .timeline strong,
html[data-lang="ar"] address span {
  font-size: 0;
}

html[data-lang="ar"] .pill-row small,
html[data-lang="ar"] .capability-row small,
html[data-lang="ar"] .value-row small,
html[data-lang="ar"] li small,
html[data-lang="ar"] .timeline strong small,
html[data-lang="ar"] address small {
  font-size: 15px;
}

html[data-lang="ar"] li {
  padding-right: 16px;
  padding-left: 0;
}

html[data-lang="ar"] li::before {
  right: 0;
  left: auto;
}

html[data-lang="ar"] .hero-metrics strong {
  display: none;
}

html[data-lang="ar"] .hero-metrics span {
  font-size: 0;
  text-align: center;
}

html[data-lang="ar"] .hero-metrics em {
  display: block;
  font-size: 20px;
}

html[data-lang="ar"] .hero-actions,
html[data-lang="ar"] .pill-row,
html[data-lang="ar"] .capability-row,
html[data-lang="ar"] .value-row {
  justify-content: flex-end;
}

html[data-lang="ar"] .gis-map-label {
  text-align: left;
}

html[data-lang="ar"] .hero-content {
  justify-self: left;
  width: min(760px, 100%);
  max-width: 760px;
  margin-right: auto;
  margin-left: 0;
  text-align: right;
}

html[data-lang="ar"] .hero .eyebrow {
  text-align: right;
}

html[data-lang="ar"] address {
  padding-right: 30px;
  padding-left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 0;
}

nav a,
.button {
  display: inline-grid;
  gap: 2px;
  align-items: center;
}

nav small,
.button small,
.pill-row small,
.capability-row small,
.value-row small,
li small,
strong small,
address small,
.statement-grid small,
.hero-metrics em {
  display: block;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

nav small {
  color: var(--gold-soft);
  font-size: 11px;
}

nav a:hover {
  color: var(--gold-soft);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 77px);
  align-items: center;
  overflow: hidden;
  padding: clamp(78px, 10vw, 122px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--navy);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 20, 36, 0.96) 0%, rgba(5, 20, 36, 0.86) 38%, rgba(5, 20, 36, 0.34) 76%),
    linear-gradient(0deg, rgba(5, 20, 36, 0.34), rgba(5, 20, 36, 0.1));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(31px, 4.7vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.ar-heading {
  margin-top: -10px;
  color: var(--blue);
  font-size: clamp(25px, 3.5vw, 44px);
  line-height: 1.45;
}

.values-section .ar-heading,
.geo-section .ar-heading,
.site-footer .ar-heading {
  color: var(--gold-soft);
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
}

.ar-card-title {
  margin-top: -4px;
  color: var(--blue);
  font-size: 19px;
  line-height: 1.4;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(19px, 2.2vw, 27px);
}

.hero-name-ar {
  max-width: 650px;
  margin: -8px 0 18px;
  color: var(--gold-soft);
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.2;
}

.bilingual-copy {
  display: grid;
  gap: 8px;
  max-width: 720px;
}

.ar {
  line-height: 1.9;
}

.hero-copy.ar {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  justify-content: center;
  padding: 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.button.primary {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 980px;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 70px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
}

.hero-metrics span {
  display: grid;
  gap: 4px;
  place-items: center;
  min-height: 112px;
  padding: 24px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(9, 33, 58, 0.66);
  text-align: center;
}

.hero-metrics strong {
  color: var(--gold-soft);
  font-size: 27px;
}

.hero-metrics em {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 86px);
  background: var(--white);
}

.copy-stack p {
  max-width: 760px;
}

.pill-row,
.capability-row,
.value-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill-row span,
.capability-row span,
.value-row span {
  display: inline-grid;
  gap: 2px;
  align-items: center;
  min-height: 38px;
  padding: 9px 13px;
  color: var(--navy);
  background: #edf2f5;
  border-left: 3px solid var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.values-section,
.geo-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(9, 33, 58, 0.99), rgba(18, 58, 92, 0.97)),
    linear-gradient(90deg, rgba(200, 155, 66, 0.12), transparent);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 860px;
}

.statement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.statement-grid article {
  padding: clamp(24px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.06);
}

.statement-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-soft);
  font-weight: 900;
  text-transform: uppercase;
}

.statement-grid small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.statement-grid p,
.geo-section p {
  color: rgba(255, 255, 255, 0.76);
}

.statement-grid p {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.55;
}

.statement-grid p:last-child {
  margin-bottom: 0;
}

.value-row span,
.capability-row span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.services-section,
.delivery-section {
  background: var(--paper);
}

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

.service-grid article,
.feature-grid article {
  position: relative;
  padding: 18px 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(9, 33, 58, 0.06);
}

.service-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
  object-fit: cover;
  border: 1px solid rgba(9, 33, 58, 0.1);
}

.service-number {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  line-height: 1.45;
  list-style: none;
}

li {
  position: relative;
  padding-left: 16px;
}

li small {
  margin-top: 3px;
  color: var(--blue);
  font-size: 13px;
}

li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "/";
}

.geo-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: center;
}

.geo-copy p {
  max-width: 560px;
}

.dashboard {
  display: grid;
  grid-template-columns: 0.72fr 1.45fr;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.area-dashboard {
  align-items: stretch;
}

.area-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 16px;
  background: rgba(9, 33, 58, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.area-summary {
  min-height: 350px;
  background:
    radial-gradient(circle at 20% 18%, rgba(75, 185, 199, 0.22), transparent 30%),
    linear-gradient(145deg, rgba(200, 155, 66, 0.2), rgba(9, 33, 58, 0.76) 42%),
    rgba(9, 33, 58, 0.74);
}

.area-label,
.area-chart-heading span {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.area-summary strong {
  display: block;
  color: var(--white);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
}

.area-summary > small,
.area-chart-heading em,
.area-stat-grid small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-style: normal;
}

.area-stat-grid {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.area-stat-grid span {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.area-stat-grid b {
  color: var(--cyan);
  font-size: 20px;
}

.area-chart-card {
  min-height: 350px;
}

.area-toolbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.area-toolbar button {
  min-height: 38px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.area-toolbar button.active {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}

.area-chart-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.area-trend-chart {
  width: 100%;
  min-height: 240px;
}

.area-trend-chart[hidden],
.area-bar-chart[hidden] {
  display: none;
}

.area-trend-chart text {
  fill: rgba(255, 255, 255, 0.65);
  font-family: "Montserrat", "Cairo", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  direction: ltr;
  unicode-bidi: isolate;
}

.area-trend-chart .grid-line {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
}

.area-trend-chart .axis-line,
.area-trend-chart .year-tick line {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1;
}

.area-trend-chart .year-tick text {
  fill: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}

.area-trend-chart .y-tick text {
  fill: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  text-anchor: end;
}

.area-trend-chart .axis-title {
  fill: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
  text-anchor: start;
}

.area-trend-chart .land-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 4;
}

.area-trend-chart .water-line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  opacity: 0.82;
}

.area-trend-chart circle {
  cursor: pointer;
}

.area-bar-chart,
.area-table {
  display: grid;
  gap: 9px;
}

.area-bar-row,
.area-table-row {
  display: grid;
  grid-template-columns: minmax(92px, 0.7fr) minmax(120px, 1.4fr) 68px;
  gap: 10px;
  align-items: center;
}

.area-bar-label,
.area-table-row span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.area-bar-track {
  height: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.area-bar-fill {
  display: block;
  height: 100%;
  min-width: 4px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
}

.area-bar-value,
.area-table-row strong {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

.area-table-card {
  grid-column: 1 / -1;
}

.area-table-row {
  grid-template-columns: minmax(130px, 1fr) 1fr 82px;
  min-height: 34px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.capability-row {
  grid-column: 1 / -1;
}

.map-section {
  background: var(--paper);
}

.map-heading {
  max-width: 920px;
}

.map-heading p:not(.eyebrow) {
  max-width: 720px;
}

.map-wrap {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid rgba(200, 155, 66, 0.24);
  background: var(--navy);
  box-shadow: var(--shadow);
}

#bahrain-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 560px;
}

.map-tools-panel,
.map-legend,
.measure-result {
  position: absolute;
  z-index: 5;
  color: var(--white);
  background: rgba(9, 33, 58, 0.91);
  border: 1px solid rgba(236, 215, 168, 0.35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.map-tools-panel {
  top: 18px;
  right: 18px;
  display: grid;
  gap: 10px;
  width: min(300px, calc(100% - 36px));
  max-height: calc(100% - 36px);
  overflow: auto;
  padding: 14px;
}

.map-tools-panel strong,
.map-legend-title {
  color: var(--gold-soft);
  font-size: 13px;
}

.map-tools-panel button {
  display: grid;
  gap: 2px;
  min-height: 42px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.map-tools-panel button.active {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}

.poi-panel {
  display: grid;
  gap: 9px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.poi-layers {
  display: grid;
  gap: 6px;
  max-height: 300px;
  overflow: auto;
  padding-right: 3px;
}

.poi-loading {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.poi-layer-toggle {
  grid-template-columns: 36px minmax(0, 1fr) 22px 11px 17px;
  align-items: center;
  gap: 6px !important;
  min-height: 34px !important;
  padding: 7px 9px !important;
  text-align: left;
}

.poi-layer-toggle.active {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(200, 155, 66, 0.56);
}

.poi-count {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.poi-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poi-symbol {
  font-size: 14px;
  line-height: 1;
  text-align: center;
}

.poi-color {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.poi-check {
  position: relative;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 3px;
}

.poi-layer-toggle.active .poi-count {
  color: rgba(255, 255, 255, 0.62);
}

.poi-layer-toggle.active .poi-check {
  background: var(--gold);
  border-color: var(--gold);
}

.poi-layer-toggle.active .poi-check::after {
  position: absolute;
  left: 2px;
  top: 3px;
  width: 7px;
  height: 4px;
  content: "";
  border-left: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg);
}

.map-tools-panel small,
.map-legend small,
.measure-result small {
  display: block;
  font-family: "Cairo", "Tahoma", Arial, sans-serif;
  font-size: 12px;
}

.map-legend {
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
  min-width: 210px;
  padding: 14px;
}

.map-legend div:not(.map-legend-title) {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.map-legend i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.office-dot {
  background: var(--gold);
  border: 2px solid var(--navy);
}

.project-dot {
  background: var(--navy);
  border: 2px solid var(--gold);
}

.measure-result {
  right: 18px;
  bottom: 18px;
  display: none;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  font-size: 14px;
}

.measure-result.show {
  display: flex;
}

.measure-result strong {
  color: var(--gold-soft);
}

.map-marker {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--gold-soft);
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 50% 50% 50% 8px;
  box-shadow: 0 0 0 4px rgba(200, 155, 66, 0.16), 0 12px 26px rgba(9, 33, 58, 0.34);
  transform: rotate(-45deg);
}

.map-marker.office {
  width: 46px;
  height: 46px;
  color: var(--navy);
  background: var(--gold);
  border-color: var(--white);
}

.map-marker span {
  display: block;
  font-size: 10px;
  font-weight: 900;
  transform: rotate(45deg);
}

.poi-map-marker {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  background: rgba(9, 33, 58, 0.92);
  border: 2px solid var(--poi-color);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(9, 33, 58, 0.28), 0 0 0 3px rgba(255, 255, 255, 0.72);
}

.poi-map-marker span {
  display: block;
  font-size: 15px;
  line-height: 1;
  transform: translateY(-1px);
}

.leaflet-popup-content-wrapper {
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  border: 1px solid rgba(236, 215, 168, 0.35);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32);
}

.leaflet-popup-tip {
  background: var(--navy);
}

.leaflet-popup-content {
  margin: 0;
  min-width: 220px;
}

.map-popup {
  padding: 14px 16px;
}

.map-popup-tag {
  margin-bottom: 7px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-popup-title {
  font-size: 16px;
  font-weight: 900;
}

.map-popup-desc {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.leaflet-control-zoom a {
  color: var(--navy) !important;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  padding: 28px 22px;
  border-top: 2px solid var(--gold);
  border-right: 1px solid var(--line);
}

.timeline li::before {
  content: none;
}

.timeline span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.timeline strong small {
  margin-top: 4px;
  color: var(--blue);
  font-size: 16px;
}

.timeline p {
  margin: 0;
  font-size: 15px;
  line-height: 1.48;
}

.timeline p.ar {
  margin-top: 8px;
  color: var(--blue);
  font-size: 15px;
}

.why-section {
  background: var(--white);
}

.why-heading-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  margin-bottom: 54px;
}

.why-heading-grid .section-heading {
  margin-bottom: 0;
}

.gis-map-box {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  border: 1px solid rgba(200, 155, 66, 0.24);
  border-radius: 16px;
  box-shadow: 0 26px 70px rgba(9, 33, 58, 0.12);
  overflow: hidden;
}

.gis-map-label {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-align: right;
  text-transform: uppercase;
  opacity: 0.82;
}

.gis-map-grid {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background:
    linear-gradient(rgba(9, 33, 58, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 33, 58, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  border-radius: 8px;
  border: 1px solid rgba(9, 33, 58, 0.06);
}

.gis-glow-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 50%, rgba(200, 155, 66, 0.15) 0%, transparent 62%);
  pointer-events: none;
}

.gis-label-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(9, 33, 58, 0.06);
  font-size: clamp(38px, 7vw, 58px);
  font-weight: 900;
  letter-spacing: 0.2em;
  pointer-events: none;
}

.gis-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.gis-svg line {
  stroke: var(--gold);
  stroke-width: 0.55;
  opacity: 0.42;
}

.mp {
  position: absolute;
  width: 11px;
  height: 11px;
  padding: 0;
  background: var(--gold);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(200, 155, 66, 0.82);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mp::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(200, 155, 66, 0.42);
  border-radius: 50%;
  animation: mpPing 2.5s infinite;
}

.mp:hover,
.mp:focus-visible,
.mp.active {
  box-shadow: 0 0 0 8px rgba(200, 155, 66, 0.16), 0 0 18px rgba(200, 155, 66, 0.95);
  outline: none;
  transform: translate(-50%, -50%) scale(1.18);
}

.mp.d1::before {
  animation-delay: 0s;
}

.mp.d2::before {
  animation-delay: 0.5s;
}

.mp.d3::before {
  animation-delay: 1s;
}

.mp.d4::before {
  animation-delay: 1.5s;
}

.mp.d5::before {
  animation-delay: 0.8s;
}

.gis-bh-flag {
  position: absolute;
  right: 18px;
  bottom: 15px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  opacity: 0.76;
}

.gis-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gis-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 16px;
  color: var(--gold);
  border: 1px solid rgba(200, 155, 66, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.gis-coords {
  color: rgba(200, 155, 66, 0.78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-family: "Courier New", monospace;
}

@keyframes mpPing {
  0% {
    opacity: 0.62;
    transform: scale(1);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(2.85);
  }
}

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

.feature-grid p {
  margin-bottom: 0;
  font-size: 16px;
}

.feature-grid p.ar {
  margin-top: 12px;
  color: var(--blue);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(170px, 0.32fr) minmax(420px, 1fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(48px, 6vw, 78px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: #06182d;
}

.footer-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-copy {
  max-width: 780px;
}

.site-footer h2 {
  max-width: 760px;
  margin-bottom: 16px;
}

.footer-logo {
  width: min(250px, 58vw);
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98), rgba(236, 215, 168, 0.9));
  border: 3px solid rgba(236, 215, 168, 0.92);
  border-radius: 50%;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.06),
    0 0 36px rgba(236, 215, 168, 0.72),
    0 0 80px rgba(200, 155, 66, 0.3);
}

.footer-note {
  margin-bottom: 0;
  color: var(--gold-soft);
  font-size: 28px;
}

address {
  display: grid;
  gap: 13px;
  align-content: center;
  min-height: 240px;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.74);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  font-style: normal;
}

address .eyebrow {
  margin-bottom: 2px;
}

address strong {
  color: var(--white);
  font-size: 22px;
}

address strong[lang="ar"] {
  color: var(--gold-soft);
  font-size: 20px;
}

address small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
}

address a {
  color: var(--gold-soft);
}

@media (max-width: 1060px) {
  .service-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .geo-section,
  .intro-section,
  .why-heading-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-logo-panel {
    justify-content: flex-start;
  }

  address {
    min-height: auto;
  }

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

@media (max-width: 760px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
    gap: 12px 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 20, 36, 0.96), rgba(5, 20, 36, 0.74)),
      linear-gradient(0deg, rgba(5, 20, 36, 0.28), rgba(5, 20, 36, 0.12));
  }

  .hero-metrics,
  .statement-grid,
  .service-grid,
  .feature-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .gis-map-grid {
    min-height: 260px;
  }

  .gis-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .map-wrap,
  #bahrain-map {
    min-height: 620px;
  }

  .map-tools-panel,
  .map-legend,
  .measure-result {
    position: relative;
    inset: auto;
    margin: 10px;
  }

  .map-wrap {
    display: grid;
    align-content: end;
  }

  #bahrain-map {
    position: absolute;
  }

  .map-pane {
    grid-row: auto;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(48px, 17vw, 76px);
  }

  address {
    padding-left: 0;
    border-left: 0;
  }
}
