/* =========================================================
   SAESHA INDUSTRIAL ENTERPRISES — MASTER DESIGN SYSTEM
   Version 3.0 — Premium Corporate UI
   ========================================================= */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  width: 100%; min-height: 100%;
  margin: 0; padding: 0; overflow-x: hidden;
  background-color: #ffffff;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---------- IMAGE RENDERING & ASPECT RATIOS ---------- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.img-card-full {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}
.img-hero-full {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}
.img-step-full {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

/* ---------- TYPOGRAPHY SCALE ---------- */
.font-display  { font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif; }
.font-body     { font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif; }
.font-editorial{ font-family: 'Newsreader', 'Georgia', 'Times New Roman', serif; }
.font-mono     { font-family: 'JetBrains Mono', 'Courier New', monospace; }

/* ---------- NOISE TEXTURE OVERLAY ---------- */
.noise-overlay {
  position: relative;
}
.noise-overlay::before {
  content: '';
  position: absolute; inset: 0;
  background-color: transparent;
  pointer-events: none; z-index: 0;
  border-radius: inherit;
}

/* ---------- NAVIGATION ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,0.7);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 1px 0 rgba(226,232,240,1), 0 8px 32px -8px rgba(0,0,0,0.08);
}

/* Master Navigation Active Item Indicator */
.nav-link-active {
  position: relative;
  color: #0f172a !important;
  font-weight: 700 !important;
}
.nav-link-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: #1478C9;
  border-radius: 9999px;
}

.nav-pill {
  display: flex; align-items: center; gap: 2px;
  background: rgba(241,245,249,0.9);
  border: 1px solid rgba(226,232,240,0.8);
  border-radius: 100px;
  padding: 6px;
}
.nav-pill a {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
  letter-spacing: -0.01em;
}
.nav-pill a:hover {
  color: #0f172a;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.nav-pill a.active {
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* ---------- LIVE BADGE ---------- */
.live-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(240,253,244,1);
  border: 1px solid rgba(167,243,208,0.7);
  font-size: 0.7rem; font-weight: 700;
  color: #065f46; letter-spacing: 0.02em;
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-ring 2s ease infinite;
}
@keyframes pulse-ring {
  0%,100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(16,185,129,0); }
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(226,232,240,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226,232,240,0.4) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
}
.hero-ambient {
  position: absolute; pointer-events: none;
  border-radius: 50%; filter: blur(80px); opacity: 0.35;
}
.hero-ambient-1 {
  top: -20%; right: -5%;
  width: 55%; height: 70%;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
}
.hero-ambient-2 {
  bottom: -10%; left: -10%;
  width: 40%; height: 50%;
  background: radial-gradient(circle, rgba(217,119,6,0.12) 0%, transparent 70%);
}
.hero-ambient-3 {
  top: 30%; left: 30%;
  width: 30%; height: 40%;
  background: radial-gradient(circle, rgba(14,165,233,0.06) 0%, transparent 70%);
}

/* ---------- EDITORIAL CHAPTER LABEL ---------- */
.chapter-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #b45309;
  font-family: 'Space Grotesk', monospace;
}
.chapter-label::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1.5px;
  background: currentColor;
  flex-shrink: 0;
}

/* ---------- SECTION DIVIDERS ---------- */
.section-rule {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226,232,240,1) 15%, rgba(226,232,240,1) 85%, transparent);
}
.section-rule-dark {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(51,65,85,0.8) 15%, rgba(51,65,85,0.8) 85%, transparent);
}

/* ---------- METRIC PILLS ---------- */
.metric-pill {
  padding: 16px 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(226,232,240,0.9);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.03);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.metric-pill:hover {
  border-color: #002868;
  box-shadow: 0 0 0 3px rgba(0,40,104,0.06), 0 4px 20px rgba(0,40,104,0.1);
  transform: translateY(-2px);
}
.metric-pill .metric-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem; font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.metric-pill .metric-label {
  font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.metric-pill .metric-sub {
  font-size: 0.68rem;
  margin-top: 4px;
  color: #94a3b8;
}

/* ---------- VIDEO CARD ---------- */
.video-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid rgba(226,232,240,0.9);
  background: #020617;
  box-shadow:
    0 4px 6px -1px rgba(0,0,0,0.05),
    0 20px 40px -8px rgba(0,0,0,0.12),
    0 0 0 1px rgba(255,255,255,0.5) inset;
}
.video-hud-bar {
  position: absolute;
  display: flex; align-items: center; justify-content: space-between;
  left: 16px; right: 16px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(2,6,23,0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.72rem; font-weight: 600;
  color: #f1f5f9;
}
.video-hud-bar.top { top: 16px; }
.video-hud-bar.bottom {
  bottom: 16px;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 640px) {
  .video-hud-bar.bottom {
    flex-direction: row; align-items: center;
  }
}

/* ---------- BENTO SERVICE CARD ---------- */
.service-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(226,232,240,0.9);
  background: #ffffff;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.service-card:hover {
  border-color: #002868;
  box-shadow:
    0 0 0 3px rgba(0,40,104,0.06),
    0 20px 48px -8px rgba(0,40,104,0.1),
    0 8px 16px -4px rgba(0,0,0,0.05);
  transform: translateY(-6px);
}
.service-card .card-cover {
  position: relative; overflow: hidden;
  height: 220px;
}
.service-card .card-cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover .card-cover img { transform: scale(1.06); }
.service-card .card-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,0) 20%, rgba(2,6,23,0.9) 100%);
}
.service-card .card-number {
  position: absolute; top: 14px; left: 14px;
  width: 38px; height: 38px; border-radius: 12px;
  background: #002868;
  color: #fff; font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,40,104,0.4);
}
.service-card .card-badge {
  position: absolute; top: 14px; right: 14px;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(2,6,23,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.65rem; font-weight: 700;
  color: #fff; letter-spacing: 0.04em;
}
.service-card .card-caption {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
}
.service-card .card-caption .division-tag {
  font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: #fcd34d; margin-bottom: 4px;
}
.service-card .card-caption h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: #ffffff; line-height: 1.2;
}
.service-card .card-body {
  padding: 24px 24px 28px;
}
.service-card .card-body p {
  font-size: 0.875rem; line-height: 1.65;
  color: #64748b; margin-bottom: 20px;
}
.service-card .spec-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid rgba(226,232,240,0.7);
}
.service-card .spec-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; color: #475569;
}
.service-card .spec-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: #002868;
}
.service-card .card-cta {
  display: block; width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  background: #0f172a;
  color: #ffffff; text-align: center;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.2s ease;
}
.service-card .card-cta:hover {
  background: #002868;
  box-shadow: 0 8px 24px -4px rgba(0,40,104,0.3);
}

/* ---------- CEO DARK PANEL ---------- */
.ceo-panel {
  background: linear-gradient(135deg, #020d1e 0%, #050b18 50%, #010814 100%);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  position: relative;
  box-shadow: 0 32px 80px -16px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.ceo-panel::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 55%; height: 100%;
  background: radial-gradient(ellipse at 100% 30%, rgba(37,99,235,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.ceo-panel::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 40%; height: 60%;
  background: radial-gradient(ellipse at 0% 100%, rgba(217,119,6,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* ---------- PROCESS STEPS ---------- */
.process-step {
  position: relative;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid rgba(226,232,240,0.9);
  background: #f8fafc;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.process-step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #002868, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.process-step:hover::before { transform: scaleX(1); }
.process-step:hover {
  border-color: rgba(0,40,104,0.2);
  background: #ffffff;
  box-shadow: 0 12px 32px -8px rgba(0,40,104,0.1);
  transform: translateY(-4px);
}
.process-step .step-num {
  width: 48px; height: 48px; border-radius: 14px;
  background: #002868;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0,40,104,0.25);
}
.process-step h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: #0f172a; margin-bottom: 10px;
}
.process-step p { font-size: 0.85rem; line-height: 1.65; color: #64748b; }

/* ---------- DARK CORRIDORS SECTION ---------- */
.corridors-section { background: #030712; }
.corridor-tab-btn {
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(51,65,85,0.6);
  border-radius: 16px;
  padding: 16px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex; flex-direction: column; gap: 10px;
}
.corridor-tab-btn:hover {
  border-color: rgba(245,158,11,0.5);
  background: rgba(30,41,59,0.9);
}
.corridor-tab-btn.active {
  border-color: #f59e0b;
  background: rgba(30,41,59,1);
  box-shadow: 0 0 0 1px rgba(245,158,11,0.2), 0 8px 24px -4px rgba(0,0,0,0.3);
}
.corr-dossier {
  border-radius: 20px;
  border: 1px solid rgba(51,65,85,0.6);
  background: rgba(15,23,42,0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 64px -16px rgba(0,0,0,0.4);
}
.corr-telemetry {
  background: rgba(2,6,23,0.95);
  border-radius: 16px;
  border: 1px solid rgba(51,65,85,0.8);
  font-family: 'Space Grotesk', monospace;
}
.corr-telemetry .tele-row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(51,65,85,0.4);
  font-size: 0.72rem;
}
.corr-telemetry .tele-row:last-child { border-bottom: none; }

/* ---------- CTA SECTION ---------- */
.cta-strip {
  background: #0f172a;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; top: -40%; right: -10%;
  width: 60%; height: 180%;
  background: radial-gradient(ellipse, rgba(37,99,235,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.cta-strip::after {
  content: '';
  position: absolute; bottom: -40%; left: -10%;
  width: 40%; height: 100%;
  background: radial-gradient(ellipse, rgba(217,119,6,0.1) 0%, transparent 65%);
  pointer-events: none;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #020712;
  color: #94a3b8;
  border-top: 1px solid rgba(51,65,85,0.5);
}
.footer-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(51,65,85,0.8) 20%, rgba(51,65,85,0.8) 80%, transparent);
  margin: 0;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-primary:hover {
  background: #002868;
  box-shadow: 0 8px 24px -4px rgba(0,40,104,0.35);
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border-radius: 14px;
  background: transparent;
  color: #0f172a;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  text-decoration: none;
  border: 1.5px solid rgba(203,213,225,0.9);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}
.btn-secondary:hover {
  border-color: #0f172a;
  background: rgba(15,23,42,0.04);
  transform: translateY(-1px);
}
.btn-amber {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  background: #d97706;
  color: #ffffff;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(217,119,6,0.3);
}
.btn-amber:hover {
  background: #b45309;
  box-shadow: 0 8px 24px rgba(217,119,6,0.4);
  transform: translateY(-1px);
}
.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
}

/* ---------- SCROLL-REVEAL ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ---------- NUMBER COUNTER ---------- */
.counter-value { transition: none; }

/* ---------- GOVERNANCE TRUST CARD ---------- */
.trust-card {
  background: #ffffff;
  border: 1px solid rgba(226,232,240,0.9);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.03);
  display: flex; align-items: center; gap: 32px;
  padding: 36px 40px;
  transition: box-shadow 0.3s ease;
}
.trust-card:hover {
  box-shadow: 0 8px 32px -8px rgba(0,40,104,0.1);
}
@media (max-width: 768px) {
  .trust-card { flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 20px; }
}

/* ---------- MORE DROPDOWN ---------- */
#more-dropdown {
  animation: dropIn 0.2s cubic-bezier(0.16,1,0.3,1) forwards;
  transform-origin: top right;
}
@keyframes dropIn {
  from { opacity: 0; transform: scale(0.95) translateY(-8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- RESPONSIVE UTILITIES ---------- */
@media (max-width: 1024px) {
  .hero-h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
}
@media (max-width: 640px) {
  .hero-h1 { font-size: clamp(2rem, 9vw, 3.5rem); }
  .section-h2 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
}

/* ---------- MOBILE MENU SLIDE ---------- */
#mobile-menu {
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}
#mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ---------- SELECTION ---------- */
::selection { background: #002868; color: #ffffff; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(148,163,184,0.5); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: rgba(100,116,139,0.7); }

/* =========================================================
   FREE API & LIVE INTEGRATION COMPONENTS
   ========================================================= */

/* ---------- LEAFLET DARK INDUSTRIAL MAP ---------- */
#corridor-map {
  width: 100%;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(51,65,85,0.7);
  background: #020617;
  box-shadow: 0 16px 36px -8px rgba(0,0,0,0.5);
  z-index: 10;
}
.leaflet-container {
  background: #020617 !important;
  font-family: 'Space Grotesk', 'Inter', sans-serif !important;
}
.custom-hub-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(245,158,11,0.5);
}
.hub-pin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #f59e0b;
  position: relative;
}
.hub-pin.hq {
  background: #3b82f6;
  box-shadow: 0 0 20px rgba(59,130,246,0.8);
}
.hub-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #f59e0b;
  animation: hubPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.hub-pin.hq .hub-pulse {
  border-color: #3b82f6;
}
@keyframes hubPulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}
.leaflet-popup-content-wrapper {
  background: rgba(15,23,42,0.95) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(51,65,85,0.8) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 32px rgba(0,0,0,0.5) !important;
  backdrop-filter: blur(8px) !important;
}
.leaflet-popup-tip {
  background: rgba(15,23,42,0.95) !important;
  border: 1px solid rgba(51,65,85,0.8) !important;
}

/* ---------- FLOATING WHATSAPP DISPATCH DESK ---------- */
.floating-dispatch-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 100px;
  background: #25D366;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 10px 25px -4px rgba(37,211,102,0.45), 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.floating-dispatch-btn:hover {
  transform: translateY(-4px) scale(1.02);
  background: #20ba5a;
  box-shadow: 0 16px 32px -4px rgba(37,211,102,0.6), 0 6px 14px rgba(0,0,0,0.15);
}
.floating-dispatch-btn .wa-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  animation: waPulse 1.8s infinite;
}
@keyframes waPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* ---------- LIVE WEATHER & TELEMETRY CHIPS ---------- */
.weather-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(30,41,59,0.7);
  border: 1px solid rgba(51,65,85,0.7);
  font-family: 'Space Grotesk', monospace;
  font-size: 0.68rem;
  color: #cbd5e1;
}
.weather-chip strong {
  color: #f8fafc;
}

/* ---------- ROUTE CALCULATOR DISPLAY ---------- */
.route-calculator-panel {
  background: rgba(2,6,23,0.95);
  border: 1px solid rgba(51,65,85,0.8);
  border-radius: 16px;
  padding: 20px;
}

/* =========================================================
   PREMIUM LIQUID & GLASSMORPHIC INTERACTIVE EFFECTS
   ========================================================= */

/* Liquid Shimmer Button Base */
.btn-liquid {
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  isolation: isolate;
}
.btn-liquid::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 200%; height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 35%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.08) 65%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: all 0.75s ease;
  pointer-events: none;
  z-index: 1;
}
.btn-liquid:hover::before {
  left: 100%;
}
.btn-liquid:active {
  transform: scale(0.97);
}

/* Golden Liquid Button (Primary Book Requisition CTA) */
.btn-liquid-gold {
  background: linear-gradient(135deg, #F3C332 0%, #E8B923 50%, #C79512 100%);
  color: #020617;
  font-weight: 800;
  box-shadow: 0 4px 14px 0 rgba(232, 185, 35, 0.38), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-liquid-gold:hover {
  background: linear-gradient(135deg, #FAD65A 0%, #EDB71A 50%, #B88507 100%);
  box-shadow: 0 8px 24px -2px rgba(232, 185, 35, 0.55), 0 2px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-1.5px);
}

/* Dark Slate Liquid Button (Secondary / Corporate CTA) */
.btn-liquid-dark {
  background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(2, 6, 23, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-liquid-dark:hover {
  background: linear-gradient(135deg, #1e293b 0%, #090d16 100%);
  box-shadow: 0 8px 22px -3px rgba(2, 6, 23, 0.45);
  transform: translateY(-1.5px);
}

/* Blue Accent Liquid Button */
.btn-liquid-blue {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-liquid-blue:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  box-shadow: 0 8px 22px -3px rgba(37, 99, 235, 0.5);
  transform: translateY(-1.5px);
}

/* Liquid Subtle Border Pill */
.btn-liquid-outline {
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-liquid-outline:hover {
  border-color: #0f172a;
  background: #f8fafc;
  transform: translateY(-1px);
}

/* Liquid Pulse / Floating Ring */
@keyframes liquidGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(232, 185, 35, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(232, 185, 35, 0);
  }
}
.pulse-gold-ring {
  animation: liquidGlow 2.8s infinite;
}

/* Mobile Polish Utilities */
@media (max-width: 768px) {
  .mobile-safe-tap {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

