/* ==========================================================================
   Elevate Infrastructure Solutions - Clean White & Light Shades Enterprise Design System
   Redesigned in crisp corporate white and light neutral shades as requested by client.
   Inspired by Intertec Systems structure, elevated with clean light aesthetics.
   ========================================================================== */

:root {
  /* Color Palette - Bright Corporate White Theme */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-alt: #f8fafc;
  
  --bg-glass-light: rgba(255, 255, 255, 0.98);
  --bg-glass-border: #e2e8f0;

  /* Primary Brand & Accents - Clean Dark Charcoal Slate & Muted Steel Accent */
  --accent-primary: #0f172a;
  --accent-primary-hover: #1e293b;
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-cyan: #0284c7;
  --accent-purple: #4f46e5;
  --accent-amethyst: #7c3aed;
  --accent-emerald: #059669;
  --accent-amber: #d97706;

  /* Gradients - Neutral Luxury Gradients */
  --grad-primary: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  --grad-accent-text: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  --grad-card-hover: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%);

  /* Typography */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-max: 1380px;
  --nav-height: 90px;
  --announcement-height: 42px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-mega: 0 20px 50px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 15px rgba(15, 23, 42, 0.08);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

ul { list-style: none; }
img, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; color: inherit; }
button { cursor: pointer; }

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

.section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-dark-alt, .section-bg-alt {
  background: var(--bg-secondary);
}

.section-black {
  background: var(--bg-tertiary);
}

.section-title-wrapper {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3.5rem auto;
}

.sub-title {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border: 1px solid var(--bg-glass-border);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.sub-title::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 6px rgba(15, 23, 42, 0.3);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.section-title span {
  color: var(--accent-primary);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Buttons & Primary CTA Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-primary);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
  border: none;
}

.btn-primary:hover {
  background: var(--accent-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.btn-outline:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-arrow-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow-wrap {
  transform: translateX(4px);
}

/* 0. Executive Announcement Top Bar */
.announcement-bar {
  background: #0f172a;
  color: #f8fafc;
  height: var(--announcement-height);
  display: flex;
  align-items: center;
  font-size: 0.825rem;
  position: relative;
  z-index: 101;
}

.announcement-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.announcement-ticker {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.announcement-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.725rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.4);
  letter-spacing: 0.5px;
}

.announcement-text {
  color: #ffffff;
  font-weight: 500;
}

.announcement-text a {
  color: #38bdf8;
  margin-left: 0.5rem;
  font-weight: 600;
}

.announcement-text a:hover {
  text-decoration: underline;
}

.announcement-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.announcement-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.8rem;
}

.announcement-links a:hover {
  color: #ffffff;
}

/* 1. Header Navigation & Intertec-Style White Mega Menu */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-glass-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
}

.header.scrolled {
  height: 80px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--accent-primary);
  background: var(--bg-tertiary);
}

/* Intertec-Style White Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 980px;
  background: #ffffff;
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-mega);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 1100;
}

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

.mega-menu-tabs {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
}

.mega-sidebar-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-right: 1px solid var(--bg-glass-border);
  padding-right: 1rem;
}

.mega-tab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--text-secondary);
  text-align: left;
  transition: all var(--transition-fast);
}

.mega-tab-btn:hover, .mega-tab-btn.active {
  background: var(--bg-tertiary);
  color: var(--accent-primary);
}

.mega-tab-content-pane {
  display: none;
}

.mega-tab-content-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.mega-grid-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.mega-item-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--bg-glass-border);
  transition: all var(--transition-fast);
}

.mega-item-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.mega-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mega-item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.mega-item-desc {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.search-trigger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--bg-glass-border);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.search-trigger-btn:hover {
  background: var(--bg-tertiary);
  color: var(--accent-primary);
  border-color: #cbd5e1;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 24px;
  justify-content: center;
  cursor: pointer;
}

.hamburger-btn span {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   2. HERO SECTION - 100% Bright Hero Images on Clean White Page
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4.5rem 0 2.5rem 0;
  overflow: hidden;
  background: var(--bg-secondary);
}

.hero-image-backdrop-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-img-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: none; /* 100% ORIGINAL BRIGHT IMAGE COLORS */
  transition: opacity 0.8s ease, transform 12s ease-out;
  transform: scale(1);
}

.hero-bg-img-layer.active {
  opacity: 1;
  transform: scale(1.05);
}

.hero-canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.3;
}

.hero-video-overlay {
  display: none; /* No black superimposed on hero image! */
}

/* Floating Clean Text Only (Container Box Removed) */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  background: transparent;
  padding: 2rem 1rem;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.5rem 1.35rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: 1.5px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
  text-shadow: 
    0 1px 0 #cbd5e1, 
    0 2px 0 #94a3b8, 
    0 3px 0 #475569, 
    0 4px 0 #0f172a, 
    0 6px 15px rgba(0, 0, 0, 0.8), 
    0 12px 30px rgba(0, 0, 0, 0.9);
}

.hero-title span {
  color: #ffffff;
  text-shadow: 
    0 1px 0 #cbd5e1, 
    0 2px 0 #94a3b8, 
    0 3px 0 #475569, 
    0 4px 0 #0f172a, 
    0 6px 18px rgba(0, 0, 0, 0.85), 
    0 14px 35px rgba(0, 0, 0, 0.95);
}

.hero-subtitle {
  font-size: 1.35rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 
    0 1px 0 #cbd5e1, 
    0 2px 0 #64748b, 
    0 3px 6px rgba(0, 0, 0, 0.9), 
    0 8px 22px rgba(0, 0, 0, 0.95);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

/* Sleek Executive Glass Hero Slider Controller (Fixed Width - Never Jumps) */
.hero-control-bar {
  position: relative;
  z-index: 20;
  margin: 2.5rem auto 0 auto;
  width: 580px;
  max-width: 92vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.35rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  box-sizing: border-border;
}

.hero-arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.hero-arrow-btn:hover {
  background: #ffffff;
  color: #0f172a;
  transform: scale(1.08);
}

.hero-slide-counter {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  width: 48px;
  justify-content: center;
  flex-shrink: 0;
}

.slide-num-active { color: #ffffff; }
.slide-num-divider { color: rgba(255, 255, 255, 0.4); }
.slide-num-total { color: rgba(255, 255, 255, 0.5); }

.hero-dots-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 105px;
  flex-shrink: 0;
}

.hero-dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.hero-dot-btn:hover, .hero-dot-btn.active {
  width: 26px;
  border-radius: 10px;
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.hero-slide-badge {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 1rem;
  width: 250px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

/* 3. Executive Announcement Ticker */
.offers-ticker-section {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.25rem 0;
  position: relative;
  z-index: 20;
}

.offers-ticker-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.offers-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(5, 150, 105, 0.12);
  color: var(--accent-emerald);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.775rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(5, 150, 105, 0.3);
  flex-shrink: 0;
}

.offers-text {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.offers-text a {
  color: var(--accent-blue);
  font-weight: 600;
  margin-left: 0.5rem;
}

.offers-text a:hover { text-decoration: underline; }

/* 4. Proven Experience & Elevate Company Metrics Section */
.metrics-section {
  background: #ffffff;
  padding: 6.5rem 0;
}

.metrics-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.metrics-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.metrics-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.stats-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--accent-primary);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* 5. Industry-Focused Solutions & Comprehensive Case Studies */
.industry-section {
  background: var(--bg-secondary);
  padding: 6.5rem 0;
}

.industry-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.ind-tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--bg-glass-border);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.ind-tab-btn:hover, .ind-tab-btn.active {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.case-card {
  background: #ffffff;
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.case-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.case-card:hover .case-img {
  transform: scale(1.08);
}

.case-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #ffffff;
  border: 1px solid var(--bg-glass-border);
  color: var(--accent-primary);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.case-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.case-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.case-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--accent-primary);
}

.case-link-btn:hover {
  color: var(--accent-primary-hover);
  transform: translateX(4px);
}

/* 6. 7-Card Capability Matrix ("Building Intelligent Foundations") */
.capabilities-section {
  background: #ffffff;
  padding: 6.5rem 0;
}

.capabilities-grid-7 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cap-card {
  background: var(--bg-secondary);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

.cap-card:hover {
  background: #ffffff;
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-card);
}

.cap-card-content {
  position: relative;
  z-index: 2;
}

.cap-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--bg-glass-border);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.cap-card:hover .cap-icon-box {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.cap-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.cap-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cap-arrow-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-primary);
  margin-top: 1.5rem;
}

.cap-card.span-2 {
  grid-column: span 2;
}

/* 7. Purpose-Built Platforms Showcase */
.platforms-section {
  background: var(--bg-secondary);
  padding: 6.5rem 0;
}

.platform-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  border-bottom: 1px solid var(--bg-glass-border);
  margin-bottom: 3.5rem;
}

.plat-tab-btn {
  padding: 1rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
  position: relative;
  transition: all var(--transition-fast);
}

.plat-tab-btn.active, .plat-tab-btn:hover {
  color: var(--accent-primary);
}

.plat-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-primary);
  border-radius: 10px 10px 0 0;
}

.platform-card-box {
  background: #ffffff;
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-card);
}

.platform-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.platform-info h3 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.platform-info p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.platform-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.platform-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.platform-feature-item svg {
  color: var(--accent-primary);
  flex-shrink: 0;
}

.platform-preview-img-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--bg-glass-border);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
}

.platform-preview-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 8. Media Gallery Showcase Section */
.media-section {
  background: #ffffff;
  padding: 6.5rem 0;
}

.media-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.media-card {
  background: var(--bg-secondary);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.media-card:hover {
  background: #ffffff;
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-card);
}

.media-thumb-wrap {
  position: relative;
  height: 230px;
}

.media-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media-card:hover .media-thumb-wrap img {
  transform: scale(1.08);
}

.media-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.media-card:hover .media-play-overlay {
  background: rgba(15, 23, 42, 0.15);
}

.play-icon-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3);
  transition: transform var(--transition-fast);
}

.media-card:hover .play-icon-btn {
  transform: scale(1.15);
}

.media-info {
  padding: 1.5rem;
}

.media-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.media-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 9. Insights & Press Release Section */
.insights-section {
  background: var(--bg-secondary);
  padding: 6.5rem 0;
}

.insights-grid-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
}

.blogs-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.blog-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-4px);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--accent-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.blog-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.press-widget {
  background: #ffffff;
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.press-widget-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--bg-glass-border);
}

.press-item {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--bg-glass-border);
}

.press-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.press-tag {
  font-size: 0.75rem;
  color: var(--accent-primary);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.press-headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.press-headline:hover {
  color: var(--accent-primary);
}

.press-date {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* 10. Careers & Culture Section */
.careers-section {
  background: #ffffff;
  padding: 6.5rem 0;
}

.careers-box {
  background: var(--bg-secondary);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.careers-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.careers-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.careers-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
}

/* 11. Strategic Technology Alliances Grid */
.partners-section {
  background: var(--bg-secondary);
  padding: 5rem 0;
  border-top: 1px solid var(--bg-glass-border);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.partner-logo-card {
  background: #ffffff;
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.partner-logo-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
}

/* 12. Clean Light Enterprise Call-To-Action Section */
.cta-gradient-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 5.5rem 0;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.cta-text h2 {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.cta-text p {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-muted);
}

.btn-cta-dark {
  background: var(--accent-primary);
  color: #ffffff;
  font-weight: 800;
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.15);
}

.btn-cta-dark:hover {
  background: var(--accent-primary-hover);
  color: #ffffff;
  transform: translateY(-3px);
}

/* 13. Full Enterprise Footer */
.footer {
  background: #0f172a;
  color: #f8fafc;
  padding: 5rem 0 2rem 0;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.925rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
  max-width: 320px;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #fff;
  width: 100%;
}

.newsletter-input:focus {
  border-color: #ffffff;
}

.footer-column-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.footer-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-menu-links a {
  font-size: 0.875rem;
  color: #94a3b8;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  color: #64748b;
}

/* 14. Modals & Sliding Drawers */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-box {
  background: #ffffff;
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 780px;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-mega);
  max-height: 85vh;
  overflow-y: auto;
  color: var(--text-primary);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--bg-tertiary);
  color: var(--accent-primary);
}

/* Contact Drawer */
.drawer-panel {
  position: fixed;
  top: 0;
  right: -550px;
  width: 100%;
  max-width: 520px;
  height: 100%;
  background: #ffffff;
  border-left: 1px solid var(--bg-glass-border);
  box-shadow: var(--shadow-mega);
  z-index: 2100;
  padding: 3rem 2.5rem;
  overflow-y: auto;
  transition: right var(--transition-normal);
  color: var(--text-primary);
}

.drawer-panel.active {
  right: 0;
}

.drawer-form-group {
  margin-bottom: 1.5rem;
}

.drawer-form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.drawer-input, .drawer-textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.drawer-input:focus, .drawer-textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(15, 23, 42, 0.1);
}

/* Mobile Navigation Drawer Overlay & Hamburger Icon Animation */
.nav-menu.mobile-active {
  display: flex !important;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 2rem 1.75rem;
  gap: 1.25rem;
  border-top: 1px solid var(--bg-glass-border);
  box-shadow: var(--shadow-mega);
  z-index: 9999;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.nav-menu.mobile-active .nav-link {
  font-size: 1.2rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--bg-glass-border);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Responsive Breakpoints & Complete Mobile Optimization */
@media (max-width: 1200px) {
  .capabilities-grid-7 { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .nav-menu { display: none; }
  .hamburger-btn { display: flex; }
  .mega-menu { display: none !important; } /* Eliminate 980px desktop mega-menu overflow on mobile */
  
  .brand-logo-img {
    height: 44px;
    max-width: 175px;
    object-fit: contain;
  }

  .hero-title {
    font-size: 2.75rem;
    text-shadow: 
      0 1px 0 #cbd5e1, 
      0 2px 0 #94a3b8, 
      0 3px 0 #475569, 
      0 5px 12px rgba(0, 0, 0, 0.85);
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
    text-shadow: 0 1px 0 #cbd5e1, 0 2px 5px rgba(0, 0, 0, 0.9);
  }
  
  .metrics-main-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .case-studies-grid, .media-grid-3 { grid-template-columns: 1fr; }
  .platform-card-grid, .careers-box { grid-template-columns: 1fr; gap: 2rem; }
  .insights-grid-main { grid-template-columns: 1fr; }
  .cta-flex { flex-direction: column; text-align: center; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Header & Top Bar Fixes */
  .announcement-bar { height: auto; padding: 0.5rem 0; }
  .announcement-links { display: none; } /* Hide secondary top links on phones */
  .announcement-container { justify-content: center; }
  
  .brand-logo-img {
    height: 40px;
    max-width: 150px;
  }
  
  .header-right-actions #contactDrawerBtn {
    display: none; /* Hide heavy text button from small header to give logo maximum breathing room */
  }

  .section { padding: 3.5rem 0; }
  .section-title { font-size: 2rem; }
  .section-title-wrapper { margin-bottom: 2.25rem; }

  /* Hero Mobile Refinement */
  .hero { min-height: auto; padding: 3rem 0 1.5rem 0; }
  .hero-content { padding: 1.25rem 0.25rem; }
  .hero-badge { font-size: 0.7rem; padding: 0.35rem 0.85rem; letter-spacing: 0.5px; margin-bottom: 1.25rem; }
  
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 
      0 1px 0 #cbd5e1, 
      0 2px 0 #94a3b8, 
      0 3px 6px rgba(0, 0, 0, 0.9);
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  
  .hero-actions .btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
  }

  /* Fixed Width Mobile Hero Slider Controller */
  .hero-control-bar {
    width: 320px;
    max-width: 90vw;
    margin-top: 1.5rem;
    padding: 0.5rem 0.85rem;
    justify-content: space-between;
  }

  .hero-slide-badge {
    display: none;
  }

  /* Executive Ticker Mobile Wrap Fix */
  .offers-ticker-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Over-Padded Containers Mobile Fix */
  .platform-card-box { padding: 1.5rem 1.25rem; border-radius: var(--radius-md); }
  .careers-box { padding: 1.5rem 1.25rem; border-radius: var(--radius-md); }
  .cap-card { padding: 1.35rem 1.1rem; min-height: auto; }
  .cap-card.span-2 { grid-column: span 1; }
  .capabilities-grid-7 { grid-template-columns: 1fr; gap: 1rem; }

  /* Touch-Scrolling Filter Tabs with Edge Mask Fade Indicator */
  .industry-tabs-nav, .platform-tabs-nav {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    padding-right: 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, rgba(0,0,0,1) 85%, rgba(0,0,0,0));
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 85%, rgba(0,0,0,0));
  }

  .industry-tabs-nav::-webkit-scrollbar, .platform-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .ind-tab-btn, .plat-tab-btn {
    flex-shrink: 0;
    font-size: 0.85rem;
    padding: 0.6rem 1.1rem;
  }

  .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .partner-logo-card { padding: 0.85rem 0.5rem; font-size: 0.825rem; }
  .stats-grid-6 { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .stat-card { padding: 1.25rem 0.75rem; }
  .stat-number { font-size: 2rem; }

  /* Full-Bleed Contact Drawer & Modals on Mobile */
  .drawer-panel {
    width: 100%;
    max-width: 100%;
    right: -100%;
    padding: 2rem 1.25rem;
  }

  .drawer-panel.active {
    right: 0;
  }

  .modal-box {
    width: 94%;
    max-width: 94%;
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-md);
  }

  .modal-box .sub-title {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .brand-logo-img { height: 36px; max-width: 135px; }
  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .stats-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 380px) {
  .brand-logo-img { height: 32px; max-width: 115px; }
  .hero-title { font-size: 1.6rem; word-break: break-word; }
  .hero-subtitle { font-size: 0.9rem; }
  .btn { padding: 0.75rem 1rem; font-size: 0.85rem; }
}

/* Final responsive refinement */
.mobile-subnav,
.nav-mobile-contact,
.case-study-toggle {
  display: none;
}

.nav-mobile-contact {
  list-style: none;
}

.search-results {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.search-result-link {
  display: block;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
}

.search-result-link:hover,
.search-result-link:focus-visible {
  border-color: var(--accent-primary);
  background: var(--bg-tertiary);
}

.search-result-title {
  display: block;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
}

.search-result-type {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

.case-study-toggle {
  margin: 1.75rem auto 0;
}

@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .header {
    height: 78px;
  }

  .header.scrolled {
    height: 72px;
  }

  .nav-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-logo-img {
    height: 44px;
    max-width: 150px;
  }

  .header-right-actions {
    gap: 0.65rem;
  }

  .hamburger-btn {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 0.65rem;
    border-radius: 50%;
  }

  .hamburger-btn span {
    width: 100%;
    height: 2px;
  }

  .nav-menu.mobile-active {
    top: 78px;
    height: calc(100dvh - 78px);
    padding: 1rem;
    gap: 0.25rem;
  }

  .nav-menu.mobile-active .nav-item,
  .nav-menu.mobile-active .nav-mobile-contact {
    width: 100%;
  }

  .nav-menu.mobile-active .nav-link {
    padding: 0.85rem 1rem;
    min-height: 48px;
  }

  .nav-menu.mobile-active .nav-item:nth-child(2) > .nav-link {
    background: var(--bg-secondary);
  }

  .nav-menu.mobile-active .mobile-subnav {
    display: grid;
    gap: 0.35rem;
    padding: 0 0.75rem 0.5rem 1.75rem;
  }

  .mobile-subnav a {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 0.45rem 0;
  }

  .nav-mobile-contact {
    padding: 1rem 0.75rem 0;
  }

  .nav-mobile-contact .btn {
    width: 100%;
  }

  .section,
  .metrics-section,
  .industry-section,
  .capabilities-section,
  .platforms-section,
  .media-section,
  .insights-section,
  .careers-section,
  .partners-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .offers-ticker-flex {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .offers-text {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .offers-text a {
    display: inline-block;
    margin-left: 0;
    margin-top: 0.25rem;
  }

  .hero-content {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.35rem);
    text-shadow: 0 1px 0 #cbd5e1, 0 2px 0 #64748b, 0 4px 10px rgba(0, 0, 0, 0.82);
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  }

  .hero-tab-item {
    flex-basis: min(190px, 68vw);
  }

  .section-title,
  .metrics-content h2,
  .careers-content h2 {
    font-size: clamp(1.8rem, 7vw, 2.25rem);
  }

  .section-title-wrapper {
    margin-bottom: 2rem;
  }

  .case-study-toggle {
    display: flex;
    align-items: center;
    gap: 0.45rem;
  }

  .case-card.is-collapsed {
    display: none;
  }

  .platform-card-box,
  .careers-box {
    padding: 1.25rem;
  }

  .drawer-panel {
    padding: 1.5rem 1rem;
  }

  .modal-box {
    max-height: calc(100dvh - 2rem);
    padding: 1.25rem 1rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-bottom > div:last-child {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.75rem 1rem !important;
  }
}

@media (max-width: 380px) {
  .brand-logo-img {
    height: 42px;
    max-width: 140px;
  }

  .header-right-actions {
    gap: 0.35rem;
  }

  .search-trigger-btn {
    width: 40px;
    height: 40px;
  }

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