/* ==========================================================================
   MAJHA SMART SOLUTIONS INC. - MASTER DESIGN SYSTEM
   Complete Security, Automation, Low-Voltage, Fencing & Access Control
   ========================================================================== */

:root {
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Color Palette - Industrial High-Tech Security */
  --color-brand-primary: #0f172a;
  /* Deep Navy Slate */
  --color-brand-secondary: #0a0f1d;
  /* Pitch Slate */
  --color-brand-surface: #1e293b;
  /* Slate Card Surface */
  --color-brand-surface-light: #f8fafc;
  /* Crisp Light Background */

  --color-accent-blue: #0284c7;
  /* Electric Blue */
  --color-accent-cyan: #06b6d4;
  /* Cyan Laser */
  --color-accent-amber: #f59e0b;
  /* Security Amber / Warning Gold */
  --color-accent-emerald: #10b981;
  /* Verified Green */
  --color-accent-red: #ef4444;
  /* Alarm Red */

  --color-gradient-primary: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --color-gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --color-gradient-dark: linear-gradient(180deg, #0a0f1d 0%, #0f172a 100%);
  --color-gradient-glow: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);

  /* Neutrals */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dark: #0f172a;
  --text-dark-secondary: #475569;

  --border-color: rgba(255, 255, 255, 0.1);
  --border-light: #e2e8f0;
  --border-glow: rgba(2, 132, 199, 0.4);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 30px rgba(2, 132, 199, 0.25);
  --shadow-amber-glow: 0 0 30px rgba(245, 158, 11, 0.25);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  /* Color Palette - Crisp High-Tech Light Theme */
  --color-brand-primary: #ffffff;
  --color-brand-secondary: #f8fafc;
  --color-brand-surface: #ffffff;
  --color-brand-surface-light: #f1f5f9;

  --color-accent-blue: #0284c7;
  --color-accent-cyan: #0284c7;
  --color-accent-amber: #d97706;
  --color-accent-emerald: #059669;
  --color-accent-red: #dc2626;

  --color-gradient-primary: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --color-gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --color-gradient-dark: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  --color-gradient-glow: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(245, 158, 11, 0.05) 100%);

  /* Neutrals */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-dark: #0f172a;
  --text-dark-secondary: #334155;

  --border-color: #e2e8f0;
  --border-light: #e2e8f0;
  --border-glow: rgba(2, 132, 199, 0.25);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px -4px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.12);
  --shadow-amber-glow: 0 0 25px rgba(245, 158, 11, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color-scheme: dark;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  min-height: 100vh;
  background-color: var(--color-brand-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 45%);
  z-index: -1;
}

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

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

/* ==========================================================================
   Container & Grids
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Top Utility Bar
   ========================================================================== */
.top-bar {
  background: #060913;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.45rem 0;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: hidden;
}

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-badge-text-full {
  display: inline;
}

.top-badge-text-short {
  display: none;
}

.top-phone-label {
  display: inline;
}

.top-phone-num {
  display: inline;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse-ring 2s infinite ease-in-out;
}

@keyframes pulse-ring {

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

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.top-bar-link:hover {
  color: var(--color-accent-cyan);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  margin-left: auto;
}

.top-phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(2, 132, 199, 0.4);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.top-phone-cta:hover {
  background: var(--color-accent-blue);
  color: #ffffff;
  border-color: var(--color-accent-blue);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 15, 29, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 250px;
  display: block;
  object-fit: contain;
  transition: var(--transition);
}

.brand-container:hover .brand-logo-img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.4));
}

.brand-shield {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0284c7 0%, #0f172a 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: var(--transition);
}

.brand-container:hover .brand-shield {
  transform: scale(1.05);
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-name span {
  color: #38bdf8;
}

.brand-subtext {
  font-size: 0.72rem;
  color: var(--color-accent-amber);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-item:hover>.nav-link {
  color: #38bdf8;
  background: rgba(255, 255, 255, 0.04);
}

.nav-link svg {
  transition: transform 0.2s ease;
}

.nav-item:hover>.nav-link svg {
  transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(940px, 92vw);
  background: #0b1120;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(2, 132, 199, 0.25);
  padding: 1.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  z-index: 1050;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-col-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-accent-amber);
  margin-bottom: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mega-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mega-link:hover {
  background: rgba(2, 132, 199, 0.12);
  transform: translateX(4px);
}

.mega-icon {
  width: 28px;
  height: 28px;
  background: rgba(2, 132, 199, 0.15);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}

.mega-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.mega-text p {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Sectors dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 270px;
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1050;
  list-style: none;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.dropdown-link:hover {
  background: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   Theme Switch Toggle Button
   ========================================================================== */
.theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: transform 0.2s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--color-accent-blue);
  outline-offset: 2px;
}

.theme-toggle:hover {
  transform: scale(1.05);
}

.theme-toggle-track {
  width: 52px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 2px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover .theme-toggle-track {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 0 10px rgba(56, 189, 248, 0.3);
}

.theme-toggle-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 2px;
  transform: translateX(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 0 8px rgba(2, 132, 199, 0.6);
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

/* Light Mode Toggle States */
[data-theme="light"] .theme-toggle-track {
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
  border: 1.5px solid #f59e0b;
  box-shadow: inset 0 2px 4px rgba(245, 158, 11, 0.15), 0 0 8px rgba(245, 158, 11, 0.2);
}

[data-theme="light"] .theme-toggle:hover .theme-toggle-track {
  border-color: #d97706;
  box-shadow: inset 0 2px 4px rgba(245, 158, 11, 0.2), 0 0 14px rgba(245, 158, 11, 0.45);
}

[data-theme="light"] .theme-toggle-indicator {
  transform: translateX(24px);
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.45), 0 0 12px rgba(245, 158, 11, 0.7);
}

[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.2;
  white-space: normal;
}

.btn-primary {
  background: var(--color-gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.5);
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
}

.btn-accent {
  background: var(--color-gradient-accent);
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  font-weight: 800;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.btn-phone {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-phone:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  background: radial-gradient(circle at 50% 20%, rgba(2, 132, 199, 0.12) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--color-accent-amber);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  font-weight: 600;
}

.trust-item svg {
  color: #38bdf8;
  flex-shrink: 0;
}

/* Hero Quick Lead Form Card */
.hero-card {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-gradient-accent);
}

.hero-card-header {
  margin-bottom: 1.5rem;
}

.hero-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-card-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Quick Lead Form */
.quick-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  background: #0b1120;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* ==========================================================================
   Trust / Urgency Bar (24/7 Hotline & Winnipeg Response)
   ========================================================================== */
.urgency-banner {
  background: linear-gradient(90deg, #070d1a 0%, #0f1c38 50%, #070d1a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
}

.urgency-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.urgency-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.urgency-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.urgency-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.urgency-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Sectors Section (Residential, Commercial, Industrial, Trucking)
   ========================================================================== */
.sectors-section {
  padding: 5rem 0;
  background: #080d19;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Sector Tabs */
.sector-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.sector-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.5rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.sector-tab-btn:hover {
  background: rgba(30, 41, 59, 0.9);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.4);
}

.sector-tab-btn.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(15, 23, 42, 0.9) 100%);
  color: #38bdf8;
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.25);
}

.sector-tab-pane {
  display: none;
  animation: fadeIn 0.35s ease;
}

.sector-tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.sector-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16/10;
}

.sector-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sector-grid:hover .sector-image-box img {
  transform: scale(1.03);
}

.sector-badge-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #38bdf8;
}

.sector-info h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.sector-info p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.sector-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  list-style: none;
  margin-bottom: 2rem;
}

.sector-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: #e2e8f0;
  font-weight: 600;
}

.sector-features-list svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ==========================================================================
   Complete Services Directory (15 Services Cards)
   ========================================================================== */
.services-section {
  padding: 5rem 0;
  background: #0a0f1d;
}

.services-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
  gap: 1.75rem;
}

.service-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0284c7, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(2, 132, 199, 0.15);
  background: rgba(22, 33, 62, 0.85);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(56, 189, 248, 0.25);
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: #0284c7;
  color: #ffffff;
  transform: scale(1.08);
}

.service-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-amber);
  background: rgba(245, 158, 11, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
}

.service-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-card-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.service-bullets svg {
  color: #38bdf8;
  flex-shrink: 0;
}

.service-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.service-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #38bdf8;
  transition: var(--transition);
}

.service-learn-more:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* ==========================================================================
   Brand Ecosystem & Agnostic Philosophy Section
   ========================================================================== */
.brands-section {
  padding: 5rem 0;
  background: #080d19;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.agnostic-callout {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(245, 158, 11, 0.08) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.agnostic-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.agnostic-content h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.agnostic-content p {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.brand-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

.brand-cat-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.brand-cat-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(20, 30, 55, 0.7);
}

.brand-cat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent-amber);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: var(--transition);
}

.brand-tag:hover {
  background: rgba(2, 132, 199, 0.2);
  border-color: #38bdf8;
  color: #ffffff;
}

/* ==========================================================================
   Service Area Section (Winnipeg, Manitoba, Saskatchewan, Alberta)
   ========================================================================== */
.service-area-section {
  padding: 5rem 0;
  background: #0a0f1d;
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.area-card-primary {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.18) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.area-tag-primary {
  display: inline-block;
  background: #0284c7;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.area-card-primary h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.area-card-primary p {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.manitoba-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.city-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

.area-cards-secondary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.area-card-item {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}

.area-card-item:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateX(4px);
}

.area-card-item h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.area-card-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Full Service Page Specific Templates
   ========================================================================== */
.page-hero {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at 75% 20%, rgba(2, 132, 199, 0.15) 0%, transparent 55%), #0a0f1d;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: #38bdf8;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.page-hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border: 1px solid rgba(56, 189, 248, 0.3);
  aspect-ratio: 16/10;
}

.page-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.spec-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.spec-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-3px);
}

.spec-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spec-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Service Detail Content Sections */
.detail-section {
  padding: 4.5rem 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.detail-body h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 2rem 0 1rem;
}

.detail-body h2:first-of-type {
  margin-top: 0;
}

.detail-body p {
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.detail-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.detail-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.96rem;
  color: #e2e8f0;
}

.detail-body ul li svg {
  color: #38bdf8;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Sticky Sidebar in Service Pages */
.sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.sidebar-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.sidebar-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* ==========================================================================
   Lead Generation & Quote Modals
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: #ef4444;
}

/* ==========================================================================
   Mobile Sticky Bottom Call / Quote Bar
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 15, 29, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.65rem 1rem;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-bar-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #060913;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-about p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links-list a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.contact-row svg {
  color: #38bdf8;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Breakpoints - Tablets, Mobile & Touch Optimization
   ========================================================================== */

/* --- 1. Large Tablets & Small Laptops (max-width: 1200px) --- */
@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }

  .top-bar-email {
    display: none !important;
  }
}

/* --- 2. Tablets (iPad Portrait, Tablets, Small Laptops) (max-width: 992px) --- */
@media (max-width: 992px) {
  .top-bar {
    display: block;
    padding: 0.35rem 0;
  }

  .top-bar-location,
  .top-bar-email {
    display: none !important;
  }

  .top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .top-bar-left {
    display: flex;
    align-items: center;
    min-width: 0;
    flex-shrink: 1;
  }

  .top-bar-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
  }

  .top-badge {
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .top-phone-cta {
    padding: 0.2rem 0.65rem;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .header-inner {
    height: 72px;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--menu-top, 72px);
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--menu-top, 72px));
    background: rgba(10, 15, 29, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    overflow-y: auto;
    padding: 1.25rem 1.5rem 3rem;
    z-index: 1000;
    gap: 0.5rem;
    border-top: 1px solid rgba(56, 189, 248, 0.2);
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-link {
    width: 100%;
    padding: 0.9rem 0.5rem;
    font-size: 1.05rem;
    justify-content: space-between;
  }

  .mega-menu,
  .dropdown-menu {
    position: static;
    transform: none !important;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: var(--radius-md);
    padding: 1rem;
    grid-template-columns: 1fr;
    display: none;
    margin: 0.5rem 0 1rem;
    gap: 1.25rem;
  }

  .nav-item.open .mega-menu,
  .nav-item.open .dropdown-menu {
    display: grid;
    animation: fadeIn 0.25s ease;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sector-grid {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .area-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sidebar-sticky {
    position: static;
    top: auto;
  }
}

/* --- 3. Phablets & Mobile Phones (max-width: 768px) --- */
@media (max-width: 768px) {
  body {
    padding-bottom: 74px;
    /* Space for sticky action bar */
  }

  .top-bar {
    padding: 0.3rem 0;
  }

  .top-bar-content {
    gap: 0.5rem;
  }

  .top-badge-text-full {
    display: none !important;
  }

  .top-badge-text-short {
    display: inline !important;
  }

  .top-phone-label {
    display: none !important;
  }

  .top-badge {
    padding: 0.18rem 0.5rem;
    font-size: 0.74rem;
  }

  .top-phone-cta {
    padding: 0.18rem 0.55rem;
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .header-inner {
    height: 64px;
  }

  .brand-logo-img {
    height: 38px;
    max-width: 175px;
  }

  .header-actions {
    gap: 0.55rem;
  }

  .mobile-toggle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .mobile-sticky-bar {
    display: block;
    padding: 0.6rem 1rem max(0.6rem, env(safe-area-inset-bottom));
  }

  .header .header-actions .btn-accent,
  .header #header-quote-btn {
    display: none !important;
    /* Redundant with bottom mobile bar */
  }

  .hero {
    padding: 3rem 0 2rem;
  }

  .hero-title {
    font-size: clamp(2rem, 5.5vw, 2.75rem);
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .sector-tabs-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
  }

  .sector-tab-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    font-size: 0.88rem;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 1.25rem;
  }

  .services-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .services-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .spec-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 1rem;
    margin: 2rem 0;
  }

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

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px;
    /* Prevents iOS Safari unwanted auto-zoom */
    min-height: 48px;
  }

  .form-textarea {
    min-height: 90px;
  }

  .urgency-flex {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .urgency-info {
    flex-direction: column;
    text-align: center;
  }

  .urgency-banner .btn {
    width: 100%;
  }

  .modal-box {
    padding: 1.5rem;
    max-height: 85vh;
  }

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

  .footer {
    padding: 3.5rem 0 1.5rem;
    margin-top: 2rem;
  }
}

/* --- 4. Standard & Small Mobile Phones (max-width: 480px) --- */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .brand-logo-img {
    height: 38px;
    max-width: 175px;
  }

  .top-badge {
    padding: 0.16rem 0.45rem;
    font-size: 0.72rem;
  }

  .top-phone-cta {
    padding: 0.18rem 0.5rem;
    font-size: 0.73rem;
  }

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

  .hero-card {
    padding: 1.25rem 1rem;
  }

  .sector-tabs-nav {
    grid-template-columns: 1fr;
  }

  .sector-grid {
    padding: 1.25rem;
  }

  .sector-features-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 1.35rem 1.15rem;
  }

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

  .brand-category-grid {
    grid-template-columns: 1fr;
  }

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

  .mobile-bar-actions .btn {
    font-size: 0.85rem;
    padding: 0.65rem 0.75rem;
  }
}

/* --- 5. Ultra-Compact Mobile Phones (max-width: 360px) --- */
@media (max-width: 360px) {
  .header-inner {
    height: 60px;
  }

  .brand-logo-img {
    height: 32px;
    max-width: 145px;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .mobile-toggle {
    width: 36px;
    height: 36px;
  }

  .top-badge {
    padding: 0.14rem 0.4rem;
    font-size: 0.68rem;
  }

  .top-phone-cta {
    padding: 0.16rem 0.45rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .theme-toggle-track {
    width: 46px;
    height: 26px;
  }

  .theme-toggle-indicator {
    width: 20px;
    height: 20px;
  }

  [data-theme="light"] .theme-toggle-indicator {
    transform: translateX(20px);
  }
}

/* ==========================================================================
   VIBRANT & CRISP LIGHT THEME MASTER DESIGN SYSTEM
   High-Contrast, Rich Color Palette, Colorful Gradients & Dimensional Shadows
   ========================================================================== */

[data-theme="light"] html {
  color-scheme: light;
}

[data-theme="light"] body {
  background-color: #f8fafc;
  background-image:
    radial-gradient(rgba(2, 132, 199, 0.08) 1.2px, transparent 1.2px),
    radial-gradient(circle at 10% 10%, rgba(14, 165, 233, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
  background-size: 28px 28px, 100% 100%, 100% 100%;
  color: #0f172a;
}

[data-theme="light"] body::before {
  display: none;
}

/* --- Top Utility Bar --- */
[data-theme="light"] .top-bar {
  background: #090e1a;
  border-bottom: 2px solid #0284c7;
  color: #94a3b8;
}

[data-theme="light"] .top-bar-link {
  color: #cbd5e1;
}

[data-theme="light"] .top-bar-link:hover {
  color: #38bdf8;
}

[data-theme="light"] .top-phone-cta {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.45);
}

[data-theme="light"] .top-phone-cta:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  color: #ffffff;
}

[data-theme="light"] .top-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

/* --- Header & Navigation --- */
[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1.5px solid rgba(2, 132, 199, 0.16);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px -5px rgba(2, 132, 199, 0.15);
  border-bottom-color: rgba(2, 132, 199, 0.3);
}

[data-theme="light"] .brand-container:hover .brand-logo-img {
  filter: drop-shadow(0 0 12px rgba(2, 132, 199, 0.35));
}

[data-theme="light"] .brand-shield {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .brand-name {
  color: #0f172a;
}

[data-theme="light"] .brand-name span {
  color: #0284c7;
}

[data-theme="light"] .brand-subtext {
  color: #d97706;
}

[data-theme="light"] .nav-link {
  color: #0f172a;
  font-weight: 700;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-item:hover > .nav-link {
  color: #0284c7;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(6, 182, 212, 0.08) 100%);
}

[data-theme="light"] .mega-menu {
  background: #ffffff;
  border: 2px solid rgba(2, 132, 199, 0.25);
  box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.18), 0 0 25px rgba(2, 132, 199, 0.12);
  border-radius: var(--radius-lg);
}

[data-theme="light"] .mega-col-title {
  color: #d97706;
  border-bottom: 2px solid #fef3c7;
  font-weight: 800;
}

[data-theme="light"] .mega-icon {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0284c7;
  border: 1px solid #7dd3fc;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .mega-link:hover .mega-icon {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
}

[data-theme="light"] .mega-link:hover {
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);
}

[data-theme="light"] .mega-text h4 {
  color: #0f172a;
  font-weight: 700;
}

[data-theme="light"] .mega-text p {
  color: #64748b;
}

[data-theme="light"] .dropdown-menu {
  background: #ffffff;
  border: 2px solid rgba(2, 132, 199, 0.22);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15), 0 0 20px rgba(2, 132, 199, 0.08);
}

[data-theme="light"] .dropdown-link {
  color: #1e293b;
  font-weight: 700;
}

[data-theme="light"] .dropdown-link:hover {
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
  color: #0284c7;
}

[data-theme="light"] .mobile-toggle {
  color: #0f172a;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
}

/* --- Hero Section & Lead Form --- */
[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(2, 132, 199, 0.18) 0%, rgba(99, 102, 241, 0.1) 38%, rgba(245, 158, 11, 0.06) 68%, transparent 100%),
    linear-gradient(180deg, #ffffff 0%, #f0f7ff 50%, #f8fafc 100%);
  border-bottom: 2px solid rgba(2, 132, 199, 0.14);
}

[data-theme="light"] .hero-title {
  color: #020617;
  font-weight: 800;
  letter-spacing: -0.03em;
}

[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 30%, #7c3aed 65%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(2, 132, 199, 0.22));
}

[data-theme="light"] .hero-lead {
  color: #334155;
  font-size: 1.18rem;
  font-weight: 500;
}

[data-theme="light"] .hero-badge {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border: 1.5px solid #0284c7;
  color: #0369a1;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .hero-location-badge {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1.5px solid #f59e0b;
  color: #92400e;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
}

[data-theme="light"] .hero-trust-bullets {
  border-top: 1.5px solid rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .trust-item {
  color: #1e293b;
  font-weight: 700;
}

[data-theme="light"] .trust-item svg {
  color: #0284c7;
  filter: drop-shadow(0 2px 4px rgba(2, 132, 199, 0.35));
}

[data-theme="light"] .hero-card {
  background: #ffffff;
  border: 2px solid rgba(2, 132, 199, 0.25);
  box-shadow:
    0 25px 50px -10px rgba(2, 132, 199, 0.18),
    0 10px 25px -5px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

[data-theme="light"] .hero-card::before {
  height: 5px;
  background: linear-gradient(90deg, #0284c7 0%, #06b6d4 35%, #10b981 70%, #f59e0b 100%);
}

[data-theme="light"] .hero-card-title,
[data-theme="light"] .hero-card h2,
[data-theme="light"] .hero-card h3 {
  color: #0f172a !important;
  font-weight: 800;
}

[data-theme="light"] .hero-card-sub,
[data-theme="light"] .hero-card p {
  color: #475569 !important;
}

[data-theme="light"] .form-label {
  color: #1e293b;
  font-weight: 700;
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
  font-weight: 600;
}

[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder {
  color: #94a3b8;
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-select:focus,
[data-theme="light"] .form-textarea:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.22);
}

/* --- Buttons in Light Mode --- */
[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1e40af 100%);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.45);
}

[data-theme="light"] .btn-accent {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

[data-theme="light"] .btn-accent:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.45);
}

[data-theme="light"] .btn-secondary {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .btn-secondary:hover {
  background: #f0f7ff;
  border-color: #0284c7;
  color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .btn-phone {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

[data-theme="light"] .btn-phone:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.45);
}

/* --- Urgency / Trust Banner --- */
[data-theme="light"] .urgency-banner {
  background: linear-gradient(90deg, #eff6ff 0%, #fffbeb 50%, #f0fdf4 100%);
  border-top: 2px solid #38bdf8;
  border-bottom: 2px solid #f59e0b;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.08);
}

[data-theme="light"] .urgency-text h3 {
  color: #0f172a;
  font-weight: 800;
}

[data-theme="light"] .urgency-text p {
  color: #475569;
  font-weight: 600;
}

[data-theme="light"] .urgency-icon-box {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

/* --- Sectors Section --- */
[data-theme="light"] .sectors-section {
  background: linear-gradient(180deg, #f8fafc 0%, #eef6ff 50%, #f8fafc 100%);
}

[data-theme="light"] .section-tag {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border: 1.5px solid #0284c7;
  color: #0369a1;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .section-title {
  color: #020617;
  font-weight: 800;
}

[data-theme="light"] .section-subtitle {
  color: #334155;
  font-weight: 500;
}

[data-theme="light"] .sector-tab-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .sector-tab-btn:hover {
  background: #f0f7ff;
  color: #0284c7;
  border-color: #0284c7;
  transform: translateY(-2px);
}

[data-theme="light"] .sector-tab-btn.active {
  background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .sector-grid {
  background: #ffffff;
  border: 2px solid rgba(2, 132, 199, 0.18);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.1), 0 0 25px rgba(2, 132, 199, 0.05);
}

[data-theme="light"] .sector-info h3 {
  color: #0f172a;
}

[data-theme="light"] .sector-info p {
  color: #475569;
}

[data-theme="light"] .sector-features-list li {
  color: #1e293b;
  font-weight: 700;
}

[data-theme="light"] .sector-features-list svg {
  color: #10b981;
  filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.3));
}

[data-theme="light"] .sector-image-box {
  border: 2px solid rgba(2, 132, 199, 0.2);
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.15);
}

/* --- Services Section --- */
[data-theme="light"] .services-section {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
}

[data-theme="light"] .filter-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .filter-btn:hover {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #0284c7;
}

[data-theme="light"] .filter-btn.active {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  border-color: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .service-card {
  background: #ffffff;
  border: 1.5px solid rgba(2, 132, 199, 0.18);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04);
  position: relative;
}

[data-theme="light"] .service-card::after {
  height: 4px;
  background: linear-gradient(90deg, #0284c7 0%, #06b6d4 50%, #f59e0b 100%);
  opacity: 1;
}

[data-theme="light"] .service-card:hover {
  background: #ffffff;
  border-color: #0284c7;
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -10px rgba(2, 132, 199, 0.22), 0 0 20px rgba(6, 182, 212, 0.15);
}

[data-theme="light"] .service-icon-box {
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  color: #0284c7;
  border: 1.5px solid #7dd3fc;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .service-card:hover .service-icon-box {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
}

[data-theme="light"] .service-category-tag {
  color: #92400e;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.15);
}

[data-theme="light"] .service-card-title {
  color: #0f172a;
  font-weight: 800;
}

[data-theme="light"] .service-card-desc {
  color: #475569;
  font-weight: 500;
}

[data-theme="light"] .service-bullets {
  border-top: 1.5px solid #f1f5f9;
}

[data-theme="light"] .service-bullets li {
  color: #1e293b;
  font-weight: 600;
}

[data-theme="light"] .service-bullets li svg {
  color: #10b981;
  filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.25));
}

[data-theme="light"] .service-learn-more {
  color: #0284c7;
  font-weight: 800;
}

[data-theme="light"] .service-learn-more:hover {
  color: #1d4ed8;
}

/* --- Brands Ecosystem --- */
[data-theme="light"] .brands-section {
  background: #ffffff;
  border-top: 1.5px solid #e2e8f0;
  border-bottom: 1.5px solid #e2e8f0;
}

[data-theme="light"] .agnostic-callout {
  background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 50%, #fffbeb 100%);
  border: 2px solid #38bdf8;
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.1);
}

[data-theme="light"] .agnostic-icon {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .agnostic-content h4 {
  color: #0f172a;
}

[data-theme="light"] .agnostic-content p {
  color: #334155;
  font-weight: 500;
}

[data-theme="light"] .brand-cat-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  position: relative;
}

[data-theme="light"] .brand-cat-card:hover {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.15);
  transform: translateY(-4px);
}

[data-theme="light"] .brand-cat-title {
  color: #b45309;
  font-weight: 800;
}

[data-theme="light"] .brand-tag {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  color: #1e40af;
  font-weight: 700;
}

[data-theme="light"] .brand-tag:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  transform: translateY(-2px);
}

/* --- Service Area Section --- */
[data-theme="light"] .service-area-section {
  background: linear-gradient(180deg, #f8fafc 0%, #eef6ff 50%, #f8fafc 100%);
}

[data-theme="light"] .area-card-primary {
  background: linear-gradient(135deg, #070d1a 0%, #0f274e 50%, #0284c7 100%);
  border: 2px solid #38bdf8;
  box-shadow: 0 25px 60px rgba(2, 132, 199, 0.3);
  color: #ffffff;
}

[data-theme="light"] .area-card-primary h3 {
  color: #ffffff;
}

[data-theme="light"] .area-card-primary p {
  color: #cbd5e1;
}

[data-theme="light"] .city-pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-weight: 700;
}

[data-theme="light"] .area-card-item {
  background: #ffffff;
  border: 1.5px solid rgba(2, 132, 199, 0.2);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .area-card-item:hover {
  border-color: #f59e0b;
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.18);
  transform: translateX(6px);
}

[data-theme="light"] .area-card-item h4 {
  color: #0f172a;
}

[data-theme="light"] .area-card-item p {
  color: #475569;
}

/* --- Service Sub-Pages & Detail Layouts --- */
[data-theme="light"] .page-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.15) 0%, rgba(245, 158, 11, 0.08) 50%, transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  border-bottom: 1.5px solid rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .breadcrumb a {
  color: #0369a1;
  font-weight: 600;
}

[data-theme="light"] .breadcrumb a:hover {
  color: #0284c7;
}

[data-theme="light"] .page-hero-img-wrap {
  border: 2px solid rgba(2, 132, 199, 0.35);
  box-shadow: 0 20px 45px rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .spec-card {
  background: #ffffff;
  border: 1.5px solid rgba(2, 132, 199, 0.18);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .spec-card:hover {
  border-color: #0284c7;
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.15);
  transform: translateY(-4px);
}

[data-theme="light"] .spec-card h4 {
  color: #0f172a;
}

[data-theme="light"] .spec-card p {
  color: #475569;
}

[data-theme="light"] .detail-body h2 {
  color: #020617;
}

[data-theme="light"] .detail-body p {
  color: #334155;
  font-weight: 500;
}

[data-theme="light"] .detail-body ul li {
  color: #1e293b;
  font-weight: 600;
}

[data-theme="light"] .detail-body ul li svg {
  color: #0284c7;
}

[data-theme="light"] .sidebar-card {
  background: #ffffff;
  border: 2px solid rgba(2, 132, 199, 0.25);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  position: relative;
}

[data-theme="light"] .sidebar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0284c7 0%, #f59e0b 100%);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

[data-theme="light"] .sidebar-card h3 {
  color: #0f172a;
}

[data-theme="light"] .sidebar-card p {
  color: #475569;
}

/* --- Modals, Overlays & Sticky Actions --- */
[data-theme="light"] .modal-overlay {
  background: rgba(15, 23, 42, 0.7);
}

[data-theme="light"] .modal-box {
  background: #ffffff;
  border: 2px solid rgba(2, 132, 199, 0.3);
  box-shadow: 0 30px 60px -12px rgba(2, 132, 199, 0.3), 0 0 25px rgba(2, 132, 199, 0.1);
  color: #0f172a;
}

[data-theme="light"] #modal-title {
  color: #0f172a !important;
}

[data-theme="light"] .modal-close {
  background: #eff6ff;
  color: #0284c7;
  border: 1px solid #bfdbfe;
}

[data-theme="light"] .modal-close:hover {
  background: #ef4444;
  color: #ffffff;
}

[data-theme="light"] section[style*="background: linear-gradient(135deg, #0b1528"],
[data-theme="light"] .cta-banner-section {
  background: linear-gradient(135deg, #070d1a 0%, #1e3a8a 50%, #0284c7 100%) !important;
  border-top: 2px solid #38bdf8 !important;
  box-shadow: 0 20px 50px rgba(2, 132, 199, 0.25);
}

[data-theme="light"] section[style*="background: linear-gradient(135deg, #0b1528"] h2,
[data-theme="light"] .cta-banner-section h2 {
  color: #ffffff !important;
}

[data-theme="light"] section[style*="background: linear-gradient(135deg, #0b1528"] p,
[data-theme="light"] .cta-banner-section p {
  color: #cbd5e1 !important;
}

[data-theme="light"] .mobile-sticky-bar {
  background: rgba(255, 255, 255, 0.96);
  border-top: 1.5px solid rgba(2, 132, 199, 0.2);
  box-shadow: 0 -4px 20px rgba(2, 132, 199, 0.1);
}

[data-theme="light"] .nav-menu.mobile-open {
  background: rgba(255, 255, 255, 0.98);
  border-top: 2px solid #0284c7;
}

[data-theme="light"] .nav-menu.mobile-open .nav-item {
  border-bottom: 1px solid #f1f5f9;
}

[data-theme="light"] .nav-menu.mobile-open .nav-link {
  color: #0f172a;
}

[data-theme="light"] .nav-menu.mobile-open .mega-menu,
[data-theme="light"] .nav-menu.mobile-open .dropdown-menu {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
}

/* ==========================================================================
   CRISP TEXT & HIGH-CONTRAST LIGHT THEME REFINEMENTS
   Guarantees zero light-on-light or dark-on-dark contrast issues
   ========================================================================== */

/* Select Options */
.form-select option {
  background: #0f172a;
  color: #ffffff;
}

[data-theme="light"] .form-select option {
  background: #ffffff !important;
  color: #0f172a !important;
}

/* Urgency Text */
.urgency-title {
  color: #ffffff;
}

[data-theme="light"] .urgency-title {
  color: #0f172a !important;
}

[data-theme="light"] .urgency-text,
[data-theme="light"] .urgency-text p {
  color: #334155 !important;
}

/* Confidential Note in Form */
.form-confidential {
  color: #94a3b8;
}

[data-theme="light"] .form-confidential {
  color: #475569 !important;
  font-weight: 600;
}

/* Sector Tag Color Variants */
.tag-amber {
  color: var(--color-accent-amber);
  border-color: rgba(245, 158, 11, 0.3);
}

.tag-red {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.tag-cyan {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

[data-theme="light"] .tag-amber {
  color: #92400e !important;
  background: #fef3c7 !important;
  border-color: #f59e0b !important;
  font-weight: 800 !important;
}

[data-theme="light"] .tag-red {
  color: #991b1b !important;
  background: #fee2e2 !important;
  border-color: #ef4444 !important;
  font-weight: 800 !important;
}

[data-theme="light"] .tag-cyan {
  color: #0369a1 !important;
  background: #e0f2fe !important;
  border-color: #0284c7 !important;
  font-weight: 800 !important;
}

/* Sidebar in Service & Contact Pages */
.sidebar-note {
  color: #94a3b8;
}

[data-theme="light"] .sidebar-note {
  color: #64748b !important;
  font-weight: 500;
}

.sidebar-advantage-list {
  color: #cbd5e1;
}

[data-theme="light"] .sidebar-advantage-list,
[data-theme="light"] .sidebar-advantage-list li {
  color: #1e293b !important;
  font-weight: 600;
}

[data-theme="light"] .sidebar-card .footer-links-list a,
[data-theme="light"] .sidebar-card a:not(.btn) {
  color: #0284c7 !important;
  font-weight: 700;
}

[data-theme="light"] .sidebar-card .footer-links-list a:hover,
[data-theme="light"] .sidebar-card a:not(.btn):hover {
  color: #0369a1 !important;
  text-decoration: underline;
}

/* Spec Card SVG Icons */
[data-theme="light"] .spec-card svg {
  stroke: #0284c7 !important;
}

/* Form Success State */
.form-success-wrap {
  color: #ffffff;
}

.form-success-title {
  color: #ffffff;
}

.form-success-desc {
  color: #cbd5e1;
}

.form-success-cta {
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.form-success-cta p {
  color: #38bdf8;
}

.form-success-cta a {
  color: #ffffff;
}

[data-theme="light"] .form-success-wrap {
  color: #0f172a !important;
}

[data-theme="light"] .form-success-title {
  color: #0f172a !important;
}

[data-theme="light"] .form-success-desc {
  color: #334155 !important;
}

[data-theme="light"] .form-success-cta {
  background: #eff6ff !important;
  border: 1.5px solid #93c5fd !important;
}

[data-theme="light"] .form-success-cta p {
  color: #0284c7 !important;
}

[data-theme="light"] .form-success-cta a {
  color: #0f172a !important;
}

/* Modal Inputs & Labels */
[data-theme="light"] .modal-box {
  background: #ffffff !important;
  color: #0f172a !important;
}

[data-theme="light"] .modal-box p,
[data-theme="light"] .modal-box .form-label {
  color: #1e293b !important;
  font-weight: 700;
}

[data-theme="light"] .modal-box .form-input,
[data-theme="light"] .modal-box .form-select,
[data-theme="light"] .modal-box .form-textarea {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
}

[data-theme="light"] .modal-box .form-input:focus,
[data-theme="light"] .modal-box .form-select:focus,
[data-theme="light"] .modal-box .form-textarea:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.22) !important;
}

/* Service Detail Typography */
[data-theme="light"] .detail-body h2 {
  color: #020617 !important;
}

[data-theme="light"] .detail-body p {
  color: #334155 !important;
}

[data-theme="light"] .detail-body strong {
  color: #020617 !important;
}

[data-theme="light"] .detail-body ul li {
  color: #1e293b !important;
  font-weight: 600;
}

[data-theme="light"] .detail-body ul li svg {
  color: #0284c7 !important;
  stroke: #0284c7 !important;
}

/* Hero Cards Global */
[data-theme="light"] .hero-card {
  background: #ffffff !important;
}

[data-theme="light"] .hero-card h2,
[data-theme="light"] .hero-card h3 {
  color: #0f172a !important;
}

[data-theme="light"] .hero-card p {
  color: #475569 !important;
}

/* Dark Footer High-Contrast Preservation in Light Mode */
[data-theme="light"] .footer {
  background: #060913 !important;
  border-top: 2px solid #0284c7 !important;
}

[data-theme="light"] .footer-col h4 {
  color: #ffffff !important;
}

[data-theme="light"] .footer-about p,
[data-theme="light"] .footer-links-list a,
[data-theme="light"] .footer-bottom,
[data-theme="light"] .footer-bottom p {
  color: #94a3b8 !important;
}

[data-theme="light"] .footer-links-list a:hover {
  color: #38bdf8 !important;
}

[data-theme="light"] .footer-contact-info .contact-row {
  color: #cbd5e1 !important;
}

[data-theme="light"] .footer-contact-info .contact-row svg {
  color: #38bdf8 !important;
}

[data-theme="light"] .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}