/* ═══════════════════════════════════════════════════
   YILTEX SKY — Main Stylesheet
   Sky/Armor Theme · Dark + Light Mode
   Version: 4.0
═══════════════════════════════════════════════════ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Saira+Condensed:wght@300;400;600;700;800;900&family=DM+Mono:wght@400;500&display=swap');

/* ── THEME: DARK (default) ── */
[data-theme="dark"] {
  --bg-0: #03060d;
  --bg-1: #070d1a;
  --bg-2: #0b1324;
  --bg-3: #0f1b32;
  --bg-4: #142240;
  --red:   #c0392b;
  --red-h: #e74c3c;
  --red-d: #8b1a1a;
  --txt-1: #edf2f8;
  --txt-2: #b4c4d8;
  --txt-3: #8fa3bf;
  --txt-4: #5a7090;
  --border:   rgba(255,255,255,.06);
  --border-r: rgba(192,57,43,.22);
  --card:  rgba(11,19,36,.9);
  --glass: rgba(7,13,26,.88);
  --shadow: 0 8px 40px rgba(0,0,0,.6);
  --topbar-bg: rgba(3,6,13,.97);
}

/* ── THEME: LIGHT ── */
[data-theme="light"] {
  --bg-0: #f0f4f8;
  --bg-1: #e6edf5;
  --bg-2: #ffffff;
  --bg-3: #dce6f0;
  --bg-4: #cdd9e8;
  --red:   #c0392b;
  --red-h: #e74c3c;
  --red-d: #8b1a1a;
  --txt-1: #0a1628;
  --txt-2: #1e3a5f;
  --txt-3: #2d5080;
  --txt-4: #4a7aaa;
  --border:   rgba(0,0,0,.09);
  --border-r: rgba(192,57,43,.28);
  --card:  rgba(255,255,255,.96);
  --glass: rgba(240,244,248,.92);
  --shadow: 0 4px 24px rgba(0,0,0,.12);
  --topbar-bg: rgba(240,244,248,.97);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--bg-0);
  color: var(--txt-1);
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--red); }
::selection { background: var(--red); color: #fff; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ════════════════════════════════════
   TOPBAR
════════════════════════════════════ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 400;
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  height: 34px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(20px);
}
.tb-left  { display: flex; gap: 20px; align-items: center; }
.tb-right { display: flex; gap: 6px;  align-items: center; }
.tb-item  { font-family: 'DM Mono', monospace; font-size: 10.5px; color: var(--txt-3); }
.tb-item a { color: inherit; transition: color .2s; }
.tb-item a:hover { color: var(--red-h); }
.tb-sep { color: var(--border); font-size: 14px; }

/* Language buttons */
.lang-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--txt-3);
  padding: 1px 8px;
  font-family: 'DM Mono', monospace;
  font-size: 9.5px; letter-spacing: 1px;
  cursor: pointer; transition: all .2s;
}
.lang-btn.on, .lang-btn:hover { border-color: var(--red); color: var(--red-h); }

/* Theme toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--txt-3);
  width: 26px; height: 26px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; transition: all .2s; margin-left: 4px;
}
.theme-toggle:hover { border-color: var(--red); color: var(--txt-1); }

/* ════════════════════════════════════
   NAVIGATION — FIXED, CORRECTED
════════════════════════════════════ */
.nav {
  position: fixed;
  top: 34px; left: 0; right: 0;
  z-index: 399;
  height: 64px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  background: var(--glass);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(24px);
  transition: top .3s, box-shadow .3s, background .3s;
}
.nav.scrolled {
  top: 0;
  box-shadow: var(--shadow);
  background: rgba(3,6,13,.97);
}
[data-theme="light"] .nav.scrolled { background: rgba(240,244,248,.98); }

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--red);
  clip-path: polygon(0 0,100% 0,100% 70%,70% 100%,0 100%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 20px; height: 20px; fill: #fff; }
.logo-txt .lm {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 18px; font-weight: 800;
  letter-spacing: 3px; color: var(--txt-1); line-height: 1;
}
.logo-txt .ls {
  font-family: 'DM Mono', monospace;
  font-size: 7px; letter-spacing: 2.5px; color: var(--txt-3);
}

/* Center links */
.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 0;
}

/* Dropdown parent */
.ndrop { position: relative; }

.nlink {
  display: flex; align-items: center;
  height: 64px; padding: 0 14px;
  font-family: 'Saira Condensed', sans-serif;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--txt-3);
  border-bottom: 2px solid transparent;
  transition: all .2s; gap: 3px;
  white-space: nowrap;
}
.nlink:hover, .nlink.on { color: var(--txt-1); border-bottom-color: var(--red); }
.nlink .arr { font-size: 7px; opacity: .45; margin-left: 1px; }

/* Dropdown menu */
.drop-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 210px;
  background: var(--bg-2);
  border: 1px solid var(--border-r);
  border-top: 2px solid var(--red);
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: all .2s; z-index: 10;
}
.ndrop:hover .drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-menu a {
  display: block; padding: 10px 18px;
  font-family: 'Saira Condensed', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--txt-3);
  border-bottom: 1px solid var(--border);
  transition: all .18s;
}
.drop-menu a:last-child { border-bottom: none; }
.drop-menu a:hover { color: var(--txt-1); background: rgba(192,57,43,.08); padding-left: 26px; }

/* ── RIGHT SIDE BUTTONS — always visible, no wrapping ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 16px;
}
.nbtn {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  padding: 8px 18px;
  cursor: pointer; border: none;
  transition: all .2s;
  white-space: nowrap;
}
.nbtn.ghost {
  background: none;
  border: 1px solid var(--border-r);
  color: var(--txt-2);
}
.nbtn.ghost:hover { border-color: var(--red); color: var(--txt-1); }
.nbtn.solid { background: var(--red); color: #fff; }
.nbtn.solid:hover { background: var(--red-h); }

/* Mobile hamburger */
.nav-ham {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  background: none; border: none;
}
.nav-ham span {
  display: block; width: 24px; height: 2px;
  background: var(--txt-2); transition: all .3s;
}

/* ════════════════════════════════════
   PAGE OFFSET (because fixed header)
════════════════════════════════════ */
.page-top { padding-top: 98px; }
.hero      { padding-top: 98px; }

/* ════════════════════════════════════
   HERO SLIDER
════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh; min-height: 620px;
  overflow: hidden;
}
.slides-wrap {
  position: absolute; inset: 0;
  display: flex;
  transition: transform .85s cubic-bezier(.77,0,.175,1);
}
.slide { min-width: 100%; height: 100%; position: relative; flex-shrink: 0; }
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 8s ease;
}
.slide-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(3,6,13,.93) 38%, rgba(3,6,13,.5) 65%, rgba(3,6,13,.2) 100%),
    linear-gradient(to top,   rgba(3,6,13,.85) 0%,  transparent 55%);
}
[data-theme="light"] .slide-overlay {
  background:
    linear-gradient(to right, rgba(3,6,13,.87) 38%, rgba(3,6,13,.45) 65%, rgba(3,6,13,.18) 100%),
    linear-gradient(to top,   rgba(3,6,13,.75) 0%,  transparent 55%);
}
.slide-scan {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(255,255,255,.01) 2px,rgba(255,255,255,.01) 4px);
}
.slide-content {
  position: absolute; bottom: 150px; left: 10%;
  max-width: 660px; z-index: 2;
}
.slide-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(192,57,43,.12);
  border: 1px solid rgba(192,57,43,.3);
  padding: 5px 14px; margin-bottom: 22px;
}
.badge-dot { width: 5px; height: 5px; background: var(--red); border-radius: 50%; animation: blink 1.5s infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.2} }
.badge-txt { font-family: 'DM Mono',monospace; font-size: 10px; letter-spacing: 2px; color: var(--red-h); text-transform: uppercase; }
.slide-h1 {
  font-family: 'Saira Condensed', sans-serif;
  font-size: clamp(52px,7.5vw,100px);
  font-weight: 900; line-height: .9;
  letter-spacing: 1px; color: #fff; margin-bottom: 8px;
}
.slide-h1 em { font-style: normal; color: var(--red-h); }
.slide-rule { width: 80px; height: 3px; background: linear-gradient(90deg,var(--red),transparent); margin: 18px 0; }
.slide-desc { font-size: 16px; line-height: 1.65; color: rgba(180,196,216,.85); max-width: 460px; margin-bottom: 32px; }
.slide-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-prim {
  font-family: 'Saira Condensed', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  background: var(--red); color: #fff;
  padding: 13px 30px;
  clip-path: polygon(0 0,100% 0,calc(100% - 10px) 100%,0 100%);
  transition: all .25s; border: none; cursor: pointer; display: inline-block;
}
.cta-prim:hover { background: var(--red-h); padding-right: 36px; }
.cta-sec {
  font-family: 'Saira Condensed', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  background: none; color: var(--txt-2);
  padding: 12px 26px; border: 1px solid rgba(255,255,255,.2);
  transition: all .25s; cursor: pointer; display: inline-block;
}
.cta-sec:hover { border-color: var(--red); color: #fff; }

/* Slider controls */
.slider-nav { position: absolute; bottom: 150px; right: 5%; z-index: 10; display: flex; flex-direction: column; gap: 6px; }
.s-dot { width: 6px; height: 6px; background: rgba(255,255,255,.3); border-radius: 50%; cursor: pointer; transition: all .3s; }
.s-dot.on { background: var(--red); height: 22px; border-radius: 3px; }
.slider-arrows { position: absolute; bottom: 60px; right: 5%; z-index: 10; display: flex; gap: 8px; }
.sarr { width: 44px; height: 44px; background: rgba(7,13,26,.7); border: 1px solid var(--border-r); color: var(--txt-2); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; transition: all .2s; backdrop-filter: blur(8px); }
.sarr:hover { background: var(--red); border-color: var(--red); color: #fff; }
.slide-counter { position: absolute; bottom: 68px; left: 10%; z-index: 10; font-family: 'DM Mono', monospace; font-size: 11px; color: var(--txt-3); letter-spacing: 2px; }
.slide-counter strong { color: var(--txt-1); font-size: 15px; }

/* Stats bar */
.hero-stats { position: absolute; bottom: 0; left: 0; right: 0; display: flex; background: rgba(3,6,13,.88); border-top: 1px solid var(--border); backdrop-filter: blur(14px); z-index: 2; }
.hstat { flex: 1; padding: 18px 24px; border-right: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.hstat:last-child { border-right: none; }
.hstat-val { font-family: 'Saira Condensed', sans-serif; font-size: 28px; font-weight: 800; line-height: 1; color: #fff; }
.hstat-val em { color: var(--red-h); font-style: normal; }
.hstat-lbl { font-family: 'DM Mono', monospace; font-size: 9.5px; color: rgba(180,196,216,.65); letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.5; }

/* ════════════════════════════════════
   RUNNING STRIP
════════════════════════════════════ */
.strip { background: var(--red); padding: 10px 0; overflow: hidden; }
.strip-inner { display: flex; animation: strip 28s linear infinite; white-space: nowrap; }
.strip-item { font-family: 'Saira Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 3px; color: rgba(255,255,255,.9); padding: 0 36px; text-transform: uppercase; flex-shrink: 0; }
.strip-sep { color: rgba(255,255,255,.4); font-size: 8px; vertical-align: middle; }
@keyframes strip { to { transform: translateX(-50%); } }

/* ════════════════════════════════════
   SECTION SCAFFOLDING
════════════════════════════════════ */
.sec { padding: 96px 0; }
.sec-inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.sec-label { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 3px; color: var(--red-h); text-transform: uppercase; }
.sec-label::before { content: ''; width: 40px; height: 1px; background: var(--red); }
.sec-h { font-family: 'Saira Condensed', sans-serif; font-size: clamp(32px,4.5vw,60px); font-weight: 900; letter-spacing: 1px; line-height: .95; margin-bottom: 16px; color: var(--txt-1); }
.sec-h em { font-style: normal; color: var(--red-h); }
.sec-p { font-size: 15.5px; color: var(--txt-3); line-height: 1.7; max-width: 520px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ════════════════════════════════════
   PRODUCTS
════════════════════════════════════ */
.products-bg { background: var(--bg-1); }
.prod-cats { display: flex; gap: 8px; flex-wrap: wrap; margin: 32px 0 0; }
.pcat { font-family: 'Saira Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 7px 16px; background: none; border: 1px solid var(--border); color: var(--txt-3); cursor: pointer; transition: all .2s; }
.pcat.on, .pcat:hover { background: var(--red); border-color: var(--red); color: #fff; }
.prod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); margin-top: 32px; }
.prod-card { background: var(--card); position: relative; overflow: hidden; cursor: pointer; transition: all .3s; }
.prod-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .3s; z-index: 1; }
.prod-card:hover { background: var(--bg-2); }
.prod-card:hover::before { transform: scaleX(1); }
.prod-img { height: 230px; overflow: hidden; position: relative; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; filter: saturate(.7) brightness(.65); }
.prod-card:hover .prod-img img { transform: scale(1.08); filter: saturate(.9) brightness(.8); }
.prod-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top,var(--bg-2) 0%,transparent 55%); }
.prod-tag { position: absolute; top: 12px; left: 12px; background: var(--red); font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 2px; color: #fff; padding: 3px 8px; text-transform: uppercase; z-index: 2; }
.prod-body { padding: 20px 24px 28px; }
.prod-name { font-family: 'Saira Condensed', sans-serif; font-size: 19px; font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; color: var(--txt-1); }
.prod-desc { font-size: 13.5px; color: var(--txt-3); line-height: 1.6; margin-bottom: 16px; }
.prod-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pspec { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 1px; border: 1px solid var(--border-r); color: var(--red-h); padding: 3px 7px; text-transform: uppercase; }
.prod-more { font-family: 'Saira Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red-h); display: flex; align-items: center; gap: 6px; transition: gap .2s; }
.prod-card:hover .prod-more { gap: 10px; }

/* ════════════════════════════════════
   PRODUCT MODAL
════════════════════════════════════ */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.82); z-index: 1000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(6px); }
.modal-overlay.open { display: flex; }
.prod-modal { background: var(--bg-2); border: 1px solid var(--border-r); border-top: 3px solid var(--red); width: 880px; max-width: 95vw; max-height: 90vh; overflow-y: auto; display: grid; grid-template-columns: 380px 1fr; }
.pm-img { position: relative; min-height: 460px; }
.pm-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.72); }
.pm-img-overlay { position: absolute; inset: 0; background: linear-gradient(to right,transparent 55%,var(--bg-2)); }
.pm-body { padding: 32px 28px; }
.pm-tag { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--red-h); margin-bottom: 8px; }
.pm-name { font-family: 'Saira Condensed', sans-serif; font-size: 26px; font-weight: 800; letter-spacing: 1px; color: var(--txt-1); margin-bottom: 14px; line-height: 1; }
.pm-desc { font-size: 14px; color: var(--txt-3); line-height: 1.7; margin-bottom: 20px; }
.pm-specs-h { font-family: 'DM Mono', monospace; font-size: 9.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--txt-4); margin-bottom: 12px; }
.pm-spec-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.pm-spec-row:last-child { border-bottom: none; }
.pm-spec-row .key { color: var(--txt-3); }
.pm-spec-row .val { color: var(--txt-1); font-weight: 600; text-align: right; max-width: 55%; }
.pm-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.modal-close { position: absolute; top: 12px; right: 12px; background: rgba(3,6,13,.85); border: 1px solid var(--border); color: var(--txt-2); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; z-index: 10; transition: all .2s; }
.modal-close:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Quote modal */
.quote-modal { background: var(--bg-2); border: 1px solid var(--border-r); border-top: 3px solid var(--red); width: 560px; max-width: 95vw; max-height: 90vh; overflow-y: auto; position: relative; }
.qm-h { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.qm-title { font-family: 'Saira Condensed', sans-serif; font-size: 20px; font-weight: 800; letter-spacing: 2px; color: var(--txt-1); }
.qm-body { padding: 24px; }
.qm-foot { padding: 14px 24px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

/* ════════════════════════════════════
   INNER PAGES
════════════════════════════════════ */
.page-hero { position: relative; height: 340px; overflow: hidden; }
.page-hero img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.4) saturate(.6); }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right,rgba(3,6,13,.85) 40%,rgba(3,6,13,.3) 100%); display: flex; align-items: flex-end; padding: 40px 10%; }
.page-hero-title { font-family: 'Saira Condensed', sans-serif; font-size: clamp(36px,5vw,72px); font-weight: 900; letter-spacing: 2px; color: #fff; line-height: .9; }
.page-hero-title em { color: var(--red-h); font-style: normal; }
.breadcrumb { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 2px; color: var(--txt-3); margin-bottom: 10px; text-transform: uppercase; }
.breadcrumb a { color: var(--red-h); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 60px; }
.about-img { position: relative; height: 480px; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.7); }
.about-img::after { content: ''; position: absolute; top: 20px; right: -20px; bottom: -20px; left: 20px; border: 2px solid var(--red); opacity: .4; pointer-events: none; }

.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); margin-top: 48px; }
.team-card { background: var(--bg-2); padding: 0; overflow: hidden; }
.team-img { height: 260px; overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.8); transition: all .5s; }
.team-card:hover .team-img img { filter: grayscale(0) brightness(.9); transform: scale(1.04); }
.team-info { padding: 18px 20px; }
.team-name { font-family: 'Saira Condensed', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 1px; color: var(--txt-1); margin-bottom: 4px; }
.team-role { font-family: 'DM Mono', monospace; font-size: 9.5px; letter-spacing: 2px; color: var(--red-h); text-transform: uppercase; }

/* References */
.ref-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); margin-top: 48px; }
.ref-card { background: var(--bg-2); padding: 28px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; transition: all .3s; }
.ref-card:hover { background: var(--bg-3); }
.ref-flag { font-size: 36px; }
.ref-name { font-family: 'Saira Condensed', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 1px; color: var(--txt-1); }
.ref-org  { font-family: 'DM Mono', monospace; font-size: 9.5px; color: var(--txt-3); letter-spacing: 1px; text-transform: uppercase; }

/* Job listings */
.job-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); margin-top: 48px; }
.job-card { background: var(--bg-2); padding: 22px 28px; display: flex; align-items: center; gap: 24px; cursor: pointer; transition: all .3s; }
.job-card:hover { background: var(--bg-3); }
.job-title { font-family: 'Saira Condensed', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 1px; color: var(--txt-1); flex: 1; }
.job-dept { font-family: 'DM Mono', monospace; font-size: 9.5px; letter-spacing: 2px; color: var(--red-h); text-transform: uppercase; white-space: nowrap; }
.job-type { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--txt-3); padding: 3px 9px; border: 1px solid var(--border); white-space: nowrap; }

/* ════════════════════════════════════
   CATALOG + GLOBAL + GALLERY
════════════════════════════════════ */
.catalog-sec { background: var(--bg-0); }
.catalog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 48px; }
.cat-visual { position: relative; height: 520px; overflow: hidden; }
.cat-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) brightness(.6); }
.cat-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right,transparent 60%,var(--bg-0)); }
.cat-panel { background: var(--bg-1); padding: 52px 48px; border-left: 3px solid var(--red); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.cat-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.cat-item:last-child { border-bottom: none; }
.cat-num { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--red); letter-spacing: 2px; margin-bottom: 6px; }
.cat-title { font-family: 'Saira Condensed', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 1px; color: var(--txt-1); margin-bottom: 5px; }
.cat-text { font-size: 13.5px; color: var(--txt-3); line-height: 1.6; }

.global-sec { background: var(--bg-1); position: relative; overflow: hidden; }
.global-bg-img { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1400&q=60') center/cover; opacity: .05; filter: grayscale(1); }
.global-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; max-width: 1280px; margin: 0 auto; padding: 96px 48px; }
.map-wrap { position: relative; height: 380px; border: 1px solid var(--border-r); overflow: hidden; }
.map-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(1.5) opacity(.25); }
.map-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center,transparent 40%,var(--bg-1) 75%); }
.mpulse { position: absolute; width: 10px; height: 10px; background: var(--red); border-radius: 50%; }
.mpulse::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--red); animation: ping 2s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 0%{transform:scale(1);opacity:.8}100%{transform:scale(2.5);opacity:0} }
.mp1{top:26%;left:43%}.mp2{top:34%;left:71%;animation-delay:.5s}.mp3{top:55%;left:19%;animation-delay:1s}
.mp4{top:50%;left:57%;animation-delay:1.5s}.mp5{top:40%;left:82%;animation-delay:.8s}.mp6{top:22%;left:24%;animation-delay:.3s}
.ctags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 28px; }
.ctag { display: flex; align-items: center; gap: 7px; background: var(--bg-2); border: 1px solid var(--border); padding: 5px 11px; font-family: 'DM Mono', monospace; font-size: 10px; color: var(--txt-3); transition: all .2s; }
.ctag:hover { border-color: var(--red); color: var(--txt-1); }
.ctag-dot { width: 4px; height: 4px; background: var(--red); border-radius: 50%; flex-shrink: 0; }

.gallery-sec { background: var(--bg-0); }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-template-rows: repeat(2,200px); gap: 3px; margin-top: 48px; }
.gi { overflow: hidden; position: relative; cursor: pointer; }
.gi.lg { grid-column: span 2; grid-row: span 2; }
.gi img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) brightness(.65); transition: all .5s; }
.gi:hover img { filter: saturate(.9) brightness(.85); transform: scale(1.05); }
.gi-over { position: absolute; inset: 0; background: rgba(3,6,13,.45); opacity: 0; transition: opacity .3s; display: flex; align-items: center; justify-content: center; }
.gi:hover .gi-over { opacity: 1; }
.gi-lbl { font-family: 'Saira Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #fff; border-bottom: 2px solid var(--red); padding-bottom: 4px; }

/* ════════════════════════════════════
   CERTIFICATIONS
════════════════════════════════════ */
.certs-sec { background: var(--bg-1); }
.certs-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 1px; background: var(--border); margin-top: 56px; }
.cert-card { background: var(--bg-2); padding: 26px 16px; text-align: center; transition: all .3s; cursor: default; }
.cert-card:hover { background: var(--bg-3); border-top: 2px solid var(--red); padding-top: 24px; }
.cert-img-wrap { height: 52px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.cert-img-wrap img { max-height: 44px; max-width: 72px; object-fit: contain; filter: grayscale(1) brightness(2.5) opacity(.55); }
.cert-card:hover .cert-img-wrap img { filter: grayscale(.4) brightness(1.5) opacity(.85); }
.cert-name { font-family: 'Saira Condensed', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 1px; color: var(--txt-1); margin-bottom: 3px; }
.cert-sub  { font-family: 'DM Mono', monospace; font-size: 9px; color: var(--txt-3); letter-spacing: 1px; }

/* ════════════════════════════════════
   CONTACT FORM
════════════════════════════════════ */
.contact-sec { background: var(--bg-0); }
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 56px; margin-top: 56px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.frow.full { grid-template-columns: 1fr; }
.fg label { display: block; font-family: 'DM Mono', monospace; font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--txt-3); margin-bottom: 7px; }
.fg input, .fg select, .fg textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--border); border-bottom: 1px solid var(--border-r); color: var(--txt-1); padding: 11px 13px; font-family: 'Rajdhani', sans-serif; font-size: 14px; outline: none; transition: all .2s; resize: none; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: rgba(192,57,43,.5); background: var(--bg-3); }
.fg select option { background: var(--bg-2); }
.cinfo { display: flex; flex-direction: column; gap: 18px; }
.ci-block { background: var(--bg-2); border: 1px solid var(--border); border-left: 3px solid var(--red); padding: 20px 22px; }
.ci-h { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--red-h); margin-bottom: 12px; }
.ci-row { font-size: 13px; color: var(--txt-3); margin-bottom: 7px; line-height: 1.5; }
.ci-row strong { color: var(--txt-1); display: block; font-size: 11px; margin-bottom: 2px; }

/* WA button */
.wa-btn { display: flex; align-items: center; gap: 10px; background: #25d366; color: #fff; padding: 12px 18px; font-family: 'Saira Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; border: none; transition: all .2s; width: 100%; justify-content: center; margin-top: 6px; }
.wa-btn:hover { background: #128c7e; }
.wa-icon { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
footer { background: var(--bg-1); border-top: 1px solid var(--border); padding: 56px 48px 22px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.fb p { font-size: 13px; color: var(--txt-3); line-height: 1.7; margin: 14px 0 20px; max-width: 250px; }
.ft-h { font-family: 'DM Mono', monospace; font-size: 9.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--red-h); margin-bottom: 16px; }
.ft-links { display: flex; flex-direction: column; gap: 8px; }
.ft-links a { font-size: 14px; color: var(--txt-3); transition: color .2s; }
.ft-links a:hover { color: var(--red-h); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-family: 'DM Mono', monospace; font-size: 10.5px; color: var(--txt-4); }
.soc-links { display: flex; gap: 8px; }
.soc { width: 30px; height: 30px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--txt-3); font-size: 12px; transition: all .2s; }
.soc:hover { border-color: var(--red); color: var(--red-h); }

/* ════════════════════════════════════
   CHATBOT
════════════════════════════════════ */
.chat-fab { position: fixed; bottom: 28px; right: 28px; z-index: 800; width: 54px; height: 54px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 20px rgba(192,57,43,.5); transition: all .2s; border: none; }
.chat-fab:hover { background: var(--red-h); transform: scale(1.07); }
.chat-fab svg { width: 26px; height: 26px; fill: #fff; }
.chat-notif { position: absolute; top: -2px; right: -2px; width: 14px; height: 14px; background: #25d366; border-radius: 50%; font-size: 8px; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.chatbox { position: fixed; bottom: 94px; right: 28px; z-index: 800; width: 340px; background: var(--bg-2); border: 1px solid var(--border-r); border-top: 3px solid var(--red); box-shadow: var(--shadow); display: none; flex-direction: column; max-height: 480px; }
.chatbox.open { display: flex; }
.chat-head { padding: 14px 16px; background: var(--bg-1); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.chat-avatar { width: 34px; height: 34px; background: var(--red); clip-path: polygon(0 0,100% 0,100% 70%,70% 100%,0 100%); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-avatar svg { width: 18px; height: 18px; fill: #fff; }
.ch-name { font-family: 'Saira Condensed', sans-serif; font-size: 15px; font-weight: 700; color: var(--txt-1); }
.ch-status { font-family: 'DM Mono', monospace; font-size: 9px; color: #25d366; letter-spacing: 1px; display: flex; align-items: center; gap: 4px; }
.ch-status::before { content: ''; width: 5px; height: 5px; background: #25d366; border-radius: 50%; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 180px; }
.msg { max-width: 82%; padding: 9px 12px; font-size: 13px; line-height: 1.5; }
.msg.bot { background: var(--bg-3); color: var(--txt-2); align-self: flex-start; border-radius: 0 8px 8px 8px; }
.msg.user { background: var(--red); color: #fff; align-self: flex-end; border-radius: 8px 0 8px 8px; }
.msg-time { font-family: 'DM Mono', monospace; font-size: 9px; color: var(--txt-4); margin-top: 3px; }
.chat-quick { padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 5px; border-top: 1px solid var(--border); }
.qk-btn { background: none; border: 1px solid var(--border-r); color: var(--red-h); font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 1px; padding: 4px 8px; cursor: pointer; transition: all .2s; }
.qk-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.chat-input-row { display: flex; border-top: 1px solid var(--border); }
.chat-input { flex: 1; background: none; border: none; color: var(--txt-1); padding: 12px 14px; font-family: 'Rajdhani', sans-serif; font-size: 13px; outline: none; }
.chat-input::placeholder { color: var(--txt-4); }
.chat-send { background: var(--red); border: none; color: #fff; width: 44px; cursor: pointer; font-size: 16px; transition: background .2s; }
.chat-send:hover { background: var(--red-h); }
.wa-float { position: fixed; bottom: 28px; right: 90px; z-index: 800; width: 48px; height: 48px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 16px rgba(37,211,102,.4); transition: all .2s; border: none; }
.wa-float:hover { background: #20b858; transform: scale(1.07); }
.wa-float svg { width: 24px; height: 24px; fill: #fff; }

/* ════════════════════════════════════
   UTILITY
════════════════════════════════════ */
.btn-r { background: var(--red); color: #fff; border: none; padding: 10px 22px; font-family: 'Saira Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all .2s; }
.btn-r:hover { background: var(--red-h); }
.btn-g { background: none; border: 1px solid var(--border); color: var(--txt-2); padding: 9px 18px; font-family: 'Saira Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all .2s; }
.btn-g:hover { border-color: var(--txt-2); color: var(--txt-1); }

/* ════════════════════════════════════
   MOBILE NAV OVERLAY
════════════════════════════════════ */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg-1);
  z-index: 500;
  display: none;
  flex-direction: column;
  padding: 100px 32px 40px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mm-link {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 24px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--txt-2); padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
  display: block;
}
.mm-link:hover { color: var(--red-h); }
.mm-link.sub { font-size: 16px; font-weight: 600; padding: 10px 0 10px 20px; color: var(--txt-3); }
.mm-close { position: absolute; top: 20px; right: 24px; background: none; border: 1px solid var(--border); color: var(--txt-2); width: 38px; height: 38px; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mm-close:hover { border-color: var(--red); color: var(--red-h); }

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (max-width: 1100px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-right .nbtn.ghost { display: none; }
  .nav-ham { display: flex; }
  .topbar { padding: 0 20px; }
  .sec-inner, .footer-inner, .global-inner { padding: 0 20px; }
  .sec { padding: 60px 0; }
}
@media (max-width: 860px) {
  .prod-grid, .catalog-grid, .contact-grid, .certs-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gi.lg { grid-column: span 1; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .global-inner { grid-template-columns: 1fr; padding: 60px 20px; }
  .about-grid, .team-grid, .ref-grid { grid-template-columns: 1fr; }
  .pm-img { display: none; }
  .prod-modal { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hstat { padding: 14px 16px; }
}
@media (max-width: 560px) {
  .certs-grid { grid-template-columns: repeat(2,1fr); }
  .ref-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { display: none; }
  .slide-h1 { font-size: 44px; }
  .slide-content { bottom: 80px; left: 20px; right: 20px; }
}
