:root {
  --bg: #061120;
  --bg-deep: #08182d;
  --bg-soft: #0c2342;
  --surface: rgba(10, 22, 42, 0.78);
  --surface-strong: rgba(8, 18, 35, 0.94);
  --surface-soft: rgba(16, 35, 64, 0.76);
  --line: rgba(118, 164, 255, 0.16);
  --line-strong: rgba(111, 231, 255, 0.24);
  --text: #eef4ff;
  --muted: #a9bad8;
  --primary: #2448bc;
  --primary-strong: #325fe6;
  --accent: #74e8ff;
  --accent-soft: rgba(116, 232, 255, 0.12);
  --success: #7af0c8;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1200px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 14%, rgba(36, 72, 188, 0.26), transparent 24%),
    radial-gradient(circle at 86% 10%, rgba(116, 232, 255, 0.14), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(50, 95, 230, 0.18), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 46%, var(--bg-soft) 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(116, 232, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 232, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(255,255,255,0.40), transparent 85%);
  opacity: 0.28;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 40%, rgba(2, 8, 18, 0.18) 100%);
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
button { border: 0; }

.site-shell {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(22px);
  background: rgba(6, 17, 32, 0.72);
  border-bottom: 1px solid rgba(116, 232, 255, 0.08);
}

.nav-row {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(116, 232, 255, 0.18);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.18);
  padding: 6px;
  flex-shrink: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-kicker {
  color: #89c9ff;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-size: 11px;
}

.brand-title {
  color: #eef4ff;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #b7c9ea;
}

.desktop-nav a {
  position: relative;
  font-size: 0.96rem;
  transition: color .25s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible { color: #f5f9ff; }
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  cursor: pointer;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease, border-color .24s ease, opacity .24s ease;
}

.btn:hover,
.btn:focus-visible { transform: translateY(-2px); }

.btn-primary {
  color: #f8fbff;
  background: linear-gradient(135deg, #1f43b3 0%, #3b66f2 58%, #6ce8ff 100%);
  box-shadow: 0 16px 34px rgba(47, 86, 211, 0.34);
}

.btn-secondary {
  color: #eef4ff;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(116, 232, 255, 0.16);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: transparent;
  border: 1px solid rgba(116, 232, 255, 0.14);
  padding: 12px 10px;
  gap: 5px;
  flex-direction: column;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #d8e6f7;
  border-radius: 999px;
}

.mobile-nav {
  border-top: 1px solid rgba(116, 232, 255, 0.08);
  background: rgba(6, 17, 32, 0.88);
}

.mobile-nav-inner {
  padding: 14px 0 18px;
  display: grid;
  gap: 10px;
}

.mobile-nav-inner a:not(.mobile-login) {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(116, 232, 255, 0.10);
  background: rgba(255,255,255,0.03);
}

.hero-section { padding: 52px 0 36px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(116, 232, 255, 0.18);
  background: rgba(116, 232, 255, 0.07);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a9efff;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.eyebrow-small {
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(2.8rem, 5.8vw, 5.3rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin: 18px 0;
  color: #eef4ff;
}

.hero-title span {
  display: block;
  background: linear-gradient(90deg, #76e9ff 0%, #aaf4ff 24%, #5d7eff 68%, #8defff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  font-size: 1.06rem;
  line-height: 1.95;
  color: #b8cae6;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.stat-card,
.glass-card,
.hero-panel,
.counter-card,
.security-card {
  background: linear-gradient(180deg, rgba(14, 30, 56, 0.84), rgba(9, 21, 40, 0.72));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.stat-card {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -55% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 232, 255, 0.24), transparent 72%);
}

.stat-card strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: #f4f8ff;
  margin-bottom: 6px;
}

.stat-card span {
  color: #a9bad8;
  font-size: 0.94rem;
}

.hero-panel {
  position: relative;
  padding: 22px;
  min-height: 560px;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -20%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 232, 255, 0.18), transparent 68%);
  filter: blur(8px);
}

.hero-panel-inner {
  position: relative;
  min-height: 100%;
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(8, 21, 40, 0.94), rgba(10, 27, 50, 0.97));
  border: 1px solid rgba(116, 232, 255, 0.10);
  overflow: hidden;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 18px;
}

.panel-top h2,
.section-heading h2,
.intro-card h2,
.contact-info-card h2 { margin: 0 0 10px; }
.panel-top p,
.section-heading p,
.intro-card p,
.details-card p,
.security-card p,
.contact-info-card p,
.floating-note p { color: var(--muted); line-height: 1.85; }

.status-pill {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: #d5fff0;
  background: rgba(122, 240, 200, 0.10);
  border: 1px solid rgba(122, 240, 200, 0.22);
  white-space: nowrap;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.mini-card {
  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(116,232,255,0.12);
  background: linear-gradient(180deg, rgba(47, 86, 211, 0.20), rgba(255,255,255,0.03));
}

.mini-card-alt {
  background: linear-gradient(180deg, rgba(116, 232, 255, 0.16), rgba(255,255,255,0.03));
}

.mini-label,
.mini-subtext { display: block; }
.mini-label { color: #d8f9ff; font-size: 0.9rem; margin-bottom: 12px; }
.mini-card strong { display: block; color: #f7fbff; font-size: 2.2rem; margin-bottom: 4px; }
.mini-subtext { color: var(--muted); }

.chart-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(116,232,255,0.10);
  background: rgba(255,255,255,0.04);
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  color: #eef4ff;
}

.chart-head span { color: var(--muted); }

.bar-chart {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  height: 180px;
}

.bar {
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #a9f3ff, #62ddff 45%, #3f6ef2 100%);
  min-height: 24px;
  transform-origin: bottom;
  box-shadow: 0 14px 26px rgba(47, 86, 211, 0.20);
  animation: rise 1.1s cubic-bezier(.2,.9,.2,1) both;
}

.bar-48 { height: 48%; animation-delay: .02s; }
.bar-62 { height: 62%; animation-delay: .08s; }
.bar-55 { height: 55%; animation-delay: .14s; }
.bar-78 { height: 78%; animation-delay: .20s; }
.bar-70 { height: 70%; animation-delay: .26s; }
.bar-92 { height: 92%; animation-delay: .32s; }
.bar-84 { height: 84%; animation-delay: .38s; }
.bar-96 { height: 96%; animation-delay: .44s; }

@keyframes rise {
  from { transform: scaleY(0.12); opacity: 0.4; }
  to { transform: scaleY(1); opacity: 1; }
}

.floating-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(260px, calc(100% - 44px));
  padding: 16px;
  border-radius: 18px;
  background: rgba(6, 18, 36, 0.88);
  border: 1px solid rgba(116,232,255,0.14);
  box-shadow: 0 18px 42px rgba(0,0,0,0.35);
  animation: floatY 5s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.section-block { padding: 90px 0; }
.section-muted { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00)); }
.section-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.intro-card,
.image-card,
.details-card,
.contact-map-card,
.contact-info-card {
  padding: 28px;
}

.about-visual {
  display: grid;
  gap: 18px;
}

.image-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.image-card-head span { color: var(--muted); }
.feature-image {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(116, 232, 255, 0.10);
}

.feature-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.section-heading {
  max-width: 860px;
}

.kpi-wrap {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.kpi-item {
  background: linear-gradient(180deg, rgba(14, 30, 56, 0.84), rgba(9, 21, 40, 0.72));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.kpi-label {
  color: #d8e8ff;
  margin-bottom: 12px;
}

.kpi-track {
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.kpi-fill {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  color: #03111d;
  font-size: 0.85rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6ce8ff, #3b66f2);
}

.kpi-90 { width: 90%; }
.kpi-85 { width: 85%; }
.kpi-75 { width: 75%; }

.counter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.counter-card {
  padding: 28px 20px;
  text-align: center;
}

.counter-card span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #f5f9ff;
}

.counter-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 1rem;
}

.module-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.image-tile {
  padding: 0;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(14, 30, 56, 0.84), rgba(9, 21, 40, 0.72));
  border: 1px solid rgba(116, 232, 255, 0.10);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}

.image-tile:hover img,
.image-tile:focus-visible img { transform: scale(1.03); }

.scroll-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-top: 28px;
  scrollbar-width: thin;
}

.is-hidden { display: none; }
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.security-layout {
  display: grid;
  gap: 26px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.security-card {
  padding: 24px;
}

.security-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 2px 6px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.contact-list p {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
}

.contact-list i {
  width: 20px;
  text-align: center;
  color: #7fe7ff;
  margin-top: 4px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), 1100px);
  margin: 40px auto;
  padding: 18px;
  border-radius: 24px;
  background: rgba(8, 18, 35, 0.94);
  border: 1px solid rgba(116, 232, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0,0,0,0.44);
}

.modal-image {
  width: 100%;
  border-radius: 18px;
}

.modal-caption {
  color: var(--muted);
  margin: 14px 0 0;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid rgba(111, 231, 255, 0.10);
  padding: 30px 0 40px;
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

.footer-top-link {
  min-width: 150px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.5rem;
}

.social-links a {
  color: #d8e6f7;
  transition: transform .2s ease, opacity .2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
  opacity: 0.85;
}

.footer-copy {
  color: var(--muted);
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid,
  .section-grid-two,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .module-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .security-grid,
  .counter-row,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel { min-height: auto; }
}

@media (max-width: 860px) {
  :root { --header-h: 74px; }
  .desktop-nav,
  .nav-actions .btn-primary { display: none; }
  .menu-toggle { display: inline-flex; }
  .mini-grid,
  .security-grid,
  .counter-row,
  .stats-grid,
  .module-preview-grid { grid-template-columns: 1fr; }
  .bar-chart { gap: 8px; height: 160px; }
}

@media (max-width: 640px) {
  .site-shell { width: min(calc(100% - 24px), var(--container)); }
  .section-block { padding: 72px 0; }
  .hero-section { padding-top: 34px; }
  .hero-title { font-size: clamp(2.25rem, 11vw, 3.3rem); }
  .hero-actions .btn { width: 100%; }
  .floating-note {
    position: static;
    width: 100%;
    margin-top: 16px;
    animation: none;
  }
  .panel-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .modal-dialog { margin: 24px auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
.btn.loading {
  pointer-events: none;
  opacity: 0.85;
  position: relative;
}

.btn.loading::after {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  position: absolute;
  right: 14px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.counter-card {
  appearance: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.counter-card:hover,
.counter-card:focus-visible {
  transform: translateY(-4px);
}

.btn.loading {
  pointer-events: none;
  opacity: 0.88;
  position: relative;
  padding-right: 52px;
}

.btn.loading::after {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: secure-spin 0.7s linear infinite;
  position: absolute;
  right: 16px;
}

@keyframes secure-spin {
  to { transform: rotate(360deg); }
}

.map-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.map-sidebar,
.map-stage {
  background: linear-gradient(180deg, rgba(14, 30, 56, 0.84), rgba(9, 21, 40, 0.72));
  border: 1px solid rgba(118, 164, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.map-sidebar {
  padding: 22px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.sidebar-block {
  display: grid;
  gap: 12px;
}

.sidebar-label {
  color: #8edfff;
  font-size: 0.83rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.category-tabs,
.region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-tab,
.region-tab {
  appearance: none;
  border: 1px solid rgba(116, 232, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #eef4ff;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.category-tab:hover,
.region-tab:hover,
.category-tab:focus-visible,
.region-tab:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(116, 232, 255, 0.26);
}

.category-tab.is-active,
.region-tab.is-active {
  background: linear-gradient(135deg, rgba(31, 67, 179, 0.9), rgba(59, 102, 242, 0.94));
  border-color: rgba(116, 232, 255, 0.28);
}

.stats-stack {
  padding: 16px;
  border-radius: 20px;
  background: rgba(6, 18, 36, 0.5);
  border: 1px solid rgba(116, 232, 255, 0.08);
}

.stat-line {
  display: grid;
  grid-template-columns: 14px auto 1fr;
  gap: 10px;
  align-items: center;
  color: #a9bad8;
  margin-bottom: 12px;
}

.stat-line:last-child {
  margin-bottom: 0;
}

.stat-line strong {
  color: #eef4ff;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-clinic { background: #2f7cf6; }
.legend-office { background: #4f8bff; }
.legend-assistance { background: #ffb63d; }
.legend-response { background: #7d4dff; }

.selected-location-card {
  min-height: 240px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(6, 18, 36, 0.5);
  border: 1px solid rgba(116, 232, 255, 0.08);
}

.selected-empty {
  color: #a9bad8;
  line-height: 1.8;
}

.selected-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #eef4ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(116, 232, 255, 0.14);
  font-size: 0.85rem;
}

.selected-location-card h3 {
  margin: 6px 0 8px;
  color: #eef4ff;
}

.selected-location-card p,
.selected-location-card li {
  color: #a9bad8;
  line-height: 1.75;
}

.selected-location-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.map-stage {
  padding: 16px;
  min-height: 720px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

.map-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 8px 10px 0;
}

.map-toolbar strong {
  color: #eef4ff;
  font-size: 1.15rem;
}

.map-toolbar-note {
  color: #a9bad8;
  font-size: 0.92rem;
}

.locations-map {
  min-height: 640px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(116, 232, 255, 0.08);
}

.leaflet-container {
  background: #0b1f39;
  color: #102548;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: rgba(245, 249, 255, 0.98);
  color: #19325f;
}

.location-popup {
  min-width: 220px;
}

.location-popup h4 {
  margin: 0 0 6px;
  color: #19325f;
  font-size: 1rem;
}

.location-popup p {
  margin: 0 0 4px;
  color: #39527f;
  line-height: 1.55;
}

.location-popup .popup-type {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}

.popup-type-clinic { background: #2f7cf6; }
.popup-type-office { background: #4f8bff; }
.popup-type-assistance { background: #ffb63d; }
.popup-type-response { background: #7d4dff; }

.marker-pin {
  width: 18px;
  height: 18px;
  display: block;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08);
}

.marker-clinic { background: #2f7cf6; }
.marker-office { background: #4f8bff; }
.marker-assistance { background: #ffb63d; }
.marker-response { background: #7d4dff; }

@media (max-width: 1180px) {
  .map-layout {
    grid-template-columns: 1fr;
  }

  .map-stage {
    min-height: 620px;
  }
}

@media (max-width: 860px) {
  .map-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .locations-map {
    min-height: 540px;
  }
}

@media (max-width: 640px) {
  .map-sidebar,
  .map-stage {
    border-radius: 22px;
  }

  .map-sidebar {
    padding: 18px;
  }

  .map-stage {
    padding: 12px;
    min-height: 500px;
  }

  .locations-map {
    min-height: 460px;
  }
}

.locations-list {
  display: grid;
  gap: 12px;
}

.location-list-item {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(116, 232, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: #eef4ff;
  border-radius: 18px;
  padding: 14px 16px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.location-list-item:hover,
.location-list-item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(116, 232, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.location-list-item.is-active {
  border-color: rgba(116, 232, 255, 0.28);
  background: linear-gradient(135deg, rgba(31, 67, 179, 0.28), rgba(59, 102, 242, 0.20));
}

.location-list-item h4 {
  margin: 0 0 6px;
  color: #eef4ff;
  font-size: 1rem;
}

.location-list-item p {
  margin: 0;
  color: #a9bad8;
  line-height: 1.6;
  font-size: 0.92rem;
}

.compact-summary-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(6, 18, 36, 0.5);
  border: 1px solid rgba(116, 232, 255, 0.08);
}

.compact-count {
  font-size: 1.45rem;
  font-weight: 700;
  color: #eef4ff;
  margin-top: 4px;
}

.compact-summary-text {
  margin: 8px 0 0;
  color: #a9bad8;
  line-height: 1.6;
  font-size: 0.94rem;
}

.map-stage {
  position: relative;
}

.map-floating-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 320px;
  max-width: calc(100% - 36px);
  padding: 18px;
  border-radius: 20px;
  background: rgba(7, 20, 38, 0.88);
  border: 1px solid rgba(116, 232, 255, 0.14);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  z-index: 500;
}

.map-floating-card h3 {
  margin: 6px 0 8px;
  color: #eef4ff;
}

.map-floating-card p,
.map-floating-card li {
  color: #a9bad8;
  line-height: 1.7;
}

.map-floating-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

@media (max-width: 860px) {
  .map-floating-card {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 14px;
  }
}

.security-subsection {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.security-subsection h3 {
  margin-bottom: 10px;
}

.dashboard-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
}

.dashboard-trigger .feature-image {
  display: block;
  width: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dashboard-trigger:hover .feature-image {
  transform: scale(1.02);
}

.dashboard-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.module-card {
  text-align: left;
  border: 1px solid rgba(31, 92, 163, 0.14);
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.module-card:hover,
.module-card.is-active {
  transform: translateY(-4px);
  border-color: #3b82f6;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.14);
}

.module-card-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.module-card-text {
  display: block;
  color: #475569;
  line-height: 1.5;
  font-size: 0.95rem;
}

.module-ai-details {
  margin-top: 28px;
  background: linear-gradient(135deg, #0b1b3a 0%, #10264f 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(2, 8, 23, 0.24);
}

.module-ai-header {
  margin-bottom: 20px;
}

.module-ai-header h3 {
  margin: 8px 0;
  font-size: 1.8rem;
  color: #ffffff;
}

.module-ai-header p {
  margin: 0;
  color: #bfd8ff;
}

.module-detail-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 20px;
  margin-top: 16px;
}

.module-detail-card h4 {
  margin: 0 0 10px;
  color: #7dc4ff;
  font-size: 1rem;
}

.module-detail-card p {
  margin: 0;
  line-height: 1.7;
  color: #eef4ff;
}