/* ==========================================================================
   MELOBA POWER SOLUTIONS FZE — MASTER STYLESHEET
   Includes: #fffbdf Light Yellow Badges, Black & Logo Yellow Theme, Dynamic Dark/Light Mode,
   18px Technical Applications Text, 16px General Descriptions, Clear Readable Button Text,
   24px Section Headings, Vertical Column Borders in Hero Strip, 3-Line Hero Formatting.
   ========================================================================== */

/* ---------- DARK THEME (DEFAULT / DATA-THEME="DARK") ---------- */
:root,
[data-theme="dark"] {
  --bg: #070B12;
  --bg-subtle: #0F1624;
  --bg-panel: rgba(15, 22, 34, 0.85);
  --bg-panel-2: rgba(22, 32, 50, 0.9);
  --line: rgba(240, 169, 59, 0.22);
  --line-soft: rgba(234, 240, 247, 0.08);
  --line-glow: rgba(240, 169, 59, 0.35);
  --text: #F8FAFC;
  --text-dim: #CBD5E1;
  --text-dimmer: #94A3B8;
  --amber: #F0A93B;
  --amber-dark: #EAB308;
  --amber-light: rgba(240, 169, 59, 0.15);
  --amber-glow: rgba(240, 169, 59, 0.25);
  --ok: #10B981;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-btn: 50px;
  --maxw: 1280px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 18px 40px rgba(240, 169, 59, 0.15);
  --heading-color: #FFFFFF;
}

/* ---------- LIGHT THEME (DATA-THEME="LIGHT") ---------- */
[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-panel: #FFFFFF;
  --bg-panel-2: #F1F5F9;
  --line: #E2E8F0;
  --line-soft: #F1F5F9;
  --line-glow: rgba(240, 169, 59, 0.3);
  --text: #0F172A;
  --text-dim: #334155;
  --text-dimmer: #64748B;
  --amber: #D97706;
  --amber-dark: #B45309;
  --amber-light: #FEF3C7;
  --amber-glow: rgba(217, 119, 6, 0.18);
  --ok: #059669;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 18px 40px rgba(15, 23, 42, 0.12);
  --heading-color: #0F172A;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}

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

/* All General Descriptions Explicitly 16px */
p,
.desc,
.hero-subtitle,
p.lede,
.product-body p,
.about-card-featured p,
.contact-info-card p,
.lf-item p {
  font-size: 16px;
  line-height: 1.7;
}

/* Technical Applications Section Descriptions Explicitly 16px */
.sector-card p,
.app-card-light p,
#applications p,
#services p {
  font-size: 16px !important;
  line-height: 1.7;
}

/* Reduced Heading Font Weight (600) & Section Headings 24px */
h1,
h2,
h3,
h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.08;
  color: var(--heading-color);
}

h2,
.section-head h2,
section h2,
h2.heading-gradient,
body h2 {
  font-size: 32px !important;
  line-height: 1.15 !important;
}

h3,
.sector-card h4,
.app-card-light h4 {
  font-size: 20px !important;
}

.heading-gradient,
h1.heading-gradient,
h2.heading-gradient,
h1,
.page-hero h1 {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 40%, #F0A93B 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block;
}

[data-theme="light"] .heading-gradient,
[data-theme="light"] h1.heading-gradient,
[data-theme="light"] h2.heading-gradient,
[data-theme="light"] h1,
[data-theme="light"] .page-hero h1 {
  background: linear-gradient(135deg, #0F172A 0%, #B45309 50%, #D97706 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--amber);
  color: #070B12;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ================= NAV & THEME TOGGLE ================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, border-color .3s ease;
}

.navbar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  padding: 3px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.brand-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.02;
  color: var(--heading-color);
  white-space: nowrap;
}

.brand-text small {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--amber);
  text-transform: uppercase;
  margin-top: 2px;
}

nav.links {
  display: flex;
  gap: clamp(12px, 1.5vw, 24px);
  align-items: center;
  flex-wrap: nowrap;
}

nav.links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  transition: color .2s ease;
  white-space: nowrap;
}

nav.links a:hover,
nav.links a.active {
  color: var(--amber);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--amber);
  color: #FFFFFF !important;
  background: var(--amber-dark);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  transition: all .25s ease;
}

.nav-cta:hover {
  background: #FACC15 !important;
  color: #070B12 !important;
  box-shadow: 0 4px 16px var(--amber-glow);
}

/* Theme Switcher Button */
.theme-toggle-btn {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  color: var(--amber);
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .2s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--amber);
  box-shadow: 0 0 12px var(--amber-glow);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--heading-color);
}

@media (max-width: 900px) {

  nav.links,
  .nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 290px;
  height: 100vh;
  background: var(--bg-panel-2);
  border-left: 1px solid var(--line);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  z-index: 200;
  padding: 80px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  transition: right .35s cubic-bezier(0.16, 1, 0.3, 1), visibility .35s ease;
}

.mobile-nav.open {
  right: 0;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav a {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
}

.close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--heading-color);
  cursor: pointer;
}

/* ================= ALL BUTTONS: HIGH CONTRAST CLEAR READABLE TEXT ================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all .25s ease;
}

/* Primary Yellow Button - White Text */
.btn-primary {
  background: linear-gradient(135deg, #F0A93B 0%, #D97706 100%);
  color: #FFFFFF !important;
  border: none;
  box-shadow: 0 6px 18px rgba(240, 169, 59, 0.3);
}

.btn-primary:hover {
  background: #FACC15 !important;
  color: #070B12 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(250, 204, 21, 0.45);
}

/* Ghost / White Button - High Contrast Dark Black/Slate Text for Clear Readability */
.btn-ghost {
  background: #FFFFFF !important;
  border: 1px solid var(--line);
  color: #070B12 !important;
  box-shadow: var(--shadow);
}

.btn-ghost:hover {
  border-color: #FACC15;
  color: #070B12 !important;
  background: #FEF08A !important;
  transform: translateY(-2px);
}

/* ================= #fffbdf LIGHT YELLOW BADGE FOR ENTIRE SITE ================= */
.hero-badge,
.footer-badge,
.badge-light-yellow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fffbdf !important;
  border: 1px solid #fde047 !important;
  color: #854d0e !important;
  padding: 6px 7px;
  border-radius: var(--radius-btn);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
}

.hero-badge .dot,
.badge-light-yellow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ca8a04 !important;
}

/* ================= HERO SECTION WITH CLEAR VISIBLE BACKGROUND IMAGE & HIGH FONT VISIBILITY ================= */
.hero,
.page-hero {
  position: relative;
  padding: 140px 0 90px;
  background: #070B12;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-bg,
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: brightness(0.85) contrast(1.1);
}

.hero-bg::after,
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 11, 18, 0.88) 0%, rgba(7, 11, 18, 0.65) 55%, rgba(7, 11, 18, 0.4) 100%);
}

.hero-content,
.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.hero h1.heading-gradient,
.page-hero h1.heading-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 40%, #F0A93B 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: block !important;
  width: 100%;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.95));
}

.hero h1 span,
.page-hero h1 span,
.accent-gold {
  color: #F0A93B !important;
  -webkit-text-fill-color: #F0A93B !important;
  font-weight: 600;
  display: inline !important;
}

[data-theme="light"] .hero h1 span,
[data-theme="light"] .page-hero h1 span,
[data-theme="light"] .accent-gold {
  color: #D97706 !important;
  -webkit-text-fill-color: #D97706 !important;
  font-weight: 600;
  display: inline !important;
}

.hero p.lede,
.page-hero p.lede {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.95);
  margin-top: 18px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero h1,
.page-hero h1 {
  line-height: 1.15;
}

/* Product Page Category Cards & Hover Effects */
.product-category-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 36px;
  box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), border-color .35s ease, box-shadow .35s ease;
}

.product-category-card:hover {
  transform: translateY(-6px);
  border-color: var(--amber);
  box-shadow: 0 20px 48px rgba(240, 169, 59, 0.22);
}

.product-category-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: center;
}

.product-category-img {
  height: 100%;
  min-height: 260px;
  border-radius: 8px;
  overflow: hidden;
}

.product-category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .product-category-card {
    padding: 24px;
    margin-bottom: 24px;
  }

  .product-category-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-category-img {
    min-height: 220px;
    max-height: 340px;
  }
}

@media (max-width: 600px) {
  .product-category-card {
    padding: 20px;
  }

  .product-category-img {
    min-height: 180px;
  }
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px !important;
}

/* Hero Strip with Vertical Borders */
.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 0;
  box-shadow: var(--shadow);
}

.hero-strip>div {
  padding: 0 28px;
}

.hero-strip>div+div {
  border-left: 1px solid var(--line);
}

@media (max-width: 768px) {
  .hero-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
  }

  .hero-strip>div+div {
    border-left: none;
  }
}

.hero-strip div span.num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 22px;
  font-weight: 600;
  color: var(--amber);
  display: block;
}

.hero-strip div span.lbl {
  font-size: 12px;
  color: var(--text-dimmer);
  text-transform: uppercase;
  font-weight: 500;
}

/* ================= SECTION STYLES ================= */
section {
  padding: 90px 0;
  background: var(--bg);
}

/* 2-3 Line Spacing after Section Headings */
.section-head {
  margin-bottom: 36px !important;
}

/* ================= ABOUT US SECTION ================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.stat {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 8px;
}

.stat .v {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  font-weight: 600;
  color: var(--amber);
  display: block;
}

.stat .k {
  font-size: 12px;
  color: var(--text-dimmer);
}

/* ================= PRODUCTS SHOWCASE & HOVER EFFECTS ================= */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.product-row,
.product-card-rich {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 50px 160px 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), border-color .3s ease, box-shadow .3s ease;
}

.product-row:hover,
.product-card-rich:hover {
  transform: translateY(-6px) scale(1.005);
  border-color: var(--amber);
  box-shadow: 0 16px 40px rgba(240, 169, 59, 0.22);
}

@media (max-width: 768px) {

  .product-row,
  .product-card-rich {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 16px;
  }

  .prod-thumb {
    width: 100%;
    height: 180px;
  }

  .product-row h3 span,
  .product-card-rich h3 span {
    display: block !important;
    margin-left: 0 !important;
    margin-top: 4px;
  }

  p.lede br,
  .section-head br {
    display: none;
  }
}

.prod-thumb {
  width: 160px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
}

.prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= OUR PRINCIPAL SECTION ================= */
.principal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: stretch;
}

.principal-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (max-width: 900px) {
  .principal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

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

/* ================= SMART POWER MANAGEMENT SECTION ================= */
.smart-power-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.smart-power-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.loadez-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .smart-power-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 500px) {
  .loadez-capabilities-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= SECTORS & TECHNICAL APPLICATIONS GRID ================= */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.sector-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), border-color .3s ease, box-shadow .3s ease;
}

.sector-card:hover {
  transform: translateY(-6px);
  border-color: var(--amber);
  box-shadow: 0 16px 40px rgba(240, 169, 59, 0.2);
}

.sector-card .card-content {
  flex-grow: 1;
}

.sector-card .card-action {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.sector-card .card-action .btn {
  width: 100%;
  justify-content: center;
  white-space: nowrap;
}

/* ================= CONTACT PAGE ICON BOXES ================= */
.contact-icon-box {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s ease, border-color .25s ease;
}

.contact-icon-box:hover {
  transform: translateY(-4px);
  border-color: var(--amber);
}

.contact-icon-box .box-icon {
  font-size: 32px;
  line-height: 1;
  color: var(--amber);
  margin-bottom: 4px;
}

.contact-icon-box h4 {
  font-size: 20px !important;
  color: var(--heading-color);
}

/* ================= FULL-WIDTH CONTACT FORM ================= */
.contact-form-fullwidth {
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}

@media (max-width: 600px) {
  .contact-form-fullwidth {
    padding: 28px 20px;
  }
}

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

@media (max-width: 900px) {
  .form-grid-3col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .form-grid-3col {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 13px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  color: var(--heading-color);
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-glow);
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

/* ================= CONTACT MAP ================= */
.contact-map-wrapper {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-map-header {
  padding: 24px 32px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-map-iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* ================= CTA SECTION WITH BACKGROUND IMAGE & OVERLAY ================= */
.b2b-cta-section {
  position: relative;
  background-image: linear-gradient(rgba(7, 11, 18, 0.88), rgba(7, 11, 18, 0.92)), url('../images/hero-loadbank.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #FFFFFF;
  padding: 100px 0;
  text-align: center;
  border-top: 2px solid var(--amber);
}

.b2b-cta-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.b2b-cta-content h2 {
  font-size: clamp(32px, 4.5vw, 52px) !important;
  color: #FFFFFF !important;
  margin-bottom: 16px;
}

.b2b-cta-content p {
  font-size: 16px !important;
  color: #E2E8F0;
  margin-bottom: 36px;
  line-height: 1.7;
}

.b2b-btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================= RICH MULTI-COLUMN SITE FOOTER ================= */
.site-footer {
  background: #04070D;
  color: #F8FAFC;
  border-top: 1px solid rgba(234, 240, 247, 0.1);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
  gap: 48px;
  margin-bottom: 60px;
}

@media (max-width: 990px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.footer-col-brand .brand-text {
  color: #FFFFFF;
}

.footer-col-brand p {
  font-size: 16px !important;
  color: #94A3B8;
  line-height: 1.7;
  margin-top: 14px;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 16px !important;
  color: #FFFFFF !important;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: #94A3B8;
  transition: color .2s ease, transform .2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--amber);
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  color: #94A3B8;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-list span.ico {
  color: var(--amber);
  font-size: 16px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(234, 240, 247, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #64748B;
}

.footer-bottom a {
  color: #94A3B8;
}

.footer-bottom a:hover {
  color: var(--amber);
}

.back-to-top {
  background: rgba(240, 169, 59, 0.1);
  border: 1px solid var(--amber);
  color: var(--amber);
  padding: 6px 16px;
  border-radius: var(--radius-btn);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s ease;
}

.back-to-top:hover {
  color: #070B12;
  background: var(--amber);
}

/* ================= REDESIGNED WHAT WE DELIVER SECTION ================= */
.deliver-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.deliver-card {
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.85), rgba(9, 14, 26, 0.95));
  border: 1px solid rgba(240, 169, 59, 0.18);
  border-top: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.deliver-card:hover {
  transform: translateY(-6px);
  border-color: var(--amber);
  box-shadow: 0 20px 48px rgba(240, 169, 59, 0.22);
}

.deliver-card .deliver-icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  background: rgba(240, 169, 59, 0.12);
  border: 1px solid rgba(240, 169, 59, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* ================= REDESIGNED SECTORS SECTION ================= */
.sectors-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.sector-showcase-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(7, 11, 18, 0.95));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px 28px;
  position: relative;
  box-shadow: var(--shadow);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sector-showcase-card:hover {
  transform: translateY(-6px);
  border-color: var(--amber) !important;
  box-shadow: 0 18px 44px rgba(240, 169, 59, 0.35) !important;
  background: #fffbdf !important;
}

.sector-showcase-card:hover h3 {
  color: #0F172A !important;
}

.sector-showcase-card:hover p {
  color: #334155 !important;
}

.sector-showcase-card:hover .sector-badge {
  background: #F0A93B !important;
  color: #0F172A !important;
  border-color: #D97706 !important;
}

.sector-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber);
  box-shadow: var(--shadow-hover);
}

.sector-showcase-card .sector-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--amber);
  background: rgba(240, 169, 59, 0.1);
  border: 1px solid rgba(240, 169, 59, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
  width: fit-content;
  transition: all 0.3s ease;
}

/* ================= REDESIGNED OUR EDGE SECTION ================= */
.edge-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.edge-pillar-card {
  background: linear-gradient(165deg, rgba(13, 22, 38, 0.95), rgba(7, 11, 18, 0.95));
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-left: 4px solid #60A5FA;
  border-radius: 12px;
  padding: 36px 26px;
  position: relative;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.edge-pillar-card:hover {
  transform: translateY(-6px);
  border-color: #60A5FA;
  box-shadow: 0 20px 48px rgba(96, 165, 250, 0.25);
}

.edge-pillar-card .pillar-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 26px;
  font-weight: 700;
  color: #60A5FA;
  margin-bottom: 16px;
  display: block;
}

/* ================= LIGHT MODE OVERRIDES FOR CARDS & GRIDS ================= */
[data-theme="light"] .deliver-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-top: 3px solid #D97706 !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .deliver-card:hover {
  border-color: #D97706 !important;
  box-shadow: 0 18px 36px rgba(217, 119, 6, 0.16) !important;
}

[data-theme="light"] .deliver-card .deliver-icon {
  background: #FEF3C7 !important;
  border-color: #FDE68A !important;
}

[data-theme="light"] .sector-showcase-card,
[data-theme="light"] .sector-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .sector-showcase-card:hover {
  background: #fffbdf !important;
  border-color: #D97706 !important;
  box-shadow: 0 18px 36px rgba(217, 119, 6, 0.22) !important;
}

[data-theme="light"] .sector-card:hover {
  background: #FFFFFF !important;
  border-color: #D97706 !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .sector-showcase-card:hover h3 {
  color: #0F172A !important;
}

[data-theme="light"] .sector-showcase-card:hover p {
  color: #334155 !important;
}

[data-theme="light"] .sector-showcase-card .sector-badge {
  background: #FEF3C7 !important;
  border-color: #FDE68A !important;
  color: #D97706 !important;
}

[data-theme="light"] .sector-showcase-card:hover .sector-badge {
  background: #F0A93B !important;
  color: #0F172A !important;
  border-color: #D97706 !important;
}

[data-theme="light"] .edge-pillar-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-left: 4px solid #2563EB !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .edge-pillar-card:hover {
  border-color: #2563EB !important;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.16) !important;
}

[data-theme="light"] .edge-pillar-card .pillar-num {
  color: #2563EB !important;
}

[data-theme="light"] .sector-card,
[data-theme="light"] .product-row,
[data-theme="light"] .product-card-rich,
[data-theme="light"] .product-category-card,
[data-theme="light"] .contact-icon-box {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), border-color .3s ease, box-shadow .3s ease !important;
}

[data-theme="light"] .product-row:hover,
[data-theme="light"] .product-card-rich:hover,
[data-theme="light"] .product-category-card:hover {
  transform: translateY(-6px) scale(1.005) !important;
  border-color: #D97706 !important;
  box-shadow: 0 16px 40px rgba(217, 119, 6, 0.28) !important;
  background: #FFFFFF !important;
}