/* ==========================================================================
   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);
}

/* ==========================================================================
   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.5rem 0;
}

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

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.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;
}

.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);
}

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

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  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);
}

.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;
}

/* ==========================================================================
   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;
  }
}

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

  .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);
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100dvh - 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 */
  }

  .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;
    /* 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-phone-cta,
  .header-actions .btn-phone,
  #header-call-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.82rem;
  }

  .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) {
  .brand-logo-img {
    height: 32px;
    max-width: 145px;
  }

  .header-actions {
    gap: 0.4rem;
  }

  #header-call-btn span {
    display: none;
  }
}