/* ==========================================================================
   METRIC ONE, INC. - 2026 DESIGN SYSTEM
   Modern, Enterprise-Grade, Responsive Web Experience
   ========================================================================== */

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

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Color Palette - Light Theme (Default) */
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-translucent: rgba(255, 255, 255, 0.85);
  --bg-accent-subtle: #f0f7ff;
  --bg-accent-gradient: linear-gradient(135deg, #0263c9 0%, #00a3ff 100%);
  --bg-hero-gradient: radial-gradient(circle at 80% 20%, rgba(0, 163, 255, 0.08) 0%, rgba(2, 99, 201, 0.03) 50%, transparent 80%),
                      radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 60%);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --brand-navy: #081a36;
  --brand-blue: #0263c9;
  --brand-blue-hover: #024ea0;
  --brand-cyan: #00a3ff;
  --brand-green: #10b981;
  --brand-green-subtle: #ecfdf5;
  --brand-amber: #f59e0b;
  --brand-rose: #ef4444;

  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: #0263c9;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 25px rgba(2, 99, 201, 0.18);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --header-height: 80px;
  --max-width: 1240px;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-primary: #070d18;
  --bg-surface: #0f192c;
  --bg-surface-elevated: #16243d;
  --bg-surface-translucent: rgba(15, 25, 44, 0.85);
  --bg-accent-subtle: #0f2545;
  --bg-hero-gradient: radial-gradient(circle at 80% 20%, rgba(0, 163, 255, 0.15) 0%, rgba(2, 99, 201, 0.05) 50%, transparent 80%),
                      radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #070d18;

  --border-subtle: #1e293b;
  --border-medium: #334155;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(0, 163, 255, 0.25);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--brand-cyan);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

ul, ol {
  padding-left: 1.25rem;
  color: var(--text-secondary);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --- Top Utility Bar --- */
.top-bar {
  background: var(--brand-navy);
  color: #94a3b8;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: #cbd5e1;
}
.top-bar-item a {
  color: #f1f5f9;
  font-weight: 500;
}
.top-bar-item a:hover {
  color: var(--brand-cyan);
}
.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.badge-hotline {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.badge-hotline::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 6px #34d399;
}

/* --- Navigation Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-surface-translucent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(2, 99, 201, 0.35);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.brand-subtitle {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  gap: 0.25rem;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--brand-blue);
  background: var(--bg-accent-subtle);
}
.nav-arrow {
  font-size: 0.65rem;
  opacity: 0.6;
  transition: transform var(--transition-fast);
}
.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 100;
  list-style: none;
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item a {
  display: flex;
  flex-direction: column;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: background var(--transition-fast);
}
.dropdown-item a:hover {
  background: var(--bg-accent-subtle);
  color: var(--brand-blue);
}
.dropdown-title {
  font-size: 0.875rem;
  font-weight: 600;
}
.dropdown-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.theme-toggle-btn:hover {
  background: var(--bg-accent-subtle);
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}
.btn-primary {
  background: var(--bg-accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 99, 201, 0.25);
}
.btn-primary:hover {
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(2, 99, 201, 0.4);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-medium);
}
.btn-secondary:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: var(--bg-accent-subtle);
}
.btn-outline {
  background: transparent;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}
.btn-outline:hover {
  background: var(--brand-blue);
  color: #ffffff;
}
.btn-portal {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28);
}
.btn-portal:hover {
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}
.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
}
.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background: var(--bg-hero-gradient);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-accent-subtle);
  border: 1px solid rgba(2, 99, 201, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: 3.15rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 800;
}
.hero-highlight {
  background: linear-gradient(120deg, #0263c9 0%, #00a3ff 60%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 640px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-blue);
}
.hero-stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Quick Inquiry Sidebar Card on Hero */
.hero-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.hero-card-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}
.hero-card-title {
  font-size: 1.25rem;
  color: var(--text-primary);
}
.hero-card-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  margin-bottom: 0;
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}
.form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  background: var(--bg-primary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(2, 99, 201, 0.15);
  background: var(--bg-surface);
}
textarea.form-control {
  resize: vertical;
  min-height: 85px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.honeypot-field {
  display: none !important;
  visibility: hidden !important;
}

/* --- Section Formatting --- */
.section {
  padding: 5rem 0;
}
.section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
  display: inline-block;
}
.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* --- 3 Core Divisions Grid --- */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.division-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.division-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--card-accent, var(--bg-accent-gradient));
}
.division-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-medium);
}
.division-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--icon-bg, var(--bg-accent-subtle));
  color: var(--icon-color, var(--brand-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.division-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}
.division-card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.division-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}
.division-card-features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.check-icon {
  color: var(--brand-green);
  font-weight: bold;
  flex-shrink: 0;
}

/* Division Color Themes */
.division-tas {
  --card-accent: linear-gradient(90deg, #0263c9, #00a3ff);
  --icon-bg: #e0f2fe;
  --icon-color: #0263c9;
}
.division-bcs {
  --card-accent: linear-gradient(90deg, #10b981, #34d399);
  --icon-bg: #ecfdf5;
  --icon-color: #059669;
}
.division-eac {
  --card-accent: linear-gradient(90deg, #8b5cf6, #a855f7);
  --icon-bg: #f5f3ff;
  --icon-color: #7c3aed;
}

/* --- Feature Grid / Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition-fast);
}
.feature-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}
.feature-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-accent-subtle);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.feature-title {
  font-size: 1.15rem;
}

/* --- Partner Trust Banner --- */
.partner-bar {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}
.partner-bar-title {
  text-align: center;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0.85;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.partner-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.partner-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 0.35rem;
}

/* --- Tabbed Interfaces --- */
.tab-container {
  margin-top: 2rem;
}
.tab-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border-subtle);
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 2px;
}
.tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast);
}
.tab-btn:hover {
  color: var(--brand-blue);
}
.tab-btn.active {
  color: var(--brand-blue);
}
.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-blue);
}
.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}
.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Support Hub / Gateway Card --- */
.support-hero-box {
  background: linear-gradient(135deg, rgba(2, 99, 201, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-lg);
}
.support-hero-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-accent-gradient);
  color: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(2, 99, 201, 0.3);
}
.support-url-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 1.25rem 0 2rem;
  word-break: break-all;
}
.support-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.support-channel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}
.support-channel-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

/* --- Data Table / Modern Lists --- */
.data-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}
.modern-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}
.modern-table th {
  background: var(--bg-primary);
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}
.modern-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.modern-table tr:last-child td {
  border-bottom: none;
}
.modern-table tr:hover td {
  background: var(--bg-accent-subtle);
}

/* --- Status Badges --- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.status-open {
  background: #fef3c7;
  color: #92400e;
}
.status-resolved {
  background: #ecfdf5;
  color: #065f46;
}
.status-high {
  background: #fee2e2;
  color: #991b1b;
}

/* --- Alert Box --- */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

/* --- Page Header Banner --- */
.page-hero {
  background: var(--bg-hero-gradient);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}
.page-hero-title {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
}
.page-hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* --- Product Cards & PDF Downloads --- */
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--bg-accent-subtle);
  border: 1px solid rgba(2, 99, 201, 0.2);
  border-radius: var(--radius-sm);
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
}
.pdf-btn:hover {
  background: var(--brand-blue);
  color: #ffffff;
}

/* --- Executive Quotes Carousel/Cards --- */
.quote-card {
  background: var(--bg-surface);
  border-left: 4px solid var(--brand-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}
.quote-text {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.quote-author {
  font-weight: 700;
  color: var(--brand-blue);
  font-size: 0.9375rem;
}
.quote-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- Footer --- */
.site-footer {
  background: var(--brand-navy);
  color: #94a3b8;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9375rem;
}
.footer-main {
  padding: 4.5rem 0 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
}
.footer-col h4 {
  color: #f8fafc;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.65rem;
}
.footer-links a {
  color: #94a3b8;
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--brand-cyan);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  color: #cbd5e1;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.8125rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .divisions-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .mobile-nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
  }
  .mobile-nav-open .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .mobile-nav-open .nav-item {
    width: 100%;
  }
  .mobile-nav-open .nav-link {
    width: 100%;
    padding: 0.75rem 0.5rem;
  }
  .mobile-nav-open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .top-bar-contact {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
