/**
 * Technogen Enterprise — Algeria Brand Theme
 * Master Specification Section 1:
 * Primary: #087B48 | Secondary: #065F3B | Text: #303942 | Light BG: #F5F7F6 | Border: #DCE5E0 | White: #FFFFFF
 */
:root {
  --accent: #087B48;
  --navy: #065F3B;
  --blue: #087B48;
  --ink: #303942;
  --pale: #F5F7F6;
  --line: #DCE5E0;
  --white: #FFFFFF;
  --muted: #596570;
  --shadow: 0 14px 38px rgba(6, 95, 59, 0.12);
}

body {
  color: var(--ink);
  background: var(--white);
}

/* Primary Button & Elements */
.button {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.button:hover,
.button:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.button.outline.dark {
  border-color: var(--ink);
  color: var(--ink);
}
.button.outline.dark:hover {
  background: var(--ink);
  color: #fff;
}
.button.light {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}
.button.light:hover {
  background: var(--pale);
  border-color: var(--pale);
}

/* Header & Utility Bar */
.utility {
  background: var(--navy);
  color: #e2ede8;
}
.utility-cta {
  background: var(--accent);
  color: #fff;
}
.utility-cta:hover {
  background: #055031;
}

.brand-mark {
  background: var(--accent);
}

/* Mega Menu */
.mega {
  border-top: 4px solid var(--accent);
}
.nav-products:hover .mega {
  display: grid;
}

/* Hero Section */
.hero {
  background: linear-gradient(125deg, #054e30 0%, #087b48 100%);
}
.plate {
  border-left: 5px solid var(--accent);
}
.hero-facts span:before {
  background: var(--accent);
}

/* Cards & Grid Overrides */
.eyebrow {
  color: var(--accent);
}
.category-card:hover {
  background: var(--navy);
}
.category-card .number {
  color: var(--accent);
}
.product-body > span {
  color: var(--accent);
}
.product-body > div a:last-child {
  color: var(--accent);
}
.industries span {
  border-left: 4px solid var(--accent);
}
.inquiry-band {
  background: linear-gradient(135deg, #087B48 0%, #065F3B 100%);
}
footer {
  background: #042e1d;
  color: #b9cfc5;
}
.legal {
  border-top-color: #0b4930;
}
.feature-list li:before {
  color: var(--accent);
}
.check-list li:before {
  color: var(--accent);
}
.contact-card {
  background: var(--navy);
}
.sticky-quote {
  background: var(--navy);
}

/* Language Switcher UI */
.lang-selector-shell {
  position: relative;
  display: inline-block;
  margin-right: 12px;
}
.lang-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}
.lang-pill:hover,
.lang-pill[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  color: var(--ink);
  min-width: 150px;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  border: 1px solid var(--line);
  z-index: 1000;
  display: none !important;
  flex-direction: column;
  overflow: hidden;
}
.lang-dropdown.is-open {
  display: flex !important;
}
.lang-dropdown[hidden] {
  display: none !important;
}
.lang-opt {
  padding: 8px 14px;
  font-size: 0.82rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
  display: block;
}
.lang-opt:hover {
  background: var(--pale);
  color: var(--accent);
}
.lang-opt.is-active {
  background: #e6f4ea;
  color: var(--accent);
  font-weight: 700;
}

/* Mobile Language Selector - hidden on desktop, visible only inside mobile nav drawer */
.mobile-lang {
  display: none !important;
}

@media (max-width: 980px) {
  .mobile-lang {
    display: flex !important;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 10px;
    align-items: center;
    justify-content: space-between;
  }
}
.mobile-lang-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}
.mobile-lang-buttons {
  display: flex;
  gap: 6px;
}
.m-lang-btn {
  background: var(--pale);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}
.m-lang-btn.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
