/* ==========================================================================
   Sterling Technical & MEP Contracting LLC - Master Stylesheet
   Sophisticated Engineering Aesthetic • Navy & White • Clean Lightweight Code
   ========================================================================== */

:root {
  /* High-Contrast Black & White with Fire Red Accent:
     1. Deep Pitch Black & Crisp White (#000000 / #ffffff / dark frosted glass)
     2. Fire Protection Red (#ef4444 / #dc2626 / #b91c1c)
     3. Soft Muted Slate Gray / Silver (#94a3b8 / #cbd5e1 / #64748b)
  */
  --primary-navy-dark: #000000;
  --primary-navy: #ffffff;
  --primary-navy-surface: #121216;
  --primary-blue: #ef4444;
  --accent-cyan: #ef4444;
  --accent-cyan-light: rgba(239, 68, 68, 0.15);
  --accent-cyan-glow: rgba(239, 68, 68, 0.35);
  --accent-flame: #ef4444;
  --accent-flame-hover: #dc2626;
  --accent-flame-light: rgba(239, 68, 68, 0.15);
  
  --color-red: #ef4444;
  --color-red-dark: #dc2626;
  --color-red-light: rgba(239, 68, 68, 0.15);
  --color-red-glow: rgba(239, 68, 68, 0.35);
  
  --bg-page: #000000;
  --bg-white: #0d0d11;
  --bg-alt: #08080a;
  --bg-card-dark: #121216;
  
  /* Frosted Glassmorphism Tokens (Black Glass) */
  --glass-bg: rgba(18, 18, 24, 0.82);
  --glass-bg-subtle: rgba(18, 18, 24, 0.65);
  --glass-bg-header: rgba(0, 0, 0, 0.88);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-light: rgba(255, 255, 255, 0.18);
  --glass-blur: blur(20px);
  --glass-blur-subtle: blur(14px);
  
  --text-heading: #ffffff;
  --text-body: #e2e8f0;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --text-white: #ffffff;
  
  --border-subtle: rgba(255, 255, 255, 0.10);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-dark: rgba(255, 255, 255, 0.20);
  
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.75), 0 0 25px rgba(239, 68, 68, 0.2);
  --shadow-glow: 0 0 30px rgba(239, 68, 68, 0.25);
  
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1220px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.75rem, 2.5vw + 0.8rem, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; }

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--accent-flame);
}

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

/* Section Spacing */
.section {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  position: relative;
}

.section-sm {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.section-dark {
  background: rgba(12, 12, 16, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text-body);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-heading);
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-white {
  background-color: var(--bg-white);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 4vw, 3.5rem);
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background-color: var(--color-red-light);
  color: var(--color-red);
  border: 1px solid rgba(239, 68, 68, 0.25);
  margin-bottom: 0.85rem;
}

.badge-tag.badge-flame {
  background-color: var(--color-red-light);
  color: var(--color-red);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-tag.badge-dark {
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.section-title {
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.06rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-dark .section-desc {
  color: var(--text-muted);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Top Information Bar - Transparent Frosted Glass */
.top-bar {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #94a3b8;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0;
  font-size: 0.76rem;
  line-height: 1.25;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  gap: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.top-bar-inner::-webkit-scrollbar {
  display: none;
}

.top-bar-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #94a3b8;
  white-space: nowrap !important;
}

.top-bar-item a {
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar-item a:hover {
  color: var(--color-red);
}

.top-bar-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-red);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.pulse-beacon {
  width: 8px;
  height: 8px;
  background-color: var(--color-red);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* ==========================================================================
   Three-Tier Master Header (Top Bar, Dedicated Brand Bar, Navigation Bar)
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 1000;
  background: rgba(8, 8, 12, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

/* Tier 1: Top Bar Overrides */
.top-bar-divider {
  margin: 0 5px;
  color: #64748b;
  opacity: 0.6;
}

.emergency-link {
  color: var(--color-red) !important;
  font-weight: 800;
  text-decoration: none;
  transition: opacity 0.2s;
}

.emergency-link:hover {
  opacity: 0.85;
  text-decoration: underline;
}

/* Tier 2: Dedicated Brand Bar (Official Company Name + Logo) - Reference Gradient Theme */
.brand-bar {
  padding: 0.72rem 0;
  background: linear-gradient(90deg, #002d38 0%, #003e4d 20%, #015266 48%, #016b85 76%, #017b99 92%, #01627b 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(0, 25, 35, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal light sheen streak matching reference photo */
.brand-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(115deg, transparent 58%, rgba(108, 162, 185, 0.22) 78%, rgba(255, 255, 255, 0.08) 82%, transparent 88%);
  pointer-events: none;
}

.brand-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.brand-main-identity {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.brand-main-identity:hover {
  transform: translateY(-1px);
}

/* Logo Frame - Transparent, Seamlessly Merged into Dark Theme */
.brand-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.brand-logo-img {
  height: clamp(52px, 5.5vw, 68px);
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 112, 255, 0.32));
  transition: all 0.25s ease;
}

.brand-main-identity:hover .brand-logo-img {
  filter: drop-shadow(0 6px 18px rgba(0, 112, 255, 0.5));
  transform: scale(1.02);
}

.brand-name-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-company-title {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.brand-motto-tag {
  font-size: 0.75rem;
  font-weight: 750;
  color: #d1e2e8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 3px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.brand-accent {
  color: #ff2828;
  font-weight: 800;
}

.brand-bar-quick-contact {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.brand-quick-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(6, 21, 28, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.15rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.brand-quick-item:hover {
  background: rgba(8, 28, 36, 0.95);
  border-color: rgba(239, 68, 68, 0.4);
  transform: translateY(-1px);
}

.quick-icon {
  color: #ef4444;
  display: flex;
  align-items: center;
}

.quick-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.quick-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #8fa5ad;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quick-val {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.quick-val:hover {
  color: #ef4444;
}

.brand-quick-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.brand-quick-badge .badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-red);
  border-radius: 50%;
}

/* Tier 3: Dedicated Menu Bar - Transparent Frosted Liquid Glass */
.nav-bar-strip {
  padding: 0.35rem 0;
  background: rgba(6, 18, 26, 0.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  gap: 1.25rem;
}

/* Sticky Mini Brand (Hidden on top, shown when scrolled) */
.nav-sticky-brand {
  display: none;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-sticky-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 112, 255, 0.4));
}

.nav-sticky-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Nav Menu - Frosted Glass Pills */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link.glass-pill,
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.05rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link.glass-pill:hover,
.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-link.glass-pill.active,
.nav-link.active {
  color: #ffffff;
  background: rgba(160, 36, 56, 0.72);
  font-weight: 700;
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.25);
}

/* Liquid Glass Navigation Dropdowns */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-flex;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

.dropdown-chevron {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  stroke-width: 2.2;
}

.nav-dropdown-wrapper:hover .dropdown-chevron,
.nav-dropdown-wrapper.is-open .dropdown-chevron,
.nav-dropdown-wrapper:focus-within .dropdown-chevron {
  transform: rotate(180deg);
}

.glass-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  min-width: 330px;
  background: rgba(10, 15, 29, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md, 12px);
  padding: 0.5rem;
  box-shadow: 0 20px 48px -6px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1), transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.2s;
  z-index: 1050;
  pointer-events: none;
}

/* Continuous invisible hit-test bridge so moving the cursor from button to menu never drops hover */
.glass-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -24px;
  left: -20px;
  right: -20px;
  height: 28px;
  background: transparent;
  pointer-events: auto;
  z-index: 1;
}

.nav-dropdown-wrapper:hover .glass-dropdown-menu,
.nav-dropdown-wrapper.is-open .glass-dropdown-menu,
.nav-dropdown-wrapper:focus-within .glass-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.glass-dropdown-link {
  display: flex;
  align-items: center;
  padding: 0.65rem 0.95rem;
  font-size: 0.865rem;
  font-weight: 500;
  color: #e2e8f0;
  border-radius: var(--radius-sm, 8px);
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.glass-dropdown-link:hover {
  background: rgba(239, 68, 68, 0.16);
  color: #ffffff;
  padding-left: 1.15rem;
  border-left: 2px solid var(--color-red, #ef4444);
}

.dropdown-link-num {
  display: inline-block;
  min-width: 1.6rem;
  color: var(--color-red, #ef4444);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  transition: color 0.18s ease;
}

.glass-dropdown-link:hover .dropdown-link-num {
  color: #ff6b6b;
}

/* RFQ specific alignment & styling */
.rfq-dropdown-box .glass-dropdown-menu {
  left: auto;
  right: 0;
  min-width: 250px;
}

.rfq-menu-header {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  padding: 0.4rem 0.95rem 0.25rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.25rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* 3D Glass Dock Button */
.btn-dock-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.btn-dock-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.2);
  transform: translateY(-1px);
}

.btn-dock-toggle .dock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-red);
  box-shadow: 0 0 8px rgba(220, 38, 38, 0.6);
  animation: pulse-ring 2s infinite;
}

/* Liquid Glass CTA Button - Fire Safety Red */
.liquid-glass-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff !important;
  background: var(--color-red) !important;
  border: 1px solid var(--color-red) !important;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}

.liquid-glass-cta:hover {
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45) !important;
  transform: translateY(-2px);
  background: var(--color-red-dark) !important;
  color: #ffffff !important;
}

/* ThreeUI Interactive Section & Shader Frame */
.threeui-showcase-section {
  padding: 4rem 0;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.threeui-dock-frame-wrap {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000000;
  overflow: hidden;
}

.shader-frame {
  position: relative;
  width: 100%;
  height: 500px;
  min-height: 460px;
  overflow: hidden;
  background: #000000;
}

/* Hamburger Toggle Button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  position: relative;
  border-radius: var(--radius-sm);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-red);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  margin: 5px auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
  border-radius: 2px;
}

.nav-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

.btn:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--color-red);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-red-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.45);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.btn-outline:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.btn-outline-white:hover {
  border-color: var(--color-red);
  background-color: var(--color-red);
  color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Hero Section (Transparent Frosted Atmosphere with Red Pipes Photography)
   ========================================================================== */

/* ==========================================================================
   Merged Header & Transparent Navigation over Hero (Home Page)
   ========================================================================== */

body.home-page .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

/* Tier 1: Top Bar (Black Bar - Visible on Home Page) */
body.home-page .site-header .top-bar {
  display: block !important;
}

/* Tier 2: Company Name Bar (Restored to original reference gradient as it was) */
body.home-page .site-header .brand-bar {
  padding: 0.72rem 0;
  background: linear-gradient(90deg, #002d38 0%, #003e4d 20%, #015266 48%, #016b85 76%, #017b99 92%, #01627b 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(0, 25, 35, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

/* Tier 3: Dedicated Menu Bar - Transparent Frosted Liquid Glass Background over Hero */
body.home-page .site-header .nav-bar-strip {
  padding: 0.35rem 0;
  background: rgba(6, 18, 26, 0.72) !important;
  backdrop-filter: blur(18px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* Scrolled Sticky State - Transparent Liquid Frosted Glass */
.site-header.header-scrolled,
body.home-page .site-header.header-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 18, 26, 0.78) !important;
  backdrop-filter: blur(22px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.header-scrolled .top-bar,
.site-header.header-scrolled .brand-bar {
  display: none !important;
}

.site-header.header-scrolled .container {
  max-width: 1360px;
  width: 100%;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.site-header.header-scrolled .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  gap: 0.75rem;
  width: 100%;
}

.site-header.header-scrolled .nav-sticky-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1;
}

.site-header.header-scrolled .nav-sticky-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-header.header-scrolled .nav-sticky-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.01em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-transform: uppercase;
}

.site-header.header-scrolled .nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 1;
}

.site-header.header-scrolled .nav-link.glass-pill,
.site-header.header-scrolled .nav-link {
  padding: 0.42rem 0.72rem;
  font-size: 0.84rem;
}

.site-header.header-scrolled .nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.site-header.header-scrolled .liquid-glass-cta {
  padding: 0.45rem 1.15rem;
  font-size: 0.84rem;
  white-space: nowrap;
}

.site-header.header-scrolled .nav-bar-strip {
  padding: 0.35rem 0;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   Hero Section - Full-Bleed 4K Bright Sliding Background Banner
   ========================================================================== */

.hero {
  position: relative;
  min-height: clamp(740px, 92vh, 960px);
  display: flex;
  align-items: center;
  color: #e2e8f0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background-color: #06151c;
  padding: clamp(12.5rem, 18vw, 15rem) 0 clamp(4.5rem, 7vw, 6.5rem);
}

/* Background Slider Container */
.hero-slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.85s;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  transition: transform 5.5s cubic-bezier(0.25, 1, 0.5, 1);
  filter: brightness(1.15) contrast(1.05) saturate(1.03);
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1.0);
}

/* Minimal Subtle Overlay - Maximizes Photo Brightness & Visibility */
.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(6, 18, 24, 0.45) 0%,
    rgba(6, 18, 24, 0.22) 32%,
    rgba(6, 18, 24, 0.04) 55%,
    transparent 80%
  );
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--bg-page), transparent);
  pointer-events: none;
  z-index: 4;
}

.hero-glow-accent {
  display: none;
}

.hero-container {
  position: relative;
  z-index: 5;
  width: 100%;
}

/* Minimal Overlay Content & Medium Sized Clean Typography */
.hero-content {
  position: relative;
  max-width: 520px;
  z-index: 5;
}

.hero-slide-pane {
  display: none;
  animation: heroContentFadeIn 0.5s ease forwards;
}

.hero-slide-pane.active {
  display: block;
}

@keyframes heroContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Removed Box Container - Pure Minimal Text Overlay */
.hero-glass-card {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  max-width: 520px;
}

.hero-title {
  color: #ffffff;
  margin-bottom: 0.65rem;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 4px 24px rgba(0, 0, 0, 0.7);
}

.hero-title .highlight-flame {
  color: #ef4444;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 14px rgba(239, 68, 68, 0.45), 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-lead {
  font-size: 0.9rem;
  color: #f1f5f9;
  line-height: 1.55;
  margin-bottom: 0;
  max-width: 480px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95), 0 2px 16px rgba(0, 0, 0, 0.75);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
}

/* Medium Red Pill Action Button */
.btn-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff !important;
  background: #ef4444 !important;
  border: 1px solid #ef4444 !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.btn-hero-pill:hover {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.55) !important;
}

.hero-slide-pane .badge-tag {
  display: none !important;
}

.hero-compact-stats {
  display: none !important;
}

.hero-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-pill .pill-dot {
  color: var(--color-red);
  font-weight: 800;
}

/* Minimal Auto 5-Second Slider Indicator */
.hero-auto-bar {
  position: absolute;
  bottom: 1.25rem;
  left: 0;
  right: 0;
  z-index: 10;
}

.hero-auto-track-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.85rem;
}

.hero-auto-progress-track {
  width: 120px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.hero-auto-progress-bar {
  width: 0%;
  height: 100%;
  background: var(--color-red);
  transition: width 0.1s linear;
}

.hero-auto-progress-bar.running {
  width: 100%;
  transition: width 5s linear;
}

.hero-auto-counter {
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(14, 14, 18, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* Hero Slider Controls */
.hero-slider-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(14, 14, 18, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.2rem 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.slider-ctrl-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.slider-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.slider-ctrl-btn:active {
  transform: scale(0.92);
}

.slider-ctrl-btn:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 1px;
}

.slider-play-pause-btn.paused {
  color: var(--color-red);
}

/* Side Navigation Floating Arrows */
.hero-side-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 12;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(14, 14, 18, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  padding: 0;
}

.hero-side-prev {
  left: 1.5rem;
}

.hero-side-next {
  right: 1.5rem;
}

.hero-side-nav:hover {
  background: rgba(239, 68, 68, 0.88);
  border-color: rgba(239, 68, 68, 0.95);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.45);
}

.hero-side-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-side-nav:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .hero-side-nav {
    width: 36px;
    height: 36px;
  }
  .hero-side-prev {
    left: 0.5rem;
  }
  .hero-side-next {
    right: 0.5rem;
  }
}

/* Core Sectors (Fitouts, Commercial, Industrial) */
.core-sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.sector-card {
  background: rgba(14, 14, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.sector-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 20px 45px -10px rgba(239, 68, 68, 0.18);
}

.sector-card-media {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.sector-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.sector-card:hover .sector-card-media img {
  transform: scale(1.08);
}

.sector-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.sector-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sector-card-body h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.sector-card-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.sector-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #e2e8f0;
}

.sector-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sector-features-list li::before {
  content: "✔";
  color: var(--color-red);
  font-weight: bold;
}

/* ==========================================================================
   Emergency Consultation Red Banner (Transparent Frosted Strip)
   ========================================================================== */

.emergency-strip {
  background: rgba(45, 12, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  padding: 1rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(239, 68, 68, 0.3);
  border-bottom: 1px solid rgba(239, 68, 68, 0.3);
  position: relative;
  z-index: 10;
}

.emergency-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.emergency-strip-title {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: #ffffff;
}

.emergency-strip-title svg {
  color: var(--color-red);
}

.emergency-strip-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.emergency-strip-phone {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s ease;
}

.emergency-strip-phone:hover {
  opacity: 0.85;
  color: var(--color-red-dark);
}

/* Dynamic Rotating Text in Hero */
.dynamic-text-wrapper {
  display: inline-block;
  color: var(--color-red);
  position: relative;
  min-width: 220px;
}

.dynamic-word {
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Hero Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-value.flame-color {
  color: var(--color-red);
}

.stat-label {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Continuous Scrolling Photo & Badge Showcase (Marquee)
   ========================================================================== */

.marquee-section {
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2.5rem 0;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.marquee-section::before,
.marquee-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 5;
  pointer-events: none;
}

.marquee-section::before {
  left: 0;
  background: linear-gradient(to right, #000000, transparent);
}

.marquee-section::after {
  right: 0;
  background: linear-gradient(to left, #000000, transparent);
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-card {
  position: relative;
  width: 320px;
  height: 220px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.marquee-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--color-red);
}

.marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.marquee-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
}

.marquee-caption h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.marquee-caption span {
  font-size: 0.72rem;
  color: #fca5a5;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Service Card with Real Photo Header */
.service-photo-card {
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.service-photo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: var(--shadow-hover);
}

.service-photo-thumb {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #0d0d11;
}

.service-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-photo-card:hover .service-photo-thumb img {
  transform: scale(1.06);
}

.service-photo-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-red);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.service-photo-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-photo-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  color: #ffffff;
}

.service-photo-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.service-photo-body .service-link {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-photo-body .service-link:hover {
  color: #ffffff;
}

/* Technical Keyword Ticker Strip - Transparent Frosted */
.keyword-ticker {
  background: rgba(12, 12, 16, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #e2e8f0;
  padding: 0.85rem 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.ticker-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: ticker-slide 28s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e2e8f0;
}

.ticker-item span.bullet {
  color: var(--color-red);
  font-size: 1.1rem;
}

/* ==========================================================================
   Engineering Highlights Strip
   ========================================================================== */

.trust-strip {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background-color: var(--color-red-light);
  color: var(--color-red);
  border: 1px solid rgba(239, 68, 68, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  color: #ffffff;
}

.trust-text p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   Service Cards & Grids
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-red);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background-color: var(--color-red-light);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--color-red);
  color: #ffffff;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.service-features-list {
  margin-bottom: 1.5rem;
  margin-top: auto;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
}

.service-features-list li {
  font-size: 0.875rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.service-features-list li::before {
  content: "✓";
  color: var(--color-red);
  font-weight: 800;
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-red);
  margin-top: 0.5rem;
}

.service-link:hover {
  color: #ffffff;
  gap: 0.6rem;
}

/* ==========================================================================
   Capability Matrix & Engineering Features
   ========================================================================== */

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.capability-box {
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.capability-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(239, 68, 68, 0.4);
}

.capability-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-red);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.capability-box h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.capability-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Supplier Coordination Flow
   ========================================================================== */

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.step-card {
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  text-align: center;
}

.step-number {
  width: 44px;
  height: 44px;
  background: var(--color-red);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
}

.step-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CTA Banner Component - Transparent Frosted Glass Card
   ========================================================================== */

.cta-banner {
  background: rgba(18, 18, 24, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: radial-gradient(rgba(239, 68, 68, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.cta-text {
  max-width: 620px;
}

.cta-text h2 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.cta-text p {
  color: #94a3b8;
  font-size: 1.05rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Forms & Inputs - Transparent Frosted Card & Clean Inputs
   ========================================================================== */

.form-card {
  background: rgba(18, 18, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.form-label .required {
  color: var(--color-red);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #ffffff;
  background-color: #0c0c10;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-red-glow);
}

.form-control.is-invalid {
  border-color: #ef4444;
  background-color: rgba(239, 68, 68, 0.12);
}

.invalid-feedback {
  display: block;
  font-size: 0.8125rem;
  color: #ef4444;
  margin-top: 0.35rem;
  font-weight: 500;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Checkbox and Radio Groups */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  background-color: #0c0c10;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #e2e8f0;
  transition: all var(--transition-fast);
}

.custom-checkbox-label:hover {
  background-color: #16161c;
  border-color: rgba(255, 255, 255, 0.3);
}

.custom-checkbox-label input[type="checkbox"] {
  accent-color: var(--color-red);
  width: 17px;
  height: 17px;
}

/* Honeypot field (hidden from real users) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
}

/* Alerts / Notification Banners */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.alert-danger {
  background-color: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* ==========================================================================
   Footer Component - Transparent Frosted Glass Surface
   ========================================================================== */

.site-footer {
  background: rgba(6, 6, 9, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: #94a3b8;
  font-size: 0.9375rem;
  padding-top: 4.5rem;
  border-top: 3px solid var(--color-red);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.4fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-red);
}

.footer-about p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-brand {
  margin-bottom: 1.25rem;
  max-width: 260px;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-red);
}

.footer-contact-item a {
  color: #ffffff;
  font-weight: 500;
}

.footer-contact-item a:hover {
  color: var(--color-red);
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  color: #64748b;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-compliance-tag {
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Page Headers (Subpages) - Transparent Frosted Glass Header
   ========================================================================== */

.page-header {
  background: rgba(10, 10, 14, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: clamp(3rem, 5vw, 4.25rem) 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: #cbd5e1;
}

.breadcrumb a:hover {
  color: var(--color-red);
}

.breadcrumb-sep {
  color: #64748b;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 1260px) and (min-width: 881px) {
  .site-header.header-scrolled .container,
  .site-header .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-header.header-scrolled .navbar,
  .site-header .navbar {
    gap: 0.45rem;
  }

  .site-header.header-scrolled .nav-menu {
    gap: 0.18rem;
  }

  .site-header.header-scrolled .nav-link.glass-pill,
  .site-header.header-scrolled .nav-link {
    padding: 0.38rem 0.54rem;
    font-size: 0.8rem;
  }

  .site-header.header-scrolled .nav-sticky-title {
    font-size: 0.8rem;
  }

  .site-header.header-scrolled .liquid-glass-cta {
    padding: 0.4rem 0.95rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 1120px) and (min-width: 881px) {
  .site-header.header-scrolled .nav-sticky-title .brand-accent {
    display: none;
  }

  .site-header.header-scrolled .nav-link.glass-pill,
  .site-header.header-scrolled .nav-link {
    padding: 0.35rem 0.45rem;
    font-size: 0.77rem;
  }

  .site-header.header-scrolled .liquid-glass-cta {
    padding: 0.38rem 0.85rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 880px) {
  .site-header.header-scrolled .nav-sticky-title .brand-accent {
    display: none;
  }

  .site-header.header-scrolled .navbar {
    height: 48px;
  }

  .brand-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .brand-bar-quick-contact {
    display: none;
  }

  .brand-logo-img {
    height: 48px;
    max-width: 110px;
  }

  .brand-company-title {
    font-size: 1.02rem;
  }

  .brand-motto-tag {
    font-size: 0.65rem;
  }

  .navbar {
    height: 48px;
  }

  .nav-toggle {
    display: block;
  }

  .hamburger-line {
    background-color: #ffffff;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: rgba(8, 8, 12, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: flex-start;
    padding: 4.5rem 1.5rem 2rem;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.85);
    overflow-y: auto;
    z-index: 1050;
  }
  
  .nav-menu.open {
    transform: translateX(0);
  }
  
  .nav-link.glass-pill,
  .nav-link {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 1.02rem;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
  }
  
  .nav-actions .liquid-glass-cta {
    display: none;
  }
  
  .nav-menu .mobile-cta {
    display: block !important;
    width: 100%;
    margin-top: 1rem;
  }

  /* Mobile Dropdown Menu Adaptations */
  .nav-dropdown-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .nav-dropdown-wrapper .glass-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0.35rem 0 0.5rem 0.5rem;
    padding: 0.35rem;
    border-radius: 8px;
    min-width: unset;
    width: calc(100% - 0.5rem);
  }

  .nav-dropdown-wrapper .glass-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-wrapper .glass-dropdown-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    white-space: normal;
  }

  .rfq-dropdown-wrapper,
  .rfq-dropdown-box {
    display: none;
  }
}

@media (max-width: 640px) {
  .top-bar-inner {
    justify-content: flex-start;
    gap: 0.85rem;
    padding: 0 0.5rem;
  }
  
  .top-bar-meta {
    display: flex;
    gap: 0.85rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
}

/* File Upload Component for RFQ Form */
.file-upload-wrapper {
  position: relative;
  width: 100%;
}

.file-upload-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.file-upload-dropzone {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md, 12px);
  cursor: pointer;
  transition: all 0.22s ease;
}

.file-upload-dropzone:hover,
.file-upload-dropzone.dragover {
  background: rgba(239, 68, 68, 0.08);
  border-color: var(--color-red, #ef4444);
  transform: translateY(-1px);
}

.file-upload-dropzone:focus-within {
  border-color: var(--color-red, #ef4444);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.file-upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  color: var(--color-red, #ef4444);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.file-upload-dropzone:hover .file-upload-icon {
  transform: scale(1.08);
}

.file-upload-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.file-upload-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.file-upload-hint {
  font-size: 0.8rem;
  color: #94a3b8;
}

.file-preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
  padding: 0.5rem 0.85rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.85rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.file-preview-pill svg {
  color: var(--color-red, #ef4444);
  flex-shrink: 0;
}

.file-preview-name {
  font-weight: 600;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-preview-size {
  color: #94a3b8;
  font-size: 0.78rem;
}

.file-remove-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.25rem;
  transition: color 0.15s ease;
}

.file-remove-btn:hover {
  color: #ef4444;
}

@media (max-width: 640px) {
  .file-upload-dropzone {
    padding: 1rem;
    gap: 0.85rem;
  }
  .file-upload-icon {
    width: 42px;
    height: 42px;
  }
  .file-upload-title {
    font-size: 0.88rem;
  }
}

/* Statutory Authorities & Regulatory Alignment Section */
.section-authorities {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(11, 16, 27, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-authorities .container {
  max-width: 1380px;
  width: 100%;
}

.authorities-card-wrapper {
  background: #1c356e;
  background: linear-gradient(145deg, #182f64 0%, #1e3a7c 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg, 16px);
  padding: 3.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  width: 100%;
  box-sizing: border-box;
}

.authorities-title {
  font-size: 2.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.authorities-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #e2e8f0;
  max-width: 100%;
  margin: 0.75rem 0 2.25rem 0;
}

.authorities-lead strong {
  color: #ffffff;
}

.authorities-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  align-items: center;
}

.authorities-list-col {
  display: flex;
  flex-direction: column;
}

.authorities-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.authorities-checklist li {
  position: relative;
  padding-left: 1.75rem;
  color: #f8fafc;
  font-size: 1.025rem;
  font-weight: 500;
  line-height: 1.5;
}

.authorities-checklist li::before {
  content: '•';
  position: absolute;
  left: 0.25rem;
  top: -0.1rem;
  color: #93c5fd;
  font-size: 1.4rem;
  line-height: 1;
}

/* Sliding Logos White Box - Compact Sleek Height with Large Logos */
.authorities-slider-window {
  background: #ffffff;
  border-radius: 12px;
  padding: 0.5rem;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  height: 135px;
  min-height: unset;
  max-height: 135px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
}

.authorities-slider-window::before,
.authorities-slider-window::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  z-index: 2;
  pointer-events: none;
}

.authorities-slider-window::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.authorities-slider-window::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.authorities-slider-track {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  width: max-content;
  animation: authoritiesMarquee 26s linear infinite;
  will-change: transform;
}

.authorities-slider-track:hover {
  animation-play-state: paused;
}

@keyframes authoritiesMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.authority-slide-item {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 95px;
}

.authority-slide-item img {
  max-width: 175px;
  max-height: 82px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
  transition: transform 0.25s ease;
}

.authority-slide-item:hover img {
  transform: scale(1.08);
}

.authorities-logos-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.authority-logo-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.25rem 1.75rem;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.authority-logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 0 2px var(--color-red, #ef4444);
}

.authority-logo-card img {
  max-height: 72px;
  max-width: 145px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Tier-1 Suppliers & Equipment Partners Strip (Above Footer) */
.footer-suppliers-strip {
  background: #070c18;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3.5rem 0;
  position: relative;
  z-index: 10;
}

.suppliers-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.suppliers-strip-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.suppliers-header-text {
  max-width: 720px;
}

.suppliers-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.supplier-logo-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.supplier-logo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.25), 0 0 0 1.5px var(--color-red, #ef4444);
}

.supplier-logo-card img {
  max-height: 46px;
  max-width: 125px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.supplier-logo-card:hover img {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .section-authorities .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .authorities-content-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .authorities-card-wrapper {
    padding: 2.75rem 2rem;
  }
  .authorities-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem 1.5rem;
  }
  .authorities-slider-window {
    height: 125px;
    max-height: 125px;
    min-height: unset;
    width: 100%;
  }
  .authority-slide-item {
    flex: 0 0 180px;
    height: 85px;
  }
  .authority-slide-item img {
    max-width: 155px;
    max-height: 72px;
  }
  .authorities-logos-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .suppliers-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .section-authorities {
    padding: 2.5rem 0;
  }
  .section-authorities .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .authorities-card-wrapper {
    padding: 1.75rem 1.25rem;
    border-radius: 12px;
  }
  .authorities-title {
    font-size: 1.6rem;
  }
  .authorities-lead {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }
  .authorities-content-grid {
    gap: 1.5rem;
  }
  .authorities-checklist {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .authorities-checklist li {
    font-size: 0.925rem;
    padding-left: 1.5rem;
  }
  .authorities-slider-window {
    height: 105px;
    max-height: 105px;
    min-height: unset;
    padding: 0.4rem 0.25rem;
    border-radius: 8px;
  }
  .authority-slide-item {
    flex: 0 0 145px;
    height: 75px;
  }
  .authority-slide-item img {
    max-width: 125px;
    max-height: 58px;
  }
  .authorities-logos-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .authority-logo-card {
    height: 95px;
  }
  .suppliers-logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .supplier-logo-card {
    height: 64px;
    padding: 0.65rem 0.85rem;
  }
}

/* ==========================================================================
   Sticky Background Scroll-Storytelling Architecture for Fire Safety Services
   ========================================================================== */

.fire-story-stream {
  position: relative;
  width: 100%;
  overflow: visible;
}

.story-section {
  position: relative;
  width: 100%;
  margin-bottom: 3.5rem;
  overflow: visible;
}

.story-stage {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.story-stage-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: brightness(1.04) contrast(1.02);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.story-stage-overlay {
  position: absolute;
  inset: 0;
  /* Significantly brighter and more translucent so background images are punchy and clearly visible */
  background: linear-gradient(
    to bottom,
    rgba(6, 12, 24, 0.32) 0%,
    rgba(8, 15, 30, 0.12) 30%,
    rgba(8, 15, 30, 0.12) 70%,
    rgba(6, 12, 24, 0.38) 100%
  );
}

.story-track {
  position: relative;
  z-index: 2;
  margin-top: -100vh;
  margin-top: -100dvh;
  max-width: 1440px;
  width: calc(100% - 3rem);
  margin-left: auto;
  margin-right: auto;
  padding: 8vh 0 14vh;
}

.story-step {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 0;
  opacity: 0.35;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.story-card {
  width: 100%;
  max-width: 100%;
  background: rgba(10, 16, 32, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md, 14px);
  padding: 2.5rem 3rem;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.story-card-hero {
  border-left: 4px solid var(--color-red);
}

.story-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2.75rem;
  align-items: center;
}

.story-hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.story-counter {
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  color: var(--color-red);
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(220, 38, 38, 0.35);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.story-title {
  color: #ffffff;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0.5rem 0 1rem;
}

.story-lead {
  font-size: 1.05rem;
  color: var(--text-body, #cbd5e1);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.story-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.story-hero-sidebox {
  background: rgba(18, 28, 52, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm, 10px);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.story-hero-sidebox-title {
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-red);
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.story-hero-sidebox-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.story-hero-sidebox-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.story-hero-sidebox-item svg {
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 2px;
}

.story-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted, #94a3b8);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.story-scroll-hint svg {
  color: var(--color-red);
  animation: bounceHint 2s infinite;
}

@keyframes bounceHint {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(5px); }
  60% { transform: translateY(2px); }
}

.story-step-header {
  margin-bottom: 1.5rem;
}

.story-step-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-red);
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}

.story-step-title {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.story-step-intro {
  font-size: 0.95rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.55;
  margin: 0;
}

.story-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.story-subgrid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.story-subgrid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.story-subitem {
  background: rgba(16, 25, 48, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm, 10px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.story-subitem:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 38, 38, 0.5);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
}

.story-subitem-thumb {
  height: 190px;
  overflow: hidden;
  position: relative;
}

.story-subitem-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-subitem:hover .story-subitem-thumb img {
  transform: scale(1.06);
}

.story-subitem-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 15, 29, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #f87171;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.story-subitem-body {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  border-top: 2px solid var(--color-red);
}

.story-subitem-name {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.story-subitem-text {
  font-size: 0.875rem;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

.story-subitem-bullets {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.84rem;
  color: var(--text-body, #cbd5e1);
  line-height: 1.6;
}

.story-subitem-bullets li {
  margin-bottom: 0.35rem;
}

@media (prefers-reduced-motion: reduce) {
  .story-step {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .story-stage-bg {
    transition: none !important;
    transform: none !important;
  }
  .story-scroll-hint svg {
    animation: none !important;
  }
}

@media (max-width: 991px) {
  .story-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .story-subgrid-2,
  .story-subgrid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .story-section {
    margin-bottom: 2rem;
  }
  .story-stage {
    height: 100vh;
    height: 100dvh;
  }
  .story-track {
    width: 100%;
    margin-top: -100vh;
    margin-top: -100dvh;
    padding: 3rem 1rem 4rem;
  }
  .story-step {
    min-height: auto;
    padding: 1.25rem 0;
    opacity: 1 !important;
    transform: none !important;
  }
  .story-card {
    padding: 1.5rem 1.25rem;
  }
  .story-title {
    font-size: 1.5rem;
  }
  .story-lead {
    font-size: 0.95rem;
  }
  .story-subgrid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .story-subitem-thumb {
    height: 160px;
  }
}

/* Services Page Quick Jump Pill Navigation */
.services-quick-nav-wrapper {
  background: rgba(10, 16, 32, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem 0;
  position: -webkit-sticky;
  position: sticky;
  top: 60px;
  z-index: 99;
}

.services-quick-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0;
}

.services-quick-nav::-webkit-scrollbar {
  display: none;
}

.service-pill-btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 0.4rem 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.service-pill-btn:hover {
  color: #ffffff;
  background: rgba(220, 38, 38, 0.25);
  border-color: rgba(220, 38, 38, 0.5);
  transform: translateY(-1px);
}

