/* ==========================================================================
   Elite Technologies — redesigned site styles
   --------------------------------------------------------------------------
   Single themeable stylesheet. Light is the default; dark is applied by
   setting data-theme="dark" on <html>. All colours are CSS variables so the
   whole palette flips with one attribute.
   Design language adapted from the light/dark concept files.
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }

/* ==========================================================================
   THEME TOKENS
   ========================================================================== */
:root {
  /* surfaces */
  --bg:         #ecf0df;   /* page base (sage) */
  --bg-raised:  #dde3cc;   /* alt section */
  --bg-deep:    #c8cfb4;
  --surface:    #ffffff;   /* cards / white panels */
  --surface-2:  #ecf0df;   /* inset card on white */

  /* brand accent (constant across themes) */
  --accent:        #c9c900;
  --accent-dim:    #a3a300;
  --accent-bright: #d8d800;
  --accent-glow:   rgba(201,201,0,0.18);
  --accent-border: rgba(201,201,0,0.35);

  /* text */
  --text:   #0e0e0a;
  --text-2: #3a3d2e;
  --text-3: #7a7d6a;

  /* lines */
  --border:        rgba(0,0,0,0.10);
  --border-strong: rgba(0,0,0,0.18);

  /* dark zones (footer + dark CTA) — stay dark in both themes */
  --ink-bg:    #1d2213;
  --ink-bg-2:  #2a3019;
  --on-ink:    #ffffff;
  --on-ink-2:  rgba(255,255,255,0.48);
  --on-ink-3:  rgba(255,255,255,0.30);
  --ink-border:rgba(255,255,255,0.08);

  /* chrome */
  --nav-bg: rgba(236,240,223,0.90);
  --shadow: 0 18px 50px rgba(0,0,0,0.08);

  /* solar-panel grid pattern */
  --panel-line:    rgba(0,0,0,0.045);
  --panel-subline: rgba(0,0,0,0.015);
  --panel-size:    64px;

  --maxw: 1240px;
  --pad: 6vw;
}

[data-theme="dark"] {
  --bg:         #1c1f17;
  --bg-raised:  #23271c;
  --bg-deep:    #333829;
  --surface:    #2b3022;
  --surface-2:  #181b12;

  --accent-glow:   rgba(201,201,0,0.12);
  --accent-border: rgba(201,201,0,0.28);

  --text:   #ecf0df;
  --text-2: #a8b48e;
  --text-3: #5e6b4a;

  --border:        rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.17);

  --ink-bg:    #14160e;
  --ink-bg-2:  #1c1f17;

  --nav-bg: rgba(28,31,23,0.92);
  --shadow: 0 18px 50px rgba(0,0,0,0.45);

  --panel-line:    rgba(201,201,0,0.055);
  --panel-subline: rgba(201,201,0,0.02);
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* avoid transition flash of theme on first paint */
.no-transition * { transition: none !important; }

/* ---------- shared helpers ---------- */
.container { width: min(100% - 2 * var(--pad), var(--maxw)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-raised); }
.section--surface { background: var(--surface); }

/* Textured "solar grid" section — alternated with plain sections */
.section--grid {
  background-color: var(--bg-raised);
  background-image:
    linear-gradient(var(--panel-line) 1.5px, transparent 1.5px),
    linear-gradient(90deg, var(--panel-line) 1.5px, transparent 1.5px),
    linear-gradient(var(--panel-subline) 1px, transparent 1px),
    linear-gradient(90deg, var(--panel-subline) 1px, transparent 1px);
  background-size:
    var(--panel-size) var(--panel-size),
    var(--panel-size) var(--panel-size),
    16px 16px, 16px 16px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Pointer-following accent glow — a soft radius of light tracking the cursor
   within each grid section. --glow (0–1), --glow-x and --glow-y are driven
   by js/app.js. */
.section--grid::before {
  content: '';
  position: absolute; z-index: 0; pointer-events: none;
  left: var(--glow-x, 50%); top: var(--glow-y, 50%);
  width: 460px; height: 460px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(201,201,0,0.32) 0%,
    rgba(201,201,0,0.15) 28%,
    rgba(201,201,0,0.05) 50%,
    transparent 72%);
  opacity: var(--glow, 0);
  transition: opacity .25s ease;
  will-change: opacity, left, top;
}
[data-theme="dark"] .section--grid::before {
  background: radial-gradient(circle,
    rgba(201,201,0,0.26) 0%,
    rgba(201,201,0,0.12) 30%,
    rgba(201,201,0,0.04) 52%,
    transparent 72%);
}
.section--grid > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .section--grid::before { transition: none; opacity: .28; left: 50%; top: 50%; }
}
.section--grid .marquee::before { background: linear-gradient(to right, var(--bg-raised), transparent); }
.section--grid .marquee::after  { background: linear-gradient(to left, var(--bg-raised), transparent); }

.panel-bg {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--panel-line) 1.5px, transparent 1.5px),
    linear-gradient(90deg, var(--panel-line) 1.5px, transparent 1.5px),
    linear-gradient(var(--panel-subline) 1px, transparent 1px),
    linear-gradient(90deg, var(--panel-subline) 1px, transparent 1px);
  background-size:
    var(--panel-size) var(--panel-size),
    var(--panel-size) var(--panel-size),
    16px 16px, 16px 16px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--accent); color: #0e0e0a; padding: 10px 16px;
  border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* eyebrow + titles */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--accent-dim); text-transform: uppercase; margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); }
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900; letter-spacing: -1.5px; line-height: 1.06;
  margin-bottom: 18px;
}
.section-title em { font-style: normal; color: var(--accent-dim); }
.section-sub { font-size: 16px; line-height: 1.8; color: var(--text-2); max-width: 600px; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 800; letter-spacing: 0.01em;
  padding: 14px 32px; border-radius: 8px; border: 1.5px solid transparent;
  text-decoration: none; transition: opacity .2s, background .25s, border-color .25s, color .2s;
}
.btn--primary { background: var(--accent); color: #0e0e0a; }
.btn--primary:hover { opacity: .85; }
.btn--outline { background: transparent; color: var(--text); border-color: var(--border-strong); font-weight: 500; }
.btn--outline:hover { border-color: var(--accent); background: var(--accent-glow); }
.btn--dark { background: var(--ink-bg); color: var(--accent); }
.btn--dark:hover { opacity: .88; }
.btn--lg { padding: 17px 40px; font-size: 16px; }
.btn--sm { padding: 10px 22px; font-size: 13px; }

/* ==========================================================================
   NAV
   ========================================================================== */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  background: var(--nav-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1.5px solid var(--border);
  transition: background-color .3s ease, border-color .3s ease;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { height: 40px; width: auto; }
.brand__logo--dark { display: none; }
[data-theme="dark"] .brand__logo--light { display: none; }
[data-theme="dark"] .brand__logo--dark  { display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name { font-size: 16px; font-weight: 900; letter-spacing: .06em; color: var(--accent-dim); text-transform: uppercase; }
[data-theme="dark"] .brand__name { color: var(--accent); }
.brand__sub { font-size: 9px; font-weight: 600; letter-spacing: .18em; color: var(--text-3); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text-2);
  text-decoration: none; letter-spacing: .02em; transition: color .2s;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 700; border-bottom-color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-links .btn { display: none; } /* shown only inside mobile menu */

.theme-toggle {
  width: 40px; height: 40px; border-radius: 8px;
  background: transparent; border: 1.5px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-2); transition: border-color .2s, color .2s, background .2s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--text); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* mobile menu button */
.nav-burger {
  display: none; width: 44px; height: 44px; border: 1.5px solid var(--border);
  border-radius: 8px; background: transparent; position: relative;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ''; position: absolute; left: 50%; width: 20px; height: 2px;
  background: var(--text); transform: translateX(-50%); transition: .25s;
}
.nav-burger span { top: 50%; transform: translate(-50%, -50%); }
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav-burger[aria-expanded="true"] span { background: transparent; }
.nav-burger[aria-expanded="true"] span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-burger[aria-expanded="true"] span::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
/* hero background photo + theme-aware readability scrim */
:root { --hero-scrim: rgba(236,240,223,0.88); --hero-scrim-soft: rgba(236,240,223,0.42); }
[data-theme="dark"] { --hero-scrim: rgba(28,31,23,0.86); --hero-scrim-soft: rgba(28,31,23,0.40); }

.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 130px var(--pad) 80px; position: relative; overflow: hidden;
}
.hero.panel-bg {
  background-color: var(--bg);
  background-image: url("../assets/images/hero.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(90deg, var(--hero-scrim) 0%, var(--hero-scrim) 34%, var(--hero-scrim-soft) 66%, transparent 100%);
}
@media (max-width: 720px) {
  .hero.panel-bg { background-position: center; }
  .hero::before {
    background: linear-gradient(180deg, var(--hero-scrim) 0%, var(--hero-scrim) 58%, var(--hero-scrim-soft) 100%);
  }
}
.hero::after {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 600px; height: 600px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 68%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero h1 {
  font-size: clamp(44px, 6.5vw, 86px); font-weight: 900; line-height: 1.0;
  letter-spacing: -3px; max-width: 880px; margin-bottom: 26px;
}
.hero h1 em { font-style: normal; color: var(--accent-dim); }
[data-theme="dark"] .hero h1 em { color: var(--accent); }
.hero__lede { font-size: 18px; line-height: 1.75; color: var(--text-2); max-width: 560px; margin-bottom: 42px; }
.hero__btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 0; padding-top: 38px; border-top: 1.5px solid var(--border); }
.hero-stat { padding-right: 40px; margin-right: 40px; border-right: 1px solid var(--border); }
.hero-stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stat__n { font-size: 42px; font-weight: 900; letter-spacing: -2px; line-height: 1; }
.hero-stat__n span { color: var(--accent-dim); }
[data-theme="dark"] .hero-stat__n span { color: var(--accent); }
.hero-stat__l { font-size: 12px; color: var(--text-3); margin-top: 6px; }

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
  background: var(--accent); padding: 15px var(--pad);
  display: flex; align-items: center; gap: 26px; overflow: hidden;
}
.trust-bar__label { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #0e0e0a; text-transform: uppercase; white-space: nowrap; }
.trust-bar__div { width: 1px; height: 18px; background: rgba(0,0,0,.25); flex-shrink: 0; }
.trust-bar__logos { display: flex; gap: 40px; align-items: center; overflow: hidden; flex-wrap: wrap; }
.trust-bar__logo { font-size: 12px; font-weight: 700; color: rgba(0,0,0,.6); white-space: nowrap; letter-spacing: .04em; }

/* ==========================================================================
   ABOUT / VISION
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split__visual img { border-radius: 16px; width: 100%; height: auto; box-shadow: var(--shadow); }
.lead-p { font-size: 16px; line-height: 1.85; color: var(--text-2); margin-bottom: 18px; }

/* reason cards */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 16px; }
.reason {
  background: var(--surface); border: 1.5px solid var(--border);
  border-top: 3px solid var(--accent); border-radius: 12px; padding: 28px;
  transition: transform .2s, border-color .2s;
}
.reason:hover { transform: translateY(-4px); border-color: var(--accent-border); }
.reason h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.reason p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ==========================================================================
   SERVICES (EPCM cards)
   ========================================================================== */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 14px; padding: 28px 24px; transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.svc-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.svc-card:hover::after { transform: scaleX(1); }
.svc-card:hover { transform: translateY(-4px); border-color: var(--accent-border); box-shadow: var(--shadow); }
.svc-card__icon {
  width: 46px; height: 46px; border-radius: 10px; background: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: #0e0e0a;
}
.svc-card__icon svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.svc-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }

/* ==========================================================================
   SECTORS
   ========================================================================== */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sector {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 16px;
  padding: 34px 30px; transition: transform .2s, border-color .2s;
}
.sector:hover { transform: translateY(-5px); border-color: var(--accent); }
.sector__icon { width: 54px; height: 54px; border-radius: 12px; background: var(--accent-glow); border: 1.5px solid var(--accent-border); display: flex; align-items: center; justify-content: center; color: var(--accent-dim); margin-bottom: 20px; }
[data-theme="dark"] .sector__icon { color: var(--accent); }
.sector__icon svg { width: 28px; height: 28px; }
.sector h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.sector p { font-size: 14.5px; color: var(--text-2); line-height: 1.7; margin-bottom: 18px; }
.link-arrow { font-size: 14px; font-weight: 700; color: var(--accent-dim); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
[data-theme="dark"] .link-arrow { color: var(--accent); }
.link-arrow:hover { gap: 10px; }

/* ==========================================================================
   SOLAR SAVER  (flagship partnership)
   ========================================================================== */
.ss-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ss-tag {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent);
  color: #0e0e0a; font-size: 10px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 4px; margin-bottom: 22px;
}
.ss-tag::before { content: '●'; font-size: 8px; animation: blink 1.8s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.ss-stats { display: flex; gap: 16px; margin-top: 34px; }
.ss-stat { flex: 1; background: var(--surface-2); border: 1.5px solid var(--border); border-top: 3px solid var(--accent); border-radius: 8px; padding: 18px; }
[data-theme="dark"] .ss-stat { background: var(--surface); }
.ss-stat__n { font-size: 26px; font-weight: 900; letter-spacing: -1px; line-height: 1; }
.ss-stat__n span { color: var(--accent-dim); }
[data-theme="dark"] .ss-stat__n span { color: var(--accent); }
.ss-stat__l { font-size: 11px; color: var(--text-3); margin-top: 6px; }
.ss-visual { display: flex; flex-direction: column; gap: 12px; }

/* SolarSaver portfolio map block */
.ss-portfolio {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
  margin-top: 80px; padding-top: 72px; border-top: 1.5px solid var(--border);
}
.ss-map { background: var(--surface); border: 1.5px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.ss-map__svg { width: 100%; height: auto; display: block; }
/* live Leaflet portfolio map */
.ss-map__live { width: 100%; height: 440px; border-radius: 14px; overflow: hidden; background: var(--bg-deep); z-index: 0; }
.ss-map__live.leaflet-container { font: inherit; }
.ss-map__live .leaflet-popup-content-wrapper { background: var(--surface); color: var(--text-1); border: 1.5px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.ss-map__live .leaflet-popup-content { margin: 12px 14px; font-size: 13px; line-height: 1.5; }
.ss-map__live .leaflet-popup-content a { color: var(--text-1); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); }
.ss-map__live .leaflet-popup-tip { background: var(--surface); border: 1.5px solid var(--border); }
.ss-map__live .marker-cluster { background: var(--accent-glow); }
.ss-map__live .marker-cluster div { background: var(--accent); color: #0e0e0a; font-weight: 800; font-family: inherit; }
.ss-map__live .leaflet-bar a { background: var(--surface); color: var(--text-1); border-bottom-color: var(--border); }
.ss-map__live .leaflet-bar a:hover { background: var(--bg-raised); }
@media (max-width: 640px) { .ss-map__live { height: 340px; } }
.ss-map__legend { display: flex; align-items: center; gap: 9px; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--text-3); }
.ss-map__legend .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); flex-shrink: 0; }

/* interactive map pins */
.map-country text { opacity: .5; }
.map-pin { cursor: pointer; outline: none; }
.map-pin__mark { transition: transform .2s ease; transform-origin: 0 0; }
.map-pin__halo { fill: url(#pinGlow); opacity: .9; }
.map-pin__body { fill: var(--accent); stroke: rgba(0,0,0,.18); stroke-width: 1; }
.map-pin__dot { fill: #0e0e0a; }
[data-theme="dark"] .map-pin__body { stroke: rgba(0,0,0,.35); }
[data-theme="dark"] .map-pin__dot { fill: var(--bg-raised); }
.map-pin:hover .map-pin__mark,
.map-pin:focus-visible .map-pin__mark { transform: translateY(-3px) scale(1.12); }
.map-pin__label { opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.map-pin__label rect { fill: var(--ink-bg); stroke: var(--accent-border); stroke-width: 1; }
.map-pin__label text { fill: #fff; font-family: Inter, sans-serif; font-size: 12px; font-weight: 700; text-anchor: middle; }
.map-pin:hover .map-pin__label,
.map-pin:focus .map-pin__label,
.map-pin:focus-visible .map-pin__label { opacity: 1; }
.map-pin:focus-visible .map-pin__body { stroke: var(--accent-bright); stroke-width: 2; }
.ss-portfolio__title { font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: -1px; line-height: 1.1; margin-bottom: 18px; }
.ss-portfolio__countries { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ss-country { font-size: 12px; font-weight: 700; letter-spacing: .03em; color: var(--text-2); background: var(--surface); border: 1.5px solid var(--border); border-radius: 999px; padding: 7px 14px; display: inline-flex; align-items: center; gap: 8px; }
.ss-country::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.ss-logo-box { background: var(--surface); border: 1.5px solid var(--border); border-radius: 12px; padding: 26px 32px; display: flex; align-items: center; justify-content: center; min-height: 96px; }
.ss-logo-box img { max-height: 60px; object-fit: contain; }
.ss-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ss-img { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-deep); position: relative; }
.ss-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ss-img:hover img { transform: scale(1.06); }

/* ==========================================================================
   OEM PARTNERS
   ========================================================================== */
.oem-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.oem-card {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 10px;
  padding: 22px; display: flex; align-items: center; justify-content: center; min-height: 92px;
  transition: border-color .2s, transform .2s; position: relative; overflow: hidden;
}
.oem-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.oem-card:hover::after { transform: scaleX(1); }
.oem-card:hover { border-color: var(--accent-border); transform: translateY(-3px); }
.oem-card img { max-height: 46px; max-width: 100%; object-fit: contain; }

.marquee { overflow: hidden; position: relative; margin-top: 24px; padding: 4px 0; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; }
.marquee::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee::after  { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.section--alt .marquee::before { background: linear-gradient(to right, var(--bg-raised), transparent); }
.section--alt .marquee::after  { background: linear-gradient(to left, var(--bg-raised), transparent); }
.marquee__row { display: flex; gap: 14px; width: max-content; animation: scrollLeft 32s linear infinite; }
.marquee__row:hover { animation-play-state: paused; }
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.m-chip { background: var(--surface); border: 1.5px solid var(--border); border-radius: 8px; padding: 16px 28px; display: flex; align-items: center; justify-content: center; min-width: 168px; height: 72px; flex-shrink: 0; }
.m-chip img { max-height: 40px; max-width: 120px; object-fit: contain; }

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */
.process-cta {
  background: var(--accent); border-radius: 16px; padding: 44px 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-bottom: 56px; flex-wrap: wrap;
}
.process-cta h3 { font-size: 22px; font-weight: 800; color: #0e0e0a; max-width: 560px; line-height: 1.45; }
.process-cta h3 span { opacity: .55; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.step {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px;
  padding: 28px 20px; text-align: center; transition: transform .2s, border-color .2s; position: relative;
}
.step:hover { transform: translateY(-5px); border-color: var(--accent); }
.step__num { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 14px; font-weight: 800; background: var(--surface-2); color: var(--text-3); border: 1.5px solid var(--border); }
[data-theme="dark"] .step__num { background: var(--surface-2); }
.step:first-child .step__num { background: var(--accent); color: #0e0e0a; border-color: var(--accent); }
.step h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 12px; color: var(--text-3); line-height: 1.55; }

/* ==========================================================================
   SOLUTIONS (zero-capex panel)
   ========================================================================== */
.solutions-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sol-panel { background: var(--surface); border: 1.5px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.sol-panel__top { background: var(--accent); padding: 34px 36px 26px; }
.sol-kpi-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: rgba(0,0,0,.5); text-transform: uppercase; margin-bottom: 10px; }
.sol-kpi-val { font-size: 64px; font-weight: 900; letter-spacing: -3px; line-height: 1; color: #0e0e0a; }
.sol-kpi-val span { font-size: 28px; font-weight: 500; color: rgba(0,0,0,.6); }
.sol-kpi-sub { font-size: 13px; color: rgba(0,0,0,.5); margin-top: 8px; }
.sol-panel__bottom { padding: 28px 36px 34px; }
.sol-bar { margin-bottom: 20px; }
.sol-bar:last-child { margin-bottom: 0; }
.sol-bar__meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.sol-bar__name { font-size: 12px; font-weight: 600; color: var(--text-2); }
.sol-bar__val { font-size: 12px; font-weight: 700; color: var(--accent-dim); }
[data-theme="dark"] .sol-bar__val { color: var(--accent); }
.sol-track { background: var(--bg-deep); border-radius: 3px; height: 6px; overflow: hidden; }
[data-theme="dark"] .sol-track { background: var(--surface-2); }
.sol-fill { height: 6px; border-radius: 3px; background: var(--accent); }
.sol-fill.dim { background: var(--bg-deep); }
[data-theme="dark"] .sol-fill.dim { background: var(--text-3); }
.features { display: flex; flex-direction: column; gap: 22px; margin: 32px 0; }
.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat__icon { width: 46px; height: 46px; border-radius: 10px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #0e0e0a; }
.feat__icon svg { width: 22px; height: 22px; }
.feat h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.feat p { font-size: 13.5px; color: var(--text-2); line-height: 1.65; }

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.project {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px;
  overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.project:hover { transform: translateY(-5px); border-color: var(--accent-border); box-shadow: var(--shadow); }
.project__thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-deep); }
.project__thumb img { width: 100%; height: 100%; object-fit: cover; }
.project__badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 11px; border-radius: 999px; background: var(--accent); color: #0e0e0a; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.project__body { padding: 18px 20px 22px; }
.project__tag { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dim); }
[data-theme="dark"] .project__tag { color: var(--accent); }
.project h3 { font-size: 17px; font-weight: 800; margin: 8px 0 10px; }
.project__meta { display: flex; gap: 14px; font-size: 12px; color: var(--text-3); flex-wrap: wrap; }
.project__meta span { display: inline-flex; align-items: center; gap: 5px; }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner { background: var(--bg); padding: 88px var(--pad); text-align: center; }
.cta-banner h2 { font-size: clamp(28px, 4vw, 50px); font-weight: 900; letter-spacing: -1.5px; color: var(--text); margin-bottom: 14px; }
.cta-banner h2 span { color: var(--accent-dim); }
[data-theme="dark"] .cta-banner h2 span { color: var(--accent); }
.cta-banner p { font-size: 18px; color: var(--text-2); margin-bottom: 36px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .03em; color: var(--text-2); }
.field input, .field textarea {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 8px;
  padding: 12px 14px; font: inherit; color: var(--text); transition: border-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form__note { font-size: 12px; color: var(--text-3); }
.form__status { font-size: 14px; font-weight: 600; line-height: 1.5; margin: 4px 0 0; padding: 12px 16px; border-radius: 10px; border: 1.5px solid var(--border); }
.form__status[hidden] { display: none; }
.form__status.is-success { color: #1f7a3d; background: rgba(31,122,61,.10); border-color: rgba(31,122,61,.35); }
.form__status.is-error { color: #b3261e; background: rgba(179,38,30,.10); border-color: rgba(179,38,30,.35); }
[data-theme="dark"] .form__status.is-success { color: #6ee29a; }
[data-theme="dark"] .form__status.is-error { color: #f2938c; }

/* FAQ page (reuses design tokens; no new visual language) */
.faq-list { display: grid; gap: 16px; max-width: 860px; }
.faq-item { background: var(--surface); border: 1.5px solid var(--border); border-radius: 16px; padding: 24px 26px; box-shadow: var(--shadow); }
.faq-item__q { font-size: 18px; font-weight: 800; letter-spacing: -.3px; line-height: 1.3; margin-bottom: 10px; }
.faq-item__a { color: var(--text-2); }
.faq-item__a p { font-size: 15px; line-height: 1.75; margin: 0; }

.contact-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: 16px; padding: 32px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: 0; }
.contact-row__icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; background: var(--accent-glow); border: 1.5px solid var(--accent-border); display: flex; align-items: center; justify-content: center; color: var(--accent-dim); }
[data-theme="dark"] .contact-row__icon { color: var(--accent); }
.contact-row__icon svg { width: 20px; height: 20px; }
.contact-row h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 3px; }
.contact-row a, .contact-row p { font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; }
.contact-row a:hover { color: var(--accent-dim); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg);
  border-top: 1.5px solid var(--border);
  padding: 70px var(--pad) 34px;
}
.footer-inner { max-width: var(--maxw); margin-inline: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 54px; }
.footer-brand img { height: 46px; margin-bottom: 16px; }
.footer-brand__logo--dark { display: none; }
[data-theme="dark"] .footer-brand__logo--light { display: none; }
[data-theme="dark"] .footer-brand__logo--dark  { display: block; }
.footer-brand p { font-size: 13px; color: var(--text-2); line-height: 1.8; max-width: 300px; }
.footer-col h5 { font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 20px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: var(--text-2); text-decoration: none; margin-bottom: 13px; transition: color .2s; line-height: 1.5; }
.footer-col a:hover { color: var(--accent-dim); }
[data-theme="dark"] .footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom span, .footer-bottom a { font-size: 12px; color: var(--text-3); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent-dim); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: var(--surface); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-2); transition: .2s; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #0e0e0a; }
.footer-social svg { width: 18px; height: 18px; }

/* ==========================================================================
   WHATSAPP FAB
   ========================================================================== */
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 150; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 30px; height: 30px; }

/* reveal animation */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .oem-grid { grid-template-columns: repeat(4, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta-desktop { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1.5px solid var(--border);
    padding: 12px var(--pad) 24px; transform: translateY(-120%); transition: transform .3s ease;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; transform: translateY(0); }
  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--border); border-top: 0; }
  .nav-links a.active { border-bottom-color: var(--border); color: var(--accent-dim); }
  .nav-links .btn { display: inline-flex; margin-top: 14px; border-bottom: 0; }
  .split, .ss-inner, .solutions-inner, .contact-inner, .ss-portfolio { grid-template-columns: 1fr; gap: 44px; }
  .reasons, .sectors { grid-template-columns: 1fr; }
  .ss-inner { direction: ltr; }
  .solutions-inner .sol-panel { order: 2; }
}
@media (max-width: 620px) {
  :root { --pad: 5vw; }
  .section { padding: 64px 0; }
  .cards-grid, .oem-grid, .projects-grid, .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero-stat { border-right: 0; border-bottom: 1px solid var(--border); padding: 0 0 14px; margin: 0 0 14px; width: 100%; }
  .hero-stat:last-child { border-bottom: 0; }
  .process-cta { padding: 30px; }
  .ss-stats { flex-direction: column; }
}

/* ==========================================================================
   PROJECT DETAIL PAGE
   ========================================================================== */
.project-card-link { text-decoration: none; color: inherit; display: block; }

.proj-hero {
  padding: 124px var(--pad) 60px; position: relative; overflow: hidden;
  background-color: var(--bg-raised);
  background-image:
    linear-gradient(var(--panel-line) 1.5px, transparent 1.5px),
    linear-gradient(90deg, var(--panel-line) 1.5px, transparent 1.5px),
    linear-gradient(var(--panel-subline) 1px, transparent 1px),
    linear-gradient(90deg, var(--panel-subline) 1px, transparent 1px);
  background-size: var(--panel-size) var(--panel-size), var(--panel-size) var(--panel-size), 16px 16px, 16px 16px;
}
.proj-hero::after {
  content: ''; position: absolute; top: -120px; right: -120px; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 68%);
  pointer-events: none;
}
.breadcrumb { font-size: 13px; font-weight: 600; color: var(--text-3); text-decoration: none; display: inline-flex; gap: 7px; align-items: center; margin-bottom: 22px; }
.breadcrumb:hover { color: var(--accent-dim); }
[data-theme="dark"] .breadcrumb:hover { color: var(--accent); }
.proj-hero h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 900; letter-spacing: -2px; line-height: 1.04; margin-bottom: 18px; position: relative; }
.proj-tag { display: inline-block; background: var(--accent); color: #0e0e0a; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 4px; margin-bottom: 20px; }
.proj-meta { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 8px; }
.proj-meta div { position: relative; }
.proj-meta .k { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 4px; }
.proj-meta .v { font-size: 17px; font-weight: 800; }

.proj-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.proj-overview p { font-size: 16px; line-height: 1.85; color: var(--text-2); margin-bottom: 18px; }
.specs-card { background: var(--surface); border: 1.5px solid var(--border); border-top: 3px solid var(--accent); border-radius: 16px; padding: 28px; position: sticky; top: 92px; }
.specs-card h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 18px; }
.spec-row { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.spec-row:last-child { border-bottom: 0; }
.spec-row .label { font-size: 13.5px; color: var(--text-2); flex-shrink: 0; }
.spec-row .value { font-size: 13.5px; font-weight: 700; text-align: right; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-deep); border: 1.5px solid var(--border); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-grid a:hover img { transform: scale(1.05); }

.proj-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.proj-nav a { font-size: 15px; font-weight: 700; color: var(--text-2); text-decoration: none; }
.proj-nav a:hover { color: var(--accent-dim); }
[data-theme="dark"] .proj-nav a:hover { color: var(--accent); }

@media (max-width: 860px) {
  .proj-layout { grid-template-columns: 1fr; gap: 36px; }
  .specs-card { position: static; }
}
@media (max-width: 620px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
