﻿/* ==========================================================================
   VoltGrid Engineering — Corporate Solar, BESS, Electrical & Security Theme
   Design System inspired by high-contrast architectural dark-navy + lime
   energy accents + cobalt-blue security icons.
   ========================================================================== */

:root {
  /* Core Palette */
  --navy-950: #0e141f;
  --navy-900: #141c2b;
  --navy-850: #1b2436;
  --navy-800: #222e44;
  --navy-700: #2f3f5c;
  --navy-600: #465878;

  /* En Trade Brand Blue Accent (matches En Trade logo) */
  --lime-500: #1d78d8;
  --lime-400: #3898ff;
  --lime-600: #105ea6;
  --lime-soft: rgba(29, 120, 216, 0.16);

  /* Deep Logo Cobalt Blue Accent */
  --cobalt-600: #105ea6;
  --cobalt-500: #1d78d8;
  --cobalt-400: #3898ff;
  --cobalt-soft: rgba(16, 94, 166, 0.11);

  /* Neutrals */
  --white: #ffffff;
  --surface: #f4f6fa;
  --surface-alt: #ebf0f6;
  --border: #dde3ee;
  --border-dark: rgba(255, 255, 255, 0.11);
  --text-main: #131b29;
  --text-muted: #526077;
  --text-light: #e7edf6;
  --text-light-muted: #9aa8bf;

  /* Alerts & Status */
  --danger: #dc3545;
  --warning: #f59e0b;
  --success: #10b981;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Spacing & Radius */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 10px rgba(14, 20, 31, 0.06);
  --shadow-md: 0 10px 30px rgba(14, 20, 31, 0.1);
  --shadow-lg: 0 20px 50px rgba(14, 20, 31, 0.18);
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--surface);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
}

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

/* Typography Helpers */
.display-title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cobalt-600);
  margin-bottom: 12px;
}

.section-dark .section-eyebrow,
.hero .section-eyebrow,
.page-hero .section-eyebrow {
  color: #5cb0ff;
}

.section-eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-header {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header.centered .section-eyebrow::before {
  display: none;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.16;
  margin: 0 0 14px;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.03rem;
}

.section-dark .section-header p {
  color: var(--text-light-muted);
}

.mono {
  font-family: var(--font-mono);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-lime {
  background: linear-gradient(135deg, #1d78d8, #105ea6);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(16, 94, 166, 0.32);
}

.btn-lime:hover {
  background: linear-gradient(135deg, #3898ff, #1d78d8);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(56, 152, 255, 0.42);
}

.btn-cobalt {
  background: var(--cobalt-600);
  color: var(--white);
}

.btn-cobalt:hover {
  background: var(--cobalt-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(13, 86, 166, 0.28);
}

.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline-light:hover {
  border-color: var(--cobalt-400);
  color: #7cc0ff;
  background: rgba(56, 152, 255, 0.12);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--border);
}

.btn-outline-dark:hover {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
}

.btn-sm {
  padding: 9px 15px;
  font-size: 0.84rem;
}

.btn .arrow-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(14, 20, 31, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
}

.top-utility-bar {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

.top-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.utility-item:hover {
  color: var(--lime-500);
}

.utility-monitoring-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 99px;
  background: rgba(29, 120, 216, 0.22);
  border: 1px solid rgba(96, 181, 255, 0.45);
  color: #7cc4ff;
  font-weight: 700;
  font-size: 0.77rem;
  letter-spacing: 0.02em;
}

.utility-monitoring-btn:hover,
.utility-monitoring-btn.active {
  background: var(--cobalt-500);
  border-color: var(--cobalt-400);
  color: #ffffff;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 18px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform var(--transition), filter var(--transition);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 12px rgba(56, 152, 255, 0.28));
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--lime-500), #105ea6);
  color: var(--navy-950);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(56, 152, 255, 0.32);
}

.brand-sub {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light-muted);
  margin-top: -2px;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  color: var(--text-light);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 7px;
}

.nav-link:hover, .nav-link.active {
  color: var(--lime-500);
  background: rgba(255, 255, 255, 0.05);
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 950;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--text-light);
}

.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--lime-500);
}

.dropdown-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(56, 152, 255, 0.12);
  color: var(--lime-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-icon.blue {
  background: rgba(59, 130, 246, 0.16);
  color: #60a5fa;
}

.dropdown-title {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.25;
}

.dropdown-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light-muted);
  margin-top: 2px;
}

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

.lang-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-light-muted);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 5px 9px;
  border-radius: 5px;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--cobalt-500);
  color: var(--white);
}

.cart-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: all 0.2s;
}

.cart-trigger:hover {
  border-color: var(--lime-500);
  color: var(--lime-500);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--cobalt-400);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 12, 20, 0.72);
  backdrop-filter: blur(4px);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100%;
  background: var(--navy-900);
  padding: 22px;
  overflow-y: auto;
  border-left: 1px solid var(--border-dark);
  color: var(--white);
}

.mobile-nav-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-list a {
  display: block;
  padding: 11px 14px;
  border-radius: 9px;
  font-weight: 600;
  color: var(--text-light);
}

.mobile-nav-list a:hover, .mobile-nav-list a.active {
  background: rgba(56, 152, 255, 0.12);
  color: var(--lime-500);
}

.mobile-nav-group {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light-muted);
  padding: 12px 14px 4px;
  font-weight: 700;
}

/* ==========================================================================
   HERO SECTION (Inspired by Knext Power Dark Architectural Layout)
   ========================================================================== */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  padding: 64px 0 78px;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(56, 152, 255, 0.12), transparent 36%),
    radial-gradient(circle at 86% 80%, rgba(13, 86, 166, 0.22), transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.5vw, 3.7rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}

.hero h1 .lime-accent {
  color: var(--lime-500);
}

.hero-lead {
  color: var(--text-light-muted);
  font-size: 1.06rem;
  max-width: 540px;
  margin: 0 0 30px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--border-dark);
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.hero-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime-500);
  box-shadow: 0 0 10px var(--lime-500);
}

.hero-visual {
  position: relative;
}

.chamfer-frame {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), calc(100% - 36px) 100%, 0 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.chamfer-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.hero-floating-stat {
  position: absolute;
  bottom: 20px;
  left: -18px;
  background: rgba(20, 28, 43, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 152, 255, 0.35);
  border-radius: 14px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
}

.hero-floating-stat .stat-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lime-500);
  line-height: 1;
}

.hero-floating-stat .stat-label {
  font-size: 0.78rem;
  color: var(--text-light-muted);
  margin-top: 3px;
}

/* Subpage Hero */
.page-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 58px 0 54px;
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(56, 152, 255, 0.11), transparent 36%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  margin: 0 0 14px;
  line-height: 1.12;
}

.page-hero p {
  color: var(--text-light-muted);
  font-size: 1.04rem;
  margin: 0 0 24px;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-light-muted);
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: var(--lime-500);
}

/* ==========================================================================
   SECTIONS & BENTO VISION BLOCK
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-white {
  background: var(--white);
}

.section-dark {
  background: var(--navy-900);
  color: var(--white);
}

.section-navy-mid {
  background: var(--navy-850);
  color: var(--white);
}

/* Bento Stats Block (inspired by Knext Power 2nd section) */
.vision-bento {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: stretch;
}

.bento-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bento-card {
  background: var(--navy-800);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card.highlight {
  background: linear-gradient(145deg, #25344f, #1d283d);
  border-color: rgba(56, 152, 255, 0.25);
}

.bento-card.image-card {
  padding: 0;
  overflow: hidden;
  min-height: 180px;
}

.bento-card.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-kpi {
  font-family: var(--font-mono);
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--lime-500);
  line-height: 1.1;
  margin-bottom: 6px;
}

.bento-title {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--white);
  margin-bottom: 6px;
}

.bento-desc {
  font-size: 0.84rem;
  color: var(--text-light-muted);
  margin: 0;
}

/* ==========================================================================
   SOLUTIONS PHOTO CARDS (Matching Uploaded Image 2: "Нашите решения")
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.solution-photo-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.solution-photo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--cobalt-500);
}

.solution-photo-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--navy-850);
}

.solution-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.solution-photo-card:hover .solution-photo-wrap img {
  transform: scale(1.05);
}

.solution-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(14, 20, 31, 0.84);
  backdrop-filter: blur(8px);
  color: var(--lime-500);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid rgba(56, 152, 255, 0.25);
}

.solution-photo-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.solution-photo-body h3 {
  margin: 0 0 6px;
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--navy-950);
}

.solution-photo-body p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
}

.card-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--cobalt-600);
}

.card-link-arrow:hover {
  color: var(--navy-950);
  gap: 12px;
}

/* ==========================================================================
   SECURITY & WEAK-CURRENT ICON GRID (Matching Uploaded Image 0 Blue Circles)
   ========================================================================== */
.security-icons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.sec-icon-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 18px 22px;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sec-icon-card:hover {
  transform: translateY(-4px);
  border-color: var(--cobalt-500);
  box-shadow: var(--shadow-md);
}

.sec-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--cobalt-500), var(--cobalt-600));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(13, 86, 166, 0.24);
  transition: transform var(--transition);
}

.sec-icon-card:hover .sec-circle {
  transform: scale(1.07);
}

.sec-circle svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.75;
}

.sec-icon-card h4 {
  margin: 0 0 6px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy-950);
}

.sec-icon-card p {
  margin: 0;
  font-size: 0.81rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   TECHNOLOGIES / PARTNERS BAND (Matching Uploaded Image 2)
   ========================================================================== */
.tech-band {
  background: var(--navy-950);
  color: var(--white);
  padding: 36px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.tech-band-title {
  text-align: center;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-light-muted);
  margin: 0 0 22px;
  font-weight: 700;
}

.tech-logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px 36px;
}

.tech-logo-item {
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.tech-logo-item:hover {
  color: var(--lime-500);
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   INTERACTIVE CALCULATORS (PV ROI + BATTERY BESS)
   ========================================================================== */
.calc-tabs {
  display: inline-flex;
  background: var(--surface-alt);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 4px;
}

.calc-tab-btn {
  border: none;
  background: transparent;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.calc-tab-btn.active {
  background: var(--navy-900);
  color: var(--lime-500);
  box-shadow: var(--shadow-sm);
}

.calc-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.calc-panel {
  display: none;
}

.calc-panel.active {
  display: grid;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.field-val {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--cobalt-600);
  background: var(--cobalt-soft);
  padding: 2px 9px;
  border-radius: 6px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--cobalt-600);
  cursor: pointer;
  height: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  background: var(--white);
  color: var(--text-main);
  font-size: 0.93rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--cobalt-500);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.14);
}

.calc-results {
  background: var(--navy-900);
  color: var(--white);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.calc-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.calc-kpi {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px;
}

.calc-kpi.primary {
  grid-column: 1 / -1;
  background: rgba(56, 152, 255, 0.1);
  border-color: rgba(56, 152, 255, 0.35);
}

.calc-kpi-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light-muted);
  margin-bottom: 4px;
}

.calc-kpi-value {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
}

.calc-kpi.primary .calc-kpi-value {
  color: var(--lime-500);
  font-size: 1.8rem;
}

.calc-kpi-sub {
  font-size: 0.78rem;
  color: var(--text-light-muted);
  margin-top: 2px;
}

/* Payback mini bar chart */
.roi-chart-wrap {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.roi-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 84px;
  margin-top: 10px;
}

.roi-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 5px;
}

.roi-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--lime-500), var(--cobalt-500));
  min-height: 6px;
  transition: height 0.35s ease;
}

.roi-bar-label {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   PROJECTS & INTERACTIVE BULGARIA MAP
   ========================================================================== */
.projects-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.project-img {
  position: relative;
  height: 215px;
  overflow: hidden;
  background: var(--navy-850);
}

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

.project-card:hover .project-img img {
  transform: scale(1.06);
}

.project-city-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(14, 20, 31, 0.86);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.project-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-cat {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cobalt-600);
  margin-bottom: 6px;
}

.project-body h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy-950);
}

.project-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 12px;
  margin-top: auto;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}

.project-spec-item span {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.project-spec-item strong {
  font-family: var(--font-mono);
  color: var(--navy-900);
}

/* Interactive Map Container */
.map-explorer {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
  background: var(--navy-900);
  border-radius: 20px;
  padding: 28px;
  color: var(--white);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
}

.bg-map-canvas {
  position: relative;
  background: radial-gradient(circle at 50% 50%, #1c2a42, #101826);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px;
  overflow: hidden;
}

.bg-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-pin {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.map-pin:hover .pin-core,
.map-pin.active .pin-core {
  r: 10;
  fill: var(--lime-500);
}

.pin-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: mapPulse 2.4s infinite ease-out;
}

@keyframes mapPulse {
  0% { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(2.6); opacity: 0; }
}

.map-detail-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.map-detail-img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  border-radius: 10px;
}

.map-detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.map-spec-box {
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 12px;
  border-radius: 8px;
}

.map-spec-box small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light-muted);
}

.map-spec-box strong {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--lime-500);
}

/* ==========================================================================
   PRODUCTS CATALOG & SHOP MODULE
   ========================================================================== */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  background: var(--white);
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 8px 15px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-main);
  font-size: 0.84rem;
  font-weight: 700;
  transition: all 0.2s;
}

.filter-pill:hover {
  border-color: var(--navy-900);
}

.filter-pill.active {
  background: var(--navy-900);
  color: var(--lime-500);
  border-color: var(--navy-900);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--cobalt-500);
}

.product-thumb {
  position: relative;
  height: 195px;
  background: linear-gradient(135deg, #162133, #233452);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.product-brand-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 20, 31, 0.88);
  color: var(--lime-500);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
}

.product-stock-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(16, 185, 129, 0.92);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-sku {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.product-body h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.3;
}

.product-spec-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-spec-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #e6ebf2;
  padding-bottom: 4px;
}

.product-spec-list strong {
  color: var(--navy-900);
  font-family: var(--font-mono);
  font-size: 0.79rem;
}

.product-price-row {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.price-main {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-950);
}

.price-alt {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 14px;
}

.pdf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 700;
}

.pdf-btn:hover {
  border-color: var(--cobalt-600);
  color: var(--cobalt-600);
  background: var(--white);
}

/* ==========================================================================
   TESTIMONIAL CHAMFERED BANNER (Inspired by Knext Power Image 1)
   ========================================================================== */
.chamfer-banner {
  background: var(--navy-900);
  color: var(--white);
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
  padding: 44px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.chamfer-banner img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 12px;
}

.stars {
  color: var(--lime-500);
  letter-spacing: 3px;
  font-size: 1rem;
  margin-bottom: 12px;
}

/* ==========================================================================
   FEATURE / INFO CARDS & PROCESS STEPS
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  transition: all var(--transition);
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--lime-500);
  box-shadow: var(--shadow-md);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--lime-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.info-icon.blue {
  background: var(--cobalt-600);
  color: var(--white);
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 800;
}

.info-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.spec-table th, .spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.spec-table th {
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   FORMS & OFFER REQUEST
   ========================================================================== */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px;
  box-shadow: var(--shadow-md);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 16px;
  display: none;
}

.form-alert.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #065f46;
}

.form-alert.error {
  display: block;
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #991b1b;
}

/* ==========================================================================
   CART DRAWER & PRODUCT SPEC MODAL
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(10, 15, 25, 0.68);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1110;
  width: min(440px, 95vw);
  height: 100%;
  background: var(--white);
  box-shadow: -14px 0 40px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 20px 24px;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-info {
  flex: 1;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cart-qty button {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 700;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.modal-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  z-index: 1120;
  width: min(680px, 94vw);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-box.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================================
   PIXEL DISSOLVE FOOTER DIVIDER & FOOTER (Inspired by Image 1)
   ========================================================================== */
.pixel-divider {
  height: 26px;
  background:
    repeating-linear-gradient(90deg, var(--navy-950) 0 12px, transparent 12px 24px),
    repeating-linear-gradient(90deg, transparent 0 6px, var(--navy-950) 6px 18px, transparent 18px 36px);
  background-size: 100% 13px, 100% 13px;
  background-position: 0 13px, 0 0;
  background-repeat: no-repeat;
  opacity: 0.92;
}

.site-footer {
  background: var(--navy-950);
  color: var(--text-light);
  padding: 64px 0 28px;
}

.footer-top-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 38px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--border-dark);
  flex-wrap: wrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: var(--text-light-muted);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--lime-500);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-light-muted);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1300;
  background: var(--navy-950);
  color: var(--white);
  border: 1px solid var(--lime-500);
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.28s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1120px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .security-icons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .products-grid, .projects-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .map-explorer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-grid, .page-hero-grid, .vision-bento, .calc-shell, .chamfer-banner, .solutions-grid, .grid-2, .grid-3, .grid-4, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-floating-stat {
    left: 14px;
    bottom: 14px;
  }
  .chamfer-frame img {
    height: 310px;
  }
  .security-icons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .products-grid, .projects-grid-3, .bento-cards, .calc-kpi-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 56px 0;
  }
  .calc-shell, .form-card, .chamfer-banner {
    padding: 22px;
  }
  .top-utility-bar {
    display: none;
  }
}

/* En Trade Logo Blue Refinements on Dark Surfaces */
.hero h1 .lime-accent,
.nav-link:hover, .nav-link.active,
.dropdown-link:hover,
.utility-item:hover,
.breadcrumb a:hover,
.footer-links a:hover,
.tech-logo-item:hover,
.bento-kpi,
.hero-floating-stat .stat-num,
.calc-kpi.primary .calc-kpi-value,
.calc-tab-btn.active,
.filter-pill.active,
.solution-tag,
.product-brand-pill,
.map-spec-box strong,
.stars {
  color: #5cb0ff;
}
.calc-tab-btn.active,
.filter-pill.active {
  background: var(--cobalt-600);
  color: #ffffff;
  border-color: var(--cobalt-600);
}
.hero-badge-dot {
  background: #3898ff;
  box-shadow: 0 0 10px rgba(56, 152, 255, 0.75);
}
.roi-bar {
  background: linear-gradient(180deg, #5cb0ff, #105ea6);
}
.info-icon {
  background: linear-gradient(135deg, #1d78d8, #105ea6);
  color: #ffffff;
}

/* ==========================================================================
   IBEX / БНЕБ LIVE POWER EXCHANGE WIDGET (HERO)
   ========================================================================== */
.ibex-widget {
  background: linear-gradient(155deg, #142036 0%, #0e1626 100%);
  border: 1px solid rgba(56, 152, 255, 0.34);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.ibex-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.ibex-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.ibex-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3898ff;
  box-shadow: 0 0 10px rgba(56, 152, 255, 0.9);
  display: inline-block;
  animation: ibexBlink 2s infinite ease-in-out;
}

.ibex-dot.offline {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.7);
  animation: none;
}

@keyframes ibexBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.ibex-sub {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-light-muted);
  margin-top: 3px;
}

.ibex-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ibex-pill-group {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 2px;
}

.ibex-pill {
  border: none;
  background: transparent;
  color: var(--text-light-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  transition: all 0.18s;
}

.ibex-pill:hover {
  color: #ffffff;
}

.ibex-pill.active {
  background: var(--cobalt-500);
  color: #ffffff;
}

.ibex-kpis {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.95fr;
  gap: 10px;
  margin-bottom: 14px;
}

.ibex-kpi {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 11px 13px;
}

.ibex-kpi.avg {
  background: linear-gradient(145deg, rgba(29, 120, 216, 0.24), rgba(16, 94, 166, 0.14));
  border-color: rgba(96, 181, 255, 0.42);
}

.ibex-kpi-lbl {
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light-muted);
  margin-bottom: 4px;
  font-weight: 700;
}

.ibex-kpi-val {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
}

.ibex-kpi.avg .ibex-kpi-val {
  color: #7cc4ff;
  font-size: 1.32rem;
}

.ibex-kpi-val small {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-light-muted);
}

.ibex-kpi-sub {
  font-size: 0.72rem;
  color: var(--text-light-muted);
  margin-top: 3px;
}

.ibex-chart-box {
  background: rgba(9, 14, 24, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 8px 6px;
}

.ibex-svg {
  width: 100%;
  height: auto;
  display: block;
}

.ibex-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  font-size: 0.74rem;
  color: var(--text-light-muted);
  flex-wrap: wrap;
}

.ibex-foot-link {
  color: #60b5ff;
  font-weight: 700;
}

.ibex-foot-link:hover {
  color: #ffffff;
}

@media (max-width: 600px) {
  .ibex-kpis {
    grid-template-columns: 1fr;
  }
}