/* ═══════════════════════════════════════════════════
   PLUS 352 S.A. — Design System
   Controlled International Procurement & Supply Execution
   ═══════════════════════════════════════════════════ */

:root {
  --b0: #0e1117;
  --b0b: #141820;
  --b1: #181d28;
  --b2: #1e2432;
  --b3: #252c3a;
  --b4: #2e3648;
  --rule: rgba(255,255,255,.07);
  --rules: rgba(255,255,255,.12);
  --blue: #2b6aff;
  --blue-d: #1a4fd4;
  --blue-l: #5a8eff;
  --t1: #e8eaed;
  --t2: #b0b8c4;
  --t3: #7a8494;
  --t4: #4a5468;
  --cond: 'Barlow Condensed', sans-serif;
  --sans: 'Barlow', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body {
  background: var(--b0); color: var(--t1); font-family: var(--sans);
  font-weight: 400; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; letter-spacing: .005em;
}
::selection { background: var(--blue); color: #fff }
a { color: inherit; text-decoration: none }

/* ── Scroll Reveal ── */
.fi { opacity: 0; transform: translateY(14px); transition: opacity .75s ease, transform .75s ease }
.fi.in { opacity: 1; transform: none }
.d1 { transition-delay: .09s } .d2 { transition-delay: .2s } .d3 { transition-delay: .33s }
.d4 { transition-delay: .46s } .d5 { transition-delay: .6s }

/* ── Textures ── */
.tx-dot { background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 28px 28px }
.tx-grid { background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 44px 44px }
.tx-hatch { background-image: repeating-linear-gradient(-48deg, rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, transparent 1px, transparent 13px) }

/* ── Navigation ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: 58px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; background: rgba(14,17,23,.92);
  backdrop-filter: blur(24px); border-bottom: 1px solid var(--rule);
}
.nav-id {
  font-family: var(--cond); font-weight: 800; font-size: 17px;
  letter-spacing: .12em; text-transform: uppercase; color: #fff; user-select: none;
}
.nav-id a { color: inherit; text-decoration: none }
.nav-id em { font-style: normal; color: var(--blue-l) }
.nav-links { display: flex; gap: 32px; list-style: none }
.nav-links a {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--t3); text-decoration: none;
  transition: color 150ms ease, letter-spacing 150ms ease, transform 150ms ease;
  display: inline-block;
}
.nav-links a:hover { color: var(--t2); letter-spacing: .22em; transform: translateY(-1px) }
.nav-links a.on { color: #fff }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; border: none; background: none }
.burger span { display: block; width: 20px; height: 1px; background: var(--t2) }

.mob-nav {
  display: none; position: fixed; top: 58px; left: 0; right: 0;
  background: var(--b1); border-bottom: 1px solid var(--rule);
  flex-direction: column; z-index: 890;
}
.mob-nav.open { display: flex }
.mob-nav a {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--t3); padding: 17px 24px;
  border: none; border-bottom: 1px solid var(--rule); background: none;
  text-align: left; text-decoration: none; transition: color .15s;
}
.mob-nav a:hover { color: var(--t1) }

/* ── Layout ── */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 56px }
.section { padding: 100px 0; border-top: none }
.section-dense { padding: 52px 0; border-top: none }
.section-open { padding: 180px 0; border-top: none }
.section-open + .section { border-top: none }

/* Alternating section backgrounds */
.bg-dark { background: var(--b0) }
.bg-mid { background: var(--b1) }
.bg-light { background: var(--b2) }

/* ── Animated Section Dividers ── */
.section-line {
  position: relative; width: 100%; height: 2px; overflow: hidden;
}
.section-line-glow {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, var(--blue) 30%, var(--blue-l) 50%, var(--blue) 70%, transparent 100%);
  opacity: .35;
}
.section-line-flow {
  position: absolute; top: 0; left: -50%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  animation: line-shimmer 3s ease-in-out infinite;
}
@keyframes line-shimmer {
  0% { left: -50% }
  100% { left: 150% }
}

/* Vertical variant for cards / hero */
.vline {
  position: relative; width: 2px; overflow: hidden; flex-shrink: 0;
}
.vline-glow {
  position: absolute; top: 0; left: 0; width: 2px; height: 100%;
  background: linear-gradient(to bottom, transparent 0%, var(--blue) 50%, transparent 100%);
  opacity: .3;
}
.vline-flow {
  position: absolute; left: 0; width: 2px; height: 30%;
  background: linear-gradient(transparent, rgba(255,255,255,.8), transparent);
  animation: vline-flow 3s ease-in-out infinite;
  top: -30%;
}
@keyframes vline-flow {
  0% { opacity: 0; top: -30% }
  50% { opacity: .7 }
  100% { opacity: 0; top: 100% }
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--cond); font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .02em }
.mono { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--t4) }
.label { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--t3); display: block; margin-bottom: 13px }

/* ── Subtle Interactive ── */
.si { transition: color 150ms ease, transform 150ms ease, letter-spacing 150ms ease, text-shadow 150ms ease; display: inline-block }
.si:hover { color: var(--t1); transform: translateY(-1px); letter-spacing: .04em; text-shadow: 0 0 18px rgba(170,179,188,.18) }

/* ── Exec Band ── */
.exec-band { position: relative; overflow: hidden; background: var(--b2); padding: 88px 0 58px; border-top: none }
.exec-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; z-index: 2 }
.exec-band p { font-family: var(--cond); font-size: clamp(20px,2.6vw,34px); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--t1); max-width: 680px; line-height: 1.22 }

/* ── Vertical Cards ── */
.v-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--b0) }
.vcard {
  position: relative; background: var(--b1); overflow: hidden;
  min-height: 540px; display: flex; flex-direction: column; justify-content: space-between;
  padding: 64px 52px 68px; transition: background .3s ease, transform .38s cubic-bezier(.25,.46,.45,.94);
}
.vcard a { text-decoration: none; color: inherit }
.vcard:hover { background: var(--b2); transform: translateY(-3px) }
.vcard::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2; transition: height .24s }
.vcard:hover::before { height: 4px }
.vcard-def::before { background: var(--blue); height: 3px }
.vcard-ind::before { background: var(--blue-d) }
.vcard-con::before { background: var(--t4) }
.vcard-con { min-height: 468px }
.vcard:hover .vglow { position: absolute; bottom: -80px; left: -80px; z-index: 0; width: 380px; height: 380px; border-radius: 50%; transition: opacity .38s }
.vcard-def .vglow { background: radial-gradient(circle, rgba(28,79,204,.08) 0%, transparent 70%) }
.vcard-ind .vglow { background: radial-gradient(circle, rgba(28,79,204,.06) 0%, transparent 70%) }
.vcard-con .vglow { background: radial-gradient(circle, rgba(28,79,204,.03) 0%, transparent 70%) }
.vcard:hover .vglow { opacity: 1.6 }
.vcard-top, .vcard-bot { position: relative; z-index: 2 }
.vcard h3 {
  font-size: clamp(42px,4.2vw,68px); font-weight: 900; color: var(--t1);
  text-transform: uppercase; letter-spacing: .01em; line-height: 1; margin-bottom: 24px;
  transition: letter-spacing 150ms ease, text-shadow 150ms ease;
}
.vcard:hover h3 { letter-spacing: .025em; text-shadow: 0 0 28px rgba(216,218,219,.09) }
.vcard p { font-size: 12.5px; color: var(--t3); line-height: 1.8; max-width: 280px }
.vcard:hover p { color: var(--t2) }
.vlink {
  font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--t4); display: inline-flex; align-items: center; gap: 10px; margin-top: 38px;
  transition: color 150ms ease, gap 150ms ease, letter-spacing 150ms ease, transform 150ms ease;
}
.vcard:hover .vlink { color: var(--blue-l); gap: 16px; letter-spacing: .24em; transform: translateY(-1px) }

/* ── Background images on cards ── */
.vcard-bg {
  position: absolute; inset: 0; z-index: 1; background-size: cover;
  background-position: center; opacity: .08; transition: opacity .4s ease;
  pointer-events: none; filter: grayscale(.8) brightness(.7);
}
.vcard:hover .vcard-bg { opacity: .18; filter: grayscale(.5) brightness(.8) }
.vcard-bg-def { background-image: url('../images/defence.jpg') }
.vcard-bg-ind { background-image: url('../images/industrial.jpg') }
.vcard-bg-con { background-image: url('../images/electronics.jpg') }

/* ── Section Headers ── */
.sh { display: grid; grid-template-columns: 1fr auto; align-items: start; margin-bottom: 48px; gap: 20px }
.sh h2 { font-size: clamp(34px,3.6vw,52px); font-weight: 900; color: var(--t1); text-transform: uppercase; letter-spacing: .02em; line-height: 1 }
.sh-n { font-family: var(--cond); font-size: 68px; font-weight: 900; color: var(--b2); line-height: 1; user-select: none; opacity: .5 }

/* ── Capability Cells ── */
.ccell { background: var(--b0); padding: 38px 34px; transition: background .2s }
.ccell:hover { background: var(--b1); border-top: 1px solid var(--t4) }
.ccell h4 { font-family: var(--cond); font-size: 13px; font-weight: 700; color: var(--t2); text-transform: uppercase; letter-spacing: .06em; margin: 8px 0 10px; transition: color 150ms ease, letter-spacing 150ms ease }
.ccell:hover h4 { color: var(--t1); letter-spacing: .08em }
.ccell p { font-size: 13.5px; color: var(--t3); line-height: 1.8 }

/* ── Product Cells ── */
.pcell { background: var(--b1); padding: 42px; transition: background .2s }
.pcell:hover { background: var(--b2) }
.pcell h4 { font-family: var(--cond); font-size: 19px; font-weight: 700; color: var(--t1); text-transform: uppercase; letter-spacing: .04em; margin: 8px 0 13px; transition: letter-spacing 150ms ease }
.pcell:hover h4 { letter-spacing: .06em }
.pcell p { font-size: 14px; font-weight: 400; color: var(--t3); line-height: 1.82 }

/* ── Network Cells ── */
.ncell { background: var(--b1); padding: 38px 28px; border-top: 2px solid var(--b4); transition: border-color .22s, background .22s }
.ncell:hover { border-color: var(--blue); background: var(--b2) }
.ncell .zone { font-family: var(--mono); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--t4); display: block; margin-bottom: 14px }
.ncell .zname { font-family: var(--cond); font-size: 30px; font-weight: 800; color: var(--t1); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px; transition: letter-spacing 150ms ease }
.ncell:hover .zname { letter-spacing: .05em }
.ncell p { font-size: 13.5px; color: var(--t3); line-height: 1.78 }

/* ── Data Bar ── */
.dbar { display: flex; flex-wrap: wrap; border: 1px solid var(--rule) }
.dcell { padding: 18px 24px; border-right: 1px solid var(--rule); flex: 1; min-width: 120px }
.dcell:last-child { border-right: none }
.dl { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--t4); display: block; margin-bottom: 5px }
.dv { font-size: 12.5px; color: var(--t2) }

/* ── Process Rows ── */
.proc-row { display: grid; grid-template-columns: 64px 1fr; gap: 32px; padding: 38px 0; border-bottom: 1px solid var(--rule); align-items: start }
.proc-row:last-child { border-bottom: none }
.proc-n { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--blue-l); padding-top: 2px }
.proc-h { font-family: var(--cond); font-size: 18px; font-weight: 700; color: var(--t1); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 9px; transition: letter-spacing 150ms ease }
.proc-row:hover .proc-h { letter-spacing: .055em }
.proc-p { font-size: 14px; color: var(--t3); line-height: 1.82; max-width: 540px }

/* ── Tags ── */
.tag { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--t3); border: 1px solid var(--t4); padding: 7px 13px; transition: border-color .18s, color .18s; display: inline-block }
.tag:hover { border-color: var(--blue); color: var(--t2) }

/* ── Buttons ── */
.btn-p {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: #fff; background: var(--blue);
  border: 1px solid var(--blue); padding: 13px 26px; cursor: pointer;
  transition: background .18s, gap .18s; text-decoration: none;
}
.btn-p:hover { background: var(--blue-d); gap: 16px }

/* ── CTA Band ── */
.cta-band { background: var(--b1); border-top: 1px solid var(--rule); padding: 48px 0 }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px }

/* ── Forms ── */
.ff-label { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--t4); display: block; margin-bottom: 5px }
.ff-input { background: var(--b2); border: 1px solid var(--b4); color: var(--t1); font-family: var(--sans); font-size: 14px; padding: 13px 16px; outline: none; transition: border-color .15s; width: 100% }
.ff-input:focus { border-color: var(--blue) }
.ff-input::placeholder { color: var(--t4) }
.ff-select-wrap { position: relative }
.ff-select-wrap select { background: var(--b2); border: 1px solid var(--b4); color: var(--t1); font-family: var(--sans); font-size: 14px; padding: 13px 36px 13px 16px; outline: none; width: 100%; appearance: none; cursor: pointer }
.ff-select-wrap select:focus { border-color: var(--blue) }
.ff-select-wrap::after { content: '↓'; position: absolute; right: 13px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 9px; color: var(--t4); pointer-events: none }
textarea.ff-input { resize: vertical; min-height: 120px; font-family: var(--sans); font-size: 14px }

/* ── Two Column Layout ── */
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start }
.note-box { padding: 22px 24px; border: 1px solid var(--rule) }

/* ── Page Hero ── */
.ph { position: relative; padding: 80px 0 60px; border-bottom: 1px solid var(--rule); overflow: hidden }
.ph-vig { position: absolute; inset: 0; background: radial-gradient(ellipse 100% 100% at 50% 0%, transparent 26%, var(--b0) 76%); pointer-events: none }
.ph h1 { font-size: clamp(52px,7vw,94px); font-weight: 900; color: var(--t1); text-transform: uppercase; letter-spacing: .01em; margin: 12px 0 22px; line-height: .93 }
.ph p { font-size: 14.5px; color: var(--t3); max-width: 560px; line-height: 1.84 }

/* ── Contact / Gate ── */
.gate-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--rule) }
.gate-cell { background: var(--b2); padding: 22px 26px }
.gate-cell .gl { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--t4); display: block; margin-bottom: 7px }
.gate-cell p { font-size: 13.5px; color: var(--t3); line-height: 1.76 }
.access-block { padding: 22px 24px; border: 1px solid var(--rule); background: var(--b1) }
.access-block .ab-l { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--t4); display: block; margin-bottom: 7px }
.access-block p { font-size: 13.5px; color: var(--t3); line-height: 1.8 }

/* ── Nav Logo Image ── */
.nav-logo { height: 28px; width: auto; opacity: .85; vertical-align: middle; margin-right: 10px; filter: brightness(1.2) }
.nav-id a { display: inline-flex; align-items: center; gap: 8px }

/* ── Section Icons ── */
.sec-icon { width: 64px; height: 64px; opacity: .5; margin-bottom: 18px; pointer-events: none }
.vcard .sec-icon { position: absolute; top: 28px; right: 28px; width: 48px; height: 48px; opacity: .3; z-index: 2 }

/* ── Hero Logo Watermark ── */
.hero-logo-bg {
  position: absolute; right: -4vw; bottom: -6%;
  width: 42vw; max-width: 600px; opacity: .04;
  pointer-events: none; user-select: none; z-index: 0;
  filter: brightness(2);
}

/* ── Footer ── */
footer { border-top: 1px solid var(--rule); background: var(--b1); padding: 38px 0 }
.foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px }
.foot-logo { font-family: var(--cond); font-weight: 800; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--t4); display: flex; align-items: center; gap: 10px }
.foot-logo span { color: var(--blue) }
.foot-logo img { height: 24px; width: auto; opacity: .4; filter: brightness(1.5) }

/* ── Language Selector ── */
.lang-sel { position: relative; display: inline-block }
.lang-btn {
  font-family: var(--mono); font-size: 9px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--t4); background: none;
  border: 1px solid var(--rule); padding: 6px 14px; cursor: pointer;
  transition: color .15s, border-color .15s;
}
.lang-btn:hover { color: var(--t2); border-color: var(--t4) }
.lang-menu {
  display: none; position: absolute; bottom: 100%; left: 0; margin-bottom: 4px;
  background: var(--b2); border: 1px solid var(--rule); min-width: 140px; z-index: 100;
}
.lang-menu.open { display: block }
.lang-menu a {
  display: block; padding: 10px 14px; font-family: var(--mono);
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--t3); text-decoration: none; transition: color .15s, background .15s;
}
.lang-menu a:hover { color: var(--t1); background: var(--b3) }

/* ── Form Feedback ── */
.form-status { padding: 16px 20px; margin-top: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; display: none }
.form-status.success { display: block; background: rgba(28,79,204,.12); border: 1px solid var(--blue); color: var(--blue-l) }
.form-status.error { display: block; background: rgba(204,28,28,.1); border: 1px solid #cc1c1c; color: #e05050 }

/* ── Cookie Consent ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--b2); border-top: 1px solid var(--rule);
  padding: 20px 56px; display: none; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cookie-banner.show { display: flex }
.cookie-banner p { font-size: 12px; color: var(--t3); max-width: 560px; line-height: 1.7 }
.cookie-banner .cookie-btns { display: flex; gap: 8px }
.cookie-btn {
  font-family: var(--mono); font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; padding: 10px 18px; cursor: pointer;
  border: 1px solid var(--t4); background: none; color: var(--t3);
  transition: all .15s;
}
.cookie-btn:hover { border-color: var(--blue); color: var(--t2) }
.cookie-btn.accept { background: var(--blue); border-color: var(--blue); color: #fff }
.cookie-btn.accept:hover { background: var(--blue-d) }

/* ── Responsive ── */
@media (max-width: 900px) { .nav-links { display: none !important } .burger { display: flex !important } }
@media (max-width: 1024px) {
  .v-grid { grid-template-columns: 1fr !important }
  .vcard { min-height: auto }
  .cap-grid { grid-template-columns: repeat(2,1fr) !important }
  .net-grid { grid-template-columns: repeat(2,1fr) !important }
  .two-col { grid-template-columns: 1fr !important; gap: 40px !important }
  .contact-grid { grid-template-columns: 1fr !important }
  .asym { margin-left: 0 !important }
}
@media (max-width: 768px) {
  nav { padding: 0 24px }
  .wrap { padding: 0 24px }
  .section { padding: 60px 0 }
  .section-dense { padding: 44px 0 }
  .section-open { padding: 80px 0 }
  .exec-band { padding: 48px 0 }
  .vcard { padding: 42px 26px 46px }
  .ff-row { grid-template-columns: 1fr !important }
  .sh { grid-template-columns: 1fr !important }
  .sh-n { display: none !important }
  .dbar { flex-direction: column }
  .dcell { border-right: none; border-bottom: 1px solid var(--rule) }
  .dcell:last-child { border-bottom: none }
  .exec-band-inner { flex-direction: column; gap: 14px }
  .cta-inner { flex-direction: column; align-items: flex-start }
  .gate-grid { grid-template-columns: 1fr !important }
  .cookie-banner { padding: 16px 24px }
}
@media (max-width: 640px) { .net-grid { grid-template-columns: 1fr !important } }
