/* ==========================================================================
   AAROHAN ELECTRICALS — Production Design System (Ecosystem Edition)
   Zero-Build Static CSS | Brand Palette + Motion + A4 Print-to-PDF Engine
   ========================================================================== */

:root {
  --navy-deepest: #021B3D;
  --navy-primary: #0A224E;
  --navy-mid: #102F66;
  --blue-primary: #154B9C;
  --blue-hover: #0F3A7D;
  --green-primary: #169B4B;
  --green-hover: #117A3B;
  --green-light: #34D399;
  --amber-dot: #F59E0B;
  --sky-dot: #38BDF8;

  --surface-grey: #F4F7FA;
  --surface-blue: #EEF4FC;
  --surface-green: #ECFDF5;
  --surface-amber: #FFFBEB;
  --border-amber: #FDE68A;
  --text-amber: #78350F;

  --ink-body: #1E293B;
  --ink-charcoal: #2C3A47;
  --ink-muted: #52637A;
  --border-light: #DCE4F0;
  --white: #FFFFFF;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-sm: 0 2px 8px rgba(2, 27, 61, 0.06);
  --shadow-md: 0 10px 30px rgba(2, 27, 61, 0.09);
  --shadow-lg: 0 20px 50px rgba(2, 27, 61, 0.16);
  --max-width: 1220px;
  --transition: 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--ink-body);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: var(--blue-primary);
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

a:hover {
  color: var(--blue-hover);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy-deepest);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.45rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
h3 { font-size: clamp(1.18rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { color: var(--ink-charcoal); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.85em;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 76px 0;
}

.section-sm {
  padding: 48px 0;
}

.bg-surface { background: var(--surface-grey); }
.bg-blue-tint { background: var(--surface-blue); }
.bg-green-tint { background: var(--surface-green); }
.bg-navy { background: var(--navy-deepest); color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-primary);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--green-primary);
  display: inline-block;
  border-radius: 2px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-header p {
  margin-top: 12px;
  font-size: 1.05rem;
  color: var(--ink-muted);
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header.center .eyebrow {
  justify-content: center;
}

/* Scroll Progress Bar & Page Transition Veil */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-primary), var(--green-primary), var(--green-light));
  z-index: 9999;
  pointer-events: none;
  will-change: width;
}

.page-transition-veil {
  position: fixed;
  inset: 0;
  background: var(--navy-deepest);
  opacity: 0;
  pointer-events: none;
  z-index: 9998;
  transition: opacity 0.24s ease;
}

.page-transition-veil.is-active {
  opacity: 0.92;
  pointer-events: auto;
}

/* ==========================================================================
   GLOBAL TOP ECOSYSTEM SWITCHER BAR (.ecosystem-bar)
   ========================================================================== */
.ecosystem-bar {
  background: var(--navy-deepest);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  position: relative;
  z-index: 1002;
}

.ecosystem-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: nowrap;
}

.ecosystem-bar-inner::-webkit-scrollbar {
  display: none;
}

.ecosystem-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}

.ecosystem-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.eco-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.eco-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.eco-pill.is-active {
  background: var(--blue-primary);
  border-color: var(--green-light);
  color: var(--white);
}

.eco-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.eco-dot--green { background: var(--green-light); }
.eco-dot--amber { background: var(--amber-dot); }
.eco-dot--sky { background: var(--sky-dot); }

/* ==========================================================================
   STICKY GLASSMORPHIC HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

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

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-primary);
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue-primary);
  background: var(--surface-blue);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 295px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1010;
}

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

.dropdown-link {
  display: flex;
  flex-direction: column;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--navy-primary);
}

.dropdown-link:hover {
  background: var(--surface-blue);
  color: var(--blue-primary);
}

.dropdown-link strong {
  font-size: 0.87rem;
  font-weight: 700;
}

.dropdown-link span {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-btn {
  display: none;
  background: var(--surface-grey);
  border: 1px solid var(--border-light);
  color: var(--navy-deepest);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 24px 22px;
  box-shadow: var(--shadow-md);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-list a,
.mobile-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 12px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--navy-primary);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.mobile-nav-list a:hover,
.mobile-accordion-btn:hover {
  background: var(--surface-blue);
  color: var(--blue-primary);
}

.mobile-accordion-panel {
  display: none;
  padding-left: 14px;
  margin-bottom: 6px;
  border-left: 2px solid var(--blue-primary);
}

.mobile-accordion-panel.is-open {
  display: block;
}

.mobile-accordion-panel a {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 12px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
  text-align: center;
  line-height: 1.25;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue-primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(21, 75, 156, 0.28);
}

.btn-green {
  background: var(--green-primary);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green-hover);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(22, 155, 75, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--navy-primary);
  border-color: var(--border-light);
}

.btn-outline:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
  background: var(--surface-blue);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--white);
  color: var(--white);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.83rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.badge-blue { background: var(--surface-blue); color: var(--blue-primary); border: 1px solid #C7DCF9; }
.badge-green { background: var(--surface-green); color: #0F763B; border: 1px solid #A7F3D0; }
.badge-amber { background: var(--surface-amber); color: var(--text-amber); border: 1px solid var(--border-amber); }
.badge-navy { background: rgba(255, 255, 255, 0.1); color: var(--green-light); border: 1px solid rgba(52, 211, 153, 0.35); }

/* ==========================================================================
   HERO SECTION & EXECUTION WORKBENCH
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(22, 155, 75, 0.22), transparent 44%),
    radial-gradient(circle at 12% 88%, rgba(21, 75, 156, 0.38), transparent 48%),
    linear-gradient(135deg, var(--navy-deepest) 0%, var(--navy-primary) 58%, #0E3168 100%);
  color: var(--white);
  padding: 76px 0 86px;
}

.hero-grid-bg {
  position: absolute;
  inset: -40px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  will-change: transform;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(22, 155, 75, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #A7F3D0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 18px;
}

.hero h1 .accent-green {
  color: var(--green-light);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  max-width: 600px;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-meta-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Right-Side Execution & Compliance Workbench Card */
.workbench-card {
  background: rgba(2, 27, 61, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  will-change: transform;
}

.workbench-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.workbench-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.workbench-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
}

.workbench-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.workbench-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition);
}

.workbench-tile:hover {
  background: rgba(21, 75, 156, 0.35);
  border-color: var(--green-light);
  transform: translateY(-2px);
  color: var(--white);
}

.workbench-tile .tile-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--green-light);
}

.workbench-tile strong {
  font-size: 0.93rem;
  line-height: 1.25;
}

.workbench-tile span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
}

.workbench-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Inner Page Hero */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(22, 155, 75, 0.2), transparent 42%),
    linear-gradient(135deg, var(--navy-deepest) 0%, var(--navy-primary) 100%);
  color: var(--white);
  padding: 56px 0 60px;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 740px;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--green-light);
}

/* ==========================================================================
   POSITIONING BAND & GRIDS & CARDS
   ========================================================================== */
.positioning-band {
  background: var(--surface-blue);
  border-bottom: 1px solid var(--border-light);
  padding: 22px 0;
}

.positioning-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.motto-tag {
  font-weight: 800;
  color: var(--navy-deepest);
  font-size: 1.05rem;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #B6CCE8;
}

.card-code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--blue-primary);
  background: var(--surface-blue);
  padding: 3px 9px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 12px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 0.94rem;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.card-list {
  list-style: none;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.88rem;
  color: var(--ink-charcoal);
}

.card-list li {
  position: relative;
  padding-left: 18px;
}

.card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-primary);
  font-weight: 800;
}

.card-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--blue-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Compliance / Disclaimer Callout Box */
.notice-box {
  background: var(--surface-amber);
  border: 1px solid var(--border-amber);
  border-left: 4px solid #D97706;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  color: var(--text-amber);
  font-size: 0.92rem;
}

.notice-box strong {
  color: #78350F;
}

.info-box {
  background: var(--surface-blue);
  border: 1px solid #C7DCF9;
  border-left: 4px solid var(--blue-primary);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-size: 0.93rem;
}

.referral-banner {
  background: var(--surface-green);
  border: 1px solid #86EFAC;
  border-left: 4px solid var(--green-primary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 22px;
  color: #065F46;
  font-size: 0.93rem;
  display: none;
}

.referral-banner.is-visible {
  display: block;
}

/* ==========================================================================
   12-STEP ECOSYSTEM STRIP & 8-STEP WORKFLOW
   ========================================================================== */
.ecosystem-loop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.eco-stage-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--border-light);
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.eco-stage-card.is-primary {
  background: linear-gradient(180deg, var(--navy-deepest), var(--navy-primary));
  color: var(--white);
  border-color: var(--green-primary);
  box-shadow: var(--shadow-md);
}

.eco-stage-card.is-primary h3,
.eco-stage-card.is-primary p,
.eco-stage-card.is-primary li {
  color: rgba(255, 255, 255, 0.9);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 8px;
}

.step-card h4 {
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.86rem;
  color: var(--ink-muted);
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th, td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-light);
}

th {
  background: var(--navy-primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--surface-grey); }

/* ==========================================================================
   KNOWLEDGE CENTRE STICKY FILTER BAR & ARTICLES
   ========================================================================== */
.kc-sticky-bar {
  position: sticky;
  top: 72px;
  z-index: 900;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
}

.kc-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.kc-filter-pills::-webkit-scrollbar { display: none; }

.filter-pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--navy-primary);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}

.filter-pill:hover,
.filter-pill.is-active {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--white);
}

.article-prose {
  max-width: 820px;
}

.article-prose h2 {
  font-size: 1.55rem;
  margin: 34px 0 12px;
}

.article-prose h3 {
  font-size: 1.2rem;
  margin: 24px 0 10px;
}

.article-prose p {
  margin-bottom: 16px;
}

.article-prose ul, .article-prose ol {
  margin: 0 0 18px 22px;
}

.article-prose li {
  margin-bottom: 8px;
}

/* ==========================================================================
   RESOURCES INTERACTIVE DRAWER & PRINT-TO-PDF
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 27, 61, 0.62);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.resource-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(620px, 100vw);
  height: 100vh;
  background: var(--white);
  z-index: 2001;
  box-shadow: -12px 0 40px rgba(2, 27, 61, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.resource-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px 24px;
  background: var(--navy-deepest);
  color: var(--white);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.drawer-header h3 {
  color: var(--white);
  font-size: 1.18rem;
}

.drawer-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  overscroll-behavior: contain;
}

.checklist-item-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 9px;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.checklist-item-row:hover {
  background: var(--surface-grey);
}

.checklist-item-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green-primary);
  flex-shrink: 0;
}

.unlock-gate-box {
  background: var(--surface-green);
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 20px;
}

.drawer-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--surface-grey);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

/* Hidden off-screen on web; sole visible element during print */
#print-checklist-sheet {
  display: none;
}

/* ==========================================================================
   CONTACT 5-TAB HUB & STICKY SIDEBAR
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  align-items: start;
}

.contact-sticky-col {
  position: sticky;
  top: 96px;
}

.contact-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.contact-tab-btn {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--surface-grey);
  color: var(--navy-primary);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all var(--transition);
}

.contact-tab-btn.is-active {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--white);
}

.form-panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.form-panel.is-active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--ink-body);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(21, 75, 156, 0.14);
}

.form-error {
  color: #B91C1C;
  font-size: 0.82rem;
  font-weight: 600;
}

.form-success {
  background: var(--surface-green);
  border: 1px solid #86EFAC;
  color: #065F46;
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 16px;
  display: none;
}

.form-success.is-visible {
  display: block;
}

/* ==========================================================================
   CTA BANNER & DARK NAVY FOOTER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-deepest), var(--blue-primary));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 620px;
}

.site-footer {
  background: var(--navy-deepest);
  color: rgba(255, 255, 255, 0.82);
  padding: 64px 0 30px;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo-badge {
  display: inline-block;
  background: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.footer-logo-badge img {
  height: 46px;
  width: auto;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.94rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.88rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-links a:hover {
  color: var(--green-light);
}

/* Shared Footer Ecosystem Strip */
.footer-ecosystem-strip {
  margin: 28px 0;
  padding: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}

.footer-ecosystem-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-light);
  margin-bottom: 14px;
}

.footer-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.footer-eco-card {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.footer-eco-card:hover {
  background: rgba(21, 75, 156, 0.32);
  border-color: var(--green-light);
  color: var(--white);
}

.footer-eco-card.is-current {
  border-color: var(--green-light);
  background: rgba(21, 75, 156, 0.25);
}

.footer-eco-card strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.footer-eco-card span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal-links a:hover {
  color: var(--white);
}

/* Back-to-Top & Mobile Quick Action Bar */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-primary);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.24s ease;
  font-size: 1.1rem;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-quick-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 980;
  background: var(--navy-deepest);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 12px;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 8px;
}

.mobile-quick-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}

.mobile-quick-bar a.mqb-cta {
  background: var(--green-primary);
}

/* Motion Reveal Default */
.reveal-item {
  will-change: transform, opacity;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .desktop-nav, .header-actions { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .brand-logo-img { height: 32px; }
  .header-inner { height: 62px; }
  .kc-sticky-bar { top: 62px; }
  .grid-3, .grid-4, .ecosystem-loop-grid, .footer-ecosystem-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-sticky-col { position: static; }
  .mobile-quick-bar { display: grid; }
  body { padding-bottom: 64px; }
  .back-to-top { bottom: 76px; right: 14px; }
}

@media (max-width: 640px) {
  .grid-2, .form-grid, .workbench-grid, .step-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .cta-banner { padding: 32px 22px; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   A4 PRINT-TO-PDF ENGINE (RESOURCES CHECKLISTS)
   ========================================================================== */
@page {
  size: A4 portrait;
  margin: 0.45in;
}

@media print {
  .ecosystem-bar,
  .site-header,
  .mobile-quick-bar,
  .back-to-top,
  .scroll-progress-bar,
  .page-transition-veil {
    display: none !important;
  }

  body {
    padding: 0 !important;
    background: #FFFFFF !important;
    color: #0F172A !important;
  }

  body > *:not(#print-checklist-sheet):not(#calc-print-sheet) {
    display: none !important;
  }

  #print-checklist-sheet {
    display: block !important;
    font-family: var(--font-sans);
    color: #0F172A;
  }

  .print-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #0A224E;
    padding-bottom: 12px;
    margin-bottom: 18px;
  }

  .print-header img {
    height: 44px;
    width: auto;
  }

  .print-meta {
    text-align: right;
    font-size: 9pt;
    color: #334155;
  }

  .print-title {
    font-size: 16pt;
    color: #021B3D;
    margin-bottom: 6px;
  }

  .print-sub {
    font-size: 9.5pt;
    color: #475569;
    margin-bottom: 14px;
  }

  .print-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .print-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #E2E8F0;
    font-size: 10pt;
    page-break-inside: avoid;
  }

  .print-box-checked {
    color: #169B4B;
    font-weight: 800;
    font-size: 12pt;
    line-height: 1.1;
  }

  .print-box-empty {
    color: #64748B;
    font-size: 12pt;
    line-height: 1.1;
  }

  .print-footer {
    margin-top: 22px;
    padding-top: 10px;
    border-top: 1px solid #CBD5E1;
    font-size: 8.5pt;
    color: #475569;
  }
}

/* Direct WhatsApp Business Floating Button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 78px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #25D366;
  color: #FFFFFF;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
  z-index: 960;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  background: #1EBE5D;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(30, 190, 93, 0.42);
}
.whatsapp-float svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .whatsapp-float {
    right: 14px;
    bottom: 130px;
    padding: 9px 13px;
    font-size: 0.78rem;
  }
}
@media print {
  .whatsapp-float { display: none !important; }
}
