/* Dar Alathar ADV - Brand Site + Wafi-like RTL Admin */
:root {
  --navy: #0E2747;
  --navy-2: #102F55;
  --gold: #C7993B;
  --gold-2: #D8AE55;
  --ivory: #F8F5EE;
  --gray: #8D9096;
  --ink: #1F242B;
  --white: #FFFFFF;
  --muted: #EEF1F5;
  --line: rgba(14, 39, 71, .1);
  --shadow-sm: 0 8px 24px rgba(31, 36, 43, .08);
  --shadow-md: 0 18px 44px rgba(14, 39, 71, .14);
  --shadow-lg: 0 30px 80px rgba(14, 39, 71, .22);
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; letter-spacing: 0; }
html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: clip;
}
main { width: 100%; overflow: clip; }
body.site-language-ltr :where(main, footer, .navbar-nav) :where(h1, h2, h3, h4, h5, h6, p, a, button, strong, small, label, span:not(.material-icons-round), .eyebrow) {
  direction: ltr;
  unicode-bidi: plaintext;
}
body.site-language-ltr :where(main, footer) :where(h1, h2, h3, p, .section-head, .impact-intro, .hero-copy, .error-panel) {
  text-align: left;
}
a { color: inherit; }
h1, h2, h3, h4, h5, h6, .btn, .nav-link, .eyebrow {
  font-family: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
}
::selection { color: var(--navy); background: rgba(216,174,85,.5); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
/* keep in-page anchors clear of the fixed navbar */
section[id], div[id] { scroll-margin-top: 96px; }
img { max-width: 100%; }

.glass-nav {
  background: rgba(7, 20, 36, .42);
  backdrop-filter: blur(20px) saturate(135%);
  border-bottom: 1px solid rgba(248, 245, 238, .12);
  padding: 10px 0;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.glass-nav.is-scrolled {
  background: rgba(248, 245, 238, .94);
  border-bottom-color: rgba(14, 39, 71, .1);
  box-shadow: 0 10px 35px rgba(14, 39, 71, .1);
}
.navbar-brand img { height: 48px; width: auto; }
.nav-link {
  color: rgba(248, 245, 238, .86) !important;
  font-weight: 700;
  margin: 0 3px;
  padding: 8px 12px !important;
  border-radius: var(--radius);
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-2) !important;
  background: rgba(199, 153, 59, .14);
}
.glass-nav.is-scrolled .nav-link { color: var(--navy) !important; }
.glass-nav.is-scrolled .nav-link:hover,
.glass-nav.is-scrolled .nav-link.active { color: #8b651d !important; }
.navbar-toggler { color: var(--white); border: 0; }
.glass-nav.is-scrolled .navbar-toggler { color: var(--navy); }
.language-control {
  position: relative;
  min-width: 142px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  color: var(--ivory);
  border: 1px solid rgba(199, 153, 59, .36);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(248,245,238,.1), rgba(199,153,59,.15));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 10px 24px rgba(0,0,0,.12);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.language-control:hover {
  transform: translateY(-1px);
  border-color: rgba(216, 174, 85, .72);
  background: linear-gradient(135deg, rgba(199,153,59,.22), rgba(248,245,238,.12));
}
.glass-nav.is-scrolled .language-control {
  color: var(--navy);
  border-color: rgba(14,39,71,.16);
  background: rgba(14,39,71,.05);
  box-shadow: none;
}
.glass-nav.is-scrolled .language-control strong { color: var(--navy); }
.language-control .material-icons-round {
  color: var(--gold-2);
  font-size: 20px;
}
.language-control strong {
  min-width: 62px;
  color: var(--ivory);
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
  line-height: 1;
}
.language-control .chevron {
  font-size: 19px;
  transition: transform .2s ease;
}
.language-control:focus-within {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 4px rgba(199,153,59,.18);
}
.language-control:focus-within .chevron { transform: rotate(180deg); }
.language-control.is-translating::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(216,174,85,.28), transparent);
  animation: shimmer 1s linear infinite;
}
.lang-switch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.client-portal-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(216,174,85,.4);
  border-radius: 999px;
  color: var(--ivory);
  background: rgba(216,174,85,.14);
  font-size: .88rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.client-portal-link .material-icons-round { font-size: 20px; }
.client-portal-link:hover {
  color: var(--navy);
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  transform: translateY(-1px);
}
.glass-nav.is-scrolled .client-portal-link {
  color: var(--navy);
  border-color: rgba(14,39,71,.12);
  background: rgba(14,39,71,.05);
}
.glass-nav.is-scrolled .client-portal-link:hover {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}
.glass-nav .dropdown-menu {
  border: 1px solid rgba(14,39,71,.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.glass-nav .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  color: var(--navy);
  font-weight: 800;
}
.glass-nav .dropdown-item .material-icons-round {
  color: var(--gold);
  font-size: 20px;
}
.is-hidden {
  display: none !important;
}

.btn {
  border-radius: var(--radius);
  font-weight: 700;
  padding: 11px 22px;
  border: 0;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 14px 30px rgba(199, 153, 59, .28);
}
.btn-gold:hover { color: var(--navy); box-shadow: 0 18px 40px rgba(199, 153, 59, .38); }
.btn-outline-navy {
  color: var(--navy);
  border: 1px solid rgba(14,39,71,.24);
  background: transparent;
}
.btn-outline-navy:hover { color: var(--ivory); background: var(--navy); }
.btn-sms-test {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 14px 30px rgba(199, 153, 59, .28);
}
.btn-sms-test:hover {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #b9892e);
  box-shadow: 0 18px 40px rgba(199, 153, 59, .38);
}
.btn-sms-test:disabled {
  color: rgba(14,39,71,.58);
  background: rgba(14,39,71,.12);
  box-shadow: none;
  transform: none;
}
.settings-quick-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--navy);
  border: 1px solid rgba(199, 153, 59, .32);
  background: linear-gradient(135deg, rgba(248,245,238,.92), rgba(216,174,85,.14));
  box-shadow: 0 10px 24px rgba(14,39,71,.06);
}
.settings-quick-link .material-icons-round {
  color: var(--gold);
  font-size: 21px;
}
.settings-quick-link:hover {
  color: var(--navy);
  border-color: rgba(199, 153, 59, .7);
  background: linear-gradient(135deg, rgba(216,174,85,.28), rgba(248,245,238,.98));
  box-shadow: 0 16px 34px rgba(199,153,59,.2);
}
.site-flash {
  position: relative;
  z-index: 10;
  padding: 14px 0;
}
.site-flash .alert {
  margin: 0;
  border-radius: var(--radius);
  font-weight: 700;
}
.admin-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}
.admin-action {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.admin-action:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.admin-action .material-icons-round {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}
.admin-action-edit {
  color: #fff;
  border-color: rgba(14,39,71,.9);
  background: linear-gradient(135deg, #0E2747, #214F80);
  box-shadow: 0 10px 22px rgba(14,39,71,.18);
}
.admin-action-edit:hover {
  color: #fff;
  border-color: rgba(14,39,71,1);
  background: linear-gradient(135deg, #14365F, #2B628F);
  box-shadow: 0 14px 28px rgba(14,39,71,.24);
}
.admin-action-delete {
  color: #8A241A;
  border-color: rgba(180,35,24,.16);
  background: #FFF0ED;
}
.admin-action-delete:hover {
  color: #6D1D15;
  border-color: rgba(180,35,24,.28);
  background: #FFE1DC;
}
.quick-actions a.admin-action {
  min-height: 34px;
  padding: 7px 11px;
  box-shadow: none;
}
.quick-actions a.admin-action .material-icons-round {
  color: currentColor;
  font-size: 18px;
}
.admin-filter-panel {
  padding: 18px;
}
.admin-filter-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 12px;
  align-items: end;
}
.filter-actions {
  display: flex;
  gap: 8px;
  grid-column: span 2;
}
.btn-filter,
.btn-reset-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}
.btn-filter {
  flex: 1 1 auto;
  color: var(--navy);
  border: 1px solid rgba(199,153,59,.38);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 22px rgba(199,153,59,.2);
}
.btn-filter:hover {
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(199,153,59,.28);
}
.btn-reset-filter {
  flex: 0 0 auto;
  color: var(--gray);
  border: 1px solid var(--line);
  background: #fff;
  padding-inline: 14px;
}
.btn-reset-filter:hover {
  color: var(--navy);
  border-color: rgba(14,39,71,.18);
  background: #F7F9FC;
}
.btn-filter .material-icons-round,
.btn-reset-filter .material-icons-round {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  font-size: 20px;
}
.btn-outline-light {
  color: var(--ivory);
  border: 1px solid rgba(248, 245, 238, .48);
  background: rgba(248, 245, 238, .06);
}
.btn-outline-light:hover { color: var(--navy); background: var(--ivory); }

.brand-ribbon {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(120deg, transparent 0 58%, rgba(199,153,59,.08) 58% 59%, transparent 59%),
    radial-gradient(circle at 8% 18%, rgba(199,153,59,.12), transparent 22%),
    radial-gradient(circle at 88% 70%, rgba(14,39,71,.08), transparent 24%);
}

.hero-section {
  position: relative;
  height: 86svh;
  min-height: 640px;
  max-height: 820px;
  color: var(--ivory);
  overflow: hidden;
  background: #07182b;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(7,24,43,.08) 0%, rgba(7,24,43,.15) 35%, rgba(7,24,43,.94) 74%, #07182b 100%),
    linear-gradient(0deg, rgba(7,24,43,.7), transparent 36%),
    url('../assets/generated/libya-marketing-hero.webp');
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(216,174,85,.13) 1px, transparent 1px),
    linear-gradient(0deg, rgba(248,245,238,.05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, transparent 4%, #000 58%, transparent 94%);
}
.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(0deg, rgba(7,24,43,.72), transparent);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-copy {
  width: min(54%, 720px);
  padding-top: 32px;
}
.hero-content h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3.5rem, 6vw, 4.75rem);
  line-height: 1.18;
  font-weight: 700;
  text-wrap: balance;
}
.hero-content .lead {
  max-width: 630px;
  margin-top: 22px;
  color: rgba(248,245,238,.84);
  font-size: 1.14rem;
  line-height: 1.95;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-actions .btn {
  min-height: 52px;
  min-width: 176px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
}
.hero-actions .material-icons-round { font-size: 20px; }
.hero-type {
  position: absolute;
  top: 42px;
  left: -34px;
  z-index: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(216,174,85,.2);
  font-size: 22rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(199,153,59,.34);
  border-radius: 999px;
  background: rgba(199,153,59,.12);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(199,153,59,.16);
}
.eyebrow.dark {
  color: var(--navy);
  background: rgba(14,39,71,.06);
  border-color: rgba(14,39,71,.12);
}
.eyebrow.dark::before { box-shadow: 0 0 0 4px rgba(14,39,71,.08); }

.hero-showcase {
  position: absolute;
  inset: 105px auto 145px 0;
  width: 47%;
  pointer-events: none;
}
.floating-signal {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid rgba(248,245,238,.22);
  border-radius: var(--radius);
  color: var(--navy);
  background: rgba(248,245,238,.91);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.floating-signal > .material-icons-round,
.signal-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-2);
}
.floating-signal small,
.floating-signal strong { display: block; line-height: 1.35; }
.floating-signal small { color: #667080; font-size: .72rem; font-weight: 700; }
.floating-signal strong { font-size: .94rem; }
.signal-campaign { top: 2%; left: 7%; min-width: 230px; transform: rotate(-2deg); }
.signal-campaign i {
  width: 8px;
  height: 8px;
  margin-inline-start: auto;
  border-radius: 50%;
  background: #39a86b;
  box-shadow: 0 0 0 6px rgba(57,168,107,.13);
}
.signal-leads { top: 39%; right: 3%; min-width: 175px; }
.signal-leads strong { color: #966c1e; font-size: 1.45rem; }
.signal-crm { bottom: 2%; left: 15%; min-width: 230px; }
.channel-wheel {
  position: absolute;
  top: 12%;
  right: 8%;
  width: 102px;
  height: 102px;
  border: 1px solid rgba(216,174,85,.45);
  border-radius: 50%;
}
.channel-wheel::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background: rgba(14,39,71,.72);
  border: 1px solid rgba(248,245,238,.2);
}
.channel-wheel span {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-2);
  font-size: .64rem;
  font-weight: 700;
}
.channel-wheel span:nth-child(1) { top: -12px; left: 34px; }
.channel-wheel span:nth-child(2) { right: -10px; bottom: 7px; }
.channel-wheel span:nth-child(3) { left: -10px; bottom: 7px; }
.hero-metrics {
  position: absolute;
  right: 12px;
  bottom: 36px;
  display: flex;
  gap: 0;
}
.hero-metrics div {
  min-width: 150px;
  padding: 2px 22px;
  border-inline-start: 1px solid rgba(248,245,238,.18);
}
.hero-metrics div:first-child { padding-inline-start: 0; border-inline-start: 0; }
.hero-metrics strong { display: block; color: var(--gold-2); font-size: 1.75rem; line-height: 1.1; }
.hero-metrics span { color: rgba(248,245,238,.72); font-size: .82rem; font-weight: 700; }
.scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 26px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--gold-2);
  border-radius: 50%;
  text-decoration: none;
  animation: scrollCue 2s ease-in-out infinite;
}
@keyframes heroBreath { to { transform: scale(1.07); } }
@keyframes typeDrift { to { transform: translateX(28px) rotate(-2deg); } }
@keyframes signalFloat { 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scrollCue { 50% { transform: translateY(8px); } }
@keyframes shimmer { to { transform: translateX(100%); } }

.error-hero {
  position: relative;
  min-height: 100svh;
  padding: 150px 0 96px;
  overflow: hidden;
  color: var(--ivory);
  background: #07182b;
}
.error-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(7,24,43,.08) 0%, rgba(7,24,43,.22) 35%, rgba(7,24,43,.94) 76%, #07182b 100%),
    linear-gradient(0deg, rgba(7,24,43,.8), transparent 40%),
    url('../assets/generated/libya-marketing-hero.webp');
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: heroBreath 14s ease-in-out infinite alternate;
}
.error-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(216,174,85,.13) 1px, transparent 1px),
    linear-gradient(0deg, rgba(248,245,238,.05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, transparent 4%, #000 58%, transparent 94%);
}
.error-code-mark {
  position: absolute;
  top: 68px;
  left: -24px;
  z-index: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(216,174,85,.2);
  font-size: clamp(9rem, 23vw, 23rem);
  font-family: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  animation: typeDrift 10s ease-in-out infinite alternate;
}
.error-hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 246px);
  display: flex;
  align-items: center;
}
.error-panel {
  width: min(58%, 720px);
}
.error-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(199,153,59,.28);
}
.error-icon img {
  width: 44px;
  height: auto;
  display: block;
}
.error-panel h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.08;
  font-weight: 700;
  text-wrap: balance;
}
.error-panel p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(248,245,238,.84);
  font-size: 1.16rem;
  line-height: 1.95;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.error-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.error-actions .material-icons-round {
  font-size: 21px;
}

.impact-stage {
  position: relative;
  min-height: 880px;
  overflow: hidden;
  color: var(--ivory);
  border-top: 1px solid rgba(216,174,85,.24);
  background:
    linear-gradient(90deg, rgba(248,245,238,.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(248,245,238,.03) 1px, transparent 1px),
    #111820;
  background-size: 76px 76px;
}
.impact-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(199,153,59,.13), transparent 38%, rgba(14,39,71,.3));
}
/* seam that carries the dark hero into the stage now that the strip is gone */
.impact-stage::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 220px;
  pointer-events: none;
  background:
    radial-gradient(60% 100% at 50% 0, rgba(216,174,85,.16), transparent 70%),
    linear-gradient(180deg, #07182b, rgba(7,24,43,.5) 46%, transparent);
}
.impact-content { position: relative; z-index: 2; padding-top: 72px; }
.impact-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.impact-intro h2 { color: var(--ivory); font-size: 3.15rem; line-height: 1.3; font-weight: 700; }
.impact-intro p { max-width: 680px; margin: 14px auto 0; color: rgba(248,245,238,.72); font-size: 1.08rem; }
.impact-intro .link-arrow { margin-top: 20px; }
.link-arrow-light { color: var(--gold-2); }
.link-arrow-light:hover { color: var(--ivory); }
.impact-words {
  position: absolute;
  inset: 170px -1vw auto;
  z-index: 1;
  display: grid;
  gap: 30px;
  pointer-events: none;
}
.impact-words span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(216,174,85,.2);
  font-size: 9rem;
  font-weight: 700;
  line-height: .88;
  white-space: nowrap;
}
.impact-words span:nth-child(2) { text-align: left; color: rgba(216,174,85,.08); }
.campaign-scene { position: relative; height: 650px; margin-top: 10px; }
.campaign-device {
  position: absolute;
  top: 66px;
  left: 50%;
  width: min(420px, 88vw);
  overflow: hidden;
  border: 1px solid rgba(248,245,238,.22);
  border-radius: 8px;
  background: var(--ivory);
  box-shadow: 0 42px 100px rgba(0,0,0,.42);
  transform: translateX(-50%);
}
.device-bar {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  direction: ltr;
  color: rgba(248,245,238,.55);
  background: #0b213b;
  font-size: .66rem;
}
.device-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.device-bar span { margin-left: 8px; }
.device-creative {
  min-height: 390px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  color: var(--ivory);
  background:
    linear-gradient(180deg, rgba(14,39,71,.2), rgba(14,39,71,.96)),
    url('../assets/generated/libya-marketing-hero.webp') 35% center / cover;
}
.device-creative img { width: 126px; margin-bottom: auto; }
.device-creative > span { color: var(--gold-2); font-weight: 700; }
.device-creative h3 { margin: 8px 0 18px; font-size: 2.1rem; font-weight: 700; line-height: 1.15; }
.creative-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  color: var(--navy);
  background: var(--gold-2);
  border-radius: 4px;
  font-weight: 700;
}
.device-results { display: grid; grid-template-columns: repeat(3, 1fr); padding: 18px; direction: ltr; }
.device-results div { padding: 0 13px; border-right: 1px solid rgba(14,39,71,.1); text-align: center; }
.device-results div:last-child { border-right: 0; }
.device-results small, .device-results strong { display: block; }
.device-results small { color: #667080; font-size: .72rem; }
.device-results strong { color: var(--navy); font-size: 1.28rem; }
.scene-tag {
  position: absolute;
  width: 205px;
  padding: 16px;
  border: 1px solid rgba(248,245,238,.18);
  border-radius: var(--radius);
  color: var(--navy);
  background: rgba(248,245,238,.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}
.scene-tag .material-icons-round {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-2);
}
.scene-tag strong, .scene-tag small { display: block; }
.scene-tag small { color: #667080; font-weight: 600; }
.tag-strategy { top: 120px; right: 7%; }
.tag-content { top: 90px; left: 6%; }
.tag-lead { bottom: 85px; right: 3%; }
.tag-report { bottom: 65px; left: 4%; }
@keyframes deviceFloat {
  0%, 100% { transform: translateX(-50%) rotate(-2deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(1deg) translateY(-14px); }
}
@keyframes sceneTagFloat { 50% { transform: translateY(-12px) rotate(1deg); } }

.creative-engine {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ivory), #fff);
}
.creative-engine::before {
  content: "";
  position: absolute;
  inset: 90px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199,153,59,.55), transparent);
}
.engine-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.engine-board::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--navy), var(--gold));
  opacity: .18;
}
.engine-board { counter-reset: engine-step; }
.engine-step {
  counter-increment: engine-step;
  position: relative;
  min-height: 210px;
  padding: 24px 18px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}
.engine-step::after {
  content: "";
  position: absolute;
  inset: auto -35px -45px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(199,153,59,.12);
  transition: transform .32s ease, background .32s ease;
}
.engine-step::before {
  content: "0" counter(engine-step);
  position: absolute;
  top: 16px;
  left: 18px;
  color: rgba(14,39,71,.16);
  font-family: 'Alexandria', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.engine-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(199,153,59,.35);
}
.engine-step:hover::after { transform: scale(1.18); background: rgba(199,153,59,.18); }
.engine-step .material-icons-round {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--gold-2);
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(199,153,59,.24);
}
.engine-step h3 {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.16rem;
}
.engine-step p { color: #586170; margin: 0; }

.trust-strip {
  position: relative;
  z-index: 3;
  padding: 42px 0;
  color: var(--ivory);
  border-block: 1px solid rgba(216,174,85,.18);
  background: linear-gradient(100deg, #111820, var(--navy));
}
.trust-layout {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 2fr);
  gap: 40px;
  align-items: center;
}
.trust-intro .eyebrow { margin-bottom: 10px; }
.trust-intro h2 {
  margin: 0;
  color: var(--ivory);
  font-size: 1.75rem;
  line-height: 1.45;
  font-weight: 700;
}
.trust-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.trust-metrics div {
  min-width: 0;
  padding: 4px 24px;
  border-inline-start: 1px solid rgba(248,245,238,.16);
}
.trust-metrics div:first-child { border-inline-start: 0; }
.trust-metrics strong {
  display: block;
  color: var(--gold-2);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1.15;
  font-weight: 700;
}
.trust-metrics span {
  display: block;
  margin-top: 7px;
  color: rgba(248,245,238,.78);
  font-size: .88rem;
  line-height: 1.6;
  font-weight: 700;
}

.section-pad { padding: 80px 0; }
.section-head { max-width: 800px; margin-bottom: 42px; }
.section-head.text-center { margin-left: auto; margin-right: auto; }
.section-head h2, .section-pad h2 {
  color: var(--navy);
  font-weight: 700;
  font-size: clamp(2.15rem, 4vw, 2.75rem);
  line-height: 1.35;
  text-wrap: balance;
}
.section-lead, .section-head p, .section-pad p { color: #586170; }
.section-head p { max-width: 68ch; }
.section-head.text-center p { margin-inline: auto; }
.section-lead { font-size: 1.2rem; line-height: 2; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.link-arrow .material-icons-round { transition: transform .25s ease; }
.link-arrow:hover { color: var(--gold); }
.link-arrow:hover .material-icons-round { transform: translateX(-5px); }
.impact-intro .link-arrow-light { color: var(--gold-2); }
.impact-intro .link-arrow-light:hover { color: var(--ivory); }
.section-head .link-arrow { margin-top: 10px; }
.section-actions {
  margin-top: 34px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(199,153,59,.22);
  border-radius: var(--radius-lg);
  background: rgba(199,153,59,.08);
}
.section-actions p { margin: 0; color: var(--navy); font-weight: 700; }
.section-actions .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.section-actions-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.section-actions-compact { margin-top: 26px; padding: 16px 20px; }

.solutions-band, .testimonials-band { background: #fff; }
.solution-card, .wide-card, .info-panel, .service-box, .article-card, .case-card, .quote-card {
  position: relative;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.solution-card:hover, .wide-card:hover, .info-panel:hover, .service-box:hover, .article-card:hover, .case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(199,153,59,.35);
}
/* gold edge that draws itself in on hover */
.solution-card::after, .info-panel::after, .service-box::after, .article-card::after, .case-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(-90deg, var(--gold), var(--gold-2), rgba(216,174,85,0));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .38s ease;
}
.solution-card:hover::after, .info-panel:hover::after, .service-box:hover::after,
.article-card:hover::after, .case-card:hover::after { transform: scaleX(1); }
.solution-card::before, .wide-card::before, .service-box::before {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--gold);
  transition: width .32s ease;
}
.solution-card:hover::before, .wide-card:hover::before, .service-box:hover::before { width: 84px; }
.solution-card .material-icons-round, .service-box .material-icons-round, .value-card .material-icons-round {
  color: var(--gold);
  font-size: 34px;
  margin-bottom: 12px;
}
.service-meta {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding: 4px 10px;
  color: var(--gold);
  border-radius: 999px;
  background: rgba(199,153,59,.12);
  font-size: .78rem;
  font-weight: 800;
}
.solution-card h3, .wide-card h3, .info-panel h3, .service-box h3, .article-card h3, .case-card h3 {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.22rem;
}
.solution-card a, .wide-card a { color: var(--gold); font-weight: 700; text-decoration: none; }
.solution-card a:hover, .wide-card a:hover { color: #8b651d; }

.sector-grid, .value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.sector-tile {
  min-height: 275px;
  padding: 28px;
  color: var(--ivory);
  text-decoration: none;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7,20,36,.08), rgba(7,20,36,.88) 72%),
    var(--sector-image),
    linear-gradient(145deg, var(--navy), var(--ink));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
  transition: transform .28s ease, box-shadow .28s ease;
}
.sector-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(199,153,59,.18), transparent 42%),
    radial-gradient(circle at 18% 20%, rgba(199,153,59,.34), transparent 32%);
}
.sector-tile:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.sector-tile::after {
  content: "←";
  position: absolute;
  top: 22px;
  left: 22px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-2);
  font-weight: 700;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .3s ease, transform .3s ease;
}
.sector-tile:hover::after { opacity: 1; transform: translateX(0); }
.sector-tile span, .sector-tile h3, .sector-tile p { position: relative; }
.sector-tile span {
  color: var(--gold-2);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  opacity: .85;
}
.sector-tile h3 { font-weight: 700; }
.sector-tile p { color: rgba(248,245,238,.76); }
.image-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  color: var(--ivory);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7,20,36,.04), rgba(7,20,36,.9) 78%),
    var(--card-image) center / cover,
    var(--navy);
}
.image-card h3,
.image-card p,
.image-card a {
  position: relative;
  color: var(--ivory);
}
.image-card a { color: var(--gold-2); }

.why-section { background: linear-gradient(180deg, var(--ivory), #fff); }
.value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.value-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.76);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(199,153,59,.34);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.value-card h3 { color: var(--navy); font-weight: 700; }
.value-card p { margin-bottom: 0; }
.value-card .material-icons-round {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--gold);
  background: rgba(199,153,59,.12);
  transition: color .28s ease, background .28s ease;
}
.value-card:hover .material-icons-round { color: var(--navy); background: var(--gold-2); }

.method-section {
  background: linear-gradient(135deg, var(--navy), var(--ink));
  color: var(--ivory);
}
.method-section h2, .method-section p { color: var(--ivory); }
.timeline-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 14px;
  border-bottom: 1px solid rgba(248,245,238,.14);
  border-radius: var(--radius);
  color: var(--ivory);
  font-weight: 700;
  font-size: 1.12rem;
  transition: background .28s ease, padding-inline-start .28s ease;
}
.timeline-item:hover { background: rgba(248,245,238,.05); padding-inline-start: 22px; }
.timeline-item:last-child { border-bottom: 0; }
.timeline-item strong {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(199,153,59,.24);
  transition: transform .28s ease;
}
.timeline-item:hover strong { transform: scale(1.06); }

.work-band { background: var(--ivory); }
.case-media {
  position: relative;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  margin-bottom: 18px;
  overflow: hidden;
  color: var(--gold);
  background:
    linear-gradient(135deg, rgba(14,39,71,.96), rgba(31,36,43,.96)),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(255,255,255,.08) 28px 29px);
}
.case-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(216,174,85,.22), transparent 65%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.case-card:hover .case-media::after { transform: translateX(120%); }
.case-media .material-icons-round { position: relative; font-size: 54px; transition: transform .35s ease; }
.case-card:hover .case-media .material-icons-round { transform: translateY(-4px) scale(1.06); }
.case-card-image {
  width: calc(100% + 56px);
  height: 190px;
  margin: -28px -28px 18px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--line);
  background: #F7F9FC;
}
.case-card strong { color: var(--gold); font-size: 1.3rem; }
.case-card.tall p strong { color: var(--navy); font-size: 1rem; }
.work-card {
  padding: 0;
  overflow: hidden;
}
.work-card h3,
.work-card p,
.work-card > strong { margin-inline: 24px; }
.work-card h3 { margin-top: 22px; }
.work-card > strong { display: block; margin-bottom: 24px; }
.work-card-link {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px;
  color: inherit;
  text-decoration: none;
}
.work-card-link .case-card-image {
  flex: 0 0 auto;
}
.work-card-link h3,
.work-card-link p {
  color: inherit;
}
.work-card-link .article-read-more {
  margin-top: auto;
  padding-top: 10px;
}
.quote-card {
  display: block;
  margin: 0;
  padding-top: 34px;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 700;
}
.quote-card::before {
  content: "\201D";
  position: absolute;
  top: 6px;
  right: 26px;
  color: rgba(199,153,59,.34);
  font-family: 'Alexandria', system-ui, sans-serif;
  font-size: 4.4rem;
  line-height: 1;
}
.quote-card small { display: block; margin-top: 20px; color: var(--gray); font-size: .92rem; }
.article-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.article-card-link {
  display: contents;
  color: inherit;
  text-decoration: none;
}
.article-card-image {
  width: calc(100% + 56px);
  height: 190px;
  margin: -28px -28px 10px;
  object-fit: cover;
  background: #F7F9FC;
  border-bottom: 1px solid var(--line);
}
.article-card span {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(199,153,59,.12);
  font-size: .78rem;
  font-weight: 700;
}
.article-card h3 { margin: 0; transition: color .28s ease; }
.article-card:hover h3 { color: #8b651d; }
.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--gold);
  text-decoration: none;
  font-weight: 800;
}
.article-read-more .material-icons-round {
  font-size: 18px;
}
.article-read-more:hover {
  color: #8b651d;
}
.article-media-row,
.article-video-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.article-media-row span,
.article-video-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy);
  border: 1px solid rgba(14,39,71,.1);
  border-radius: 999px;
  background: rgba(14,39,71,.045);
  padding: 5px 10px;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}
.article-media-row .material-icons-round,
.article-video-links .material-icons-round {
  color: var(--gold);
  font-size: 17px;
}
.article-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.article-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.blog-band { background: linear-gradient(180deg, #fff, var(--ivory)); }
.blog-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}
.blog-detail-content,
.blog-detail-side {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.blog-detail-content {
  overflow: hidden;
}
.blog-detail-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--line);
  background: #F7F9FC;
}
.blog-body,
.blog-detail-block {
  padding: 28px;
}
.blog-body p {
  margin: 0 0 18px;
  color: #465060;
  font-size: 1.04rem;
  line-height: 2;
}
.blog-body p:last-child {
  margin-bottom: 0;
}
.blog-detail-block {
  border-top: 1px solid var(--line);
}
.blog-detail-block h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 700;
}
.blog-detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.blog-detail-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #F7F9FC;
}
.blog-detail-videos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.blog-detail-videos a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  color: var(--navy);
  border: 1px solid rgba(199,153,59,.26);
  border-radius: var(--radius);
  background: rgba(199,153,59,.1);
  text-decoration: none;
  font-weight: 800;
}
.blog-detail-videos .material-icons-round {
  color: var(--gold);
}
.blog-detail-side {
  position: sticky;
  top: 104px;
  padding: 20px;
  display: grid;
  gap: 14px;
}
.blog-detail-side div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.blog-detail-side strong,
.blog-detail-side span {
  display: block;
}
.blog-detail-side strong {
  color: var(--navy);
  font-weight: 800;
}
.blog-detail-side span {
  color: var(--gray);
  font-weight: 700;
}
.work-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
}
.work-detail-main,
.work-detail-side {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.work-detail-main {
  overflow: hidden;
}
.work-detail-image {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  display: block;
  background: #F7F9FC;
  border-bottom: 1px solid var(--line);
}
.work-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.work-detail-block {
  padding: 26px;
  border-inline-start: 1px solid var(--line);
}
.work-detail-block:first-child {
  border-inline-start: 0;
}
.work-detail-block > .material-icons-round {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--navy);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}
.work-detail-block h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.22rem;
  font-weight: 800;
}
.work-detail-block p {
  margin: 0;
  color: #465060;
  line-height: 1.9;
}
.work-detail-side {
  position: sticky;
  top: 104px;
  padding: 20px;
  display: grid;
  gap: 14px;
}
.work-detail-side div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14,39,71,.035);
}
.work-detail-side span,
.work-detail-side strong {
  display: block;
}
.work-detail-side span {
  color: var(--gray);
  font-weight: 700;
}
.work-detail-side strong {
  margin-top: 4px;
  color: var(--navy);
  font-weight: 800;
}
.other-work-card .case-card-image {
  height: 165px;
}
.contact-info-panel {
  display: grid;
  gap: 12px;
}
.contact-info-panel h3 {
  margin-bottom: 4px;
}
.contact-info-panel > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #F7F9FC;
  text-decoration: none;
  font-weight: 800;
  overflow-wrap: anywhere;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.contact-info-panel > a:hover {
  transform: translateY(-2px);
  border-color: rgba(199,153,59,.36);
  background: rgba(199,153,59,.1);
}
.contact-info-panel .material-icons-round {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--navy);
  border-radius: 50%;
  background: var(--gold-2);
  font-size: 20px;
}
.contact-map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #F7F9FC;
}
.contact-map iframe {
  width: 100%;
  height: 280px;
  display: block;
  border: 0;
}
.settings-map-picker {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #F7F9FC;
}
.field-hint {
  display: block;
  margin-top: 8px;
  color: var(--gray);
  font-weight: 700;
}

.contact-band {
  position: relative;
  color: var(--ivory);
  background: linear-gradient(135deg, var(--ink), var(--navy));
  overflow: hidden;
}
.contact-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 12%, rgba(199,153,59,.2), transparent 34%),
    radial-gradient(circle at 6% 92%, rgba(199,153,59,.12), transparent 30%);
}
.contact-band > .container { position: relative; z-index: 1; }
.contact-band h2, .contact-band p { color: var(--ivory); }
.lead-form {
  background: var(--white);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.lead-form .form-control, .lead-form .form-select {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 15px;
  background: #F7F8FA;
  color: var(--ink);
  font-weight: 700;
}
.lead-form .form-control:focus, .lead-form .form-select:focus,
.admin-panel .form-control:focus, .admin-panel .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(199,153,59,.14);
  background: var(--white);
}
.optin { color: var(--ink); font-weight: 700; }

.client-portal-page {
  min-height: 100vh;
  padding: 138px 0 80px;
  background:
    linear-gradient(90deg, rgba(7,24,43,.08), rgba(248,245,238,.88) 44%, rgba(255,255,255,.96)),
    url('../assets/generated/libya-marketing-hero.webp') center / cover;
}
.client-login-shell {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(248,245,238,.4);
  border-radius: 28px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 28px 70px rgba(7,24,43,.16);
  backdrop-filter: blur(18px);
}
.client-login-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 560px;
  padding: 44px;
  color: var(--ivory);
  background:
    linear-gradient(180deg, rgba(7,24,43,.28), rgba(7,24,43,.92)),
    url('../assets/generated/libya-marketing-hero.webp') 35% center / cover;
}
.client-login-visual img {
  position: absolute;
  top: 34px;
  right: 38px;
  width: 138px;
}
.client-login-visual span {
  color: var(--gold-2);
  font-weight: 800;
}
.client-login-visual h1 {
  max-width: 620px;
  margin: 12px 0 14px;
  color: var(--ivory);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.25;
}
.client-login-visual p {
  max-width: 560px;
  color: rgba(248,245,238,.78);
  font-size: 1.05rem;
  line-height: 1.9;
}
.client-login-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  margin-top: 26px;
}
.client-login-stats div {
  padding: 14px;
  border: 1px solid rgba(248,245,238,.18);
  border-radius: var(--radius);
  background: rgba(248,245,238,.08);
}
.client-login-stats strong,
.client-login-stats small {
  display: block;
}
.client-login-stats strong {
  color: var(--gold-2);
  font-size: 1.25rem;
  font-weight: 800;
}
.client-login-stats small {
  color: rgba(248,245,238,.72);
  font-weight: 700;
}
.client-login-card {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(24px, 5vw, 52px);
  background: rgba(255,255,255,.94);
}
.client-login-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.client-login-head > .material-icons-round {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-size: 28px;
}
.client-login-head strong,
.client-login-head small {
  display: block;
}
.client-login-head strong {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 800;
}
.client-login-head small,
.client-login-note {
  color: var(--gray);
  font-weight: 700;
}
.client-login-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.client-login-note {
  margin: 0;
  text-align: center;
  font-size: .9rem;
}

.client-preview-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.client-preview-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 13px;
  color: rgba(248,245,238,.82);
  border: 1px solid rgba(248,245,238,.18);
  border-radius: var(--radius);
  background: rgba(248,245,238,.08);
  font-weight: 800;
}
.client-preview-tabs button.active {
  color: var(--navy);
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}
.client-preview-tabs .material-icons-round { font-size: 19px; }
.portal-shell {
  display: grid;
  gap: 18px;
}
.portal-hero-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  min-height: 270px;
  padding: clamp(24px, 4vw, 42px);
  color: var(--ivory);
  border: 1px solid rgba(248,245,238,.16);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(14,39,71,.94), rgba(31,36,43,.92)),
    url('../assets/generated/libya-marketing-hero.webp') center / cover;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.portal-hero-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -52% -12%;
  height: 220px;
  background: radial-gradient(circle, rgba(199,153,59,.34), transparent 64%);
  pointer-events: none;
}
.portal-hero-card > * { position: relative; z-index: 1; }
.portal-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold-2);
  font-weight: 900;
}
.portal-hero-card h1 {
  max-width: 780px;
  margin: 0 0 10px;
  color: var(--ivory);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
}
.portal-hero-card p {
  max-width: 720px;
  margin: 0;
  color: rgba(248,245,238,.78);
  font-size: 1.08rem;
}
.portal-logout {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 110px;
  min-height: 42px;
  justify-content: center;
  color: var(--ivory);
  border: 1px solid rgba(248,245,238,.18);
  border-radius: var(--radius);
  background: rgba(248,245,238,.08);
  font-weight: 800;
}
.portal-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.portal-metrics div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-sm);
}
.portal-metrics .material-icons-round {
  color: var(--gold);
  font-size: 26px;
}
.portal-metrics small {
  color: var(--gray);
  font-weight: 800;
}
.portal-metrics strong {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.35;
}
.portal-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.74);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.portal-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: max-content;
  min-height: 46px;
  padding: 10px 16px;
  color: var(--gray);
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-weight: 900;
}
.portal-tabs button.active {
  color: var(--navy);
  background: linear-gradient(135deg, rgba(216,174,85,.96), rgba(199,153,59,.96));
  box-shadow: 0 12px 26px rgba(199,153,59,.22);
}
.portal-tabs .material-icons-round { font-size: 20px; }
.portal-tab-content {
  min-height: 420px;
  padding: 8px 0 0;
}
.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 18px;
}
.portal-card,
.portal-list,
.portal-file-grid {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-sm);
}
.portal-card {
  padding: 24px;
}
.portal-main-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 12% 16%, rgba(199,153,59,.2), transparent 36%),
    #fff;
}
.portal-card h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
}
.portal-card p { color: #667085; font-weight: 700; }
.portal-card-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.portal-card-head > .material-icons-round {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--navy);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-size: 30px;
}
.portal-progress {
  display: grid;
  gap: 12px;
}
.portal-progress div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}
.portal-progress strong {
  color: var(--navy);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}
.portal-progress span { color: var(--gray); font-weight: 900; }
.portal-progress-track {
  height: 12px;
  border-radius: 999px;
  background: #E8ECF1;
  overflow: hidden;
}
.portal-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--navy));
}
.portal-summary-list {
  display: grid;
  gap: 10px;
}
.portal-summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.portal-summary-list span { color: var(--gray); font-weight: 800; }
.portal-summary-list strong { color: var(--navy); font-weight: 900; text-align: left; }
.portal-list {
  display: grid;
  gap: 0;
  overflow: hidden;
}
.portal-list-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.portal-list-item:last-child { border-bottom: 0; }
.portal-list-item strong {
  display: block;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 900;
}
.portal-list-item span,
.portal-list-item p,
.portal-list-item small {
  color: var(--gray);
  font-weight: 800;
}
.portal-list-item p { margin: 6px 0 0; line-height: 1.8; }
.portal-status {
  align-self: flex-start;
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 12px;
  color: #765410 !important;
  border-radius: 999px;
  background: rgba(199,153,59,.16);
}
.portal-file-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}
.portal-file {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.portal-file:hover {
  color: var(--ink);
  transform: translateY(-3px);
  border-color: rgba(199,153,59,.42);
  box-shadow: var(--shadow-sm);
}
.portal-file .material-icons-round { color: var(--gold); font-size: 30px; }
.portal-file strong { color: var(--navy); font-weight: 900; }
.portal-file small { color: var(--gray); font-weight: 800; }
.portal-empty {
  padding: 34px;
  color: var(--gray);
  font-weight: 900;
  text-align: center;
}

.inner-hero {
  position: relative;
  padding: 165px 0 92px;
  color: var(--ivory);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7,20,36,.96), rgba(7,20,36,.7) 56%, rgba(7,20,36,.32)),
    var(--detail-image, url('../assets/generated/hero-growth.webp'));
  background-size: cover;
  background-position: center;
}
.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(216,174,85,.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(248,245,238,.05) 1px, transparent 1px),
    radial-gradient(circle at 18% 30%, rgba(199,153,59,.24), transparent 28%),
    linear-gradient(0deg, rgba(7,20,36,.5), transparent 44%);
  background-size: 76px 76px, 76px 76px, auto, auto;
}
.inner-hero .container { position: relative; }
.inner-hero h1 { font-size: 4rem; font-weight: 700; }
.inner-hero p { max-width: 830px; color: rgba(248,245,238,.78); font-size: 1.22rem; }
.check-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
}
.check-list div:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.check-list div:last-child { border-bottom: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.check-list .material-icons-round { color: var(--gold); }
.value-callout, .detail-cta, .policy-stack {
  margin-top: 22px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--ivory);
  box-shadow: var(--shadow-sm);
}
.value-callout span { color: var(--gold-2); font-weight: 700; }
.value-callout p, .policy-stack p { color: rgba(248,245,238,.82); margin: 6px 0 0; }
.detail-cta { margin-top: 0; margin-bottom: 16px; background: var(--gold); color: var(--navy); font-weight: 700; }
.policy-stack h2 { color: var(--gold-2); margin-top: 18px; }

.site-footer {
  position: relative;
  padding: 62px 0 24px;
  background: var(--ink);
  color: rgba(248,245,238,.72);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .7;
}
.footer-logo { height: 70px; margin-bottom: 18px; }
.site-footer h6 { color: var(--gold-2); font-weight: 700; }
.site-footer a {
  display: inline-block;
  margin: 0 0 8px 14px;
  color: rgba(248,245,238,.82);
  text-decoration: none;
  font-weight: 700;
  transition: color .22s ease, transform .22s ease;
}
.site-footer a:hover { color: var(--gold-2); transform: translateX(-3px); }
.copyright {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(248,245,238,.1);
  color: var(--gray);
}

[data-reveal] {
  opacity: 0;
  translate: 0 24px;
  transition: opacity .75s ease, translate .75s ease;
}
[data-reveal].is-visible { opacity: 1; translate: 0 0; }

/* Admin */
.admin-body { background: #F3F6FA; color: var(--ink); }
.admin-body.sidebar-open { overflow: hidden; }
.admin-sidebar {
  position: fixed;
  inset: 0 0 0 auto;
  width: 272px;
  height: 100vh;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(180deg, #071827 0%, #0E2747 58%, #18212b 100%);
  box-shadow: -12px 0 34px rgba(16,24,33,.18);
  z-index: 100;
  overflow-y: auto;
  transition: transform .28s ease, box-shadow .28s ease;
}
.admin-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(9, 17, 27, .48);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}
.sidebar-brand {
  padding: 14px 12px 22px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(248,245,238,.1);
  text-align: center;
}
.sidebar-brand img { width: 150px; display: block; margin: 0 auto 8px; }
.sidebar-brand span { display: block; color: var(--gold-2); font-size: .95rem; font-weight: 800; }
.sidebar-brand small { display: block; color: rgba(248,245,238,.62); font-weight: 700; }
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 11px 13px;
  color: rgba(248,245,238,.72);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 700;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
  color: var(--white);
  background: linear-gradient(90deg, rgba(199,153,59,.22), rgba(199,153,59,.06));
  transform: translateX(-3px);
}
.admin-sidebar a.active { border-right: 4px solid var(--gold); }
.sidebar-submenu {
  display: grid;
  gap: 4px;
  margin: -2px 18px 7px 0;
  padding-right: 14px;
  border-right: 1px solid rgba(216,174,85,.24);
}
.sidebar-submenu a {
  min-height: 36px;
  padding: 8px 11px;
  border-radius: calc(var(--radius) - 2px);
  color: rgba(248,245,238,.64);
  font-size: .88rem;
}
.sidebar-submenu a.active {
  border-right: 0;
  color: var(--white);
  background: rgba(216,174,85,.18);
}
.sidebar-submenu .material-icons-round {
  width: 18px;
  height: 18px;
  font-size: 18px;
}
.admin-sidebar .material-icons-round,
.topbar-tools .material-icons-round,
.admin-user-menu .material-icons-round,
.admin-dropdown .material-icons-round,
.quick-actions .material-icons-round,
.metric-icon .material-icons-round,
.module-card .material-icons-round,
.alert-row .material-icons-round,
.message-template .material-icons-round,
.admin-menu-toggle .material-icons-round {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
}
.admin-sidebar .material-icons-round { color: var(--gold-2); }
.admin-main {
  margin-right: 272px;
  padding: 24px 28px 34px;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(216,174,85,.13), rgba(14,39,71,.03) 34%, rgba(255,255,255,0) 66%);
}
.admin-topbar {
  position: relative;
  z-index: 1050;
  min-height: 72px;
  padding: 12px 14px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  overflow: visible;
}
.admin-menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(31,36,43,.06);
}
.admin-topbar-copy { min-width: 0; margin-inline-end: auto; }
.admin-topbar-copy strong { display: block; color: var(--navy); font-size: 1.05rem; font-weight: 800; }
.admin-topbar-copy span { display: block; color: var(--gray); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-tools { display: flex; align-items: center; gap: 8px; }
.topbar-tools .dropdown { position: relative; }
.admin-language-control {
  min-width: 132px;
  height: 42px;
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
  box-shadow: none;
}
.admin-language-control strong { color: var(--navy); }
.admin-language-control:hover {
  color: var(--navy);
  border-color: rgba(199,153,59,.45);
  background: rgba(216,174,85,.12);
}
.topbar-icon,
.topbar-tools > button,
.topbar-tools > a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  text-decoration: none;
}
.topbar-icon:hover,
.topbar-tools > button:hover,
.topbar-tools > a:hover,
.admin-menu-toggle:hover,
.admin-user-menu:hover {
  border-color: rgba(199,153,59,.45);
  color: var(--navy);
  background: rgba(216,174,85,.18);
}
.notification-button { position: relative; }
.notification-button i {
  position: absolute;
  top: 9px;
  left: 10px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #E35D3B;
}
.notification-button b {
  position: absolute;
  top: -6px;
  left: -6px;
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #E35D3B;
  font-size: .68rem;
  line-height: 1;
}
.admin-user-menu {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 245px;
  padding: 5px 8px 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
}
.user-avatar {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(199,153,59,.22);
}
.user-avatar-lg { width: 46px; height: 46px; font-size: 1.1rem; }
.user-meta { display: grid; min-width: 0; text-align: start; line-height: 1.15; }
.user-meta strong,
.profile-card strong { color: var(--navy); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-meta small,
.profile-card small { color: var(--gray); font-size: .78rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-dropdown {
  z-index: 1080;
  min-width: 270px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 45px rgba(16,24,33,.14);
}
.admin-dropdown.show {
  z-index: 1080;
}
.admin-dropdown h6 {
  margin: 2px 4px 8px;
  color: var(--navy);
  font-weight: 800;
}
.admin-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 700;
}
.admin-dropdown .dropdown-item .material-icons-round { color: var(--gold); font-size: 20px; }
.notification-menu {
  width: min(360px, calc(100vw - 24px));
}
.notification-menu .dropdown-item {
  align-items: flex-start;
  white-space: normal;
}
.notification-menu .dropdown-item.is-unread {
  background: rgba(216,174,85,.14);
}
.notification-menu .dropdown-item > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.notification-menu strong,
.notification-menu small,
.notification-menu em {
  display: block;
}
.notification-menu small {
  color: var(--gray);
  font-size: .78rem;
  line-height: 1.5;
}
.notification-menu em {
  color: rgba(70,80,96,.7);
  font-size: .72rem;
  font-style: normal;
}
.notification-empty {
  color: var(--gray) !important;
}
.profile-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.profile-card div { min-width: 0; }
.profile-card strong,
.profile-card small { display: block; }
.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.sidebar-action {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  width: 100%;
  padding: 11px 13px;
  border: 0;
  border-radius: var(--radius);
  color: rgba(248,245,238,.82);
  background: transparent;
  font-weight: 700;
}
.sidebar-action:hover {
  color: var(--white);
  background: linear-gradient(90deg, rgba(199,153,59,.22), rgba(199,153,59,.06));
}
.admin-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.admin-title span { color: var(--gold); font-weight: 700; }
.admin-title h1 { margin: 0; color: var(--navy); font-weight: 700; font-size: 2rem; }
.quick-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.quick-actions a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  text-decoration: none;
  padding: 10px 15px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.quick-actions .material-icons-round { font-size: 20px; color: var(--gold); }
.quick-actions a:hover { color: var(--navy); background: var(--gold-2); }
.quick-actions a:hover .material-icons-round { color: var(--navy); }
.quick-actions a.active { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.form-check { display: flex; align-items: center; gap: 8px; }
.metric-card, .admin-panel, .report-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.metric-card {
  min-height: 140px;
  padding: 22px;
  overflow: hidden;
}
.metric-card::after {
  content: "";
  position: absolute;
  inset: auto -28px -44px auto;
  width: 120px;
  height: 120px;
  background: rgba(199,153,59,.13);
  border-radius: 50%;
}
.metric-card span { display: block; color: var(--gray); font-weight: 700; margin-bottom: 8px; }
.metric-card strong { display: block; color: var(--navy); font-size: 2.35rem; font-weight: 700; }
.metric-icon {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 46px;
  height: 46px;
  display: grid !important;
  place-items: center;
  border-radius: var(--radius);
  color: var(--gold) !important;
  background: rgba(199,153,59,.14);
}
.metric-icon .material-icons-round { color: var(--gold); font-size: 24px; }
.admin-panel { padding: 24px; }
.admin-panel h2 { color: var(--navy); font-size: 1.2rem; font-weight: 700; margin: 0 0 18px; }
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.panel-heading h2 { margin: 0; }
.panel-heading span { color: var(--gray); font-weight: 700; font-size: .88rem; }
.kanban {
  display: grid;
  grid-template-columns: repeat(6, minmax(160px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.kanban-col {
  min-height: 210px;
  padding: 14px;
  border-radius: var(--radius);
  background: #F7F9FC;
  border: 1px dashed rgba(14,39,71,.14);
}
.kanban-dropzone {
  min-height: 138px;
  display: grid;
  align-content: start;
}
.kanban-dropzone.is-dragover {
  outline: 2px dashed rgba(199,153,59,.62);
  outline-offset: 4px;
  border-radius: var(--radius);
  background: rgba(216,174,85,.11);
}
.kanban-col h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--navy);
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.kanban-col h3 small {
  min-width: 26px;
  min-height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(199,153,59,.16);
  font-weight: 800;
}
.lead-chip {
  display: block;
  padding: 12px;
  margin-bottom: 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(31,36,43,.06);
}
.lead-chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.lead-chip a {
  color: inherit;
  text-decoration: none;
}
.lead-chip strong { display: block; color: var(--navy); font-weight: 700; }
.lead-chip small { color: var(--gray); }
.kanban-leads {
  grid-template-columns: repeat(6, minmax(235px, 1fr));
}
.lead-kanban-card {
  display: grid;
  gap: 10px;
  cursor: grab;
}
.lead-kanban-card.is-dragging {
  opacity: .58;
  cursor: grabbing;
  transform: rotate(-1deg) scale(.99);
}
.lead-kanban-meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.lead-kanban-meta span,
.kanban-empty {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--gray);
  background: rgba(14,39,71,.06);
  font-size: .78rem;
  font-weight: 700;
}
.kanban-empty {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
}
.alert-row, .message-template {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.alert-row .material-icons-round, .message-template .material-icons-round { color: var(--gold); font-size: 22px; }
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.module-card {
  min-height: 168px;
  padding: 18px;
  border-radius: var(--radius);
  background: #F7F9FC;
  border: 1px solid var(--line);
  display: block;
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.module-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.module-card .material-icons-round {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--gold);
  background: rgba(199,153,59,.12);
  font-size: 24px;
}
.module-card h3 { color: var(--navy); font-size: 1rem; font-weight: 700; margin: 10px 0 6px; }
.module-card p { color: #647080; margin: 0; font-size: .92rem; }
.dark-panel { background: linear-gradient(180deg, var(--navy), var(--ink)); color: var(--ivory); }
.dark-panel h2, .dark-panel .panel-heading span { color: var(--ivory); }
.dark-panel .panel-heading, .dark-panel .message-template { border-color: rgba(248,245,238,.14); }
.integration-note {
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--gold-2);
  font-weight: 700;
}
.report-card { padding: 22px; }
.report-card span, .report-card small { display: block; color: var(--gray); font-weight: 700; }
.report-card strong { display: block; color: var(--navy); font-size: 2.4rem; font-weight: 700; }
.report-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr)) auto;
  gap: 14px;
  align-items: end;
}
.report-toolbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.report-toolbar-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.report-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.report-tabs a,
.export-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: #fff;
  text-decoration: none;
  font-weight: 700;
}
.report-tabs a.active {
  color: var(--ivory);
  border-color: var(--navy);
  background: var(--navy);
}
.export-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.export-actions a {
  min-height: 32px;
  padding: 5px 10px;
  color: #7a5718;
  border-color: rgba(199,153,59,.3);
  background: rgba(199,153,59,.12);
}
.report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.report-grid h3,
.report-subtitle {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: .98rem;
  font-weight: 700;
}
.report-subtitle { margin-top: 20px; }
.report-bar {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}
.report-bar div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
}
.report-bar span {
  min-width: 0;
}
.report-bar strong {
  color: var(--navy);
  white-space: nowrap;
}
.report-bar i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}
.report-money-row,
.campaign-report-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.report-money-row:last-child,
.campaign-report-row:last-child { border-bottom: 0; }
.report-money-row span,
.campaign-report-row small {
  display: block;
  color: var(--gray);
}
.report-money-row strong {
  color: var(--navy);
}
.report-money-row.danger strong {
  color: #b42318;
}
.campaign-report-row > div {
  min-width: 0;
}
.campaign-report-row strong {
  color: var(--navy);
}
.activity-filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 14px;
  align-items: end;
}
.activity-filter-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.activity-filter-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.activity-table td strong,
.activity-table td small {
  display: block;
}
.activity-table td small {
  color: var(--gray);
  font-weight: 700;
}
.user-list-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}
.user-list-cell div { min-width: 0; }
.user-list-cell strong,
.user-list-cell small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-list-cell strong {
  color: var(--navy);
  font-weight: 800;
}
.user-list-cell small {
  color: var(--gray);
  font-size: .82rem;
  font-weight: 700;
}
.role-abilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.role-abilities.is-hidden {
  display: none;
}
.ability-option {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: start;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}
.ability-option input {
  margin-top: 4px;
}
.ability-option .material-icons-round {
  display: none;
}
.ability-option strong,
.ability-option small {
  display: block;
}
.ability-option strong {
  color: var(--navy);
  font-weight: 700;
}
.ability-option small {
  grid-column: 2;
  color: var(--gray);
  font-weight: 700;
}
.admin-table {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.admin-table thead { color: var(--ivory); background: var(--navy); }
.admin-table th, .admin-table td { padding: 14px 16px; vertical-align: middle; font-weight: 700; }
.admin-table td { border-bottom: 1px solid var(--line); }
.dt-container {
  color: var(--ink);
}
.dt-container .dt-layout-row {
  gap: 12px;
  margin: 0 0 14px;
}
.dt-container .dt-layout-row:last-child {
  margin: 14px 0 0;
}
.dt-container .dt-search,
.dt-container .dt-length,
.dt-container .dt-info,
.dt-container .dt-paging {
  color: var(--gray);
  font-weight: 700;
}
.dt-container .dt-search input,
.dt-container .dt-length select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background-color: #fff;
}
.dt-container .dt-search input {
  margin-right: 8px;
}
.dt-container .dt-paging .dt-paging-button,
.dt-container .pagination .page-link {
  border-radius: var(--radius);
  color: var(--navy);
  border-color: var(--line);
  font-weight: 800;
}
.dt-container .dt-paging .dt-paging-button.current,
.dt-container .pagination .active .page-link {
  color: var(--navy);
  border-color: rgba(199,153,59,.4);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}
.dt-container table.dataTable > thead > tr > th,
.dt-container table.dataTable > thead > tr > td {
  text-align: right;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  color: var(--navy);
  background: rgba(199,153,59,.18);
  border-radius: 999px;
  font-weight: 700;
  font-size: .82rem;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.span-2 { grid-column: span 2; }
.admin-panel .form-control, .admin-panel .form-select {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #F7F9FC;
  font-weight: 700;
}
.lead-form-panel {
  display: grid;
  gap: 20px;
}
.form-section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FBFCFE;
}
.form-section-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.form-section-head > .material-icons-round {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: var(--radius);
  color: var(--gold);
  background: rgba(199,153,59,.13);
  font-size: 24px;
}
.form-section-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
}
.form-section-head p {
  margin: 3px 0 0;
  color: var(--gray);
  font-size: .9rem;
  font-weight: 700;
}
.field-wrap label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: .88rem;
  font-weight: 700;
}
.field-error {
  display: block;
  margin-top: 6px;
  color: #b42318;
  font-weight: 700;
}
.multi-select {
  min-height: 152px;
}
.multi-select option {
  padding: 8px 10px;
  border-radius: 6px;
}
.selected-options {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 36px;
  margin-top: 10px;
}
.selected-options:empty::before {
  content: attr(data-empty-text);
  color: var(--gray);
  font-size: .86rem;
  font-weight: 700;
}
.selected-options span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid rgba(199,153,59,.26);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(199,153,59,.14);
  font-size: .84rem;
  font-weight: 700;
}
.dropzone-field {
  min-height: 178px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 24px;
  border: 2px dashed rgba(14,39,71,.18);
  border-radius: var(--radius);
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(216,174,85,.08), rgba(14,39,71,.035)),
    #fff;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.dropzone-field input { display: none; }
.dropzone-field > .material-icons-round {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--gold-2);
  font-size: 30px;
}
.dropzone-field strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}
.dropzone-field em {
  display: block;
  color: var(--gold);
  font-style: normal;
  font-size: .9rem;
  font-weight: 700;
}
.dropzone-field small {
  display: block;
  color: var(--gray);
  font-weight: 700;
}
.dropzone-field.is-dragover,
.dropzone-field:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background:
    linear-gradient(135deg, rgba(216,174,85,.18), rgba(14,39,71,.05)),
    #fff;
}
.attachment-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}
.attachment-link .material-icons-round {
  color: var(--gold);
  font-size: 20px;
}
.attachment-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.selected-files {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.selected-files:empty::before {
  content: attr(data-empty-text);
  color: var(--gray);
  font-size: .86rem;
  font-weight: 700;
}
.selected-files span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: #fff;
  font-weight: 700;
}
.selected-files span strong {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}
.selected-files small {
  color: var(--gray);
  white-space: nowrap;
}
.selected-files img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  flex: 0 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #F7F9FC;
}
.admin-thumb {
  width: 66px;
  height: 48px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #F7F9FC;
}
.blog-media-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.blog-media-admin-grid label {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.blog-media-admin-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #F7F9FC;
}
.blog-media-admin-grid span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8A241A;
  font-size: .86rem;
  font-weight: 800;
}
.current-media-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.current-media-preview img {
  width: 156px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #F7F9FC;
}
.current-media-preview strong {
  display: block;
  color: var(--navy);
  font-weight: 900;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.form-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-actions .material-icons-round {
  font-size: 20px;
}
.invoice-items {
  display: grid;
  gap: 10px;
}
.invoice-add-item {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.invoice-items-head,
.invoice-item-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.1fr) minmax(220px, 1.4fr) minmax(95px, .55fr) minmax(120px, .7fr) 44px;
  gap: 10px;
  align-items: center;
}
.invoice-items-head {
  color: var(--gray);
  font-size: .82rem;
  font-weight: 700;
}
.invoice-item-row {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.icon-action {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
}
.icon-action.danger {
  color: #b42318;
}
.invoice-live-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.invoice-live-summary div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.invoice-live-summary span,
.invoice-live-summary strong {
  display: block;
}
.invoice-live-summary span {
  color: var(--gray);
  font-size: .84rem;
  font-weight: 700;
}
.invoice-live-summary strong {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 700;
}
.payment-history-row {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.payment-history-row:last-child {
  border-bottom: 0;
}
.payment-history-row strong {
  color: var(--navy);
}
.payment-history-row span,
.payment-history-row small {
  color: var(--gray);
  font-weight: 700;
}
.payment-history-row small {
  line-height: 1.8;
}
.whatsapp-inbox {
  display: grid;
  gap: 12px;
}
.whatsapp-thread {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #F7F9FC;
}
.whatsapp-thread-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.whatsapp-thread-head strong,
.whatsapp-thread-head small {
  display: block;
}
.whatsapp-thread-head strong {
  color: var(--navy);
  font-weight: 800;
}
.whatsapp-thread-head small,
.whatsapp-thread p {
  color: var(--gray);
  font-weight: 700;
}
.whatsapp-thread p {
  margin: 0 0 12px;
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .sector-grid, .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engine-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engine-board::before { display: none; }
  .hero-copy { width: 72%; }
  .campaign-scene { height: 690px; }
  .trust-layout { grid-template-columns: 1fr; gap: 24px; }
  .trust-metrics div { padding-inline: 18px; }
  .tag-strategy { right: 0; }
  .tag-content { left: 0; }
  .tag-lead { right: 0; }
  .tag-report { left: 0; }
  .admin-sidebar {
    inset: 0 0 0 auto;
    width: min(304px, 86vw);
    transform: translateX(110%);
    box-shadow: none;
  }
  .admin-body.sidebar-open .admin-sidebar {
    transform: translateX(0);
    box-shadow: -18px 0 44px rgba(16,24,33,.24);
  }
  .admin-body.sidebar-open .admin-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .sidebar-brand { display: block; }
  .admin-main { margin-right: 0; padding: 18px; }
  .admin-menu-toggle { display: grid; }
  .kanban { grid-template-columns: repeat(3, 230px); }
  .kanban-leads { grid-template-columns: repeat(6, minmax(235px, 260px)); }
  .admin-filter-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-actions { grid-column: 1 / -1; }
  .error-panel { width: 72%; }
}
@media (max-width: 1199.98px) {
  .glass-nav .navbar-collapse {
    margin-top: 10px;
    padding: 16px;
    border: 1px solid rgba(248,245,238,.14);
    border-radius: var(--radius);
    background: rgba(7,24,43,.96);
    box-shadow: var(--shadow-md);
  }
  .glass-nav.is-scrolled .navbar-collapse {
    border-color: rgba(14,39,71,.1);
    background: rgba(248,245,238,.98);
  }
  .glass-nav .navbar-nav { align-items: stretch; }
  .glass-nav .nav-link { margin: 2px 0; }
  .glass-nav .navbar-collapse > .d-flex {
    align-items: stretch !important;
    flex-direction: column;
    margin-top: 12px;
  }
  .client-portal-link,
  .language-control {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .section-pad { padding: 56px 0; }
  .hero-section {
    height: auto;
    min-height: 640px;
    max-height: none;
    padding: 116px 0 64px;
  }
  .hero-bg {
    background-image:
      linear-gradient(90deg, rgba(7,24,43,.76), rgba(7,24,43,.94)),
      linear-gradient(0deg, rgba(7,24,43,.78), transparent 38%),
      url('../assets/generated/libya-marketing-hero.webp');
    background-position: 31% center;
  }
  .hero-content { height: auto; display: block; }
  .hero-copy { width: 100%; padding-top: 0; }
  .hero-content h1 { max-width: 13ch; font-size: 2.65rem; line-height: 1.36; }
  .hero-content .lead { max-width: 36rem; font-size: 1rem; line-height: 1.95; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .hero-actions .btn { width: 100%; min-height: 52px; }
  .hero-type { display: none; }
  .hero-metrics {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 54px;
  }
  .hero-metrics div { min-width: 0; padding: 0 10px; }
  .hero-metrics strong { font-size: 1.45rem; }
  .hero-metrics span { display: block; font-size: .72rem; line-height: 1.45; }
  .scroll-cue { display: none; }
  .trust-strip { padding: 38px 0; }
  .trust-intro h2 { max-width: 16ch; font-size: 1.55rem; }
  .trust-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .trust-metrics div { padding: 16px; border-block-start: 1px solid rgba(248,245,238,.14); }
  .trust-metrics div:nth-child(odd) { border-inline-start: 0; }
  .trust-metrics div:nth-child(-n + 2) { border-block-start: 0; }
  .trust-metrics strong { font-size: 2rem; }
  .trust-metrics span { font-size: .8rem; }
  .error-hero {
    min-height: 760px;
    padding: 126px 0 74px;
  }
  .error-hero-bg {
    background-image:
      linear-gradient(90deg, rgba(7,24,43,.76), rgba(7,24,43,.94)),
      linear-gradient(0deg, rgba(7,24,43,.78), transparent 38%),
      url('../assets/generated/libya-marketing-hero.webp');
    background-position: 31% center;
  }
  .error-hero-content {
    min-height: 0;
    display: block;
  }
  .error-panel { width: 100%; }
  .error-panel h1 { max-width: 100%; }
  .error-panel p { font-size: 1.03rem; line-height: 1.85; }
  .error-code-mark {
    top: 120px;
    left: -18px;
    opacity: .55;
  }
  .error-icon {
    width: 58px;
    height: 58px;
  }
  .error-icon img {
    width: 36px;
  }
  .error-actions { display: grid; grid-template-columns: 1fr; }
  .error-actions .btn { justify-content: center; width: 100%; }
  .impact-stage { min-height: 760px; }
  .impact-content { padding-top: 54px; }
  .impact-intro { text-align: right; }
  .impact-intro h2 { font-size: 2rem; line-height: 1.45; }
  .impact-intro p { font-size: .98rem; line-height: 1.9; }
  .impact-intro .link-arrow { min-height: 48px; align-items: center; }
  .impact-words { display: none; }
  .campaign-scene { height: 440px; margin-top: 18px; }
  .campaign-device { top: 34px; width: min(360px, 100%); }
  .device-creative { min-height: 270px; padding: 22px; }
  .device-creative img { width: 96px; }
  .device-creative h3 { font-size: 1.45rem; line-height: 1.4; }
  .device-results { padding: 14px 8px; }
  .device-results div { padding: 0 6px; }
  .device-results strong { font-size: 1.05rem; }
  .scene-tag { display: none; }
  .engine-step {
    min-height: 0;
    padding: 20px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
  }
  .engine-step .material-icons-round { margin: 0; }
  .engine-step h3 { margin: 0; }
  .engine-step p { grid-column: 2; margin-top: 8px; line-height: 1.85; }
  .home-solution-item:nth-child(n + 3),
  .home-work-item:nth-child(n + 2) { display: none; }
  .sector-tile { min-height: 220px; padding: 22px; }
  .section-head { margin-bottom: 30px; }
  .section-head h2, .section-pad h2 { font-size: 1.9rem; line-height: 1.5; }
  .section-actions { align-items: stretch; flex-direction: column; padding: 18px; }
  .section-actions .btn, .section-actions-buttons { width: 100%; }
  .section-actions-buttons { display: grid; grid-template-columns: 1fr; }
  .section-actions-buttons .btn { min-height: 48px; }
  .method-section .btn, .contact-band .btn { width: 100%; min-height: 48px; }
  .sector-grid, .value-grid, .module-grid, .engine-board { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; }
  .report-toolbar { grid-template-columns: 1fr; }
  .activity-filter { grid-template-columns: 1fr; }
  .role-abilities { grid-template-columns: 1fr; }
  .admin-filter-form { grid-template-columns: 1fr; }
  .filter-actions { flex-direction: column; }
  .btn-filter,
  .btn-reset-filter { width: 100%; }
  .language-control { width: 100%; margin-top: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .form-section { padding: 14px; }
  .form-section-head { align-items: center; }
  .dropzone-field { min-height: 158px; padding: 18px; }
  .client-portal-page { padding: 112px 0 52px; }
  .client-login-shell {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
  }
  .client-login-visual {
    min-height: 430px;
    padding: 32px;
  }
  .client-login-visual h1 { font-size: 2.25rem; }
  .client-login-stats { grid-template-columns: 1fr; }
  .portal-hero-card {
    flex-direction: column;
    min-height: 0;
    border-radius: var(--radius-lg);
  }
  .portal-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portal-grid {
    grid-template-columns: 1fr;
  }
  .blog-detail-layout {
    grid-template-columns: 1fr;
  }
  .work-detail-layout {
    grid-template-columns: 1fr;
  }
  .work-detail-side {
    position: static;
    order: -1;
  }
  .work-detail-grid {
    grid-template-columns: 1fr;
  }
  .work-detail-block,
  .work-detail-block:first-child {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }
  .work-detail-block:first-child {
    border-top: 0;
  }
  .blog-detail-side {
    position: static;
    order: -1;
  }
  .blog-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portal-file-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .invoice-items-head { display: none; }
  .invoice-item-row { grid-template-columns: 1fr; }
  .invoice-item-row .icon-action { width: 100%; }
  .invoice-live-summary { grid-template-columns: 1fr; }
  .admin-topbar {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
  }
  .admin-topbar-copy { min-width: 0; }
  .admin-topbar-copy span { font-size: .86rem; line-height: 1.55; }
  .topbar-tools { gap: 6px; }
  .user-meta { display: none; }
  .admin-user-menu { width: 42px; padding: 4px; justify-content: center; }
  .admin-user-menu > .material-icons-round { display: none; }
  .admin-title { align-items: flex-start; flex-direction: column; }
  .admin-title h1 { font-size: 1.55rem; line-height: 1.35; }
  .quick-actions { width: 100%; }
  .quick-actions a { flex: 1 1 150px; justify-content: center; }
  .kanban { grid-template-columns: 1fr; }
  .kanban-leads { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .hero-content h1 { font-size: 2.35rem; }
  .impact-intro h2 { font-size: 1.82rem; }
  .section-head h2, .section-pad h2 { font-size: 1.78rem; }
  .inner-hero h1 { font-size: 2.7rem; }
  .client-preview-tabs button { flex: 1 1 calc(50% - 8px); }
  .portal-metrics { grid-template-columns: 1fr; }
  .portal-tabs { border-radius: 14px; }
  .portal-tabs button {
    min-height: 42px;
    padding: 8px 12px;
    font-size: .9rem;
  }
  .portal-card,
  .portal-file-grid { padding: 16px; }
  .portal-list-item {
    flex-direction: column;
    padding: 16px;
  }
  .portal-file-grid { grid-template-columns: 1fr; }
  .portal-progress strong { font-size: 2.3rem; }
  .admin-main { padding: 12px; }
  .admin-topbar {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 12px;
  }
  .admin-topbar .topbar-tools { grid-column: 1 / -1; justify-content: stretch; }
  .admin-topbar .topbar-tools > * { flex: 1 1 0; }
  .admin-topbar .topbar-icon,
  .admin-topbar .admin-user-menu { width: 100%; }
  .admin-panel, .metric-card { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
