/* =====================================================
   مدينة الأعمال — Business City
   Premium Modern Stylesheet (v2: multi-page)
   ===================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #0d2552;
  --navy-800: #14366f;
  --navy-700: #1c4a93;
  --blue-500: #2a87c9;
  --blue-400: #4ba2db;
  --blue-300: #7ec0e8;
  --teal-500: #2bb6a6;
  --teal-400: #3dbfb5;
  --teal-300: #6dd5c8;
  --ink: #122340;
  --ink-soft: #4b5b75;
  --muted: #6f7f95;
  --line: #e3eaf3;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --bg-blue: #eaf3fb;
  --shadow-sm: 0 4px 16px rgba(15, 50, 110, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 50, 110, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 50, 110, 0.12);
  --shadow-xl: 0 30px 80px rgba(15, 50, 110, 0.18);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --grad-blue: linear-gradient(135deg, var(--navy-800) 0%, var(--blue-500) 100%);
  --grad-teal: linear-gradient(135deg, var(--teal-500) 0%, var(--blue-500) 100%);
  --grad-soft: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Tajawal', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.3; color: var(--ink); font-weight: 800; }
p { margin: 0; color: var(--ink-soft); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.grad {
  background: var(--grad-teal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-light {
  background: linear-gradient(135deg, #6dd5c8 0%, #7ec0e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--teal-500);
  background: rgba(43, 182, 166, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.kicker.light {
  background: rgba(255,255,255,.18);
  color: #fff;
}

.section-head { margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  margin-bottom: 14px;
}
.section-head .lead {
  font-size: 17px;
  max-width: 680px;
  color: var(--ink-soft);
}
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  transition: all .3s cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(28, 74, 147, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(28, 74, 147, 0.36);
}
.btn-light {
  background: rgba(255,255,255,.95);
  color: var(--navy-800);
  border: 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-light:hover {
  background: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,.6);
  color: var(--navy-800);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  background: #fff;
  border-color: var(--blue-400);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(227, 234, 243, 0.4);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(15,50,110,.06);
}

/* Home page: solid navbar (no transparency / no blur) */
.home-page .site-header,
.home-page .site-header.scrolled {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(15, 50, 110, 0.06);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  padding: 4px 14px 4px 8px;
  border-radius: 22px;
  isolation: isolate;
}
.brand::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 20px;
  background: radial-gradient(120% 140% at 50% 0%, rgba(43,135,201,.12) 0%, rgba(43,135,201,0) 60%);
  opacity: 0;
  transition: opacity .45s ease;
  z-index: -1;
}
.brand::after {
  content: '';
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-500, #2b87c9), transparent);
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1);
  z-index: -1;
}
.brand:hover::before { opacity: 1; }
.brand:hover::after { opacity: 1; transform: scaleX(1); }

.brand-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 6px 14px rgba(20, 54, 111, 0.22))
    drop-shadow(0 2px 4px rgba(20, 54, 111, 0.14));
  transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .45s ease;
  animation: brandEntrance 1s cubic-bezier(.2,.7,.2,1) both;
  will-change: transform, filter;
}

@keyframes brandEntrance {
  0%   { opacity: 0; transform: translateY(-10px) scale(.92); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.nav-menu {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-menu a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: all .25s ease;
  position: relative;
}
.nav-menu a:hover {
  color: var(--navy-800);
  background: var(--bg-blue);
}
.nav-menu a.active {
  color: #fff;
  background: var(--grad-blue);
  box-shadow: 0 8px 18px rgba(28, 74, 147, 0.22);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 12px;
  background: var(--bg-blue);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--navy-800);
  border-radius: 4px;
  transition: all .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

@media (max-width: 980px) {
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 18px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--line);
  }
  .nav-menu.open a {
    display: block;
    padding: 14px 18px;
    border-radius: 12px;
  }
  .header-inner { height: 102px; }
  .brand-logo { height: 92px; }
  .brand { padding: 3px 10px 3px 6px; }
}
@media (max-width: 480px) {
  .header-inner { height: 86px; }
  .brand-logo { height: 74px; }
  .brand { padding: 2px 8px 2px 4px; }
  .brand-logo {
    filter:
      drop-shadow(0 4px 10px rgba(20, 54, 111, 0.20))
      drop-shadow(0 1px 3px rgba(20, 54, 111, 0.12));
  }
}

/* ============================================================
   HERO with background image
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(43,182,166,.28), transparent 60%),
    radial-gradient(900px 500px at 10% 80%, rgba(42,135,201,.30), transparent 60%),
    linear-gradient(135deg, #0a1f3f 0%, #14366f 60%, #1c4a93 100%);
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  z-index: -2;
  filter: saturate(1.1) brightness(.85);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13,37,82,.6) 0%, rgba(13,37,82,.3) 40%, rgba(13,37,82,.85) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(13,37,82,.5) 100%);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  max-width: 720px;
  text-align: start;
  color: #fff;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
}
.hero-tag i { color: var(--teal-300); font-size: 11px; }

.hero-title {
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 22px;
  color: #fff;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: 17.5px;
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin: 0 0 32px;
  line-height: 1.95;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 18px;
  padding-top: 38px;
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hm-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.hm-item span {
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
}
a.hm-item:hover {
  color: #fff;
  transform: translateY(-3px);
  background: rgba(255,255,255,.1);
  border-color: rgba(43,182,166,.55);
  box-shadow: 0 14px 32px rgba(8,22,52,.35);
}
.hm-item i {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(43,182,166,.22);
  color: var(--teal-300, #6dd5c8);
  font-size: 22px;
  border: 1px solid rgba(43,182,166,.4);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
a.hm-item:hover i {
  background: rgba(43,182,166,.34);
  border-color: rgba(43,182,166,.7);
  transform: scale(1.06);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-cue span {
  display: block;
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,.7);
  border-radius: 100px;
  animation: scrollDown 1.6s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: .8; }
  60% { transform: translateY(10px); opacity: 0; }
  61% { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: .8; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-text { text-align: center; max-width: 820px; margin: 0 auto; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-cta { justify-content: center; }
  .hero-meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding-top: 30px;
  }
  .hm-item { padding: 14px 16px; font-size: 14.5px; gap: 12px; }
  .hm-item i { width: 44px; height: 44px; font-size: 20px; }
}

@media (max-width: 640px) {
  .hero { padding: 120px 0 70px; min-height: auto; }
  .hero-meta {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 24px;
  }
  .hm-item { padding: 14px 16px; font-size: 15px; justify-content: flex-start; }
  .hm-item i { width: 44px; height: 44px; font-size: 20px; border-radius: 12px; }
  .scroll-cue { display: none; }
}

/* ============================================================
   PAGE HERO (digital.html, electronic.html)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 150px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(43,182,166,.10), transparent 60%),
    radial-gradient(800px 400px at 0% 50%, rgba(42,135,201,.10), transparent 60%),
    var(--bg-soft);
  text-align: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
}
.orb-1 { width: 380px; height: 380px; background: var(--blue-300); top: -80px; right: -80px; }
.orb-2 { width: 480px; height: 480px; background: var(--teal-300); bottom: -200px; left: -100px; }

.page-hero .container { position: relative; }
.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 22px;
  font-weight: 600;
}
.breadcrumbs a {
  color: var(--navy-800);
  transition: color .25s ease;
}
.breadcrumbs a:hover { color: var(--teal-500); }
.breadcrumbs i { font-size: 10px; opacity: .6; }
.breadcrumbs span { color: var(--ink-soft); }

.page-hero h1 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 auto 18px;
  max-width: 900px;
  color: var(--navy-900);
}
.page-hero .lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--ink-soft);
}

/* Brand filter chips on electronic page */
.brand-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.bf-btn {
  padding: 8px 18px;
  border-radius: 100px;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 13.5px;
  transition: all .25s ease;
}
.bf-btn:hover { color: var(--navy-800); border-color: var(--blue-400); }
.bf-btn.active {
  background: var(--grad-blue);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(28,74,147,.22);
}

/* ============================================================
   MARQUEES
   ============================================================ */
.marquee-section {
  padding: 80px 0 50px;
  background: #fff;
}
.marquee {
  position: relative;
  overflow: hidden;
  padding: 24px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}
[dir="rtl"] .marquee-track { animation-direction: reverse; }

.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 84px;
  padding: 0 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
.brand-chip span {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.brand-chip:hover {
  transform: translateY(-3px);
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
}
.brand-chip--logo { padding: 14px 22px; }
.brand-chip--logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .75;
  transition: filter .3s ease, opacity .3s ease;
}
.brand-chip--logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.clients-section {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.clients-marquee .marquee-track {
  animation-duration: 70s;
  gap: 24px;
}
.client-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 110px;
  padding: 14px 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: all .3s ease;
  flex-shrink: 0;
}
.client-chip img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.client-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   ABOUT — Stacking Cards
   ============================================================ */
.about {
  padding: 100px 0;
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  margin-bottom: 22px;
}
.about-text p {
  font-size: 16.5px;
  line-height: 1.95;
  margin-bottom: 18px;
}
.about-text p strong {
  color: var(--navy-800);
  font-weight: 800;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.ap-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-800);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0s);
}
.ap-item.revealed {
  opacity: 1;
  transform: translateY(0);
}
.ap-item:nth-child(1) { --d: 0s; }
.ap-item:nth-child(2) { --d: 0.1s; }
.ap-item:nth-child(3) { --d: 0.2s; }
.ap-item:nth-child(4) { --d: 0.3s; }
.ap-item i {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--grad-teal);
  color: #fff;
  font-size: 15px;
}

/* Stacking Cards */
.stack-wrap {
  position: relative;
  height: 400px;
  perspective: 1200px;
}
.stack-wrap.single {
  height: auto;
  perspective: none;
}
.stack-card {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition:
    transform .8s cubic-bezier(.2,.7,.2,1),
    opacity .6s ease,
    filter .6s ease;
  will-change: transform, opacity;
  transform-origin: center bottom;
}
.stack-wrap.single .stack-card {
  position: relative;
  inset: auto;
  padding: 56px 44px;
  transform: none;
}
/* Active = in front */
.stack-card[data-pos="0"] {
  transform: translate3d(0, 0, 0) scale(1);
  z-index: 4;
  opacity: 1;
  filter: blur(0);
}
.stack-card[data-pos="1"] {
  transform: translate3d(0, -28px, -40px) scale(0.94);
  z-index: 3;
  opacity: 0.7;
  filter: blur(0.5px);
}
.stack-card[data-pos="2"] {
  transform: translate3d(0, -54px, -80px) scale(0.88);
  z-index: 2;
  opacity: 0.4;
  filter: blur(1px);
}
.stack-card[data-pos="3"] {
  transform: translate3d(0, -78px, -120px) scale(0.82);
  z-index: 1;
  opacity: 0;
}

.sc-num {
  position: absolute;
  top: 28px;
  left: 32px;
  font-size: 56px;
  font-weight: 900;
  color: var(--navy-800);
  opacity: .07;
  letter-spacing: -2px;
}
.sc-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--grad-teal);
  color: #fff;
  font-size: 26px;
  margin-bottom: 22px;
  box-shadow: 0 12px 28px rgba(43,182,166,.32);
}
.stack-card h3 {
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--navy-900);
}
.stack-card p {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.stack-dots {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.sd-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
}
.sd-dot.active {
  background: var(--grad-blue);
  width: 28px;
  border-radius: 100px;
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 80px; }
  .stack-wrap { height: 380px; }
}
@media (max-width: 640px) {
  .stack-wrap { height: 360px; }
  .about-pillars { grid-template-columns: 1fr; }
  .stack-card { padding: 36px 28px; }
  .sc-num { font-size: 44px; }
}

/* ============================================================
   SOLUTIONS section (with images, organized layout)
   ============================================================ */
.solutions {
  padding: 100px 0;
  background: var(--bg-soft);
  position: relative;
}
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sol-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
  opacity: 0;
  transform: translateY(24px);
}
.sol-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.sol-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.sol-large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-direction: row;
}
.sol-large .sol-img {
  height: 100%;
  min-height: 320px;
}
.sol-large.sol-flip {
  direction: ltr;
}
.sol-large.sol-flip .sol-body {
  direction: rtl;
}

.sol-img {
  position: relative;
  height: 220px;
  background: var(--grad-blue);
  overflow: hidden;
}
.sol-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.sol-card:hover .sol-img img {
  transform: scale(1.06);
}
.sol-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,37,82,.55) 100%);
}
.sol-body {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sol-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--bg-blue);
  color: var(--navy-800);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
  align-self: flex-start;
}
.sol-body h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--navy-900);
  line-height: 1.4;
}
.sol-body p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.sol-feats {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.sol-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.sol-feats i {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(43,182,166,.15);
  color: var(--teal-500);
  font-size: 10px;
}

@media (max-width: 1024px) {
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-large { grid-column: span 2; grid-template-columns: 1fr; }
  .sol-large .sol-img { height: 280px; min-height: auto; }
}
@media (max-width: 640px) {
  .sol-grid { grid-template-columns: 1fr; }
  .sol-large { grid-column: span 1; }
}

/* ============================================================
   PRODUCTS PAGES (digital.html, electronic.html)
   ============================================================ */
.products-page {
  padding: 50px 0 100px;
  background: var(--bg-soft);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* ============== LOGO-STYLE CARD ============== */
.product-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(42,135,201,.25);
}

.card-brand {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c1, var(--navy-800)) 0%, var(--c2, var(--blue-500)) 100%);
  overflow: hidden;
}
.card-brand.has-img {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.card-brand.has-img::before,
.card-brand.has-img::after { display: none; }

.card-brand.has-photo {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.card-brand.has-photo::before,
.card-brand.has-photo::after { display: none; }
.bl-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.product-card:hover .bl-photo {
  transform: scale(1.06);
}
.card-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(450px 220px at 50% 100%, rgba(255,255,255,.16), transparent 70%),
    radial-gradient(280px 280px at 100% 0%, rgba(255,255,255,.10), transparent 70%);
  pointer-events: none;
}
.card-brand::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
}

.bl-img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.product-card:hover .bl-img {
  transform: scale(1.06);
}
.bl-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.product-card:hover .bl-text {
  transform: translateY(-4px);
}
.bl-tag {
  display: block;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.7));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bl-sub {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-type {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-500);
  letter-spacing: .2px;
  margin-bottom: 8px;
}
.card-title {
  font-size: 19px;
  margin-bottom: 6px;
  color: var(--navy-900);
  line-height: 1.35;
  font-weight: 800;
}
.card-partner {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
}
.card-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 18px;
  flex: 1;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.btn-details {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-blue);
  color: var(--navy-800);
  border-radius: 100px;
  font-weight: 700;
  font-size: 13.5px;
  transition: all .25s ease;
}
.product-card:hover .btn-details {
  background: var(--grad-blue);
  color: #fff;
}
.btn-details i { font-size: 11px; }

.variants-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-500);
  padding: 6px 12px;
  background: rgba(43,182,166,.1);
  border-radius: 100px;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail {
  padding-top: 78px;
  background: var(--bg-soft);
}
.detail-hero {
  padding: 50px 0 70px;
  background: var(--bg-soft);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: start;
  margin-top: 24px;
}

.detail-media {
  position: sticky;
  top: 100px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 30px;
  overflow: hidden;
}

.detail-swiper {
  width: 100%;
  height: 460px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f6fbff, #eaf3fb);
  margin-bottom: 16px;
}
.detail-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-swiper .ds-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.detail-swiper .ds-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(15,50,110,.18));
}
.detail-swiper .swiper-pagination-bullet {
  background: var(--blue-400);
  opacity: .4;
}
.detail-swiper .swiper-pagination-bullet-active {
  background: var(--navy-800);
  opacity: 1;
  width: 22px;
  border-radius: 4px;
}
.detail-swiper .swiper-button-prev,
.detail-swiper .swiper-button-next {
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--navy-800);
  --swiper-navigation-size: 16px;
}

.detail-thumbs {
  height: 80px;
  margin-top: 12px;
}
.detail-thumbs .swiper-slide {
  background: var(--bg-soft);
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  overflow: hidden;
  opacity: .55;
  transition: all .25s ease;
}
.detail-thumbs .swiper-slide:hover { opacity: 1; }
.detail-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--blue-400);
}
.detail-thumbs img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ds-img.single {
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f6fbff, #eaf3fb);
  border-radius: var(--radius);
  padding: 30px;
}
.ds-img.single img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.ds-img.placeholder {
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
  color: #fff;
}
.ds-img.placeholder .bl-tag { font-size: 60px; }
.ds-img.placeholder .bl-sub { font-size: 13px; letter-spacing: 3px; }
.ds-img.placeholder .bl-img {
  max-height: 200px;
  background: rgba(255,255,255,.96);
  padding: 24px 36px;
}

.detail-info {
  padding-top: 10px;
}
.detail-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(43,182,166,.12);
  color: var(--teal-500);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: .3px;
}
.detail-info h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-bottom: 14px;
  color: var(--navy-900);
  line-height: 1.25;
}
.detail-partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.detail-partner i { color: var(--teal-500); }
.detail-partner strong { color: var(--navy-800); font-weight: 800; }

.detail-desc {
  font-size: 16.5px;
  line-height: 2;
  color: var(--ink-soft);
  margin-bottom: 30px;
}

.detail-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-content {
  padding: 60px 0 80px;
  background: #fff;
}
.detail-section {
  max-width: 980px;
  margin: 0 auto 50px;
}
.detail-section h3 {
  font-size: 24px;
  margin-bottom: 22px;
  color: var(--navy-900);
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.7;
}
.features-list i {
  color: var(--teal-500);
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

.variants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.variant-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .25s ease;
}
.variant-card:hover {
  border-color: var(--blue-400);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.vc-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--grad-teal);
  color: #fff;
  font-size: 16px;
  margin-bottom: 14px;
}
.variant-card strong {
  display: block;
  font-size: 16px;
  color: var(--navy-800);
  margin-bottom: 6px;
}
.variant-card span {
  display: block;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.related-section {
  padding: 70px 0 90px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.not-found {
  text-align: center;
  padding: 120px 0;
}
.not-found h2 {
  font-size: 32px;
  margin-bottom: 14px;
}
.not-found p {
  margin-bottom: 30px;
  color: var(--ink-soft);
}

@media (max-width: 1024px) {
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .detail-media { position: static; }
  .features-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .detail-swiper, .ds-img.single, .ds-img.placeholder { height: 320px; }
}

/* ============================================================
   CONTACT / CTA
   ============================================================ */
.contact-section {
  padding: 70px 0 80px;
  background: var(--bg-soft);
}
.contact-card {
  position: relative;
  background: var(--grad-blue);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  align-items: center;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.contact-card::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,182,166,.4), transparent 70%);
  top: -200px;
  left: -160px;
  pointer-events: none;
}
.cc-text { position: relative; z-index: 2; }
.cc-text h2 {
  color: #fff;
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 16px;
}
.cc-text p {
  color: rgba(255,255,255,.82);
  font-size: 16px;
  margin-bottom: 28px;
}
.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 28px;
}
.contact-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.92);
  font-weight: 500;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.contact-list li:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-1px);
}
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}
.contact-list i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  color: var(--teal-300);
  font-size: 14px;
}

.cc-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 360px;
}
.cc-orb {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.cc-visual img {
  position: relative;
  width: 340px;
  max-width: 100%;
  opacity: 1;
  filter: drop-shadow(0 18px 38px rgba(0,0,0,.35));
}
.cc-visual .cc-mark {
  filter: drop-shadow(0 18px 38px rgba(0,0,0,.35));
  image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 900px) {
  .contact-card { grid-template-columns: 1fr; padding: 40px; }
  .cc-visual { height: 320px; }
  .cc-visual img { width: 300px; }
  .cc-orb { width: 340px; height: 340px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.7);
  padding: 70px 0 30px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.foot-brand img {
  height: 220px;
  width: auto;
  max-width: 100%;
  margin-bottom: 22px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
}
.foot-brand p {
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(255,255,255,.6);
}
.foot-col h5 {
  color: #fff;
  font-size: 15.5px;
  margin-bottom: 18px;
  font-weight: 800;
}
.foot-col ul { display: grid; gap: 10px; }
.foot-col li { font-size: 14px; color: rgba(255,255,255,.6); }
.foot-col a { color: rgba(255,255,255,.6); transition: color .25s ease; }
.foot-col a:hover { color: var(--teal-400); }
.foot-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.foot-legal a {
  color: rgba(255,255,255,.55);
  font-size: 13px;
  transition: color .25s ease;
}
.foot-legal a:not(:last-child)::after {
  content: '·';
  margin-inline-start: 14px;
  color: rgba(255,255,255,.3);
}
.foot-legal a:hover { color: var(--teal-400); }
@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .foot-bottom { flex-direction: column; text-align: center; gap: 14px; }
  .foot-legal { justify-content: center; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   NAV DROPDOWNS
   ============================================================ */
.nav-dd { position: relative; }
.nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-soft);
  font-family: inherit;
  transition: all .25s ease;
}
.nav-drop-trigger i {
  font-size: 10px;
  transition: transform .25s ease;
  margin-top: 2px;
}
.nav-drop-trigger:hover {
  color: var(--navy-800);
  background: var(--bg-blue);
}
.nav-drop-trigger.active {
  color: #fff;
  background: var(--grad-blue);
  box-shadow: 0 8px 18px rgba(28, 74, 147, 0.22);
}
.nav-dd.open .nav-drop-trigger i { transform: rotate(180deg); }

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 50;
}
.nav-dd:hover .nav-drop-menu,
.nav-dd.open .nav-drop-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-drop-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: all .2s ease;
}
.nav-drop-menu a:hover {
  background: var(--bg-blue);
  color: var(--navy-800);
}
.nav-drop-menu a.active {
  background: var(--grad-blue);
  color: #fff;
}

@media (max-width: 980px) {
  .nav-drop-trigger { width: 100%; justify-content: space-between; padding: 14px 18px; }
  .nav-drop-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-soft);
    padding: 4px 12px 8px;
    margin-top: 4px;
    margin-bottom: 4px;
    border-radius: 12px;
    display: none;
  }
  .nav-dd.open .nav-drop-menu { display: block; }
}

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.wa-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 14px 30px rgba(37, 211, 102, .4);
  z-index: 90;
  transition: transform .3s ease, box-shadow .3s ease;
  animation: waPulse 2.5s ease-in-out infinite;
}
.wa-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 40px rgba(37, 211, 102, .55);
  animation: none;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 14px 30px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, .55); }
  50% { box-shadow: 0 14px 30px rgba(37, 211, 102, .4), 0 0 0 14px rgba(37, 211, 102, 0); }
}
@media (max-width: 640px) {
  .wa-fab { width: 54px; height: 54px; font-size: 26px; bottom: 18px; left: 18px; }
}

/* ============================================================
   INNER-PAGE TOP SPACING (when page-hero is removed)
   ============================================================ */
main > section:first-child:not(.hero):not(.product-detail) {
  padding-top: 150px;
}
@media (max-width: 980px) {
  main > section:first-child:not(.hero):not(.product-detail) {
    padding-top: 124px;
  }
}
@media (max-width: 480px) {
  main > section:first-child:not(.hero):not(.product-detail) {
    padding-top: 108px;
  }
}

/* Brand filter centered on electronic page */
.products-page > .container > .brand-filter {
  margin: 0 auto 36px;
  justify-content: center;
}
.brand-filter:empty { display: none; }

/* ============================================================
   PAGE HERO with background image (light text variant)
   ============================================================ */
.page-hero.with-bg {
  padding: 170px 0 100px;
  color: #fff;
  background: var(--navy-900);
  isolation: isolate;
}
.page-hero.with-bg .page-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}
.phb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
  z-index: -2;
}
.phb-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13,37,82,.7) 0%, rgba(13,37,82,.85) 100%),
    radial-gradient(900px 400px at 100% 0%, rgba(43,182,166,.20), transparent 60%);
}
.page-hero.with-bg .breadcrumbs.light a { color: rgba(255,255,255,.85); }
.page-hero.with-bg .breadcrumbs.light a:hover { color: var(--teal-300); }
.page-hero.with-bg .breadcrumbs.light span { color: rgba(255,255,255,.65); }
.page-hero.with-bg .breadcrumbs.light i { color: rgba(255,255,255,.5); }
.page-hero.with-bg h1.light {
  color: #fff;
}
.page-hero.with-bg .lead.light {
  color: rgba(255,255,255,.85);
}
.kicker.light {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}

.section-head h2.light, .section-head .light h2 { color: #fff; }
.section-head .lead.light { color: rgba(255,255,255,.85); }
.kicker.light { color: #fff; }

/* ============================================================
   ABOUT PAGE — Simple Hero
   ============================================================ */
.about-hero {
  padding: 120px 0 90px;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 360px;
  background: radial-gradient(ellipse at center, rgba(42,135,201,.10), transparent 70%);
  pointer-events: none;
}
.ah-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.ah-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 100px;
  background: var(--bg-blue);
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .4px;
  margin-bottom: 22px;
}
.ah-kicker i {
  font-size: 12px;
  color: var(--blue-500);
}
.ah-title {
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.22;
  color: var(--navy-900);
  margin: 0 0 22px;
  letter-spacing: -.3px;
  font-weight: 900;
}
.ah-lead {
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0 auto 54px;
}
.ah-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.ah-stat {
  position: relative;
  text-align: center;
  padding: 4px 16px;
}
.ah-stat + .ah-stat::before {
  content: '';
  position: absolute;
  top: 18%;
  inset-inline-start: 0;
  width: 1px;
  height: 64%;
  background: var(--line);
}
.ah-stat strong {
  display: block;
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  background: var(--grad-teal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ah-stat span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .2px;
}

@media (max-width: 760px) {
  .about-hero { padding: 90px 0 60px; }
  .ah-lead { margin-bottom: 36px; font-size: 16px; }
  .ah-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
    padding: 28px 0;
  }
  .ah-stat + .ah-stat::before { display: none; }
  .ah-stat:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 12%;
    inset-inline-start: 0;
    width: 1px;
    height: 76%;
    background: var(--line);
  }
}

/* ============================================================
   VISION / MISSION / VALUES (Detailed)
   ============================================================ */
.vmv-section {
  padding: 100px 0;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.vmv-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,182,166,.08), transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}
.vmv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vmv-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}
.vmv-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.vmv-card:nth-child(1).revealed { transition-delay: 0s; }
.vmv-card:nth-child(2).revealed { transition-delay: 0.15s; }
.vmv-card:nth-child(3).revealed { transition-delay: 0.3s; }
.vmv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.vmv-num {
  position: absolute;
  top: 20px;
  left: 28px;
  font-size: 64px;
  font-weight: 900;
  color: var(--navy-800);
  opacity: .07;
  line-height: 1;
  letter-spacing: -2px;
}
.vmv-icon {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: var(--grad-teal);
  color: #fff;
  font-size: 28px;
  margin-bottom: 24px;
  box-shadow: 0 14px 30px rgba(43,182,166,.32);
}
.vmv-vision .vmv-icon { background: var(--grad-blue); box-shadow: 0 14px 30px rgba(28,74,147,.32); }
.vmv-mission .vmv-icon { background: linear-gradient(135deg, #2bb6a6 0%, #2a87c9 100%); }
.vmv-values .vmv-icon { background: linear-gradient(135deg, #5b3994 0%, #2a87c9 100%); box-shadow: 0 14px 30px rgba(91,57,148,.32); }

.vmv-card h3 {
  font-size: 26px;
  margin-bottom: 14px;
  color: var(--navy-900);
}
.vmv-card > p {
  font-size: 15px;
  line-height: 1.95;
  margin-bottom: 22px;
  color: var(--ink-soft);
}
.vmv-list {
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.vmv-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}
.vmv-list i {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(43,182,166,.15);
  color: var(--teal-500);
  font-size: 10px;
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .vmv-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   METHODOLOGY — Process Flow
   ============================================================ */
.methodology-section {
  padding: 110px 0;
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(43,182,166,.06), transparent 60%),
    radial-gradient(900px 400px at 0% 100%, rgba(42,135,201,.06), transparent 60%),
    #fff;
  position: relative;
}
.method-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
}
.method-head .kicker {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--bg-blue);
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}
.method-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.25;
  margin-bottom: 16px;
}
.method-head .lead {
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.method-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  padding-top: 30px;
}
.mf-rail {
  position: absolute;
  top: 60px;
  right: 5%;
  left: 5%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--blue-400, #2a87c9) 8%,
    var(--teal-500, #2bb6a6) 50%,
    var(--blue-400, #2a87c9) 92%,
    transparent 100%);
  opacity: .35;
  z-index: 0;
}
.mf-step {
  position: relative;
  text-align: center;
  padding: 0 6px;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
.mf-step.revealed { opacity: 1; transform: translateY(0); }
.mf-step:nth-child(2).revealed { transition-delay: .05s; }
.mf-step:nth-child(3).revealed { transition-delay: .10s; }
.mf-step:nth-child(4).revealed { transition-delay: .15s; }
.mf-step:nth-child(5).revealed { transition-delay: .20s; }
.mf-step:nth-child(6).revealed { transition-delay: .25s; }
.mf-step:nth-child(7).revealed { transition-delay: .30s; }
.mf-num {
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
  color: var(--teal-500, #2bb6a6);
  margin-bottom: 12px;
}
.mf-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(42,135,201,.2);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 12px 28px rgba(20,54,111,.10);
  transition: all .35s cubic-bezier(.2,.7,.2,1);
}
.mf-step:hover .mf-icon {
  background: var(--grad-blue);
  color: #fff;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(20,54,111,.28);
}
.mf-step h4 {
  font-size: 16px;
  color: var(--navy-900);
  margin-bottom: 8px;
  line-height: 1.4;
}
.mf-step p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

@media (max-width: 1100px) {
  .method-flow { grid-template-columns: repeat(3, 1fr); gap: 36px 14px; }
  .mf-rail { display: none; }
}
@media (max-width: 640px) {
  .method-flow { grid-template-columns: repeat(2, 1fr); gap: 32px 12px; }
}
@media (max-width: 420px) {
  .method-flow { grid-template-columns: 1fr; }
}

/* ============================================================
   WHY US
   ============================================================ */
.why-us {
  padding: 100px 0;
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(43,182,166,.18), transparent 60%),
    radial-gradient(800px 400px at 100% 100%, rgba(42,135,201,.20), transparent 60%),
    linear-gradient(135deg, #0a1f3f 0%, #14366f 100%);
  color: #fff;
}
.why-us .section-head h2.light,
.why-us .section-head h2 { color: #fff; }
.why-us .section-head .lead.light,
.why-us .section-head .lead { color: rgba(255,255,255,.85); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  padding: 32px 28px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all .4s cubic-bezier(.2,.7,.2,1);
  opacity: 0;
  transform: translateY(24px);
}
.why-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), background .35s ease, border-color .35s ease;
}
.why-card:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(43,182,166,.4);
  transform: translateY(-4px);
}
.why-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(43,182,166,.2) 0%, rgba(42,135,201,.2) 100%);
  color: var(--teal-300);
  font-size: 22px;
  margin-bottom: 18px;
  border: 1px solid rgba(43,182,166,.25);
}
.why-card h4 {
  font-size: 19px;
  color: #fff;
  margin-bottom: 10px;
}
.why-card p {
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(255,255,255,.78);
}

@media (max-width: 980px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   AFTER-SALES
   ============================================================ */
.after-sales {
  padding: 100px 0;
  background: var(--bg-soft);
}
.as-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.as-card {
  position: relative;
  padding: 32px 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all .35s cubic-bezier(.2,.7,.2,1);
  opacity: 0;
  transform: translateY(24px);
}
.as-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.as-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.as-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 15px;
  font-weight: 900;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.as-icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-teal);
  color: #fff;
  font-size: 24px;
  margin-bottom: 20px;
  box-shadow: 0 12px 24px rgba(43,182,166,.3);
}
.as-card h4 {
  font-size: 17px;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.as-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}
@media (max-width: 1100px) { .as-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .as-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .as-grid { grid-template-columns: 1fr; } }

/* ============================================================
   GREEN FUTURE
   ============================================================ */
.green-future {
  padding: 100px 0;
  background: #fff;
}
.gf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.gf-text { opacity: 0; transform: translateX(20px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.gf-text.revealed { opacity: 1; transform: translateX(0); }
.gf-text h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 22px; }
.gf-text p { font-size: 16px; line-height: 2; margin-bottom: 16px; color: var(--ink-soft); }
.gf-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.gf-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-800);
  padding: 12px 18px;
  background: rgba(43,182,166,.08);
  border-radius: 100px;
  border: 1px solid rgba(43,182,166,.18);
  width: max-content;
}
.gf-list i { color: var(--teal-500); font-size: 18px; }
.gf-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  transform: scale(.94);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.gf-visual.revealed { opacity: 1; transform: scale(1); }
.gf-visual img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 980px) {
  .gf-grid { grid-template-columns: 1fr; gap: 40px; }
  .gf-visual { height: 320px; }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 80px 0;
  background: var(--bg-soft);
}
.cta-card {
  background: var(--grad-blue);
  border-radius: var(--radius-xl);
  padding: 70px 50px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,182,166,.4), transparent 70%);
}
.cta-card::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126,192,232,.3), transparent 70%);
}
.cta-card h2 {
  position: relative;
  color: #fff;
  font-size: clamp(26px, 3.4vw, 40px);
  margin-bottom: 14px;
}
.cta-card p {
  position: relative;
  color: rgba(255,255,255,.85);
  font-size: 17px;
  margin-bottom: 30px;
}
.cta-actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-actions .btn-ghost {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
  color: #fff;
}
.cta-actions .btn-ghost:hover {
  background: #fff;
  color: var(--navy-800);
}

/* ============================================================
   SOLUTIONS OVERVIEW (solutions.html)
   ============================================================ */
.big-solutions {
  padding: 80px 0 60px;
  background: var(--bg-soft);
}
.bs-stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.bs-card {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
  opacity: 0;
  transform: translateY(30px);
}
.bs-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.bs-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.bs-card.bs-flip { direction: ltr; }
.bs-card.bs-flip > * { direction: rtl; }
.bs-img {
  position: relative;
  min-height: 260px;
  background: var(--grad-blue);
  overflow: hidden;
}
.bs-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.bs-card:hover .bs-img img { transform: scale(1.06); }
.bs-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,37,82,.45) 0%, rgba(43,182,166,.25) 100%);
}
.bs-body {
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.bs-num {
  position: absolute;
  top: 22px;
  left: 26px;
  font-size: 52px;
  font-weight: 900;
  color: var(--navy-800);
  opacity: .07;
  letter-spacing: -2px;
  line-height: 1;
}
.bs-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--bg-blue);
  color: var(--navy-800);
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 12px;
  align-self: flex-start;
}
.bs-body h2 {
  font-size: clamp(19px, 1.95vw, 24px);
  margin-bottom: 10px;
  line-height: 1.35;
  color: var(--navy-900);
}
.bs-body p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.bs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}
.bs-tags li {
  padding: 5px 12px;
  background: var(--bg-soft);
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.bs-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  background: var(--grad-blue);
  color: #fff;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13.5px;
  align-self: flex-start;
  transition: all .25s ease;
  box-shadow: 0 8px 18px rgba(28,74,147,.22);
}
.bs-card:hover .bs-cta {
  transform: translateX(-4px);
  box-shadow: 0 14px 28px rgba(28,74,147,.32);
}

@media (max-width: 980px) {
  .bs-card { grid-template-columns: 1fr; }
  .bs-img { min-height: 200px; }
  .bs-body { padding: 30px 24px; }
}

/* Systems showcase grid (solutions.html) */
.systems-showcase {
  padding: 80px 0 100px;
  background: #fff;
}
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

/* ============================================================
   SOLUTION DETAIL PAGES (detailed-solutions, ds-row)
   ============================================================ */
.sol-intro {
  padding: 60px 0 40px;
  background: var(--bg-soft);
}
.big-quote {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.6;
  color: var(--navy-800);
  position: relative;
  padding: 0 40px;
}
.big-quote::before, .big-quote::after {
  content: '"';
  font-size: 80px;
  font-weight: 900;
  color: var(--teal-400);
  opacity: .25;
  position: absolute;
  font-family: 'Tajawal', serif;
}
.big-quote::before { top: -20px; right: 0; }
.big-quote::after { bottom: -50px; left: 0; }

.detailed-solutions {
  padding: 60px 0 100px;
  background: var(--bg-soft);
}
.ds-row {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.ds-row:last-child { margin-bottom: 0; }
.ds-row.revealed {
  opacity: 1;
  transform: translateY(0);
}
.ds-row.reverse { direction: ltr; }
.ds-row.reverse > * { direction: rtl; }

.ds-row .ds-img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 460px;
  background: var(--grad-blue);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.5);
}
.ds-row .ds-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.ds-row:hover .ds-img img { transform: scale(1.04); }
.ds-row .ds-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13,37,82,.4) 100%);
}

/* logo variant — show a brand logo instead of a cropped photo */
.ds-row .ds-img--logo {
  background: #fff;
  border: 1px solid rgba(13,37,82,.08);
}
.ds-row .ds-img--logo img {
  object-fit: contain;
  padding: 48px;
}
.ds-row:hover .ds-img--logo img { transform: scale(1.03); }
.ds-row .ds-img--logo::after { display: none; }

.ds-content {
  position: relative;
  padding: 10px 0;
}
.ds-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.ds-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(43,182,166,.12);
  color: var(--teal-500);
  font-size: 12px;
  font-weight: 800;
  border-radius: 100px;
  margin-bottom: 18px;
  margin-right: 8px;
}
.ds-content h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--navy-900);
}
.ds-content > p {
  font-size: 16px;
  line-height: 2;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.ds-feats {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 22px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.ds-feats li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.ds-feats i {
  color: var(--teal-500);
  font-size: 16px;
  flex-shrink: 0;
}
.ds-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 22px;
  background: var(--bg-blue);
  color: var(--navy-800);
  border-radius: 100px;
  font-weight: 800;
  font-size: 14px;
  transition: all .25s ease;
}
.ds-link:hover {
  background: var(--grad-blue);
  color: #fff;
  transform: translateX(-4px);
}

@media (max-width: 980px) {
  .ds-row, .ds-row.reverse { grid-template-columns: 1fr; gap: 30px; direction: rtl; }
  .ds-row.reverse > * { direction: rtl; }
  .ds-row .ds-img { height: 320px; }
}

/* ============================================================
   CERTIFICATIONS PAGE
   ============================================================ */
.cert-block {
  padding: 80px 0;
  background: #fff;
}
.cert-block.alt { background: var(--bg-soft); }
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.cert-card {
  position: relative;
  padding: 36px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all .35s cubic-bezier(.2,.7,.2,1);
  opacity: 0;
  transform: translateY(24px);
}
.cert-block.alt .cert-card { background: #fff; }
.cert-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-400);
}

.cert-badge {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--grad-blue);
  color: #fff;
  font-size: 28px;
  margin-bottom: 22px;
  box-shadow: 0 14px 30px rgba(28,74,147,.32);
}
.cert-badge.sca { background: linear-gradient(135deg, #1a8245, #45b372); box-shadow: 0 14px 30px rgba(26,130,69,.32); }
.cert-badge.hcis { background: linear-gradient(135deg, #225e2c, #4d9445); box-shadow: 0 14px 30px rgba(34,94,44,.32); }
.cert-badge.citc { background: linear-gradient(135deg, #2a87c9, #4ba2db); }
.cert-badge.nedap { background: linear-gradient(135deg, #e84a27, #f47b48); box-shadow: 0 14px 30px rgba(232,74,39,.32); }
.cert-badge.dahua { background: linear-gradient(135deg, #c0241c, #e63b30); box-shadow: 0 14px 30px rgba(192,36,28,.32); }
.cert-badge.tiso { background: linear-gradient(135deg, #1b3a6b, #2bb6a6); }
.cert-badge.tbs { background: linear-gradient(135deg, #005a32, #2d8a4e); box-shadow: 0 14px 30px rgba(0,90,50,.32); }
.cert-badge.lg { background: linear-gradient(135deg, #a50034, #d40043); box-shadow: 0 14px 30px rgba(165,0,52,.32); }
.cert-badge.alfanar { background: linear-gradient(135deg, #c89e3b, #f0c14b); box-shadow: 0 14px 30px rgba(200,158,59,.32); }

.cert-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--bg-blue);
  color: var(--navy-800);
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: .3px;
}
.cert-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--navy-900);
}
.cert-card > p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.cert-meta {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.cert-meta li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}
.cert-meta li span { color: var(--muted); }
.cert-meta li strong { color: var(--navy-800); font-weight: 800; }

.brand-partners { padding: 60px 0; background: var(--bg-soft); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-quick {
  padding: 50px 0 30px;
  background: var(--bg-soft);
}
.cq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cq-card {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: all .35s cubic-bezier(.2,.7,.2,1);
  display: flex;
  flex-direction: column;
}
.cq-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-400);
}
.cq-card.whatsapp:hover { border-color: #25d366; }
.cq-card.whatsapp .cq-icon { background: #25d366; box-shadow: 0 12px 24px rgba(37,211,102,.32); }

.cq-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--grad-blue);
  color: #fff;
  font-size: 22px;
  margin-bottom: 18px;
  box-shadow: 0 12px 24px rgba(28,74,147,.28);
}
.cq-card h4 {
  font-size: 16.5px;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.cq-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  flex: 1;
}
.cq-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-800);
}
.cq-link i { font-size: 11px; transition: transform .25s ease; }
.cq-card:hover .cq-link i { transform: translateX(-4px); }

@media (max-width: 980px) { .cq-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cq-grid { grid-template-columns: 1fr; } }

.contact-main {
  padding: 60px 0 100px;
  background: var(--bg-soft);
}
.cm-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.cm-form-wrap, .cm-map-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.cm-form-wrap.revealed, .cm-map-wrap.revealed {
  opacity: 1;
  transform: translateY(0);
}
.cm-form-wrap h2 {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--navy-900);
}
.cm-form-wrap > p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 26px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-800);
}
.form-field span em {
  color: #e8484a;
  font-style: normal;
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: all .25s ease;
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2314366f'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 20px;
  padding-left: 40px;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--blue-400);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(75,162,219,.12);
}
.form-submit {
  align-self: flex-start;
  margin-top: 8px;
}
.form-status {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(43,182,166,.12);
  color: var(--teal-500);
  border: 1px solid rgba(43,182,166,.3);
}
.form-status.error {
  display: block;
  background: rgba(232,72,74,.12);
  color: #c93d3f;
  border: 1px solid rgba(232,72,74,.3);
}

.map-frame {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--line);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.15);
}

.map-info {
  display: grid;
  gap: 16px;
}
.mi-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: 12px;
}
.mi-row > i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--grad-blue);
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
.mi-row strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 4px;
}
.mi-row span,
.mi-row a {
  display: block;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.mi-row a {
  transition: color .25s ease;
}
.mi-row a:hover {
  color: var(--teal-500);
}

@media (max-width: 980px) {
  .cm-grid { grid-template-columns: 1fr; }
  .cm-form-wrap, .cm-map-wrap { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(20,54,111,.18);
  border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(20,54,111,.32); }

/* =====================================================
   ============ HOME v2 — NEW SECTIONS ================
   ===================================================== */

/* ---------- Hero v2 (orbs + visual) ---------- */
.hero-bg-orbs {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg-orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}
.hero-bg-orbs .orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(43,182,166,.55), transparent 70%);
  top: -120px; right: -100px;
  animation: orb-float 18s ease-in-out infinite alternate;
}
.hero-bg-orbs .orb-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(74,162,219,.45), transparent 70%);
  bottom: -160px; left: -120px;
  animation: orb-float 22s ease-in-out infinite alternate-reverse;
}
.hero-bg-orbs .orb-3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(20,54,111,.55), transparent 70%);
  top: 40%; left: 35%;
  animation: orb-float 28s ease-in-out infinite alternate;
}
@keyframes orb-float {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px,-30px) scale(1.08); }
}

/* Hero visual ring */
.hero-visual {
  position: relative;
  width: 460px; height: 460px;
  display: grid; place-items: center;
  margin-inline-start: auto;
}
.hero-visual .hv-ring {
  position: absolute; inset: 0;
  border: 2px dashed rgba(255,255,255,.25);
  border-radius: 50%;
  animation: hv-spin 32s linear infinite;
}
.hero-visual .hv-ring-2 {
  inset: 50px;
  border: 1px solid rgba(43,182,166,.45);
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: hv-spin 22s linear infinite reverse;
}
@keyframes hv-spin { to { transform: rotate(360deg); } }
.hero-visual .hv-logo {
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18);
  display: grid; place-items: center;
  z-index: 2;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.hero-visual .hv-logo img { width: 70%; filter: drop-shadow(0 8px 20px rgba(0,0,0,.35)); }
.hero-visual .hv-pin {
  position: absolute;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--teal-500), var(--blue-500));
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 20px;
  box-shadow: 0 14px 30px rgba(0,0,0,.4), 0 0 0 4px rgba(255,255,255,.06);
  z-index: 3;
  animation: pin-bob 4s ease-in-out infinite alternate;
}
.hero-visual .pin-1 { top: 0; left: 50%; transform: translateX(-50%); }
.hero-visual .pin-2 { top: 25%; right: 0; animation-delay: -.6s; }
.hero-visual .pin-3 { bottom: 25%; right: 0; animation-delay: -1.2s; }
.hero-visual .pin-4 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: -1.8s; }
.hero-visual .pin-5 { bottom: 25%; left: 0; animation-delay: -2.4s; }
.hero-visual .pin-6 { top: 25%; left: 0; animation-delay: -3s; }
@keyframes pin-bob {
  0%   { transform: translateY(0) translateX(var(--tx, 0)); }
  100% { transform: translateY(-10px) translateX(var(--tx, 0)); }
}
.hero-visual .pin-1, .hero-visual .pin-4 { --tx: -50%; }

@media (max-width: 980px) {
  .hero-visual { display: none; }
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}
.ss-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.ss-item {
  text-align: center;
  padding: 24px 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(43,182,166,.1);
  position: relative;
  overflow: hidden;
  transition: all .35s ease;
}
.ss-item::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(43,182,166,.18), transparent 70%);
  filter: blur(12px);
}
.ss-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(43,182,166,.35);
}
.ss-num {
  display: block;
  font-size: 56px;
  font-weight: 900;
  font-family: 'Tajawal', sans-serif;
  background: var(--grad-teal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
  line-height: 1;
}
.ss-item span {
  display: block;
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 600;
}
@media (max-width: 768px) {
  .ss-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ss-num { font-size: 42px; }
}

/* ---------- About visual ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.about-text .about-lead {
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink);
  margin-bottom: 18px;
}
.about-text .btn-outline {
  margin-top: 28px;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--navy-800);
  color: var(--navy-800);
  background: transparent;
  transition: all .3s ease;
}
.btn-outline:hover {
  background: var(--navy-800);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15,50,110,.18);
}

.about-visual {
  position: relative;
  height: 480px;
  display: grid; place-items: center;
}
.av-frame {
  position: relative;
  width: 100%; height: 100%;
  display: grid; place-items: center;
}
.av-shape {
  position: absolute;
  inset: 30px;
  background:
    linear-gradient(135deg, var(--navy-800), var(--blue-500) 60%, var(--teal-500));
  border-radius: 50% 50% 8% 50% / 50% 50% 50% 8%;
  box-shadow: 0 40px 80px rgba(15,50,110,.25);
  animation: blob-morph 14s ease-in-out infinite alternate;
}
@keyframes blob-morph {
  0%   { border-radius: 50% 50% 8% 50% / 50% 50% 50% 8%; }
  50%  { border-radius: 30% 60% 60% 30% / 30% 60% 60% 30%; }
  100% { border-radius: 60% 30% 30% 60% / 60% 30% 30% 60%; }
}
.av-logo {
  position: relative; z-index: 2;
  width: 360px;
  max-width: 80%;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.28));
}
.av-floater {
  position: absolute;
  width: 64px; height: 64px;
  background: #fff;
  border-radius: 18px;
  display: grid; place-items: center;
  font-size: 26px;
  color: var(--teal-500);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  animation: float-bob 3.5s ease-in-out infinite alternate;
}
.av-floater.f1 { top: 8%; left: 6%; color: var(--teal-500); }
.av-floater.f2 { top: 55%; right: 4%; color: var(--blue-500); animation-delay: -1s; }
.av-floater.f3 { bottom: 12%; left: 14%; color: var(--navy-800); animation-delay: -2s; }
@keyframes float-bob {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { height: 360px; }
}

/* ---------- Section CTA ---------- */
.section-cta {
  text-align: center;
  margin-top: 50px;
}

/* ---------- VMV Home ---------- */
.vmv-home {
  padding: 100px 0;
  background: var(--bg-soft);
  position: relative;
}
.vmv-home::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(180deg, #fff, transparent);
  pointer-events: none;
}

/* ---------- 7 Systems — Elegant Grid ---------- */
.systems-section {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.systems-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(43,182,166,.04), transparent 55%),
    radial-gradient(ellipse at 20% 100%, rgba(20,54,111,.035), transparent 55%);
  pointer-events: none;
}
.systems-section > .container { position: relative; z-index: 1; }

.systems-orbit {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 60px auto 0;
}
.systems-orbit .so-node { grid-column: span 2; }
/* 8 systems → 4 per row, both rows filled */

.so-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  padding: 28px 26px 26px;
  background: #fff;
  border: 1px solid rgba(15, 50, 110, .07);
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .35s ease, transform .4s ease, box-shadow .4s ease, background-color .35s ease;
  overflow: hidden;
  isolation: isolate;
}
.so-node::after {
  content: '';
  position: absolute;
  bottom: 0; inset-inline-start: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--teal-500), var(--blue-500));
  transition: width .5s cubic-bezier(.2,.7,.2,1);
  z-index: 0;
}
.so-node:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 182, 166, .35);
  box-shadow: 0 18px 40px rgba(15, 50, 110, .07);
  background: #fff;
}
.so-node:hover::after { width: 100%; }

.so-num {
  position: static;
  display: inline-block;
  font-family: 'Tajawal', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--teal-500);
  background: transparent;
  width: auto; height: auto;
  box-shadow: none;
  margin-bottom: 18px;
  opacity: .85;
}
.so-icon {
  width: auto;
  max-width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.so-icon img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  margin: 0;
  filter: none;
}
.so-node h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.so-node p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}
.so-arrow {
  position: absolute;
  top: 26px;
  inset-inline-end: 22px;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  color: var(--teal-500);
  font-size: 13px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s ease, transform .35s ease;
}
.so-node:hover .so-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Featured (AI) card — same calm style, soft accent only */
.so-node--feature {
  background: linear-gradient(180deg, #fbfdfe 0%, #f4f8fc 100%);
}

/* Responsive */
@media (max-width: 1024px) {
  .systems-orbit { grid-template-columns: repeat(3, 1fr); }
  .systems-orbit .so-node:nth-child(5)  { grid-column: auto; margin-inline-start: 0; }
}
@media (max-width: 720px) {
  .systems-orbit { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .systems-orbit .so-node:nth-child(5)  { grid-column: auto; margin-inline-start: 0; }
}
@media (max-width: 480px) {
  .systems-orbit { grid-template-columns: 1fr; }
  .so-node { padding: 24px 22px; }
}

/* ---------- Security Solutions Grid ---------- */
.sec-solutions {
  padding: 110px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.sec-card {
  position: relative;
  padding: 36px 28px 28px;
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line);
  transition: all .4s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sec-card > p { flex: 1 1 auto; }
.sec-card > .btn { align-self: flex-start; margin-top: auto !important; }
.sec-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 4px;
  background: var(--grad-teal);
  transition: width .5s ease;
}
.sec-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(43,182,166,.4);
}
.sec-card:hover::before { width: 100%; }
.sec-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(43,182,166,.12), rgba(74,162,219,.1));
  display: grid; place-items: center;
  font-size: 26px;
  color: var(--teal-500);
  margin-bottom: 20px;
  transition: all .35s ease;
}
.sec-card:hover .sec-icon {
  background: var(--grad-teal);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.sec-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 14px;
  line-height: 1.4;
}
.sec-card p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}
@media (max-width: 980px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sec-grid { grid-template-columns: 1fr; } }

/* 4-column variant for /solutions overview page */
.sec-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sec-grid--4 .sec-card { padding: 28px 22px 24px; }
.sec-grid--4 .sec-card h3 { font-size: 17px; }
.sec-grid--4 .sec-card p { font-size: 13.5px; line-height: 1.8; }
@media (max-width: 1180px) { .sec-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .sec-grid--4 { grid-template-columns: 1fr; } }

/* Extra top breathing room when section sits directly under sticky header */
.sec-solutions--top { padding-top: 140px; }
@media (max-width: 768px) { .sec-solutions--top { padding-top: 110px; } }

/* ---------- Smart Cities Solutions (dark bg) ---------- */
.cities-solutions {
  padding: 120px 0;
  background:
    linear-gradient(135deg, var(--navy-900) 0%, #102749 60%, var(--navy-700) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cities-solutions::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(43,182,166,.18), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(74,162,219,.14), transparent 40%);
  pointer-events: none;
}
.cities-solutions .section-head h2.light,
.cities-solutions .section-head .lead.light,
.cities-solutions .kicker.light { color: rgba(255,255,255,.95); }
.cities-solutions .kicker.light { background: rgba(43,182,166,.18); color: #6dd5c8; }
.cs-carousel {
  position: relative;
  z-index: 2;
}
.cs-grid {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 32px 6px;
}
.cs-track {
  display: flex;
  gap: 22px;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.cs-track .cs-card {
  flex: 0 0 calc((100% - 44px) / 3);
  transform: scale(.92);
  opacity: .65;
  transition: transform .5s cubic-bezier(.2,.7,.2,1),
              opacity .5s ease,
              box-shadow .5s ease,
              background .5s ease,
              border-color .5s ease;
}
.cs-track .cs-card.is-side {
  transform: scale(.96);
  opacity: .85;
}
.cs-track .cs-card.is-center {
  transform: scale(1.07);
  opacity: 1;
  z-index: 3;
  background: rgba(255,255,255,.14);
  border-color: rgba(43,182,166,.55);
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.cs-track .cs-card.is-center .card-cover { height: 210px; }

.cs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  font-size: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.cs-nav:hover {
  background: var(--teal-500);
  border-color: var(--teal-500);
  transform: translateY(-50%) scale(1.08);
}
.cs-prev { right: -8px; }
.cs-next { left: -8px; }

.cs-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  position: relative;
  z-index: 2;
}
.cs-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .3s ease;
}
.cs-dot:hover { background: rgba(255,255,255,.5); }
.cs-dot.active {
  width: 28px;
  border-radius: 6px;
  background: var(--teal-500);
}
.cs-card {
  padding: 28px 24px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}
.cs-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.12);
  border-color: rgba(43,182,166,.5);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.cs-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--grad-teal);
  display: grid; place-items: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 12px 30px rgba(43,182,166,.4);
}
.cs-card h4 {
  font-size: 17px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}
.cs-card p {
  font-size: 14px;
  color: rgba(255,255,255,.78);
  line-height: 1.85;
}
.cities-solutions .btn-light {
  background: #fff;
  color: var(--navy-900);
}
.cities-solutions .btn-light:hover {
  background: var(--teal-500);
  color: #fff;
}
@media (max-width: 980px) {
  .cs-track .cs-card { flex: 0 0 calc((100% - 22px) / 2); }
  .cs-track .cs-card.is-center .card-cover { height: 190px; }
}
@media (max-width: 640px) {
  .cs-grid { padding: 16px 0; }
  .cs-track { gap: 14px; }
  .cs-track .cs-card { flex: 0 0 100%; transform: scale(1) !important; opacity: 1 !important; }
  .cs-track .cs-card.is-center { box-shadow: 0 20px 50px rgba(0,0,0,.35); }
  .cs-nav { width: 40px; height: 40px; font-size: 14px; }
  .cs-prev { right: 4px; }
  .cs-next { left: 4px; }
}

/* ---------- AI Highlight ---------- */
.ai-highlight {
  padding: 110px 0;
  background: var(--bg);
  overflow: hidden;
}
.ai-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.ai-text .kicker { background: rgba(74,162,219,.12); color: var(--blue-500); }
.ai-text h2 {
  font-size: 38px;
  margin-bottom: 22px;
  line-height: 1.3;
}
.ai-text p {
  font-size: 15.5px;
  line-height: 2;
  margin-bottom: 16px;
}
.ai-text .btn-primary { margin-top: 18px; }
.ai-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ai-feature-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid rgba(43,182,166,.18);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15,50,110,.06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ai-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(15,50,110,.14);
  border-color: rgba(43,182,166,.45);
}
.ai-feature-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy-800), var(--teal-500));
  color: #fff;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(15,50,110,.25);
}
.ai-feature-text h4 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-900);
}
.ai-feature-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}
@media (max-width: 980px) {
  .ai-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Why Us Home ---------- */
.why-us-home {
  padding: 100px 0;
  background: var(--bg-soft);
}
.why-us-home .why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-us-home .why-card {
  background: #fff;
  padding: 32px 26px;
  border-radius: 20px;
  border: 1px solid var(--line);
  text-align: start;
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}
.why-us-home .why-card::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(43,182,166,.18), transparent 70%);
  filter: blur(20px);
  opacity: 0;
  transition: opacity .4s ease;
}
.why-us-home .why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(43,182,166,.4);
}
.why-us-home .why-card:hover::after { opacity: 1; }
.why-us-home .why-icon {
  font-size: 32px;
  color: var(--teal-500);
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(43,182,166,.12), rgba(74,162,219,.08));
  width: 64px; height: 64px;
  border-radius: 16px;
  display: grid; place-items: center;
  transition: all .35s ease;
}
.why-us-home .why-card:hover .why-icon {
  background: var(--grad-teal);
  color: #fff;
  transform: rotate(-6deg);
}
.why-us-home .why-card h4 {
  font-size: 17px;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.why-us-home .why-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
}
@media (max-width: 980px) { .why-us-home .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .why-us-home .why-grid { grid-template-columns: 1fr; } }

/* ---------- Certs Preview ---------- */
.certs-preview {
  padding: 100px 0;
  background: var(--bg);
}
.cp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 18px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}
.cp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s ease;
}
.cp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(43,182,166,.4);
}
.cp-card:hover::before { transform: scaleX(1); transform-origin: left; }
.cp-badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 14px;
  font-size: 26px;
  background: linear-gradient(135deg, rgba(43,182,166,.12), rgba(74,162,219,.1));
  color: var(--teal-500);
  transition: all .35s ease;
}
.cp-card:hover .cp-badge {
  background: var(--grad-teal);
  color: #fff;
  transform: scale(1.08);
}
.cp-card.iso .cp-badge { background: linear-gradient(135deg, #fff3d0, #fbe09a); color: #c08018; }
.cp-card.sca .cp-badge { background: linear-gradient(135deg, #d4f3dd, #a4e0b9); color: #1f7d3f; }
.cp-card.hcis .cp-badge { background: linear-gradient(135deg, #ffe0d4, #f4b89a); color: #b14a1f; }
.cp-card.citc .cp-badge { background: linear-gradient(135deg, #d3e3fb, #99bcf2); color: #1d4a99; }
.cp-card.nedap .cp-badge { background: linear-gradient(135deg, #ffd4c4, #f3947a); color: #cc4520; }
.cp-card.dahua .cp-badge { background: linear-gradient(135deg, #d4d8f0, #9ca6e6); color: #2a368e; }
.cp-card.tbs .cp-badge { background: linear-gradient(135deg, #c8e9d3, #7ec99c); color: #1c6c3b; }
.cp-card strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 4px;
}
.cp-card span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}
@media (max-width: 980px) { .cp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .cp-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- After-sales Home ---------- */
.aftersales-home {
  padding: 100px 0;
  background:
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}
.aftersales-home .as-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.aftersales-home .as-card {
  position: relative;
  background: #fff;
  padding: 34px 18px 22px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--line);
  transition: all .35s ease;
  overflow: hidden;
}
.aftersales-home .as-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(43,182,166,.4);
}
.aftersales-home .as-num {
  position: absolute;
  top: 10px; right: 14px;
  font-size: 36px;
  font-weight: 900;
  color: rgba(43,182,166,.14);
  line-height: 1;
  font-family: 'Tajawal', sans-serif;
}
.aftersales-home .as-icon {
  font-size: 30px;
  color: var(--teal-500);
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(43,182,166,.1), rgba(74,162,219,.08));
  width: 60px; height: 60px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-inline: auto;
  transition: all .35s ease;
}
.aftersales-home .as-card:hover .as-icon {
  background: var(--grad-teal);
  color: #fff;
  transform: rotate(-6deg);
}
.aftersales-home .as-card h4 {
  font-size: 15px;
  color: var(--navy-900);
  margin-bottom: 8px;
  line-height: 1.45;
}
.aftersales-home .as-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}
@media (max-width: 1100px) { .aftersales-home .as-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .aftersales-home .as-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Green Future Home ---------- */
.green-home {
  padding: 100px 0;
  background:
    linear-gradient(135deg, #e8f7ee 0%, #d3eee0 50%, #c8e6dc 100%);
  position: relative;
  overflow: hidden;
}
.green-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(43,182,166,.18), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(20,54,111,.08), transparent 50%);
  pointer-events: none;
}
.green-home .gf-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.green-home .gf-text .kicker { background: rgba(31,125,63,.12); color: #1f7d3f; }
.green-home .gf-text h2 { font-size: 38px; margin-bottom: 18px; }
.green-home .gf-text p { font-size: 16px; line-height: 2; margin-bottom: 22px; color: var(--ink); }
.green-home .gf-list {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.green-home .gf-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.green-home .gf-list i { color: #1f7d3f; }
.gf-visual {
  position: relative;
  height: 380px;
  display: grid; place-items: center;
}
.gf-circle {
  position: absolute;
  width: 320px; height: 320px;
  background: linear-gradient(135deg, #1f7d3f, var(--teal-500));
  border-radius: 50%;
  box-shadow: 0 30px 80px rgba(31,125,63,.35);
  animation: blob-morph 18s ease-in-out infinite alternate;
}
.gf-leaf-icon {
  position: relative; z-index: 2;
  width: 140px; height: 140px;
  background: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 64px;
  color: #1f7d3f;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

/* Energy solutions image card — replaces tree icon */
.gf-visual--image { height: 440px; }
.gf-visual--image .gf-circle {
  width: 380px; height: 380px;
  opacity: .55;
  filter: blur(2px);
}
.gf-energy-card {
  position: relative;
  z-index: 2;
  width: min(92%, 460px);
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  background: #1f7d3f;
  box-shadow:
    0 40px 90px rgba(15, 60, 30, .42),
    0 0 0 1px rgba(255,255,255,.18) inset,
    0 0 0 8px rgba(255,255,255,.06);
  transform: rotate(-2deg);
  transition: transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .7s ease;
}
.gf-energy-card::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(315deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 50%);
  pointer-events: none;
}
.gf-energy-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.gf-visual--image:hover .gf-energy-card {
  transform: rotate(0deg) translateY(-6px);
  box-shadow:
    0 50px 110px rgba(15, 60, 30, .5),
    0 0 0 1px rgba(255,255,255,.22) inset,
    0 0 0 10px rgba(255,255,255,.08);
}
.gf-visual--image:hover .gf-energy-card img {
  transform: scale(1.04);
}

@media (max-width: 980px) {
  .green-home .gf-grid { grid-template-columns: 1fr; }
  .gf-visual { height: 300px; }
  .gf-visual--image { height: 340px; }
  .gf-visual--image .gf-circle { width: 280px; height: 280px; }
  .gf-energy-card { width: min(86%, 380px); }
}

/* ---------- Contact Section ghost button ---------- */
.cc-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 22px;
}
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  background: transparent;
  font-weight: 700;
  font-size: 15px;
  transition: all .3s ease;
}
.btn-ghost-light:hover {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Reveal animation for new elements ---------- */
.so-node, .sec-card, .cs-card, .cp-card, .ss-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.so-node.revealed, .sec-card.revealed, .cs-card.revealed,
.cp-card.revealed, .ss-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   PAGE TRANSITION OVERLAY (Logo Curtain)
   ============================================================ */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d2552 0%, #14366f 40%, #1c4a93 100%);
  clip-path: circle(0% at 50% 50%);
  -webkit-clip-path: circle(0% at 50% 50%);
  transition: clip-path .85s cubic-bezier(.77,0,.18,1),
              -webkit-clip-path .85s cubic-bezier(.77,0,.18,1);
  will-change: clip-path;
}
.page-transition::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
  opacity: .6;
}
.page-transition::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 420px at 50% 50%, rgba(125,200,232,.18), transparent 70%),
    radial-gradient(600px 240px at 30% 100%, rgba(43,182,166,.16), transparent 70%);
  pointer-events: none;
}

.pt-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .35s ease .05s, transform .55s cubic-bezier(.2,.7,.2,1) .05s;
}
.pt-logo {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pt-ring { display: none !important; }
.pt-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.45));
}
/* Energy page loader: rounded, crisper, with a soft glow ring */
.pt-logo img[src*="loader-energy"] {
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow:
    0 0 0 6px rgba(255,255,255,.10),
    0 0 0 1px rgba(255,255,255,.35),
    0 30px 70px rgba(0,0,0,.55),
    0 0 90px rgba(45,209,107,.45);
  filter: contrast(1.08) saturate(1.15) brightness(1.04);
  image-rendering: -webkit-optimize-contrast;
}
.pt-ring {
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  border: 2px solid rgba(125,200,232,.35);
  border-top-color: rgba(109,213,200,.95);
  border-right-color: rgba(125,200,232,.7);
  animation: ptSpin 1.1s linear infinite;
  opacity: 0;
}
.pt-ring.r2 {
  inset: -42px;
  border-color: rgba(255,255,255,.08);
  border-top-color: rgba(255,255,255,.45);
  animation-duration: 1.6s;
  animation-direction: reverse;
}
.pt-label {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 2px;
  color: #fff;
  opacity: .85;
  text-transform: uppercase;
}
.pt-label span { color: #6dd5c8; }
.pt-bar {
  width: 180px;
  height: 3px;
  background: rgba(255,255,255,.12);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.pt-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, #6dd5c8, #7ec0e8, transparent);
  animation: ptBar 1.2s ease-in-out infinite;
}

@keyframes ptSpin { to { transform: rotate(360deg); } }
@keyframes ptBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(380%); }
}

/* ----- Active state: covering the screen ----- */
.page-transition.is-active {
  pointer-events: all;
  clip-path: circle(150% at 50% 50%);
  -webkit-clip-path: circle(150% at 50% 50%);
}
.page-transition.is-active .pt-stage {
  opacity: 1;
  transform: scale(1);
  transition-delay: .25s;
}
.page-transition.is-active .pt-ring { opacity: 1; }

/* ----- Exit (revealing new page from full coverage) ----- */
.page-transition.is-exiting {
  pointer-events: none;
  clip-path: circle(0% at 50% 50%);
  -webkit-clip-path: circle(0% at 50% 50%);
}
.page-transition.is-exiting .pt-stage {
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .35s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}

/* ============================================================
   PAGE ENTRY ANIMATION (smooth fade-in on load)
   ============================================================ */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
body.page-ready main {
  animation: pageFadeIn .65s cubic-bezier(.2,.7,.2,1) both;
}

/* ============================================================
   ENHANCED HOVER ANIMATIONS
   ============================================================ */

/* --- Buttons: shine sweep + lift --- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255,255,255,.35) 50%,
    transparent 100%);
  transform: skewX(-20deg);
  transition: left .7s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  z-index: 1;
}
.btn:hover::before { left: 130%; }
.btn > * { position: relative; z-index: 2; }
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 42px rgba(28, 74, 147, 0.42);
}
.btn-primary:active { transform: translateY(-1px) scale(.99); }
.btn-light:hover { transform: translateY(-3px) scale(1.02); }
.btn-ghost:hover { transform: translateY(-3px) scale(1.02); }
.btn i { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.btn:hover i.fa-arrow-left { transform: translateX(-6px); }
.btn:hover i.fa-arrow-right { transform: translateX(6px); }

/* --- Nav links: animated underline --- */
.nav-menu a,
.nav-menu .nav-drop-trigger {
  position: relative;
}
.nav-menu a::after,
.nav-menu .nav-drop-trigger::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--blue-500));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.nav-menu a:hover::after,
.nav-menu a.active::after,
.nav-menu .nav-drop-trigger:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --- Brand logo lift on hover (refined: works with always-on shadow) --- */
.brand { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.brand:hover { transform: translateY(-1px) scale(1.035); }
.brand:hover .brand-logo {
  filter:
    drop-shadow(0 12px 22px rgba(43, 135, 201, 0.38))
    drop-shadow(0 3px 6px rgba(20, 54, 111, 0.20));
}

/* --- Product cards: more dramatic lift + glow --- */
.product-card {
  transition: transform .45s cubic-bezier(.2,.7,.2,1),
              box-shadow .45s ease,
              border-color .35s ease;
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px 220px at var(--mx,50%) var(--my,0%),
    rgba(125,200,232,.18), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: 1;
}
.product-card:hover {
  transform: translateY(-10px) scale(1.012);
  box-shadow: 0 30px 60px rgba(15, 50, 110, 0.18);
}
.product-card:hover::after { opacity: 1; }
.product-card .card-body { position: relative; z-index: 2; }
.product-card .btn-details i {
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.product-card:hover .btn-details i { transform: translateX(-6px); }

/* --- Solution cards extra lift --- */
.sol-card:hover { transform: translateY(-10px) scale(1.01); }

/* --- Generic interactive cards --- */
.vmv-card, .why-card, .as-card, .bs-card, .cert-card,
.sec-card, .cs-card, .cp-card, .variant-card, .ap-item {
  transition: transform .4s cubic-bezier(.2,.7,.2,1),
              box-shadow .4s ease,
              border-color .35s ease;
}
.vmv-card:hover, .why-card:hover, .as-card:hover, .bs-card:hover,
.cert-card:hover, .sec-card:hover, .cs-card:hover, .cp-card:hover,
.variant-card:hover, .ap-item:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow: 0 24px 50px rgba(15,50,110,.14);
}

/* --- Marquee chips slight pop on hover --- */
.brand-chip, .client-chip {
  transition: transform .35s cubic-bezier(.2,.7,.2,1),
              box-shadow .35s ease, filter .35s ease;
}
.brand-chip:hover, .client-chip:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 28px rgba(15,50,110,.12);
  filter: brightness(1.05);
}

/* --- Footer column links: arrow slide --- */
.foot-col a {
  display: inline-block;
  transition: color .25s ease, transform .25s ease, padding .25s ease;
}
.foot-col a:hover {
  color: #fff;
  transform: translateX(-4px);
}

/* --- Form inputs focus glow --- */
input, select, textarea {
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(43,182,166,.18);
}

/* --- Smooth image hover micro-zoom on any reveal --- */
.bl-img { transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.product-card:hover .bl-img {
  transform: scale(1.08);
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.18));
}

/* --- Hero CTA shine already covered by .btn::before --- */

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .page-transition,
  .page-transition.is-active,
  .page-transition.is-exiting,
  .pt-stage,
  body.page-ready main,
  .btn, .product-card, .sol-card, .vmv-card, .why-card,
  .brand-chip, .client-chip {
    transition: none !important;
    animation: none !important;
  }
  .page-transition { display: none !important; }
}

/* ============================================================
   CARD COVER IMAGES (replace icons with wide images on cards)
   ============================================================ */
.card-cover {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(43,182,166,.18), rgba(74,162,219,.14));
}
.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}

/* sec-card variant — light bg, padding 36 28 28 */
.sec-card .card-cover {
  margin: -36px -28px 22px;
  border-radius: 22px 22px 0 0;
}
.sec-card:hover .card-cover img { transform: scale(1.06); }

/* logo variant — show a brand logo instead of a cropped photo */
.card-cover--logo {
  background: #fff;
}
.card-cover--logo img {
  object-fit: contain;
  padding: 20px 28px;
}
.sec-card:hover .card-cover--logo img { transform: scale(1.04); }

/* cs-card variant — dark bg, padding 28 24 */
.cs-card .card-cover {
  margin: -28px -24px 18px;
  border-radius: 18px 18px 0 0;
}
.cs-card:hover .card-cover img { transform: scale(1.06); }

/* why-us-home .why-card variant — light bg, padding 32 26 */
.why-us-home .why-card .card-cover {
  margin: -32px -26px 20px;
  border-radius: 20px 20px 0 0;
  height: 160px;
}
.why-us-home .why-card:hover .card-cover img { transform: scale(1.06); }

@media (max-width: 640px) {
  .card-cover { height: 160px; }
  .why-us-home .why-card .card-cover { height: 140px; }
}

/* ============================================================
   WHY-US SLIDER (single-card carousel — replaces .why-grid)
   ============================================================ */
.why-slider {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.why-viewport {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius-lg, 20px);
}
.why-slider .why-card {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(40px) scale(.985);
  pointer-events: none;
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.why-slider .why-card.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.why-slider .why-icon {
  margin: 0 auto 20px;
}
.why-slider .why-card h4 {
  font-size: 22px;
  margin-bottom: 14px;
}
.why-slider .why-card p {
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
}

/* Nav arrows */
.why-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  z-index: 5;
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.why-nav:hover {
  background: var(--teal-500, #2bb6a6);
  color: #fff;
  border-color: transparent;
  transform: translateY(-50%) scale(1.06);
}
.why-nav:focus-visible { outline: 2px solid var(--teal-500, #2bb6a6); outline-offset: 3px; }
.why-nav.prev { right: -10px; }
.why-nav.next { left: -10px; }

/* Dots */
.why-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.why-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.28);
  cursor: pointer;
  transition: width .3s ease, background .3s ease, border-radius .3s ease;
}
.why-dots button:hover { background: rgba(255,255,255,.5); }
.why-dots button.is-active {
  background: var(--teal-500, #2bb6a6);
  width: 30px;
  border-radius: 999px;
}

/* Light variant scoped to .why-us-home (index.html) */
.why-us-home .why-nav {
  background: #fff;
  border-color: var(--line);
  color: var(--navy-900, #14366f);
  box-shadow: 0 6px 18px rgba(15,50,110,.08);
}
.why-us-home .why-nav:hover { color: #fff; }
.why-us-home .why-dots button { background: rgba(20,54,111,.22); }
.why-us-home .why-dots button:hover { background: rgba(20,54,111,.4); }
.why-us-home .why-slider .why-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: 20px;
  border: 1px solid var(--line);
}

/* Dark variant scoped to .why-us (about.html) */
.why-us .why-slider .why-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg, 20px);
  padding: 40px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 640px) {
  .why-slider { max-width: 100%; padding: 0 4px; }
  .why-viewport { min-height: 340px; }
  .why-nav { width: 40px; height: 40px; }
  .why-nav.prev { right: -4px; }
  .why-nav.next { left: -4px; }
  .why-slider .why-card { padding: 32px 22px; }
  .why-slider .why-card h4 { font-size: 19px; }
  .why-slider .why-card p { font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .why-slider .why-card { transition: opacity .2s linear; transform: none; }
  .why-slider .why-card.is-active { transform: none; }
}

/* ============================================================
   WHY-US TABS (interactive split layout — index.html)
   ============================================================ */
.why-tabs {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}
.why-tabs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.why-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
  position: relative;
  outline: none;
}
.why-tab:hover {
  border-color: rgba(43, 182, 166, .45);
  transform: translateX(-4px);
  box-shadow: 0 10px 24px rgba(15, 50, 110, .06);
}
.why-tab:focus-visible {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(43, 182, 166, .25);
}
.why-tab.is-active {
  background: var(--grad-teal);
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(43, 182, 166, .28);
  transform: translateX(-4px);
}
.why-tab-num {
  font-family: 'Tajawal', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--teal-500);
  width: 38px;
  flex-shrink: 0;
  letter-spacing: -.5px;
  transition: color .3s ease;
}
.why-tab.is-active .why-tab-num { color: rgba(255, 255, 255, .92); }
.why-tab-title {
  flex: 1;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.4;
  transition: color .3s ease;
}
.why-tab.is-active .why-tab-title { color: #fff; }
.why-tab-arrow {
  font-size: 12px;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .3s ease, transform .3s ease, color .3s ease;
}
.why-tab.is-active .why-tab-arrow {
  color: #fff;
  opacity: 1;
  transform: translateX(0);
}

/* Panels (right side content) */
.why-tabs-panels {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: 0 18px 40px rgba(15, 50, 110, .05);
}
.why-tabs-panels::before {
  content: '';
  position: absolute;
  top: -90px;
  inset-inline-start: -90px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(43, 182, 166, .22), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.why-tabs-panels::after {
  content: '';
  position: absolute;
  bottom: -100px;
  inset-inline-end: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(74, 162, 219, .18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.why-panel {
  position: absolute;
  inset: 0;
  padding: 50px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .55s cubic-bezier(.2, .7, .2, 1);
  pointer-events: none;
  z-index: 1;
}
.why-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.why-panel[hidden] { display: flex; }
.why-panel-num {
  position: absolute;
  top: 24px;
  inset-inline-end: 32px;
  font-family: 'Tajawal', system-ui, sans-serif;
  font-size: 90px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  background: linear-gradient(180deg, rgba(43, 182, 166, .18), rgba(43, 182, 166, .02));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
}
.why-panel-icon {
  font-size: 38px;
  color: #fff;
  margin-bottom: 26px;
  background: var(--grad-teal);
  width: 84px;
  height: 84px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(43, 182, 166, .28);
}
.why-panel h4 {
  font-size: 26px;
  margin-bottom: 14px;
  color: var(--navy-900);
  line-height: 1.35;
}
.why-panel p {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0;
}

@media (max-width: 880px) {
  .why-tabs {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .why-tabs-list { gap: 8px; }
  .why-tab { padding: 14px 16px; }
  .why-tab:hover, .why-tab.is-active { transform: none; }
  .why-tabs-panels { min-height: 320px; }
  .why-panel { padding: 40px 28px; }
  .why-panel-num { font-size: 70px; top: 18px; inset-inline-end: 22px; }
  .why-panel-icon { width: 72px; height: 72px; font-size: 32px; margin-bottom: 20px; }
  .why-panel h4 { font-size: 22px; }
  .why-panel p { font-size: 15px; }
}
@media (max-width: 480px) {
  .why-tab-num { font-size: 19px; width: 32px; }
  .why-tab-title { font-size: 14.5px; }
  .why-panel { padding: 36px 24px; }
  .why-panel-num { font-size: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .why-tab, .why-panel { transition: opacity .2s linear; transform: none !important; }
}

/* ============================================================
   HERO — single-column variant (index.html)
   ============================================================ */
.hero-inner.hero-inner--centered {
  grid-template-columns: 1fr;
}
.hero-inner.hero-inner--centered .hero-text {
  max-width: 860px;
}

.hero-bg-layer .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: 0.92;
  z-index: 0;
  filter: saturate(1.2) brightness(1.02) contrast(1.08);
}
.hero-bg-layer .hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,31,63,.45) 0%, rgba(13,37,82,.18) 38%, rgba(8,22,50,.82) 100%),
    linear-gradient(90deg, rgba(8,22,50,.55) 0%, rgba(8,22,50,.05) 45%, rgba(8,22,50,.15) 100%),
    radial-gradient(ellipse at 50% 65%, transparent 20%, rgba(8,22,50,.5) 100%);
  z-index: 1;
}
.hero-bg-layer .hero-bg-grid,
.hero-bg-layer .hero-bg-orbs {
  z-index: 2;
}

/* ============================================================
   ELECTRONIC PRODUCTS — GROUPED CATEGORY SECTIONS
   ============================================================ */
.products-grid.is-grouped {
  display: block;
}
.category-group {
  margin-bottom: 64px;
}
.category-group:last-child { margin-bottom: 0; }

.cg-header {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.cg-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(42,135,201,.10), transparent 60%),
    radial-gradient(360px 200px at 0% 100%, rgba(43,182,166,.08), transparent 60%);
  pointer-events: none;
}
.cg-head-icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--grad-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 10px 24px rgba(28,74,147,.22);
  position: relative;
  z-index: 1;
}
.cg-head-text {
  flex: 1;
  position: relative;
  z-index: 1;
}
.cg-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--blue-500);
  margin-bottom: 4px;
  font-family: 'Tajawal', sans-serif;
}
.cg-head-text h2 {
  margin: 0 0 8px;
  font-size: 26px;
  color: var(--navy-900);
  font-weight: 900;
}
.cg-head-text p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 720px;
  line-height: 1.7;
}
.cg-brands {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cg-brand {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(42,135,201,.08);
  color: var(--navy-800);
  border: 1px solid rgba(42,135,201,.18);
}

.cg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* ---------- Brand sub-sections inside a category ---------- */
.cg-brand-block { margin-top: 30px; }
.cg-brand-block:first-of-type { margin-top: 8px; }
.cg-brand-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(42,135,201,.16);
}
.cg-brand-name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy-900);
}
.cg-brand-name i {
  font-size: 14px;
  color: var(--teal-500);
}
.cg-brand-count {
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(43,182,166,.1);
  color: #168374;
}

.bf-btn i {
  margin-inline-end: 6px;
  font-size: 12px;
}

@media (max-width: 640px) {
  .cg-header { flex-direction: column; padding: 20px; }
  .cg-head-icon { width: 56px; height: 56px; flex-basis: 56px; font-size: 22px; }
  .cg-head-text h2 { font-size: 21px; }
  .category-group { margin-bottom: 44px; }
}

/* ---------- Electronic: category chooser cards ---------- */
.ec-head { margin-bottom: 40px; }

.ec-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.ec-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.ec-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(42,135,201,.10), transparent 60%),
    radial-gradient(360px 220px at 0% 100%, rgba(43,182,166,.08), transparent 60%);
  pointer-events: none;
}
.ec-card > * { position: relative; z-index: 1; }
.ec-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-400);
}
.ec-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ec-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--grad-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 10px 24px rgba(28,74,147,.22);
}
.ec-count {
  font-size: 12px;
  font-weight: 800;
  padding: 6px 13px;
  border-radius: 100px;
  background: rgba(42,135,201,.08);
  color: var(--navy-800);
  border: 1px solid rgba(42,135,201,.18);
}
.ec-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--blue-500);
  margin-bottom: 4px;
  font-family: 'Tajawal', sans-serif;
}
.ec-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--navy-900);
}
.ec-card p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.75;
}
.ec-brands {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.ec-brand {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 100px;
  background: rgba(42,135,201,.07);
  color: var(--navy-800);
  border: 1px solid rgba(42,135,201,.16);
}
.ec-go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  color: var(--blue-500);
}
.ec-go i { transition: transform .3s ease; }
.ec-card:hover .ec-go i { transform: translateX(-5px); }

/* back link on a single-category view */
.ec-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
}
.ec-back:hover { color: var(--blue-500); }

@media (max-width: 640px) {
  .ec-card { padding: 22px 20px 20px; }
  .ec-card h3 { font-size: 20px; }
}

/* ============================================================
   LOADING SKELETONS & SPINNERS
   ============================================================ */
@keyframes bc-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes bc-spin    { to { transform: rotate(360deg); } }

.bc-skel {
  background: linear-gradient(90deg, #eef1f6 0%, #f7f9fc 50%, #eef1f6 100%);
  background-size: 200% 100%;
  animation: bc-shimmer 1.6s linear infinite;
  border-radius: 10px;
  display: block;
}
.bc-skel-card {
  background: #fff;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.bc-skel-card .bc-skel.thumb { height: 140px; border-radius: 14px; }
.bc-skel-card .bc-skel.line  { height: 12px; }
.bc-skel-card .bc-skel.w-90  { width: 90%; }
.bc-skel-card .bc-skel.w-80  { width: 80%; }
.bc-skel-card .bc-skel.w-60  { width: 60%; }
.bc-skel-card .bc-skel.w-40  { width: 40%; }

.bc-skel-detail { padding: 60px 0; }
.bc-skel-detail .bc-skel.hero { height: 340px; border-radius: 24px; margin-bottom: 28px; }
.bc-skel-detail .bc-skel.line { height: 14px; margin-top: 18px; }

.bc-skel-big { display: flex; flex-direction: column; gap: 26px; }
.bc-skel-big .bc-skel { height: 220px; border-radius: 22px; }

.bc-spinner {
  display: inline-block; width: 42px; height: 42px;
  border: 4px solid #e5e7eb; border-top-color: var(--blue-500, #2563eb);
  border-radius: 50%; animation: bc-spin .9s linear infinite;
}
.bc-loading {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 60px 20px; gap: 16px;
  color: var(--muted, #6b7280); font-weight: 600;
}

/* ===== Simple bs-card variant for DB-added solutions on solutions.html ===== */
.bs-card.bs-card--simple {
  display: block;
  grid-template-columns: none;
  background: #fff;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bs-card.bs-card--simple:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,.08); }
.bs-card.bs-card--simple .bs-body {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bs-card.bs-card--simple .bs-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--muted, #94a3b8);
  letter-spacing: 1px;
}
.bs-card.bs-card--simple .bs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eaf2ff, #e8fbf6);
  color: var(--blue-500, #2563eb);
  font-size: 20px;
  margin-bottom: 4px;
}
.bs-card.bs-card--simple h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text, #0b1220);
  margin: 0;
  line-height: 1.4;
}
.bs-card.bs-card--simple p {
  color: var(--muted, #475569);
  font-size: 14.5px;
  line-height: 1.85;
  margin: 0;
}
.bs-card.bs-card--simple .bs-tags {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bs-card.bs-card--simple .bs-tags li {
  font-size: 12.5px;
  background: var(--bg-soft, #f1f5f9);
  color: var(--text, #334155);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
}

/* ============================================================
   SUCCESS STORIES (reuses .why-tabs structure & JS)
   ============================================================ */
.success-section {
  padding: 90px 0 100px;
  background: var(--bg-soft);
}
/* let the panel box grow to fit the story content instead of a fixed height */
.success-section .why-tabs-panels { min-height: 0; }
.success-section .why-panel {
  position: relative;
  inset: auto;
  justify-content: flex-start;
  padding: 46px 44px;
}
.success-section .why-panel[hidden] { display: none; }
.success-section .why-panel:not([hidden]) { display: flex; }
.ss-sector {
  display: inline-block;
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--teal-500);
  background: rgba(43, 182, 166, .1);
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.success-section .why-panel h4 {
  font-size: 24px;
  margin-bottom: 12px;
}
.success-section .why-panel p {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 18px;
}
.ss-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 22px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-800);
}
.ss-metrics span { position: relative; }
.ss-metrics span + span::before {
  content: '';
  position: absolute;
  inset-inline-start: -10px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--teal-400);
}
.ss-quote {
  margin: 0;
  padding-inline-start: 18px;
  border-inline-start: 3px solid var(--teal-400);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  font-weight: 500;
}
.ss-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .success-section { padding: 64px 0 72px; }
  .success-section .why-panel { padding: 36px 26px; }
  .success-section .why-panel h4 { font-size: 21px; }
}
@media (max-width: 480px) {
  .success-section .why-panel { padding: 32px 22px; }
  .ss-metrics { font-size: 13.5px; }
  .ss-quote { font-size: 15px; }
}

/* ===== Extra (DB-added) systems nodes on index.html — keep visual parity ===== */
.so-node.so-node--extra .so-icon { background: linear-gradient(135deg, #eaf2ff, #e8fbf6); display:flex;align-items:center;justify-content:center; }
.so-node.so-node--extra .so-icon i { font-size: 30px; color: var(--blue-500, #2563eb); }

/* ===== Renewable Energy section (home) — green accent variant of .sec-solutions ===== */
.renew-solutions { background: linear-gradient(180deg, #f3faf4 0%, #eef7f0 100%); }
.renew-solutions .kicker { background: rgba(31,125,63,.12); color: #1f7d3f; }
.renew-solutions .sec-card::before { background: linear-gradient(90deg, #1f7d3f, #2bb6a6); }
.renew-solutions .sec-card:hover { border-color: rgba(31,125,63,.4); }

/* ============================================================
   LEGAL PAGES (privacy / terms / cookies)
   ============================================================ */
.legal-hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-blue);
  color: #fff;
  padding-bottom: 56px;
}
.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 320px at 100% 0%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(600px 320px at 0% 100%, rgba(43,182,166,.22), transparent 60%);
  pointer-events: none;
}
.legal-hero .container { position: relative; z-index: 1; }
.legal-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.72);
  margin-bottom: 14px;
}
.legal-crumb a { color: rgba(255,255,255,.72); }
.legal-crumb a:hover { color: #fff; }
.legal-crumb i { font-size: 10px; }
.legal-hero h1 {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 12px;
}
.legal-hero .lead {
  color: rgba(255,255,255,.85);
  font-size: 16.5px;
  line-height: 1.85;
  max-width: 760px;
  margin: 0;
}
.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 100px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
}

.legal-body {
  padding: 60px 0 90px;
  background: var(--bg-soft);
}
.legal-wrap {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 44px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
}
.legal-toc h4 {
  font-size: 12px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--blue-500);
  font-family: 'Tajawal', sans-serif;
  margin: 0 0 14px;
}
.legal-toc ol { list-style: none; counter-reset: toc; display: grid; gap: 9px; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: flex;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 600;
}
.legal-toc a::before {
  content: counter(toc);
  flex: 0 0 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--navy-800);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.legal-toc a:hover { color: var(--blue-500); }
.legal-toc a:hover::before { background: var(--blue-500); color: #fff; }

.legal-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 44px;
  box-shadow: var(--shadow-sm);
}
.legal-content > p:first-child { margin-top: 0; }
.legal-content section { scroll-margin-top: 100px; }
.legal-content section + section {
  margin-top: 34px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.legal-content h2 {
  font-size: 21px;
  font-weight: 900;
  color: var(--navy-900);
  margin: 0 0 14px;
}
.legal-content h2 .num {
  display: inline-block;
  margin-inline-end: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--blue-500);
  font-family: 'Tajawal', sans-serif;
}
.legal-content h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy-800);
  margin: 22px 0 8px;
}
.legal-content p { color: var(--ink-soft); font-size: 15px; line-height: 1.9; margin: 0 0 12px; }
.legal-content ul { padding-inline-start: 4px; margin: 0 0 14px; display: grid; gap: 8px; list-style: none; }
.legal-content ul li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 4px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--teal-500);
}
.legal-content a:not(.btn) { color: var(--blue-500); font-weight: 700; }
.legal-content a:not(.btn):hover { text-decoration: underline; }
.legal-content strong { color: var(--navy-800); }

.legal-callout {
  margin: 30px 0 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.legal-callout strong { display: block; color: var(--navy-900); margin-bottom: 6px; font-size: 15px; }
.legal-callout p { margin: 0; }
.legal-callout ul { margin-top: 8px; margin-bottom: 0; }

@media (max-width: 900px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 26px; }
  .legal-toc { position: static; }
}
@media (max-width: 560px) {
  .legal-hero h1 { font-size: 27px; }
  .legal-hero .lead { font-size: 15px; }
  .legal-content { padding: 24px 20px; }
  .legal-body { padding: 44px 0 70px; }
}

/* ============================================================
   ENERGY / RENEWABLE PAGE — scoped under body.page-energy
   ============================================================ */
.page-energy {
  --e-forest-950: #021c10;
  --e-forest-900: #053a1c;
  --e-forest-800: #075a2a;
  --e-green-700: #0c7c3a;
  --e-green-600: #119a47;
  --e-green-500: #19b855;
  --e-green-400: #2dd16b;
  --e-mint-300: #8edb9f;
  --e-mint-200: #bfeacb;
  --e-mint-100: #e6f5ea;
  --e-cream: #f6f1e7;
  --e-paper: #f4f8f4;
  --e-gold: #f7c948;
  --e-ink: #0d2616;
  --e-ink-soft: #3c5246;

  background: var(--e-paper);
  color: var(--e-ink);
}
.page-energy main { background: var(--e-paper); }

/* hide the global teal CTA when energy CTA is in use */
.page-energy .cta-section { display: none; }

/* — numerals & latin micro-type inherit site font — */
.page-energy .e-serif {
  font-family: 'Tajawal', sans-serif;
}

/* add top padding since hero was removed */
.page-energy .energy-manifesto { padding-top: 160px; }

/* ---------- HERO COVER ---------- */
.energy-cover {
  position: relative;
  min-height: 92vh;
  padding: 110px 0 0;
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(45,209,107,.32), transparent 60%),
    linear-gradient(180deg, #064d24 0%, #0a7a36 45%, #119a47 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.energy-cover::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px, 17px 17px;
  background-position: 0 0, 8px 8px;
  mix-blend-mode: screen;
  opacity: .35;
  pointer-events: none;
  z-index: 1;
}
.energy-cover::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 88px 88px;
  pointer-events: none;
  z-index: 1;
  opacity: .55;
}

.ec-inner {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ec-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 700;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.28);
  color: #eaffe8;
  backdrop-filter: blur(6px);
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(14px);
  animation: eFadeUp .9s .15s cubic-bezier(.2,.7,.2,1) forwards;
}
.ec-chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--e-gold);
  box-shadow: 0 0 12px var(--e-gold);
  animation: ePulse 2.4s ease-in-out infinite;
}

.ec-logo {
  width: 76%;
  max-width: 480px;
  margin-bottom: 0;
  position: relative;
  z-index: 3;
  opacity: 0;
  transform: translateY(20px) scale(.96);
  animation:
    eFadeUp 1.1s .35s cubic-bezier(.2,.7,.2,1) forwards,
    ecLogoBreath 6.5s 1.4s ease-in-out infinite;
  filter: drop-shadow(0 24px 46px rgba(2,28,16,.55));
}

/* logo frame — decorative composition around the brand logo */
.ec-logo-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(380px, 46vw, 600px);
  aspect-ratio: 1 / 1.04;
  margin: 6px auto 32px;
  isolation: isolate;
}
.ec-blob {
  position: absolute;
  pointer-events: none;
  border-radius: 58% 42% 50% 50% / 48% 52% 48% 52%;
}
.ec-blob-1 {
  inset: 6%;
  z-index: 1;
  background:
    radial-gradient(120% 80% at 28% 26%, rgba(180,240,200,.55), transparent 55%),
    linear-gradient(135deg, #064d24 0%, #0c7c3a 45%, #19b855 90%, #2dd16b 100%);
  box-shadow:
    0 50px 100px -24px rgba(2,28,16,.55),
    inset 0 -34px 90px rgba(2,28,16,.35),
    inset 0 28px 60px rgba(255,255,255,.12);
  animation:
    ecBlobMorph 16s ease-in-out infinite alternate,
    ecBlobSpin 26s linear infinite;
}
.ec-blob-2 {
  inset: 14%;
  z-index: 0;
  background:
    radial-gradient(circle at 60% 40%, rgba(247,201,72,.28), transparent 55%),
    linear-gradient(135deg, rgba(141,219,159,.55), rgba(45,209,107,0));
  filter: blur(22px);
  opacity: .9;
  animation:
    ecBlobMorph 14s -3s ease-in-out infinite alternate-reverse,
    ecBlobSpin 36s linear infinite reverse;
}

.ec-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}
.ec-ring-1 {
  inset: 0;
  border: 1px dashed rgba(255,255,255,.22);
  animation: ecRingSpin 40s linear infinite;
}
.ec-ring-2 {
  inset: -8%;
  border: 1px solid rgba(247,201,72,.3);
  animation: ecRingSpin 60s linear infinite reverse;
}
.ec-ring-2::before,
.ec-ring-2::after {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--e-gold);
  box-shadow: 0 0 14px var(--e-gold);
}
.ec-ring-2::before { top: -5px; left: 50%; transform: translateX(-50%); }
.ec-ring-2::after  { bottom: -5px; right: 50%; transform: translateX(50%); }

.ec-spark {
  position: absolute;
  z-index: 4;
  width: clamp(50px, 5.4vw, 64px);
  height: clamp(50px, 5.4vw, 64px);
  display: grid; place-items: center;
  background: #fff;
  border-radius: 20px;
  font-size: clamp(20px, 2vw, 24px);
  box-shadow:
    0 22px 40px -14px rgba(2,28,16,.5),
    0 0 0 1px rgba(2,28,16,.04);
  animation: ecSparkFloat 4.6s ease-in-out infinite alternate;
}
.ec-spark-1 { top: 2%;  right: -4%; animation-delay: -0.4s; }
.ec-spark-1 i { color: var(--e-green-700); }
.ec-spark-2 { top: 48%; left: -8%; background: linear-gradient(135deg, #fff 60%, #fff4d0); animation-delay: -1.8s; }
.ec-spark-2 i { color: var(--e-gold); }
.ec-spark-3 { bottom: 2%; right: 10%; animation-delay: -3.1s; }
.ec-spark-3 i { color: var(--e-forest-900); }

@keyframes ecBlobMorph {
  0%   { border-radius: 58% 42% 50% 50% / 48% 52% 48% 52%; }
  25%  { border-radius: 44% 56% 38% 62% / 56% 44% 60% 40%; }
  50%  { border-radius: 36% 64% 60% 40% / 36% 60% 44% 64%; }
  75%  { border-radius: 60% 40% 44% 56% / 50% 50% 50% 50%; }
  100% { border-radius: 50% 50% 60% 40% / 60% 40% 50% 50%; }
}
@keyframes ecBlobSpin { to { transform: rotate(360deg); } }
@keyframes ecRingSpin { to { transform: rotate(360deg); } }
@keyframes ecLogoBreath {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-12px) scale(1.025); }
}
@keyframes ecSparkFloat {
  0%   { transform: translateY(0) rotate(-6deg); }
  100% { transform: translateY(-16px) rotate(6deg); }
}

@media (max-width: 640px) {
  .ec-logo-frame { width: min(86vw, 380px); }
  .ec-spark-1 { right: -2%; }
  .ec-spark-2 { left: -2%; }
}

@media (prefers-reduced-motion: reduce) {
  .ec-blob, .ec-ring, .ec-logo, .ec-spark { animation: none !important; }
}

.ec-title {
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.5px;
  color: #fff;
  margin: 0 0 18px;
  max-width: 1000px;
  opacity: 0;
  transform: translateY(20px);
  animation: eFadeUp 1s .5s cubic-bezier(.2,.7,.2,1) forwards;
  isolation: isolate;
}
.ec-title .ec-mark {
  display: inline-block;
  position: relative;
  padding: 0 6px;
  isolation: isolate;
}
.ec-title .ec-mark::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 14px;
  background: rgba(247,201,72,.55);
  z-index: -1;
  border-radius: 4px;
  transform: skewX(-6deg);
}

.ec-sub {
  font-size: clamp(15px, 1.5vw, 19px);
  color: rgba(255,255,255,.82);
  max-width: 760px;
  line-height: 1.85;
  margin: 0 0 36px;
  opacity: 0;
  transform: translateY(18px);
  animation: eFadeUp 1s .7s cubic-bezier(.2,.7,.2,1) forwards;
}

.ec-latin {
  font-size: 11px;
  letter-spacing: 9px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
  font-weight: 600;
  font-family: 'Tajawal', sans-serif;
  opacity: 0;
  animation: eFadeUp 1s .9s cubic-bezier(.2,.7,.2,1) forwards;
}

.ec-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(18px);
  animation: eFadeUp 1s .85s cubic-bezier(.2,.7,.2,1) forwards;
}
.ec-actions .e-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 15px;
  transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
}
.e-btn.primary {
  background: #fff;
  color: var(--e-forest-900);
  box-shadow: 0 18px 40px -10px rgba(0,0,0,.35);
}
.e-btn.primary:hover {
  transform: translateY(-3px);
  background: var(--e-gold);
}
.e-btn.ghost {
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.05);
}
.e-btn.ghost:hover { background: rgba(255,255,255,.15); transform: translateY(-3px); }
.e-btn i { font-size: 13px; }

/* — building silhouettes at base — */
.ec-skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 280px;
  z-index: 2;
  pointer-events: none;
}
.ec-skyline svg { width: 100%; height: 100%; display: block; }
.ec-skyline .sky-back { animation: eDrift 14s ease-in-out infinite; transform-origin: 50% 100%; }
.ec-skyline .sky-front { animation: eDrift 11s ease-in-out infinite reverse; transform-origin: 50% 100%; }

/* — sun ornament — */
.ec-sun {
  position: absolute;
  top: 14%;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(247,201,72,.55), rgba(247,201,72,0) 65%);
  filter: blur(2px);
  z-index: 1;
  animation: eGlow 6s ease-in-out infinite;
}

/* scroll cue */
.ec-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(255,255,255,.7);
  font-family: 'Tajawal', sans-serif;
}
.ec-scroll .line {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, rgba(255,255,255,.7), transparent);
  animation: eScroll 1.8s ease-in-out infinite;
  transform-origin: top;
}

/* ---------- MANIFESTO ---------- */
.energy-manifesto {
  padding: 110px 0 90px;
  position: relative;
  background: var(--e-paper);
}
.energy-manifesto > .container {
  margin-top: 80px;
}
.em-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
.em-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 4px;
  font-weight: 800;
  color: var(--e-green-700);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.em-eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--e-green-700);
}
.em-head {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.18;
  color: var(--e-forest-900);
  font-weight: 900;
  letter-spacing: -.5px;
}
.em-head em {
  font-family: 'Tajawal', sans-serif;
  font-style: normal;
  font-weight: 700;
  color: var(--e-green-600);
}
.em-mark {
  display: inline-block;
  padding: 2px 9px;
  background: var(--e-mint-100);
  color: var(--e-green-700);
  font-weight: 700;
  border-radius: 6px;
}

/* ---------- MANIFESTO · ROTATING STAGE ---------- */
.em-stage {
  position: relative;
  padding-right: 26px;
}
.em-stage-rail {
  position: absolute;
  top: 6px;
  right: 0;
  bottom: 70px;
  width: 2px;
  background: rgba(11,80,40,.10);
  border-radius: 2px;
  overflow: hidden;
}
.em-stage-rail-fill {
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 0%;
  background: linear-gradient(180deg, var(--e-green-600), var(--e-forest-900));
  transition: height .25s linear;
}

/* deck holds the absolutely-stacked cards */
.em-deck {
  position: relative;
  min-height: 360px;
}

/* the box itself */
.em-card {
  position: absolute;
  inset: 0;
  background: #ffffff;
  border: 1px solid rgba(11,80,40,.08);
  border-radius: 18px;
  padding: 34px 34px 26px;
  box-shadow:
    0 1px 0 rgba(11,80,40,.04),
    0 30px 60px -40px rgba(5,58,28,.35),
    0 14px 28px -22px rgba(5,58,28,.18);
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.985);
  filter: blur(2px);
  transition:
    opacity .55s ease,
    transform .65s cubic-bezier(.22,1,.36,1),
    filter .55s ease,
    visibility 0s linear .55s;
  pointer-events: none;
  overflow: hidden;
}
.em-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--e-green-600), var(--e-forest-900));
  opacity: .85;
}
.em-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(17,154,71,.06), transparent 55%),
    radial-gradient(80% 50% at 0% 100%, rgba(5,58,28,.05), transparent 60%);
  pointer-events: none;
}
.em-card.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
  transition:
    opacity .55s ease .05s,
    transform .65s cubic-bezier(.22,1,.36,1) .05s,
    filter .55s ease .05s,
    visibility 0s linear 0s;
}
.em-card.is-leaving {
  opacity: 0;
  visibility: visible;
  transform: translateY(-14px) scale(.985);
  filter: blur(2px);
  transition:
    opacity .45s ease,
    transform .55s cubic-bezier(.22,1,.36,1),
    filter .45s ease;
}

.em-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.em-card-num {
  font-size: 32px;
  font-weight: 500;
  color: var(--e-forest-900);
  letter-spacing: -.5px;
  line-height: 1;
}
.em-card-num i {
  font-style: normal;
  font-size: 14px;
  color: var(--e-ink-soft);
  opacity: .55;
  margin-right: 2px;
  font-weight: 400;
}
.em-card-icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--e-mint-100);
  color: var(--e-green-700);
  font-size: 18px;
}
.em-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 11.5px;
  letter-spacing: 3px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--e-green-700);
  padding: 6px 12px;
  border: 1px solid rgba(12,124,58,.22);
  border-radius: 999px;
  background: rgba(230,245,234,.55);
}
.em-card-title {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--e-forest-900);
  font-weight: 800;
  letter-spacing: -.2px;
  margin: 2px 0 4px;
}
.em-card-title em {
  font-family: 'Tajawal', sans-serif;
  font-style: italic;
  font-weight: 500;
  color: var(--e-green-600);
}
.em-card-text {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--e-ink-soft);
  margin: 0;
}
.em-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
}
.em-card-foot-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11,80,40,.18) 30%, rgba(11,80,40,.18) 70%, transparent);
}
.em-card-foot-text {
  font-family: 'Tajawal', sans-serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--e-ink-soft);
  opacity: .7;
}

/* dots */
.em-dots {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.em-dot {
  appearance: none;
  background: none;
  border: 0;
  padding: 8px 4px;
  cursor: pointer;
  display: inline-flex;
}
.em-dot span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(11,80,40,.18);
  border-radius: 2px;
  transition: width .45s cubic-bezier(.22,1,.36,1), background .35s ease;
}
.em-dot:hover span { background: rgba(11,80,40,.4); }
.em-dot.is-active span {
  width: 44px;
  background: var(--e-green-700);
}

@media (max-width: 860px) {
  .em-stage { padding-right: 20px; }
  .em-deck { min-height: 420px; }
  .em-card { padding: 26px 22px 20px; border-radius: 16px; }
  .em-card-num { font-size: 26px; }
  .em-card-icon { width: 38px; height: 38px; font-size: 16px; }
  .em-card-title { font-size: 19px; }
  .em-card-text { font-size: 14.5px; line-height: 1.9; }
}
@media (prefers-reduced-motion: reduce) {
  .em-card,
  .em-card.is-active,
  .em-card.is-leaving { transition: opacity .2s linear; transform: none; filter: none; }
  .em-stage-rail-fill { transition: none; }
}

/* ---------- PILLARS ---------- */
.energy-pillars {
  padding: 30px 0 100px;
  background: var(--e-paper);
}
.ep-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(11,80,40,.14);
  border-bottom: 1px solid rgba(11,80,40,.14);
}
.ep-cell {
  padding: 44px 28px;
  position: relative;
  transition: background .35s ease;
}
.ep-cell + .ep-cell { border-right: 1px solid rgba(11,80,40,.14); }
.ep-cell:hover { background: var(--e-mint-100); }
.ep-cell .ep-num {
  font-family: 'Tajawal', sans-serif;
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  color: var(--e-green-600);
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.ep-cell .ep-num small {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--e-ink-soft);
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
}
.ep-cell h3 {
  font-size: 22px;
  color: var(--e-forest-900);
  margin-bottom: 10px;
}
.ep-cell p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--e-ink-soft);
}
.ep-cell .ep-icon {
  position: absolute;
  top: 32px;
  left: 28px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--e-mint-100);
  color: var(--e-green-700);
  font-size: 18px;
  transition: all .3s ease;
}
.ep-cell:hover .ep-icon {
  background: var(--e-green-600);
  color: #fff;
  transform: rotate(-8deg) scale(1.05);
}

/* ---------- EDITORIAL DETAIL ROWS ---------- */
.energy-detail {
  padding: 70px 0 60px;
  background: var(--e-paper);
}
.ed-row {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.ed-row.revealed { opacity: 1; transform: translateY(0); }
.ed-row:last-child { margin-bottom: 0; }
.ed-row.reverse { direction: ltr; }
.ed-row.reverse > * { direction: rtl; }

.ed-visual {
  position: relative;
  height: 460px;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--e-forest-900), var(--e-green-600));
  box-shadow: 0 40px 80px -30px rgba(7,90,42,.4);
}
.ed-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.ed-row:hover .ed-visual img { transform: scale(1.05); }
.ed-visual::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.4);
  pointer-events: none;
  z-index: 2;
}
.ed-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,28,16,0) 50%, rgba(2,28,16,.55) 100%);
  z-index: 1;
}
.ed-visual .v-label {
  position: absolute;
  bottom: 28px; right: 28px;
  z-index: 3;
  color: #fff;
  font-family: 'Tajawal', sans-serif;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 2px;
}
.ed-visual .v-corner {
  position: absolute;
  top: 22px; left: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(255,255,255,.85);
  font-weight: 700;
}
.ed-visual .v-corner i { color: var(--e-gold); }

.ed-content { padding: 30px 0; position: relative; }
.ed-numeral {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(120px, 14vw, 200px);
  font-weight: 300;
  line-height: .85;
  color: var(--e-mint-200);
  position: absolute;
  top: -10px;
  left: 0;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  letter-spacing: -6px;
}
.ed-row.reverse .ed-numeral { left: auto; right: 0; }
.ed-content > * { position: relative; z-index: 1; }
.ed-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--e-green-700);
  margin-bottom: 18px;
}
.ed-tag::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--e-green-700);
}
.ed-content h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
  color: var(--e-forest-900);
  margin-bottom: 22px;
  font-weight: 900;
}
.ed-content h2 em {
  font-family: 'Tajawal', sans-serif;
  font-style: normal;
  font-weight: 700;
  color: var(--e-green-600);
}
.ed-content > p {
  font-size: 16px;
  line-height: 2;
  color: var(--e-ink-soft);
  margin-bottom: 14px;
}
.ed-feats {
  margin-top: 30px;
  display: grid;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px dashed rgba(11,80,40,.25);
}
.ed-feats li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--e-ink);
  line-height: 1.6;
}
.ed-feats li .leaf {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  background: var(--e-green-600);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 21c0-9 6-16 18-18-1 12-8 18-18 18zm5-5c5-1 8-4 9-9' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 21c0-9 6-16 18-18-1 12-8 18-18 18zm5-5c5-1 8-4 9-9' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.ed-feats li:hover .leaf { transform: rotate(-12deg) scale(1.15); }

/* ---------- STATS ---------- */
.energy-stats {
  position: relative;
  padding: 80px 0;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(45,209,107,.18), transparent 60%),
    linear-gradient(180deg, var(--e-forest-900), var(--e-forest-950));
  color: #fff;
  overflow: hidden;
}
.energy-stats::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 80px 100%;
  pointer-events: none;
}
.es-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.es-cell {
  padding: 24px 6px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.es-cell:last-child { border-right: none; }
.es-num {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 300;
  line-height: 1;
  color: #fff;
  letter-spacing: -2px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.es-num span {
  font-size: 24px;
  color: var(--e-green-400);
  font-weight: 400;
}
.es-label {
  margin-top: 16px;
  font-size: 13.5px;
  letter-spacing: 1px;
  color: rgba(255,255,255,.72);
  font-weight: 600;
}

/* ---------- FLOW ---------- */
.energy-flow {
  padding: 120px 0 100px;
  background: var(--e-paper);
}
.ef-head {
  text-align: center;
  margin-bottom: 60px;
}
.ef-head .em-eyebrow { justify-content: center; }
.ef-head .em-eyebrow { display: inline-flex; }
.ef-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  color: var(--e-forest-900);
  max-width: 720px;
  margin: 0 auto;
}
.ef-head h2 em { font-family: 'Tajawal', sans-serif; font-style: normal; color: var(--e-green-600); font-weight: 700; }

.ef-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.ef-flow::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 6%; right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--e-green-500) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.ef-node {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}
.ef-node .ef-disc {
  width: 120px;
  height: 120px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(11,80,40,.18);
  display: grid;
  place-items: center;
  font-size: 38px;
  color: var(--e-green-600);
  box-shadow: 0 18px 40px -16px rgba(7,90,42,.35);
  transition: all .35s cubic-bezier(.2,.7,.2,1);
}
.ef-node:hover .ef-disc {
  transform: translateY(-6px);
  background: var(--e-green-600);
  color: #fff;
  border-color: var(--e-green-600);
}
.ef-node h4 {
  font-size: 16px;
  color: var(--e-forest-900);
  margin-bottom: 6px;
  font-weight: 800;
}
.ef-node p {
  font-size: 13.5px;
  color: var(--e-ink-soft);
  line-height: 1.7;
}
.ef-node .ef-step {
  display: inline-block;
  font-family: 'Tajawal', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--e-green-700);
  margin-bottom: 4px;
}

/* ---------- CTA ---------- */
.energy-cta-block {
  padding: 0 0 100px;
  background: var(--e-paper);
}
.ecta-card {
  position: relative;
  border-radius: 36px;
  padding: 80px 60px;
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(45,209,107,.35), transparent 60%),
    linear-gradient(135deg, var(--e-forest-900), var(--e-green-700));
  color: #fff;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(2,28,16,.55);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.ecta-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .35;
  pointer-events: none;
}
.ecta-card h2 {
  position: relative;
  color: #fff;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.2;
  margin-bottom: 18px;
  font-weight: 900;
}
.ecta-card h2 em { font-family: 'Tajawal', sans-serif; font-style: normal; color: var(--e-gold); font-weight: 700; }
.ecta-card p {
  position: relative;
  color: rgba(255,255,255,.85);
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 30px;
  max-width: 540px;
}
.ecta-actions {
  position: relative;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.ecta-card .ecta-art {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
}
.ecta-card .ecta-art-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  padding: 6px;
  background: linear-gradient(140deg, rgba(247, 201, 72, .85), rgba(247, 201, 72, .15) 45%, rgba(255, 255, 255, .08));
  box-shadow:
    0 30px 60px -25px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(255, 255, 255, .06) inset;
  transform: rotate(-1.2deg);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.ecta-card .ecta-art-frame::before {
  content: '';
  position: absolute;
  inset: -14px -14px auto auto;
  width: 70%;
  height: 70%;
  border: 1px dashed rgba(247, 201, 72, .55);
  border-radius: 22px;
  transform: rotate(3deg);
  pointer-events: none;
  z-index: 0;
}
.ecta-card .ecta-art-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}
.ecta-card .ecta-art-glow {
  position: absolute;
  inset: auto -20px -20px auto;
  width: 55%;
  height: 55%;
  background: radial-gradient(circle at 70% 70%, rgba(247, 201, 72, .55), transparent 65%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}
.ecta-card .ecta-art-frame:hover { transform: rotate(0) translateY(-4px); }

/* ---------- ANIMATIONS ---------- */
@keyframes eFadeUp {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.85); }
}
@keyframes eDrift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-10px); }
}
@keyframes eGlow {
  0%, 100% { opacity: .9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes eScroll {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes eBlobDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(14px, -10px) scale(1.06); }
}
@keyframes eSpin {
  to { transform: rotate(360deg); }
}
@keyframes eFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
/* respect the translateX in spark-1 */
.ec-spark-1 { animation-name: eFloatCentered; }
@keyframes eFloatCentered {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-10px); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .ep-track { grid-template-columns: 1fr; }
  .ep-cell + .ep-cell { border-right: none; border-top: 1px solid rgba(11,80,40,.14); }
  .em-grid { grid-template-columns: 1fr; gap: 30px; }
  .ed-row, .ed-row.reverse { grid-template-columns: 1fr; gap: 30px; direction: rtl; }
  .ed-row.reverse > * { direction: rtl; }
  .ed-visual { height: 320px; }
  .es-grid { grid-template-columns: repeat(2, 1fr); }
  .es-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 28px; }
  .es-cell:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
  .ef-flow { grid-template-columns: repeat(2, 1fr); gap: 40px 18px; }
  .ef-flow::before { display: none; }
  .ecta-card { grid-template-columns: 1fr; padding: 60px 36px; text-align: center; }
  .ecta-actions { justify-content: center; }
  .ecta-card p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 600px) {
  .energy-cover { min-height: 88vh; }
  .ec-inner { padding-bottom: 230px; }
  .ec-skyline { height: 200px; }
  .ec-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .ec-actions .e-btn { width: 100%; justify-content: center; }
  .ep-cell { padding: 36px 22px; }
  .ep-cell .ep-num { font-size: 56px; }
  .ecta-card { padding: 50px 24px; border-radius: 24px; }
  .ef-disc { width: 96px !important; height: 96px !important; font-size: 30px !important; }
}

/* ============================================================
   SMART CITIES PAGE — blue variant of the energy layout
   Re-uses .energy-*/.ep-*/.ed-*/.es-*/.ef-*/.ecta-* styles
   but rewires the palette and overrides hardcoded greens.
   ============================================================ */
.page-cities {
  --e-forest-950: #061226;
  --e-forest-900: #0d2552;
  --e-forest-800: #14366f;
  --e-green-700: #1c4a93;
  --e-green-600: #2a87c9;
  --e-green-500: #4ba2db;
  --e-green-400: #7ec0e8;
  --e-mint-300: #b8d9ee;
  --e-mint-200: #d4e7f5;
  --e-mint-100: #eaf3fb;
  --e-cream: #f4f8fc;
  --e-paper: #f4f8fc;
  --e-gold: #f7c948;
  --e-ink: #122340;
  --e-ink-soft: #4b5b75;

  background: var(--e-paper);
  color: var(--e-ink);
}
.page-cities main { background: var(--e-paper); }
.page-cities .cta-section { display: none; }
.page-cities .e-serif { font-family: 'Tajawal', sans-serif; }

/* hardcoded green tints → navy tints */
.page-cities .ep-track {
  border-top-color: rgba(15,50,110,.14);
  border-bottom-color: rgba(15,50,110,.14);
}
.page-cities .ep-cell + .ep-cell { border-right-color: rgba(15,50,110,.14); }
.page-cities .ed-visual { box-shadow: 0 40px 80px -30px rgba(15,50,110,.4); }
.page-cities .ed-visual::after {
  background: linear-gradient(180deg, rgba(13,37,82,0) 50%, rgba(13,37,82,.55) 100%);
}
.page-cities .ed-feats { border-top-color: rgba(15,50,110,.25); }
.page-cities .energy-stats {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(75,162,219,.22), transparent 60%),
    linear-gradient(180deg, var(--e-forest-900), var(--e-forest-950));
}
.page-cities .ef-node .ef-disc {
  border-color: rgba(15,50,110,.18);
  box-shadow: 0 18px 40px -16px rgba(15,50,110,.35);
}
.page-cities .ecta-card {
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(75,162,219,.35), transparent 60%),
    linear-gradient(135deg, var(--e-forest-900), var(--e-green-700));
  box-shadow: 0 40px 80px -30px rgba(13,37,82,.55);
}

@media (max-width: 1100px) {
  .page-cities .ep-cell + .ep-cell { border-top-color: rgba(15,50,110,.14); }
}

/* ============================================================
   ABOUT / INTRO — Editorial Monument (redesign 2026)
   The first section of the About page. Architectural feel.
   ============================================================ */
.about-intro {
  --ai-ink:        #0a1f3f;
  --ai-ink-soft:   #46557a;
  --ai-paper:      #fbfaf6;
  --ai-paper-2:    #f4f1e8;
  --ai-line:       #d9cfb8;
  --ai-line-soft:  rgba(10,31,63,.10);
  --ai-teal:       #2bb6a6;
  --ai-blue:       #1c4a93;
  --ai-gold:       #b48a2e;
  --ai-gold-soft:  #d9b864;

  position: relative;
  padding: 130px 0 140px;
  overflow: hidden;
  isolation: isolate;
  color: var(--ai-ink);
  background:
    linear-gradient(180deg, #fbfaf6 0%, #f6f2e7 100%);
  font-family: 'Tajawal', system-ui, sans-serif;
}

/* ---------- Background atmosphere ---------- */
.about-intro .ai-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.about-intro .ai-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(10,31,63,.10) 1px, transparent 1.4px);
  background-size: 28px 28px;
  background-position: 0 0;
  opacity: .55;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 90%);
}
.about-intro .ai-orb {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
  pointer-events: none;
}
.about-intro .ai-orb--teal {
  background: radial-gradient(circle, rgba(43,182,166,.55), transparent 60%);
  top: -180px;
  right: -200px;
}
.about-intro .ai-orb--blue {
  background: radial-gradient(circle, rgba(28,74,147,.45), transparent 60%);
  bottom: -240px;
  left: -200px;
}
.about-intro .ai-compass {
  position: absolute;
  width: 540px;
  height: 540px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -42%);
  color: var(--ai-ink);
  opacity: .045;
  z-index: -1;
  animation: ai-rotate 60s linear infinite;
}
@keyframes ai-rotate {
  to { transform: translate(-50%, -42%) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .about-intro .ai-compass { animation: none; }
}

/* ---------- Meta strip ---------- */
.about-intro .ai-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  color: var(--ai-ink);
  padding: 14px 22px;
  margin-bottom: 56px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--ai-line-soft);
  border-radius: 100px;
  width: fit-content;
  margin-inline-start: 0;
  box-shadow: 0 2px 12px rgba(10,31,63,.04);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.about-intro .ai-meta.revealed { opacity: 1; transform: translateY(0); }
.about-intro .ai-meta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ai-teal);
  box-shadow: 0 0 0 4px rgba(43,182,166,.18);
  animation: ai-pulse 2.4s ease-in-out infinite;
}
@keyframes ai-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(43,182,166,.18); }
  50%      { box-shadow: 0 0 0 8px rgba(43,182,166,.08); }
}
.about-intro .ai-meta-sep {
  color: var(--ai-line);
  font-weight: 400;
}
.about-intro .ai-meta-text--mono {
  font-family: 'Tajawal', sans-serif;
  letter-spacing: 1.5px;
  color: var(--ai-gold);
}

/* ---------- Hero — split editorial ---------- */
.about-intro .ai-hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 130px;
}

/* Hero text */
.about-intro .ai-hero-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1);
}
.about-intro .ai-hero-text.revealed { opacity: 1; transform: translateY(0); }

.about-intro .ai-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ai-ink);
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--ai-line);
  border-radius: 100px;
  margin-bottom: 28px;
  box-shadow: 0 4px 12px rgba(180,138,46,.08);
}
.about-intro .ai-kicker i {
  color: var(--ai-gold);
  font-size: 11px;
}

.about-intro .ai-headline {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  color: var(--ai-ink);
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.18;
  letter-spacing: -.5px;
  margin: 0 0 30px;
}
.about-intro .ai-h-row {
  display: block;
}
.about-intro .ai-h-row--display {
  position: relative;
  display: inline-block;
  margin: 6px 0;
}
.about-intro .ai-h-display {
  position: relative;
  display: inline-block;
  font-family: 'Tajawal', sans-serif;
  font-weight: 900;
  background: linear-gradient(135deg, var(--ai-ink) 0%, var(--ai-blue) 50%, var(--ai-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 8px;
  z-index: 1;
}
.about-intro .ai-h-underline {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 4px;
  height: 14px;
  z-index: 0;
  background: linear-gradient(90deg, rgba(43,182,166,.0) 0%, rgba(43,182,166,.32) 18%, rgba(180,138,46,.32) 82%, rgba(180,138,46,0) 100%);
  border-radius: 4px;
  transform: skewX(-6deg);
  opacity: 0;
  animation: ai-underline 1.4s .6s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes ai-underline {
  from { opacity: 0; transform: skewX(-6deg) scaleX(0); transform-origin: right; }
  to   { opacity: 1; transform: skewX(-6deg) scaleX(1); transform-origin: right; }
}
.about-intro .ai-headline em {
  font-style: italic;
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  color: var(--ai-gold);
  position: relative;
  padding: 0 4px;
}

.about-intro .ai-lead {
  font-size: 18px;
  line-height: 1.95;
  color: var(--ai-ink-soft);
  max-width: 560px;
  margin: 0 0 36px;
}
.about-intro .ai-lead strong {
  color: var(--ai-ink);
  font-weight: 800;
  position: relative;
  white-space: nowrap;
}
.about-intro .ai-lead strong::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px 0;
  height: 6px;
  background: rgba(43,182,166,.25);
  z-index: -1;
  border-radius: 2px;
}

.about-intro .ai-cta-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.about-intro .ai-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 30px 16px 16px;
  background: var(--ai-ink);
  color: #fff;
  border-radius: 100px;
  font-weight: 800;
  font-size: 15px;
  transition: transform .35s ease, box-shadow .35s ease, background .3s ease;
  box-shadow: 0 14px 30px rgba(10,31,63,.22);
}
.about-intro .ai-cta:hover {
  background: var(--ai-blue);
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(10,31,63,.30);
}
.about-intro .ai-cta-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ai-gold);
  color: var(--ai-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.about-intro .ai-cta:hover .ai-cta-arrow {
  transform: translateY(4px);
}
.about-intro .ai-cta-note {
  font-size: 14px;
  color: var(--ai-ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.about-intro .ai-cta-pill {
  font-family: 'Tajawal', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  background: #fff;
  border: 1.5px solid var(--ai-ink);
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  color: var(--ai-ink);
  letter-spacing: 1px;
}

/* ---------- Monument — sculptural numeric anchor ---------- */
.about-intro .ai-monument {
  position: relative;
  opacity: 0;
  transform: translateY(24px) scale(.97);
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1);
  transition-delay: .25s;
}
.about-intro .ai-monument.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.about-intro .ai-monument-frame {
  position: relative;
  padding: 46px 38px 38px;
  background:
    linear-gradient(180deg, #fffefb 0%, #fbf6e8 100%);
  border-radius: 6px;
  border: 1px solid rgba(180,138,46,.35);
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 0 0 1px rgba(180,138,46,.10) inset,
    0 40px 80px -20px rgba(10,31,63,.25),
    0 20px 40px -16px rgba(10,31,63,.15);
}
.about-intro .ai-monument-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(180,138,46,.40);
  border-radius: 3px;
  pointer-events: none;
}
.about-intro .ai-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--ai-ink);
  z-index: 2;
}
.about-intro .ai-corner--tl { top: 22px; right: 22px; border-left: 0; border-bottom: 0; }
.about-intro .ai-corner--tr { top: 22px; left: 22px;  border-right: 0; border-bottom: 0; }
.about-intro .ai-corner--bl { bottom: 22px; right: 22px; border-left: 0; border-top: 0; }
.about-intro .ai-corner--br { bottom: 22px; left: 22px;  border-right: 0; border-top: 0; }

.about-intro .ai-monument-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.about-intro .ai-monument-star {
  color: var(--ai-gold);
  font-size: 10px;
}
.about-intro .ai-monument-stamp {
  font-family: 'Tajawal', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--ai-ink);
  padding: 4px 12px;
  border-top: 1px solid rgba(180,138,46,.4);
  border-bottom: 1px solid rgba(180,138,46,.4);
}
.about-intro .ai-monument-num {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 8px;
  line-height: .85;
  font-family: 'Tajawal', sans-serif;
  font-weight: 900;
  background: linear-gradient(180deg, var(--ai-ink) 0%, var(--ai-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -6px;
}
.about-intro .ai-monument-plus {
  font-size: 80px;
  padding-top: 18px;
  color: var(--ai-gold);
  -webkit-text-fill-color: var(--ai-gold);
  letter-spacing: 0;
}
.about-intro .ai-monument-digits {
  font-size: clamp(140px, 14vw, 200px);
}
.about-intro .ai-monument-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--ai-ink);
  letter-spacing: 1px;
  margin-top: 6px;
}
.about-intro .ai-monument-bar {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--ai-gold);
}
.about-intro .ai-monument-foot {
  text-align: center;
  font-family: 'Tajawal', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--ai-ink-soft);
  margin-top: 14px;
}
.about-intro .ai-monument-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 22px;
  color: var(--ai-gold);
}
.about-intro .ai-monument-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ai-gold-soft), transparent);
}
.about-intro .ai-monument-divider i {
  font-size: 8px;
}
.about-intro .ai-pins {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.about-intro .ai-pins li {
  text-align: center;
  padding: 12px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(180,138,46,.15);
}
.about-intro .ai-pin-num {
  display: block;
  font-family: 'Tajawal', sans-serif;
  font-weight: 900;
  font-size: 26px;
  color: var(--ai-ink);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -1px;
}
.about-intro .ai-pin-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ai-ink-soft);
  line-height: 1.4;
}

/* ---------- Chapters — section header ---------- */
.about-intro .ai-chapters {
  position: relative;
  padding-top: 30px;
}
.about-intro .ai-chapters-head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.about-intro .ai-chapters-head.revealed { opacity: 1; transform: translateY(0); }
.about-intro .ai-chapters-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ai-line), transparent);
}
.about-intro .ai-chapters-title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--ai-ink);
  white-space: nowrap;
}
.about-intro .ai-chapters-meta {
  font-family: 'Tajawal', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--ai-gold);
  letter-spacing: 2px;
  white-space: nowrap;
}

/* ---------- Spine & chapters ---------- */
.about-intro .ai-spine-wrap {
  position: relative;
  padding: 30px 0;
}
.about-intro .ai-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  pointer-events: none;
}
.about-intro .ai-spine-line {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 0;
  right: 0;
  background:
    linear-gradient(180deg, var(--ai-ink) 0%, var(--ai-blue) 50%, var(--ai-teal) 100%);
  border-radius: 2px;
  opacity: .85;
}
.about-intro .ai-spine-cap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid var(--ai-ink);
  background: var(--ai-paper);
  border-radius: 50%;
}
.about-intro .ai-spine-cap--top    { top: 0; }
.about-intro .ai-spine-cap--bottom {
  bottom: 0;
  background: var(--ai-gold);
  border-color: var(--ai-gold);
  box-shadow: 0 0 0 4px rgba(180,138,46,.18);
}

/* Chapter grid */
.about-intro .ai-chapter {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  margin: 30px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.about-intro .ai-chapter.revealed { opacity: 1; transform: translateY(0); }

/* Anchor — large year + icon — sits beside the spine */
.about-intro .ai-anchor {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.about-intro .ai-anchor-year {
  font-family: 'Tajawal', sans-serif;
  font-weight: 900;
  font-size: clamp(60px, 6vw, 84px);
  line-height: .95;
  letter-spacing: -3px;
  background: linear-gradient(180deg, var(--ai-ink) 0%, var(--ai-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.about-intro .ai-anchor-year::before,
.about-intro .ai-anchor-year::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--ai-line);
}
.about-intro .ai-anchor-year::before { right: 100%; margin-right: 18px; }
.about-intro .ai-anchor-year::after  { left: 100%;  margin-left: 18px; }
.about-intro .ai-anchor-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ai-ink);
  border: 2px solid var(--ai-ink);
  font-size: 18px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(10,31,63,.18);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), background .3s, color .3s;
}
.about-intro .ai-chapter:hover .ai-anchor-icon {
  background: var(--ai-ink);
  color: var(--ai-gold);
  transform: scale(1.08) rotate(-6deg);
}
.about-intro .ai-anchor--final .ai-anchor-year {
  font-size: clamp(34px, 3.4vw, 44px);
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--ai-gold) 0%, #e6c46a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-intro .ai-chapter--final .ai-anchor-icon {
  background: var(--ai-gold);
  color: var(--ai-ink);
  border-color: var(--ai-gold);
  box-shadow: 0 12px 28px rgba(180,138,46,.35);
}

/* Chapter card */
.about-intro .ai-chapter-card {
  position: relative;
  padding: 32px 30px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--ai-line-soft);
  box-shadow:
    0 1px 0 rgba(255,255,255,.8) inset,
    0 20px 40px -16px rgba(10,31,63,.10),
    0 8px 16px -10px rgba(10,31,63,.08);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.about-intro .ai-chapter:hover .ai-chapter-card {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.8) inset,
    0 32px 60px -16px rgba(10,31,63,.18),
    0 14px 24px -12px rgba(10,31,63,.12);
}

/* Connector line from card to spine (replaces speech-bubble pointer) */
.about-intro .ai-chapter-card::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ai-line));
  transform: translateY(-50%);
  pointer-events: none;
}
.about-intro .ai-chapter--right .ai-chapter-card::before {
  right: -38px;
  background: linear-gradient(270deg, transparent, var(--ai-line));
}
.about-intro .ai-chapter--left .ai-chapter-card::before {
  left: -38px;
  background: linear-gradient(90deg, transparent, var(--ai-line));
}
.about-intro .ai-chapter--final .ai-chapter-card::before {
  background: linear-gradient(270deg, transparent, rgba(217,184,100,.5));
}

.about-intro .ai-chapter-no {
  display: inline-block;
  font-family: 'Tajawal', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--ai-gold);
  padding: 4px 10px;
  border: 1px solid rgba(180,138,46,.35);
  border-radius: 4px;
  margin-bottom: 14px;
  background: rgba(180,138,46,.06);
}
.about-intro .ai-chapter-card h3 {
  font-family: 'Tajawal', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--ai-ink);
  margin: 0 0 12px;
  line-height: 1.35;
}
.about-intro .ai-chapter-card p {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ai-ink-soft);
  margin: 0;
}

/* Metric tile inside accent chapters */
.about-intro .ai-chapter-metric {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(10,31,63,.04), rgba(43,182,166,.06));
  border: 1px dashed var(--ai-line);
  border-radius: 8px;
}
.about-intro .ai-chapter-metric strong {
  font-family: 'Tajawal', sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: var(--ai-ink);
  line-height: 1;
  letter-spacing: -1px;
}
.about-intro .ai-chapter-metric span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ai-ink-soft);
}

/* Right / Left placement */
.about-intro .ai-chapter--right .ai-anchor       { order: 1; }
.about-intro .ai-chapter--right .ai-chapter-card { order: 2; }
.about-intro .ai-chapter--left  .ai-anchor       { order: 2; }
.about-intro .ai-chapter--left  .ai-chapter-card { order: 1; }

/* Final chapter */
.about-intro .ai-chapter--final .ai-chapter-card--final {
  background:
    linear-gradient(135deg, #0a1f3f 0%, #1c4a93 60%, #2bb6a6 130%);
  color: #fff;
  border-color: transparent;
  overflow: hidden;
}
.about-intro .ai-chapter--final .ai-chapter-card--final::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(180,138,46,.30), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(43,182,166,.25), transparent 55%);
  pointer-events: none;
}
.about-intro .ai-chapter--final .ai-chapter-card::before {
  background: #0a1f3f;
  border-color: transparent;
}
.about-intro .ai-chapter--final .ai-chapter-no {
  color: var(--ai-gold-soft);
  border-color: rgba(217,184,100,.4);
  background: rgba(217,184,100,.10);
}
.about-intro .ai-chapter--final h3 { color: #fff; }
.about-intro .ai-chapter--final p  { color: rgba(255,255,255,.82); }
.about-intro .ai-chapter-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  font-family: 'Tajawal', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--ai-gold-soft);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.about-intro .ai-chapter-foot-line {
  flex: 1;
  height: 1px;
  background: rgba(217,184,100,.4);
}

/* ---------- Reveal stagger ---------- */
.about-intro .ai-chapter:nth-child(2).revealed { transition-delay: .05s; }
.about-intro .ai-chapter:nth-child(3).revealed { transition-delay: .10s; }
.about-intro .ai-chapter:nth-child(4).revealed { transition-delay: .15s; }
.about-intro .ai-chapter:nth-child(5).revealed { transition-delay: .20s; }
.about-intro .ai-chapter:nth-child(6).revealed { transition-delay: .25s; }
.about-intro .ai-chapter:nth-child(7).revealed { transition-delay: .30s; }
.about-intro .ai-chapter:nth-child(8).revealed { transition-delay: .35s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .about-intro .ai-hero {
    grid-template-columns: 1fr;
    gap: 60px;
    margin-bottom: 90px;
  }
  .about-intro .ai-monument-frame { max-width: 460px; margin: 0 auto; }
}

@media (max-width: 820px) {
  .about-intro { padding: 90px 0 100px; }
  .about-intro .ai-meta {
    font-size: 11px;
    gap: 10px;
    padding: 10px 16px;
    margin-bottom: 40px;
  }
  .about-intro .ai-headline { font-size: clamp(30px, 7vw, 42px); }
  .about-intro .ai-lead { font-size: 16px; }
  .about-intro .ai-cta { padding: 14px 24px 14px 14px; font-size: 14px; }
  .about-intro .ai-cta-arrow { width: 32px; height: 32px; }

  .about-intro .ai-monument-frame { padding: 36px 24px 28px; }
  .about-intro .ai-monument-plus  { font-size: 56px; padding-top: 14px; }
  .about-intro .ai-monument-digits { font-size: clamp(110px, 22vw, 150px); }
  .about-intro .ai-pins { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .about-intro .ai-pin-num { font-size: 22px; }
  .about-intro .ai-pin-label { font-size: 10.5px; }

  .about-intro .ai-chapters-head { gap: 14px; margin-bottom: 50px; }
  .about-intro .ai-chapters-title { font-size: 17px; }
  .about-intro .ai-chapters-meta { font-size: 10px; }

  /* Stack chapters: spine moves to the right (RTL) */
  .about-intro .ai-spine { left: auto; right: 28px; transform: none; }
  .about-intro .ai-chapter,
  .about-intro .ai-chapter--right,
  .about-intro .ai-chapter--left {
    grid-template-columns: 110px 1fr;
    gap: 24px;
    margin: 22px 0;
  }
  .about-intro .ai-chapter--right .ai-anchor,
  .about-intro .ai-chapter--left  .ai-anchor       { order: 1; }
  .about-intro .ai-chapter--right .ai-chapter-card,
  .about-intro .ai-chapter--left  .ai-chapter-card { order: 2; }
  .about-intro .ai-anchor-year { font-size: clamp(44px, 9vw, 60px); }
  .about-intro .ai-anchor-year::before { display: none; }
  .about-intro .ai-anchor-year::after { display: none; }
  .about-intro .ai-anchor-icon { width: 42px; height: 42px; font-size: 15px; }
  .about-intro .ai-chapter-card { padding: 24px 22px; }
  .about-intro .ai-chapter--right .ai-chapter-card::before,
  .about-intro .ai-chapter--left  .ai-chapter-card::before {
    left: auto;
    right: -24px;
    width: 24px;
    background: linear-gradient(270deg, transparent, var(--ai-line));
  }
  .about-intro .ai-anchor--final .ai-anchor-year { font-size: clamp(22px, 5vw, 30px); }
  .about-intro .ai-chapter-card h3 { font-size: 19px; }
  .about-intro .ai-chapter-card p { font-size: 14.5px; }
}

@media (max-width: 480px) {
  .about-intro .ai-meta { flex-wrap: wrap; }
  .about-intro .ai-cta-row { gap: 16px; }
  .about-intro .ai-cta-note { font-size: 13px; }
  .about-intro .ai-monument-top { gap: 8px; }
  .about-intro .ai-monument-stamp { font-size: 10px; letter-spacing: 2px; padding: 3px 8px; }
}

/* ============================================================
   ABOUT — STORY  (simplified intro · editorial minimal)
   ============================================================ */
.about-story {
  padding: 110px 0 90px;
  background: #fff;
  position: relative;
}
.about-story .container { max-width: 1100px; }

/* --- Eyebrow line --- */
.ab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Tajawal', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--teal-500);
  text-transform: uppercase;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .7s ease, transform .7s ease;
}
.ab-eyebrow.revealed { opacity: 1; transform: none; }
.ab-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(43,182,166,.16);
}
.ab-eyebrow-bar {
  width: 26px; height: 1px;
  background: rgba(13,37,82,.22);
}

/* --- Headline --- */
.ab-headline {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(32px, 5.4vw, 58px);
  line-height: 1.3;
  letter-spacing: -.005em;
  color: var(--navy-900);
  font-weight: 700;
  max-width: 920px;
  margin: 0 0 28px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s .08s ease, transform .8s .08s ease;
}
.ab-headline.revealed { opacity: 1; transform: none; }
.ab-headline em {
  font-style: normal;
  color: var(--teal-500);
  font-weight: 700;
  position: relative;
  white-space: nowrap;
}
.ab-headline em::after {
  content: '';
  position: absolute;
  inset-inline: 2px;
  bottom: -4px;
  height: 2px;
  background: var(--teal-500);
  opacity: .32;
  border-radius: 2px;
}
.ab-headline-soft {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .78em;
  font-family: 'Tajawal', sans-serif;
}

/* --- Lead paragraph --- */
.ab-lead {
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 64px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s .18s ease, transform .8s .18s ease;
}
.ab-lead.revealed { opacity: 1; transform: none; }

/* --- Stats row (hairline rules, no boxes) --- */
.ab-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .85s .28s ease, transform .85s .28s ease;
}
.ab-stats.revealed { opacity: 1; transform: none; }
.ab-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-inline-start: 28px;
  border-inline-start: 1px solid var(--line);
}
.ab-stat:first-child {
  border-inline-start: 0;
  padding-inline-start: 0;
}
.ab-stat-n {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(32px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1;
  letter-spacing: -.01em;
}
.ab-stat-l {
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.45;
}

/* --- Horizontal timeline --- */
.ab-timeline {
  position: relative;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .9s .38s ease, transform .9s .38s ease;
}
.ab-timeline.revealed { opacity: 1; transform: none; }

.ab-tl-rail {
  position: absolute;
  inset-inline: 8.33%;
  top: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 6%, var(--line) 94%, transparent);
  z-index: 0;
}
.ab-tl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.ab-tl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
.ab-tl-year {
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: .6px;
  margin-bottom: 16px;
}
.ab-tl-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid rgba(13,37,82,.45);
  margin-bottom: 18px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.ab-tl-item:hover .ab-tl-dot {
  transform: scale(1.25);
  border-color: var(--teal-500);
}
.ab-tl-dot--current {
  background: var(--teal-500);
  border-color: var(--teal-500);
  box-shadow:
    0 0 0 4px rgba(43,182,166,.18),
    0 0 0 9px rgba(43,182,166,.08);
}
.ab-tl-title {
  font-family: 'Tajawal', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0;
  line-height: 1.45;
  max-width: 140px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .about-story { padding: 80px 0 60px; }
  .ab-headline { margin-bottom: 22px; }
  .ab-lead { margin-bottom: 48px; }

  .ab-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
    padding: 28px 0;
    margin-bottom: 64px;
  }
  .ab-stat {
    padding-inline-start: 22px;
    border-inline-start: 1px solid var(--line);
  }
  .ab-stat:nth-child(odd) {
    border-inline-start: 0;
    padding-inline-start: 0;
  }

  /* Timeline → vertical rail on mobile */
  .ab-tl-rail {
    inset-inline: auto;
    top: 8px;
    bottom: 8px;
    height: auto;
    width: 1px;
    inset-inline-start: 11px;
    background: linear-gradient(180deg, transparent, var(--line) 6%, var(--line) 94%, transparent);
  }
  .ab-tl-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .ab-tl-item {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-align: start;
  }
  .ab-tl-year {
    order: 2;
    min-width: 52px;
    margin: 0;
  }
  .ab-tl-dot { order: 1; margin: 0; }
  .ab-tl-title { order: 3; max-width: none; }
}

@media (max-width: 540px) {
  .ab-headline { font-size: clamp(26px, 7.5vw, 36px); }
  .ab-lead { font-size: 15.5px; line-height: 1.85; }
  .ab-stat-n { font-size: 30px; }
  .ab-stat-l { font-size: 12.5px; }
}

/* ============================================================
   AI / INTELLIGENCE PAGE — blue variant of the energy layout
   Re-uses .energy-*, .em-*, .ep-*, .ed-*, .es-*, .ef-*, .ecta-*
   styles but rewires the palette to a refined navy / electric blue
   and overrides every hardcoded green tint.
   ============================================================ */
.page-ai {
  --e-forest-950: #050d22;
  --e-forest-900: #0a1a3a;
  --e-forest-800: #122c5c;
  --e-green-700: #1c4a93;
  --e-green-600: #2e6cd0;
  --e-green-500: #4f8cea;
  --e-green-400: #7eb0f7;
  --e-mint-300: #a8caf2;
  --e-mint-200: #c9def7;
  --e-mint-100: #e8f0fb;
  --e-cream: #f4f8fc;
  --e-paper: #f4f8fc;
  --e-gold: #f7c948;
  --e-cyan: #36e0d3;
  --e-ink: #0c1a35;
  --e-ink-soft: #4a5a7a;

  /* tinted shadow alpha base (replaces rgba(11,80,40,...) etc.) */
  --ai-shadow-ink: 15, 40, 100;     /* rgb of deep navy */
  --ai-shadow-deep: 8, 22, 60;       /* rgb of forest-950 vibe */
  --ai-accent-blue: 64, 130, 230;    /* rgb of electric blue */

  background: var(--e-paper);
  color: var(--e-ink);
}
.page-ai main { background: var(--e-paper); }
.page-ai .cta-section { display: none; }
.page-ai .e-serif { font-family: 'Tajawal', sans-serif; }
.page-ai .energy-manifesto { padding-top: 160px; }

/* MANIFESTO STAGE — blue rail, blue card edges */
.page-ai .em-stage-rail { background: rgba(var(--ai-shadow-ink), .10); }
.page-ai .em-card {
  border-color: rgba(var(--ai-shadow-ink), .10);
  box-shadow:
    0 1px 0 rgba(var(--ai-shadow-ink), .04),
    0 30px 60px -40px rgba(var(--ai-shadow-deep), .38),
    0 14px 28px -22px rgba(var(--ai-shadow-deep), .20);
}
.page-ai .em-card::after {
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(var(--ai-accent-blue), .08), transparent 55%),
    radial-gradient(80% 50% at 0% 100%, rgba(var(--ai-shadow-deep), .06), transparent 60%);
}
.page-ai .em-card-foot-line {
  background: linear-gradient(90deg, transparent, rgba(var(--ai-shadow-ink), .22) 30%, rgba(var(--ai-shadow-ink), .22) 70%, transparent);
}
.page-ai .em-dot span { background: rgba(var(--ai-shadow-ink), .22); }
.page-ai .em-dot:hover span { background: rgba(var(--ai-shadow-ink), .45); }

/* PILLARS — blue divider lines */
.page-ai .ep-track {
  border-top-color: rgba(var(--ai-shadow-ink), .14);
  border-bottom-color: rgba(var(--ai-shadow-ink), .14);
}
.page-ai .ep-cell + .ep-cell { border-right-color: rgba(var(--ai-shadow-ink), .14); }
@media (max-width: 1100px) {
  .page-ai .ep-cell + .ep-cell { border-top-color: rgba(var(--ai-shadow-ink), .14); }
}

/* EDITORIAL DETAIL — blue accents */
.page-ai .ed-visual { box-shadow: 0 40px 80px -30px rgba(var(--ai-shadow-deep), .45); }
.page-ai .ed-visual::after {
  background: linear-gradient(180deg, rgba(10,26,58,0) 50%, rgba(10,26,58,.55) 100%);
}
.page-ai .ed-feats { border-top-color: rgba(var(--ai-shadow-ink), .25); }

/* STATS — deep navy gradient */
.page-ai .energy-stats {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(46,108,208,.28), transparent 60%),
    linear-gradient(180deg, var(--e-forest-900), var(--e-forest-950));
}

/* FLOW — blue disc border */
.page-ai .ef-node .ef-disc {
  border: 1px solid rgba(var(--ai-shadow-ink), .18);
  box-shadow: 0 18px 40px -16px rgba(var(--ai-shadow-deep), .35);
}

/* CTA — royal blue gradient card */
.page-ai .ecta-card {
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(54,224,211,.28), transparent 60%),
    radial-gradient(60% 100% at 0% 100%, rgba(46,108,208,.4), transparent 60%),
    linear-gradient(135deg, var(--e-forest-900), var(--e-green-700));
  box-shadow: 0 40px 80px -30px rgba(var(--ai-shadow-deep), .60);
}

/* AI-specific local visuals — neural / circuit SVG wraps */
.page-ai .ai-svg-wrap{
  position:absolute; inset:0;
  width:100%; height:100%;
  display:block;
  background:
    radial-gradient(120% 80% at 18% 18%, rgba(79,140,234,.38), transparent 55%),
    radial-gradient(80% 70% at 88% 88%, rgba(54,224,211,.22), transparent 60%),
    linear-gradient(135deg, #050d22 0%, #122c5c 55%, #1c4a93 100%);
  overflow:hidden;
}
.page-ai .ai-svg-wrap svg{ position:absolute; inset:0; width:100%; height:100%; }
.page-ai .ai-svg-wrap::after{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(0deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 36px 36px;
  mix-blend-mode: screen;
  pointer-events:none;
}
.page-ai .ai-node{ fill:#7eb0f7; }
.page-ai .ai-node-2{ fill:#36e0d3; }
.page-ai .ai-node-3{ fill:#f7c948; }
.page-ai .ai-link{
  stroke: rgba(255,255,255,.32);
  stroke-width: 1.1;
  fill:none;
}
.page-ai .ai-pulse{
  transform-origin: center;
  animation: aiPulse 3.4s ease-in-out infinite;
}
.page-ai .ai-pulse-2{ animation-delay:-1.1s; }
.page-ai .ai-pulse-3{ animation-delay:-2.2s; }
@keyframes aiPulse {
  0%,100% { opacity:.45; transform: scale(1); }
  50%     { opacity:1;   transform: scale(1.18); }
}
.page-ai .ai-orbit{
  transform-origin: 250px 200px;
  animation: aiOrbit 28s linear infinite;
}
@keyframes aiOrbit { to { transform: rotate(360deg); } }

.page-ai .ai-flow-svg-wrap{
  position:absolute; inset:0;
  background:
    radial-gradient(110% 80% at 80% 15%, rgba(126,176,247,.42), transparent 55%),
    radial-gradient(70% 60% at 12% 88%, rgba(54,224,211,.26), transparent 60%),
    linear-gradient(160deg, #050d22 0%, #122c5c 50%, #1c4a93 100%);
  overflow:hidden;
}
.page-ai .ai-flow-svg-wrap svg{ position:absolute; inset:0; width:100%; height:100%; }
.page-ai .ai-flow-svg-wrap::before{
  content:"";
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 22px 22px;
  mix-blend-mode: screen;
  opacity:.55;
  pointer-events:none;
}
.page-ai .ai-chip{
  fill: rgba(255,255,255,.06);
  stroke: rgba(54,224,211,.55);
  stroke-width: 1.2;
}
.page-ai .ai-chip-glow{
  fill: rgba(54,224,211,.18);
  filter: blur(.3px);
}
.page-ai .ai-trace{
  stroke: rgba(126,176,247,.58);
  stroke-width: 1.4;
  fill:none;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
  animation: aiTraceDash 6s linear infinite;
}
.page-ai .ai-trace-2{ animation-delay:-1.5s; stroke: rgba(54,224,211,.6); }
.page-ai .ai-trace-3{ animation-delay:-3s;   stroke: rgba(247,201,72,.55); }
@keyframes aiTraceDash { to { stroke-dashoffset: -160; } }

@media (prefers-reduced-motion: reduce){
  .page-ai .ai-pulse, .page-ai .ai-orbit, .page-ai .ai-trace { animation: none; }
}

