/*
Theme Name: LH Electrical Power
Theme URI: https://lhelectricalpower.com
Author: Engineering Team
Description: Modern, minimalist, high-performance dark multi-page engineering theme for LH Electrical Power. Fully responsive & mobile optimized.
Version: 1.5.7
Text Domain: lhelectrical
*/

:root {
  --bg-dark: #070B13;
  --bg-darker: #04070D;
  --bg-card: #0D1322;
  --bg-card-hover: #121A2D;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 229, 255, 0.35);
  --accent-cyan: #00E5FF;
  --accent-cyan-glow: rgba(0, 229, 255, 0.25);
  --accent-green: #25D366;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --font-mono: "Space Mono", "JetBrains Mono", monospace;
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-locked {
  overflow: hidden;
  height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

.tech-mono {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-cyan {
  color: var(--accent-cyan);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-cyan);
  color: #070B13;
  font-weight: 700;
  padding: 12px 24px;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-main);
  min-height: 44px;
}

.btn-primary:hover {
  background: #38EDFF;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.45);
  color: #070B13;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-weight: 600;
  padding: 12px 24px;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-main);
  min-height: 44px;
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.15);
}

/* ==========================================================================
   Site Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 11, 19, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  height: 74px;
  display: flex;
  align-items: center;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 2px 8px rgba(149, 172, 45, 0.25));
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06);
}

.brand-text {
  min-width: 0;
}

.brand-title {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
  display: block;
  white-space: nowrap;
}

.brand-subtitle {
  display: block;
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 30px;
  }
  .brand-title {
    font-size: 0.88rem;
  }
  .brand-subtitle {
    font-size: 0.58rem;
  }
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links li.current-menu-item > a {
  color: var(--accent-cyan);
}

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

.desktop-only {
  display: inline-flex;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  list-style: none !important;
}

.lang-switch-list,
.lang-switch ul,
.lang-switch ol {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.lang-switch li,
.lang-switch-list li {
  list-style: none !important;
  list-style-type: none !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.lang-switch li::marker,
.lang-switch li::before,
.lang-switch-list li::marker,
.lang-switch-list li::before {
  display: none !important;
  content: "" !important;
}

.lang-switch a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
}

.lang-switch a.active, 
.lang-switch a:hover, 
.lang-switch li.current-lang a {
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 10px;
  cursor: pointer;
  outline: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger-icon {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-toggle.is-active .bar-1 {
  transform: translateY(6px) rotate(45deg);
  background: var(--accent-cyan);
}

.mobile-menu-toggle.is-active .bar-2 {
  opacity: 0;
}

.mobile-menu-toggle.is-active .bar-3 {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--accent-cyan);
}

/* Mobile Drawer - strictly hidden on desktop */
.mobile-drawer,
#mobileDrawer {
  display: none !important;
  visibility: hidden;
}

@media (min-width: 901px) {
  .mobile-drawer,
  #mobileDrawer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .desktop-only {
    display: none !important;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-drawer,
  #mobileDrawer {
    display: block !important;
    visibility: visible;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 74px);
    background: #070B13;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--border-color);
  }

  .mobile-drawer.drawer-open,
  #mobileDrawer.drawer-open {
    transform: translateX(0);
  }

  .mobile-drawer-inner {
    padding: 24px 20px 48px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    justify-content: space-between;
  }

  .mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
  }

  .mobile-nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .mobile-nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    padding: 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .mobile-nav-links a:hover,
  .mobile-nav-links a.active,
  .mobile-nav-links li.current-menu-item > a {
    color: var(--accent-cyan);
  }

  .mobile-drawer-footer {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    margin-top: 32px;
  }
}

/* ==========================================================================
   Page Hero Banners
   ========================================================================== */
.page-hero {
  padding: 130px 0 50px;
  background: radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.09) 0%, rgba(7, 11, 19, 0) 70%);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

@media (max-width: 600px) {
  .page-hero {
    padding: 105px 0 36px;
  }
}

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 50px;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  font-size: 0.72rem;
  max-width: 100%;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #fff;
  word-break: break-word;
}

.page-hero p {
  font-size: clamp(0.95rem, 3.5vw, 1.1rem);
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.65;
}

/* ==========================================================================
   Statistics & Metrics Cards (Mobile Responsive)
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 36px 0;
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 24px 0;
  }
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s ease;
}

@media (max-width: 480px) {
  .stat-card {
    padding: 16px 10px;
  }
}

.stat-number {
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  line-height: 1.1;
  margin-bottom: 6px;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

/* ==========================================================================
   Projects & Horizontal Scroll Filter Bar
   ========================================================================== */
.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 4px;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}

.tech-tag:hover {
  background: rgba(0, 229, 255, 0.16);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.25);
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #070B13;
  font-weight: 700;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.project-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.project-header {
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--border-color);
}

.project-location {
  display: inline-block;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  padding: 3px 8px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 4px;
  margin-bottom: 8px;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.project-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

.project-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: #CBD5E1;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.project-specs li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.project-specs li::before {
  content: "✔";
  color: var(--accent-cyan);
  font-size: 0.72rem;
  margin-top: 2px;
}

/* ==========================================================================
   Contact Form & Layout (Mobile First)
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 36px 0;
}

@media (min-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    margin: 48px 0;
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 22px;
  transition: all 0.25s ease;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.info-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
}

.form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px 18px;
  position: relative;
}

@media (min-width: 768px) {
  .form-wrapper {
    padding: 36px;
  }
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #CBD5E1;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.form-control {
  width: 100%;
  background: rgba(7, 11, 19, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 12px 14px;
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: all 0.25s ease;
  outline: none;
  min-height: 46px;
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.25);
  background: rgba(7, 11, 19, 0.95);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

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

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.form-status {
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  display: none;
}

.status-loading {
  display: block;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--accent-cyan);
}

.status-success {
  display: block;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #4ADE80;
}

.status-error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #F87171;
}

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(7, 11, 19, 0.3);
  border-radius: 50%;
  border-top-color: #070B13;
  animation: spin 0.8s linear infinite;
}

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

/* Floating WhatsApp Button (Mobile Responsive & Collision Protected) */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 998;
  background: #25D366;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.5);
  transition: transform 0.25s ease;
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
  }
}

/* ==========================================================================
   Our Clients & Partners Section
   ========================================================================== */
.partners-section {
  padding: 80px 0;
  background: rgba(4, 7, 13, 0.7);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.partner-card {
  background: rgba(13, 19, 34, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.12);
  background: rgba(18, 26, 45, 0.85);
}

.partner-card:hover::before {
  opacity: 1;
}

.partner-logo-box {
  height: 54px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.partner-logo-box img {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0.95);
  transition: all 0.3s ease;
}

.partner-card:hover .partner-logo-box img {
  filter: brightness(1.15) drop-shadow(0 2px 8px rgba(0, 229, 255, 0.2));
  transform: scale(1.05);
}

.partner-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 3px;
}

.partner-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Engineering Standards Compliance Matrix Table
   ========================================================================== */
.standards-filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.std-filter-btn {
  padding: 9px 20px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(13, 19, 34, 0.7);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.std-filter-btn:hover {
  border-color: var(--accent-cyan);
  color: #fff;
  background: rgba(0, 229, 255, 0.08);
}

.std-filter-btn.active {
  border-color: var(--accent-cyan);
  color: #fff;
  background: rgba(0, 229, 255, 0.16);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.25);
  font-weight: 700;
}

.table-scroll-hint {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  text-align: center;
  margin-bottom: 12px;
  display: none;
}

@media (max-width: 900px) {
  .table-scroll-hint {
    display: block;
  }
}

.standards-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-card);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

.standards-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.standards-table thead tr {
  background: rgba(7, 11, 19, 0.95);
  border-bottom: 1px solid rgba(0, 229, 255, 0.25);
}

.standards-table th {
  padding: 16px 20px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.standards-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  color: #CBD5E1;
  font-size: 0.86rem;
}

.standards-table tr.std-row {
  transition: background-color 0.2s ease;
}

.standards-table tr.std-row:hover {
  background-color: rgba(0, 229, 255, 0.04);
}

.standards-table tr.std-row:last-child td {
  border-bottom: none;
}

.std-area {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.std-code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.code-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}

.iec-pill {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: #67E8F9;
}

.din-pill {
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.25);
  color: #FDE047;
}

.csa-pill {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #FCA5A5;
}

.usa-pill {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #93C5FD;
}
