/* ===================================================================
   QUBE AUTOMATION TECHNOLOGIES — WORLD-CLASS ENTERPRISE DESIGN SYSTEM
   Luminous Architectural White & Precision Slate System
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Pristine Light Architectural Palette */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-surface: #f1f5f9;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.94);

  /* Hairline Borders */
  --border-subtle: #f1f5f9;
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-strong: #94a3b8;

  /* Typography */
  --text-primary: #0f172a;       /* Deep mineral obsidian */
  --text-secondary: #334155;     /* Slate-700 */
  --text-muted: #64748b;         /* Slate-500 */
  --text-faint: #94a3b8;         /* Slate-400 */

  /* Precision Engineering Accents */
  --accent-brand: #ea580c;       /* Safety Orange / Amber */
  --accent-brand-hover: #c2410c;
  --accent-blue: #0284c7;        /* Technical Cyan / Steel */
  --accent-navy: #1e3a8a;
  --accent-emerald: #059669;

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', "SF Mono", Menlo, Consolas, monospace;

  /* Geometry & Shadows */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 16px 32px -8px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-cta: 0 4px 14px rgba(234, 88, 12, 0.22);

  /* World-Class Animation & Transition Curves */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.35, 0.64, 1);
  --ease-in-out-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.25s var(--ease-out-expo);
  --transition-fast: 0.18s var(--ease-out-expo);
  --transition-normal: 0.28s var(--ease-out-expo);
  --transition-smooth: 0.45s var(--ease-out-expo);
  --transition-slow: 0.75s var(--ease-out-expo);
}

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

html {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.65;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: #ffedd5;
  color: #9a3412;
}

/* Base Headings & Links */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Layout Containers */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-wrapper {
  padding: 100px 0;
  position: relative;
}

.section-header {
  margin-bottom: 56px;
}

.section-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  padding: 5px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.section-pill-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-brand);
}

.section-main-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-lead-text {
  font-size: 16.5px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.65;
}

/* ===================================================================
   1. FIXED HERO HEADER (TOP BAR)
   =================================================================== */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  /* Butter-smooth hardware-accelerated transition when scrolling into detached floating dock mode */
  -webkit-transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                      -webkit-transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* When detached dock is active, smoothly slide up and fade out static header cleanly without layout reflow */
.site-header.detached {
  opacity: 0;
  pointer-events: none;
  -webkit-transform: translate3d(0, -10px, 0);
  transform: translate3d(0, -10px, 0);
}

.scroll-progress-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent-brand), #f97316, #fb923c);
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 1050;
  will-change: transform;
  pointer-events: none;
}

.scroll-progress-indicator::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px 2px rgba(234, 88, 12, 0.9), 0 0 4px #ea580c;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.scroll-progress-indicator[style*="%"]::after {
  opacity: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.brand-anchor {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-emblem {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-name {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1.15;
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  white-space: nowrap;
}

.header-nav li {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
  padding: 8px 0;
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--accent-brand);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--accent-brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  opacity: 0;
}

.nav-link:hover::after {
  transform: scaleX(0.4);
  opacity: 0.5;
}

.nav-link.active {
  color: var(--accent-brand);
  font-weight: 700;
}

.nav-link.active::after {
  transform: scaleX(1);
  opacity: 1;
}

.header-action {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.btn-header-quote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--text-primary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

/* ===================================================================
   1B. DEDICATED APPLE FROSTED GLASS FLOATING DOCK (VISIONOS / MACOS THEME)
   100% GPU-accelerated: Zero reflow, zero jitter, translucent glass, pinned to top
   =================================================================== */
.floating-glass-dock {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 1040;
  
  /* Initial state: parked smoothly above viewport without scale distortion to keep text crisp */
  -webkit-transform: translate3d(-50%, -50px, 0);
  transform: translate3d(-50%, -50px, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  
  /* Pure 60fps GPU Hardware Transition without scale blur */
  -webkit-transition: -webkit-transform 0.36s cubic-bezier(0.16, 1, 0.3, 1),
                      opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                      visibility 0.36s;
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.36s;
  
  /* Apple VisionOS Ultra-Translucent Glassmorphism */
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 4px 6px 4px 10px;
  border-radius: 999px;
  
  /* Ultra-clean translucent glass */
  background: rgba(255, 255, 255, 0.72);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.55) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  
  /* Apple Floating Island Specular Reflection + Soft Spatial Shadow */
  box-shadow: 0 14px 34px -4px rgba(15, 23, 42, 0.12),
              0 3px 8px 0 rgba(0, 0, 0, 0.04),
              inset 0 1px 1px 0 rgba(255, 255, 255, 0.95),
              inset 0 -1px 1px 0 rgba(0, 0, 0, 0.03);
  
  max-width: calc(100vw - 28px);
  white-space: nowrap;

  /* Anti-aliasing & subpixel crispness */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Active Pinned State when scrolled: pure pixel translation */
.floating-glass-dock.visible {
  -webkit-transform: translate3d(-50%, 0, 0);
  transform: translate3d(-50%, 0, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dock-nav-wrapper {
  display: flex;
  align-items: center;
}

.dock-nav-list {
  display: flex;
  align-items: center;
  gap: 3px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dock-nav-list li {
  flex-shrink: 0;
}

.dock-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f172a;
  text-decoration: none;
  padding: 7px 13px;
  border-radius: 999px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-transition: background 0.18s ease, color 0.18s ease;
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.dock-link:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--accent-brand);
}

/* HIGH-CONTRAST BRAND ORANGE ACTIVE SECTION CHIP */
.dock-link.active {
  background: var(--accent-brand) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4),
              inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.dock-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 7.5px 15px;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1;
  margin-left: 2px;
  -webkit-transition: background 0.2s ease, box-shadow 0.2s ease;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.dock-cta-btn:hover {
  background: #1e293b;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

.dock-cta-btn:active {
  background: #0f172a;
}



.btn-quote-short {
  display: none;
}

.btn-header-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease-out-expo);
}

.btn-header-quote:hover::before {
  left: 170%;
}

.btn-header-quote svg {
  transition: transform 0.25s var(--ease-out-expo);
}

.btn-header-quote:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.25);
}

.btn-header-quote:hover svg {
  transform: translateX(3px);
}

.btn-header-quote:active {
  transform: scale(0.97) translateY(0);
}

/* ===================================================================
   SCROLL REVEAL & ADVANCED MOTION SYSTEM
   =================================================================== */
.reveal,
.reveal-up {
  opacity: 0;
  -webkit-transform: translate3d(0, 32px, 0);
  transform: translate3d(0, 32px, 0);
  -webkit-transition: opacity 0.78s cubic-bezier(0.16, 1, 0.3, 1),
                      -webkit-transform 0.78s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.78s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.78s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.reveal.revealed,
.reveal-up.revealed {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.reveal-scale {
  opacity: 0;
  -webkit-transform: translate3d(0, 24px, 0) scale(0.96);
  transform: translate3d(0, 24px, 0) scale(0.96);
  -webkit-transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                      -webkit-transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.reveal-scale.revealed {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal-fade {
  opacity: 0;
  -webkit-transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.reveal-fade.revealed {
  opacity: 1;
}

.reveal-left {
  opacity: 0;
  -webkit-transform: translate3d(-30px, 0, 0);
  transform: translate3d(-30px, 0, 0);
  -webkit-transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                      -webkit-transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.reveal-left.revealed {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.reveal-right {
  opacity: 0;
  -webkit-transform: translate3d(30px, 0, 0);
  transform: translate3d(30px, 0, 0);
  -webkit-transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                      -webkit-transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.reveal-right.revealed {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

/* Staggered Child Entrances */
.reveal-stagger > * {
  opacity: 0;
  -webkit-transform: translate3d(0, 24px, 0) scale(0.985);
  transform: translate3d(0, 24px, 0) scale(0.985);
  -webkit-transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                      -webkit-transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.reveal-stagger.revealed > * {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal-stagger.revealed > *:nth-child(1)  { transition-delay: 0.04s; -webkit-transition-delay: 0.04s; }
.reveal-stagger.revealed > *:nth-child(2)  { transition-delay: 0.10s; -webkit-transition-delay: 0.10s; }
.reveal-stagger.revealed > *:nth-child(3)  { transition-delay: 0.16s; -webkit-transition-delay: 0.16s; }
.reveal-stagger.revealed > *:nth-child(4)  { transition-delay: 0.22s; -webkit-transition-delay: 0.22s; }
.reveal-stagger.revealed > *:nth-child(5)  { transition-delay: 0.28s; -webkit-transition-delay: 0.28s; }
.reveal-stagger.revealed > *:nth-child(6)  { transition-delay: 0.34s; -webkit-transition-delay: 0.34s; }
.reveal-stagger.revealed > *:nth-child(7)  { transition-delay: 0.40s; -webkit-transition-delay: 0.40s; }
.reveal-stagger.revealed > *:nth-child(8)  { transition-delay: 0.46s; -webkit-transition-delay: 0.46s; }
.reveal-stagger.revealed > *:nth-child(9)  { transition-delay: 0.52s; -webkit-transition-delay: 0.52s; }
.reveal-stagger.revealed > *:nth-child(10) { transition-delay: 0.58s; -webkit-transition-delay: 0.58s; }
.reveal-stagger.revealed > *:nth-child(11) { transition-delay: 0.64s; -webkit-transition-delay: 0.64s; }
.reveal-stagger.revealed > *:nth-child(12) { transition-delay: 0.70s; -webkit-transition-delay: 0.70s; }

/* ===================================================================
   2. HERO SECTION — EDITORIAL EXCELLENCE & CAD SCHEMATIC CONSOLE
   =================================================================== */
.hero-section {
  padding: 80px 0 76px 0;
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(234, 88, 12, 0.05) 0%, transparent 45%),
              radial-gradient(circle at 15% 10%, rgba(2, 132, 199, 0.04) 0%, transparent 40%),
              #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.hero-layout-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-content-col {
  max-width: 640px;
}

.hero-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.hero-kicker-badge .kicker-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-brand);
  box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7);
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(234, 88, 12, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0);
  }
}

.hero-headline {
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-headline .headline-sub {
  color: #64748b;
  font-weight: 700;
  display: block;
  font-size: 0.82em;
  margin-top: 6px;
  letter-spacing: -0.025em;
}

.hero-description {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-cta-deck {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.btn-primary-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-brand);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-brand);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo), background-color 0.2s ease;
  box-shadow: var(--shadow-cta);
  position: relative;
  overflow: hidden;
}

.btn-primary-solid::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out-expo);
}

.btn-primary-solid:hover::before {
  left: 170%;
}

.btn-primary-solid svg {
  transition: transform 0.25s var(--ease-out-expo);
}

.btn-primary-solid:hover {
  background: var(--accent-brand-hover);
  border-color: var(--accent-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -4px rgba(234, 88, 12, 0.35);
}

.btn-primary-solid:hover svg {
  transform: translateX(3px);
}

.btn-primary-solid:active {
  transform: scale(0.98) translateY(0);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo), border-color 0.2s ease, background-color 0.2s ease;
  box-shadow: var(--shadow-subtle);
}

.btn-secondary-outline svg {
  transition: transform 0.25s var(--ease-out-expo);
}

.btn-secondary-outline:hover {
  background: #f8fafc;
  border-color: var(--text-muted);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.08);
}

.btn-secondary-outline:hover svg {
  transform: translateX(3px);
}

.btn-secondary-outline:active {
  transform: scale(0.98) translateY(0);
}

.hero-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}

.highlight-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.highlight-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--accent-brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.highlight-value {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.highlight-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* CAD Console Card (Right Column) */
.hero-console-col {
  width: 100%;
}

.cad-console-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cad-console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

.cad-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cad-terminal-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.cad-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.cad-spec-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-brand);
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 2px 8px;
  border-radius: 4px;
}

.cad-layer-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-light);
  gap: 1px;
}

.cad-tab-btn {
  padding: 10px 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  background: #f8fafc;
  color: var(--text-muted);
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  border-bottom: 2px solid transparent;
}

.cad-tab-btn:hover {
  background: #ffffff;
  color: var(--text-primary);
}

.cad-tab-btn.active {
  background: #ffffff;
  color: var(--accent-brand);
  font-weight: 700;
  border-bottom-color: var(--accent-brand);
}

.cad-diagram-wrapper {
  padding: 16px 20px;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cad-svg-canvas {
  width: 100%;
  height: auto;
  max-height: 250px;
  display: block;
}

.cad-layer-group {
  opacity: 0;
  transform: scale(0.985);
  transform-origin: center;
  transition: opacity 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
  pointer-events: none;
}

.cad-layer-group.active-layer {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.airflow-line {
  animation: airflowDash 1.2s linear infinite;
}

@keyframes airflowDash {
  to {
    stroke-dashoffset: -14;
  }
}

.pulse-fiber {
  animation: fiberPulse 2s linear infinite;
}

@keyframes fiberPulse {
  to {
    stroke-dashoffset: -20;
  }
}

.cad-telemetry-readout {
  padding: 16px 20px;
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cad-telemetry-readout.updating {
  opacity: 0.3;
  transform: translateY(2px);
}

.telemetry-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.telemetry-label {
  color: var(--text-muted);
  font-weight: 600;
}

.telemetry-val {
  color: var(--accent-brand);
  font-weight: 700;
}

.telemetry-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.telemetry-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cell-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cell-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

/* ===================================================================
   3. PROVEN EPC IMPACT STRIP
   =================================================================== */
.stats-strip {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.stat-cell {
  border-left: 2px solid var(--border-light);
  padding-left: 20px;
  transition: var(--transition);
}

.stat-cell:hover {
  border-left-color: var(--accent-brand);
}

.stat-figure {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-figure span {
  color: var(--accent-brand);
  font-size: 24px;
  margin-left: 2px;
}

.stat-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-caption {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ===================================================================
   4. EPC LIFECYCLE & CORPORATE IDENTITY
   =================================================================== */
.capabilities-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.lifecycle-card-deck {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lifecycle-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.28s var(--ease-out-expo), box-shadow 0.28s var(--ease-out-expo), border-color 0.25s ease;
  display: flex;
  gap: 18px;
}

.lifecycle-card:hover {
  border-color: rgba(234, 88, 12, 0.35);
  box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(234, 88, 12, 0.1);
  transform: translateX(6px);
}

.phase-number {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: #fff7ed;
  border: 1px solid #ffedd5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-brand);
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-out-back);
}

.lifecycle-card:hover .phase-number {
  background: var(--accent-brand);
  color: #ffffff;
  border-color: var(--accent-brand);
  transform: scale(1.06);
}

.phase-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.phase-body p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.identity-narrative p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.identity-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.feature-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.feature-box h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.feature-box p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===================================================================
   5. FLAGSHIP INFRASTRUCTURE CORRIDORS
   =================================================================== */
.filter-tabs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: transform 0.22s var(--ease-out-expo), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.22s var(--ease-out-expo);
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
}

.filter-tab-btn:hover {
  background: #f8fafc;
  color: var(--text-primary);
  border-color: var(--text-muted);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
}

.filter-tab-btn.active {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
  font-weight: 700;
  transform: translateY(0);
  box-shadow: 0 4px 14px -1px rgba(15, 23, 42, 0.2);
}

.filter-tab-btn:active {
  transform: scale(0.97);
}

.projects-dossier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), border-color 0.25s ease, opacity 0.28s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

.project-card.filter-animating {
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  pointer-events: none;
}

.project-card:hover {
  border-color: rgba(234, 88, 12, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(234, 88, 12, 0.12);
}

.project-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.project-sector-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-brand);
  letter-spacing: 0.05em;
  font-weight: 600;
}

.project-scale-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.project-card:hover .project-scale-badge {
  background: #ffffff;
  border-color: var(--border-medium);
}

.project-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.25;
}

.project-summary {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.project-specs-table {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.spec-entry .label {
  color: var(--text-muted);
}

.spec-entry .value {
  color: var(--text-primary);
  font-weight: 600;
}

.project-dossier-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  gap: 12px;
  flex-wrap: wrap;
}

.project-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-secondary);
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: 4px;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.project-card:hover .tag-badge {
  background: #fff7ed;
  border-color: #ffedd5;
  color: var(--accent-brand);
}

.btn-expand-dossier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-expand-dossier:hover {
  background: #f8fafc;
  border-color: var(--text-primary);
}

.btn-expand-dossier svg {
  transition: transform 0.35s var(--ease-out-back);
}

.btn-expand-dossier.expanded svg {
  transform: rotate(180deg);
}

.project-expanded-dossier {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease-out-expo), opacity 0.28s ease, margin-top 0.28s ease;
  opacity: 0;
  margin-top: 0;
}

.project-expanded-dossier.open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 16px;
}

.dossier-content-inner {
  overflow: hidden;
  min-height: 0;
  background: #f8fafc;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 18px;
  transition: padding 0.38s var(--ease-out-expo);
}

.project-expanded-dossier.open .dossier-content-inner {
  padding: 14px 18px;
  border: 1px dashed var(--border-medium);
}

.dossier-heading {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent-brand);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.dossier-spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.dossier-spec-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ===================================================================
   6. SYSTEMS ENGINEERING MATRIX (6 DISCIPLINES)
   =================================================================== */
.systems-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.discipline-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.28s var(--ease-out-expo), box-shadow 0.28s var(--ease-out-expo), border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.discipline-card:hover {
  border-color: rgba(234, 88, 12, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(234, 88, 12, 0.12);
}

.discipline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.discipline-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-brand);
  letter-spacing: 0.05em;
  font-weight: 600;
}

.discipline-standard {
  font-family: var(--font-mono);
  font-size: 10.5px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--text-primary);
  font-weight: 600;
}

.discipline-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #fff7ed;
  border: 1px solid #ffedd5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-brand);
  margin-bottom: 20px;
  transition: transform 0.3s var(--ease-out-back), background-color 0.25s ease;
}

.discipline-card:hover .discipline-icon-box {
  transform: translateY(-2px) scale(1.08);
  background: #ffedd5;
}

.discipline-card h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.discipline-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.discipline-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

/* ===================================================================
   7. CERTIFIED OEM ALLIANCES
   =================================================================== */
.oem-grid-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.oem-card-node {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.28s var(--ease-out-expo), box-shadow 0.28s var(--ease-out-expo), border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.oem-card-node:hover {
  border-color: rgba(234, 88, 12, 0.35);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(234, 88, 12, 0.12);
  transform: translateY(-4px);
}

.oem-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.oem-country {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.oem-status {
  font-family: var(--font-mono);
  font-size: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: var(--accent-emerald);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}

.oem-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.oem-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===================================================================
   8. STANDARDS & CODE COMPLIANCE
   =================================================================== */
.standards-strip {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 26px 0;
}

.standards-flex-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.compliance-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.compliance-badge strong {
  color: var(--text-primary);
}

/* ===================================================================
   9. EXECUTIVE RFP & CONSULTATION DESK
   =================================================================== */
.rfp-split-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 52px;
  box-shadow: var(--shadow-card);
}

.contact-details-deck {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.contact-row-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon-cube {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: #fff7ed;
  border: 1px solid #ffedd5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-brand);
  flex-shrink: 0;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-weight: 600;
}

.contact-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.rfp-form-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rfp-dual-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.input-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.form-control-input,
.form-control-select,
.form-control-textarea {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.form-control-input:focus,
.form-control-select:focus,
.form-control-textarea:focus {
  border-color: var(--accent-brand);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

.subsystems-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.checkbox-custom-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.checkbox-custom-card:hover {
  background: #ffffff;
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.checkbox-custom-card input[type="checkbox"] {
  accent-color: var(--accent-brand);
}

.btn-submit-rfp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--text-primary);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--text-primary);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo), background-color 0.2s ease;
  margin-top: 8px;
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-submit-rfp::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out-expo);
}

.btn-submit-rfp:hover::before {
  left: 170%;
}

.btn-submit-rfp svg {
  transition: transform 0.25s var(--ease-out-expo);
}

.btn-submit-rfp:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -2px rgba(15, 23, 42, 0.22);
}

.btn-submit-rfp:hover svg {
  transform: translate(3px, -2px);
}

.btn-submit-rfp:active {
  transform: scale(0.98) translateY(0);
}

.btn-submit-rfp:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* Executive RFP Status Notification Box */
.rfp-status-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 6px;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out-expo);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
}

.rfp-status-box.error {
  background: #fef2f2;
  border-color: #fecaca;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.08);
}

.status-indicator-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #10b981;
}

.rfp-status-box.error .status-indicator-icon {
  background: #fee2e2;
  color: #ef4444;
}

.status-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.status-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #166534;
}

.rfp-status-box.error .status-title {
  color: #991b1b;
}

.status-ref {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.status-text {
  font-size: 13px;
  color: #374151;
  line-height: 1.5;
  margin: 0;
}

.btn-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spinnerRotate 0.7s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes spinnerRotate {
  to {
    transform: rotate(360deg);
  }
}

/* ===================================================================
   10. EPC SERVICE LIFECYCLE (6-STAGE WORKFLOW)
   =================================================================== */
.lifecycle-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.28s var(--ease-out-expo), box-shadow 0.28s var(--ease-out-expo), border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.process-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
}

.process-step-card:hover {
  border-color: rgba(234, 88, 12, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(234, 88, 12, 0.12);
}

.process-step-card:hover::before {
  transform: scaleX(1);
}

.process-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.process-number-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-brand);
  background: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.05em;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-out-back);
}

.process-step-card:hover .process-number-badge {
  background: var(--accent-brand);
  color: #ffffff;
  border-color: var(--accent-brand);
  transform: scale(1.05);
}

.process-phase-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.process-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.process-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.process-deliverables {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.deliverable-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.deliverable-item svg {
  color: var(--accent-brand);
  flex-shrink: 0;
}

/* ===================================================================
   11. OFFICIAL TECHNICAL FAQ ACCORDION
   =================================================================== */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-accordion-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo), border-color 0.25s ease;
}

.faq-accordion-item:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.faq-accordion-item.active {
  border-color: rgba(234, 88, 12, 0.4);
  box-shadow: 0 10px 24px -6px rgba(15, 23, 42, 0.06);
}

.faq-accordion-header {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  background: #ffffff;
  transition: background 0.15s ease;
  gap: 16px;
}

.faq-accordion-header:hover {
  background: #f8fafc;
}

.faq-accordion-item.active .faq-accordion-header {
  background: #f8fafc;
}

.faq-question-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-out-back), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.faq-accordion-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--accent-brand);
  color: #ffffff;
  border-color: var(--accent-brand);
}

.faq-accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out-expo), opacity 0.25s ease;
  opacity: 0;
  padding: 0;
}

.faq-accordion-body p {
  overflow: hidden;
  min-height: 0;
  padding: 0 26px;
  transition: padding 0.35s var(--ease-out-expo);
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-accordion-item.active .faq-accordion-body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-accordion-item.active .faq-accordion-body p {
  padding: 0 26px 22px 26px;
}

/* ===================================================================
   13. TRI-CITY NATIONAL PRESENCE & ENGINEERING OFFICES
   =================================================================== */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.office-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.28s var(--ease-out-expo), box-shadow 0.28s var(--ease-out-expo), border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.office-card:hover {
  border-color: rgba(234, 88, 12, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(234, 88, 12, 0.12);
}

.office-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.office-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.office-badge.hq {
  background: #fff7ed;
  color: var(--accent-brand);
  border: 1px solid #fed7aa;
}

.office-badge.regional {
  background: #eff6ff;
  color: var(--accent-blue);
  border: 1px solid #bfdbfe;
}

.office-badge.project {
  background: #f1f5f9;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.office-city {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.office-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.office-address {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}

.office-contacts {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.office-contact-link {
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s ease;
}

.office-contact-link:hover {
  color: var(--accent-brand);
}

.office-contact-link svg {
  color: var(--accent-brand);
  flex-shrink: 0;
}

/* ===================================================================
   14. CORPORATE FOOTER (DEEP NAVY / OBSIDIAN CONTRAST BASE)
   =================================================================== */
.site-footer {
  background: #0f172a;
  color: #ffffff;
  padding: 70px 0 32px 0;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col-header {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #f1f5f9;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-menu a {
  font-size: 13.5px;
  color: #94a3b8;
  transition: color 0.15s ease;
}

.footer-nav-menu a:hover {
  color: #ffffff;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-live-clock {
  color: #34d399;
}

/* ===================================================================
   FLOATING BACK TO TOP BUTTON (Uiverse: afraid-falcon-17 by vinodjangid07)
   =================================================================== */
.btn-back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12), 0 0 0 4px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  overflow: hidden;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition-duration: 0.3s;
  transition-property: width, border-radius, background-color, border-color, box-shadow, opacity, transform;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  outline: none;
}

.btn-back-to-top .svgIcon {
  width: 14px;
  height: 14px;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  flex-shrink: 0;
}

.btn-back-to-top .svgIcon path {
  fill: #0f172a;
}

.btn-back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.btn-back-to-top.visible:hover {
  width: 140px;
  border-radius: 50px;
  background-color: #ffffff;
  border-color: rgba(15, 23, 42, 0.22);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18), 0 0 0 4px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.btn-back-to-top.visible:hover .svgIcon {
  transform: translateY(-200%);
}

.btn-back-to-top::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 60%);
  content: "Back to Top";
  color: #0f172a;
  font-size: 0px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  letter-spacing: 0.3px;
  font-family: var(--font-sans);
}

.btn-back-to-top.visible:hover::before {
  font-size: 13px;
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* ===================================================================
   CINEMATIC CURTAINS & LIVE SIGNATURE ENGINE (motion.dev/docs/curtains)
   =================================================================== */

.curtain-stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  pointer-events: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.curtain-stage.curtain-dismissed {
  display: none !important;
  pointer-events: none !important;
}

.curtain-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.curtain-panel,
.curtain-slat,
.curtain-pixel,
.curtain-door {
  background-color: #ffffff;
  will-change: transform, opacity, clip-path;
}

/* 1. DOORS HORIZONTAL */
.curtain-doors-horizontal .door-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: #ffffff;
  transform: translateX(0);
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
  box-shadow: 2px 0 16px rgba(0, 0, 0, 0.04);
}
.curtain-doors-horizontal .door-right {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  background: #ffffff;
  transform: translateX(0);
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
  box-shadow: -2px 0 16px rgba(0, 0, 0, 0.04);
}
.curtain-revealing.curtain-doors-horizontal .door-left {
  transform: translateX(-101%);
}
.curtain-revealing.curtain-doors-horizontal .door-right {
  transform: translateX(101%);
}

/* 2. DOORS VERTICAL */
.curtain-doors-vertical .door-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: #ffffff;
  transform: translateY(0);
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
}
.curtain-doors-vertical .door-bottom {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: #ffffff;
  transform: translateY(0);
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
}
.curtain-revealing.curtain-doors-vertical .door-top {
  transform: translateY(-101%);
}
.curtain-revealing.curtain-doors-vertical .door-bottom {
  transform: translateY(101%);
}

/* 3. IRIS (Expanding Center Aperture) */
.curtain-iris svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.curtain-iris-circle {
  transition: r 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.curtain-revealing.curtain-iris .curtain-iris-circle {
  r: 85;
}

/* 4. WIPE RIGHT */
.curtain-wipe-right .wipe-panel {
  position: absolute;
  inset: 0;
  background: #ffffff;
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
  -webkit-transition: -webkit-clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1), clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1);
  transition: -webkit-clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1), clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}
.curtain-revealing.curtain-wipe-right .wipe-panel {
  -webkit-clip-path: inset(0 0 0 100%);
  clip-path: inset(0 0 0 100%);
}

/* 5. WIPE LEFT */
.curtain-wipe-left .wipe-panel {
  position: absolute;
  inset: 0;
  background: #ffffff;
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
  -webkit-transition: -webkit-clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1), clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1);
  transition: -webkit-clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1), clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}
.curtain-revealing.curtain-wipe-left .wipe-panel {
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
}

/* 6. WIPE DOWN */
.curtain-wipe-down .wipe-panel {
  position: absolute;
  inset: 0;
  background: #ffffff;
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
  -webkit-transition: -webkit-clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1), clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1);
  transition: -webkit-clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1), clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}
.curtain-revealing.curtain-wipe-down .wipe-panel {
  -webkit-clip-path: inset(100% 0 0 0);
  clip-path: inset(100% 0 0 0);
}

/* 7. WIPE UP */
.curtain-wipe-up .wipe-panel {
  position: absolute;
  inset: 0;
  background: #ffffff;
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
  -webkit-transition: -webkit-clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1), clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1);
  transition: -webkit-clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1), clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}
.curtain-revealing.curtain-wipe-up .wipe-panel {
  -webkit-clip-path: inset(0 0 100% 0);
  clip-path: inset(0 0 100% 0);
}

/* 8. CLIP DIAGONAL (Slanted Angled Sweep) */
.curtain-clip-diagonal .wipe-panel {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  background: #ffffff;
  -webkit-clip-path: polygon(-20% 0%, 120% 0%, 120% 120%, -20% 120%);
  clip-path: polygon(-20% 0%, 120% 0%, 120% 120%, -20% 120%);
  -webkit-transition: -webkit-clip-path 0.85s cubic-bezier(0.76, 0, 0.24, 1), clip-path 0.85s cubic-bezier(0.76, 0, 0.24, 1);
  transition: -webkit-clip-path 0.85s cubic-bezier(0.76, 0, 0.24, 1), clip-path 0.85s cubic-bezier(0.76, 0, 0.24, 1);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}
.curtain-revealing.curtain-clip-diagonal .wipe-panel {
  -webkit-clip-path: polygon(120% 0%, 120% 0%, 120% 120%, 60% 120%);
  clip-path: polygon(120% 0%, 120% 0%, 120% 120%, 60% 120%);
}

/* 9. SHUTTER (Interleaved Vertical Columns) */
.curtain-shutter .shutter-col {
  position: absolute;
  top: 0;
  height: 100%;
  background: #ffffff;
  transform: translateY(0);
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.04);
  border-left: 1px solid rgba(0, 0, 0, 0.04);
}
.curtain-revealing.curtain-shutter .shutter-col:nth-child(even) {
  transform: translateY(-101%);
}
.curtain-revealing.curtain-shutter .shutter-col:nth-child(odd) {
  transform: translateY(101%);
}

/* 10. BLINDS HORIZONTAL (Venetian Slats) */
.curtain-blinds-horizontal .blind-row {
  position: absolute;
  left: 0;
  width: 100%;
  background: #ffffff;
  transform: scaleY(1);
  transform-origin: center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.curtain-revealing.curtain-blinds-horizontal .blind-row {
  transform: scaleY(0);
}

/* 11. BLINDS VERTICAL (Architectural Louvers) */
.curtain-blinds-vertical .blind-col {
  position: absolute;
  top: 0;
  height: 100%;
  background: #ffffff;
  transform: scaleX(1);
  transform-origin: center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.04);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}
.curtain-revealing.curtain-blinds-vertical .blind-col {
  transform: scaleX(0);
}

/* 12. STAGGER WIPE */
.curtain-stagger-wipe .stagger-col {
  position: absolute;
  top: 0;
  height: 100%;
  background: #ffffff;
  transform: translateY(0);
  transition: transform 0.75s cubic-bezier(0.76, 0, 0.24, 1);
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.04);
  border-left: 1px solid rgba(0, 0, 0, 0.04);
}
.curtain-revealing.curtain-stagger-wipe .stagger-col {
  transform: translateY(-101%);
}

/* 13. PIXELS (Digital Mosaic) */
.curtain-pixels .pixel-tile {
  position: absolute;
  background: #ffffff;
  transform: scale(1.02);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.curtain-revealing.curtain-pixels .pixel-tile {
  transform: scale(0);
  opacity: 0;
}

/* -------------------------------------------------------------------
   ORIGINAL ANIMATED LOGO STAGE (qubeautomation.in official animation)
   ------------------------------------------------------------------- */
.curtain-signature-stage {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform-origin: center center;
}

.signature-emblem-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  will-change: transform, opacity;
}

.sig-animated-picture,
.sig-animated-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sig-filled-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.sig-filled-logo.active-fill {
  opacity: 1;
}

/* -------------------------------------------------------------------
   HEADER BRAND EMBLEM INTERACTION & REPLAY FLOURISH
   ------------------------------------------------------------------- */
.brand-emblem {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-emblem.emblem-flourish {
  animation: headerEmblemFlourish 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes headerEmblemFlourish {
  0% { transform: scale(1); }
  50% { transform: scale(1.22) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* ===================================================================
   RESPONSIVE DESIGN SYSTEM (DESKTOP, TABLET, MOBILE, ULTRA-MOBILE)
   =================================================================== */
@media (max-width: 1080px) {
  .header-nav {
    gap: 16px;
  }
  .nav-link {
    font-size: 12.5px;
  }
  .brand-anchor {
    gap: 8px;
  }
  .brand-name {
    font-size: 14px;
  }
  .brand-sub {
    font-size: 8.5px;
  }
  .btn-header-quote {
    padding: 8px 14px;
    font-size: 12px;
  }
  .container {
    padding: 0 24px;
  }
  .hero-layout-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .capabilities-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .projects-dossier-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .systems-grid-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .oem-grid-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lifecycle-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .offices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rfp-split-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding: 36px 32px;
  }
  .footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .section-wrapper {
    padding: 56px 0;
  }
  .section-header {
    margin-bottom: 32px;
  }
  .section-main-title {
    font-size: 27px;
    line-height: 1.22;
    word-break: break-word;
  }
  .section-lead-text {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Header */
  /* Header */
  .site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    max-width: 100%;
  }
  .header-inner {
    height: 60px;
    gap: 8px;
    padding: 0 16px;
  }
  .header-nav {
    display: none;
  }
  .btn-header-quote .btn-quote-full {
    display: none;
  }
  .btn-header-quote .btn-quote-short {
    display: inline;
  }
  .brand-emblem {
    height: 34px;
  }
  .brand-name {
    font-size: 13.5px;
    letter-spacing: 0.02em;
  }
  .brand-sub {
    font-size: 8.5px;
    letter-spacing: 0.05em;
  }
  .btn-header-quote {
    padding: 7px 12px;
    font-size: 12px;
    gap: 6px;
    white-space: nowrap;
  }

  /* Floating Dock Mobile Optimization: Horizontal smooth scrollable pill */
  .floating-glass-dock {
    top: 10px;
    height: 42px;
    padding: 3px 5px 3px 8px;
    max-width: calc(100vw - 16px);
    gap: 6px;
  }
  .dock-nav-list {
    gap: 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .dock-nav-list::-webkit-scrollbar {
    display: none;
  }
  .dock-link {
    font-size: 11.5px;
    padding: 5px 9px;
  }
  .dock-cta-btn {
    font-size: 11px;
    padding: 6px 11px;
    height: 30px;
  }

  /* Hero */
  .hero-section {
    padding: 42px 0 38px 0;
  }
  .hero-headline {
    font-size: 28px;
    line-height: 1.22;
    word-break: break-word;
  }
  .hero-lead-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-action-cluster {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .btn-primary-solid,
  .btn-secondary-outline {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 13.5px;
  }
  .hero-highlights-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 20px;
  }

  /* CAD Console */
  .cad-console-card {
    border-radius: var(--radius-md);
    max-width: 100%;
    overflow: hidden;
  }
  .cad-console-header {
    padding: 10px 14px;
  }
  .cad-title {
    font-size: 10px;
  }
  .cad-spec-badge {
    font-size: 9px;
  }
  .cad-layer-tabs {
    grid-template-columns: 1fr 1fr;
  }
  .cad-tab-btn {
    padding: 8px 4px;
    font-size: 9.5px;
  }
  .cad-diagram-wrapper {
    padding: 12px 8px;
    overflow: hidden;
  }
  .cad-svg-canvas {
    max-width: 100%;
    height: auto;
  }
  .cad-telemetry-readout {
    padding: 12px 14px;
  }
  .telemetry-pill {
    font-size: 10px;
    flex-wrap: wrap;
  }
  .telemetry-details-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
  }
  .cell-label {
    font-size: 9px;
  }
  .cell-val {
    font-size: 11px;
  }

  /* Stats */
  .stats-strip {
    padding: 30px 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }
  .stat-val {
    font-size: 28px;
  }
  .stat-caption {
    font-size: 11.5px;
  }

  /* 4 Pillars */
  .lifecycle-card {
    padding: 16px 14px;
    gap: 12px;
  }
  .phase-number {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .phase-body h4 {
    font-size: 14.5px;
  }
  .phase-body p {
    font-size: 12.5px;
  }
  .identity-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }
  .feature-box {
    padding: 16px;
  }

  /* Projects & Filters */
  .filter-tabs-row {
    gap: 8px;
    margin-bottom: 24px;
  }
  .filter-tab-btn {
    padding: 7px 12px;
    font-size: 11.5px;
  }
  .project-card {
    padding: 20px 16px;
  }
  .project-title {
    font-size: 19px;
  }
  .project-summary {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .project-specs-table {
    padding: 12px;
    gap: 8px;
  }
  .spec-entry {
    font-size: 10.5px;
  }
  .project-dossier-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .btn-expand-dossier {
    width: 100%;
    justify-content: center;
  }

  /* Systems Matrix */
  .systems-grid-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .discipline-card {
    padding: 20px 16px;
  }
  .discipline-name {
    font-size: 18px;
  }
  .discipline-desc {
    font-size: 13px;
  }

  /* OEM Alliances */
  .oem-grid-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .oem-card-node {
    padding: 18px 16px;
  }

  /* Standards */
  .standards-strip {
    padding: 20px 0;
  }
  .standards-flex-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* RFP Section */
  .rfp-split-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 22px 16px;
    border-radius: var(--radius-md);
  }
  .contact-details-deck {
    margin-top: 20px;
    gap: 14px;
  }
  .contact-row-card {
    gap: 12px;
  }
  .contact-icon-cube {
    width: 36px;
    height: 36px;
  }
  .contact-label {
    font-size: 9.5px;
  }
  .contact-val {
    font-size: 13px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .rfp-dual-input-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .subsystems-check-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .checkbox-custom-card {
    padding: 9px 12px;
    font-size: 12px;
  }
  .btn-submit-rfp {
    width: 100%;
    padding: 13px 16px;
    font-size: 13.5px;
    white-space: normal;
  }
  .btn-submit-rfp .btn-text {
    white-space: normal;
    word-break: break-word;
    font-size: 13px;
    line-height: 1.35;
  }

  /* Lifecycle 6-stage */
  .lifecycle-process-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .process-step-card {
    padding: 20px 16px;
  }

  /* FAQ */
  .faq-accordion-header {
    padding: 16px 14px;
    gap: 12px;
  }
  .faq-question-title {
    font-size: 14px;
  }
  .faq-accordion-body p {
    padding: 0 14px;
    font-size: 13px;
  }

  /* Offices */
  .offices-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .office-card {
    padding: 20px 16px;
  }

  /* Footer */
  .footer-corporate {
    padding: 44px 0 24px 0;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .btn-back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
  .btn-back-to-top .svgIcon {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }
  .header-inner {
    height: 56px;
  }
  .brand-sub {
    display: none;
  }
  .brand-name {
    font-size: 12.5px;
  }
  .btn-header-quote {
    padding: 6px 10px;
    font-size: 11px;
    gap: 4px;
  }
  .btn-quote-full {
    display: none;
  }
  .btn-quote-short {
    display: inline;
  }
  .btn-header-quote span {
    font-size: 11px;
  }
  .hero-headline {
    font-size: 24px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .cad-layer-tabs {
    grid-template-columns: 1fr;
  }
  .cad-tab-btn {
    padding: 7px 4px;
    font-size: 9px;
  }
  .telemetry-details-grid {
    grid-template-columns: 1fr;
  }
  .project-scale-badge {
    font-size: 9.5px;
  }
  .project-specs-table {
    padding: 10px;
  }
  .spec-entry {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .spec-entry .value {
    text-align: left;
  }
  .rfp-split-layout {
    padding: 18px 12px;
  }
}
